/* ============================================================
   Vilbi — tanıtım sitesi · "vaybe" sürümü
   Canlı çift tema (çocuk/genç), aurora, süzülen maskot,
   macera-harita, scroll-reveal. Vanilla CSS + biraz JS.
   ============================================================ */

:root {
  /* ÇOCUK (varsayılan, sıcak/açık) */
  --bg: #FFF7E6;
  --bg-2: #FFEEDA;
  --paper: #FFFFFF;
  --glass: rgba(255,255,255,.72);
  --glass-brd: rgba(255,255,255,.85);
  --ink: #2A2014;
  --ink-soft: #6E5E49;
  --ink-faint: #A89679;

  --teal: #2E9A8E;
  --teal-2: #3CB6A8;
  --teal-deep: #15716A;
  --orange: #FF8A3D;
  --orange-2: #FFB05A;
  --sky: #36C5F0;
  --coral: #FF6E5C;
  --violet: #8B7CF6;
  --gold: #FFC24B;

  --grad-hot: linear-gradient(120deg, #FF8A3D 0%, #FF6E5C 50%, #FF4E8E 100%);
  --grad-cool: linear-gradient(120deg, #2E9A8E 0%, #36C5F0 100%);
  --grad-head: linear-gradient(100deg, #FF7A2D 0%, #FF4E8E 40%, #8B7CF6 100%);

  --aura-1: rgba(255,138,61,.55);
  --aura-2: rgba(54,197,240,.45);
  --aura-3: rgba(255,78,142,.40);
  --aura-4: rgba(46,154,142,.42);

  --shadow: 0 30px 60px -28px rgba(60,40,15,.45);
  --shadow-sm: 0 14px 30px -18px rgba(60,40,15,.40);
  --glow-orange: 0 0 40px -6px rgba(255,138,61,.55);
  --r-xl: 34px; --r-lg: 26px; --r-md: 18px; --r-sm: 12px;
  --maxw: 1180px;
  --fd: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --fb: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* GENÇ teması — body.teen ile canlı geçiş */
body.teen {
  --bg: #0B1118;
  --bg-2: #0E1822;
  --paper: #141F2B;
  --glass: rgba(22,33,46,.62);
  --glass-brd: rgba(255,255,255,.10);
  --ink: #EAF1F8;
  --ink-soft: #9DB0C2;
  --ink-faint: #6E8093;

  --teal: #34D3C0;
  --teal-2: #36C5F0;
  --teal-deep: #BfeAf2;
  --orange: #5AA2FF;
  --orange-2: #7FB6FF;
  --grad-hot: linear-gradient(120deg, #4F9CF9 0%, #34D3C0 100%);
  --grad-head: linear-gradient(100deg, #5AA2FF 0%, #34D3C0 50%, #8B7CF6 100%);
  --aura-1: rgba(79,156,249,.50);
  --aura-2: rgba(52,211,192,.40);
  --aura-3: rgba(139,124,246,.42);
  --aura-4: rgba(54,197,240,.36);
  --shadow: 0 30px 60px -28px rgba(0,0,0,.7);
  --shadow-sm: 0 16px 34px -18px rgba(0,0,0,.6);
  --glow-orange: 0 0 44px -6px rgba(79,156,249,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--fb); color: var(--ink);
  background: var(--bg); line-height: 1.65; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background .6s ease, color .6s ease;
}
h1,h2,h3,h4 { font-family: var(--fd); font-weight: 600; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--teal-deep); text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 96px 0; }
.center { text-align: center; }
.gradient-text { background: var(--grad-head); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--fd); font-weight: 600;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep);
  background: color-mix(in srgb, var(--teal) 14%, transparent); padding: 7px 16px; border-radius: 999px;
  margin-bottom: 20px; border: 1px solid color-mix(in srgb, var(--teal) 24%, transparent);
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 58ch; }
.center .lead { margin-inline: auto; }
h2.big { font-size: clamp(2rem, 4.4vw, 3.1rem); }

/* ---- Aurora animated background ---- */
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.aurora::before, .aurora::after, .aurora i {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .9; will-change: transform;
}
.aurora::before { width: 52vw; height: 52vw; background: var(--aura-1); top: -12vw; left: -8vw; animation: drift1 18s ease-in-out infinite; }
.aurora::after  { width: 46vw; height: 46vw; background: var(--aura-2); top: 4vw; right: -10vw; animation: drift2 22s ease-in-out infinite; }
.aurora i { display:block; width: 40vw; height: 40vw; background: var(--aura-3); bottom: -14vw; left: 28vw; animation: drift3 26s ease-in-out infinite; }
.aurora i::after { content:""; position:absolute; inset:0; border-radius:50%; }
.aurora-4 { position:absolute; width: 34vw; height:34vw; border-radius:50%; filter: blur(70px); background: var(--aura-4); top: 30%; left: -6vw; animation: drift2 20s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6vw,4vw) scale(1.12)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5vw,6vw) scale(1.08)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(4vw,-5vw) scale(1.15)} }

/* ---- Buttons ---- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; font-family: var(--fd);
  font-weight: 600; font-size: 1.04rem; padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; overflow: hidden; transition: transform .18s, box-shadow .18s, filter .18s; }
.btn:hover { transform: translateY(-3px); }
.btn--primary { color: #fff; background: var(--grad-hot); box-shadow: var(--glow-orange), 0 16px 30px -14px rgba(255,110,60,.6); }
.btn--primary::after { content:""; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-18deg);
  transition: left .6s; }
.btn--primary:hover::after { left: 140%; }
.btn--ghost { color: var(--ink); background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--glass-brd); box-shadow: var(--shadow-sm); }
.btn--light { color: var(--teal-deep); background: #fff; box-shadow: var(--shadow-sm); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 60; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: var(--glass); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px -24px rgba(0,0,0,.5); border-bottom: 1px solid var(--glass-brd); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--fd); font-weight: 600; font-size: 1.4rem; color: var(--teal-deep); }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); animation: bob 4s ease-in-out infinite; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-weight: 700; font-size: .98rem; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--grad-hot); border-radius:2px; transition: width .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--ink); cursor: pointer; }

/* ---- Theme switch (Çocuk/Genç) ---- */
.modeswitch { display: inline-flex; align-items: center; gap: 0; background: var(--glass); border: 1px solid var(--glass-brd);
  border-radius: 999px; padding: 4px; backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.modeswitch button { font-family: var(--fd); font-weight: 600; font-size: .86rem; border: 0; background: transparent;
  color: var(--ink-soft); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: color .25s; }
.modeswitch button.active { color: #fff; background: var(--grad-hot); box-shadow: 0 8px 18px -8px rgba(255,110,60,.6); }

/* ---- Hero ---- */
.hero { position: relative; padding: 64px 0 90px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -.03em; }
.hero .lead { font-size: 1.28rem; margin: 4px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--ink-soft);
  background: var(--glass); border: 1px solid var(--glass-brd); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px); }

/* hero art: floating mascot + orbit sparkles */
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-disc { position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb,var(--orange) 70%, #fff), var(--coral) 78%);
  box-shadow: var(--glow-orange); filter: saturate(1.1); animation: pulse 6s ease-in-out infinite; }
body.teen .hero-disc { background: radial-gradient(circle at 50% 38%, #4F9CF9, #34D3C0 78%); }
.hero-ring { position: absolute; width: 440px; height: 440px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--ink) 18%, transparent); animation: spin 40s linear infinite; }
.hero-mascot { position: relative; z-index: 3; width: 340px; filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); animation: float 6s ease-in-out infinite; }
.spark { position: absolute; z-index: 4; font-size: 1.6rem; animation: twinkle 3s ease-in-out infinite; }
.spark.s1 { top: 6%; left: 16%; } .spark.s2 { top: 18%; right: 10%; animation-delay: .6s; }
.spark.s3 { bottom: 14%; left: 8%; animation-delay: 1.1s; } .spark.s4 { bottom: 6%; right: 18%; animation-delay: 1.6s; font-size: 1.2rem; }
.orbit { position: absolute; z-index: 4; width: 408px; height: 408px; animation: spin 24s linear infinite; }
.orbit span { position: absolute; top: -14px; left: 50%; font-size: 1.5rem; transform: translateX(-50%); }
.orbit.rev { animation-direction: reverse; animation-duration: 30s; width: 470px; height: 470px; }

@keyframes float { 0%,100%{transform:translateY(0) rotate(-1.5deg)} 50%{transform:translateY(-22px) rotate(1.5deg)} }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
@keyframes twinkle { 0%,100%{opacity:.3; transform:scale(.7)} 50%{opacity:1; transform:scale(1.1)} }

/* ---- Marquee ---- */
.marquee { overflow: hidden; padding: 14px 0; border-block: 1px solid var(--glass-brd); background: var(--glass); backdrop-filter: blur(6px); }
.marquee-track { display: flex; gap: 42px; width: max-content; animation: slide 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--fd); font-weight: 600; font-size: 1.05rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.marquee span::before { content: "✦"; color: var(--orange); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---- Bento / cards ---- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-lg);
  padding: 28px; backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile::before { content:""; position:absolute; width: 140px; height: 140px; border-radius: 50%; top: -50px; right: -40px;
  background: var(--g, var(--grad-hot)); opacity: .16; filter: blur(8px); transition: opacity .25s; }
.tile:hover::before { opacity: .3; }
.tile .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--g, var(--grad-hot)); box-shadow: 0 12px 22px -12px rgba(0,0,0,.4); margin-bottom: 16px; }
.tile h3 { font-size: 1.2rem; }
.tile p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.col-2 { grid-column: span 2; } .col-3 { grid-column: span 3; } .col-6 { grid-column: span 6; }
.tile.feature-big { display: flex; flex-direction: column; justify-content: center; }
.tile.feature-big h3 { font-size: 1.6rem; }

/* ---- Mode showcase ---- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode { border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.mode--child { background: linear-gradient(160deg, #FFF7EA, #FFE6CC); color: #3A2A18; border: 1px solid #FFD7AE; }
.mode--teen { background: linear-gradient(160deg, #16212E, #0C141C); color: #E8EEF4; border: 1px solid #2A3a49; }
.mode .tag { display: inline-block; font-family: var(--fd); font-weight: 600; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.mode--child .tag { background: var(--grad-hot); color: #fff; }
.mode--teen .tag { background: linear-gradient(120deg,#4F9CF9,#34D3C0); color: #06222e; }
.mode h3 { font-size: 1.7rem; } .mode--teen h3 { color: #fff; }
.mode p { opacity: .9; } .mode--teen p { color: #AfBccB; }
.mode ul { list-style: none; padding: 0; margin: 16px 0 0; }
.mode li { padding-left: 28px; position: relative; margin-bottom: 9px; }
.mode li::before { content: "✦"; position: absolute; left: 0; color: var(--teal-2); }
.mode--child li::before { color: var(--orange); }

/* ---- Adventure map ---- */
.map-sec { position: relative; color: #EAFBF7; background: linear-gradient(165deg, #1C7A72 0%, #115C56 100%); }
body.teen .map-sec { background: linear-gradient(165deg, #142536 0%, #0C1825 100%); }
.map-sec h2 { color: #fff; }
.map-wrap { position: relative; margin-top: 40px; }
.map-svg { width: 100%; height: auto; overflow: visible; }
.map-path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 5; stroke-dasharray: 14 16; stroke-linecap: round; }
.map-path-fill { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,194,75,.8)); }
.pin { cursor: default; }
.pin circle { transition: transform .3s; transform-box: fill-box; transform-origin: center; }
.pin:hover circle { transform: scale(1.12); }
.pin .ring { fill: rgba(255,255,255,.14); }
.pin .core { fill: #fff; }
.pin text.emoji { font-size: 26px; text-anchor: middle; dominant-baseline: central; }
.pin text.lbl { font-family: var(--fd); font-weight: 600; font-size: 15px; fill: #EAFBF7; text-anchor: middle; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin-top: 14px; color: #CDEDE7; font-weight: 700; font-size: .92rem; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 56px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--fd); font-weight: 700; font-size: clamp(2.2rem,4vw,3.2rem);
  background: linear-gradient(120deg,#FFD9A8,#FFB05A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: #CDEDE7; font-weight: 700; }

/* ---- Principle callout ---- */
.callout { position: relative; background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-xl);
  padding: 46px; display: flex; gap: 30px; align-items: center; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); overflow: hidden; }
.callout .cbird { width: 130px; flex: 0 0 auto; animation: float 6s ease-in-out infinite; }
.callout .big { font-family: var(--fd); font-weight: 600; font-size: 1.7rem; margin-bottom: 6px; }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 24px; }
.plan { position: relative; background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-xl);
  padding: 34px; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.plan--pro { border: 2px solid transparent; background:
  linear-gradient(var(--paper), var(--paper)) padding-box,
  var(--grad-hot) border-box; box-shadow: var(--shadow); }
.plan .pill { position: absolute; top: -14px; right: 28px; background: var(--grad-hot); color: #fff; font-family: var(--fd);
  font-weight: 600; font-size: .8rem; padding: 6px 16px; border-radius: 999px; box-shadow: 0 10px 20px -10px rgba(255,110,60,.7); }
.plan h3 { font-size: 1.5rem; }
.plan .price { font-family: var(--fd); font-weight: 700; font-size: 2.4rem; margin: 4px 0 8px; color: var(--ink); }
.plan .price small { font-size: 1rem; color: var(--ink-faint); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { padding-left: 30px; position: relative; margin-bottom: 11px; color: var(--ink-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; width: 20px; height: 20px; line-height: 20px; text-align: center;
  border-radius: 50%; background: color-mix(in srgb, var(--teal) 18%, transparent); color: var(--teal-deep); font-weight: 800; font-size: .75rem; top: 3px; }
.plan li.no { color: var(--ink-faint); } .plan li.no::before { content: "–"; background: transparent; }

/* ---- Parent section ---- */
.parent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.highlight-box { background: color-mix(in srgb, var(--orange) 12%, transparent); border-radius: var(--r-md);
  padding: 18px 22px; border-left: 4px solid var(--orange); margin: 18px 0; }
.highlight-box p { margin: 0; color: var(--ink); }

/* ---- FAQ ---- */
.faq details { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-md); padding: 2px 24px;
  box-shadow: var(--shadow-sm); margin-bottom: 14px; backdrop-filter: blur(8px); }
.faq summary { font-family: var(--fd); font-weight: 600; font-size: 1.1rem; cursor: pointer; padding: 18px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.6rem; font-family: var(--fd); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 64px 40px; text-align: center; color: #fff;
  background: var(--grad-hot); box-shadow: var(--shadow); }
.cta-band .aurora { mix-blend-mode: soft-light; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,4vw,2.6rem); position: relative; z-index: 2; }
.cta-band .lead { color: rgba(255,255,255,.92); position: relative; z-index: 2; margin-inline: auto; }
.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; position: relative; z-index: 2; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,.24); color: #fff; padding: 13px 22px; border-radius: 16px; }
.store-badge small { display: block; font-size: .68rem; opacity: .85; font-weight: 700; }
.store-badge b { font-family: var(--fd); font-size: 1.08rem; }

/* ---- Footer ---- */
.site-footer { background: #16211C; color: #C9D9D5; padding: 60px 0 32px; }
body.teen .site-footer { background: #070C12; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #fff; font-family: var(--fd); font-weight: 600; font-size: 1.4rem; }
.footer-brand img { width: 40px; height: 40px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #C9D9D5; display: block; margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.foot-note { background: rgba(255,255,255,.06); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 10px; font-size: .92rem; color: #DCE9E6; margin-top: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 42px; padding-top: 22px; font-size: .88rem; color: #8FA6A1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- Wave divider ---- */
.wave { display: block; width: 100%; height: 70px; }

/* ---- Legal pages ---- */
.legal-head { position: relative; overflow: hidden; background: linear-gradient(165deg,#1C7A72,#115C56); color: #fff; padding: 64px 0 80px; }
body.teen .legal-head { background: linear-gradient(165deg,#142536,#0C1825); }
.legal-head h1 { color: #fff; font-size: clamp(2rem,4vw,3rem); position: relative; z-index: 2; }
.legal-head p { color: #Dff5f0; margin: 0; position: relative; z-index: 2; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; margin-bottom: 14px; position: relative; z-index: 2; }
.legal { padding: 0 0 80px; }
.legal .doc { background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 48px clamp(24px,5vw,60px);
  max-width: 860px; margin: -46px auto 0; position: relative; z-index: 3; }
.legal .doc h2 { font-size: 1.45rem; color: var(--teal-deep); margin-top: 36px; }
.legal .doc h2:first-of-type { margin-top: 0; }
.legal .doc h3 { font-size: 1.12rem; margin-top: 22px; }
.legal .doc p, .legal .doc li { color: var(--ink-soft); }
.legal .doc ul { padding-left: 20px; } .legal .doc li { margin-bottom: 8px; }
.legal .meta { color: var(--ink-faint); font-size: .9rem; }
.legal .toc { background: color-mix(in srgb, var(--teal) 12%, transparent); border-radius: var(--r-md); padding: 18px 22px; margin-bottom: 28px; }
.legal .toc a { display: inline-block; margin: 3px 14px 3px 0; font-weight: 700; }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta, .hero-chips { justify-content: center; }
  .hero .lead { margin-inline: auto; }
  .hero-art { min-height: 360px; margin-top: 10px; }
  .hero-mascot { width: 260px; } .hero-disc { width: 300px; height: 300px; } .hero-ring { width: 360px; height: 360px; }
  .orbit { width: 330px; height: 330px; } .orbit.rev { width: 380px; height: 380px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .col-2, .col-3, .col-6 { grid-column: span 2; }
  .modes, .plans, .parent-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .callout { flex-direction: column; text-align: center; }
  .nav-links { display: none; } .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 16px;
    background: var(--glass); backdrop-filter: blur(14px); padding: 20px 24px; border-bottom: 1px solid var(--glass-brd); }
  .modeswitch { display: none; }
}
@media (max-width: 560px) {
  .bento, .stats { grid-template-columns: 1fr; }
  .col-2, .col-3, .col-6 { grid-column: span 1; }
  .section { padding: 64px 0; }
  .cta-band, .callout, .mode, .plan { padding: 30px; }
  .pin text.lbl { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
