/* Layout: dark navy page, one brand gradient used only for the key word, buttons and the session timeline. */
:root {
  color-scheme: dark;
  --bg: #0A0D1F;
  --bg-raise: #161B3A;
  --panel: #1B2147;
  --line: #2A3163;
  --fg: #EEF1FF;
  --muted: #A9B1D6;
  --teal: #1FF0C8;
  --blue: #2E96FF;
  --violet: #A45BFF;
  --grad: linear-gradient(90deg, var(--teal), var(--blue) 50%, var(--violet));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.1rem; }
p { margin: 0; }

.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(56px, 9vw, 104px); }
.fine { color: var(--muted); font-size: 0.9rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--grad); color: #0A0D1F; font-weight: 650; text-decoration: none;
  box-shadow: 0 8px 28px -10px rgba(46, 150, 255, 0.7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -10px rgba(164, 91, 255, 0.8); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta-row.center { justify-content: center; }
.badge img { height: 50px; width: auto; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(10, 13, 31, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 1.05rem; }
.nav nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover { color: var(--fg); }
.nav nav { margin-left: auto; }
@media (max-width: 720px) { .nav nav { display: none; } .nav .btn-sm { margin-left: auto; } }

/* Hero */
.hero { background: radial-gradient(90% 80% at 85% 10%, rgba(46,150,255,.18), transparent 60%), linear-gradient(180deg, var(--bg-raise), var(--bg)); padding-block: clamp(40px, 7vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; display: grid; gap: 22px; }
.eyebrow { color: var(--teal); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.04; letter-spacing: -0.035em; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); max-width: 34em; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.9rem; }
.trust li::before { content: "✓"; color: var(--teal); margin-right: 6px; font-weight: 700; }
.hero-media { position: relative; min-width: 0; padding-bottom: 6%; padding-right: 4%; }
.hero-mac { width: 100%; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.hero-phone { position: absolute; right: 0; bottom: 0; width: 30%; border-radius: 18px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.85), 0 0 0 1px var(--line); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Who */
.who { padding-block: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.who-label { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.who ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.who li { padding: 6px 14px; border-radius: 999px; background: var(--panel); font-size: 0.92rem; }

/* Problem + timeline */
.problem-text { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.35; max-width: 30em; color: var(--muted); letter-spacing: -0.01em; }
.problem-text strong { color: var(--fg); font-weight: 650; }
.timeline { margin-top: clamp(32px, 5vw, 56px); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(16px, 3vw, 28px); display: grid; gap: 18px; }
.tl-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.9rem; }
.tl-title { font-weight: 600; }
.tl-now { font-family: var(--mono); color: var(--teal); font-variant-numeric: tabular-nums; }
.tl-track { position: relative; height: 72px; }
.tl-wave { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.tl-wave i { flex: 1; background: var(--line); border-radius: 2px; min-height: 4px; }
.tl-played { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(31,240,200,.16), rgba(46,150,255,.2)); border-radius: 8px; }
.tl-mark { position: absolute; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 3px var(--panel); }
.tl-mark.on { background: var(--teal); }
.tl-head-line { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--teal); }
.tl-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tl-events li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); min-width: 0; }
.tl-events li.on { border-color: var(--teal); color: var(--fg); background: rgba(31, 240, 200, 0.06); }
.tl-events time { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--fg); font-size: 0.85rem; }
.tl-events span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); font-weight: 600; }
.tl-caption { margin-top: 18px; color: var(--muted); }
@media (max-width: 760px) { .tl-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Versus */
.versus { padding-block-start: 0; }
.versus-sub { color: var(--muted); margin-top: 14px; max-width: 46em; font-size: 1.08rem; }
.versus-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-col { border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.vs-col h3 { color: var(--muted); }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-col li { position: relative; padding-left: 26px; color: var(--muted); }
.vs-col li::before { content: "–"; position: absolute; left: 4px; color: var(--muted); }
.vs-col.us { background: var(--panel); border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--teal); }
.vs-col.us h3 { color: var(--fg); }
.vs-col.us li { color: var(--fg); }
.vs-col.us li::before { content: "✓"; left: 0; color: var(--teal); font-weight: 700; }
@media (max-width: 760px) { .versus-grid { grid-template-columns: 1fr; } }

/* Features */
.features { background: var(--bg-raise); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.feature { display: grid; grid-template-rows: auto 1fr; gap: 20px; min-width: 0; }
.feature-text { display: grid; gap: 8px; align-content: start; }
.feature h2 { font-size: 1.3rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }
.feature img { border-radius: 18px; align-self: end; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; } }
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature img { max-width: 300px; }
}
.inline-cta { margin-top: clamp(40px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.inline-cta p { font-family: var(--display); font-size: 1.25rem; font-weight: 600; }

/* Tour */
.tour-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.tabs button { font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.tabs button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.tour-sub { color: var(--muted); margin-top: 14px; max-width: 46em; }
.strip { margin-top: 28px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; overscroll-behavior-x: contain; }
.strip:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 12px; }
.strip img { flex: 0 0 auto; scroll-snap-align: start; border-radius: 16px; height: auto; }
.strip-phone img { width: min(240px, 62vw); }
.strip-pad img { width: min(340px, 72vw); }
.strip-mac img { width: min(620px, 86vw); border-radius: 12px; }
.strip-hint { margin-top: 10px; }

/* Share */
.share-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 48px; align-items: baseline; }
.share p { color: var(--muted); font-size: 1.1rem; max-width: 36em; }
@media (max-width: 760px) { .share-grid { grid-template-columns: 1fr; } }

.share { background: var(--bg-raise); }

/* Privacy */
.privacy { background: radial-gradient(120% 140% at 0% 0%, rgba(31,240,200,.12), transparent 55%), var(--bg); }
.label-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-self: start; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 650; font-size: 0.98rem !important; }
.label-chip span { padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font-weight: 500; font-size: 0.8rem; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; }
.privacy-grid > div { display: grid; gap: 14px; }
.privacy p:not(.fine) { font-size: 1.12rem; }
@media (max-width: 760px) { .privacy-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { background: var(--bg-raise); }
.pricing h2 { margin-bottom: 32px; }
.price-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 10px; min-width: 0; background: var(--bg); }
.plan:not(.pro) { grid-template-rows: auto auto auto 1fr auto; }
.plan p { color: var(--muted); }
.plan .price { font-family: var(--display); font-size: 2.6rem; font-weight: 700; color: var(--fg); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .alt { color: var(--teal); font-weight: 600; }
.plan .muted-alt { color: var(--muted); font-weight: 400; }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.plan li { padding-left: 24px; position: relative; font-size: 0.96rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plan .btn { justify-self: stretch; text-align: center; margin-top: 12px; }
.plan.pro { background: var(--panel); border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--blue), 0 20px 60px -30px rgba(46,150,255,.6); }
.plan-tag { justify-self: start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bg) !important; background: var(--grad); padding: 4px 10px; border-radius: 999px; }
.price-note { margin-top: 18px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq h2 { margin-bottom: 24px; }
.faq-list { display: grid; max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 18px; max-width: 62ch; }

/* Final */
.final { background: radial-gradient(70% 90% at 50% 100%, rgba(164,91,255,.18), transparent 70%), var(--bg-raise); }
.final-inner { display: grid; justify-items: center; text-align: center; gap: 20px; }
.final h2 { max-width: 18em; }
.final-sub { color: var(--muted); }
.icons { display: flex; gap: 16px; align-items: center; }
.icons img { width: 88px; height: 88px; border-radius: 20px; }

/* Mobile download dock */
.dock { display: none; }
@media (max-width: 720px) {
  .dock {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: rgba(22, 27, 58, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .dock img { width: 40px; height: 40px; border-radius: 10px; }
  .dock-text { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
  .dock-text span { color: var(--muted); font-size: 0.8rem; }
  body { padding-bottom: 76px; }
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 0.9rem; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--fg); }
.mail { user-select: all; }

/* Support and policy pages (site root) */
.nav nav a[aria-current="page"], .foot a[aria-current="page"] { color: var(--fg); }
.page-hero { background: radial-gradient(80% 120% at 90% 0%, rgba(46,150,255,.16), transparent 60%), linear-gradient(180deg, var(--bg-raise), var(--bg)); padding-block: clamp(40px, 7vw, 72px) clamp(28px, 4vw, 40px); }
.doc-wrap { max-width: 768px; }
.page-hero .doc-wrap { display: grid; gap: 16px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.card p { color: var(--fg); }
.doc-section { padding-block: 8px clamp(56px, 8vw, 96px); }
.doc h2 { font-size: 1.45rem; margin-top: 44px; }
.doc h3 { font-size: 1.08rem; margin-top: 26px; }
.doc p { color: #CDD3F0; margin-top: 10px; max-width: 68ch; }
.doc strong { color: var(--fg); }
.doc a, .card a { color: var(--teal); text-underline-offset: 3px; }
.doc code { font-family: var(--mono); font-size: 0.9em; background: var(--panel); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.doc-more { margin-top: 40px !important; padding-top: 24px; border-top: 1px solid var(--line); }
.doc > h2:first-child { margin-top: 20px; }
