/* ---------- Tokens ---------- */

:root {
  color-scheme: light;
  --ink: #141414;
  --canvas: #ffffff;
  --graphite: #707070;
  --ash: #adadad;
  --fog: #ededed;
  --mist: #f2f2f2;
  --silver: #c2c2c2;
  --hover-ink: #2a2a2a;
  --frame: #141414;
  --nav-bg: rgba(255, 255, 255, .82);
  --on-ink-soft: rgba(255, 255, 255, .07);
  --on-ink-line: rgba(255, 255, 255, .08);
  --on-ink-border: #3a3a3a;

  --land: #f4f4f4;
  --block: #ebebeb;
  --road: #ffffff;
  --road-edge: #e4e4e4;
  --water: #d5dde5;
  --photo-a: #e4e4e4;
  --photo-b: #cfcfcf;
  --photo-fish: #949494;

  --shadow-ring: rgba(64, 64, 64, 0.16) 0 0 0 1px inset;
  --shadow-float: rgba(0, 0, 0, 0.05) 0 8px 40px 0;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-card: 16px;
  --r-lg: 24px;
  --r-pill: 9999px;
  --max: 1200px;
  --gutter: 24px;
  --section: 120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f2f2f2;
    --canvas: #0c0c0c;
    --graphite: #9a9a9a;
    --ash: #666666;
    --fog: #222222;
    --mist: #171717;
    --silver: #474747;
    --hover-ink: #d6d6d6;
    --frame: #2a2a2a;
    --nav-bg: rgba(12, 12, 12, .78);
    --on-ink-soft: rgba(0, 0, 0, .06);
    --on-ink-line: rgba(0, 0, 0, .08);
    --on-ink-border: #c8c8c8;
    --land: #121212;
    --block: #1b1b1b;
    --road: #262626;
    --road-edge: #1d1d1d;
    --water: #1c2733;
    --photo-a: #2a2a2a;
    --photo-b: #1d1d1d;
    --photo-fish: #5c5c5c;
    --shadow-float: rgba(0, 0, 0, 0.5) 0 8px 40px 0;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f2f2;
  --canvas: #0c0c0c;
  --graphite: #9a9a9a;
  --ash: #666666;
  --fog: #222222;
  --mist: #171717;
  --silver: #474747;
  --hover-ink: #d6d6d6;
  --frame: #2a2a2a;
  --nav-bg: rgba(12, 12, 12, .78);
  --on-ink-soft: rgba(0, 0, 0, .06);
  --on-ink-line: rgba(0, 0, 0, .08);
  --on-ink-border: #c8c8c8;
  --land: #121212;
  --block: #1b1b1b;
  --road: #262626;
  --road-edge: #1d1d1d;
  --water: #1c2733;
  --photo-a: #2a2a2a;
  --photo-b: #1d1d1d;
  --photo-fish: #5c5c5c;
  --shadow-float: rgba(0, 0, 0, 0.5) 0 8px 40px 0;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss03";
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--canvas); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--canvas); padding: 10px 16px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; transition: top .2s ease;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; letter-spacing: 0; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--ink); color: var(--canvas); }
.btn-dark:hover { background: var(--hover-ink); box-shadow: var(--shadow-ring); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--canvas); }
.btn-light { background: var(--canvas); color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--fog); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 652; font-size: 18px; letter-spacing: -0.01em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--canvas);
  display: grid; place-items: center; transition: background-color .3s ease;
}
.brand-mark svg { width: 20px; height: 20px; }

.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 440; }
.nav-links a { position: relative; color: var(--graphite); padding: 8px 0; transition: color .2s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover::after { transform: scaleX(.4); }
.nav-links a.active::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 38px; height: 38px; border-radius: var(--r-pill); border: 0;
  background: transparent; cursor: pointer; display: grid; place-items: center;
  color: var(--ink); transition: background-color .2s ease;
}
.icon-btn:hover { background: var(--mist); }
.icon-btn svg { width: 18px; height: 18px; }

.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

.menu-btn { display: none; background: var(--mist); }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: background-color .25s ease; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s ease;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu { display: none; border-top: 1px solid var(--fog); padding: 8px var(--gutter) 24px; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; font-weight: 456; border-bottom: 1px solid var(--fog); }
.mobile-menu .btn { margin-top: 20px; width: 100%; }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ash); margin-bottom: 20px;
}
.h-xl { font-size: clamp(46px, 8.4vw, 96px); line-height: 1; font-weight: 652; letter-spacing: -0.045em; margin: 0; }
.h-lg { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; font-weight: 652; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.h-xl { text-wrap: balance; }
.lead, .card p, .problem p, .promise-item p, .faq details p { text-wrap: pretty; }
.h-md { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--graphite); font-weight: 440; margin: 0; }

mark {
  background: var(--ink); color: var(--canvas); padding: 0 .12em; border-radius: .12em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.section { padding: var(--section) 0; }
.section.flush { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 20px; }

.eyebrow-n {
  display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--canvas); font-size: 11px; letter-spacing: .02em; font-variant-numeric: tabular-nums;
}

.subhead { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin: 96px 0 28px; padding-top: 40px; border-top: 1px solid var(--fog); }
.subhead p { margin: 0; color: var(--graphite); max-width: 440px; font-size: 15px; }

.band { background: var(--mist); border-radius: 40px; margin: 0 12px; transition: background-color .3s ease; }
.band .compare { background: var(--canvas); }
.band .compare-row > div:nth-child(2) { background: color-mix(in srgb, var(--mist) 60%, var(--canvas)); }
.band .subhead { border-top-color: var(--silver); }
.compare-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 20px; }
.compare-foot .compare-note { margin: 0; }
.compare-foot .promise-link { margin-top: 0; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 88px 0 0; text-align: center; isolation: isolate; }
.hero-bg {
  position: absolute; inset: -68px 0 0; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask: linear-gradient(#000 55%, transparent 92%); mask: linear-gradient(#000 55%, transparent 92%);
}
/* Fine dot grid, fading out from the centre */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 25%, #000 75%);
  mask: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 25%, #000 75%);
  opacity: .7;
}
/* Headline highlight sweeps in */
.hero h1 { line-height: 1.1; }
.hero mark { position: relative; background: transparent; color: var(--canvas); z-index: 0; }
.hero mark::before {
  content: ""; position: absolute; inset: .14em 0 .02em; z-index: -1; border-radius: .12em; background: var(--ink);
  transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.7,0,.2,1) .45s;
}
.hero .in mark::before, .no-js .hero mark::before { transform: scaleX(1); }
.hero h1:not(.in) mark { color: var(--ink); }
.hero mark { transition: color .3s ease .9s; }

.hero .badge .arrow { width: 14px; height: 14px; color: var(--ink); }
.badge:hover .arrow { transform: translateX(3px); }
.badge {
  display: inline-flex; background: color-mix(in srgb, var(--canvas) 70%, transparent); backdrop-filter: blur(6px); align-items: center; gap: 10px; padding: 5px 14px 5px 5px;
  border-radius: var(--r-pill); border: 1px solid var(--fog);
  font-size: 13px; font-weight: 440; color: var(--graphite); margin-bottom: 32px;
  transition: border-color .2s ease;
}
.badge:hover { border-color: var(--silver); }
.badge b {
  background: var(--ink); color: var(--canvas); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; padding: 3px 9px; border-radius: var(--r-pill);
}
.hero .lead { max-width: 560px; margin: 28px auto 0; }
.hero-ctas { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

.checks {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px;
  margin: 28px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--graphite);
}
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 14px; height: 14px; }

.stage {
  position: relative; margin-top: 80px; display: flex; justify-content: center; align-items: flex-end;
  gap: 28px; height: 600px; overflow: hidden;
}
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  background: linear-gradient(to bottom, transparent, var(--canvas) 85%); pointer-events: none;
}
.stage .phone { flex: none; }
.stage .phone.side { transform: translateY(110px) scale(.9); }

.hero-extra {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 28px; font-size: 13px; color: var(--graphite);
}
.hero-extra a { color: var(--ink); border-bottom: 1px solid var(--silver); transition: border-color .2s ease; }
.hero-extra a:hover { border-color: var(--ink); }
.qr-hint { display: none; align-items: center; gap: 12px; text-align: left; }
.qr-tile { width: 64px; height: 64px; padding: 5px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--fog); flex: none; }
.qr-tile svg { width: 100%; height: 100%; }
.qr-hint b { display: block; color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .qr-hint { display: inline-flex; }
}

/* ---------- Demo tabs ---------- */

.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.demo-tabs { display: grid; gap: 8px; }
.demo-tab {
  text-align: left; border: 1px solid var(--fog); background: transparent; border-radius: var(--r-card);
  padding: 20px 22px; cursor: pointer; display: grid; grid-template-columns: 36px 1fr; gap: 14px;
  transition: border-color .2s ease, background-color .2s ease;
}
.demo-tab:hover { border-color: var(--silver); }
.demo-tab[aria-selected="true"] { background: var(--mist); border-color: var(--mist); }
.demo-tab .n {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600;
  border: 1px solid var(--silver); color: var(--graphite); transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.demo-tab[aria-selected="true"] .n { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.demo-tab b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.demo-tab span.d { display: block; font-size: 14px; color: var(--graphite); margin-top: 4px; }
.demo-stage { position: relative; }
.demo-panel[hidden] { display: none; }
.demo-panel { animation: panel-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.example-tag {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 10px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 9px; border-radius: var(--r-pill); background: var(--canvas); color: var(--graphite);
  box-shadow: 0 0 0 1px var(--fog);
}

/* Scan mock */
.scan-photo {
  position: relative; margin: 0 14px; height: 168px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, var(--photo-a), var(--photo-b));
}
.scan-photo .lure {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 34px; transform: translate(-50%, -50%) rotate(-12deg);
  border-radius: 50% 60% 60% 50% / 50%; background: linear-gradient(90deg, var(--photo-fish), var(--silver));
}
.scan-photo .lure::after {
  content: ""; position: absolute; right: -16px; top: 50%; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--photo-fish); transform: translateY(-50%);
}
.scan-photo .corner { position: absolute; width: 22px; height: 22px; border-color: var(--ink); border-style: solid; }
.scan-photo .c1 { left: 14px; top: 14px; border-width: 2px 0 0 2px; border-top-left-radius: 8px; }
.scan-photo .c2 { right: 14px; top: 14px; border-width: 2px 2px 0 0; border-top-right-radius: 8px; }
.scan-photo .c3 { left: 14px; bottom: 14px; border-width: 0 0 2px 2px; border-bottom-left-radius: 8px; }
.scan-photo .c4 { right: 14px; bottom: 14px; border-width: 0 2px 2px 0; border-bottom-right-radius: 8px; }
.scan-photo .beam {
  position: absolute; left: 10%; right: 10%; height: 2px; background: var(--ink); opacity: .6;
  animation: beam 2.6s ease-in-out infinite;
}
@keyframes beam { 0%, 100% { top: 22%; } 50% { top: 78%; } }
.result { margin: 12px 14px 0; border: 1px solid var(--fog); border-radius: 18px; padding: 14px; display: grid; gap: 10px; }
.result-head { display: flex; justify-content: space-between; align-items: center; }
.result-head b { font-size: 15px; font-weight: 652; letter-spacing: -0.01em; }
.kv { display: grid; grid-template-columns: 70px 1fr; gap: 6px 10px; font-size: 11px; }
.kv dt { color: var(--graphite); }
.kv dd { margin: 0; font-weight: 456; }
.mini-btn { height: 34px; border-radius: var(--r-pill); background: var(--ink); color: var(--canvas); font-size: 11.5px; font-weight: 600; display: grid; place-items: center; }

/* Rig mock */
.rig-v { position: relative; margin: 4px 14px 0; flex: 1; display: grid; grid-template-columns: 1fr 110px; gap: 0 10px; }
.rig-col { position: relative; }
.rig-col::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 30px; width: 1.5px; background: var(--ink); transform: translateX(-50%); }
.rig-node { position: absolute; left: 50%; transform: translate(-50%, -50%); }
.rig-float { width: 14px; height: 56px; border-radius: 7px 7px 4px 4px; background: linear-gradient(var(--ink) 0 35%, var(--canvas) 35%); box-shadow: 0 0 0 1.5px var(--ink); }
.rig-shot { width: 12px; height: 12px; border-radius: 50%; background: var(--graphite); }
.rig-hook { width: 18px; height: 22px; border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 12px 12px; transform: translate(-30%, -50%); }
.rig-labels { position: relative; font-size: 10.5px; }
.rig-labels div { position: absolute; left: 0; right: 0; transform: translateY(-50%); }
.rig-labels b { display: block; font-weight: 600; font-size: 11px; }
.rig-labels span { color: var(--graphite); }
.rig-meta { margin: 8px 14px 12px; display: flex; gap: 6px; flex-wrap: wrap; }

/* Catch entry mock */
.form { margin: 0 14px; display: grid; gap: 8px; }
.field { border: 1px solid var(--fog); border-radius: 14px; padding: 8px 12px; }
.field small { display: block; font-size: 9.5px; color: var(--graphite); }
.field b { font-size: 13px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toggle { display: flex; justify-content: space-between; align-items: center; }
.toggle i { width: 30px; height: 18px; border-radius: 9px; background: var(--ink); position: relative; }
.toggle i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--canvas); }
.auto { border-radius: 14px; background: var(--mist); padding: 10px 12px; font-size: 10.5px; display: grid; gap: 6px; }
.auto small { font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
.auto div { display: flex; gap: 8px; align-items: center; }
.auto svg { width: 12px; height: 12px; flex: none; }

/* ---------- Compare ---------- */

.compare { border: 1px solid var(--fog); border-radius: var(--r-lg); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-top: 1px solid var(--fog); }
.compare-row:first-child { border-top: 0; }
.compare-row > div { padding: 20px 24px; font-size: 15px; }
.compare-row > div:nth-child(2) { background: var(--mist); font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.compare-row > div:nth-child(3) { color: var(--graphite); }
.compare-row > div:first-child { font-weight: 456; }
.compare-head > div { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ash) !important; padding-top: 16px !important; padding-bottom: 16px !important; }
.compare-head > div:nth-child(2) { color: var(--ink) !important; }
.compare svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.compare-note { margin-top: 16px; font-size: 13px; color: var(--ash); }

/* ---------- Stats strip ---------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--fog); border-bottom: 1px solid var(--fog);
}
.stat { padding: 40px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--fog); }
.stat b { display: block; font-size: clamp(32px, 4vw, 48px); line-height: 1; font-weight: 652; letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--graphite); }

/* ---------- Phone mock ---------- */

.phone {
  width: 290px; height: 600px; border-radius: 44px; background: var(--frame);
  padding: 9px; box-shadow: var(--shadow-float); text-align: left;
  transition: background-color .3s ease;
}
.screen {
  position: relative; width: 100%; height: 100%; border-radius: 36px; background: var(--canvas);
  overflow: hidden; display: flex; flex-direction: column; font-size: 12px; letter-spacing: 0;
}
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 6px; font-size: 11px; font-weight: 600; flex: none;
}
.statusbar .dots { display: flex; gap: 4px; align-items: center; }
.statusbar .dots i { display: block; width: 14px; height: 8px; border-radius: 2px; background: var(--ink); }
.statusbar .dots i:first-child { width: 10px; opacity: .5; }

.app-top { padding: 6px 18px 12px; flex: none; }
.app-title { font-size: 20px; font-weight: 652; letter-spacing: -0.02em; }
.app-sub { color: var(--graphite); font-size: 11px; margin-top: 2px; }

.tabbar {
  margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  border-top: 1px solid var(--fog); padding: 8px 6px 16px; background: var(--canvas);
  flex: none; position: relative; z-index: 2;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; color: var(--ash); font-weight: 456; }
.tab .ico { width: 40px; height: 22px; border-radius: var(--r-pill); display: grid; place-items: center; }
.tab .ico svg { width: 15px; height: 15px; }
.tab.on { color: var(--ink); }
.tab.on .ico { background: var(--mist); }
.tab-add { justify-self: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--canvas); display: grid; place-items: center; }
.tab-add svg { width: 16px; height: 16px; }

/* Map */
.map { position: relative; flex: 1; background: var(--land); overflow: hidden; }
.map svg.terrain { position: absolute; inset: 0; width: 100%; height: 100%; }
.t-land { fill: var(--land); }
.t-water { fill: var(--water); }
.t-block { fill: var(--block); }
.t-road { fill: none; stroke: var(--road); stroke-width: 7; stroke-linecap: round; }
.t-edge { fill: none; stroke: var(--road-edge); stroke-width: 1; }

.map-search {
  position: absolute; top: 10px; left: 12px; right: 12px; height: 38px; border-radius: var(--r-pill);
  background: var(--canvas); box-shadow: var(--shadow-float), 0 0 0 1px var(--fog);
  display: flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--ash); font-size: 12px; z-index: 2;
}
.map-search svg { width: 14px; height: 14px; }
.map-day {
  position: absolute; top: 56px; left: 12px; z-index: 2; height: 28px; padding: 0 12px;
  border-radius: var(--r-pill); background: var(--canvas); box-shadow: 0 0 0 1px var(--fog);
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600;
}
.map-day svg { width: 12px; height: 12px; }

.pin {
  position: absolute; z-index: 1; transform: translate(-50%, -100%);
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--ink); color: var(--canvas); font-weight: 652; font-size: 11px;
  min-width: 28px; height: 24px; padding: 0 6px; box-shadow: 0 0 0 2px var(--canvas);
}
.pin::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--ink);
}
.pin.lo { background: var(--silver); color: var(--ink); }
.pin.lo::after { border-top-color: var(--silver); }
.pin.cluster {
  transform: translate(-50%, -50%); width: 26px; min-width: 0; height: 26px; padding: 0;
  background: var(--canvas); color: var(--ink); box-shadow: 0 0 0 1.5px var(--silver);
}
.pin.cluster::after { display: none; }
.pin.me {
  transform: translate(-50%, -50%); width: 14px; min-width: 0; height: 14px; padding: 0;
  background: var(--canvas); box-shadow: 0 0 0 3px var(--ink), 0 0 0 12px color-mix(in srgb, var(--ink) 10%, transparent);
}
.pin.me::after { display: none; }
.pin.pulse::before {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--ink);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }

.spot-card {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--canvas);
  border-radius: 20px; padding: 14px; box-shadow: var(--shadow-float), 0 0 0 1px var(--fog); z-index: 2;
}
.spot-card .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.spot-name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.spot-meta { color: var(--graphite); font-size: 10.5px; margin-top: 2px; }
.score {
  flex: none; min-width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--canvas);
  display: grid; place-items: center; font-weight: 652; font-size: 15px;
}
.chips { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.chip { font-size: 10px; padding: 4px 9px; border-radius: var(--r-pill); background: var(--mist); font-weight: 456; }
.chip.dark { background: var(--ink); color: var(--canvas); }

/* Forecast */
.fc-body { padding: 0 18px; flex: 1; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.days { display: flex; gap: 6px; }
.day { flex: 1; border-radius: 14px; padding: 8px 0; text-align: center; border: 1px solid var(--fog); font-size: 10px; color: var(--graphite); }
.day b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; margin-top: 1px; }
.day.on { background: var(--ink); border-color: var(--ink); color: var(--ash); }
.day.on b { color: var(--canvas); }
.day.lock, .day.lock b { color: var(--silver); }
.big-score { border: 1px solid var(--fog); border-radius: 18px; padding: 14px; }
.big-score .num { font-size: 44px; line-height: 1; font-weight: 652; letter-spacing: -0.04em; }
.big-score .num small { font-size: 14px; color: var(--ash); font-weight: 456; letter-spacing: 0; margin-left: 2px; }
.big-score .lbl { font-size: 11px; color: var(--graphite); margin-top: 4px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 92px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 3px; background: var(--fog); transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.bars i.hi { background: var(--ink); }
.bars i.mid { background: var(--silver); }
.bars.in i { transform: scaleY(1); }
.bar-axis { display: flex; justify-content: space-between; font-size: 9px; color: var(--ash); margin-top: 6px; }
.fc-list { display: grid; gap: 8px; }
.fc-item { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.fc-item .ic { width: 30px; height: 30px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; flex: none; }
.fc-item .ic svg { width: 15px; height: 15px; }
.fc-item b { display: block; font-weight: 600; font-size: 11.5px; }
.fc-item span { color: var(--graphite); font-size: 10px; }

/* Coach */
.chat { flex: 1; padding: 4px 14px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.msg { max-width: 84%; padding: 10px 12px; border-radius: 18px; font-size: 11.5px; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--canvas); border-bottom-right-radius: 6px; }
.msg.ai { align-self: flex-start; background: var(--mist); border-bottom-left-radius: 6px; }
.msg.ai b { font-weight: 600; }
.msg-photo {
  align-self: flex-end; width: 128px; height: 92px; border-radius: 16px; position: relative;
  background: radial-gradient(ellipse 46% 22% at 50% 52%, var(--photo-fish) 0 98%, transparent 100%), linear-gradient(160deg, var(--photo-a), var(--photo-b));
}
.lure-row { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.lure-row span { font-size: 10px; padding: 4px 8px; border-radius: var(--r-pill); background: var(--canvas); font-weight: 456; }
.composer {
  margin: 10px 12px; height: 40px; border-radius: var(--r-pill); background: var(--mist);
  display: flex; align-items: center; padding: 0 6px 0 14px; color: var(--ash); font-size: 11.5px;
  justify-content: space-between; flex: none;
}
.composer i { width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--ink); color: var(--canvas); display: grid; place-items: center; }
.composer i svg { width: 13px; height: 13px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ash); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* Log */
.log-body { padding: 0 14px; flex: 1; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); border-radius: var(--r-pill); padding: 3px; font-size: 11px; font-weight: 456; text-align: center; }
.seg span { padding: 6px 0; border-radius: var(--r-pill); color: var(--graphite); }
.seg span.on { background: var(--canvas); color: var(--ink); box-shadow: 0 0 0 1px var(--fog); }
.pb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pb div { border: 1px solid var(--fog); border-radius: 14px; padding: 9px 10px; }
.pb b { display: block; font-size: 17px; font-weight: 652; letter-spacing: -0.02em; }
.pb span { font-size: 9.5px; color: var(--graphite); }
.catch { display: flex; gap: 10px; align-items: center; border: 1px solid var(--fog); border-radius: 16px; padding: 8px; }
.catch .thumb {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  background: radial-gradient(ellipse 40% 18% at 46% 50%, var(--photo-fish) 0 98%, transparent 100%), linear-gradient(150deg, var(--photo-a), var(--photo-b));
}
.catch .thumb.plain { background: var(--mist); }
.catch b { display: block; font-size: 12.5px; font-weight: 600; }
.catch span { font-size: 10px; color: var(--graphite); }
.catch .len { margin-left: auto; font-weight: 652; font-size: 13px; padding-right: 4px; color: var(--ink); }

/* ---------- Marquee ---------- */

.marquee {
  border-bottom: 1px solid var(--fog); overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 50s linear infinite; }
.marquee span { font-size: 20px; font-weight: 456; color: var(--ash); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--silver); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Problems ---------- */

.problems { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.problem { padding: 32px 32px 0 0; }
.problem + .problem { padding-left: 32px; border-left: 1px solid var(--fog); }
.problem { display: flex; flex-direction: column; }
.problem-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.problem-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.problem:hover .problem-link svg { transform: translateX(4px); }
.problem:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.problem .n { font-size: 13px; font-weight: 600; color: var(--ash); font-variant-numeric: tabular-nums; }
.problem h3 { margin: 40px 0 12px; }
.problem p { margin: 0; color: var(--graphite); font-size: 15px; }

/* ---------- Features ---------- */

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: var(--section); }
.feature.flip .feature-copy { order: 2; }
.feature-copy .lead { margin-top: 20px; }
.points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; border-top: 1px solid var(--fog); }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--fog); font-size: 15px; }
.points li b { font-weight: 600; display: block; }
.points li span { color: var(--graphite); }
.points svg { width: 18px; height: 18px; margin-top: 2px; }

.feature-visual {
  background: var(--mist); border-radius: var(--r-lg); display: flex; justify-content: center; align-items: flex-end;
  padding: 56px 24px 0; height: 620px; overflow: hidden; transition: background-color .3s ease;
  position: relative; isolation: isolate;
}
.feature-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 100%, color-mix(in srgb, var(--canvas) 80%, transparent), transparent);
}
.feature-visual .phone { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feature:hover .feature-visual .phone { transform: translateY(-8px); }
.feature-visual .phone { height: 580px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; box-shadow: none; }
.feature-visual .phone .screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- Real screens ---------- */

.shots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.shot { margin: 0; }
.shot-frame {
  border-radius: 36px; background: var(--frame); padding: 7px; aspect-ratio: 9 / 19.5;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background-color .3s ease;
}
.shot:hover .shot-frame { transform: translateY(-6px); }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 29px; background: #0b0b0b; }
.shot figcaption { margin-top: 16px; font-size: 15px; font-weight: 600; }
.shot figcaption span { display: block; font-weight: 400; font-size: 14px; color: var(--graphite); margin-top: 2px; }

/* ---------- Bento ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  border: 1px solid var(--fog); border-radius: var(--r-lg); padding: 28px; background: var(--canvas);
  display: flex; flex-direction: column; min-height: 260px; overflow: hidden;
  transition: border-color .25s ease, background-color .3s ease;
}
.card { transition: border-color .25s ease, background-color .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.card:hover { border-color: var(--silver); transform: translateY(-4px); box-shadow: var(--shadow-float); }
.card.dark:hover { border-color: var(--ink); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--graphite); font-size: 15px; }
.card .visual { margin-top: auto; padding-top: 28px; }
.c-3 { grid-column: span 3; }
.c-2 { grid-column: span 2; }
.c-4 { grid-column: span 4; }
.card.dark { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.card.dark p { color: var(--ash); }

.ruler {
  height: 64px; border-radius: 12px; background-color: var(--mist);
  background-image: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, var(--silver) 0 1px, transparent 1px 100%);
  background-size: 60px 30px, 6px 14px; background-repeat: repeat-x; background-position: 12px 0, 12px 0;
}
.ruler-labels { display: flex; margin-top: 8px; font-size: 11px; color: var(--graphite); font-variant-numeric: tabular-nums; }
.ruler-labels span { width: 60px; flex: none; }
.ruler-labels span:first-child { margin-left: 8px; }

.knot-list { display: grid; gap: 8px; }
.knot-list div { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 456; padding: 10px 14px; border-radius: 12px; background: var(--mist); }
.knot-list span { font-size: 12px; color: var(--graphite); font-weight: 400; }

.rig { display: flex; align-items: center; height: 64px; }
.rig .line { flex: 1; height: 1.5px; background: var(--ink); }
.rig .part { flex: none; font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: var(--r-pill); border: 1px solid var(--ink); background: var(--canvas); white-space: nowrap; }
.rig .part.fill { background: var(--ink); color: var(--canvas); }

.box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.box-grid i { aspect-ratio: 1; border-radius: 12px; background: var(--mist); display: grid; place-items: center; }
.box-grid i::before { content: ""; width: 46%; height: 16%; border-radius: 40% 60% 60% 40% / 50%; background: var(--silver); }
.box-grid i:nth-child(3n)::before { background: var(--ink); width: 36%; }
.box-grid i:nth-child(4n)::before { width: 22%; height: 22%; border-radius: 50%; }

.avatars { display: flex; }
.avatars i {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); margin-left: -10px;
  display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--canvas) 22%, var(--ink)); color: var(--canvas);
}
.avatars i:first-child { margin-left: 0; background: color-mix(in srgb, var(--canvas) 36%, var(--ink)); }
.avatars i:nth-child(3) { background: color-mix(in srgb, var(--canvas) 50%, var(--ink)); }
.board { display: grid; gap: 6px; margin-top: 16px; }
.board div { display: flex; justify-content: space-between; font-size: 13px; padding: 9px 12px; border-radius: 10px; background: var(--on-ink-soft); }
.board div span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }

.countries { display: grid; gap: 8px; }
.countries div { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 456; border: 1px solid var(--fog); border-radius: 12px; padding: 10px 12px; }
.countries div span { width: 44px; text-align: right; font-size: 12px; color: var(--graphite); font-weight: 400; }
.countries .bar { margin-left: auto; height: 3px; background: var(--fog); border-radius: 2px; width: 80px; overflow: hidden; }
.countries .bar i { display: block; height: 100%; background: var(--ink); }

/* ---------- Privacy promise ---------- */

.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise-item { border-top: 1px solid var(--ink); padding-top: 24px; }
.promise-item svg { width: 22px; height: 22px; margin-bottom: 28px; }
.promise-item h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.promise-item p { margin: 0; font-size: 15px; color: var(--graphite); }
.promise-link { margin-top: 48px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.promise-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.promise-link:hover svg { transform: translateX(3px); }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; isolation: isolate; }
.steps::before { content: ""; position: absolute; left: 64px; right: 64px; top: 46px; border-top: 1.5px dashed var(--silver); z-index: -1; }
.step { background: var(--canvas); }
.step { border: 1px solid var(--fog); border-radius: var(--r-lg); padding: 28px; }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--canvas); display: grid; place-items: center; font-size: 14px; font-weight: 600; margin-bottom: 48px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--graphite); font-size: 15px; }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
.plan { border: 1px solid var(--fog); border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; }
.plan { position: relative; }
.plan.pro { background: var(--ink); color: var(--canvas); border-color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); }
.plan-flag {
  position: absolute; top: -13px; left: 36px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill); background: var(--canvas); color: var(--ink); box-shadow: 0 0 0 1px var(--ink);
}
.plan-name { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; }
.plan-tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid currentColor; opacity: .7; }
.plan-price { margin: 28px 0 6px; font-size: 56px; line-height: 1; font-weight: 652; letter-spacing: -0.04em; }
.plan-price small { font-size: 16px; font-weight: 440; letter-spacing: 0; color: var(--graphite); margin-left: 10px; }
.plan.pro .plan-price small { color: var(--ash); }
.plan-note { font-size: 14px; color: var(--graphite); margin: 0; }
.plan.pro .plan-note { color: var(--ash); }
.plan ul { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; font-size: 15px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.plan li span { color: var(--graphite); display: block; font-size: 13px; }
.plan.pro li span { color: var(--ash); }
.plan .btn { margin-top: auto; width: 100%; }
.plan-fine { text-align: center; font-size: 13px; color: var(--ash); margin-top: 24px; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 108px; }
.faq { border-top: 1px solid var(--fog); }
.faq details { border-bottom: 1px solid var(--fog); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 456; letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { width: 28px; height: 28px; border-radius: 50%; background: var(--mist); flex: none; position: relative; transition: background-color .2s ease, transform .3s ease; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { background: var(--ink); transform: rotate(45deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--canvas); }
.faq summary:hover { color: var(--graphite); }
.faq details[open] p { animation: panel-in .35s cubic-bezier(.2,.7,.2,1); }
.faq details p { margin: 0 0 24px; padding-right: 52px; color: var(--graphite); font-size: 16px; }
.faq details a { color: var(--ink); border-bottom: 1px solid var(--silver); }

/* ---------- Final CTA ---------- */

.final {
  background: var(--ink); color: var(--canvas); border-radius: 32px; padding: 104px 32px;
  text-align: center; position: relative; overflow: hidden; transition: background-color .3s ease;
}
.final .eyebrow { color: var(--graphite); }
.final .lead { color: var(--ash); max-width: 520px; margin: 24px auto 0; }
.final mark { background: var(--canvas); color: var(--ink); }
.final .hero-ctas { margin-top: 40px; }
.final .btn-line { color: var(--canvas); border-color: var(--on-ink-border); }
.final .btn-line:hover { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.final-rings { position: absolute; inset: 0; pointer-events: none; }
.final-rings i {
  position: absolute; left: 50%; top: 120%; border-radius: 50%; border: 1px solid var(--on-ink-line);
  transform: translate(-50%, -50%);
}
.final > *:not(.final-rings) { position: relative; }

/* ---------- Footer ---------- */

.footer { padding: 120px 0 40px; }
.footer-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap;
  padding: 28px 32px; margin-bottom: 64px; border: 1px solid var(--fog); border-radius: var(--r-lg);
}
.footer-cta b { display: block; font-size: 20px; font-weight: 652; letter-spacing: -0.02em; }
.footer-cta span { color: var(--graphite); font-size: 14px; }

/* Back to top + mobile dock */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-float), 0 0 0 1px var(--fog);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
}
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: var(--mist); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.dock { display: none; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--fog); }
.footer-top p { margin: 14px 0 0; color: var(--graphite); font-size: 14px; max-width: 300px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }
.footer-col a { display: block; font-size: 14px; color: var(--graphite); padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover, .footer-col a[aria-current="page"] { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: var(--ash); }
.wordmark {
  margin: 56px 0 0; font-size: clamp(88px, 23vw, 330px); line-height: .78; font-weight: 652;
  letter-spacing: -0.065em; text-align: center; color: var(--ink); user-select: none;
  background: linear-gradient(var(--ink) 30%, var(--canvas)); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; opacity: .9;
}
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); position: relative; }
.status i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ink); animation: pulse 2.4s ease-out infinite; }

/* ---------- Legal pages ---------- */

.doc-hero { padding: 88px 0 56px; border-bottom: 1px solid var(--fog); }
.doc-hero .lead { max-width: 640px; margin-top: 24px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.doc-meta span { font-size: 12px; font-weight: 456; padding: 5px 12px; border-radius: var(--r-pill); background: var(--mist); color: var(--graphite); }

.doc { display: grid; grid-template-columns: 240px 1fr; gap: 80px; padding: 64px 0 0; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: flex; gap: 10px; padding: 7px 12px; margin-left: -12px; border-radius: 10px; color: var(--graphite);
  transition: color .2s ease, background-color .2s ease;
}
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--ash); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 2px; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); background: var(--mist); }

.doc-body { max-width: 720px; counter-reset: sec; }
.doc-body section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--fog); }
.doc-body section:last-child { border-bottom: 0; }
.doc-body h2 { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; display: flex; gap: 14px; align-items: baseline; }
.doc-body h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-size: 13px; color: var(--ash); font-weight: 600; font-variant-numeric: tabular-nums; }
.doc-body h3 { font-size: 16px; font-weight: 600; margin: 28px 0 8px; }
.doc-body p, .doc-body li { color: var(--graphite); font-size: 16px; line-height: 1.65; }
.doc-body p { margin: 0 0 14px; }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-body ul, .doc-body ol { padding-left: 0; margin: 0 0 14px; list-style: none; display: grid; gap: 10px; }
.doc-body ul li { position: relative; padding-left: 22px; }
.doc-body ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--silver); }
.doc-body ol { counter-reset: step; }
.doc-body ol li { position: relative; padding-left: 40px; counter-increment: step; }
.doc-body ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: var(--canvas); font-size: 12px; font-weight: 600; display: grid; place-items: center;
}
.doc-body a { color: var(--ink); border-bottom: 1px solid var(--silver); transition: border-color .2s ease; }
.doc-body a:hover { border-color: var(--ink); }

.table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--fog); vertical-align: top; }
.table th { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.table td { color: var(--graphite); }
.table td:first-child { color: var(--ink); font-weight: 456; width: 34%; }
.table-wrap { overflow-x: auto; }

.callout { border: 1px solid var(--fog); border-radius: var(--r-card); padding: 20px 22px; margin: 16px 0; background: var(--mist); }
.callout p:last-child { margin-bottom: 0; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 16px; }
.option { border: 1px solid var(--fog); border-radius: var(--r-lg); padding: 28px; }
.option .tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--canvas); margin-bottom: 20px; }
.option .tag.soft { background: var(--mist); color: var(--graphite); }
.option h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.015em; }

/* ---------- Knots ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--graphite); margin-bottom: 28px; }
.crumbs a { color: var(--graphite); transition: color .2s ease; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--silver); }

.knot-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--fog); }
.knot-hero .lead { max-width: 640px; margin-top: 24px; }
.knot-layout { display: grid; grid-template-columns: 1fr 340px; gap: 64px; padding-top: 56px; align-items: start; }

.spec { position: sticky; top: 100px; border: 1px solid var(--fog); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 20px; }
.spec h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }
.spec-row small { display: block; font-size: 12px; color: var(--graphite); margin-bottom: 8px; }
.spec-row b { font-size: 15px; font-weight: 600; }
.meter { display: flex; align-items: center; gap: 12px; }
.meter-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--fog); overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.dots3 { display: flex; gap: 5px; }
.dots3 i { width: 22px; height: 6px; border-radius: 3px; background: var(--fog); }
.dots3 i.on { background: var(--ink); }
.line-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.line-tags span { font-size: 12px; font-weight: 456; padding: 5px 11px; border-radius: var(--r-pill); background: var(--mist); }
.spec .btn { width: 100%; }

.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps-list li {
  counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  border: 1px solid var(--fog); border-radius: var(--r-card); padding: 20px 22px; font-size: 17px; line-height: 1.5;
  transition: border-color .2s ease;
}
.steps-list li:hover { border-color: var(--silver); }
.steps-list li::before {
  content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--canvas);
  display: grid; place-items: center; font-size: 16px; font-weight: 652;
}
.steps-list li span { padding-top: 9px; }
.knot-section + .knot-section { margin-top: 56px; }
.knot-section h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 20px; }
.uses { display: grid; gap: 10px; }
.use { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-card); background: var(--mist); font-size: 15px; color: var(--graphite); }
.use b { color: var(--ink); font-weight: 600; }
.use .tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-pill); background: var(--ink); color: var(--canvas); white-space: nowrap; }
.use .tag.soft { background: var(--canvas); color: var(--graphite); box-shadow: 0 0 0 1px var(--fog); }

.app-cta {
  margin-top: 56px; border-radius: var(--r-lg); background: var(--ink); color: var(--canvas); padding: 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.app-cta h2 { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--canvas); }
.app-cta p { margin: 0; color: var(--ash); font-size: 15px; }

.knot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.knot-card {
  border: 1px solid var(--fog); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px;
  min-height: 210px; transition: border-color .25s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.knot-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.knot-card h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.knot-card h3 svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.knot-card:hover h3 svg { transform: translateX(3px); }
.knot-card p { margin: 0; font-size: 14px; color: var(--graphite); }
.knot-card .meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12px; color: var(--graphite); padding-top: 12px; }
.knot-card .meta b { color: var(--ink); font-weight: 600; }
.knot-group + .knot-group { margin-top: 72px; }
.knot-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.knot-group-head h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.knot-group-head span { font-size: 13px; color: var(--graphite); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related .knot-card { min-height: 0; }

/* ---------- 404 ---------- */

.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost .h-xl { font-size: clamp(64px, 17vw, 200px); }
.lost .lead { margin: 16px auto 36px; max-width: 420px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .bars i { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars i { transform: none; transition: none; }
  .feature-visual .phone, .card, .to-top, .dock, .hero mark::before { transition: none; }
  .hero mark::before { transform: scaleX(1); }
  .marquee-track, .pin.pulse::before, .status i::after, .typing i, .scan-photo .beam, .demo-panel { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  :root { --section: 96px; }
  .feature { gap: 40px; }
  .stage .phone.side.far { display: none; }
  .c-2 { grid-column: span 3; }
  .c-4 { grid-column: span 6; }
  .nav-links { gap: 20px; }
  .shots { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
  .promise { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .doc { grid-template-columns: 200px 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .steps::before { display: none; }
  .band { margin: 0; border-radius: 28px; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-btn { display: grid; }
  .nav.open .mobile-menu { display: block; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .problems { grid-template-columns: 1fr; border-top: 0; }
  .problem, .problem + .problem { padding: 28px 0; border-left: 0; border-top: 1px solid var(--fog); }
  .problem:first-child { border-top-color: var(--ink); }
  .problem h3 { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step .n { margin-bottom: 28px; }
  .plans { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid .section-head { position: static; }
  .c-3, .c-2 { grid-column: span 6; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--fog); }
  .knot-layout { grid-template-columns: 1fr; gap: 40px; }
  .spec { position: static; order: -1; }
  .knot-grid, .related { grid-template-columns: repeat(2, 1fr); }
  .demo { grid-template-columns: 1fr; gap: 40px; }
  .demo-stage .feature-visual { height: 600px; }
  .doc { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .toc { position: static; border: 1px solid var(--fog); border-radius: var(--r-card); padding: 20px; }
  .option-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 80px; }
  .hero { padding-top: 56px; }
  .stage { height: 520px; margin-top: 56px; }
  .stage .phone.side { display: none; }
  .feature-visual { height: 520px; padding-top: 40px; }
  .feature-visual .phone { width: 270px; height: 480px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .card, .step, .plan, .option { padding: 24px; }
  .final { padding: 72px 20px; border-radius: 24px; }
  .faq summary { font-size: 16px; }
  .faq details p { padding-right: 0; }
  .marquee span { font-size: 17px; }
  .card .pb { grid-template-columns: 1fr 1fr !important; }
  .shots {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; max-width: none; scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 62%; scroll-snap-align: center; }
  .promise { grid-template-columns: 1fr; }
  .knot-grid, .related { grid-template-columns: 1fr; }
  .knot-card { min-height: 0; }
  .steps-list li { grid-template-columns: 36px 1fr; gap: 14px; padding: 16px; font-size: 16px; }
  .steps-list li::before { width: 36px; height: 36px; font-size: 14px; }
  .steps-list li span { padding-top: 6px; }
  .app-cta { grid-template-columns: 1fr; padding: 24px; }
  .knot-hero { padding: 48px 0 40px; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > div:first-child { grid-column: 1 / -1; padding-bottom: 4px; font-size: 13px; color: var(--graphite); }
  .compare-row > div:nth-child(2), .compare-row > div:nth-child(3) { padding: 12px 16px 18px; font-size: 14px; }
  .compare-head > div:first-child { display: none; }
  .demo-tab { padding: 16px; }
  .stat { padding: 28px 12px; }
  .doc-hero { padding: 56px 0 40px; }
  .doc-body h2 { font-size: 22px; }
  .footer { padding-top: 80px; padding-bottom: 104px; }
  .footer-cta { padding: 24px; }
  .footer-cta .btn { width: 100%; }
  .subhead { margin-top: 64px; }
  .plan-flag { left: 24px; }
  .to-top { display: none; }
  .dock {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; align-items: center; justify-content: space-between;
    gap: 12px; padding: 8px 8px 8px 18px; border-radius: var(--r-pill); background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    box-shadow: var(--shadow-float), 0 0 0 1px var(--fog); font-size: 13px; color: var(--graphite);
    transform: translateY(130%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .dock.show { transform: none; }
  .dock b { color: var(--ink); font-weight: 652; margin-right: 4px; }
}

/* ---------- Phone polish ---------- */

html { -webkit-tap-highlight-color: transparent; }

/* No hover lifts on touch screens: they stick after a tap. */
@media (hover: none) {
  .card:hover, .feature:hover .feature-visual .phone, .shot:hover .shot-frame, .knot-card:hover { transform: none; box-shadow: none; }
  .card:hover { border-color: var(--fog); }
}

@media (max-width: 900px) {
  /* Menu becomes a full-height sheet */
  .nav.open .mobile-menu {
    display: flex; flex-direction: column; height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain;
    background: var(--canvas); padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .mobile-menu a:not(.btn) {
    display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  }
  .mobile-menu a:not(.btn)::after { content: "→"; font-size: 18px; color: var(--ash); font-weight: 400; }
  .mobile-menu .btn { margin-top: auto; height: 54px; font-size: 16px; }
  .nav.open .mobile-menu > * { animation: menu-in .4s cubic-bezier(.2,.7,.2,1) both; }
  .nav.open .mobile-menu > :nth-child(2) { animation-delay: .03s; }
  .nav.open .mobile-menu > :nth-child(3) { animation-delay: .06s; }
  .nav.open .mobile-menu > :nth-child(4) { animation-delay: .09s; }
  .nav.open .mobile-menu > :nth-child(5) { animation-delay: .12s; }
  .nav.open .mobile-menu > :nth-child(6) { animation-delay: .15s; }
  .nav.open .mobile-menu > :nth-child(7) { animation-delay: .18s; }
  .nav.open .mobile-menu > :nth-child(8) { animation-delay: .21s; }
  :root.menu-open, :root.menu-open body { overflow: hidden; }
  .nav.open { background: var(--canvas); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  :root { --section: 64px; }
  .nav-inner { height: 60px; }
  .nav.open .mobile-menu { height: calc(100dvh - 60px); }
  html { scroll-padding-top: 72px; }
  .section-head { margin-bottom: 36px; }
  .section-head .lead { margin-top: 14px; font-size: 16px; }
  .eyebrow { margin-bottom: 14px; }

  /* Hero */
  .hero { padding-top: 40px; }
  .hero .lead { margin-top: 20px; font-size: 16px; }
  .hero-ctas { margin-top: 28px; gap: 10px; }
  .hero-ctas .btn { height: 52px; }
  .checks { flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; }
  .hero-extra { margin-top: 18px; }
  .stage { height: 460px; margin-top: 40px; }
  .marquee { padding: 16px 0; }
  .marquee span { font-size: 15px; }
  .stat { padding: 22px 10px; }
  .stat span { font-size: 13px; }

  /* Problems: tighter list */
  .problem, .problem + .problem { padding: 22px 0; }
  .problem h3 { margin: 8px 0 8px; font-size: 20px; }
  .problem-link { margin-top: 12px; }

  /* Features: shorter phone panels, tighter lists */
  .feature { gap: 28px; }
  .feature-copy .lead { font-size: 16px; margin-top: 14px; }
  .points { margin-top: 22px; }
  .points li { padding: 12px 0; font-size: 14px; gap: 10px; }
  .feature-visual { height: 430px; padding: 28px 16px 0; border-radius: 20px; }
  .feature-visual .phone { width: 260px; height: 402px; border-radius: 38px 38px 0 0; }
  .feature-visual .phone .screen { border-radius: 30px 30px 0 0; }

  /* Demo: only the chosen step shows its description */
  .demo { gap: 24px; }
  .demo-tab { padding: 14px; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; }
  .demo-tab .n { width: 32px; height: 32px; }
  .demo-tab b { font-size: 16px; }
  .demo-tab[aria-selected="false"] span.d { display: none; }
  .demo-stage .feature-visual { height: 560px; padding-top: 44px; }
  .demo-stage .feature-visual .phone { height: 516px; }

  /* Real screens: show a peek of the next one */
  /* All four app screens visible at once in a 2 x 2 grid */
  .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; overflow: visible; margin: 0; padding: 0; }
  .shot { flex: none; }
  .shot-frame { border-radius: 24px; padding: 5px; }
  .shot-frame img { border-radius: 19px; }
  .shot figcaption { font-size: 14px; margin-top: 10px; }
  .shot figcaption span { font-size: 12.5px; }

  /* Tackle cards */
  .bento { gap: 12px; }
  .card { min-height: 0; padding: 22px; border-radius: 20px; }
  .card p { font-size: 14px; }
  .card .visual { padding-top: 20px; }

  /* Privacy: 2 x 2 */
  .band { border-radius: 24px; }
  .band .wrap { padding: 0 18px; }
  .promise { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .promise-item { padding-top: 16px; }
  .promise-item svg { margin-bottom: 14px; width: 20px; height: 20px; }
  .promise-item h3 { font-size: 15px; }
  .promise-item p { font-size: 13px; }
  .subhead { margin: 48px 0 20px; padding-top: 28px; }
  .compare { border-radius: 16px; }

  /* Steps as compact rows */
  .step { display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; padding: 20px; }
  .step .n { grid-row: span 2; margin: 0; }
  .step h3 { margin: 5px 0 2px; font-size: 18px; }
  .step p { font-size: 14px; }

  /* Pricing */
  .plans { gap: 24px; }
  .plan-price { font-size: 46px; margin-top: 20px; }
  .plan ul { margin: 24px 0; gap: 12px; font-size: 14px; }
  .plan .btn { height: 52px; }

  /* FAQ */
  .faq summary { padding: 18px 0; gap: 16px; }
  .faq details p { font-size: 15px; margin-bottom: 18px; }

  /* Final + footer */
  .final { padding: 56px 20px; }
  .final .lead { font-size: 16px; }
  .footer-top { gap: 32px; padding-bottom: 32px; }
  .footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
  .footer-col a { padding: 8px 0; }
  .footer-cta { margin-bottom: 40px; }
  .footer-cta b { font-size: 18px; }
  .wordmark { margin-top: 32px; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

  /* Install bar respects the home indicator */
  .dock { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* Very narrow phones */
@media (max-width: 360px) {
  .h-xl { font-size: 40px; }
  .promise { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
