:root {
  --bg: #0a0c10; --bg2: #141a2a; --surface: #13161d; --elevated: #1a1e27; --stroke: rgba(255,255,255,.07);
  --text: #f2f4f7; --muted: #9aa3b2; --faint: #5f6878;
  --mint: #3ddc97; --lavender: #8b7cf6; --ember: #ff7a45; --coral: #ff5c7a; --solar: #ffc53d; --cyan: #35c2e8;
  --radius: 22px; --radius-s: 14px; --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", "Segoe UI", Roboto, sans-serif; letter-spacing: -.01em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(34px, 7vw, 64px); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(26px, 4.5vw, 40px); line-height: 1.12; font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(20px, env(safe-area-inset-right, 0px)) 12px max(20px, env(safe-area-inset-left, 0px)); background: rgba(10,12,16,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--stroke); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav nav a { color: var(--muted); }
.nav nav a.cta { color: #000; background: var(--mint); padding: 8px 14px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.nav nav a.cta:hover { text-decoration: none; filter: brightness(1.05); }
@media (max-width: 760px) { .nav nav a { display: none; } .nav nav a[href="#pricing"] { display: inline; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px 0 40px; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 540px; }
.hero .shot { justify-self: center; width: min(340px, 72vw); filter: drop-shadow(0 30px 60px rgba(61,220,151,.14)); }
.badge-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.badge-row .note { color: var(--faint); font-size: 14px; }
.badge-row img { height: 54px; width: auto; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓"; color: var(--mint); margin-right: 7px; font-weight: 700; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 28px; } .hero .shot { order: -1; width: min(280px, 64vw); } .hero .lead { font-size: 18px; } }

/* sections */
section { padding: 52px 0; border-top: 1px solid var(--stroke); }
@media (max-width: 640px) { section { padding: 40px 0; } }
.eyebrow { color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.sub { color: var(--muted); max-width: 640px; }
.grid { display: grid; gap: 14px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.four { grid-template-columns: repeat(2, 1fr); } .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.three, .grid.four, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 22px; min-width: 0; }
.card h3 { margin-top: 6px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .sym { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.05); }
.score { border-top: 3px solid var(--c); }
.score .num { font-size: 44px; font-weight: 800; color: var(--c); line-height: 1; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }

/* day-part briefing */
.dayparts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .dayparts { grid-template-columns: 1fr; } }
.daypart { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 20px; min-width: 0; }
.daypart .when { color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.daypart .head { font-weight: 600; margin: 8px 0 6px; }
.daypart .body { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.daypart .act { color: var(--mint); font-size: 14px; font-weight: 500; }
.daypart .act::before { content: "↳ "; }

/* chat */
.chat { display: grid; gap: 10px; max-width: 620px; }
.bubble { padding: 12px 16px; border-radius: 18px; font-size: 15px; max-width: 88%; }
.bubble.user { background: var(--mint); color: #000; justify-self: end; border-bottom-right-radius: 6px; }
.bubble.ai { background: var(--surface); border: 1px solid var(--stroke); color: var(--text); border-bottom-left-radius: 6px; }
.chat .meta { color: var(--faint); font-size: 13px; }

/* screenshot strip */
.strip { display: flex; gap: 18px; overflow-x: auto; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.strip img { width: 280px; flex: 0 0 auto; border-radius: 26px; border: 1px solid var(--stroke); scroll-snap-align: start; }
.strip figure { margin: 0; flex: 0 0 auto; }
.strip figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }
@media (max-width: 600px) { .strip img { width: 230px; border-radius: 22px; } }

/* steps */
.steps { counter-reset: s; }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: #000; font-weight: 700; margin-bottom: 10px; }

/* algorithm notes */
.algo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .algo { grid-template-columns: 1fr; } }
.algo .card h3 { font-size: 17px; }
.algo .card p { font-size: 14px; }

/* watch */
.watch { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.watch .shots { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.watch .shots img { width: clamp(96px, 26vw, 150px); border-radius: 22%; border: 1px solid var(--stroke); }
@media (max-width: 760px) { .watch { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; min-width: 0; }
.plan.pro { border-color: rgba(61,220,151,.45); box-shadow: 0 0 0 1px rgba(61,220,151,.25), 0 30px 60px rgba(61,220,151,.06); }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.plan li::before { content: "✓"; color: var(--mint); margin-right: 10px; font-weight: 700; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; color: var(--mint); background: rgba(61,220,151,.14); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.plan .fine { color: var(--faint); font-size: 13px; margin-top: 16px; }
.plan .price s { font-size: 20px; font-weight: 500; color: var(--faint); margin-right: 4px; }
.plan .muted s { color: var(--faint); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.pills .pill { margin-bottom: 8px; }
.pill.in { color: #000; background: var(--solar); }
[hidden] { display: none !important; }
.region { color: var(--faint); font-size: 13px; margin-top: 14px; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.compare th { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; width: 90px; white-space: nowrap; }
.compare .yes { color: var(--mint); font-weight: 700; }
.compare .no { color: var(--faint); }
.compare-wrap { overflow-x: auto; }

/* faq */
details { border-top: 1px solid var(--stroke); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--stroke); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 22px; flex: 0 0 auto; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* privacy block */
.privacy { background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 760px) { .privacy { grid-template-columns: 1fr; padding: 22px; } }
.privacy ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* closing band */
.band { text-align: center; padding: 56px 0; }
.band .badge-row { justify-content: center; }

/* mobile download bar */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; transform: translateY(110%); transition: transform .25s ease; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(10,12,16,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--stroke); }
  .mobile-cta .label { font-size: 14px; color: var(--muted); }
  .mobile-cta .label strong { color: var(--text); display: block; font-size: 15px; }
  .mobile-cta a { background: var(--mint); color: #000; font-weight: 700; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
  .mobile-cta a:hover { text-decoration: none; }
  .mobile-cta.show { transform: none; }
  body { padding-bottom: 84px; }
}

/* footer */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); color: var(--faint); font-size: 14px; border-top: 1px solid var(--stroke); max-width: var(--max); margin: 0 auto; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* documents */
.doc { max-width: 760px; margin: 0 auto; padding: 48px max(20px, env(safe-area-inset-right, 0px)) 64px max(20px, env(safe-area-inset-left, 0px)); }
.doc .meta { color: var(--faint); font-size: 14px; margin-top: -6px; }
.doc .lead { font-size: 19px; color: var(--muted); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc h3 { font-size: 17px; margin-top: 22px; }
.doc ul { padding-left: 20px; color: var(--muted); }
.doc li { margin-bottom: 6px; }
.doc p { color: var(--muted); }
.doc strong { color: var(--text); }
