/* Jollio website — neon-pop / joyful-rewards / short-video entertainment.
   Dark theme so the 3D neon assets (phone, coin, stars, logo) glow.
   Source of truth: jollio_brand_package (tokens/jollio.tokens.json).
   Signature gradient: electric-purple → hot-pink → orange → sunshine-yellow.
   Typography: Sora (display) + Manrope (body). */

:root {
  /* Brand colors */
  --purple:   #5B00FF;
  --purple-2: #8A2BFF;
  --pink:     #FF2DB7;
  --orange:   #FF7A00;
  --yellow:   #FFD247;

  /* Dark surfaces */
  --bg:        #0B0B1F;
  --bg-2:      #100F26;
  --surface:   #17152E;
  --surface-2: #1E1B3C;
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(138, 43, 255, 0.5);

  /* Text */
  --text:       #FFFFFF;
  --text-muted: #B6B3D4;
  --text-dim:   #7E7BA0;

  /* Signature gradients */
  --grad:        linear-gradient(135deg, #5B00FF 0%, #FF2DB7 42%, #FF7A00 72%, #FFD247 100%);
  --grad-bright: linear-gradient(110deg, #FF2DB7 0%, #FF7A00 55%, #FFD247 100%);
  --grad-pp:     linear-gradient(135deg, #5B00FF, #8A2BFF);
  --grad-pink:   linear-gradient(135deg, #8A2BFF, #FF2DB7);
  --grad-sun:    linear-gradient(135deg, #FF7A00, #FFD247);

  --max-width: 1180px;
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm:     0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-md:     0 14px 34px rgba(0, 0, 0, 0.45);
  --shadow-lg:     0 30px 70px rgba(0, 0, 0, 0.55);
  --shadow-purple: 0 16px 44px rgba(91, 0, 255, 0.45);
  --shadow-pink:   0 18px 48px rgba(255, 45, 183, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 70% 55% at 8% -5%, rgba(138, 43, 255, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 8%, rgba(255, 45, 183, 0.16) 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}
h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 16px; }
h2 { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; font-weight: 600; }
h4 { font-size: 14px; margin-bottom: 8px; letter-spacing: 0.04em; text-transform: uppercase; }

p { margin-bottom: 12px; }
ul, ol { padding-left: 20px; margin-bottom: 12px; }
li { margin-bottom: 6px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 31, 0.7);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  letter-spacing: -0.02em; color: var(--text);
}
.logo:hover { color: var(--text); }
.logo img { width: auto; height: 40px; }
.logo.logo-mark span { display: none; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--text-muted); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: #fff; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; color: #fff; font-size: 20px; cursor: pointer;
  align-items: center; justify-content: center;
}

/* ── Gradient pill CTA ──────────────────────────────────── */
.btn-play {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 24px; font-family: var(--font-body); font-weight: 700; font-size: 14px;
  border-radius: 999px; background: var(--grad); background-size: 160% 160%; background-position: 0% 50%;
  border: none; color: #fff; box-shadow: var(--shadow-purple);
  cursor: not-allowed; user-select: none;
  transition: transform 0.25s, box-shadow 0.25s, background-position 0.5s;
}
.btn-play[aria-disabled="false"] { cursor: pointer; }
.btn-play:hover { transform: translateY(-2px); box-shadow: var(--shadow-pink); background-position: 100% 50%; }
.btn-play svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
.btn-play .btn-play-label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-play .btn-play-top { font-size: 10px; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.btn-play .btn-play-bottom { font-size: 15px; color: #fff; font-weight: 800; letter-spacing: 0.01em; }
.btn-play-compact { padding: 9px 18px; font-size: 13px; }
.btn-play-compact svg { width: 18px; height: 18px; }
.btn-play-compact .btn-play-bottom { font-size: 13px; }

/* Tag / pill badge */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  color: #fff; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 13px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.1em;
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-bright); box-shadow: 0 0 8px rgba(255,45,183,0.8); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 80px 0 72px;
  background:
    radial-gradient(ellipse 55% 70% at 14% 12%, rgba(138, 43, 255, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 60% 75% at 90% 22%, rgba(255, 45, 183, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 70% 110%, rgba(255, 122, 0, 0.22) 0%, transparent 55%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.hero-tag-row { margin-bottom: 22px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 78px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 22px; }
.hero h1 .gradient-text {
  background: var(--grad-bright);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--text-muted); letter-spacing: 0.02em; }
.hero-note strong { color: #fff; font-weight: 700; }

/* Hero 3D visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.hero-visual::before {
  content: ""; position: absolute; width: 500px; height: 500px;
  background: var(--grad); filter: blur(90px); opacity: 0.55; border-radius: 50%; z-index: 0;
}
.hero-phone {
  position: relative; z-index: 2; width: clamp(320px, 38vw, 480px);
  filter: drop-shadow(0 46px 70px rgba(91, 0, 255, 0.5));
  animation: floaty 6s ease-in-out infinite;
}
.hero-coin {
  position: absolute; z-index: 3;
  filter: drop-shadow(0 16px 28px rgba(255, 122, 0, 0.5));
  animation: floaty 5s ease-in-out infinite;
}
.hero-coin-1 { width: 150px; right: -2%;  top: 4%;   animation-duration: 4.6s; animation-delay: 0.3s; }
.hero-coin-2 { width: 96px;  left: 0%;    bottom: 8%; animation-duration: 5.6s; animation-delay: 1.1s; z-index: 4; }
.hero-coin-3 { width: 60px;  left: 16%;   top: 12%;  animation-duration: 6.2s; animation-delay: 1.9s; opacity: 0.92; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-20px) rotate(4deg); } }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee {
  position: relative; padding: 18px 0; background: var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden;
}
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track {
  display: flex; gap: 50px; width: max-content; animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em;
  color: var(--text-dim); text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 50px; }
.marquee-track span::after { content: "•"; color: var(--pink); font-size: 18px; margin-left: 50px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Value pillars strip ─────────────────────────────────── */
.stats { padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stats-grid > div {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.stats-grid > div:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.stats-grid .value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 18px; font-size: 30px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(91,0,255,0.28), rgba(255,45,183,0.28));
  border: 1px solid var(--border-2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.stats-grid h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.stats-grid p { color: var(--text-muted); font-size: 15px; margin: 0; line-height: 1.6; }
.stats-grid em { color: var(--yellow); font-style: normal; font-weight: 700; }

/* ── Generic section ─────────────────────────────────────── */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 18px; }
.section-eyebrow { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }

/* ── Bento features grid ─────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); gap: 20px; }
.bento-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.bento-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; pointer-events: none;
  background: radial-gradient(ellipse at top right, rgba(138, 43, 255, 0.18), transparent 55%);
}
.bento-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity 0.3s; }
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.bento-card:hover::before, .bento-card:hover::after { opacity: 1; }
.bento-card > * { position: relative; }

.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }

.bento-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(91,0,255,0.25), rgba(255,45,183,0.25));
  border: 1px solid var(--border-2); font-size: 26px; margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.bento-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.bento-card p { color: var(--text-muted); font-size: 15px; margin: 0; line-height: 1.6; }

/* ── How it works (timeline) ─────────────────────────────── */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 3px; background: var(--grad); border-radius: 3px; opacity: 0.9; }
.timeline-step { position: relative; padding: 6px 0 44px 28px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute; left: -40px; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--bg), var(--shadow-purple);
}
.section-alt .timeline-num { box-shadow: 0 0 0 6px var(--bg-2), var(--shadow-purple); }
.timeline-step h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.timeline-step p { color: var(--text-muted); font-size: 16px; margin: 0; max-width: 560px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 960px; margin: 0 auto; }
.faq-grid details, .faq-stream details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-grid details[open], .faq-stream details[open] { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq-grid summary, .faq-stream summary {
  padding: 20px 22px; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 16px; color: #fff;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-grid summary::-webkit-details-marker, .faq-stream summary::-webkit-details-marker { display: none; }
.faq-grid summary::after, .faq-stream summary::after {
  content: ""; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2.5px solid var(--pink); border-bottom: 2.5px solid var(--pink); transform: rotate(45deg); transition: transform 0.2s;
}
.faq-grid details[open] summary::after, .faq-stream details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq-grid .faq-body, .faq-stream .faq-body { padding: 0 22px 20px; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.faq-grid .faq-body p, .faq-stream .faq-body p { color: var(--text-muted); margin-bottom: 8px; }
.faq-link { text-align: center; margin-top: 34px; font-size: 15px; font-weight: 600; }
.faq-stream { max-width: 820px; margin: 0 auto; }
.faq-stream details { margin-bottom: 12px; }
.faq-category { font-family: var(--font-display); font-weight: 800; margin: 44px 0 18px; font-size: 14px; color: var(--pink); text-transform: uppercase; letter-spacing: 0.14em; }

/* ── Final CTA card ──────────────────────────────────────── */
.cta-card {
  position: relative; max-width: 820px; margin: 0 auto; padding: 56px 40px; text-align: center;
  border-radius: var(--radius-xl); overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,45,183,0.55), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(255,122,0,0.5), transparent 55%),
    linear-gradient(135deg, #5B00FF, #8A2BFF);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; margin-bottom: 12px; font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.cta-card p { color: rgba(255,255,255,0.92); font-size: 18px; margin-bottom: 28px; }
.cta-card .btn-play { background: #fff; color: var(--purple); box-shadow: var(--shadow-md); }
.cta-card .btn-play svg { fill: var(--purple); }
.cta-card .btn-play .btn-play-top { color: var(--pink); }
.cta-card .btn-play .btn-play-bottom { color: var(--purple); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #08081a; border-top: 1px solid var(--border); padding: 72px 0 36px; }
.footer-brand-row { text-align: center; margin-bottom: 52px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer-brand-row .logo { justify-content: center; margin-bottom: 16px; color: #fff; }
.footer-brand-row .logo img { height: 44px; }
.footer-brand-row .logo span { color: #fff; }
.footer-brand-row p { color: var(--text-muted); max-width: 480px; margin: 0 auto; font-size: 15px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-family: var(--font-display); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--text-dim); font-size: 13px; }

/* ── Doc pages ───────────────────────────────────────────── */
.doc { max-width: 800px; margin: 0 auto; padding: 72px 24px 88px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.doc .doc-meta { color: var(--text-dim); font-size: 13px; margin-bottom: 40px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.doc h2 { font-size: 26px; font-weight: 700; margin: 48px 0 14px; padding-left: 16px; border-left: 4px solid transparent; border-image: var(--grad) 1; }
.doc h3 { font-size: 18px; margin: 28px 0 10px; font-family: var(--font-body); font-weight: 700; color: #fff; }
.doc p, .doc li { color: var(--text-muted); }
.doc strong { color: #fff; font-weight: 700; }
.doc a { color: var(--pink); font-weight: 600; }
.doc a:hover { color: var(--orange); text-decoration: underline; }
.doc .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 24px 0; }
.doc .callout { background: linear-gradient(135deg, rgba(91,0,255,0.16), rgba(255,45,183,0.14)); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.doc .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 28px 0; }
.doc .contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.doc .contact-card:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.doc .contact-card strong { display: block; font-family: var(--font-display); font-weight: 800; margin-bottom: 8px; font-size: 12px; color: var(--pink); text-transform: uppercase; letter-spacing: 0.1em; }
.doc .contact-card a { font-size: 15px; font-weight: 700; color: #fff; }
.doc .contact-card a:hover { color: var(--yellow); }

/* ── 404 ─────────────────────────────────────────────────── */
.error-page { text-align: center; padding: 130px 24px; }
.error-page h1 { font-size: clamp(110px, 20vw, 200px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.85; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page p { color: var(--text-muted); font-size: 18px; margin-bottom: 32px; }

/* ── Mobile overlay menu ─────────────────────────────────── */
body.nav-open { overflow: hidden; }
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 11, 31, 0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 80px 24px 32px;
}
body.nav-open .nav-overlay { display: flex; }
.nav-overlay a { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: #fff; }
.nav-overlay a:hover { color: var(--pink); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { min-height: 360px; order: -1; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-card.span-2 { grid-column: span 2; }
  .bento-card.span-3 { grid-column: span 2; }
  .bento-card.span-4 { grid-column: span 4; }
  .bento-card.span-6 { grid-column: span 4; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card.span-2, .bento-card.span-3, .bento-card.span-4, .bento-card.span-6 { grid-column: span 1; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .marquee-track { font-size: 18px; gap: 36px; }
  .marquee-track span { gap: 36px; }
  .marquee-track span::after { margin-left: 36px; }
  .hero-coin-1 { width: 104px; }
  .hero-coin-2 { width: 72px; }
  .hero-coin-3 { width: 48px; }
}
@media (max-width: 600px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .container { height: 64px; }
  .timeline { padding-left: 34px; }
  .timeline-num { left: -34px; width: 36px; height: 36px; font-size: 15px; }
  .timeline::before { left: 16px; }
  .doc { padding: 48px 20px 64px; }
}

/* ── A11y focus ──────────────────────────────────────────── */
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
