/* Scalmedia site styles — "after-dark ad tech"
   Layout concept: a near-black plum ground lit by purple and yellow glows, glass cards with hairline
   borders, huge tight Outfit headlines and mono labels for the numbers advertisers scan for. Product
   illustrations stay light, like real screenshots on a dark desk. Colours come from the Scalmedia logo
   and the June 2026 pricing sheet. */

/* Self-hosted fonts (SIL Open Font License, see /assets/fonts/) */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/outfit-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  /* brand */
  --plum-950: #1d1326;
  --plum-900: #2b1b38;
  --plum-800: #3a2449;
  --plum-700: #4a2d5c;
  --purple-600: #7a4a8c;
  --purple-400: #9465aa;
  --yellow: #f1dc2b;
  --yellow-glow: rgba(241, 220, 43, .45);

  /* dark ground */
  --bg: #0e0813;
  --bg-2: #140c1b;
  --card: rgba(255, 255, 255, .04);
  --card-solid: #1a1122;
  --card-2: #22172b;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .17);
  --ink: #f7f2fa;
  --ink-2: #d0c4d9;
  --muted: #a596af;
  --purple: #c7a2e0;            /* accent text on dark */
  --tint: rgba(148, 101, 170, .14);
  --tint-2: rgba(148, 101, 170, .28);
  --yellow-tint: rgba(241, 220, 43, .08);
  --success: #5fd49a;

  /* aliases used by components */
  --paper: var(--bg);
  --surface: var(--card-solid);
  --purple-100: var(--tint);
  --purple-200: var(--tint-2);
  --yellow-100: var(--yellow-tint);
  --on-dark: var(--ink);
  --on-dark-muted: var(--muted);

  /* type */
  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.6rem + 4vw, 5.6rem);

  --radius: 22px;
  --radius-sm: 12px;
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--plum-950); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.04; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -.045em; }
h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -.04em; }
h3 { font-size: var(--step-2); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; color: var(--ink); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--plum-950); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--plum-950); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); position: relative; }
.section-head { display: grid; gap: 16px; max-width: 50rem; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); max-width: 42rem; }
.eyebrow {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 40rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.accent { color: var(--purple); }
.hl, .mark-underline {
  background: linear-gradient(100deg, #f1dc2b 10%, #fff3a3 50%, #f1dc2b 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bg-surface { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--yellow); --btn-fg: #160d1c; --btn-bd: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font: 650 1rem/1.2 var(--font-body);
  text-decoration: none; white-space: nowrap; position: relative;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary, .btn--yellow { box-shadow: 0 12px 36px -12px var(--yellow-glow), inset 0 1px 0 rgba(255,255,255,.5); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn--primary:hover, .btn--yellow:hover { box-shadow: 0 18px 44px -12px rgba(241,220,43,.65), inset 0 1px 0 rgba(255,255,255,.5); }
.btn .wa-glyph { color: #160d1c; }
.btn--secondary { --btn-bg: rgba(255,255,255,.05); --btn-fg: var(--ink); --btn-bd: var(--line-strong); backdrop-filter: blur(6px); }
.btn--secondary .wa-glyph { color: var(--yellow); }
.btn--secondary:hover { --btn-bd: rgba(255,255,255,.4); --btn-bg: rgba(255,255,255,.09); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: var(--step--1); color: var(--muted); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.center-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 28px; }

/* ---------- Header: floating glass pill ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter-r) 0 var(--gutter); pointer-events: none; }
.header-inner {
  pointer-events: auto; position: relative; max-width: var(--wrap); margin-inline: auto; min-height: 64px;
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(22, 13, 29, .72); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,.8), var(--glass-shadow);
}
.brand { display: inline-flex; flex: none; }
.brand img { width: 146px; height: auto; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: 2px; }
.primary-nav a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9688rem; }
.primary-nav a:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.primary-nav a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.08); }
.header-ctas { display: flex; gap: 8px; align-items: center; }
.nav-ctas { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.header-wa-icon { display: none; width: 46px; height: 46px; border-radius: 999px; align-items: center; justify-content: center; background: var(--yellow); color: #160d1c; margin-left: auto; }
.header-wa-icon svg { width: 22px; height: 22px; }
@media (max-width: 1020px) { .header-ctas .btn--secondary { display: none; } }
@media (max-width: 860px) {
  .header-inner { padding-left: 18px; }
  .js .nav-toggle { display: inline-flex; }
  .js .primary-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: none;
    padding: 12px; border-radius: 26px; background: rgba(22, 13, 29, .96); border: 1px solid var(--line);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  }
  .js .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .primary-nav a { padding: 14px 16px; font-size: 1.0625rem; border-radius: 14px; }
  .header-ctas { display: none; }
  .nav-ctas { display: block; margin-top: 10px; }
  .header-wa-icon { display: inline-flex; }
  .js .header-wa-icon + .nav-toggle { margin-left: 0; }
  .no-js .header-inner { flex-wrap: wrap; border-radius: 26px; }
  .no-js .primary-nav { width: 100%; }
}

/* ---------- Home hero ---------- */
.hero2 { position: relative; overflow: hidden; padding-top: clamp(48px, 8vw, 96px); margin-top: calc(-1 * (var(--header-h) + 12px)); padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px)); }
.hero2-bg { position: absolute; inset: 0; pointer-events: none; }
.hero2-bg i { position: absolute; display: block; }
.hero2-bg .g1 { left: 50%; top: -340px; width: 1200px; height: 820px; margin-left: -600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(148,101,170,.55), rgba(148,101,170,0)); }
.hero2-bg .g2 { left: -260px; top: 520px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(241,220,43,.13), rgba(241,220,43,0)); }
.hero2-bg .grid {
  inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 25%, transparent 72%);
}
.hero2-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero2 h1 { font-size: clamp(2.6rem, 1.4rem + 5.6vw, 6rem); line-height: .98; max-width: 14ch; }
.hero2 .lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); max-width: 44rem; }
.hero2 .cta-row { justify-content: center; margin-top: 4px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font: 500 .75rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
@media (max-width: 600px) { .hero-facts { flex-direction: column; align-items: center; gap: 8px; } }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--yellow-tint); border: 1px solid rgba(241,220,43,.35); color: var(--ink); text-decoration: none;
  font-size: .9375rem; font-weight: 500; line-height: 1.3; transition: border-color .2s ease, background-color .2s ease;
}
.hero-pill:hover { color: var(--ink); border-color: var(--yellow); background: rgba(241,220,43,.14); }
.hero-pill-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: #160d1c; font: 600 .6875rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

.hero2-visual { position: relative; margin-top: clamp(48px, 7vw, 84px); }
.hero-stage { margin: 0 auto; position: relative; max-width: 1080px; perspective: 1800px; }
.hero-tilt {
  transform: rotateX(12deg); transform-origin: 50% 0; border-radius: 22px;
  box-shadow: 0 -30px 120px -30px rgba(148,101,170,.75), 0 0 0 1px rgba(255,255,255,.12);
  max-height: 540px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.hero-tilt .ill-console { box-shadow: none; }
.hero-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border-radius: 18px;
  font-size: 13px; text-align: left; line-height: 1.3; box-shadow: 0 24px 48px -20px rgba(0,0,0,.85);
}
.hero-chip b { display: block; font-size: 14px; }
.hero-chip small { display: block; font-size: 12px; }
.chip-topup { left: -36px; top: 70px; background: rgba(29,19,38,.88); border: 1px solid var(--line-strong); color: var(--ink); backdrop-filter: blur(10px); transform: rotate(-4deg); }
.chip-topup small { color: var(--muted); }
.chip-topup .ci { width: 38px; height: 38px; border-radius: 11px; background: var(--yellow); color: #160d1c; display: grid; place-items: center; }
.chip-topup .ci svg { width: 20px; height: 20px; }
.chip-roas { right: -34px; top: -34px; flex-direction: column; align-items: flex-start; gap: 0; background: var(--yellow); color: #160d1c; transform: rotate(5deg); box-shadow: 0 24px 48px -18px rgba(241,220,43,.55); }
.chip-roas small { font: 600 .625rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.chip-roas b { font: 800 2.6rem/1 var(--font-display); letter-spacing: -.04em; }
.chip-cpm { right: 90px; top: 300px; background: #fff; color: #1f1a24; transform: rotate(-2deg); }
.chip-cpm small { color: #1f7a4d; font-weight: 600; }
.hero-caption { text-align: center; margin-top: -24px; position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .hero2-inner > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
  .hero2-inner > :nth-child(2) { animation-delay: .06s; }
  .hero2-inner > :nth-child(3) { animation-delay: .12s; }
  .hero2-inner > :nth-child(4) { animation-delay: .18s; }
  .hero2-inner > :nth-child(5) { animation-delay: .24s; }
  .hero-tilt { animation: tilt-in 1.4s cubic-bezier(.2,.8,.2,1) both .15s; }
  .hero-chip { animation: bob 6s ease-in-out infinite; }
  .chip-roas { animation-delay: -2s; }
  .chip-cpm { animation-delay: -4s; }
}
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@keyframes tilt-in { from { transform: rotateX(28deg) translateY(30px); } to { transform: rotateX(12deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 900px) {
  .hero-tilt { transform: none; max-height: 460px; }
  .chip-topup { left: -6px; top: -54px; }
  .chip-roas { right: -6px; top: auto; bottom: 120px; }
  .chip-cpm { display: none; }
  @media (prefers-reduced-motion: no-preference) { .hero-tilt { animation: none; } }
}
@media (max-width: 520px) { .chip-roas b { font-size: 2rem; } .chip-topup { transform: rotate(-2deg) scale(.92); transform-origin: left top; } }

/* ---------- Platform marquee ---------- */
.marquee { padding-block: 18px 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: center; overflow: hidden; }
.marquee-k { font: 500 .75rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee-track {
  width: 100%; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track ul { list-style: none; display: flex; flex: none; gap: 64px; padding-right: 64px; animation: marquee 32s linear infinite; }
.marquee-track li { display: flex; align-items: center; gap: 14px; font: 600 1.6rem var(--font-display); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.marquee-track .pmark--lg { width: 52px; height: 52px; border-radius: 15px; }
.marquee-track .pmark--lg svg { width: 28px; height: 28px; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .marquee-track ul { animation: none; flex-wrap: wrap; justify-content: center; gap: 20px 40px; padding: 0 20px; }
  .marquee-track ul + ul { display: none; }
}

/* Platform marks (app-icon style tiles) */
.pmark { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #fff; flex: none; box-shadow: 0 6px 16px -8px rgba(0,0,0,.6); }
.pmark svg { width: 22px; height: 22px; }
.pmark--snapchat { background: #fffc00; }
.pmark--lg { width: 64px; height: 64px; border-radius: 16px; }
.pmark--lg svg { width: 34px; height: 34px; }

/* ---------- Bento ---------- */
.bento-section { overflow: hidden; }
.bento-section::before { content: ""; position: absolute; right: -260px; top: 80px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgba(148,101,170,.22), rgba(148,101,170,0)); pointer-events: none; }
.bento-section .wrap { position: relative; }
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); } }
.tile {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(24px, 3vw, 34px);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--glass-shadow);
  display: flex; flex-direction: column; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}
.tile:hover { border-color: var(--line-strong); }
.tile h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.tile p { color: var(--ink-2); font-size: .975rem; }
.tile-k { font: 500 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.tile--cpm { background: linear-gradient(155deg, rgba(148,101,170,.26), rgba(255,255,255,.03) 60%); }
@media (min-width: 760px) { .tile--cpm, .tile--platforms { grid-column: span 2; } }
@media (min-width: 1060px) { .tile--cpm { flex-direction: row; gap: 32px; } .tile--cpm .tile-copy { width: 44%; flex: none; } }
.tile-copy { display: grid; gap: 10px; align-content: start; }
.cpm-viz { flex: 1; position: relative; min-height: 200px; border-radius: 20px; background: rgba(14,8,19,.6); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.viz-top { display: flex; justify-content: space-between; font: 500 .66rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cpm-viz svg { flex: 1; width: 100%; height: 100%; min-height: 150px; }
.cpm-viz polygon { fill: var(--purple-400); fill-opacity: .28; }
.cpm-viz polyline { fill: none; stroke: var(--purple); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.viz-dot { position: absolute; right: 11px; bottom: calc(11px + .21 * (100% - 60px)); width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(241,220,43,.18); }
.scale-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; min-height: 150px; padding-top: 14px; }
.scale-bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.scale-bars i { display: block; height: var(--h); min-height: 14px; border-radius: 9px 9px 3px 3px; background: linear-gradient(180deg, var(--purple-400), rgba(148,101,170,.35)); }
.scale-bars .top i { background: linear-gradient(180deg, #fff3a3, var(--yellow)); box-shadow: 0 0 30px -6px var(--yellow-glow); }
.scale-bars span { font: 500 .72rem var(--font-mono); color: var(--muted); text-align: center; }
.scale-bars .top span { color: var(--yellow); }
.mini-toasts { list-style: none; display: grid; gap: 10px; margin-top: auto; padding-top: 12px; }
.mini-toasts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; color: #1f1a24; box-shadow: 0 14px 30px -16px rgba(0,0,0,.8); }
.mini-toasts li:first-child { transform: rotate(-2deg); }
.mini-toasts li:last-child { transform: rotate(1.5deg); margin-left: 18px; }
.mini-toasts b { display: block; font-size: 14px; }
.mini-toasts small { display: block; font-size: 12px; color: #655b70; }
.mi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mi svg { width: 18px; height: 18px; }
.mi--y { background: var(--yellow); color: #160d1c; }
.mi--p { background: var(--plum-900); color: var(--yellow); }
.tile-row { display: grid; gap: 14px; }
@media (min-width: 760px) { .tile-row { grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; } }
.logo-tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px; margin-top: auto; padding-top: 18px; }
.logo-tile { height: 84px; border-radius: 20px; background: #fff; color: #1f1a24; display: flex; align-items: center; justify-content: center; gap: 10px; font: 600 1.05rem var(--font-display); box-shadow: 0 16px 30px -18px rgba(0,0,0,.8); }
.logo-tile .ill-pi { width: 30px; height: 30px; background: none; box-shadow: none; }
.logo-tile .ill-pi svg { width: 26px; height: 26px; }
.logo-tile--snapchat { background: #fffc00; }
.fee-drop { flex: 1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fee-drop s { font: 300 clamp(2.6rem, 2rem + 2vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--muted); text-decoration-thickness: 3px; }
.fee-drop span { color: var(--yellow); font-size: 1.6rem; }
.fee-drop b { font: 800 clamp(3rem, 2.2rem + 2.4vw, 4.4rem)/1 var(--font-display); letter-spacing: -.045em; color: var(--yellow); }
.tile-foot { font-size: .875rem !important; color: var(--muted) !important; }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding-top: 10px; }
.chat span { max-width: 86%; padding: 10px 14px; font-size: .9rem; line-height: 1.4; }
.chat .me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--purple-400); color: #fff; }
.chat .them { align-self: flex-start; border-radius: 16px 16px 16px 4px; background: #fff; color: #1f1a24; }
.tile--mb { background: var(--yellow); color: #160d1c; border-color: var(--yellow); justify-content: space-between; box-shadow: 0 30px 60px -30px rgba(241,220,43,.5); }
.tile--mb:hover { color: #160d1c; transform: translateY(-3px); }
.tile--mb .tile-k { color: #160d1c; font-weight: 600; }
.mb-big { font: 800 clamp(4rem, 3rem + 3vw, 5.4rem)/.9 var(--font-display); letter-spacing: -.05em; }
.mb-line { font-weight: 600; font-size: 1.05rem; }
.tile--mb .link-arrow { color: #160d1c; }

/* ---------- Numbers band ---------- */
.stats { padding-block: 8px clamp(56px, 8vw, 96px); }
.stats-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stats-grid div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 28px 22px; border-left: 1px solid var(--line); }
.stats-grid div:first-child { border-left: 0; }
@media (max-width: 899px) { .stats-grid div:nth-child(odd) { border-left: 0; } .stats-grid div:nth-child(n+3) { border-top: 1px solid var(--line); } .stats-grid div:last-child { grid-column: 1 / -1; } }
.stats-grid dd { margin: 0; font: 700 clamp(2.6rem, 2rem + 2.4vw, 3.8rem)/1 var(--font-display); letter-spacing: -.045em; }
.stats-grid dd.y { color: var(--yellow); }
.stats-grid dt { color: var(--muted); font-size: .9375rem; }

/* ---------- Band (dark gradient panels) ---------- */
.band-dark { background: radial-gradient(120% 120% at 15% 0%, rgba(148,101,170,.28), rgba(148,101,170,0) 55%), linear-gradient(180deg, #1a1022, #120a18); color: var(--ink); position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.band-dark .section-head p, .band-dark .lead { color: var(--ink-2); }

/* ---------- Media buying showcase ---------- */
.mb-section { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.mb-show { display: grid; gap: 16px; }
@media (min-width: 1000px) { .mb-show { grid-template-columns: 1.6fr 1fr; } }
.mb-show > * { min-width: 0; }
.mb-main.band-dark { border-radius: 32px; border: 1px solid var(--line-strong); padding: clamp(28px, 4.5vw, 60px); display: grid; gap: 24px; align-content: start; box-shadow: 0 40px 80px -40px rgba(148,101,170,.5), var(--glass-shadow); }
.mb-main::before { content: ""; position: absolute; left: -160px; top: -220px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(148,101,170,.45), rgba(148,101,170,0)); pointer-events: none; }
.mb-main > * { position: relative; }
.mb-main h2 { font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); letter-spacing: -.045em; max-width: 15ch; }
.mb-main h2 em, .mb-strip h2 em { font-style: normal; color: var(--yellow); }
.mb-main .lead { color: var(--ink-2); max-width: 42rem; }
.mb-steps { list-style: none; display: grid; gap: 14px; counter-reset: mbs; }
@media (min-width: 720px) { .mb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.mb-steps li { counter-increment: mbs; display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.mb-steps li::before { content: counter(mbs, decimal-leading-zero); font: 600 .75rem var(--font-mono); color: var(--yellow); letter-spacing: .1em; }
.mb-steps b { font: 600 1.3rem/1.2 var(--font-display); color: var(--ink); }
.mb-steps span { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.mb-guarantee { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: rgba(241,220,43,.08); border: 1px solid rgba(241,220,43,.4); }
.mb-guarantee-icon { flex: none; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--yellow); color: #160d1c; }
.mb-guarantee-icon svg { width: 18px; height: 18px; }
.mb-guarantee strong { display: block; font-size: 1.0625rem; }
.mb-guarantee div span { color: var(--ink-2); font-size: .9375rem; }
.mb-main .link-arrow { color: var(--yellow); }
.mb-fee { border-radius: 32px; padding: clamp(26px, 3.5vw, 44px); background: linear-gradient(160deg, #fff09a, var(--yellow) 45%); color: #160d1c; display: flex; flex-direction: column; gap: 6px; min-width: 0; box-shadow: 0 40px 80px -40px rgba(241,220,43,.55); }
.mb-fee-k { font: 600 .75rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.mb-fee-v { font: 800 clamp(5rem, 3.4rem + 6vw, 8.5rem)/.88 var(--font-display); letter-spacing: -.06em; margin-top: 10px; }
.mb-fee-u { font: 600 1.15rem/1.35 var(--font-display); }
.mb-fee-list { list-style: none; margin-top: 18px; }
.mb-fee-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(22,13,28,.16); font-size: .975rem; }
.mb-fee-list b { font-weight: 700; color: #160d1c; }
.mb-example { margin-top: auto; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.55); display: grid; gap: 4px; font-size: .9375rem; line-height: 1.5; }
.mb-fee-list + .mb-example { margin-top: 18px; }
.mb-example .k { font: 600 .6875rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #5a4a12; }
.mb-example b { color: #160d1c; }
.mb-disclaimer { margin-top: 16px; font-size: .8125rem; color: var(--muted); max-width: 62rem; }
.mb-strip.band-dark { border-radius: 28px; border: 1px solid var(--line-strong); padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 20px; }
@media (min-width: 960px) { .mb-strip { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }
.mb-strip h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin-top: 12px; }
.mb-strip p { color: var(--ink-2); margin-top: 12px; max-width: 44rem; }

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; gap: 14px; counter-reset: step; position: relative; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; position: relative; padding: 26px 24px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--glass-shadow); display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 700 3.2rem/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(180deg, var(--purple), rgba(199,162,224,.15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps li:last-child { background: linear-gradient(160deg, rgba(241,220,43,.16), rgba(241,220,43,.03)); border-color: rgba(241,220,43,.35); }
.steps li:last-child::before { background: linear-gradient(180deg, var(--yellow), rgba(241,220,43,.2)); -webkit-background-clip: text; background-clip: text; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--ink-2); font-size: .9375rem; }

/* ---------- Funding ---------- */
.fund-grid { display: grid; gap: 14px; }
@media (min-width: 860px) { .fund-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fund-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; align-content: start; box-shadow: var(--glass-shadow); }
.fund-card header { display: flex; align-items: center; gap: 12px; }
.fund-card .ficon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-2); color: var(--purple); flex: none; }
.fund-card .ficon svg { width: 22px; height: 22px; }
.fund-card h3 { font-size: 1.3rem; }
.fund-card .badge { margin-left: auto; }
.badge { font: 600 .6875rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: #160d1c; white-space: nowrap; }
.badge--soft { background: var(--tint-2); color: var(--ink); }
.badge--ink { background: #160d1c; color: var(--yellow); }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; font-size: .9375rem; border-top: 1px solid var(--line); padding-top: 16px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; min-width: 0; }
.fund-card--feature { background: linear-gradient(var(--card-solid), var(--card-solid)) padding-box, linear-gradient(140deg, var(--yellow), var(--purple-400) 60%, rgba(148,101,170,.2)) border-box; border: 1.5px solid transparent; }
.fund-card--feature .ficon { background: var(--yellow); color: #160d1c; }
.fund-callout { margin-top: 14px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); background: var(--yellow-tint); border: 1px solid rgba(241,220,43,.35); }
.fund-callout .bolt { width: 46px; height: 46px; border-radius: 13px; background: var(--yellow); color: #160d1c; display: grid; place-items: center; flex: none; box-shadow: 0 0 30px -6px var(--yellow-glow); }
.fund-callout .bolt svg { width: 22px; height: 22px; }
.fund-callout h3 { font-size: 1.2rem; margin-bottom: 4px; }
.fund-callout p { color: var(--ink-2); font-size: .9375rem; }
.fine-print { margin-top: 16px; font-size: .8125rem; color: var(--muted); max-width: 62rem; }

/* ---------- Split / explainers / terms ---------- */
.split { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.split > * { min-width: 0; }
.terms-grid { display: grid; gap: 14px; }
@media (min-width: 860px) { .terms-grid { grid-template-columns: 1fr 1fr; } }
.terms-card { border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; align-content: start; border: 1px solid var(--line); box-shadow: var(--glass-shadow); }
.terms-card h3 { font-size: 1.35rem; }
.terms-card ul { list-style: none; display: grid; gap: 12px; }
.terms-card li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .975rem; color: var(--ink-2); }
.terms-card li svg { width: 18px; height: 18px; margin-top: 4px; }
.terms-card--do { background: var(--card); }
.terms-card--do li svg { color: var(--success); }
.terms-card--dont { background: var(--tint); border-color: var(--tint-2); }
.terms-card--dont li svg { color: var(--purple); }
.explainer { display: grid; gap: 14px; }
@media (min-width: 760px) { .explainer { grid-template-columns: 1fr 1fr; } }
.explainer > div { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; align-content: start; box-shadow: var(--glass-shadow); }
.explainer > div:last-child { background: var(--tint); border-color: var(--tint-2); }
.explainer h3 { font-size: 1.3rem; }
.explainer p { color: var(--ink-2); font-size: .975rem; }
.note-list { list-style: none; display: grid; gap: 14px; }
.note-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.note-list li::before { content: ""; position: absolute; left: 7px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); transform: rotate(45deg); }

/* ---------- Pricing staircase (home) ---------- */
.stairs { list-style: none; display: grid; gap: 12px; }
.step {
  --step-bg: var(--card); --step-fg: var(--ink); --step-muted: var(--muted); --step-line: var(--line); --step-accent: var(--purple);
  display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 22px; border-radius: 22px;
  background: var(--step-bg); color: var(--step-fg); border: 1px solid var(--line); box-shadow: var(--glass-shadow);
}
.step--growth { --step-bg: var(--tint); }
.step--scale { --step-bg: linear-gradient(170deg, #fff09a, var(--yellow) 50%); --step-fg: #160d1c; --step-muted: #4a3d1e; --step-line: rgba(22,13,28,.16); --step-accent: #160d1c; border-color: var(--yellow); box-shadow: 0 30px 60px -30px rgba(241,220,43,.55); }
.step--enterprise { --step-bg: linear-gradient(170deg, var(--purple-600), var(--plum-800)); --step-fg: #fff; --step-muted: #dccbe8; --step-line: rgba(255,255,255,.18); --step-accent: var(--yellow); border-color: rgba(199,162,224,.4); }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.step-name { font: 600 1.2rem/1.2 var(--font-display); }
.step-k { font: 500 .6875rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--step-muted); }
.step-price { font: 700 clamp(2.6rem, 2rem + 1.6vw, 3.4rem)/1 var(--font-display); letter-spacing: -.045em; }
.step-price small { font: 500 1rem var(--font-body); letter-spacing: 0; color: var(--step-muted); margin-left: 2px; }
.step-band { margin-top: 10px; font-size: .9375rem; color: var(--step-muted); }
.step-fee { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--step-line); font-size: .9375rem; color: var(--step-muted); display: flex; align-items: baseline; gap: 8px; }
.step-band + .step-fee { margin-top: 18px; }
.step-fee b { font: 600 1.4rem/1 var(--font-mono); color: var(--step-accent); letter-spacing: -.02em; }
.stairs-axis { display: none; }
@media (min-width: 900px) {
  .stairs { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; border-bottom: 1px solid var(--line-strong); }
  .step { min-height: calc(260px + var(--n) * 58px); border-radius: 24px 24px 0 0; border-bottom: 0; }
  .step-band + .step-fee { margin-top: auto; }
  .stairs-axis { display: flex; justify-content: space-between; margin-top: 14px; font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 980px) { .faq-layout { grid-template-columns: 240px 1fr; gap: 56px; align-items: start; } }
.faq-toc { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 980px) { .faq-toc { position: sticky; top: calc(var(--header-h) + 28px); flex-direction: column; flex-wrap: nowrap; gap: 2px; } }
.faq-toc a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink-2); font-size: .9375rem; }
.faq-toc a:hover { color: var(--ink); border-color: var(--line-strong); }
@media (min-width: 980px) { .faq-toc a { border: 0; background: transparent; border-radius: 10px; } .faq-toc a:hover { background: rgba(255,255,255,.05); } }
.faq-group { display: grid; gap: 14px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: var(--step-2); letter-spacing: -.02em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 20px 2px; font: 600 1.075rem/1.4 var(--font-body); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; margin-top: -2px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1dc2b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .25s ease, background-color .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--tint-2); }
.faq-item summary:hover { color: var(--yellow); }
.faq-answer { padding: 0 44px 22px 2px; color: var(--ink-2); display: grid; gap: 10px; max-width: 48rem; }
.faq-answer ul { padding-left: 20px; display: grid; gap: 6px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; margin-top: calc(-1 * (var(--header-h) + 12px)); padding-top: calc(var(--header-h) + clamp(48px, 7vw, 88px)); padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero::before { content: ""; position: absolute; left: 50%; top: -360px; width: 1100px; height: 760px; margin-left: -550px; border-radius: 50%; background: radial-gradient(closest-side, rgba(148,101,170,.42), rgba(148,101,170,0)); pointer-events: none; }
.page-hero > .wrap { position: relative; }
.page-hero .inner { display: grid; gap: 20px; justify-items: start; }
.page-hero .inner > * { max-width: 52rem; }
.page-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: left; }
.final-cta .inner { display: grid; gap: 28px; }
@media (min-width: 900px) { .final-cta .inner { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; } }
.final-cta h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); letter-spacing: -.05em; line-height: .98; }
.final-cta h2 em { font-style: normal; color: var(--yellow); }
.final-cta .actions { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .final-cta .actions { justify-items: end; } }
.final-cta::after { content: ""; position: absolute; right: -160px; bottom: -260px; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(closest-side, rgba(241,220,43,.16), rgba(241,220,43,0)); pointer-events: none; }
.final-cta .wrap { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #0a060e; color: var(--muted); padding-block: 72px 0; font-size: .9375rem; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand { display: grid; gap: 14px; align-content: start; max-width: 22rem; }
.footer-brand img { width: 160px; }
.site-footer h2 { font: 500 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .8125rem; }
.footer-giant { width: 100%; height: auto; margin: 48px auto -2%; opacity: .07; }

/* ---------- Mobile sticky WhatsApp ---------- */
.sticky-wa { display: none; }
@media (max-width: 720px) {
  .sticky-wa {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    background: linear-gradient(180deg, rgba(14,8,19,0), rgba(14,8,19,.92) 30%); transition: transform .25s ease;
  }
  .sticky-wa.is-hidden { transform: translateY(120%); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Pricing cards ---------- */
.price-grid { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px 24px; border-radius: 26px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--glass-shadow);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.plan:hover { border-color: var(--line-strong); }
.plan.is-match { border-color: var(--purple); box-shadow: 0 0 0 3px var(--tint-2), 0 30px 60px -30px rgba(148,101,170,.6); transform: translateY(-4px); }
.plan-top { display: grid; gap: 10px; }
.plan-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 26px; }
.plan-name h2, .plan-name h3 { font-size: 1.3rem; }
.plan-price { display: grid; gap: 4px; }
.plan-price .k { font: 600 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.plan-price .v { font: 700 3.6rem/1 var(--font-display); letter-spacing: -.05em; color: var(--ink); }
.plan-price .v small { font: 500 1rem var(--font-body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-for { font-size: .9375rem; color: var(--ink-2); }
@media (min-width: 1100px) { .plan-for { min-height: 3.2em; } }
.plan-spend { display: grid; gap: 4px; padding: 13px 15px; border-radius: 14px; background: var(--tint); border: 1px solid var(--tint-2); }
.plan-spend .k { font: 500 .66rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan-spend .v { font: 600 1.3rem/1.2 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.plan .spec { font-size: .9375rem; }
.plan .spec dd { text-align: right; font-variant-numeric: tabular-nums; }
.plan .spec dd.fee { color: var(--purple); font-family: var(--font-mono); }
.plan-note { font-size: .8125rem; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--ink-2); }
.plan .btn { margin-top: auto; white-space: normal; text-align: center; }
.plan:not(.plan--featured) .btn--primary { --btn-bg: rgba(255,255,255,.06); --btn-fg: var(--ink); --btn-bd: var(--line-strong); box-shadow: none; }
.plan:not(.plan--featured) .btn--primary .wa-glyph { color: var(--yellow); }
.plan:not(.plan--featured) .btn--primary:hover { --btn-bd: var(--yellow); }
.plan--featured { background: linear-gradient(170deg, #241730, #170e1f) padding-box, linear-gradient(150deg, var(--yellow), var(--purple-400) 55%, rgba(148,101,170,.25)) border-box; border: 1.5px solid transparent; box-shadow: 0 40px 80px -40px rgba(241,220,43,.35); }
.plan--featured .plan-price .k { color: var(--yellow); }
.plan--featured .spec dd.fee { color: var(--yellow); }
.plan--featured.is-match { box-shadow: 0 0 0 3px rgba(241,220,43,.4), 0 40px 80px -40px rgba(241,220,43,.45); }

.finder { display: grid; gap: 14px; padding: 22px 24px; margin-bottom: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--glass-shadow); }
@media (min-width: 800px) { .finder { grid-template-columns: minmax(260px, 340px) 1fr; align-items: end; gap: 24px; } }
.finder label, .mb-calc label { display: block; font-weight: 600; margin-bottom: 6px; }
.finder .field, .mb-calc .field { display: flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 14px; background: rgba(0,0,0,.25); }
.finder .field:focus-within, .mb-calc .field:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(241,220,43,.15); }
.finder .field span { padding-left: 14px; font-family: var(--font-mono); color: var(--muted); }
.finder input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 13px 14px 13px 6px; font: 500 1.125rem var(--font-mono); color: var(--ink); }
.finder input:focus, .mb-calc input:focus { outline: none; }
.finder input::placeholder { color: var(--muted); opacity: .7; }
.finder-result { min-height: 3em; padding: 13px 15px; border-radius: 14px; background: var(--tint); border: 1px solid var(--tint-2); color: var(--ink); font-size: .975rem; }
.finder .hint, .mb-calc .hint { font-size: .8125rem; color: var(--muted); margin-top: 6px; }

/* Tables */
.table-scroll, .compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .9375rem; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.03); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; }
td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.compare { width: 100%; min-width: 820px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.compare th, .compare td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare tbody th, .compare .corner { width: 19%; }
.compare thead th, .compare .corner { border-bottom: 1px solid var(--line-strong); padding-top: 26px; padding-bottom: 20px; background: transparent; }
.compare thead th { font: 600 1.3rem/1.2 var(--font-display); letter-spacing: -.01em; text-transform: none; color: var(--ink); vertical-align: bottom; }
.compare thead th .badge { display: table; margin-bottom: 10px; }
.compare tbody th { font: 500 .9375rem/1.3 var(--font-body); color: var(--muted); }
.compare td { font: 500 1.0625rem/1.35 var(--font-body); color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .cv-price { font: 700 2.1rem/1 var(--font-display); letter-spacing: -.035em; }
.compare td small { font: 500 .9rem var(--font-body); color: var(--muted); margin-left: 4px; }
.compare .cv-fee { font: 600 1.25rem/1 var(--font-mono); color: var(--purple); }
.feebar { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--tint); position: relative; overflow: hidden; max-width: 160px; }
.feebar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--purple-400); }
.compare .btn--sm { font-size: .875rem; padding-inline: 14px; }
.compare td:not(.feat) .btn--primary { --btn-bg: rgba(255,255,255,.06); --btn-fg: var(--ink); --btn-bd: var(--line-strong); box-shadow: none; }
.compare td:not(.feat) .btn--primary .wa-glyph { color: var(--yellow); }
.compare .feat { background: linear-gradient(180deg, rgba(241,220,43,.1), rgba(241,220,43,.04)); border-bottom-color: rgba(241,220,43,.15); }
.compare thead th.feat { border-radius: 16px 16px 0 0; box-shadow: inset 0 1px 0 rgba(241,220,43,.5); }
.compare tbody tr:last-child td.feat { border-radius: 0 0 16px 16px; }
.compare td.feat .cv-fee { color: var(--yellow); }
.compare td.feat .feebar::after { background: var(--yellow); }
.compare tbody th, .compare .corner { position: sticky; left: 0; z-index: 1; background: #170f1e; }
@media (max-width: 899px) { .compare tbody th, .compare .corner { box-shadow: 1px 0 0 var(--line); } }
.swipe-hint { display: none; }
@media (max-width: 899px) {
  .swipe-hint { display: block; margin-bottom: 10px; font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .compare { min-width: 700px; }
  .compare tbody th, .compare .corner { width: 118px; }
  .compare th, .compare td { padding: 16px 14px; }
}

/* ---------- Media buying page ---------- */
.mb-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1040px) { .mb-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.mb-hero-grid > * { min-width: 0; }
.mb-hero h1 { max-width: 16ch; }
.mb-hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.page-hero .inner > .mb-hero-facts { max-width: none; }
.mb-hero-facts li { padding: 13px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; }
.mb-hero-facts li:first-child { background: var(--yellow); border-color: var(--yellow); color: #160d1c; }
.mb-hero-facts li:first-child span { color: #4a3d1e; }
.mb-hero-facts b { font: 700 1.75rem/1 var(--font-display); letter-spacing: -.03em; }
.mb-hero-facts span { font-size: .8125rem; color: var(--muted); }
.mb-hero-facts .is-guarantee { background: linear-gradient(160deg, var(--purple-600), var(--plum-800)); border-color: rgba(199,162,224,.4); }
.mb-hero-facts .is-guarantee b { color: var(--yellow); }
.mb-hero-facts .is-guarantee span { color: #dccbe8; }
.mb-hero-ill { margin: 0; display: grid; gap: 12px; position: relative; }
.mb-hero-ill .ill-feed { margin: -34px 18px 0 46px; position: relative; }
.mb-hero-ill .ill-feed .ill-toast:first-child { transform: rotate(-1deg); }
@media (max-width: 520px) { .mb-hero-ill .ill-feed { margin: -24px 0 0 0; } }
.stage-list { list-style: none; display: grid; gap: 14px; counter-reset: stage; }
@media (min-width: 860px) { .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stage-list li { counter-increment: stage; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--glass-shadow); display: grid; gap: 10px; align-content: start; }
.stage-list li::before { content: counter(stage, decimal-leading-zero); font: 700 2.6rem/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(180deg, var(--purple), rgba(199,162,224,.15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage-list p { color: var(--ink-2); font-size: .9375rem; }
.stage-list--dark li::before { background: linear-gradient(180deg, var(--yellow), rgba(241,220,43,.2)); -webkit-background-clip: text; background-clip: text; }
.guarantee-note { margin-top: 18px; color: var(--ink-2); font-size: .9375rem; }
.brief-card { padding: clamp(24px, 3vw, 34px); border-radius: 26px; background: linear-gradient(160deg, rgba(148,101,170,.22), rgba(255,255,255,.03)); border: 1px solid var(--line-strong); display: grid; gap: 18px; }
.brief-card ol { list-style: none; display: grid; counter-reset: b; }
.brief-card li { counter-increment: b; display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.brief-card li:last-child { border-bottom: 0; }
.brief-card li::before { content: counter(b); width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: rgba(241,220,43,.14); color: var(--yellow); font: 600 .8125rem var(--font-mono); }
.brief-card li span { color: var(--muted); display: block; font-size: .875rem; }
.brief-card .small { font-size: .8125rem; color: var(--muted); }
.brief-card a { color: var(--yellow); }
.mb-price-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .mb-price-grid { grid-template-columns: 1fr 1fr; } }
.mb-price-grid > * { min-width: 0; }
.mb-calc { padding: clamp(24px, 3.5vw, 40px); border-radius: 32px; background: var(--card); border: 1px solid var(--line-strong); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; box-shadow: var(--glass-shadow); }
.mb-calc .field span { padding-left: 16px; font: 500 1.25rem var(--font-mono); color: var(--muted); }
.mb-calc input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 14px 16px 14px 6px; font: 600 1.5rem var(--font-mono); color: var(--ink); }
.mb-calc-out { margin: 4px 0 0; }
.mb-calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mb-calc-out dt { color: var(--ink-2); min-width: 0; }
.mb-calc-out dd { margin: 0; font: 600 1.25rem var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb-calc-out #mb-fee { color: var(--yellow); }
.mb-calc-out .total { border-bottom: 0; }
.mb-calc-out .total dt { font-weight: 600; color: var(--ink); }
.mb-calc-out .total dd { font: 700 1.9rem var(--font-display); letter-spacing: -.02em; }
@media (max-width: 420px) { .mb-calc .btn { white-space: normal; } .mb-calc-out div { flex-wrap: wrap; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-card { padding: clamp(26px, 3.5vw, 40px); border-radius: 28px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 16px; align-content: start; box-shadow: var(--glass-shadow); }
.contact-card p { color: var(--ink-2); }
.contact-card--primary { background: radial-gradient(120% 120% at 0% 0%, rgba(148,101,170,.45), rgba(148,101,170,0) 60%), var(--card-solid); border-color: var(--line-strong); }
.contact-card .big { font: 600 1.6rem/1.2 var(--font-mono); letter-spacing: -.01em; color: var(--ink); user-select: all; }
.contact-card .cicon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--tint-2); color: var(--purple); }
.contact-card--primary .cicon { background: var(--yellow); color: #160d1c; }
.contact-card .cicon svg { width: 26px; height: 26px; }

/* ---------- Illustrations: product UI stays light, like a real screenshot ---------- */
.ill-console, .ill-toast:not(.ill-toast--dark):not(.ill-toast--yellow), .chip-cpm {
  --paper: #fbfafc; --surface: #fff; --card-solid: #fff; --ink: #1f1a24; --ink-2: #4d4556; --muted: #655b70;
  --line: #e6e0eb; --line-strong: #d3cad9; --purple: #7a4a8c; --tint: #f1eaf5; --tint-2: #d9c7e3; --yellow-tint: #fcf7d2; --success: #1f7a4d;
  color: var(--ink);
}
.ill-caption { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.ill-pi { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.ill-pi svg { width: 16px; height: 16px; }
.ill-pi--snapchat { background: #fffc00; }
.ill-console { display: flex; border-radius: 20px; overflow: hidden; background: #fff; font-size: 13px; text-align: left; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.ill-side { width: 196px; flex: none; background: var(--plum-950); color: #c9bcd2; padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; }
.ill-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; font: 600 1.05rem var(--font-display); color: #fff; }
.ill-brand img { width: 24px; height: auto; }
.ill-side > span { padding: 9px 12px; border-radius: 10px; font-size: 13.5px; }
.ill-side > span.on { background: rgba(241,220,43,.12); color: var(--yellow); font-weight: 600; }
.ill-bal { margin-top: auto; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 2px; }
.ill-bal small { font: 500 .6rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.ill-bal b { font: 700 1.3rem var(--font-display); color: #fff; }
.ill-bal em { font-style: normal; font-size: 11.5px; color: var(--yellow); }
.ill-main { flex: 1; min-width: 0; padding: 22px 24px; background: var(--paper); display: grid; gap: 14px; }
.ill-head { display: flex; align-items: center; gap: 12px; }
.ill-head div { display: grid; }
.ill-head b { font: 700 1.3rem var(--font-display); letter-spacing: -.02em; }
.ill-head small { color: var(--muted); font-size: 12px; }
.ill-tag { margin-left: auto; padding: 5px 11px; border-radius: 999px; background: var(--tint); color: var(--plum-700); font: 600 .62rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ill-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ill-kpis > div { padding: 13px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; }
.ill-kpis small { font-size: 11.5px; color: var(--muted); }
.ill-kpis b { font: 700 1.45rem/1.1 var(--font-display); letter-spacing: -.02em; }
.ill-kpis em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.ill-kpis em.up { color: var(--success); font-weight: 600; }
.ill-kpis .hi { background: var(--plum-900); border-color: var(--plum-900); }
.ill-kpis .hi small, .ill-kpis .hi em { color: #c9bcd2; }
.ill-kpis .hi b { color: var(--yellow); font-size: 1.65rem; font-weight: 800; }
.ill-mid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; }
.ill-chart, .ill-bars { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.ill-chart-h { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ill-chart-h span { font: 600 11.5px var(--font-mono); color: var(--purple); }
.ill-plot { display: flex; gap: 8px; position: relative; }
.ill-y { display: flex; flex-direction: column; justify-content: space-between; font: 500 9.5px var(--font-mono); color: var(--muted); height: 140px; }
.ill-plot svg { flex: 1; height: 140px; display: block; }
.ill-plot line { stroke: #efeaf3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ill-plot line.base { stroke: var(--line-strong); }
.ill-plot polygon { fill: var(--purple); fill-opacity: .12; }
.ill-plot polyline { fill: none; stroke: var(--purple); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ill-dot { position: absolute; right: -5px; top: calc(140px * 19.2 / 160 - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--plum-900); }
.ill-x { display: flex; justify-content: space-between; padding: 6px 0 0 22px; font: 500 9.5px var(--font-mono); color: var(--muted); }
.ill-bars { display: grid; gap: 9px; align-content: start; }
.ill-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: 12px; }
.ill-bar b { font: 500 11.5px var(--font-mono); }
.ill-bar i { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: var(--tint); position: relative; overflow: hidden; }
.ill-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--plum-700); }
.ill-table { border-radius: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.ill-tr { display: grid; grid-template-columns: 2.2fr 1.1fr .9fr .9fr .8fr; gap: 10px; padding: 9px 16px; border-bottom: 1px solid #efeaf3; align-items: center; }
.ill-tr:last-child { border-bottom: 0; }
.ill-th { background: var(--paper); font: 500 .6rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line); }
.ill-tr .c-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ill-th .c-name { font-weight: 500; }
.ill-tr .c-pf { display: flex; align-items: center; gap: 8px; }
.ill-tr .c-sp, .ill-tr .c-ro { font-family: var(--font-mono); }
.ill-tr .c-ro { font-weight: 600; color: var(--purple); }
.ill-th .c-sp, .ill-th .c-ro { font-weight: 500; color: var(--muted); }
.st { font-style: normal; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.st--live { background: #e3f3ea; color: #1f7a4d; }
.st--learn { background: #fcf7d2; color: #5a4a12; }
@media (max-width: 1000px) { .ill-side { display: none; } }
@media (max-width: 720px) {
  .ill-main { padding: 16px; }
  .ill-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ill-mid { grid-template-columns: 1fr; }
  .ill-bars { display: none; }
  .ill-tr { grid-template-columns: 1.6fr .9fr .7fr; }
  .ill-tr .c-st, .ill-tr .c-pf { display: none; }
  .ill-head { flex-wrap: wrap; }
  .ill-tag { margin-left: 0; }
}

.ill-feed { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.ill-toast { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); font-size: 13px; text-align: left; }
.ill-toast .t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ill-toast b { font-size: 14px; }
.ill-toast small { color: var(--muted); font-size: 12.5px; }
.ill-toast time { font: 500 11px var(--font-mono); color: var(--muted); }
.ill-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid #e6e0eb; }
.ill-ic .ill-pi { box-shadow: none; }
.ill-ic .ill-pi svg { width: 20px; height: 20px; }
.ill-ic--bolt { background: var(--yellow); border-color: var(--yellow); color: #160d1c; }
.ill-ic--bolt svg { width: 20px; height: 20px; }
.ill-ic--mark { background: var(--plum-900); border-color: var(--plum-900); }
.ill-ic--mark img { width: 20px; height: auto; }
.ill-toast--dark { background: var(--plum-900); color: #fff; border: 1px solid var(--line-strong); }
.ill-toast--dark small { color: #c9bcd2; }
.ill-toast--dark time { color: var(--yellow); }
.ill-toast--yellow { background: var(--yellow); color: #160d1c; }
.ill-toast--yellow small { color: #4a3d1e; }
.ill-toast--yellow time { color: #160d1c; font-weight: 600; }

.ill-roas { padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: linear-gradient(165deg, #2a1a37, #170e1f); color: var(--ink); display: grid; gap: 16px; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(148,101,170,.7); }
.ill-roas-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ill-roas-top span { font: 500 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.ill-roas-top em { font: 500 .62rem var(--font-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); }
.ill-roas-big { display: flex; align-items: flex-end; gap: 14px; }
.ill-roas-big b { font: 800 clamp(3.6rem, 2.8rem + 3vw, 5.4rem)/.9 var(--font-display); letter-spacing: -.055em; color: #fff; }
.ill-roas-big span { display: grid; font-size: .9rem; color: var(--muted); padding-bottom: 4px; }
.ill-roas-big strong { font: 600 1.15rem var(--font-display); color: var(--yellow); }
.ill-roas-bars { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 200px; padding-top: 36px; border-bottom: 1px solid rgba(255,255,255,.2); }
.ill-roas-bars i { flex: 1; height: calc(var(--h) / 194 * 100%); border-radius: 7px 7px 0 0; background: var(--purple-400); }
.ill-roas-bars i:nth-child(-n+2) { background: rgba(148,101,170,.45); }
.ill-roas-bars i.k { background: rgba(148,101,170,.7); box-shadow: inset 0 0 0 2px var(--yellow); }
.ill-roas-bars i.last { background: linear-gradient(180deg, #fff3a3, var(--yellow)); box-shadow: 0 0 30px -6px var(--yellow-glow); }
.ill-roas-bars .flag { position: absolute; left: 22%; top: 0; padding: 5px 10px; border-radius: 8px; background: var(--yellow); color: #160d1c; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ill-roas-x { display: flex; gap: 8px; font: 500 10.5px var(--font-mono); color: var(--muted); }
.ill-roas-x span { flex: 1; text-align: center; }
.ill-roas-x span:last-child { color: var(--yellow); }

.ill-flow { display: grid; gap: 14px; align-items: center; }
@media (min-width: 1040px) { .ill-flow { grid-template-columns: 1fr 70px 1.25fr 70px .9fr; gap: 10px; } }
.ill-flow > * { min-width: 0; }
.ill-flow .k { font: 500 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--purple); display: flex; align-items: center; gap: 10px; }
.ill-flow h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 6px; }
.ill-flow p { color: var(--ink-2); font-size: .9375rem; }
.ill-flow-a { display: grid; gap: 12px; }
.ill-creatives { display: flex; gap: 10px; align-items: flex-end; }
.ill-creatives .cv { width: 104px; height: 184px; border-radius: 16px; background: linear-gradient(160deg, var(--purple-400), var(--plum-900)); position: relative; display: grid; place-items: center; box-shadow: 0 20px 36px -18px rgba(0,0,0,.8); border: 1px solid var(--line-strong); }
.ill-creatives .play { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.ill-creatives .cv em { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.45); color: #fff; font: 500 10px var(--font-mono); font-style: normal; }
.ill-creatives .col { display: grid; gap: 10px; }
.ill-creatives .img { width: 84px; height: 84px; border-radius: 14px; background: var(--yellow); display: grid; place-items: center; }
.ill-creatives .img i { width: 38px; height: 50px; border-radius: 10px 10px 16px 16px; background: var(--plum-900); }
.ill-creatives .car { width: 84px; height: 84px; border-radius: 14px; background: #fff; display: flex; gap: 4px; padding: 10px; }
.ill-creatives .car i { flex: 1; border-radius: 6px; background: #d9c7e3; }
.ill-creatives .car i:nth-child(2) { background: #b796c8; }
.ill-creatives .car i:nth-child(3) { background: var(--purple-400); }
.ill-arrow { display: flex; align-items: center; justify-content: center; }
.ill-arrow i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--purple-400) 0 8px, transparent 8px 14px); }
.ill-arrow svg path { fill: var(--purple-400); }
@media (max-width: 1039px) {
  .ill-arrow { height: 36px; flex-direction: column; }
  .ill-arrow i { flex: 1; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--purple-400) 0 8px, transparent 8px 14px); }
  .ill-arrow svg { transform: rotate(90deg); }
}
.ill-flow-b { padding: clamp(22px, 3vw, 30px); border-radius: 26px; background: linear-gradient(160deg, rgba(148,101,170,.3), rgba(255,255,255,.04)); border: 1px solid var(--line-strong); display: grid; gap: 12px; box-shadow: 0 40px 70px -35px rgba(148,101,170,.6); }
.ill-flow-b .k { color: var(--yellow); }
.ill-flow-b .k img { width: 24px; height: auto; }
.ill-flow-b .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ill-flow-b .chips span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line-strong); font-size: 13px; }
.ill-flow-b .chips span.hi { background: var(--yellow); border-color: var(--yellow); color: #160d1c; font-weight: 600; }
.ill-flow-c { display: grid; gap: 10px; }
.ill-flow-c ul { list-style: none; display: grid; gap: 8px; }
.ill-flow-c li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ill-flow-c li b { flex: 1; }
.ill-flow-c .live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--success); }
.ill-flow-c .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(95,212,154,.15); }

/* ---------- Motion: gentle reveal on scroll (content always visible at rest) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
  .js .reveal.pre { transform: translateY(28px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
@media (max-width: 380px) { .btn { white-space: normal; text-align: center; padding-inline: 18px; } .cta-row .btn { width: 100%; } }

@media (max-width: 600px) {
  .logo-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .logo-tile { height: 74px; flex-direction: column; gap: 6px; font-size: .72rem; border-radius: 16px; }
  .logo-tile .ill-pi { width: 24px; height: 24px; }
  .logo-tile .ill-pi svg { width: 22px; height: 22px; }
  .hero-pill { font-size: .875rem; text-align: left; }
}
@media (max-width: 380px) { .logo-tile span:last-child { display: none; } .logo-tile { height: 56px; } }

/* ---------- Results showcase ---------- */
.results::before { content: ""; position: absolute; left: -240px; top: 160px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(241,220,43,.1), rgba(241,220,43,0)); pointer-events: none; }
.results { overflow: hidden; }
.results .wrap { position: relative; }
.results-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .res--ba { grid-column: 1 / -1; } }
@media (min-width: 1060px) { .results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .res--ba { grid-column: span 2; } }
.res { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 16px; min-width: 0;
  background: linear-gradient(160deg, rgba(148,101,170,.2), rgba(255,255,255,.03) 55%); border: 1px solid var(--line-strong); box-shadow: var(--glass-shadow); }
.res h3:not(.sr-only) { font-size: 1.25rem; }
.res-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.res-tag { font: 600 .625rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); border: 1px solid var(--line); }
.res-tag--real { background: rgba(95,212,154,.12); color: var(--success); border-color: rgba(95,212,154,.35); display: inline-flex; align-items: center; gap: 6px; }
.res-tag--real::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.res-stat { font: 500 .875rem var(--font-body); color: var(--ink-2); }
.res-stat b { font: 800 2rem/1 var(--font-display); letter-spacing: -.04em; color: var(--yellow); margin-right: 4px; }
.res-cap { font-size: .9375rem; color: var(--ink-2); margin-top: auto; }
.res-cap b { color: var(--yellow); }

/* Ads Manager style column, rebuilt light like a real screenshot */
.am-col { background: #fff; color: #1c1e21; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.85); font-family: "Helvetica Neue", Helvetica, Arial, var(--font-body); }
.am-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 2px solid #dfe1e5; font-weight: 700; font-size: 1.05rem; color: #333; }
.am-head i { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid #1c1e21; flex: none; }
.am-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 18px 18px; min-height: 76px; }
.am-row--alt { background: #f5f6f7; }
.am-val { font-size: 1.75rem; font-weight: 500; letter-spacing: -.01em; color: #1c1e21; font-variant-numeric: tabular-nums; position: relative; }
.am-val--ring::after { content: ""; position: absolute; inset: -14px -18px; border: 3px solid var(--purple-400); border-radius: 50%; transform: rotate(-8deg); }
.am-chip { margin-right: auto; font: 600 .625rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #eceef1; color: #4b4f56; }
.am-chip--after { background: var(--yellow); color: #160d1c; }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(10px, 2.5vw, 28px); }
.ba-col { display: grid; gap: 10px; min-width: 0; }
.ba-k { justify-self: start; font: 600 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); }
.ba-k--after { color: #160d1c; background: var(--yellow); border-color: var(--yellow); }
.ba-arrow { width: clamp(34px, 5vw, 56px); height: auto; filter: drop-shadow(0 8px 20px rgba(148,101,170,.6)); }
.ba .ba-col:last-child .am-col { box-shadow: 0 24px 60px -20px rgba(241,220,43,.35), 0 24px 50px -24px rgba(0,0,0,.85); }
.single { display: flex; align-items: center; gap: 10px; }
.single .am-col { flex: 1; min-width: 0; }
.single-arrow { width: 30px; flex: none; color: var(--yellow); }
.am-col--wide { font-size: .8125rem; }
.am-camp { padding: 12px 16px; border-bottom: 1px solid #eceef1; font-weight: 600; font-size: .8125rem; color: #1d6fdc; }
.am-grid { display: grid; grid-template-columns: 1fr 1.25fr .9fr; gap: 12px; align-items: center; padding: 14px 18px; }
.am-grid--head { font-weight: 700; color: #4b4f56; font-size: .75rem; border-bottom: 2px solid #dfe1e5; line-height: 1.3; }
.am-grid span { min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }
.am-grid .nm { font-weight: 600; color: #1d6fdc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-grid span:not(.am-val) { font-size: .9375rem; }
.am-grid--head span:not(.am-val) { font-size: .75rem; }
.am-grid .am-val { font-size: 1.15rem; font-weight: 700; justify-self: end; }
.am-grid .am-val--ring::after { inset: -10px -12px; }
.res--roas .am-col { margin-top: 2px; }
.res--math { background: linear-gradient(165deg, #fff09a, var(--yellow) 50%); color: #160d1c; border-color: var(--yellow); box-shadow: 0 30px 60px -30px rgba(241,220,43,.5); justify-content: center; }
.res-k { font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.math-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(22,13,28,.16); }
.math-row span { font-size: .9375rem; color: #4a3d1e; }
.math-row b { font: 800 2.2rem/1 var(--font-display); letter-spacing: -.04em; color: rgba(22,13,28,.5); }
.math-row--hi b { font-size: 3.2rem; color: #160d1c; }
.res--math p { font-size: .9375rem; color: #2a2112; }
@media (max-width: 600px) {
  .ba { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ba-arrow { display: none; }
  .am-head { font-size: .85rem; padding: 12px; }
  .am-val { font-size: 1.3rem; }
  .am-row { padding: 14px 12px; min-height: 60px; }
  .am-val--ring::after { inset: -10px -10px; }
  .am-grid { padding: 12px; gap: 8px; }
  .am-grid--head { font-size: .6875rem; }
}

.tile-proof { margin-top: 6px; padding: 12px 14px; border-radius: 14px; background: rgba(241,220,43,.08); border: 1px solid rgba(241,220,43,.3); font-size: .9375rem !important; color: var(--ink) !important; }
.tile-proof s { color: var(--muted); }
.tile-proof b { color: var(--yellow); }
.tile-proof a { color: var(--yellow); font-weight: 600; white-space: nowrap; }
