:root {
  --bg: #04121f;
  --bg-2: #071c30;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-line: rgba(255, 255, 255, 0.10);
  --ink: #f2f7fc;
  --ink-2: #c3d3e3;
  --ink-3: #93a9bf;
  --aqua: #3fd0e0;
  --sea: #2a8ff0;
  --coral: #ff9a5c;
  --good: #4fe0a6;
  --warn: #ffc65c;
  --radius: 20px;
  --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 80% -10%, #0c3a63 0%, transparent 60%),
              radial-gradient(900px 600px at -10% 20%, #06304a 0%, transparent 55%),
              var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 18, 31, 0.72); border-bottom: 1px solid var(--panel-line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 15px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 650;
  text-decoration: none; font-size: 15px; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--aqua), var(--sea)); color: #02111e; box-shadow: 0 8px 30px rgba(63, 208, 224, 0.28); }
.btn-ghost { background: var(--panel); color: var(--ink); border: 1px solid var(--panel-line); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* type */
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; font-weight: 700; color: var(--aqua); }
h1 { font-size: clamp(38px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 14px 0 18px; font-weight: 800; }
h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.025em; margin: 10px 0 14px; font-weight: 780; }
h3 { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 8px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 640px; }
.grad { background: linear-gradient(100deg, #fff 10%, var(--aqua) 55%, var(--sea)); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding: 72px 0; }
@media (max-width: 640px) { section { padding: 52px 0; } }

/* hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.trust { margin-top: 22px; color: var(--ink-3); font-size: 14px; }

/* player */
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--panel-line); }
.player video, .player canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.player video { object-fit: cover; }
.player canvas { pointer-events: none; }
.hud { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.chip { background: rgba(2, 14, 26, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chip .l { color: var(--aqua); } .chip .r { color: var(--coral); }
.chip.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 10px var(--good); }
.player-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.toggle { pointer-events: auto; cursor: pointer; }
.pulse { animation: pulse .5s ease-out; }
@keyframes pulse { 0% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (max-width: 520px) { .chip { font-size: 11.5px; padding: 5px 9px; } .hud .hide-xs { display: none; } }

/* timeline */
.timeline { margin-top: 14px; background: var(--panel); border: 1px solid var(--panel-line); border-radius: 14px; padding: 12px 14px; }
.timeline svg { width: 100%; height: 56px; display: block; cursor: pointer; }
.timeline .legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

/* metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius); padding: 22px; }
.metric .k { font-size: 13px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.metric .v { font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.metric .v small { font-size: 0.42em; font-weight: 650; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.metric .s { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.metric.hero-metric { grid-column: span 2; background: linear-gradient(140deg, rgba(63,208,224,.16), rgba(42,143,240,.08)); border-color: rgba(63,208,224,.35); }
@media (max-width: 900px) { .metric.hero-metric { grid-column: span 2; } }
.scale { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #ff6b6b, #ffc65c 40%, #4fe0a6 70%, #3fd0e0); margin: 18px 0 8px; }
.scale .pin { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(4,18,31,.8), 0 4px 16px rgba(0,0,0,.4); }
.scale-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }

/* findings */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.finding { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--panel-line); }
.finding:first-of-type { border-top: 0; }
.finding .ic { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; }
.ic.good { background: rgba(79, 224, 166, .15); color: var(--good); }
.ic.warn { background: rgba(255, 198, 92, .15); color: var(--warn); }
.finding .t { font-weight: 650; }
.finding .d { color: var(--ink-2); font-size: 15px; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); margin-top: 8px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--aqua), var(--sea)); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }
.tag.hi { background: rgba(255, 154, 92, .18); color: var(--coral); }
.tag.lo { background: rgba(255, 255, 255, .08); color: var(--ink-2); }

/* kai */
.chat { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.bubble { padding: 16px 18px; border-radius: 20px; font-size: 16.5px; line-height: 1.55; }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, var(--sea), #1f6fd0); color: #fff; border-bottom-right-radius: 6px; max-width: 82%; }
.kai-row { display: flex; gap: 12px; align-items: flex-end; }
.kai-row img { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px; }
.bubble.kai { background: var(--panel); border: 1px solid var(--panel-line); border-bottom-left-radius: 6px; white-space: pre-line; }
.typing { display: inline-flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* plan */
.plan-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 800px) { .plan-head { grid-template-columns: 1fr; } }
.bet { border-left: 3px solid var(--aqua); padding-left: 16px; color: var(--ink); font-size: 17px; }
.mini { font-size: 13px; color: var(--ink-3); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.session { margin-top: 14px; }
.session summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.session summary::-webkit-details-marker { display: none; }
.session .num { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: var(--aqua); letter-spacing: .1em; }
.session .goal { font-weight: 650; font-size: 17px; flex: 1; }
.session .vol { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.session .chev { transition: transform .2s; color: var(--ink-3); }
.session[open] .chev { transform: rotate(90deg); }
.tasks { margin-top: 14px; display: grid; gap: 10px; }
.task { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
@media (max-width: 560px) { .task { grid-template-columns: 1fr; gap: 6px; } }
.task .ty { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding-top: 2px; }
.task .ty.technique { color: var(--aqua); } .task .ty.main_set { color: var(--coral); }
.task .tt { font-weight: 650; }
.task .q { color: var(--aqua); font-weight: 650; font-variant-numeric: tabular-nums; }
.task .why { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.task .cue { font-size: 14.5px; margin-top: 6px; color: var(--ink); }
.task .cue::before { content: "Cue · "; color: var(--ink-3); font-weight: 650; }
.target { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }

/* landing */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step .n { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: rgba(63,208,224,.14); color: var(--aqua); margin-bottom: 14px; }
.step p, .feature p { color: var(--ink-2); margin: 0; }
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .demos { grid-template-columns: 1fr; } }
.demo-card { text-decoration: none; display: block; overflow: hidden; padding: 0; transition: transform .2s ease, border-color .2s; }
.demo-card:hover { transform: translateY(-3px); border-color: rgba(63,208,224,.45); }
.demo-card .img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; }
.demo-card .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,18,31,.85)); }
.demo-card .meta { padding: 18px 22px 22px; }
.demo-card .row { display: flex; gap: 18px; margin-top: 10px; color: var(--ink-2); font-size: 14.5px; flex-wrap: wrap; }
.demo-card .row b { color: var(--ink); font-size: 18px; margin-right: 4px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature .fi { font-size: 26px; margin-bottom: 12px; }
.big-cta { text-align: center; padding: 56px 24px; background: linear-gradient(140deg, rgba(63,208,224,.16), rgba(42,143,240,.10)); border: 1px solid rgba(63,208,224,.3); border-radius: 28px; }
.big-cta .lede { margin: 0 auto; }
.big-cta .cta-row { justify-content: center; }

footer { padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; border-top: 1px solid var(--panel-line); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; margin-left: 18px; }
footer a:first-child { margin-left: 0; }
.prov { font-size: 13.5px; color: var(--ink-3); margin-top: 18px; }
.prov b { color: var(--ink-2); font-weight: 600; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .pulse { animation: none; } }
.metric.wide { grid-column: span 2; }
@media (max-width: 900px) { .metric.wide { grid-column: span 2; } }

/* app screenshots */
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.store-link { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--panel-line); transition: border-color .2s, transform .2s; }
.store-link:hover { border-color: rgba(63,208,224,.5); transform: translateY(-2px); }
.store-link img { width: 52px; height: 52px; border-radius: 12px; }
.store-link b { display: block; font-size: 16px; }
.store-link small { display: block; color: var(--aqua); font-size: 13.5px; margin-top: 2px; font-weight: 600; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px max(20px, calc((100vw - var(--max)) / 2 + 20px)) 18px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.shots img { flex: 0 0 auto; width: 230px; aspect-ratio: 414 / 900; border-radius: 22px; scroll-snap-align: start;
  box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 0 1px var(--panel-line); background: var(--bg-2); }
@media (max-width: 560px) { .shots img { width: 64vw; } }
.shots { scroll-padding-inline: max(20px, calc((100vw - var(--max)) / 2 + 20px)); }
