/* Hit Rate Social sales page (index.html only), modelled on larven.ai (2026-10-13):
   near-black canvas, a blue glow behind the hero visual, light-weight headlines
   that finish in grey, tiny blue eyebrows, white pill buttons, framed cards,
   a struck-through problem list, one glowing price card, a blue band, and a
   light footer with a giant faint wordmark. Always dark, like the reference.
   Outfit and the logo blue stay from the brand; start/offer/thanks still use
   styles.css. */
:root {
  color-scheme: dark;
  --bg: #09090b;
  --bg-2: #0e0e11;
  --card: #131316;
  --card-2: #1a1a1e;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #fafafa;
  --ink-2: #a1a1aa;
  --dim: #71717a;
  --brand: #2456c9;             /* logo blue */
  --accent: #4f7df5;            /* the brand blue lifted for a dark page */
  --accent-soft: rgba(79, 125, 245, .14);
  --r: 16px;
  --font: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gut: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
p { margin: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 720px) { :root { --gut: 32px; } }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(40px, 9.6vw, 72px); line-height: 1.04; letter-spacing: -0.05em; }
h2 { font-size: clamp(32px, 7.4vw, 50px); line-height: 1.06; letter-spacing: -0.04em; }
h3 { font-size: 17px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.dim { color: var(--dim); }
h1 .dim { color: #8b8b94; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sub { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }

/* Buttons: white pill primary, dark outlined secondary. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  background: var(--ink); color: #111114; border: 1px solid var(--ink);
  font: 500 16px/1.1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #e4e4e7; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.ghost { background: var(--card-2); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: #222227; }
.btn.sm { min-height: 36px; padding: 7px 14px; border-radius: 10px; font-size: 14px; }
.btn.is-unconnected { background: transparent; color: var(--dim); border: 1px dashed var(--line-2); cursor: not-allowed; }
.btn.is-unconnected svg { display: none; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 519px) { .btns .btn { flex: 1 1 100%; } }

.checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 16px 0 0; padding: 0; font-size: 13px; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Announcement bar */
.announce { background: #000; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.announce .wrap { display: flex; flex-wrap: wrap; row-gap: 2px; align-items: center; justify-content: center; gap: 10px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.announce .tag { flex: none; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-2); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.announce b { color: var(--ink); font-weight: 600; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.nav .links { display: none; gap: 28px; font-size: 14px; }
.nav .links a { text-decoration: none; color: var(--ink-2); }
.nav .links a:hover { color: var(--ink); }
@media (min-width: 760px) { .nav .links { display: flex; } }

/* Logo 18C: three short grey bars and one blue bar at 1.3x the capitals. */
.brand { display: inline-flex; align-items: baseline; color: var(--ink); text-decoration: none; font: 600 18px/1 var(--font); letter-spacing: -0.02em; white-space: nowrap; }
.brand .hrc { display: inline-block; height: .9165em; width: auto; margin-right: .3em; align-self: baseline; }
.brand .hrc .sb { fill: currentColor; opacity: .3; }
.brand .hrc .sp { fill: var(--accent); }

/* Hero */
.hero { position: relative; padding: 64px 0 0; text-align: center; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 340px; width: min(1400px, 180vw); height: 760px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(36, 86, 201, .62), rgba(36, 86, 201, .2) 55%, transparent);
  pointer-events: none;
}
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 13px; color: var(--ink-2); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { margin-top: 22px; }
.hero .sub { margin: 20px auto 0; font-size: clamp(16px, 4.2vw, 19px); }
.hero .sub b { color: var(--ink); font-weight: 500; }
.hero .cta { display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.hero .cta .btn { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.hero .cta .from { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.hero .cta .from span { color: var(--ink); font-weight: 600; }
@media (max-width: 519px) { .hero { padding-top: 44px; } .hero .cta .btn { width: 100%; } }

/* Framed visual (the hits chart), glowing like the reference's video frame */
.frame {
  position: relative; margin: 56px auto 0; max-width: 880px; padding: 10px;
  border-radius: 22px; background: linear-gradient(180deg, rgba(79,125,245,.5), rgba(79,125,245,.08));
  box-shadow: 0 30px 120px -20px rgba(36, 86, 201, .55);
}
.frame-in { border-radius: 14px; background: var(--bg-2); padding: 22px 18px 18px; text-align: left; }
@media (min-width: 720px) { .frame-in { padding: 34px 36px 26px; } }
.frame-cap { margin-top: 12px; font-size: 12px; color: var(--dim); text-align: center; }

.chart-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chart-h .t { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.chart { margin: 18px 0 0; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .b { fill: rgba(255,255,255,.22); }
.chart .h { fill: var(--accent); }
.chart .axis { stroke: var(--line-2); stroke-width: 1; }
.chart .glow { fill: var(--accent); opacity: .55; }
.chart .arr { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.chart .note { font: 500 13px var(--font); fill: var(--ink); letter-spacing: -0.01em; }
.chart .floor { fill: none; stroke: #d4d4d8; stroke-width: 1.5; stroke-dasharray: 3 3; stroke-linecap: round; }
.chart .farea { fill: url(#floorfill); stroke: none; }
.chart .flt { font: 500 12px var(--font); fill: var(--ink); letter-spacing: -0.01em; }
.chart .farr { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.chart .fdot { fill: #fff; }
.legend i.fl { width: 14px; height: 0; border-radius: 0; background: none; border-top: 1.5px dashed var(--ink-2); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.legend i.o { background: #fff; opacity: .2; }

/* Sections */
section { padding: 112px 0 0; }
@media (max-width: 719px) { section { padding-top: 88px; } }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Split: copy one side, framed card the other */
.split .sub b { color: var(--ink); font-weight: 500; }
.split .sub + .sub { margin-top: 12px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }

/* Hero kicker + stat tiles in the frame */
.kicker { font-size: clamp(19px, 5vw, 26px); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink-2); }
.hero h1 { margin-top: 10px; }
h1 em { font-style: normal; color: var(--accent); }
.btn .bp { opacity: .55; font-weight: 400; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tile { min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.tile .l { font-size: 13px; color: var(--ink-2); }
.tile .n { margin-top: 4px; font-size: clamp(32px, 9vw, 48px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.tile .n.a { color: var(--accent); }
.tile .s { margin-top: 4px; font-size: 13px; color: var(--dim); }
.chart-f { display: flex; justify-content: space-between; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--dim); }

/* Hero layout (2026-10-13): chart above the fold. Phones stack copy then
   chart; from 1000px the copy sits left of the chart. */
.chart-h .legend { flex-wrap: wrap; }
@media (max-width: 999px) {
  .hero { padding-top: 32px; }
  .hero .frame { margin-top: 30px; }
  .hero .sub { margin-top: 14px; }
  .hero .cta { margin-top: 22px; }
}
@media (min-width: 1000px) {
  .hero { padding-top: 36px; text-align: left; }
  .hero::before { left: 72%; top: 260px; width: 1100px; height: 720px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 72px); }
  .hero .sub { margin-left: 0; }
  .hero .cta { align-items: flex-start; }
  .hero .checks { justify-content: flex-start; }
  .hero .frame { margin: 0; max-width: none; }
}

/* Track record band: six big numbers that count up. */
.proof-head { display: grid; gap: 16px; align-items: end; }
@media (min-width: 900px) { .proof-head { grid-template-columns: 1.3fr 1fr; gap: 72px; } }
.nums { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(3, 1fr); } }
.nums li { padding: 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
@media (min-width: 720px) { .nums li { padding: 30px 28px; } }
.nums .n { color: var(--ink); font-size: clamp(36px, 9vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums li:first-child .n { color: var(--accent); }
.nums .l { margin-top: 10px; font-size: 15px; color: var(--ink); line-height: 1.3; }
.nums .s { margin-top: 4px; font-size: 13px; color: var(--dim); }
.nums li:first-child { border-top-left-radius: var(--r); }

/* "It wasn't luck. It's a system." Three steps joined by a line that draws in. */
.system { margin-top: 56px; display: grid; gap: 28px; }
@media (min-width: 900px) { .system { grid-template-columns: 1fr 2fr; gap: 56px; align-items: center; } }
.sys-h { font-size: clamp(28px, 6vw, 40px); font-weight: 400; line-height: 1.08; letter-spacing: -0.04em; }
.sys-head .sub { margin-top: 12px; font-size: 16px; }
.steps3 { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 12px; }
@media (min-width: 720px) { .steps3 { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.steps3 li { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.steps3 .k { font-size: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps3 b { color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.steps3 li:last-child { border-color: rgba(79,125,245,.5); background: linear-gradient(160deg, rgba(36,86,201,.22), rgba(36,86,201,.03) 70%), var(--card); }
.steps3::before { content: ""; position: absolute; z-index: 0; background: var(--accent); opacity: .6; left: 28px; top: 20px; bottom: 20px; width: 2px; }
@media (min-width: 720px) { .steps3::before { left: 20px; right: 20px; top: 50%; bottom: auto; width: auto; height: 2px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .system .steps3::before { transform: scaleY(0); transform-origin: top; transition: transform 1.2s cubic-bezier(.4,0,.2,1) .3s; }
  @media (min-width: 720px) { .js .system .steps3::before { transform: scaleX(0); transform-origin: left; } }
  .js .system .steps3 li { opacity: 0; transform: translateY(8px); transition: opacity .5s ease calc(.3s + var(--i) * .35s), transform .5s ease calc(.3s + var(--i) * .35s); }
  .js .system.in .steps3::before { transform: none; }
  .js .system.in .steps3 li { opacity: 1; transform: none; }
}

/* Shared mini illustrations */
.vis { width: 100%; height: auto; }
.vis .ax, .floors .ax { stroke: var(--line-2); stroke-width: 1; }
.vis .g rect, .floors .g rect { fill: #fff; opacity: .2; }
.vis .hb, .floors .hb { fill: var(--accent); }
.vis .q { font: 600 14px var(--font); fill: var(--ink); }

/* The usual plan: three steps */
.story { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 820px) { .story { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.story li { padding: 22px; display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.story .vis { height: 84px; }
.story p { color: var(--ink); font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; }
.story .step { display: block; margin-bottom: 6px; font-size: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
.bubble-wrap { display: flex; align-items: center; justify-content: center; }
.bubble { position: relative; padding: 12px 18px; border-radius: 16px 16px 16px 4px; background: var(--card-2); border: 1px solid var(--line-2); color: var(--ink); font-size: 16px; font-weight: 500; }

/* Split visuals */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.split h2 { font-size: clamp(30px, 6.6vw, 44px); }
.grids, .floors { margin: 0; padding: 22px; display: grid; gap: 22px; }
.grids { gap: 16px; padding: 20px; }
.grids .gl { margin-bottom: 8px; }
.gl { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.gl.a { color: var(--accent); }
.tg { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.tg i { aspect-ratio: 9 / 13; border-radius: 6px; background: rgba(255,255,255,.07); font-style: normal; font-size: 10px; font-weight: 600; color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; overflow: hidden; }
.tg i.h { background: var(--accent); box-shadow: 0 0 18px -2px rgba(79,125,245,.7); }
@media (max-width: 420px) { .tg i { font-size: 0; } }
.grids figcaption, .floors figcaption { font-size: 12px; color: var(--dim); }
/* Find the hits, then group them into series (script in index.html). */
.phase { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--dim); }
.phase li { display: inline-flex; align-items: center; gap: 7px; transition: color .3s; }
.phase span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 10px; font-weight: 600; transition: background .3s, border-color .3s, color .3s; }
.grids[data-phase="1"] .phase [data-p="1"], .grids[data-phase="2"] .phase [data-p="2"], .grids[data-phase="done"] .phase li { color: var(--ink); }
.grids[data-phase="1"] .phase [data-p="1"] span, .grids[data-phase="2"] .phase [data-p="2"] span, .grids[data-phase="done"] .phase li span { background: var(--accent); border-color: var(--accent); color: #fff; }
.grids[data-phase="2"] .phase [data-p="1"] span { border-color: var(--accent); color: var(--accent); }
.tg i.h { transition: background .35s ease, box-shadow .35s ease, color .35s ease, opacity .4s ease, transform .35s cubic-bezier(.3,1.5,.5,1); }
.grids.anim .tg i.h:not(.on) { background: rgba(255,255,255,.07); box-shadow: none; color: transparent; }
.grids.anim .tg i.h.on:not(.sent) { transform: scale(1.05); }
.tg i.h.sent { opacity: .45; box-shadow: none; transform: none; }
.tg i.h.sent.s2 { background: #a78bfa; } .tg i.h.sent.s3 { background: #2dd4bf; color: #062a26; }
.series { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); transition: opacity .45s ease; }
.series .gl { margin-bottom: 2px; }
.grids.anim:not(.grouped) .series { opacity: 0; }
.sr { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 12px; padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,.03); }
.sr .sn { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; color: var(--ink); font-size: 13px; font-weight: 500; }
.sr .sn::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.sr em { font-style: normal; padding: 1px 7px; border-radius: 999px; background: rgba(45,212,191,.14); color: #2dd4bf; font-size: 10px; font-weight: 600; }
.sr b { text-align: right; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.slots { display: flex; gap: 5px; }
.slots i { width: 24px; height: 30px; border-radius: 5px; background: var(--c); color: #fff; font-style: normal; font-size: 8px; font-weight: 600; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3px; transform-origin: top left; box-shadow: 0 0 14px -3px var(--c); }
.grids.anim .slots i:not(.landed) { opacity: 0; }
.sr.s1 { --c: var(--accent); } .sr.s2 { --c: #a78bfa; } .sr.s3 { --c: #2dd4bf; }
.sr.s3 .slots i { color: #062a26; }
.floors svg { width: 100%; height: auto; }
.floors .fl { stroke: var(--ink-2); stroke-width: 1.2; stroke-dasharray: 4 4; }
.floors .fll { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
@media (min-width: 520px) { .floors { grid-template-columns: 1fr 1fr; } .floors figcaption { grid-column: 1 / -1; } }

/* What you get: dashboard shot + four feature cards */
.shot { margin: 40px 0 0; }
.shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 30px 100px -30px rgba(36,86,201,.6); }
.shot figcaption { margin-top: 10px; font-size: 12px; color: var(--dim); text-align: center; }
.feats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .feats { grid-template-columns: 1fr 1fr; gap: 16px; } }
.feats li { padding: 22px; }
.feats .vis { height: 88px; margin-bottom: 20px; }
.feats li > p { margin-top: 4px; font-size: 15px; }
/* Dashboard modules (abstracted from tools/dashboard_template.html, made-up
   numbers). Bars fill and rows slide in once the card is revealed. */
.feats li { display: flex; flex-direction: column; }
.mod { margin-bottom: 20px; padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); min-height: 168px; font-size: 12px; color: var(--ink-2); }
.mh { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.mh .up { color: #4ade80; }
.mbig { display: flex; align-items: baseline; gap: 2px; color: var(--ink); font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.mbig small { margin-left: 10px; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.mbars { position: relative; display: flex; align-items: flex-end; gap: 5px; height: 72px; margin-top: 14px; }
.mbars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: var(--accent); transform-origin: bottom; }
.mbars .usual { position: absolute; left: 0; right: 0; bottom: var(--u); border-top: 1px dashed rgba(255,255,255,.55); }
.mf { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--dim); }
.mf i { display: inline-block; width: 14px; margin-right: 6px; vertical-align: middle; border-top: 1px dashed rgba(255,255,255,.55); }
.tr { height: 6px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.tr i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--accent); transform-origin: left; }
.frow, .crow { display: grid; align-items: center; gap: 10px; padding: 7px 0; }
.frow { grid-template-columns: minmax(0, 1fr) auto 56px 38px; }
.frow + .frow { border-top: 1px solid var(--line); }
.frow .nm { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow b, .crow b { font-weight: 500; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.st8 { padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.st8.ok { background: rgba(74,222,128,.14); color: #4ade80; }
.st8.mid { background: rgba(250,204,21,.14); color: #facc15; }
.st8.no { background: rgba(248,113,113,.14); color: #f87171; }
.frow:has(.no) .tr i { background: rgba(255,255,255,.3); }
.crow { grid-template-columns: 84px 1fr 34px; }
.crow .tr { height: 8px; }
.crow:not(.you) .tr i { background: rgba(255,255,255,.3); }
.crow.you > span:first-child { color: var(--ink); font-weight: 500; }
.spin { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); }
.kd { padding: 1px 8px; border-radius: 6px; font-size: 10px; font-weight: 600; background: rgba(167,139,250,.16); color: #c4b5fd; }
.seg { display: flex; gap: 3px; height: 10px; margin-top: 4px; }
.seg i { width: var(--w); border-radius: 3px; transform-origin: left; }
.seg .p { background: var(--accent); } .seg .m { background: #facc15; } .seg .n { background: rgba(255,255,255,.3); }
.segl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; font-size: 11px; line-height: 1.35; }
.segl b { display: block; font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -0.03em; }
.dn { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.dnh { flex: 1; min-width: 0; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn .pill { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 10px; white-space: nowrap; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .feats li .mbars i, .js .feats li .seg i { transform: scale(var(--sx, 1), var(--sy, 0)); transition: transform .7s cubic-bezier(.2,.8,.2,1) calc(.25s + var(--i) * 60ms); }
  .js .feats li .seg i { --sx: 0; --sy: 1; transition-delay: calc(.3s + var(--i) * 220ms); }
  .js .feats li .tr i { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.8,.2,1) calc(.35s + var(--i, 0) * 120ms); }
  .js .feats li .frow .tr i, .js .feats li .crow .tr i { transition-delay: calc(.35s + var(--ri) * 120ms); }
  .frow, .crow { --ri: var(--i); }
  .js .feats li .frow, .js .feats li .crow, .js .feats li .dn, .js .feats li .spin { opacity: 0; transform: translateY(6px); transition: opacity .5s ease calc(.2s + var(--i, 0) * 100ms), transform .5s ease calc(.2s + var(--i, 0) * 100ms); }
  .js .feats li .dn { transition-delay: 1s; } .js .feats li .spin { transition-delay: .8s; }
  .js .feats li .usual { opacity: 0; transition: opacity .5s ease 1s; }
  .js .feats li.in .mbars i, .js .feats li.in .seg i, .js .feats li.in .tr i { transform: none; }
  .js .feats li.in .frow, .js .feats li.in .crow, .js .feats li.in .dn, .js .feats li.in .spin, .js .feats li.in .usual { opacity: 1; transform: none; }
}

/* Walkthrough + boss: two big cards */
.pair { display: grid; gap: 12px; }
@media (min-width: 900px) { .pair { grid-template-columns: 1fr 1fr; gap: 16px; } }
.card.big { padding: 28px 24px; }
@media (min-width: 720px) { .card.big { padding: 36px; } }
.card.big h2 { font-size: clamp(28px, 6vw, 38px); }
.incl { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.incl li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.incl .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.incl .ic svg { width: 20px; height: 20px; }
.incl b { display: block; color: var(--ink); font-weight: 500; }
.incl span { font-size: 13px; color: var(--ink-2); }
.card.big:first-child { border-color: rgba(79,125,245,.4); background: linear-gradient(160deg, rgba(36,86,201,.24), rgba(36,86,201,.03) 60%), var(--card); }
.courier { margin-top: 24px; padding: 16px; border-radius: 12px; background: #fafafa; color: #18181b; }
.cr-mast { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 2px solid #18181b; }
.cr-name { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; }
.cr-tag { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #71717a; }
.cr-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin: 12px 0; }
.cr-bars i { flex: 1; border-radius: 2px; background: #e4e4e7; }
.cr-bars i.hit { background: var(--brand); }
.sk { height: 7px; border-radius: 4px; background: #e4e4e7; margin-top: 6px; }
.sk.w90 { width: 90%; } .sk.w70 { width: 70%; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .02em; line-height: 1.6; white-space: nowrap; }

/* Pricing: one glowing card */
.price-card {
  position: relative; max-width: 520px; margin: 44px auto 0; padding: 28px 22px 24px; text-align: left;
  border-radius: 22px; border: 1px solid rgba(79,125,245,.55);
  background: radial-gradient(120% 70% at 85% 0%, rgba(36,86,201,.4), transparent 60%), var(--card);
  box-shadow: 0 0 0 1px rgba(79,125,245,.08), 0 30px 100px -30px rgba(36,86,201,.7);
}
@media (min-width: 720px) { .price-card { padding: 34px 34px 28px; } }
.price-card .name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--ink); font-size: 18px; font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; color: var(--ink); font-size: clamp(48px, 13vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.price .per { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--dim); }
.price-card .lede { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.price-card .btn { display: flex; width: 100%; margin-top: 22px; min-height: 54px; font-size: 17px; }
.stack { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.stack.first { margin: 0; padding: 0 0 22px; border-top: 0; border-bottom: 1px solid var(--line); }
.pfoot { padding-top: 22px; }
.stack li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink); }
.stack li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 5px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.stack li .v { display: block; font-size: 13px; color: var(--accent); }
.price-card .checks { justify-content: flex-start; }
.every { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: 13px; color: var(--dim); }
.every span { display: inline-flex; align-items: center; gap: 6px; }
.every span::before { content: "✓"; color: var(--ink-2); }
.every b { color: var(--ink-2); font-weight: 500; }

/* Blue band */
.band {
  position: relative; overflow: hidden; margin-top: 112px; padding: 64px 22px; border-radius: 24px; text-align: center;
  background: radial-gradient(90% 120% at 50% 110%, #3d7bff, transparent 70%), linear-gradient(180deg, #1b3fa0, #2456c9 70%, #2f66e6);
}
@media (max-width: 719px) { .band { margin-top: 88px; padding: 52px 20px; } }
.band .eyebrow { color: rgba(255,255,255,.75); }
.band h2 { color: #fff; }
.band h2 .dim { color: rgba(255,255,255,.62); }
.band .sub { margin: 16px auto 0; color: rgba(255,255,255,.85); }
.band .btn { margin-top: 28px; min-height: 52px; padding: 13px 26px; }
.band .checks { color: rgba(255,255,255,.8); }
.band .checks svg { stroke: #fff; }
.band .mark { position: absolute; z-index: 0; bottom: -24px; width: 190px; opacity: .14; pointer-events: none; }
.band .mark.l { left: -30px; transform: rotate(-8deg); }
.band .mark.r { right: -20px; transform: rotate(9deg) scaleX(-1); }
.band .mark rect { fill: #fff; }
.band > :not(.mark) { position: relative; z-index: 1; }
@media (max-width: 719px) { .band .mark { width: 120px; } }

/* FAQ */
.faq { max-width: 720px; margin: 40px auto 0; display: grid; gap: 10px; text-align: left; }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 52px 18px 20px; color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 1.6px; margin-top: -.8px; background: var(--accent); transition: transform .2s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary em { font-style: normal; color: var(--accent); }
.faq details p { padding: 0 20px 18px; font-size: 15px; color: var(--ink-2); }
.faq details p a { color: var(--ink); }
h2 em { font-style: normal; color: var(--accent); }

/* Footer: light, with the name as a giant faint wordmark */
footer { position: relative; overflow: hidden; margin-top: 112px; background: #fafafa; color: #52525b; }
footer .wrap { position: relative; z-index: 1; }
footer .top { display: grid; gap: 32px; padding: 64px 0 40px; }
@media (min-width: 760px) { footer .top { grid-template-columns: 1.4fr 1fr 1fr; } }
footer .brand { color: #111114; }
footer .brand .hrc .sp { fill: var(--brand); }
footer .tag { margin-top: 16px; font-size: 22px; color: #a1a1aa; letter-spacing: -0.02em; }
footer h4 { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #18181b; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
footer a { text-decoration: none; color: #71717a; }
footer a:hover { color: #18181b; }
footer .legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0 0; border-top: 1px solid #e4e4e7; font-size: 13px; color: #a1a1aa; }
footer .giant { margin: 8px 0 0; padding-bottom: 120px; font-size: clamp(40px, 11.6vw, 150px); font-weight: 500; line-height: .82; letter-spacing: -0.06em; color: #ececee; white-space: nowrap; user-select: none; }
@media (min-width: 900px) { footer .giant { padding-bottom: 0; margin-bottom: -.12em; } }

/* Sticky buy bar (phones), shown when no buy block is on screen */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.show { transform: none; }
.sticky .inner { max-width: 680px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.sticky .p { color: var(--ink); font-size: 24px; font-weight: 500; letter-spacing: -0.04em; white-space: nowrap; }
.sticky .btn { flex: 1; min-height: 48px; }
@media (min-width: 900px) { .sticky { display: none; } }

/* Shown everywhere except the live hostnames (see config.js) */
.test-mode { position: fixed; top: 8px; right: 8px; z-index: 40; padding: 4px 10px; border-radius: 999px; background: #b54708; color: #fff8f0; font: 600 12px/1.4 var(--font); pointer-events: none; }

/* Motion: chart bars grow, sections rise in. Content is visible without JS. */
@media (prefers-reduced-motion: no-preference) {
  /* Hero chart loop (driven by the script in index.html): bars arrive one by
     one, rings pop on hits, the floor draws along with the bars, the note
     lands last. Before the first play it sits empty; .out fades it to restart. */
  .chart.anim svg > :not(title):not(.axis) { opacity: 0; }
  .chart.anim.play rect.b, .chart.anim.play rect.h { opacity: 1; transform-box: fill-box; transform-origin: bottom; animation: rise .55s cubic-bezier(.2,.8,.2,1) var(--d) both; }
  .chart.anim.play rect.glow { animation: flash 1.1s ease-out var(--d) both; }
  .chart.anim.play .floor, .chart.anim.play .farea { opacity: 1; animation: draw var(--run) linear .2s both; }
  .chart.anim.play .flt, .chart.anim.play .farr, .chart.anim.play .fdot { opacity: 1; animation: fade .45s calc(var(--run) + .15s) both; }
  .chart.anim.play .note, .chart.anim.play .arr { opacity: 1; animation: fade .5s calc(var(--run) * .7) both; }
  .chart.anim svg { transition: opacity .5s ease; }
  .chart.anim.out svg { opacity: 0; }
  @keyframes rise { from { transform: scaleY(0); } }
  @keyframes flash { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: .55; } }
  @keyframes draw { from { clip-path: inset(-10px 100% -10px 0); } to { clip-path: inset(-10px 0 -10px 0); } }
  .js .rise { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .js .rise.in { opacity: 1; transform: none; }
  @keyframes fade { from { opacity: 0; } }
  @keyframes grow { from { transform: scaleY(0.05); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sticky { transition: none; } }

/* Series card, compact (2026-10-14): one row of 12 shorter tiles per grid. */
#series-fig .tg { grid-template-columns: repeat(12, 1fr); gap: 5px; }
#series-fig .tg i { aspect-ratio: 3 / 4; border-radius: 5px; font-size: 9px; padding-bottom: 3px; }
@media (max-width: 599px) { #series-fig .tg i { font-size: 0; } #series-fig .tg { gap: 4px; } }
