:root {
  --navy: #161c25;
  --navy-2: #1b2430;
  --panel: #212b36;
  --line: rgba(255,255,255,0.08);
  --text: #f4f7fb;
  --muted: #c5ced8;
  --gold: #176270;
  --ink: #161c25;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 17px/1.55 "Public Sans", "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -80px; background: white; color: black; padding: 8px 12px; z-index: 6; }
.skip:focus { top: 12px; }

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a:hover { color: var(--gold); }
.nav a.btn, .nav a.btn:hover, a.btn, a.btn:hover { color: white; }
.phone { text-decoration: none; font-weight: 700; white-space: nowrap; }
.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--gold);
  color: white;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 4px;
  border: 0;
}
.btn:hover { filter: brightness(1.06); }

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(12,16,22,0.45), rgba(12,16,22,0.55)),
    url("assets/hero.jpg") center 40% / cover no-repeat;
  padding: 80px 20px;
}
.hero > div { width: min(920px, 100%); }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); max-width: 16ch; }
.hero .sub { margin: 18px auto 0; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; max-width: 28ch; }
.hero-note { margin: 14px auto 0; max-width: 46ch; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.45; }
.hero .btn { margin-top: 28px; }

.section { padding: 88px 0; }
.section.alt { background: var(--navy-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.section h2 { font-size: clamp(36px, 4vw, 52px); max-width: 20ch; }
.lede { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.split .btn { margin-top: 28px; }

.board {
  background: #121820;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.28);
}
.board-top { display: flex; justify-content: space-between; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 8px 14px; }
.board-row { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 16px 8px; border-top: 1px solid var(--line); }
.board-row strong { display: block; font-size: 20px; }
.board-row span { color: var(--muted); }
.num { color: var(--gold); font-weight: 800; font-size: 22px; }

.section .btn { margin-top: 28px; }
.walk { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 72px; align-items: start; margin-top: 48px; padding-bottom: 200px; }
.phone-stage {
  position: sticky;
  top: 112px;
  height: min(620px, calc(100vh - 200px));
}
.phone-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.phone-screen.is-active { opacity: 1; visibility: visible; }
.mock-phone {
  height: 100%;
  background: #f3f4f6;
  border-radius: 28px;
  border: 8px solid #0c1218;
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
  overflow: auto;
}
.mock-phone.shot img { width: 100%; height: auto; border-radius: 18px; }
.app-bar { display: flex; align-items: center; gap: 10px; background: #2563eb; color: white; padding: 14px 16px; font-weight: 700; position: sticky; top: 0; z-index: 1; }
.app-bar span { font-size: 22px; line-height: 1; opacity: 0.8; }
.app-bar strong { flex: 1; font-size: 18px; line-height: 1.15; }
.app-bar small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; opacity: 0.75; }
.draft-pill { background: #facc15; color: #713f12; font-style: normal; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.section-card { background: white; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06); margin-bottom: 14px; overflow: hidden; }
.section-title { margin: 0; background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: 12px 16px; font-size: 14px; font-weight: 650; color: #111827; }
.section-body { padding: 16px; color: #111827; font-size: 14px; }
.section-body p { margin: 0; }
.section-body p + p { margin-top: 4px; }
.section-body span { color: #6b7280; }
.field-label { font-weight: 650; }
.notes { margin-top: 6px; border: 1px solid #d1d5db; border-radius: 6px; padding: 10px 12px; min-height: 44px; }
.submit-btn { margin-top: 12px; padding: 12px; border-radius: 6px; font-weight: 500; }
.phone-screen[data-step="submit"] .app-body { padding: 10px; }
.phone-screen[data-step="submit"] .section-card { margin-bottom: 10px; }
.phone-screen[data-step="submit"] .section-title { padding: 10px 14px; }
.phone-screen[data-step="submit"] .section-body { padding: 12px 14px; }
.app-body { padding: 14px; }
.app-card, .field, .app-note { background: white; border-radius: 10px; }
.app-card { padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.check { display: flex; align-items: center; gap: 10px; color: #111827; font-weight: 650; font-size: 14px; }
.box { width: 18px; height: 18px; border: 2px solid #2563eb; border-radius: 3px; display: inline-block; }
.box.on { background: #2563eb; box-shadow: inset 0 0 0 3px white; }
.hint { margin: 8px 0 0 28px; color: #6b7280; font-size: 12px; }
.fake-input, .field p { margin-top: 6px; border: 1px solid #d1d5db; border-radius: 8px; padding: 12px; color: #111827; font-size: 16px; background: white; }
.fake-input { margin-top: 12px; }
.app-note { margin-top: 12px; padding: 10px 12px; color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; font-size: 14px; }
.app-btn { margin-top: 12px; background: #2563eb; color: white; text-align: center; border-radius: 8px; padding: 12px; font-weight: 700; font-size: 14px; }
.field { margin-top: 10px; }
.field span { display: block; color: #111827; font-size: 14px; font-weight: 650; }
.walk-step {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding: 28px 0 28px 22px;
  scroll-margin: 18vh;
}
.walk-step:last-child { border-bottom: 1px solid var(--line); }
.walk-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 2px;
  background: transparent;
}
.walk-step.is-active::before { background: var(--gold); }
.walk-step button { width: 100%; text-align: left; background: none; color: inherit; border: 0; padding: 0; cursor: pointer; font: inherit; }
.walk-step button:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.step-kicker { display: block; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; }
.step-title {
  display: block;
  margin-top: 8px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #8b97a6;
  max-width: 16ch;
}
.walk-step.is-active .step-title { color: white; }
.step-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.walk-step.is-active .step-detail { grid-template-rows: 1fr; }
.step-detail > div { overflow: hidden; }
.step-detail p {
  color: var(--muted);
  font-size: 18px;
  max-width: 46ch;
  padding: 16px 0 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.walk-step.is-active .step-detail p { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .phone-screen, .step-detail, .step-detail p { transition: none; }
}
.stories h2 { margin-bottom: 0; max-width: 18em; font-size: clamp(32px, 3.4vw, 44px); }
.stories .lede { max-width: 62ch; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-shot {
  width: min(100%, 380px);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 28px;
  border: 8px solid #0c1218;
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
}
.pdf-shot { display: block; width: min(100%, 760px); margin: 56px auto 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.compare figure { margin: 0; }
.compare figcaption { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.compare img { width: 100%; height: auto; border-radius: 2px; background: white; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.compare a { display: block; }
.pdf-shot img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 48px rgba(0,0,0,.4); }
.example-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.sheet-shot { width: 100%; height: auto; display: block; margin-top: 28px; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.story img { width: 100%; height: auto; border-radius: 12px; }
.grid.pair { grid-template-columns: 1fr 1fr; margin-top: 36px; }
.story h3 { margin: 16px 0 8px; font-size: 26px; }
.story p { color: var(--muted); }

.contact-lines { margin-top: 18px; font-size: 20px; }
.contact-lines a { color: var(--gold); text-decoration: none; font-weight: 700; }


.page-hero {
  padding: 72px 0 28px;
  background:
    linear-gradient(rgba(16,22,30,0.72), rgba(16,22,30,0.82)),
    url("assets/hero.jpg") center 30% / cover no-repeat;
}
.page-hero h1 { font-size: clamp(42px, 6vw, 68px); max-width: 16ch; }
.page-hero p { margin-top: 14px; color: var(--muted); max-width: 52ch; font-size: 18px; }
.page-hero .btn { margin-top: 22px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card, .mail {
  background: var(--panel);
  padding: 28px;
}
.card h2, .mail h3 { font-size: 32px; margin-bottom: 10px; }
.card p, .mail p { color: var(--muted); }
.card a:not(.btn), .mail a:not(.btn), .yard a:not(.btn) { color: var(--gold); font-weight: 700; text-decoration: none; }
.card .btn { margin-top: 22px; }
.list { margin: 16px 0 0; padding-left: 18px; color: var(--text); }
.list li { margin: 0 0 8px; }
.mails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.yard { margin-top: 18px; background: var(--panel); padding: 28px; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; background: #10161d; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.site-footer p { color: var(--muted); margin-top: 6px; }
.site-footer a { color: var(--gold); text-decoration: none; }

@media (max-width: 860px) {
  .split, .grid, .cards, .mails, .walk, .compare { grid-template-columns: 1fr; }
  .walk { padding-bottom: 28px; }
  .phone-stage {
    position: sticky;
    top: 80px;
    z-index: 2;
    height: min(400px, 48vh);
    background: var(--navy);
    padding-bottom: 8px;
  }
  .walk-step {
    min-height: calc(100svh - 80px - min(400px, 48vh) - 28px);
    justify-content: flex-start;
    scroll-margin-top: calc(80px + min(400px, 48vh) + 16px);
    scroll-snap-align: start;
  }
  html { scroll-snap-type: y proximity; }
  .site-header .wrap { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .brand { order: 1; max-width: 118px; flex: 0 0 auto; }
  .brand img { width: 100%; height: auto; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0 14px; margin-left: 0; order: 4; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; order: 2; margin-left: auto; background: transparent; color: white; border: 1px solid rgba(255,255,255,0.35); min-height: 36px; padding: 0 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
  .header-phone { display: none; }
  .header-cta { order: 3; margin-left: 8px; min-height: 36px; padding: 0 8px; font-size: 11px; white-space: nowrap; }
  .hero {
    min-height: 70vh;
    padding: 36px 16px 32px;
    align-items: end;
    background-position: 74% center;
  }
  .page-hero {
    background:
      linear-gradient(rgba(16,22,30,0.5), rgba(16,22,30,0.66)),
      url("assets/hero.jpg") 62% 40% / cover no-repeat;
  }
  .hero h1, .hero .sub, .hero-note, .page-hero h1 { max-width: 100%; }
  .section { padding: 56px 0; }
  .grid.pair { grid-template-columns: 1fr; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
