/* ==========================================================================
   Kindle Growth Media (KGM) — main stylesheet
   Palette sampled from the approved mockup:
   bg #0c0a09 · mint #ff6a14 · indigo #ffa01f · phone blue #223952
   ========================================================================== */

:root {
  --font-sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --brand: #ff6a14;
  --indigo: #ffa01f;
  --ink-blue: #223952;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Themes: dark (default, from mockup) + light ---------- */
:root,
[data-theme="dark"] {
  --bg: #0f0e0e;
  --bg-tint: #151413;
  --card: #1a1817;
  --card-2: #211f1d;
  --line: rgba(255, 255, 255, .07);
  --text: #f1ede8;
  --muted: #a29b94;
  --accent: #f2a273;
  --accent-2: #e2b377;
  --glass: rgba(16, 15, 14, .74);
  --shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
  --fluid-a: 240, 150, 95;
  --fluid-b: 215, 170, 115;
  --orb-opacity: .1;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #fffaf6;
  --bg-tint: #fff0e3;
  --card: #ffffff;
  --card-2: #fff6ee;
  --line: rgba(40, 20, 5, .10);
  --text: #1d1a18;
  --muted: #6b5f56;
  --accent: #d94f00;
  --accent-2: #e07b00;
  --glass: rgba(255, 255, 255, .78);
  --shadow: 0 40px 80px -40px rgba(120, 50, 0, .28);
  --fluid-a: 255, 106, 20;
  --fluid-b: 255, 160, 31;
  --orb-opacity: .2;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
ul, ol { list-style: none; padding: 0; }
.container { width: min(1200px, 100% - clamp(40px, 8vw, 80px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brand); color: #1a0b02; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.serif, h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
.eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 58ch; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s; will-change: transform; }
.btn-primary { background: var(--brand); color: #1a0b02; box-shadow: 0 12px 34px -12px rgba(255, 106, 20, .6); }
.btn-primary:hover { box-shadow: 0 18px 44px -12px rgba(255, 106, 20, .8); }
.btn-ghost { border: 1px solid var(--line); background: color-mix(in srgb, var(--text) 4%, transparent); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; }
.brand img, .brand .custom-logo { height: 34px; width: auto; }
.brand-mark { width: 30px; height: 30px; }
.brand small { font-weight: 500; color: var(--muted); font-size: .78rem; letter-spacing: 0; margin-left: -2px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 6px; }
.primary-nav a { display: block; padding: .5rem .85rem; font-size: .88rem; color: var(--muted); border-radius: 99px; transition: color .25s, background .25s; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: .6rem 1.1rem; font-size: .86rem; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.theme-toggle:hover { transform: rotate(18deg) scale(1.06); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); place-items: center; }
.menu-toggle span, .menu-toggle span::before { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s; }
.menu-toggle span::before { content: ""; position: absolute; top: 5px; }

/* ---------- Sections (soft, never heavy) ---------- */
.sec { position: relative; isolation: isolate; padding: clamp(72px, 10vw, 140px) 0; }
.sec.tint::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent, var(--bg-tint) 16%, var(--bg-tint) 84%, transparent); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 60px); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; padding: 120px 0 80px; min-height: min(900px, 100svh); }
.fluid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; filter: blur(5px) saturate(1.35); pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--orb-opacity); z-index: -2; pointer-events: none; animation: drift 20s ease-in-out infinite alternate; }
.orb-a { width: 440px; height: 440px; background: rgb(var(--fluid-b)); left: -100px; top: 30px; }
.orb-b { width: 380px; height: 380px; background: rgb(var(--fluid-a)); right: 8%; bottom: -80px; animation-delay: -8s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 72px); align-items: center; }

.water-h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem); font-weight: 600; line-height: 1.03; letter-spacing: -.04em;
  --mx: -400px; --my: -400px;
  background: radial-gradient(circle 190px at var(--mx) var(--my), var(--accent) 0%, var(--accent-2) 38%, var(--text) 78%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  cursor: default; padding-bottom: .06em;
}
.water-h1.wet { filter: url(#kgm-water); }
.typed-line { display: block; min-height: 1.06em; }
.typed, .typed-inline .typed { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; -webkit-text-fill-color: var(--accent); color: var(--accent); }
.caret { display: inline-block; width: .06em; height: .82em; margin-left: .06em; transform: translateY(.08em); background: var(--accent); -webkit-text-fill-color: initial; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { margin-top: 24px; max-width: 52ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 44px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--font-sans); font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.04em; line-height: 1; }
.hero-stats span { font-size: .78rem; color: var(--muted); }

/* ---------- Phone ---------- */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; perspective: 1200px; }
.phone { --w: 290px; width: var(--w); aspect-ratio: 290 / 590; position: relative; border-radius: 46px; padding: 9px; background: linear-gradient(145deg, #3d3027, #120e0b 42%, #2b2018); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .09); transform-style: preserve-3d; transition: transform .25s ease-out; flex: none; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #2b2018; right: -3px; }
.phone::before { top: 120px; height: 56px; }
.phone::after { top: 190px; height: 56px; left: -3px; right: auto; }
.notch { position: absolute; top: 17px; left: 50%; width: 84px; height: 23px; border-radius: 99px; background: #02050a; transform: translateX(-50%); z-index: 6; }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; color: #f6f1ec; font-family: var(--font-body); background: linear-gradient(180deg, #1a120d 0%, #0e0907 70%); padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 12px; }
.screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .07), transparent 30%); }
.status { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; font-weight: 600; height: 22px; padding: 0 6px; }
.status-icons { display: flex; gap: 4px; align-items: center; }
.status-icons i { display: block; width: 14px; height: 8px; border-radius: 2px; background: #f6f1ec; opacity: .9; }
.status-icons i:nth-child(1) { width: 11px; clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.status-icons i:nth-child(3) { width: 20px; border-radius: 3px; }
.app-head { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.app-icon { width: 44px; height: 44px; border-radius: 12px; flex: none; background: linear-gradient(135deg, var(--brand), var(--indigo)); box-shadow: 0 8px 20px -8px rgba(255, 106, 20, .6); position: relative; }
.app-icon::after { content: ""; position: absolute; inset: 11px; border-radius: 50% 50% 50% 8%; background: #0c0a09; opacity: .75; transform: rotate(-20deg); }
.app-icon.sm { width: 34px; height: 34px; border-radius: 10px; }
.app-icon.sm::after { inset: 8px; }
.app-meta { min-width: 0; flex: 1; line-height: 1.25; }
.app-meta strong { display: block; font-size: .92rem; }
.app-meta span { font-size: .68rem; color: #a89c92; }
.install-btn { background: var(--indigo); color: #1a0b02; font-weight: 600; font-size: .72rem; padding: .42rem .9rem; border-radius: 99px; min-width: 62px; transition: background .3s, transform .2s; position: relative; overflow: hidden; }
.install-btn:active { transform: scale(.94); }
.install-btn.busy { background: #4a2a14; }
.install-btn.busy::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--brand); animation: fillbar 1.4s linear forwards; }
.install-btn.done { background: #3a1c0a; color: var(--brand); }
@keyframes fillbar { from { width: 0; } to { width: 100%; } }
.metric .lbl { font-size: .68rem; color: #a89c92; text-transform: uppercase; letter-spacing: .12em; }
.metric .big { display: flex; align-items: baseline; gap: 8px; }
.metric .big b { font-family: var(--font-sans); font-size: 2rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.delta { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--brand); background: rgba(255, 106, 20, .12); padding: .1rem .5rem; border-radius: 99px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 78px; padding: 8px 8px 0; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--indigo), #7a3a0c); height: 10%; transition: height .8s var(--ease), background .4s; }
.bars i:last-child { background: linear-gradient(180deg, var(--brand), #a8470d); }
.screen-label { font-size: .66rem; color: #a89c92; text-transform: uppercase; letter-spacing: .14em; margin-top: 2px; }
.channels { display: grid; gap: 8px; }
.chan { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; padding: .66rem .85rem; border-radius: 14px; font-size: .8rem; font-weight: 500; text-align: left; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); transition: transform .25s var(--ease), background .25s, border-color .25s; }
.chan:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 106, 20, .4); transform: translateX(3px); }
.chan:active { transform: scale(.97); }
.chan span { flex: 1; }
.chan b { color: var(--brand); font-variant-numeric: tabular-nums; font-size: .78rem; }
.ci { width: 22px; height: 22px; border-radius: 7px; flex: none; }
.ci-a { background: linear-gradient(135deg, #ffb347, #e0640a); }
.ci-b { background: linear-gradient(135deg, #ff8a6b, #c2342a); }
.ci-c { background: linear-gradient(135deg, #ffd36c, #d1892a); }
.ci-d { background: linear-gradient(135deg, #ff6a14, #a8470d); }
.chan::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255, 106, 20, .45), transparent 55%); opacity: 0; transform: scale(.2); }
.chan.pop::after { animation: ripple .7s var(--ease); }
@keyframes ripple { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.4); } }
.float-gain { position: absolute; z-index: 8; font-weight: 700; font-size: .85rem; color: var(--brand); pointer-events: none; animation: floatup 1.1s ease-out forwards; text-shadow: 0 0 12px rgba(255, 106, 20, .6); }
@keyframes floatup { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-60px); } }

.chip { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: 2px; padding: .65rem .9rem; border-radius: 14px; font-size: .7rem; color: var(--muted); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.chip b { font-family: var(--font-sans); font-size: 1.15rem; color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chip-installs { top: 56px; left: -20px; }
.chip-cpi { top: 130px; right: -30px; animation-delay: -2s; }
.chip-cpi b { color: var(--accent); }
.chip-rating { bottom: 70px; right: -20px; animation-delay: -4s; }
.chip-toast { top: 160px; left: auto; right: calc(100% - 122px); white-space: nowrap; flex-direction: row; align-items: center; gap: 8px; animation-delay: -1s; color: var(--text); }
.chip-toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(255, 106, 20, .6); animation: pulse 1.8s infinite; }
.chip.bump { animation: none; transform: scale(1.08); transition: transform .2s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 106, 20, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 20, 0); } }
.toast-swap { animation: toastin .5s var(--ease); }
@keyframes toastin { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marq 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: .45rem 1.05rem; border: 1px solid var(--line); border-radius: 99px; font-size: .78rem; color: var(--muted); white-space: nowrap; transition: color .3s, border-color .3s; }
.marquee-track span:hover { color: var(--accent); border-color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ==========================================================================
   APP GROWTH — scroll journey
   ========================================================================== */
.journey-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(30px, 6vw, 90px); align-items: start; }
.steps { position: relative; padding-left: 34px; }
.steps::before { content: ""; position: absolute; left: 7px; top: 24px; bottom: 24px; width: 2px; background: var(--line); border-radius: 2px; }
.steps-fill { position: absolute; left: 7px; top: 24px; width: 2px; height: 0; background: linear-gradient(var(--brand), var(--indigo)); border-radius: 2px; box-shadow: 0 0 14px rgba(255, 106, 20, .6); transition: height .3s linear; }
.step { position: relative; min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; opacity: .28; transition: opacity .5s, transform .6s var(--ease); transform: translateX(-6px); }
.step.active { opacity: 1; transform: none; }
.step::before { content: ""; position: absolute; left: -34px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); transition: all .4s; }
.step.active::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent), 0 0 24px var(--accent); }
.step .num { font-size: .78rem; letter-spacing: .16em; color: var(--accent); font-weight: 600; }
.step h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 6px 0 12px; letter-spacing: -.035em; }
.step p { color: var(--muted); max-width: 44ch; font-size: 1.05rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: .72rem; padding: .3rem .75rem; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.step.active .tags li { border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--text); }
.journey-stage { position: relative; align-self: stretch; }
.stage-sticky { position: sticky; top: 92px; height: calc(651px * var(--s, 1)); display: flex; justify-content: center; }
.phone-lg { --w: 320px; transform: scale(var(--s, 1)); transform-origin: top center; }
.phone-lg .screen { padding-top: 14px; gap: 10px; }
.stage-head { display: flex; justify-content: space-between; align-items: end; padding: 4px 6px 0; }
.stage-head small { font-size: .62rem; letter-spacing: .18em; color: var(--brand); font-weight: 600; display: block; }
.stage-head strong { font-family: var(--font-sans); font-size: 1.2rem; letter-spacing: -.03em; white-space: nowrap; }
.stage-dots { display: flex; gap: 4px; padding-bottom: 6px; }
.stage-dots { flex: none; margin-left: 10px; }
.stage-dots i { width: 9px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); transition: all .4s; }
.stage-dots i.on { width: 20px; background: var(--brand); }
.scenes { position: relative; flex: 1; margin-top: 4px; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transition: opacity .5s, transform .5s var(--ease), visibility 0s .5s; }
.scene.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sc-title { font-size: .68rem; color: #a89c92; letter-spacing: .14em; text-transform: uppercase; }
.stage-note { text-align: center; font-size: .72rem; color: var(--muted); margin-top: 14px; position: absolute; top: calc(651px * var(--s, 1) + 10px); left: 0; right: 0; }

/* scene 1 — strategy */
.roadmap { width: 100%; flex: 1; max-height: 340px; overflow: visible; }
.road-bg, .road { fill: none; stroke-width: 3; stroke-linecap: round; }
.road-bg { stroke: rgba(255, 255, 255, .08); stroke-dasharray: 2 8; }
.road { stroke: url(#roadGrad); stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255, 106, 20, .6)); }
.nd circle { fill: #1a120d; stroke: var(--brand); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.nd text { fill: #f6f1ec; font-size: 11px; font-weight: 600; opacity: 0; font-family: var(--font-body); }
.scene.on .road { animation: draw 3.2s .2s var(--ease) forwards; }
.scene.on .nd circle { animation: popin .5s var(--ease) forwards; animation-delay: calc(var(--i) * .75s); }
.scene.on .nd text { animation: fadein .5s forwards; animation-delay: calc(var(--i) * .75s + .15s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes popin { to { transform: scale(1); } }
@keyframes fadein { to { opacity: 1; } }
.goal { display: flex; align-items: center; gap: 12px; padding: .8rem 1rem; border-radius: 16px; background: rgba(255, 106, 20, .08); border: 1px solid rgba(255, 106, 20, .25); font-size: .82rem; }
.goal i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--brand); position: relative; flex: none; }
.goal i::after { content: ""; position: absolute; inset: 6px; background: var(--brand); border-radius: 50%; }
.scene.on .goal i { animation: pulse 1.6s infinite; }

/* scene 2 — awareness */
.reach b { display: block; font-family: var(--font-sans); font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.reach span { font-size: .75rem; color: #a89c92; }
.rings { position: relative; flex: 1; display: grid; place-items: center; min-height: 250px; }
.rings i { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--brand); opacity: 0; }
.scene.on .rings i { animation: ring 3.6s var(--ease) infinite; animation-delay: calc(var(--i) * 1.2s); }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(4.6); opacity: 0; } }
.rings .core { position: relative; z-index: 2; }
.ad { position: absolute; width: 74px; height: 92px; border-radius: 14px; background: linear-gradient(160deg, #8a4414, #2a1408); border: 1px solid rgba(255, 255, 255, .1); display: grid; place-items: end start; padding: 8px; font-size: .9rem; opacity: 0; box-shadow: 0 16px 30px -14px #000; }
.ad::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 40px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.ad.a1 { left: 2%; top: 6%; } .ad.a2 { right: 0; top: 24%; background: linear-gradient(160deg, #b04c0f, #33160a); } .ad.a3 { left: 12%; bottom: 4%; background: linear-gradient(160deg, #93301c, #2b0f0a); }
.scene.on .ad { animation: adin .7s var(--ease) forwards, bob 5s ease-in-out infinite 1s; animation-delay: calc(var(--i) * .5s); }
@keyframes adin { from { opacity: 0; transform: translateY(24px) scale(.8); } to { opacity: 1; transform: none; } }
.ad .like { color: #ff5a5f; display: inline-block; transform: scale(0); }
.scene.on .ad .like { animation: popin .4s var(--ease) forwards; animation-delay: calc(var(--i) * .5s + .9s); }

/* scene 3 — discovery */
.search { display: flex; align-items: center; gap: 8px; padding: .75rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; min-height: 44px; }
.search::before { content: ""; width: 12px; height: 12px; border: 2px solid #a89c92; border-radius: 50%; flex: none; }
.search .caret { background: var(--brand); height: 1em; width: 2px; }
.results { position: relative; display: grid; grid-template-rows: repeat(5, 64px); gap: 8px; }
.r { display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .05); }
.r-ghost::before { content: ""; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); flex: none; }
.r-ghost::after { content: ""; flex: 1; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); box-shadow: 0 14px 0 -1px rgba(255, 255, 255, .04); margin-bottom: 14px; max-width: 70%; }
.r-us b { font-size: .85rem; display: block; line-height: 1.2; } .r-us small { font-size: .65rem; color: var(--brand); }
.r-us div { flex: 1; }
.r-us { background: rgba(255, 106, 20, .08); border-color: rgba(255, 106, 20, .4); box-shadow: 0 0 0 0 rgba(255, 106, 20, .4); }
.pill { background: var(--indigo); color: #1a0b02; font-size: .7rem; font-weight: 600; padding: .3rem .85rem; border-radius: 99px; }
.scene.on .r-us { animation: rise 1s 2.2s var(--ease) forwards, pulse 1.8s 3.2s infinite; }
.scene.on .r-g1, .scene.on .r-g2 { animation: sink 1s 2.2s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(-136px); } }
@keyframes sink { to { transform: translateY(72px); } }
.badge { font-size: .62rem; padding: .2rem .5rem; border-radius: 6px; background: rgba(255, 106, 20, .15); color: var(--brand); font-weight: 600; }

/* scene 4 — consideration */
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 150px; }
.wave i { width: 5px; border-radius: 5px; background: linear-gradient(var(--brand), var(--indigo)); height: 14px; }
.scene.on .wave i { animation: eq 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -.09s); }
@keyframes eq { 0%, 100% { height: 14px; } 50% { height: calc(30px + var(--h, 60) * 1px); } }
.trk { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.trk i { display: block; height: 100%; width: 0; background: var(--brand); }
.scene.on .trk i { animation: fillbar 15s linear forwards; }
.audio-meta { display: flex; justify-content: space-between; font-size: .7rem; color: #a89c92; }
.stars { display: flex; align-items: center; gap: 8px; padding: .8rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); font-size: .78rem; }
.stars .s { color: #ffd36c; letter-spacing: 2px; position: relative; }
.scene.on .stars .s { animation: fadein .6s 1s both; }
.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trust-row div { padding: .75rem; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); font-size: .7rem; color: #a89c92; }
.trust-row b { display: block; color: #f6f1ec; font-size: 1rem; font-family: var(--font-sans); }

/* scene 5 — install */
.ringwrap { flex: 1; display: grid; place-items: center; position: relative; }
.ringwrap svg { width: 190px; height: 190px; transform: rotate(-90deg); overflow: visible; }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 8; }
.ring-fg { fill: none; stroke: var(--brand); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 8px rgba(255, 106, 20, .7)); }
.scene.on .ring-fg { animation: draw 2.4s .3s var(--ease) forwards; }
.ring-center { position: absolute; display: grid; place-items: center; text-align: center; }
.ring-center .app-icon { width: 70px; height: 70px; border-radius: 18px; }
.ring-center .app-icon::after { inset: 18px; }
.ring-state { position: absolute; bottom: -4px; font-size: .8rem; font-weight: 600; }
.ring-state .st2 { color: var(--brand); opacity: 0; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.ring-state .st1 { opacity: 1; position: relative; white-space: nowrap; }
.scene.on .st1 { animation: fadeout .3s 2.7s forwards; }
.scene.on .st2 { animation: fadein .4s 2.9s forwards; }
@keyframes fadeout { to { opacity: 0; } }
.confetti i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--brand)); opacity: 0; }
.scene.on .confetti i { animation: burst 1.1s 2.7s ease-out forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(320deg); } }
.attrib { display: grid; gap: 8px; }
.attrib div { display: flex; justify-content: space-between; padding: .65rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); font-size: .74rem; color: #a89c92; opacity: 0; }
.attrib b { color: #f6f1ec; font-weight: 600; }
.scene.on .attrib div { animation: adin .6s var(--ease) forwards; animation-delay: calc(3s + var(--i) * .25s); }

/* scene 6 — retention */
.notifs { display: grid; gap: 9px; }
.notif { display: flex; gap: 10px; align-items: center; padding: .7rem .85rem; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(8px); font-size: .74rem; line-height: 1.35; opacity: 0; transform: translateY(-18px); }
.notif .app-icon { width: 30px; height: 30px; border-radius: 9px; }
.notif .app-icon::after { inset: 7px; }
.notif small { display: block; color: #a89c92; font-size: .62rem; }
.scene.on .notif { animation: notifin .7s var(--ease) forwards; animation-delay: calc(var(--i) * 1s + .2s); }
@keyframes notifin { to { opacity: 1; transform: none; } }
.retchart { flex: 1; min-height: 150px; position: relative; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); padding: 10px 12px 22px; }
.retchart svg { width: 100%; height: 100%; overflow: visible; }
.retchart .curve { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255, 106, 20, .6)); }
.retchart .area { fill: url(#retGrad); opacity: 0; }
.scene.on .retchart .curve { animation: draw 2.6s 3s var(--ease) forwards; }
.scene.on .retchart .area { animation: fadein 1s 4.4s forwards; }
.retchart .ax { position: absolute; bottom: 4px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-size: .62rem; color: #a89c92; }

/* scene 7 — reporting */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { padding: .8rem .9rem; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); opacity: 0; transform: translateY(14px); }
.kpi span { font-size: .62rem; color: #a89c92; letter-spacing: .12em; text-transform: uppercase; }
.kpi b { display: block; font-family: var(--font-sans); font-size: 1.55rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: .64rem; color: var(--brand); }
.scene.on .kpi { animation: notifin .6s var(--ease) forwards; animation-delay: calc(var(--i) * .15s); }
.report-bars { flex: 1; min-height: 140px; display: flex; align-items: flex-end; gap: 7px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.report-bars i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(var(--indigo), #7a3a0c); height: calc(var(--h) * 1%); transform: scaleY(0); transform-origin: bottom; }
.report-bars i:nth-child(n+6) { background: linear-gradient(var(--brand), #a8470d); }
.scene.on .report-bars i { animation: grow .8s var(--ease) forwards; animation-delay: calc(var(--i) * .08s + .8s); }
@keyframes grow { to { transform: scaleY(1); } }

/* ==========================================================================
   WEB GROWTH
   ========================================================================== */
.tabs { display: inline-flex; padding: 5px; border-radius: 99px; background: color-mix(in srgb, var(--text) 5%, transparent); border: 1px solid var(--line); margin-bottom: 30px; position: relative; }
.tabs button { position: relative; z-index: 1; padding: .6rem 1.25rem; border-radius: 99px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.tabs button[aria-selected="true"] { color: #1a0b02; }
.tab-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 99px; background: var(--brand); transition: transform .45s var(--ease), width .45s var(--ease); }
.panel { display: none; }
.panel.on { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; animation: panelin .6s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(16px); } }
.card { position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 22px; overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow); }
.card .cap { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card .note { font-size: .68rem; color: var(--muted); opacity: .8; margin-top: 14px; }
.prod-img { height: 130px; border-radius: 16px; margin-bottom: 14px; background: radial-gradient(circle at 30% 20%, #c25a1a, #3a1a0a 60%); position: relative; overflow: hidden; }
.prod-img::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -20px; bottom: -30px; background: rgba(255, 106, 20, .35); filter: blur(24px); }
.price { font-family: var(--font-sans); font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; }
.price s { font-size: .9rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.rate { font-size: .74rem; color: var(--muted); margin: 2px 0 14px; }
.cart-btn { position: relative; }
.cart-btn.bump { animation: cartbump .4s var(--ease); }
@keyframes cartbump { 40% { transform: scale(1.1) rotate(-2deg); } }
.funnel { display: grid; gap: 9px; margin-top: 16px; }
.funnel div { position: relative; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--text) 5%, transparent); overflow: hidden; }
.funnel div i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), #ffc46b); transition: width 1.2s var(--ease); }
.funnel div:last-child i { background: linear-gradient(90deg, var(--brand), #ffb24d); }
.funnel div span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: .74rem; font-weight: 600; color: #2a1206; mix-blend-mode: normal; }
.funnel div:last-child span { color: #1a0b02; }
.funnel div span em { font-style: normal; color: #fff; background: rgba(20, 10, 4, .55); padding: .05rem .5rem; border-radius: 99px; font-variant-numeric: tabular-nums; }
.roas { font-family: var(--font-sans); font-size: 3.4rem; font-weight: 600; letter-spacing: -.05em; color: var(--accent); line-height: 1; margin: 10px 0 14px; font-variant-numeric: tabular-nums; }
.live-line { padding: .65rem .85rem; border-radius: 12px; background: color-mix(in srgb, var(--text) 5%, transparent); font-size: .78rem; margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.live-line .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 1.8s infinite; flex: none; }
.spark { width: 100%; height: 90px; margin-top: 14px; overflow: visible; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.panel.on .spark path { animation: draw 2s .2s var(--ease) forwards; }
.big-num { font-family: var(--font-sans); font-size: 3rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; margin: 12px 0; font-variant-numeric: tabular-nums; }
.creators { display: flex; margin-top: 16px; }
.creators i { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--card); margin-left: -10px; background: linear-gradient(135deg, var(--indigo), var(--brand)); transition: transform .3s var(--ease); }
.creators i:nth-child(2) { background: linear-gradient(135deg, #ffcf9e, #ffa01f); } .creators i:nth-child(3) { background: linear-gradient(135deg, #ffd36c, #ffcf9e); } .creators i:nth-child(4) { background: linear-gradient(135deg, #ff6a14, #ffd36c); }
.creators i:first-child { margin-left: 0; } .creators:hover i { transform: translateY(-5px); }
.web-copy { max-width: 62ch; color: var(--muted); margin-bottom: 26px; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 48px minmax(150px, 1fr) 2fr auto; gap: 18px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .4s; overflow: hidden; }
.svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); transform: translateX(-101%); transition: transform .6s var(--ease); z-index: -1; }
.svc:hover { padding-left: 26px; }
.svc:hover::before { transform: none; }
.svc .ltr { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--accent); border: 1px solid var(--line); transition: all .4s var(--ease); }
.svc:hover .ltr { background: var(--brand); color: #1a0b02; border-color: var(--brand); transform: rotate(360deg); }
.svc h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.svc p { color: var(--muted); font-size: .95rem; }
.svc .more { font-size: .8rem; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; transition: color .3s, transform .4s var(--ease); }
.svc:hover .more { color: var(--accent); transform: translateX(-6px); }
.svc .more svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.svc:hover .more svg { transform: translate(3px, -3px); }

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.cs-scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(20px, calc((100vw - 1200px) / 2)) 24px; scroll-padding-inline: max(20px, calc((100vw - 1200px) / 2)); scrollbar-width: none; cursor: grab; }
.cs-scroller::-webkit-scrollbar { display: none; }
.cs-scroller.drag { cursor: grabbing; scroll-snap-type: none; }
.cs { flex: 0 0 clamp(230px, 22vw, 260px); height: 380px; scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; user-select: none; background: linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 22%, var(--card)), var(--card) 65%); transition: transform .4s var(--ease), border-color .4s; }
.cs:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.cs .who { font-size: .72rem; color: var(--muted); }
.cs .stat { font-family: var(--font-sans); font-size: 2rem; font-weight: 600; letter-spacing: -.045em; margin: 4px 0 14px; color: var(--accent); font-variant-numeric: tabular-nums; }
.cs .play { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; width: fit-content; }
.cs .play i { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; transition: transform .3s var(--ease); }
.cs .play i::after { content: ""; border-left: 8px solid #1a0b02; border-block: 5px solid transparent; margin-left: 2px; }
.cs .play:hover i { transform: scale(1.15); }
.cs svg.line { position: absolute; left: 0; right: 0; top: 40px; width: 100%; height: 170px; overflow: visible; opacity: .9; }
.cs svg.line path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 70%, transparent)); }
.cs svg.line .a { fill: url(#csGrad); stroke: none; opacity: 0; transition: opacity 1s .8s; }
.cs.playing svg.line path:not(.a) { animation: draw 1.8s var(--ease) forwards; }
.cs.playing svg.line .a { opacity: .5; }
.cs .tag { position: absolute; top: 16px; right: 16px; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 99px; border: 1px dashed var(--line); color: var(--muted); }

/* ==========================================================================
   PRESS + BLOG
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.press-card { display: flex; flex-direction: column; gap: 10px; min-height: 190px; }
.press-card .src { font-size: .72rem; color: var(--muted); }
.press-card h3 { font-size: 1.25rem; margin-top: auto; }
.link-arrow { font-size: .82rem; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
a:hover > .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }
.post-card { padding: 0; display: flex; flex-direction: column; }
.post-card .thumb { height: 170px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 40%, var(--card)), var(--card-2)); position: relative; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -30px; top: -40px; background: rgba(var(--fluid-a), .35); filter: blur(30px); }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .meta { font-size: .72rem; color: var(--muted); }
.post-card h3 { font-size: 1.2rem; }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 56px; }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: .96rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: stretch; }
.form-card, .live-card { padding: clamp(22px, 3vw, 34px); }
.form-card form { display: grid; gap: 12px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { width: 100%; padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--text) 4%, transparent); color: var(--text); font: inherit; font-size: .92rem; transition: border-color .3s, background .3s, box-shadow .3s; }
.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); background: color-mix(in srgb, var(--text) 6%, transparent); }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
select.field option { color: #1d1a18; }
textarea.field { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-card .btn { justify-content: center; width: 100%; padding: 1rem; }
.form-msg { font-size: .88rem; padding: .8rem 1rem; border-radius: 12px; background: rgba(255, 106, 20, .12); color: var(--accent); display: none; }
.form-msg.show { display: block; }
.form-msg.err { background: rgba(255, 110, 110, .12); color: #ff8b8b; }
.live-card { display: flex; flex-direction: column; gap: 6px; }
.live-card .roas { margin: 4px 0 0; font-size: clamp(3rem, 6vw, 4.2rem); }
.live-card .sub { font-size: .8rem; color: var(--muted); }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.tri b { display: block; font-family: var(--font-sans); font-size: 1.4rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tri span { font-size: .68rem; color: var(--muted); }
.final-cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; margin-bottom: 36px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.foot nav ul { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a:hover { color: var(--accent); }
.copy-btn { margin-left: 8px; padding: .15rem .55rem; border-radius: 6px; border: 1px solid var(--line); font-size: .7rem; }

/* ==========================================================================
   Generic WP content (index / single / page / 404)
   ========================================================================== */
.page-wrap { padding: 150px 0 100px; min-height: 70vh; }
.entry { max-width: 760px; }
.entry h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
.entry .meta { color: var(--muted); font-size: .85rem; margin-bottom: 28px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.3em; } .entry-content ol { list-style: decimal; padding-left: 1.3em; }
.entry-content img { border-radius: 16px; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 1em; color: var(--muted); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.pagination { margin-top: 40px; display: flex; gap: 10px; }
.pagination a, .pagination span { padding: .5rem .9rem; border-radius: 99px; border: 1px solid var(--line); }
.pagination .current { background: var(--brand); color: #1a0b02; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 620px; margin-top: 20px; }
  .chip-installs { left: 2%; } .chip-cpi { right: 2%; } .chip-rating { right: 6%; } .chip-toast { right: auto; left: 0; top: 170px; }
  .panel.on, .grid-3, .posts-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .primary-nav { position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 20px 24px; transform: translateY(-120%); transition: transform .4s var(--ease); margin: 0; }
  .primary-nav.open { transform: none; }
  .primary-nav ul { flex-direction: column; }
  .primary-nav a { font-size: 1rem; padding: .8rem 1rem; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .journey-grid { display: flex; flex-direction: column; align-items: stretch; }
  .journey-stage { order: -1; position: sticky; top: 64px; z-index: 5; background: linear-gradient(var(--bg) 88%, transparent); padding: 8px 0 12px; margin: 0 -20px; align-self: auto; }
  .stage-sticky { position: relative; top: 0; }
  .stage-note { display: none; }
  .step { min-height: 46vh; }
  .svc { grid-template-columns: 40px 1fr auto; } .svc p { grid-column: 2 / 3; grid-row: 2; } .svc .more { grid-row: 1; grid-column: 3; }
}
@media (max-width: 680px) {
  .panel.on, .grid-3, .posts-grid, .faq-grid, .row-2 { grid-template-columns: 1fr; }
  .chip-toast { display: none; }
  .hero { padding-top: 100px; }
  .svc:hover { padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .fluid, .orb { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- additions ---- */
.sc-foot { text-align: center; font-size: .6rem; color: #7a6e64; letter-spacing: .08em; margin: 0; padding-top: 2px; }
.scene .app-icon.core { width: 64px; height: 64px; border-radius: 18px; }
.scene .app-icon.core::after { inset: 16px; }
.nav-links, .navigation.pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.navigation.pagination { margin-top: 40px; }
.navigation.pagination .page-numbers { padding: .5rem .9rem; border-radius: 99px; border: 1px solid var(--line); }
.navigation.pagination .current { background: var(--brand); color: #1a0b02; border-color: var(--brand); }

/* ---- logo (swaps with theme) ---- */
.brand .logo { height: 58px; width: auto; display: block; }
.brand .logo.logo-full { height: 92px; }
.logo-on-light { display: none !important; }
[data-theme="light"] .logo-on-light { display: block !important; }
[data-theme="light"] .logo-on-dark { display: none !important; }
@media (max-width: 680px) { .brand .logo { height: 46px; } }

/* ==========================================================================
   DARK THEME — calmer pass (scoped to dark only; light is untouched)
   Softer peach-orange instead of full-saturation orange, fewer glows,
   neutral charcoal surfaces so the brand colour accents rather than floods.
   ========================================================================== */
html[data-theme="dark"] { --brand: #f08a4b; --indigo: #d9a96a; --fluid-k: .55; }
[data-theme="dark"] .btn-primary { box-shadow: 0 8px 22px -14px rgba(240, 138, 75, .4); }
[data-theme="dark"] .btn-primary:hover { box-shadow: 0 12px 28px -14px rgba(240, 138, 75, .5); }
[data-theme="dark"] .fluid { filter: blur(6px) saturate(.85); }
[data-theme="dark"] .water-h1 { background-image: radial-gradient(circle 190px at var(--mx) var(--my), #f7d3b4 0%, #e9bf98 40%, var(--text) 80%); }
[data-theme="dark"] .steps-fill { box-shadow: none; }
[data-theme="dark"] .step.active::before { box-shadow: 0 0 0 5px rgba(242, 162, 115, .14); }
[data-theme="dark"] .road, [data-theme="dark"] .ring-fg, [data-theme="dark"] .retchart .curve, [data-theme="dark"] .cs svg.line path { filter: none; }
[data-theme="dark"] .float-gain { text-shadow: none; }
[data-theme="dark"] .app-icon { box-shadow: none; }
[data-theme="dark"] .ci-a { background: linear-gradient(135deg, #e8b878, #a77a42); }
[data-theme="dark"] .ci-b { background: linear-gradient(135deg, #d99a88, #9a5246); }
[data-theme="dark"] .ci-c { background: linear-gradient(135deg, #e6d4a0, #a8944a); }
[data-theme="dark"] .ci-d { background: linear-gradient(135deg, #f2a273, #a9602f); }
[data-theme="dark"] .goal { background: rgba(240, 138, 75, .07); border-color: rgba(240, 138, 75, .2); }
[data-theme="dark"] .r-us { background: rgba(240, 138, 75, .06); border-color: rgba(240, 138, 75, .28); }
[data-theme="dark"] .delta { background: rgba(240, 138, 75, .12); }
[data-theme="dark"] .prod-img { background: radial-gradient(circle at 30% 20%, #6a4c3a, #2a1f1a 62%); }
[data-theme="dark"] .prod-img::after { background: rgba(240, 138, 75, .2); }
[data-theme="dark"] .cs { background: linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 9%, var(--card)), var(--card) 65%); }
[data-theme="dark"] .post-card .thumb { background: linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 14%, var(--card)), var(--card-2)); }
[data-theme="dark"] .post-card .thumb::after { opacity: .45; }
[data-theme="dark"] .svc::before { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%); }
