/* Lazy ASO — deep ink navy; the product glows out of it. */
:root {
  --paper: #0e1120;     /* deep ink navy, not black */
  --paper-2: #151a2e;
  --panel: #181d33;
  --ink: #eef0f8;
  --slate: #9aa2bd;
  --line: #262c47;
  --blue: #6b80ff;      /* the app's button blue, lifted for dark */
  --amber: #f0a73a;     /* the app's "Maybe" verdict */
  --red: #ff8a80;
  --display: "Bricolage Grotesque", -apple-system, "SF Pro Display", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: radial-gradient(1200px 700px at 50% -10%, #1d2550 0%, rgba(14,17,32,0) 70%) no-repeat, var(--paper); color: var(--ink);
  font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 680px; }

/* nav */
.nav { display: flex; align-items: center; gap: 28px; padding: 22px 0; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--display); text-decoration: none; letter-spacing: -0.01em; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav .links { margin-left: auto; display: flex; gap: 26px; font-size: 15px; }
.nav .links a { text-decoration: none; color: var(--slate); }
.nav .links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--text); color: #0e1120; background: #fff;
  border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #dfe3f5; }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: default; }

/* hero */
.hero { text-align: center; padding: 72px 0 0; }
h1 {
  font: 800 clamp(44px, 7vw, 84px)/0.98 var(--display);
  letter-spacing: -0.035em; margin: 0 auto; max-width: 13ch;
  font-variation-settings: "opsz" 96, "wdth" 90;
}
.hero .lead { font-size: 20px; line-height: 1.5; color: var(--slate); max-width: 34em; margin: 26px auto 34px; }

.join { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.join input { flex: 1; min-width: 0; border: 0; background: transparent; font: 16px var(--text); color: var(--ink); padding: 0 16px; outline: none; }
.join input::placeholder { color: #6c7392; }
.hp { position: absolute; left: -9999px; }
.msg { font-size: 15px; min-height: 1.6em; margin: 12px 0 0; color: var(--slate); }
.msg.ok { color: #5fd38d; } .msg.err { color: var(--red); }

/* product shot */
.shot { position: relative; margin: 64px auto 0; max-width: 1100px; }
.shot img {
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(160,175,255,.18), 0 40px 120px -30px rgba(90,110,255,.45), 0 20px 40px -20px rgba(0,0,0,.6);
}
.callout {
  position: absolute; background: #fff; color: #0e1120; border-radius: 14px; padding: 14px 16px;
  font-size: 14.5px; line-height: 1.45; max-width: 250px; text-align: left;
  box-shadow: 0 12px 30px -10px rgba(18,22,43,.35), 0 0 0 1px rgba(18,22,43,.06);
}
.callout b { display: block; font: 700 16px/1.3 var(--display); margin-bottom: 2px; }
.callout.odds { right: -24px; top: 36%; }
.callout.odds::before { content: ""; position: absolute; left: -38px; top: 22px; width: 38px; height: 2px; background: var(--amber); }
.caption { text-align: center; color: var(--slate); font-size: 14px; margin: 18px 0 0; }

/* sections */
section { padding: 120px 0 0; }
h2 { font: 750 clamp(32px, 4.4vw, 50px)/1.04 var(--display); letter-spacing: -0.03em; margin: 0 0 16px; font-variation-settings: "opsz" 72, "wdth" 92; }
h3 { font: 700 21px/1.25 var(--display); letter-spacing: -0.01em; margin: 0 0 6px; }
.intro { font-size: 19px; color: var(--slate); max-width: 36em; margin: 0 0 48px; }

/* steps: a real sequence — one row per step, numbers on a rail, the real screen beside each */
.steps { margin: 48px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  position: relative; counter-increment: step;
  display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 8fr); column-gap: 36px; align-items: start;
  padding: 0 0 88px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step); grid-column: 1; grid-row: 1;
  font: 800 56px/1 var(--display); letter-spacing: -0.04em; font-variation-settings: "opsz" 96, "wdth" 85;
  color: var(--paper); -webkit-text-stroke: 1.5px var(--blue); background: var(--paper);
  padding-bottom: 10px; position: relative; z-index: 1; text-align: center;
}
.step::after { content: ""; position: absolute; left: 31px; top: 66px; bottom: 0; width: 2px; background: linear-gradient(var(--line), var(--line) 70%, transparent); }
.step:last-child::after { display: none; }
.step-text { grid-column: 2; padding-top: 10px; }
.step-text h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 10px; }
.step-text p { color: var(--slate); margin: 0; font-size: 17px; }
.step-text .step-note { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--amber); color: #c3c8da; font-size: 14.5px; line-height: 1.5; }
.step-shot {
  grid-column: 3; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(160,175,255,.16), 0 30px 80px -30px rgba(90,110,255,.35), 0 16px 30px -18px rgba(0,0,0,.6);
}

/* split: text + screenshot */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.split img { border-radius: 12px; box-shadow: 0 0 0 1px rgba(160,175,255,.16), 0 30px 80px -30px rgba(90,110,255,.35); }
.split p { color: var(--slate); }

/* research */
.research { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #eef0f7; margin-top: 120px; padding: 110px 0; }
.research h2 { color: #fff; }
.research .intro { color: #a9b0c6; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0 0 80px; }
.counts strong { display: block; font: 800 clamp(40px, 5vw, 60px)/1 var(--display); letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums; }
.counts span { display: block; color: #a9b0c6; font-size: 15.5px; margin-top: 10px; max-width: 22em; }
.factors { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.factors table { width: 100%; border-collapse: collapse; }
.factors td { padding: 15px 0; border-bottom: 1px solid #2a3150; vertical-align: baseline; }
.factors td:last-child { text-align: right; font: 750 22px/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 20px; }
.factors .up { color: #8fa3ff; } .factors .down { color: #ff8a80; } .factors .flat { color: #6f7896; font: 500 15px/1.3 var(--text) !important; }
.factors h3 { color: #fff; margin-bottom: 4px; }
.factors .note { color: #8790ab; font-size: 14px; margin: 0 0 12px; }
.fine { color: #8790ab; font-size: 14px; margin-top: 40px; max-width: 46em; }

/* case */
.case { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.serp { background: var(--panel); border-radius: 18px; padding: 12px; box-shadow: 0 0 0 1px var(--line); }
.serp .q { color: var(--slate); font-size: 14px; padding: 8px 12px 10px; }
.app { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; }
.app .n { color: var(--slate); width: 24px; font-variant-numeric: tabular-nums; font-size: 15px; }
.app .name { flex: 1; font-weight: 600; }
.app img { width: 46px; height: 46px; border-radius: 11px; }
.app .r { color: var(--slate); font-variant-numeric: tabular-nums; font-size: 14.5px; }
.app.hl { background: rgba(240,167,58,.10); box-shadow: inset 0 0 0 1.5px var(--amber); }
.app.hl .r { color: var(--amber); font-weight: 700; }

/* limits */
.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.limits p { color: var(--slate); margin: 0; font-size: 16px; }

/* MCP chat */
.chat { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.bubble { padding: 14px 18px; border-radius: 20px; font-size: 16px; max-width: 88%; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble.ai { background: var(--panel); box-shadow: 0 0 0 1px var(--line); color: var(--ink); border-bottom-left-radius: 6px; }
.bubble.ai ul { margin: 6px 0 0; padding-left: 18px; color: var(--slate); }

/* pricing */
.price { background: var(--panel); border-radius: 22px; padding: 36px; max-width: 520px; box-shadow: 0 0 0 1px var(--line); }
.price .amount { font: 800 54px/1 var(--display); letter-spacing: -0.03em; }
.price .per { color: var(--slate); font-size: 16px; margin: 6px 0 24px; }
.price ul { margin: 0 0 28px; padding: 0; list-style: none; }
.price li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); }
.price li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.price .fine2 { color: var(--slate); font-size: 14px; margin: 16px 0 0; }

/* faq */
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 650 18px/1.4 var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--slate); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--slate); margin: 10px 0 0; }

.final { text-align: center; padding: 140px 0 0; }
.final h2 { max-width: 14ch; margin: 0 auto 32px; }

footer { margin-top: 120px; padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--slate); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--slate); }

/* legal pages */
.legal { max-width: 680px; margin: 0 auto; padding: 24px 28px 96px; }
.legal h1 { font-size: 44px; text-align: left; max-width: none; margin: 48px 0 8px; }
.legal h2 { font-size: 21px; margin: 36px 0 6px; font-variation-settings: normal; letter-spacing: -0.01em; }
.legal p { color: #c3c8da; }
.legal .small { color: var(--slate); font-size: 14px; }

@media (max-width: 900px) {
  .split, .case, .factors { grid-template-columns: 1fr; gap: 36px; }
  .step { grid-template-columns: 52px minmax(0, 1fr); row-gap: 24px; column-gap: 20px; padding-bottom: 72px; }
  .step::before { font-size: 44px; }
  .step::after { left: 25px; top: 54px; }
  .step-shot { grid-column: 2; }
  .limits, .counts { grid-template-columns: 1fr; gap: 28px; }
  .callout { position: static; max-width: none; margin: 16px auto 0; }
  .callout.odds::before { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav .links { display: none; }
  .hero { padding-top: 40px; }
  .join { flex-direction: column; border-radius: 18px; }
  .join input { padding: 12px 10px; }
  .step { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
  .step::before { font-size: 34px; -webkit-text-stroke-width: 1.2px; }
  .step::after { left: 17px; top: 44px; }
  .step-text { padding-top: 4px; }
  .step-text h3 { font-size: 24px; }
  .step-shot { border-radius: 8px; }
  section { padding-top: 88px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
