/* ============================================================
   MEDIA SLAYER — HOMEPAGE ("trade-show floor")
   Layout concept: a booth sequence — split hero stage with live
   floating product cards → angled ticker → giant stat band →
   platform wall → bento capabilities → live configurator →
   concept builds → process rail → pricing → FAQ → closing banner.
   Uses tokens from style.css only.
   ============================================================ */

:root { color-scheme: dark; }

/* ---------- HERO STAGE ---------- */
.hx { padding: clamp(120px, 14vw, 160px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hx::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 72% 30%, rgba(255, 63, 115, 0.22), transparent 70%),
    radial-gradient(35% 40% at 20% 10%, rgba(192, 101, 232, 0.14), transparent 70%);
}
.hx::after { /* fine grid floor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hx #hero-canvas { opacity: 0.55; }
.hx-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1020px) { .hx-grid { grid-template-columns: minmax(0, 1fr); } }
.hx-copy { min-width: 0; }
.hx h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; margin-bottom: 0.35em; }
.hx-sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 540px; margin-bottom: 32px; }
.hx .prompt-box { margin: 0; max-width: 600px; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--text-faint); font-size: 0.8rem; font-family: var(--font-mono); }
.hx-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hx-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6fe3a8; box-shadow: 0 0 8px #6fe3a8; }

/* stage */
.stage { position: relative; min-width: 0; padding: 28px 0 40px; }
.browser {
  background: #24152b; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 63, 115, 0.08);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #2c1a33; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3d2a45; display: block; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { margin-left: 10px; flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); background: #1b1020; border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url b { color: #6fe3a8; font-weight: 500; }
.mini-site { position: relative; width: 100%; aspect-ratio: 16 / 10.5; overflow: hidden; background: #fff; }
.mini-site iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 840px; border: 0; transform-origin: 0 0; pointer-events: none; }
.mini-site .build-sweep { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 63, 115, 0.18) 50%, transparent 70%); transform: translateX(-100%); pointer-events: none; }
.mini-site.is-building .build-sweep { animation: sweep 0.9s var(--ease); }
@keyframes sweep { to { transform: translateX(100%); } }

.float {
  position: absolute; z-index: 3; background: rgba(42, 25, 50, 0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 16px; font-size: 0.82rem;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8); animation: bob 6s ease-in-out infinite;
}
.float strong { display: block; color: var(--text); font-size: 0.86rem; }
.float small { color: var(--text-faint); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.float-call { left: -28px; bottom: 6px; width: 230px; border-color: rgba(192, 101, 232, 0.45); }
.float-call .waveform { height: 26px; margin: 10px 0 8px; }
.float-call p { margin: 0; font-size: 0.78rem; line-height: 1.45; }
.float-seo { right: -18px; top: 0; width: 196px; animation-delay: -2s; }
.float-seo svg { display: block; width: 100%; height: 46px; margin-top: 8px; }
.float-review { right: 18px; bottom: -6px; animation-delay: -4s; display: flex; align-items: center; gap: 12px; }
.float-review .stars { color: #ffb23d; letter-spacing: 2px; font-size: 0.95rem; }
.float-lead { left: 12%; top: -4px; animation-delay: -3s; display: flex; align-items: center; gap: 10px; border-color: rgba(111, 227, 168, 0.35); }
.float-lead .ping { width: 9px; height: 9px; border-radius: 50%; background: #6fe3a8; box-shadow: 0 0 0 0 rgba(111, 227, 168, 0.6); animation: ping 1.8s infinite; flex-shrink: 0; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(111, 227, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 227, 168, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.stage-note { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 1020px) { .float-call { left: 0; } .float-seo { right: 0; } }
@media (max-width: 560px) {
  .float-seo, .float-lead { display: none; }
  .float-call { position: relative; left: auto; bottom: auto; width: auto; margin-top: 14px; animation: none; }
  .float-review { position: relative; right: auto; bottom: auto; margin-top: 10px; animation: none; }
}

/* ---------- ANGLED TICKER ---------- */
.ticker-wrap { overflow: hidden; padding: 28px 0; margin: -28px 0; position: relative; z-index: 3; }
.ticker { position: relative; margin: 0 -3%; transform: rotate(-2deg); background: var(--grad-slash); padding: 16px 0; overflow: hidden; box-shadow: 0 20px 60px -20px rgba(255, 63, 115, 0.6); }
.ticker-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ticker-track span { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: #1b1020; text-transform: uppercase; letter-spacing: 0.02em; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; font-size: 0.8em; }

/* ---------- STAT BAND ---------- */
.stats { padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 7vw, 80px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 880px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: 34px 24px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
@media (max-width: 880px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; background: var(--grad-slash); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 12px 0 0; font-size: 0.92rem; max-width: 220px; }

/* ---------- PLATFORM WALL ---------- */
.wall { padding-bottom: clamp(56px, 8vw, 96px); }
.wall-label { text-align: center; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 26px; }
.wall .marquee + .marquee { margin-top: 14px; }
.wall .marquee-track.rev { animation-direction: reverse; animation-duration: 38s; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--text-faint); padding: 14px 34px; border: 1px solid var(--line); border-radius: 14px; white-space: nowrap; transition: color 0.3s, border-color 0.3s; }
.wordmark:hover { color: var(--text); border-color: rgba(255, 63, 115, 0.45); }

/* ---------- BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile {
  position: relative; overflow: hidden; min-width: 0; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tile::before { /* spotlight that follows the cursor (js sets --mx/--my) */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 63, 115, 0.12), transparent 60%);
}
.tile:hover { border-color: rgba(255, 63, 115, 0.4); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0 0 8px; }
.tile p { font-size: 0.93rem; margin: 0; max-width: 46ch; }
.tile .card-link { margin-top: auto; padding-top: 18px; }
.tile-visual { margin-bottom: 22px; min-height: 120px; position: relative; }
.t-web { grid-column: span 4; }
.t-voice { grid-column: span 2; border-color: rgba(192, 101, 232, 0.3); }
.t-seo, .t-ghl, .t-brand { grid-column: span 2; }
.t-reviews { grid-column: span 6; }
@media (max-width: 980px) { .t-web, .t-reviews { grid-column: span 6; } .t-voice, .t-seo, .t-ghl, .t-brand { grid-column: span 3; } }
@media (max-width: 640px) { .bento > .tile { grid-column: span 6; } }

/* tile visuals */
.v-web { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v-web .mini-site { border-radius: 10px; border: 1px solid var(--line-strong); aspect-ratio: 4 / 3; }
.v-voice { display: flex; flex-direction: column; gap: 10px; }
.v-voice .bubble { font-size: 0.78rem; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text-dim); max-width: 92%; }
.v-voice .bubble.ai { align-self: flex-end; background: rgba(192, 101, 232, 0.14); border-color: rgba(192, 101, 232, 0.35); color: var(--text); }
.v-seo svg, .v-ghl svg { width: 100%; height: 130px; display: block; }
.v-seo .rank-line { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease); }
.tile.is-visible .rank-line, .tile:hover .rank-line { stroke-dashoffset: 0; }
.v-ghl .flow { stroke-dasharray: 5 6; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.v-brand { display: flex; flex-direction: column; gap: 12px; }
.v-brand .swatches { display: flex; gap: 8px; }
.v-brand .swatches i { flex: 1; height: 52px; border-radius: 10px; display: block; transition: transform 0.3s var(--ease); }
.tile:hover .v-brand .swatches i:nth-child(odd) { transform: translateY(-6px); }
.v-brand .specimen { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.v-brand .specimen span { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; color: var(--text-faint); letter-spacing: 0; margin-left: 8px; }
.t-reviews { flex-direction: row; align-items: center; gap: clamp(24px, 4vw, 56px); }
.t-reviews .tile-copy { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; }
.t-reviews .tile-visual { flex: 1.3 1 360px; margin: 0; min-width: 0; }
@media (max-width: 760px) { .t-reviews { flex-direction: column; align-items: stretch; } }
.v-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .v-reviews { grid-template-columns: minmax(0, 1fr); } }
.rv { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 0.8rem; }
.rv .stars { color: #ffb23d; letter-spacing: 2px; }
.rv .src { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; display: flex; justify-content: space-between; margin-bottom: 6px; }
.rv p { margin: 6px 0 0; font-size: 0.8rem; }
.rv .reply { margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--ember); color: var(--text-faint); font-size: 0.76rem; }
.sample-tag { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; background: rgba(27, 16, 32, 0.6); }

/* ---------- LIVE CONFIGURATOR ---------- */
.config { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 920px) { .config { grid-template-columns: minmax(0, 1fr); } }
.config-panel { background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.config-panel .lbl { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.82rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-dim); cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.chip:hover { color: var(--text); border-color: var(--red); }
.chip[aria-pressed="true"] { background: var(--grad-slash); color: #1b1020; border-color: transparent; }
.swatch-row { display: flex; gap: 10px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 3px var(--bg-card); }
.swatch[aria-pressed="true"] { border-color: var(--text); }
.config-panel input[type="text"] { width: 100%; background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; color: var(--text); font: inherit; font-size: 0.95rem; outline: none; }
.config-panel input[type="text"]:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 63, 115, 0.15); }
.config-stage { position: relative; min-width: 0; }
.config-stage .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s var(--ease); }
.config-stage:hover .browser { transform: none; }
@media (max-width: 920px) { .config-stage .browser { transform: none; } }

/* ---------- CONCEPT BUILDS ---------- */
.builds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .builds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .builds { grid-template-columns: minmax(0, 1fr); } }
.build { display: block; min-width: 0; }
.build .browser { transition: transform 0.4s var(--ease), border-color 0.4s; }
.build:hover .browser { transform: translateY(-8px) rotate(-0.6deg); border-color: rgba(255, 63, 115, 0.45); }
.build .mini-site { aspect-ratio: 4 / 3.4; }
.build-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.build-meta h3 { font-size: 1.1rem; margin: 0; }
.build-meta span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ember); white-space: nowrap; }

/* ---------- PROCESS RAIL ---------- */
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; }
.rail::before { content: ""; position: absolute; top: 27px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, var(--red), var(--ember), var(--violet)); opacity: 0.5; }
@media (max-width: 880px) { .rail { grid-template-columns: minmax(0, 1fr); } .rail::before { display: none; } }
.rail-step { position: relative; min-width: 0; }
.rail-dot { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; background: var(--bg); border: 2px solid var(--red); color: var(--text); margin-bottom: 20px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(255, 63, 115, 0.35); }
.rail-step h3 { font-size: 1.2rem; }
.rail-step p { font-size: 0.92rem; margin: 0; }

/* ---------- PRICING TEASER ---------- */
.price-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 880px) { .price-strip { grid-template-columns: minmax(0, 1fr); } }
.pt { background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pt.is-featured { border-color: var(--red); box-shadow: var(--shadow-glow); }
.pt .name { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); }
.pt .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.pt .amt small { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-faint); font-weight: 600; letter-spacing: 0; }
.pt p { font-size: 0.9rem; margin: 4px 0 16px; }
.pt .btn { margin-top: auto; align-self: flex-start; }

/* ---------- CLOSING BANNER ---------- */
.closer { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px); background: var(--grad-slash); color: #1b1020; }
.closer::after { content: ""; position: absolute; right: -8%; top: -40%; width: 60%; height: 180%; background: #1b1020; transform: rotate(18deg); opacity: 0.92; }
.closer-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .closer::after { display: none; } .closer-inner { grid-template-columns: minmax(0, 1fr); } }
.closer h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1; color: #1b1020; text-wrap: balance; }
.closer p { color: rgba(27, 16, 32, 0.75); font-size: 1.05rem; max-width: 440px; }
.closer-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (min-width: 861px) { .closer-actions { align-items: stretch; padding-left: 8%; } }
.btn-dark { background: #1b1020; color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.closer .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
@media (max-width: 860px) { .closer .btn-ghost { color: #1b1020; border-color: rgba(27, 16, 32, 0.35); } }

@media (prefers-reduced-motion: reduce) {
  .float, .ticker-track, .v-ghl .flow { animation: none !important; }
}

/* ---------- hero call card (player) ---------- */
.float-call .vp-head small { display: block; }
.float-call .vp-head strong { font-size: 0.84rem; }
.float-call .vp-viz { height: 30px; margin: 10px 0 8px; }
.v-voice .vp-now { min-height: 4.4em; }

/* ---------- SAVINGS CALCULATOR ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 44px); align-items: start; }
@media (max-width: 980px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-panel { background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 981px) and (min-height: 1400px) { .calc-panel { position: sticky; top: 96px; } }
.calc-panel fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.calc-panel legend { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; padding: 0; }
.rng label { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; font-weight: 600; color: var(--text-dim); margin-bottom: 10px; }
.rng output { color: var(--text); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rng input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--red) 0, var(--ember) var(--fill, 50%), rgba(255, 255, 255, 0.1) var(--fill, 50%)); }
.rng input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--red); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.rng input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.rng input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(255, 63, 115, 0.35); }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--bg-raised); border: 1px solid var(--line); }
.seg button { flex: 1; border: 0; background: transparent; color: var(--text-dim); font: 700 0.78rem var(--font-body); padding: 9px 6px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--grad-slash); color: #1b1020; }

.calc-out { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.calc-total { border-radius: 22px; padding: 26px 28px; background: linear-gradient(135deg, rgba(255, 63, 115, 0.16), rgba(192, 101, 232, 0.12)); border: 1px solid rgba(255, 63, 115, 0.35); }
.calc .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); display: inline-flex; align-items: center; gap: 8px; }
.calc-total .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.04em; margin: 10px 0 8px; font-variant-numeric: tabular-nums; background: var(--grad-slash); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc .s { font-size: 0.85rem; color: var(--text-faint); }
.calc-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; min-width: 0; }
.calc-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.calc .pill { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-faint); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: end; }
.calc-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; }
@media (max-width: 560px) { .calc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calc-row > :first-child { grid-column: 1 / -1; } .calc-row-3 { grid-template-columns: minmax(0, 1fr); } }
.calc-card .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.mini b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.mini span { font-size: 0.78rem; color: var(--text-faint); }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.sw-voice { background: #c065e8; } .sw-seo { background: #e8622a; } .sw-team { background: #5a4660; }
.split { margin-top: 20px; }
.split-bar { display: flex; gap: 2px; height: 16px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.split-bar i { display: block; height: 100%; width: 0; transition: width 1s var(--ease); }
.split-bar .seg-a { background: #5a4660; border-radius: 4px 0 0 4px; }
.split-bar .seg-m { background: #c065e8; border-radius: 0 4px 4px 0; }
.split-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 0.8rem; color: var(--text-dim); }
.split-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.chart-wrap { position: relative; }
#sv-chart { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
#sv-chart .ax { font-family: var(--font-mono); font-size: 11px; fill: var(--text-faint); }
#sv-chart .ax-strong { fill: var(--text-dim); font-weight: 500; }
.sv-tip { position: absolute; width: 150px; pointer-events: none; background: rgba(27, 16, 32, 0.94); border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 11px; font-size: 0.76rem; display: flex; flex-direction: column; gap: 2px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.sv-tip b { color: var(--text); font-size: 0.8rem; }
.calc-note { font-size: 0.78rem; color: var(--text-faint); max-width: 860px; margin: 24px 0 0; line-height: 1.6; }
.sv-tip[hidden] { display: none; }
.build .mini-site .build-open { position: absolute; z-index: 2; right: 12px; bottom: 12px; font: 700 0.78rem var(--font-body); color: #fff; background: rgba(27, 16, 32, 0.82); border: 1px solid rgba(255, 255, 255, 0.18); padding: 7px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
.build:hover .build-open, .build:focus-visible .build-open { opacity: 1; transform: none; }
@media (hover: none) { .build .mini-site .build-open { opacity: 1; transform: none; } }
a.mini-site { display: block; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
a.mini-site:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(255, 63, 115, 0.5); }
a.stage-note:hover { color: var(--text); }
.funnel { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: rgba(192, 101, 232, 0.08); border: 1px solid rgba(192, 101, 232, 0.25); flex-wrap: wrap; }
.funnel > i { font-style: normal; color: #c065e8; font-weight: 800; }
.fn { min-width: 0; }
.fn b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fn span { font-size: 0.72rem; color: var(--text-faint); }
.fn-end b { color: #e3b6f5; }
.uplift { margin: 16px 0 0; font-size: 0.84rem; color: var(--text-dim); }
.uplift .sw { vertical-align: 1px; margin-right: 4px; }
.uplift b { color: var(--text); }
@media (max-width: 560px) { .funnel > i { display: none; } .funnel { display: grid; grid-template-columns: 1fr 1fr; } }

/* ---------- GET SEEN / FOUND / CHOSEN ---------- */
.gfc { overflow: hidden; }
.gfc-head { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.gfc-head .eyebrow { justify-content: center; }
.gfc-title { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.035em; margin: 6px 0 22px; text-wrap: balance; }
.gfc-title span { display: inline-block; }
.gfc-head p { font-size: 1.08rem; max-width: 700px; margin: 0 auto; }
.gfc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .gfc-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
.pillar { background: var(--bg-card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform 0.3s var(--ease), border-color 0.3s; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(255, 63, 115, 0.4); }
.pillar-visual { height: 280px; position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.p-seen .pillar-visual { background: radial-gradient(80% 80% at 50% 0%, rgba(255, 106, 58, 0.22), transparent 70%), #26172d; }
.p-found .pillar-visual { background: radial-gradient(80% 80% at 50% 0%, rgba(34, 197, 94, 0.16), transparent 70%), #26172d; }
.p-chosen .pillar-visual { background: radial-gradient(80% 80% at 50% 0%, rgba(192, 101, 232, 0.22), transparent 70%), #26172d; }
.pillar-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.pillar-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ember); letter-spacing: 0.14em; }
.pillar h3 { font-size: 1.7rem; margin: 6px 0 10px; }
.pillar p { font-size: 0.95rem; margin-bottom: 18px; }
.pillar ul { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.pillar li { font-size: 0.9rem; color: var(--text-dim); display: flex; gap: 10px; }
.pillar li::before { content: "✓"; color: #6fe3a8; font-weight: 800; }

/* magazine cover */
.mag { position: relative; width: 168px; aspect-ratio: 8.5 / 11; border-radius: 4px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.9), 14px 14px 0 -6px rgba(255, 255, 255, 0.06); background: linear-gradient(160deg, #1d6fd6, #0a1f3c 55%, #ff7a1a); transition: transform 0.4s var(--ease); }
.pillar:hover .mag { transform: rotate(-1deg) scale(1.04); }
.mag-photo { position: absolute; inset: 0; }
.mag-photo img { width: 100%; height: 100%; object-fit: cover; }
.mag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 35%, transparent 50%, rgba(0, 0, 0, 0.8)); }
.mag-top, .mag-story { position: absolute; left: 10px; right: 10px; z-index: 1; color: #fff; }
.mag-top { top: 8px; display: flex; flex-direction: column; }
.mag-kicker { font: 600 6px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.mag-title { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 31px; line-height: 0.95; letter-spacing: -0.02em; }
.mag-sub { font: 700 7px var(--font-body); letter-spacing: 0.3em; text-transform: uppercase; color: #ffb23d; }
.mag-story { bottom: 10px; display: flex; flex-direction: column; gap: 3px; }
.mag-tag { align-self: flex-start; font: 800 5.5px var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; background: #ff3f73; padding: 2px 5px; border-radius: 2px; }
.mag-story b { font-family: Georgia, serif; font-size: 12px; line-height: 1.1; }
.mag-story > span:last-child { font-size: 6.5px; opacity: 0.85; }

/* google local pack */
.pack { width: 100%; max-width: 270px; background: #f8fafc; color: #1f2937; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); font-family: Arial, Helvetica, sans-serif; }
.pack-search { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 9px 12px; border-bottom: 1px solid #e5e7eb; color: #374151; }
.pack-search .dot { width: 9px; height: 9px; border: 2px solid #9ca3af; border-radius: 50%; }
.pack-map { position: relative; height: 88px; background: linear-gradient(115deg, transparent 47%, #fde68a 47%, #fde68a 51%, transparent 51%), linear-gradient(25deg, transparent 60%, #e5e7eb 60%, #e5e7eb 63%, transparent 63%), linear-gradient(0deg, #e8efe6, #eef2f7); }
.pack-map i { position: absolute; width: 20px; height: 20px; margin: -10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9ca3af; color: #fff; font: 700 10px Arial; display: grid; place-items: center; font-style: normal; }
.pack-map i.win { background: #ef4444; width: 24px; height: 24px; margin: -12px; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2); }
.pack-row { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid #e5e7eb; font-size: 11px; }
.pack-row b { width: 20px; height: 20px; border-radius: 50%; background: #e5e7eb; display: grid; place-items: center; flex-shrink: 0; }
.pack-row.win { background: #ecfdf5; }
.pack-row.win b { background: #22c55e; color: #fff; }
.pack-row strong { display: block; font-size: 12px; }
.pack-row span { color: #b45309; }

/* chosen stack */
.choose { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 270px; }
.ch-card { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; backdrop-filter: blur(8px); animation: bob 6s ease-in-out infinite; }
.ch-card:nth-child(2) { animation-delay: -2s; margin-left: 18px; }
.ch-card:nth-child(3) { animation-delay: -4s; }
.ch-card strong { display: block; font-size: 0.86rem; }
.ch-card span { font-size: 0.74rem; color: var(--text-faint); }
.ch-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: #c065e8; }
.ch-ico.star { background: #eab308; color: #1a1205; }
.ch-ico.lead { background: var(--red); }
.gfc-flow { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); flex-wrap: wrap; }
.gfc-flow i { width: 60px; height: 2px; background: var(--grad-slash); border-radius: 2px; }
@media (max-width: 560px) { .gfc-flow i { width: 24px; } }

/* ---------- RANK HEAT MAP ---------- */
.rm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 28px; align-items: start; }
@media (max-width: 920px) { .rm { grid-template-columns: minmax(0, 1fr); } }
.rm-map { background: #1f1226; border: 1px solid var(--line-strong); border-radius: 22px; overflow: hidden; min-width: 0; }
.rm-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.rm-bar .seg { min-width: 240px; }
.rm-kw { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }
.rm-kw .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
#rm-svg { display: block; width: 100%; height: auto; }
#rm-svg .pin { transform-box: fill-box; transform-origin: center; transition: transform 0.35s var(--ease); }
#rm-svg .pin.pop { animation: rm-pop 0.45s var(--ease); }
@keyframes rm-pop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }
#rm-svg .pin circle { transition: fill 0.35s; }
#rm-svg .pin:hover { transform: scale(1.15); }
.rm-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rm-biz { display: flex; gap: 12px; align-items: center; background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.rm-biz strong { display: block; } .rm-biz span { font-size: 0.8rem; color: var(--text-faint); }
.rm-pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); flex-shrink: 0; box-shadow: 0 0 0 6px rgba(255, 63, 115, 0.18); }
.rm-stat { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.rm-stat .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); display: block; }
.rm-stat b { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.rm-stat .s { font-size: 0.8rem; color: #6fe3a8; }
.rm-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.8rem; color: var(--text-dim); padding: 4px 2px; }
.rm-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rm-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.rm-note { font-size: 0.76rem; color: var(--text-faint); margin: 0; }
.rng-hint { display: block; margin-top: 6px; font-size: 0.7rem; color: var(--text-faint); font-family: var(--font-mono); }
.calc-total .v, .calc-card .v { overflow-wrap: anywhere; }
.sw-up { background: #3dd6c0; }
.up-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.up-ring { position: relative; width: 84px; height: 84px; flex-shrink: 0; }
.up-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.up-ring circle { fill: none; stroke-width: 5; }
.up-track { stroke: rgba(255, 255, 255, 0.08); }
.up-arc { stroke: #3dd6c0; stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 79.2; transition: stroke-dashoffset 0.9s var(--ease); }
.up-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.up-funnel { background: rgba(61, 214, 192, 0.07); border-color: rgba(61, 214, 192, 0.25); }
.up-funnel > i { color: #3dd6c0; }
.up-funnel .fn-end b { color: #7ff0de; }
.sw-ads { background: #ef4444; } .uplift.wasted b { color: #ff8a8a; }

/* ============================================================
   PLUM REFINEMENT: homepage
   ============================================================ */
.hx::before { opacity: 0.55; }
.hx::after { display: none; }
.hx h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.035em; }
.hx-trust span::before { background: var(--ok); box-shadow: none; }

.float, .ch-card { animation: none; }
.float { border-radius: 12px; background: rgba(42, 25, 50, 0.94); }
.float small, .stage-note, .browser-url, .rv .src, .sample-tag, .wall-label, .config-panel .lbl,
.build-meta span, .pt .name, .calc-panel legend, .calc .k, .calc .pill, .rm-stat .k, .rm-kw,
.rng-hint, .gfc-flow, .pillar-num {
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
}
.float small { font-size: 0.74rem; }
.stage-note { font-size: 0.8rem; }
.wall-label { font-size: 0.95rem; color: var(--text-dim); }
.config-panel .lbl { font-size: 0.9rem; font-weight: 600; color: var(--text-dim); }
.calc-panel legend { font-size: 0.95rem; font-weight: 700; }
.calc .k, .rm-stat .k { font-size: 0.85rem; font-weight: 600; }
.pt .name { font-size: 0.95rem; font-weight: 700; }
.pillar-num { font-size: 0.85rem; font-weight: 700; }
.gfc-flow { font-size: 0.9rem; font-weight: 600; }
.browser { border-radius: 14px; }

/* ticker: flat band in the logo gradient, the logo's star as the separator */
.ticker-wrap { padding: 0; margin: 0; }
.ticker { transform: none; margin: 0; box-shadow: none; padding: 14px 0; }
.ticker-track span { color: #fff; font-weight: 600; text-transform: none; letter-spacing: -0.01em; font-size: clamp(1rem, 1.8vw, 1.3rem); }

.stat-num { font-weight: 600; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.04em; }
.stat-num em { background: none; color: var(--ember); }
.wordmark { font-weight: 500; font-size: clamp(0.95rem, 1.5vw, 1.2rem); border-radius: 12px; }
.wordmark:hover { border-color: var(--line-strong); }

.tile { border-radius: 18px; }
.tile::before { display: none; }
.tile:hover { transform: none; border-color: var(--line-strong); }
.pillar { border-radius: 18px; }
.pillar:hover { transform: none; border-color: var(--line-strong); }
.pillar li::before { color: var(--ok); }
.pillar:hover .mag { transform: rotate(-4deg); }

.chip, .seg button { border-radius: 8px; }
.seg { border-radius: 10px; }
.chip[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--red); color: var(--ink); }
.chip:hover { border-color: var(--text-dim); }
.config-stage .browser { transform: none; }
.build:hover .browser { transform: translateY(-4px); border-color: var(--line-strong); }
a.mini-site:hover { transform: none; box-shadow: none; }

.rail::before { background: var(--line-strong); opacity: 1; }
.rail-dot { background: var(--bg-raised); border-color: var(--red); box-shadow: 0 0 0 8px var(--bg-raised); font-weight: 600; }

.pt { border-radius: 18px; }
.pt.is-featured { box-shadow: none; border-width: 1.5px; }
.pt .amt { font-weight: 600; font-size: 2.2rem; }

.calc-total { background: var(--bg-card); border-color: rgba(255, 63, 115, 0.45); }
.calc-total .v { background: none; color: var(--text); font-weight: 600; }
.calc-card .v, .mini b, .fn b, .rm-stat b, .up-ring b { font-weight: 600; }
.rm-kw .dot { box-shadow: none; }

.closer { border-radius: 24px; color: #fff; }
.closer::after { background: var(--bg); }
.closer h2 { color: #fff; }
.closer p { color: rgba(255, 255, 255, 0.88); }
.btn-dark { background: var(--bg); color: #fff; }
.btn-dark:hover { background: var(--bg-raised); transform: none; }
.closer .btn-ghost, .closer .btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
@media (max-width: 860px) { .closer .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); } }
