:root {
  --blue: #159fdf;
  --blue-dark: #0877ad;
  --ink: #171717;
  --muted: #6f6f73;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f7f6f2;
  --sand: #eee9da;
  --olive: #50410d;
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.12);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 650;
}

.brand-logo {
  width: 112px;
  height: auto;
}

.top-nav {
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav a:hover {
  color: var(--blue-dark);
}

main {
  overflow: hidden;
}

.hero,
.section {
  width: min(var(--content), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 64px 0;
}

.hero-copy {
  max-width: 700px;
}

.hero-logo {
  width: min(230px, 58vw);
  height: auto;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 520;
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  font-weight: 520;
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  font-weight: 620;
  line-height: 1.2;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-actions span,
.chip,
.scope-label,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #303033;
  font-size: 0.92rem;
}

.phone-frame {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #101010;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.phone-frame img {
  width: 100%;
  border-radius: 25px;
  background: #fff;
}

.hero-phone {
  transform: rotate(2deg);
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.intro-grid p,
.section-heading p,
.scope-grid p,
.detail-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.summary-card,
.flow-detail,
.variant-card,
.feature-card,
.scope-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.summary-card {
  padding: 28px;
}

.summary-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.asset-section {
  padding-top: 68px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.asset-card {
  display: grid;
  grid-template-rows: 230px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.asset-card.wide {
  grid-column: span 2;
}

.asset-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-card div {
  padding: 18px;
}

.asset-card h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.asset-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.flow-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.flow-steps {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
}

.flow-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.flow-step:hover,
.flow-step[aria-selected="true"] {
  border-color: rgba(21, 159, 223, 0.55);
  background: #f4fbff;
}

.flow-step[aria-selected="true"] .step-index {
  background: var(--blue);
  color: #fff;
}

.step-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
}

.step-name {
  display: block;
  font-weight: 650;
}

.step-type {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.flow-detail {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  padding: clamp(18px, 3vw, 36px);
  background: linear-gradient(180deg, #fff 0%, #fcfbf8 100%);
}

.detail-phone {
  max-width: 380px;
}

.step-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-weight: 720;
}

.detail-copy h3 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.detail-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.detail-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 720;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 5px 0 0;
}

.variant-grid,
.feature-grid,
.scope-grid {
  display: grid;
  gap: 18px;
}

.variant-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.variant-card {
  display: grid;
  grid-template-rows: 340px auto;
  overflow: hidden;
  text-align: left;
}

.variant-preview {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.variant-image-button {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.variant-image-button img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: #fff;
}

.variant-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  background: #fff;
}

.variant-body h3 {
  margin: 0;
}

.variant-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.variant-body .text-button {
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--muted);
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.status-pill {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 0.78rem;
}

.status-pill.included {
  border-color: rgba(21, 159, 223, 0.45);
  background: #f4fbff;
  color: var(--blue-dark);
}

.scope-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scope-grid article {
  padding: clamp(24px, 4vw, 44px);
  background: var(--soft);
}

.scope-label {
  margin-bottom: 20px;
  border-color: rgba(80, 65, 13, 0.2);
  background: var(--sand);
  color: var(--olive);
  font-weight: 720;
}

.site-footer {
  padding: 28px 18px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 54px 18px 18px;
  border: 0;
  border-radius: 12px;
  background: rgba(12, 12, 12, 0.96);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.lightbox img {
  max-height: calc(100vh - 100px);
  margin: 0 auto;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .hero,
  .intro-grid,
  .flow-layout,
  .flow-detail,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-phone,
  .detail-phone {
    max-width: 360px;
    margin: 0 auto;
    transform: none;
  }

  .flow-steps {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .variant-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section {
    width: min(100% - 28px, var(--content));
  }

  .hero {
    padding: 42px 0 58px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .section {
    padding: 54px 0;
  }

  .flow-steps,
  .variant-grid,
  .feature-grid,
  .asset-grid {
    grid-template-columns: 1fr;
  }

  .asset-card.wide {
    grid-column: auto;
  }
}
