/* ============================================================
   Panda Ads — landing styles
   Token-driven. Three style presets via [data-style].
   ============================================================ */

/* ---- Fonts (tweakable via --font-*) ---- */
:root {
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* accent (overridable by tweak) */
  --accent: #15B86B;
  --accent-strong: #0E9257;
  --accent-ink: #042016;        /* text on accent */
  --accent-soft: #D8F3E6;

  /* base = Bamboo Clean (light) */
  --bg: #FFFFFF;
  --bg-soft: #F1F8F4;
  --surface: #FFFFFF;
  --surface-2: #F6FAF8;
  --ink: #0E1A14;
  --ink-soft: #46554E;
  --muted: #7B8A83;
  --line: #E3ECE7;
  --panda-black: #14201B;
  --on-dark: #EAF5EF;

  /* map */
  --map-land: #DCEAE2;
  --map-stroke: #C2DBCD;

  --shadow-sm: 0 1px 2px rgba(16,32,24,.05), 0 1px 1px rgba(16,32,24,.04);
  --shadow-md: 0 8px 24px -10px rgba(14,40,28,.18);
  --shadow-lg: 0 28px 60px -24px rgba(14,40,28,.30);

  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 26px;

  --maxw: 1200px;
  --nav-h: 74px;

  /* display scale */
  --h1: clamp(2.6rem, 6vw, 5rem);
  --h2: clamp(2rem, 3.4vw, 3.1rem);
  --display-weight: 700;
  --display-spacing: -0.025em;
  --display-line: 1.04;
}

/* ============================================================
   PRESET: Forest Dark
   ============================================================ */
[data-style="forest"] {
  --bg: #07120D;
  --bg-soft: #0A1812;
  --surface: #0D1F16;
  --surface-2: #102619;
  --ink: #EAF5EF;
  --ink-soft: #A8BEB4;
  --muted: #6E867B;
  --line: #1B3325;
  --panda-black: #04100B;
  --on-dark: #EAF5EF;
  --map-land: #14291D;
  --map-stroke: #224733;
  --accent: #2BE08A;
  --accent-strong: #25C97B;
  --accent-ink: #04150D;
  --accent-soft: rgba(43,224,138,.13);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 70px -22px rgba(0,0,0,.7);
}

/* ============================================================
   PRESET: Editorial Bold (light, oversized type)
   ============================================================ */
[data-style="editorial"] {
  --bg: #FBFBF6;
  --bg-soft: #F1F0E7;
  --surface: #FFFFFF;
  --surface-2: #F6F5EE;
  --ink: #0A0A0A;
  --ink-soft: #3A3A36;
  --muted: #6B6B63;
  --line: #E4E3D7;
  --panda-black: #0A0A0A;
  --map-land: #E8E7DC;
  --map-stroke: #D6D4C7;
  --accent: #12B566;
  --accent-strong: #0A7C45;
  --accent-ink: #06180F;
  --accent-soft: #E2F3E9;

  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 8px;
  --display-weight: 700;
  --display-spacing: -0.04em;
  --display-line: 0.98;
  --h1: clamp(3rem, 8vw, 7rem);
  --h2: clamp(2.4rem, 5vw, 4.2rem);
  --shadow-md: none;
  --shadow-lg: 0 0 0 1px var(--line);
}

/* ============================================================
   Reset & base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-spacing);
  line-height: var(--display-line);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(70px, 9vw, 130px) 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: var(--h2); margin: 14px 0 0; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; margin-top: 18px; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 0 22px; height: 50px;
  border-radius: 999px;
  font-weight: 700; font-size: .98rem;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
[data-style="editorial"] .btn { border-radius: 4px; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.btn-dark { background: var(--panda-black); color: var(--on-dark); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { height: 58px; padding: 0 30px; font-size: 1.05rem; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 30px; height: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.brand .logo { width: 38px; height: 38px; flex: none; }
.brand b { color: var(--accent-strong); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 9px 14px; border-radius: 9px;
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); padding: 8px 10px; border-radius: 9px; }
.lang:hover { background: var(--bg-soft); }
.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% -5%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(50% 45% at 0% 30%, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: var(--h1); margin: 24px 0 0; }
.hero h1 .hl { color: var(--accent-strong); position: relative; white-space: nowrap; }
.hero-sub { font-size: 1.2rem; color: var(--ink-soft); margin-top: 24px; max-width: 36ch; }
.models { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.model {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.model b { color: var(--accent-strong); }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 22px; margin-top: 40px; flex-wrap: wrap; }
.trust .t-item { display: flex; flex-direction: column; gap: 2px; }
.trust .stars { color: var(--accent-strong); font-size: .9rem; letter-spacing: 2px; }
.trust .t-item small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.trust .t-item b { font-size: .92rem; }
.trust .sep { width: 1px; height: 32px; background: var(--line); }

/* hero live card */
.live-card {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 26px; overflow: hidden;
}
[data-style="forest"] .live-card { box-shadow: var(--shadow-lg), 0 0 80px -30px var(--accent); }
.live-card .lc-head { display: flex; align-items: center; justify-content: space-between; }
.live-card .lc-label { font-size: .8rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); position: relative; }
.pulse-dot::after { content:""; position:absolute; inset:0; border-radius:50%; background: var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(3.4);opacity:0} }
.live-card .lc-tag { font-family: var(--font-mono); font-size: .72rem; color: var(--accent-strong); font-weight: 600; padding: 4px 9px; background: var(--accent-soft); border-radius: 7px; }
.live-num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.1rem); letter-spacing: -.03em; margin-top: 14px; line-height: 1; }
.live-num .unit { font-size: .9rem; color: var(--muted); font-weight: 600; margin-left: 8px; letter-spacing: 0; }
.spark { width: 100%; height: 88px; margin-top: 8px; }
.lc-foot { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.lc-foot .f { }
.lc-foot .f .v { font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; }
.lc-foot .f .k { font-size: .72rem; color: var(--muted); font-weight: 600; }

/* ============================================================
   Stat strip
   ============================================================ */
.stat-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.stat { text-align: left; }
.stat .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,3.4vw,2.9rem); letter-spacing: -.03em; line-height: 1; }
.stat .v .suf { color: var(--accent-strong); }
.stat .k { color: var(--ink-soft); font-weight: 600; margin-top: 9px; font-size: .95rem; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }

/* ============================================================
   Geo section
   ============================================================ */
.geo-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: stretch; }
.map-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); overflow: hidden; }
.map-wrap { position: relative; width: 100%; aspect-ratio: 2 / 1; }
.map-wrap svg.worldmap { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-wrap svg.worldmap path { fill: var(--map-land); stroke: var(--map-stroke); stroke-width: .6; stroke-linejoin: round; transition: fill .4s ease; }
.map-glow { position: absolute; transform: translate(-50%,-50%); width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent) 0%, transparent 68%); pointer-events: none; }
.map-node {
  position: absolute; transform: translate(-50%,-50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
  cursor: pointer;
}
.map-node::after { content:""; position:absolute; inset:0; border-radius:50%; background: var(--accent); animation: pulse 2.4s ease-out infinite; }
.map-node .tip {
  position: absolute; bottom: 150%; left: 50%; transform: translateX(-50%);
  background: var(--panda-black); color: var(--on-dark);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  padding: 5px 9px; border-radius: 7px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .15s; box-shadow: var(--shadow-md);
}
.map-node:hover .tip { opacity: 1; }
.map-legend { display: flex; gap: 18px; margin-top: 10px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); font-weight: 600; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* bar chart */
.bars-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 28px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.bars-card h3 { font-size: 1.2rem; }
.bars-card .sub { color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: 4px; }
.bars { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; justify-content: center; }
.bar-row { display: grid; grid-template-columns: 116px 1fr auto; align-items: center; gap: 14px; }
.bar-row .cn { font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 9px; }
.bar-row .cc { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; }
.bar-track { height: 11px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent-strong), var(--accent)); transition: width 1.2s cubic-bezier(.22,1,.36,1); }
.bar-row .val { font-family: var(--font-mono); font-weight: 700; font-size: .9rem; min-width: 62px; text-align: right; }

/* donut row */
.geo-extra { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 28px; }
.mini-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 20px; }
.donut-wrap { position: relative; width: 104px; height: 104px; flex: none; }
.donut-wrap .ctr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-wrap .ctr b { font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; }
.donut-wrap .ctr small { font-size: .64rem; color: var(--muted); font-weight: 600; }
.mini-card .legend { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
.mini-card .legend div { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mini-card .legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.mini-card .legend .pct { margin-left: auto; font-family: var(--font-mono); color: var(--muted); }
.mini-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--font-mono); font-weight: 600; margin-bottom: 4px; }

/* ============================================================
   Ad formats
   ============================================================ */
.formats { background: var(--bg-soft); }
.fmt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.fmt {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.fmt:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.fmt .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 18px; }
.fmt .ico svg { width: 24px; height: 24px; }
.fmt h3 { font-size: 1.22rem; }
.fmt p { color: var(--ink-soft); font-size: .96rem; margin-top: 9px; }
.fmt .cpm { margin-top: 16px; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.fmt .cpm b { color: var(--accent-strong); font-size: .95rem; }

/* ============================================================
   Benefits
   ============================================================ */
.ben-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px 40px; margin-top: 12px; }
.ben { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.ben .bi { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); }
.ben .bi svg { width: 21px; height: 21px; }
.ben h3 { font-size: 1.08rem; }
.ben p { color: var(--ink-soft); font-size: .93rem; margin-top: 6px; }

/* ============================================================
   RTB / ORTB
   ============================================================ */
.rtb { background: var(--panda-black); color: var(--on-dark); position: relative; overflow: hidden; }
.rtb::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 60% at 90% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.rtb .wrap { position: relative; z-index: 1; }
.rtb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.rtb .eyebrow { color: var(--accent); }
.rtb h2 { font-size: var(--h2); margin-top: 14px; color: #fff; }
.rtb p.lead { color: color-mix(in srgb, var(--on-dark) 78%, transparent); font-size: 1.1rem; margin-top: 18px; }
.rtb-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.rtb-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: color-mix(in srgb, var(--on-dark) 88%, transparent); }
.rtb-list .ck { width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin-top: 2px; }
.rtb-list .ck svg { width: 13px; height: 13px; }
.rtb-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.code-card {
  background: #07140E; border: 1px solid rgba(43,224,138,.22); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: .82rem; overflow: hidden; box-shadow: 0 30px 70px -30px #000;
}
.code-head { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.code-head .dots { display: flex; gap: 6px; }
.code-head .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.code-head .fname { margin-left: 6px; color: rgba(234,245,239,.6); font-size: .76rem; }
.code-head .copy { margin-left: auto; color: var(--accent); font-size: .72rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.code-head .copy:hover { color: #fff; }
.code-body { padding: 18px 18px; line-height: 1.7; overflow-x: auto; }
.code-body .ln { color: rgba(234,245,239,.85); white-space: pre; }
.code-body .k { color: #7CD9FF; }
.code-body .s { color: #2BE08A; }
.code-body .n { color: #FFB86B; }
.code-body .c { color: rgba(234,245,239,.4); }

/* ============================================================
   Final CTA
   ============================================================ */
.final { text-align: center; }
.final-card {
  background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-lg);
  padding: clamp(48px,7vw,82px) 28px; position: relative; overflow: hidden;
}
[data-style="editorial"] .final-card { border-radius: 8px; }
.final-card::before { content:""; position:absolute; inset:0; background: radial-gradient(40% 80% at 15% 20%, rgba(255,255,255,.18), transparent 60%); }
.final-card .inner { position: relative; z-index: 1; }
.final-card h2 { font-size: var(--h2); color: var(--accent-ink); }
.final-card p { font-size: 1.15rem; margin-top: 16px; color: color-mix(in srgb, var(--accent-ink) 80%, transparent); }
.final-card .btn-dark { margin-top: 30px; }
.final-card .panda-bg { position: absolute; right: -30px; bottom: -40px; width: 280px; opacity: .12; z-index: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--ink-soft); font-size: .94rem; max-width: 34ch; }
.foot-col h5 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-mono); color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.foot-col a { display: block; color: var(--ink-soft); font-size: .94rem; padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: var(--accent-strong); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   Redirect overlay
   ============================================================ */
.redirect {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; flex-direction: column; gap: 26px;
  background: color-mix(in srgb, var(--panda-black) 96%, transparent);
  color: var(--on-dark); text-align: center; padding: 24px;
}
.redirect.show { display: flex; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.redirect .rlogo { width: 92px; height: 92px; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.redirect h3 { font-size: 1.6rem; color: #fff; }
.redirect p { color: rgba(234,245,239,.6); font-family: var(--font-mono); font-size: .85rem; }
.rbar { width: min(360px, 80vw); height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.rbar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .geo-grid, .rtb-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-strip .wrap { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .stat + .stat { padding-left: 0; border-left: none; }
  .stat:nth-child(3) { padding-top: 6px; }
  .fmt-grid, .geo-extra, .ben-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .fmt-grid, .geo-extra, .ben-grid, .foot-grid, .stat-strip .wrap { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .trust .sep { display: none; }
  .bar-row { grid-template-columns: 92px 1fr auto; gap: 10px; }
}
