/* ---------- tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --surface: #ffffff;
  --ink: #292e32;
  --ink-2: #5a6168;
  --ink-3: #8a9096;
  --line: #e6e7e8;
  --line-2: #d4d6d8;
  --red: #ef2c4a;
  --red-ink: #c8102e;
  --red-light: #ffd2eb;
  --green: #00825b;
  --green-light: #d2fb6e;
  --blue: #004ad5;
  --blue-light: #a2e5ff;
  --amber: #b86a00;
  --s1: #ef2c4a; /* categorical order: red, blue, amber, green */
  --s2: #004ad5;
  --s3: #b86a00;
  --s4: #00825b;
  --chip-ink: #292e32;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --radius: 20px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111315; --bg-alt: #181b1e; --surface: #1c1f22;
    --ink: #f1f2f3; --ink-2: #b5bac0; --ink-3: #848a90;
    --line: #2a2e32; --line-2: #3a3f44;
    --red: #f2405c; --red-ink: #ff7088; --red-light: #4a1d2c;
    --green: #1fa070; --green-light: #2f4a12;
    --blue: #4f82f5; --blue-light: #133a4d;
    --amber: #ba7a16;
    --s1: #f2405c; --s2: #4f82f5; --s3: #ba7a16; --s4: #1fa070;
    --chip-ink: #f1f2f3;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111315; --bg-alt: #181b1e; --surface: #1c1f22;
  --ink: #f1f2f3; --ink-2: #b5bac0; --ink-3: #848a90;
  --line: #2a2e32; --line-2: #3a3f44;
  --red: #f2405c; --red-ink: #ff7088; --red-light: #4a1d2c;
  --green: #1fa070; --green-light: #2f4a12;
  --blue: #4f82f5; --blue-light: #133a4d;
  --amber: #ba7a16;
  --s1: #f2405c; --s2: #4f82f5; --s3: #ba7a16; --s4: #1fa070;
  --chip-ink: #f1f2f3;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.035em; line-height: 1.02; font-weight: 500; }
h1 { font-size: clamp(3rem, 8.4vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.025em; line-height: 1.12; }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.25; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.muted { color: var(--ink-2); }
.tiny { font-size: .8rem; color: var(--ink-3); }
.accent { color: var(--red); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--red); display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; }
.brand small { font-weight: 500; color: var(--ink-3); }
.nav-links { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { text-decoration: none; font-size: .88rem; padding: 7px 12px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-links a.on { color: var(--ink); background: var(--bg-alt); font-weight: 600; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--red); width: 0; }
@media (max-width: 900px) { .brand small { display: none; } }
@media (max-width: 640px) { .nav .wrap { gap: 10px; } .nav-links a { padding: 6px 9px; font-size: .82rem; } }

/* ---------- pills & chips ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s, box-shadow .2s; }
.pill:hover { transform: translateY(-1px); box-shadow: 0 6px 20px color-mix(in srgb, var(--red) 35%, transparent); }
.pill.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--chip-ink); background: var(--bg-alt); white-space: nowrap; }
.chip.pink { background: var(--red-light); }
.chip.lime { background: var(--green-light); }
.chip.sky { background: var(--blue-light); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow b { color: var(--red); font-weight: 800; }

/* ---------- sections ---------- */
section { padding: 112px 0; position: relative; }
section.alt { background: var(--bg-alt); }
@media (max-width: 640px) { section { padding: 72px 0; } }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head p { font-size: 1.15rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; } }
.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; } html { scroll-behavior: auto; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
section.alt .card { border-color: transparent; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .roi > *, .tiers > *, .lanes > *, .road > *, .story > *, .product > *, .hero-grid > *, .sec-head > * { min-width: 0; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; overflow: hidden; }
.hero h1 { max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--ink-2); max-width: 46ch; margin: 28px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.byline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 40px; font-size: .85rem; color: var(--ink-3); }
.byline strong { color: var(--ink); font-weight: 600; }
.orbit { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
@media (max-width: 860px) { .hero-stats { grid-template-columns: 1fr 1fr; } }
.stat { padding: 22px; border-radius: 18px; background: var(--bg-alt); }
.stat .v { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat .l { margin-top: 10px; font-size: .9rem; color: var(--ink-2); line-height: 1.35; }
.stat .src { margin-top: 8px; font-size: .72rem; color: var(--ink-3); }
.stat.pink { background: var(--red-light); } .stat.lime { background: var(--green-light); } .stat.sky { background: var(--blue-light); }
.stat.pink .l, .stat.lime .l, .stat.sky .l { color: var(--chip-ink); opacity: .82; }
.stat.pink .src, .stat.lime .src, .stat.sky .src { color: var(--chip-ink); opacity: .6; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 32px; } }
.quote { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.15; font-weight: 500; }
.quote .accent { font-weight: 600; }
.ig-story { width: 260px; height: 462px; border-radius: 30px; background: linear-gradient(160deg, #ef2c4a, #8b1fb8 55%, #004ad5); color: #fff; position: relative; padding: 22px 18px; margin: 0 auto; box-shadow: var(--shadow); overflow: hidden; }
.ig-story .bars { display: flex; gap: 4px; } .ig-story .bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.4); } .ig-story .bars i:first-child { background: #fff; }
.ig-story .who { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8rem; font-weight: 600; }
.ig-story .who span { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.3); display: grid; place-items: center; font-size: .7rem; }
.ig-story .big { margin-top: 70px; font-size: 3.4rem; font-weight: 700; letter-spacing: -0.05em; line-height: .9; }
.ig-story .big small { display: block; font-size: 1rem; font-weight: 500; letter-spacing: 0; margin-top: 10px; opacity: .9; }
.ig-story .sticker { margin-top: 26px; background: #fff; color: #292e32; border-radius: 12px; padding: 10px 12px; font-size: .8rem; font-weight: 600; transform: rotate(-3deg); width: fit-content; }
.dm { position: absolute; right: -10px; background: #fff; color: #292e32; border-radius: 16px 16px 4px 16px; padding: 8px 12px; font-size: .75rem; font-weight: 500; box-shadow: 0 6px 18px rgba(0,0,0,.2); opacity: 0; transform: translateX(20px); transition: all .5s ease; max-width: 170px; }
.ig-story.play .dm { opacity: 1; transform: none; }
.dm.d1 { bottom: 120px; transition-delay: .3s; } .dm.d2 { bottom: 78px; transition-delay: 1s; } .dm.d3 { bottom: 36px; transition-delay: 1.7s; }
.story-points { display: grid; gap: 14px; margin-top: 28px; }
.story-points div { display: flex; gap: 14px; align-items: flex-start; }
.story-points b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--red-light); color: var(--chip-ink); font-size: .85rem; }

/* ---------- tiers ---------- */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.ladder { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.rung { width: var(--w); min-width: 210px; max-width: 100%; border: 0; border-radius: 14px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--surface); color: var(--ink); cursor: pointer; font-family: inherit; font-size: .95rem; text-align: left; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, background .25s; position: relative; }
.rung:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rung[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rung .nm { font-weight: 600; } .rung .rg { font-size: .8rem; opacity: .7; }
.rung .tag { position: absolute; right: -8px; top: -10px; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.rung .tag.today { background: var(--blue-light); color: var(--chip-ink); }
.rung .tag.new { background: var(--red); color: #fff; }
.rung.tc { background: var(--red-light); border-color: transparent; color: var(--chip-ink); }
.rung.tc[aria-pressed="true"] { background: var(--red); color: #fff; }
.tier-detail { display: flex; flex-direction: column; }
.tier-detail h3 { margin-bottom: 6px; }
.tier-detail .range { color: var(--ink-2); margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 20px; }
.kv div { background: var(--bg-alt); border-radius: 14px; padding: 14px; }
section.alt .kv div { background: var(--bg); }
.kv dt { font-size: .75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.kv dd { margin: 4px 0 0; font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.coverage { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* ---------- charts ---------- */
.chart-card { padding: 26px 26px 18px; }
.chart-card h4 { margin-bottom: 4px; }
.chart-card .sub { font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--ink-2); font-family: var(--font); font-size: 12px; }
.chart .axis-line, .chart .grid { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.chart .val { fill: var(--ink); font-weight: 600; font-size: 12.5px; }
.chart .lbl-strong { fill: var(--ink); font-weight: 600; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .bar { transition: opacity .2s; }
.chart.dim .bar:not(.hl) { opacity: .35; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--ink-2); margin: 4px 0 10px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.tip { position: fixed; z-index: 100; pointer-events: none; background: var(--ink); color: var(--bg); padding: 8px 11px; border-radius: 10px; font-size: .8rem; line-height: 1.35; box-shadow: var(--shadow); opacity: 0; transition: opacity .12s; max-width: 240px; }
.tip b { font-weight: 700; }
.tip.on { opacity: 1; }
details.tbl { margin-top: 8px; font-size: .85rem; }
details.tbl summary { cursor: pointer; color: var(--ink-3); font-size: .8rem; }
details.tbl table { margin-top: 8px; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 700; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.insight { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; font-size: 1.1rem; margin: 28px 0 0; }
.callout { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 32px; }
.callout h3 { color: var(--bg); margin-bottom: 10px; }
.callout p { color: color-mix(in srgb, var(--bg) 78%, transparent); margin: 0; }

/* ---------- competitors ---------- */
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .lanes { grid-template-columns: 1fr; } }
.lane h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.lane > p { font-size: .9rem; color: var(--ink-2); margin-bottom: 16px; }
.comp { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 14px; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
section.alt .comp { border-color: transparent; box-shadow: var(--shadow); }
.comp h5 { margin: 0 0 2px; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.comp p { margin: 0; font-size: .82rem; color: var(--ink-2); line-height: 1.4; }
.comp .fig { font-size: .78rem; margin-top: 6px; font-weight: 600; color: var(--ink); }
.mock { width: 112px; height: 132px; border-radius: 14px; background: var(--bg-alt); position: relative; overflow: hidden; border: 1px solid var(--line); font-size: 7px; color: var(--ink-2); }
section.alt .mock { background: var(--bg); }
.mock .m-top { height: 12px; display: flex; align-items: center; gap: 3px; padding: 0 7px; }
.mock .m-top i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.mock .blk { position: absolute; border-radius: 6px; background: var(--line-2); }
.mock .dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--red); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.mock .txt { position: absolute; font-weight: 700; color: var(--ink); font-size: 7.5px; line-height: 1.1; }
.mock .btn { position: absolute; height: 14px; border-radius: 7px; background: var(--red); color: #fff; font-size: 6.5px; font-weight: 700; display: grid; place-items: center; }
.disclaim { font-size: .75rem; color: var(--ink-3); margin-top: 8px; }

.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix tr.us td { background: color-mix(in srgb, var(--red) 8%, transparent); font-weight: 700; }
.h { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); vertical-align: middle; }
.h.full { background: var(--ink); }
.h.half { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.h.none { border-color: var(--line-2); }
.matrix tr.us .h { border-color: var(--red); } .matrix tr.us .h.full { background: var(--red); }

/* ---------- product ---------- */
.product { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 32px; } }
.phone { width: 300px; height: 600px; border-radius: 44px; background: #111; padding: 12px; margin: 0 auto; box-shadow: 0 30px 60px rgba(0,0,0,.18); position: relative; }
.phone .scr { width: 100%; height: 100%; border-radius: 34px; background: #fff; color: #292e32; overflow: hidden; position: relative; padding: 42px 18px 18px; }
.phone .notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 20px; background: #111; z-index: 2; }
.screen { position: absolute; inset: 42px 18px 18px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; pointer-events: none; }
.screen.on { opacity: 1; transform: none; pointer-events: auto; }
.screen h6 { font-size: 1.25rem; margin: 6px 0 4px; letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; }
.screen .s-sub { font-size: .78rem; color: #6b7177; margin-bottom: 14px; }
.screen .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #f5f5f5; margin-bottom: 8px; font-size: .8rem; font-weight: 500; }
.screen .row small { color: #6b7177; font-weight: 500; }
.screen .tagc { display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; margin: 0 4px 6px 0; background: #f5f5f5; }
.screen .tagc.on { background: #ef2c4a; color: #fff; }
.screen .bigv { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.screen .cta { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; border-radius: 22px; background: #ef2c4a; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.screen .badge { display: inline-flex; gap: 5px; align-items: center; font-size: .66rem; font-weight: 700; color: #00825b; background: #d2fb6e; padding: 3px 7px; border-radius: 999px; }
.screen .kit { border-radius: 18px; height: 260px; background: linear-gradient(160deg, #ef2c4a, #8b1fb8 60%, #004ad5); color: #fff; padding: 18px; position: relative; }
.screen .kit .t { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 60px; }
.screen .kit .disc { position: absolute; left: 18px; bottom: 16px; font-size: .62rem; background: rgba(255,255,255,.22); padding: 4px 8px; border-radius: 999px; }
.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; font-family: inherit; color: var(--ink); transition: background .2s, border-color .2s; }
.step:hover { border-color: var(--line-2); }
.step[aria-selected="true"] { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent); }
.step .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--bg-alt); }
.step[aria-selected="true"] .n { background: var(--red); color: #fff; }
.step h4 { margin-bottom: 2px; }
.step p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.step .why { font-size: .78rem; color: var(--ink-3); margin-top: 4px; }

.stack { display: grid; gap: 12px; }
.layer { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
section.alt .layer { border-color: transparent; box-shadow: var(--shadow); }
.layer .ln { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.layer .ln small { display: block; font-weight: 500; font-size: .78rem; color: var(--ink-3); letter-spacing: 0; }
.layer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.layer.new { border: 2px solid var(--red); }
@media (max-width: 640px) { .layer { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- contracts ---------- */
.contract-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.contract-scale > div { padding: 20px; border-right: 1px solid var(--line); background: var(--surface); }
.contract-scale > div:last-child { border-right: 0; background: var(--red-light); color: var(--chip-ink); }
.contract-scale h4 { margin-bottom: 8px; }
.contract-scale p { font-size: .85rem; margin: 0 0 6px; opacity: .85; }
.contract-scale .meter { height: 6px; border-radius: 6px; background: var(--line); margin: 12px 0; overflow: hidden; }
.contract-scale .meter i { display: block; height: 100%; background: var(--ink); border-radius: 6px; }
.contract-scale > div:last-child .meter { background: rgba(255,255,255,.5); }
.contract-scale > div:last-child .meter i { background: var(--red); }
@media (max-width: 860px) { .contract-scale { grid-template-columns: 1fr 1fr; } .contract-scale > div:nth-child(2) { border-right: 0; } .contract-scale > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .contract-scale { grid-template-columns: 1fr; } .contract-scale > div { border-right: 0; } }

/* ---------- pricing ---------- */
.price { display: flex; flex-direction: column; }
.price .ix { font-size: .78rem; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.price h4 { margin: 8px 0 6px; font-size: 1.25rem; }
.price .pp { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin: 10px 0; }
.price .pp small { font-size: .85rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; display: block; margin-top: 4px; }
.price p { font-size: .9rem; color: var(--ink-2); }
.price .bench { margin-top: auto; font-size: .78rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- ROI ---------- */
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-alt); gap: 2px; margin-bottom: 20px; flex-wrap: wrap; }
section.alt .tabs { background: var(--bg); }
.tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.roi { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.roi[hidden] { display: none; }
@media (max-width: 1000px) { .roi { grid-template-columns: 1fr; } }
.mix-note { font-size: .92rem; color: var(--ink-2); margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: var(--bg-alt); }
.mix-note strong { color: var(--ink); }
.assume { max-height: 900px; overflow: auto; padding: 22px; }
.assume fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.assume legend { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 8px; }
.fld { display: grid; grid-template-columns: 1fr 108px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.fld label { font-size: .86rem; line-height: 1.25; }
.fld label small { display: block; color: var(--ink-3); font-size: .72rem; }
.fld .in { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); overflow: hidden; }
.fld .in:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent); }
.fld .in span { padding: 0 0 0 8px; color: var(--ink-3); font-size: .8rem; }
.fld .in span.post { padding: 0 8px 0 0; }
.fld input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: .9rem; padding: 7px 8px; text-align: right; font-variant-numeric: tabular-nums; outline: none; }
.fld.changed .in { border-color: var(--amber); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 700px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
section.alt .kpi { border-color: transparent; box-shadow: var(--shadow); }
.kpi .l { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.kpi .v { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.04em; margin-top: 4px; line-height: 1.05; }
.kpi .d { font-size: .75rem; color: var(--ink-2); margin-top: 4px; }
.kpi.hero { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.kpi.hero .l, .kpi.hero .d { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.preset-note { font-size: .82rem; color: var(--ink-3); margin: -8px 0 16px; }

/* ---------- roadmap ---------- */
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
@media (max-width: 960px) { .road { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .road { grid-template-columns: 1fr; } }
.phase { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
section.alt .phase { border-color: transparent; box-shadow: var(--shadow); }
.phase .when { font-size: .78rem; font-weight: 700; color: var(--red); letter-spacing: .06em; text-transform: uppercase; }
.phase h4 { font-size: 1.3rem; margin: 6px 0 12px; }
.phase ul { margin: 0 0 14px; padding-left: 18px; font-size: .88rem; color: var(--ink-2); }
.phase li { margin-bottom: 5px; }
.phase .gate { margin-top: auto; font-size: .8rem; background: var(--bg-alt); padding: 12px; border-radius: 12px; }
section.alt .phase .gate { background: var(--bg); }
.phase .gate b { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; }

.risk td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- sources ---------- */
.sources ol { columns: 2; column-gap: 40px; padding-left: 20px; font-size: .85rem; color: var(--ink-2); }
.sources li { break-inside: avoid; margin-bottom: 8px; }
.sources a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
@media (max-width: 760px) { .sources ol { columns: 1; } }
sup.s { font-size: .62em; font-weight: 700; color: var(--red-ink); margin-left: 1px; }
sup.s a { text-decoration: none; }

footer { padding: 48px 0 64px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.theme-btn { border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); border-radius: 999px; padding: 6px 12px; font-family: inherit; font-size: .8rem; cursor: pointer; }

/* ---------- v2 additions ---------- */
.nav-theme { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; flex: none; }
.nav-theme .tl { font-weight: 600; }
@media (max-width: 640px) { .nav-theme .tl { display: none; } .nav-theme { padding: 6px 10px; } }
.brand .for { display: inline-flex; align-items: center; gap: 6px; }
.inf-logo { display: inline-block; width: 78px; height: 13px; background: var(--ink); -webkit-mask: url(img/influencer-logo.svg) no-repeat center / contain; mask: url(img/influencer-logo.svg) no-repeat center / contain; }
@media (max-width: 900px) { .brand .for { display: none; } }

.roi-teaser { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin: 0 0 22px; max-width: 560px; background: var(--surface); }
.rt-head { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-3); }
.rt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.rt-v { font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.rt-l { font-size: .78rem; color: var(--ink-2); margin-top: 3px; }
.rt-foot { font-size: .76rem; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 520px) { .rt-grid { grid-template-columns: 1fr; gap: 8px; } .rt-grid > div { display: flex; justify-content: space-between; align-items: baseline; } }

/* cover flow */
.flow-wrap { margin-top: 56px; }
.flow-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.flow-ctrl { display: flex; gap: 8px; }
.flow-ctrl button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 1.05rem; cursor: pointer; font-family: inherit; }
.flow-ctrl button:hover { border-color: var(--ink-3); }
.flow { position: relative; height: 600px; perspective: 1400px; margin-top: 12px; overflow: hidden; touch-action: pan-y; }
.igpost { position: absolute; left: 50%; top: 10px; width: 280px; margin-left: -140px; background: #fff; color: #262626; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.16); transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s, filter .6s; cursor: pointer; overflow: hidden; border: 1px solid #ececec; transform-style: preserve-3d; -webkit-box-reflect: below 4px linear-gradient(transparent 82%, rgba(255,255,255,.18)); }
.igpost .ph { display: flex; align-items: center; gap: 9px; padding: 9px 11px; font-size: .78rem; }
.igpost .av { width: 30px; height: 30px; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); flex: none; }
.igpost .av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.igpost .hn { font-weight: 700; line-height: 1.1; } .igpost .hn small { display: block; font-weight: 400; color: #737373; font-size: .68rem; }
.igpost .dots { margin-left: auto; color: #737373; letter-spacing: 1px; }
.igpost .im { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #eee; }
.igpost .acts { display: flex; gap: 12px; padding: 8px 11px 2px; font-size: 1.05rem; }
.igpost .acts span:last-child { margin-left: auto; }
.igpost .cap { padding: 2px 11px 11px; font-size: .74rem; line-height: 1.35; }
.igpost .cap b { font-weight: 700; }
.igpost .tagc { display: inline-block; margin-top: 5px; font-size: .64rem; font-weight: 700; background: #ffd2eb; color: #292e32; border-radius: 999px; padding: 2px 8px; }
.igpost.side { filter: saturate(.85) brightness(.96); }
@media (max-width: 640px) { .flow { height: 540px; } .igpost { width: 250px; margin-left: -125px; } }

/* tier spend segmented bar */
.seg { display: flex; gap: 2px; height: 28px; margin-top: 8px; }
.seg div { border-radius: 4px; display: flex; align-items: center; padding: 0 10px; font-size: .78rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; min-width: 0; }
.seg div.dark { color: #292e32; }
.seg-notes { margin-top: 18px; gap: 16px; }
.seg-notes > div { font-size: .85rem; color: var(--ink-2); line-height: 1.4; }
.seg-notes b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }

/* K viz */
.kviz svg { width: 100%; height: auto; overflow: visible; }
.kviz text { font-family: var(--font); }

/* edge */
.edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.edge-grid > * { min-width: 0; }
.edge { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.edge.big { grid-column: span 3; background: var(--ink); color: var(--bg); border-color: var(--ink); display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: center; }
.edge.big .edge-n { grid-row: span 2; font-size: clamp(3rem, 7vw, 5.5rem); color: var(--red); }
.edge.big h4 { font-size: 1.4rem; margin-bottom: 6px; }
.edge.big p { color: color-mix(in srgb, var(--bg) 78%, transparent); margin: 0; }
.edge-n { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-bottom: 12px; }
.edge h4 { margin-bottom: 6px; }
.edge p { font-size: .9rem; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .edge-grid { grid-template-columns: 1fr 1fr; } .edge.big { grid-column: span 2; } }
@media (max-width: 560px) { .edge-grid { grid-template-columns: 1fr; } .edge.big { grid-column: span 1; grid-template-columns: 1fr; } .edge.big .edge-n { grid-row: auto; } }
tr.us-row td { background: color-mix(in srgb, var(--red) 8%, transparent); }

/* data */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.data-grid > * { min-width: 0; }
.dlayer { padding: 22px; border-radius: 20px; background: var(--bg-alt); }
.dlayer h4 { margin: 12px 0 6px; }
.dlayer p { margin: 0; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 960px) { .data-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .data-grid { grid-template-columns: 1fr; } }

/* competitor screenshots */
.comp.shot { display: block; padding: 0; overflow: hidden; }
.comp.shot figure { margin: 0; }
.comp.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; display: block; border-bottom: 1px solid var(--line); }
.comp.shot figcaption { font-size: .68rem; color: var(--ink-3); padding: 6px 14px 0; }
.comp.shot .cbody { padding: 8px 16px 16px; }

/* rationale + ask */
.rationale { margin-top: 20px; }
.rationale summary { cursor: pointer; font-size: .95rem; }
.rationale table { margin-top: 14px; font-size: .84rem; }
.rationale td.n { white-space: nowrap; }
.ask-lede { max-width: 30ch; margin: 28px auto 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.3; }
