/* =========================================================================
   AnoxHub — Play Console Publisher Website
   Design system + components
   Theme: dark, premium "AI / tech studio"
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg:            #08070d;
  --bg-2:          #0c0a16;
  --surface:       #131120;
  --surface-2:     #1a1730;
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text:          #f4f3fb;
  --text-muted:    #a7a3bd;
  --text-dim:      #726e88;

  /* Brand */
  --violet:        #8b5cff;
  --violet-600:    #7c4dff;
  --blue:          #4f9dff;
  --cyan:          #22d3ee;
  --pink:          #ff5c8a;

  --grad-brand:    linear-gradient(115deg, #8b5cff 0%, #4f9dff 52%, #22d3ee 100%);
  --grad-brand-2:  linear-gradient(135deg, #a072ff 0%, #ff5c8a 100%);
  --grad-text:     linear-gradient(100deg, #b79bff 0%, #7db4ff 45%, #55e6f5 100%);

  /* Status */
  --live:          #34d399;
  --testing:       #fbbf24;
  --soon:          #8b93a7;

  /* Effects */
  --glow-violet:   0 0 0 1px rgba(139, 92, 255, .35), 0 12px 40px -12px rgba(139, 92, 255, .55);
  --shadow-card:   0 24px 60px -30px rgba(0, 0, 0, .8);
  --ring:          0 0 0 3px rgba(139, 92, 255, .45);

  /* Layout */
  --container:     1160px;
  --radius:        18px;
  --radius-sm:     12px;
  --radius-lg:     28px;

  /* Type */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ---------- Ambient background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 15% -5%, rgba(139, 92, 255, .22), transparent 60%),
    radial-gradient(45% 45% at 92% 8%, rgba(34, 211, 238, .16), transparent 60%),
    radial-gradient(55% 55% at 50% 110%, rgba(255, 92, 138, .12), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.028'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(139, 92, 255, .06);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px 1px var(--violet);
}

.section__head { max-width: 640px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  margin: 18px 0 14px;
}
.section__subtitle { color: var(--text-muted); font-size: 1.06rem; }

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

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--btn-bg);
  color: var(--text);
  transition: transform .2s ease, box-shadow .3s ease, border-color .2s ease, background .2s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  border-color: transparent;
  background: var(--grad-brand);
  color: #0a0713;
  box-shadow: 0 12px 34px -12px rgba(124, 77, 255, .7);
}
.btn--primary:hover { box-shadow: 0 18px 46px -12px rgba(124, 77, 255, .85); }

.btn--ghost { background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, .06); }

.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }

/* Google Play badge button */
.btn--play {
  background: #101018;
  border-color: var(--border-strong);
  padding-left: 18px;
}
.btn--play .play-icon { width: 20px; height: 22px; }
.btn--play .play-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.btn--play .play-text small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; }
.btn--play .play-text span { font-family: var(--font-head); font-size: 1.02rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 7, 13, .72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { color: var(--text); }
.brand__name b { color: transparent; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  color: var(--text-muted);
  font-size: .94rem;
  padding: 9px 14px;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); background: rgba(255, 255, 255, .05); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after  { transform: rotate(-45deg) translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(72px, 12vw, 132px) 0 clamp(56px, 8vw, 96px); }
.hero__inner { max-width: 860px; }
.hero__title {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.03;
  margin: 22px 0 22px;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 620px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 64px;
}
.stat {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.stat__num { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
.stat__label { color: var(--text-muted); font-size: .9rem; margin-top: 2px; }

/* floating app-icon cluster in hero */
.hero__orbit {
  position: absolute;
  top: 8%;
  right: -40px;
  width: 42%;
  max-width: 480px;
  aspect-ratio: 1;
  pointer-events: none;
  display: none;
}
.orbit-tile {
  position: absolute;
  border-radius: 22%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  animation: float 7s ease-in-out infinite;
}
.orbit-tile svg { width: 52%; height: 52%; }

/* ---------- Marquee / trust strip ---------- */
.trust {
  border-block: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  justify-content: center;
  padding: 26px 0;
  color: var(--text-dim);
  font-family: var(--font-head);
  font-size: .92rem;
}
.trust__row b { color: var(--text-muted); font-weight: 600; }

/* ---------- App cards ---------- */
.apps-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  color: var(--text-muted);
  font-size: .88rem;
  font-family: var(--font-head);
  font-weight: 500;
  transition: all .2s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.is-active { color: #0a0713; background: var(--text); border-color: transparent; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.app-card:hover { transform: translateY(-6px); border-color: transparent; }
.app-card:hover::before { opacity: 1; }

.app-card__top { display: flex; align-items: flex-start; gap: 16px; }
.app-card__icon {
  width: 62px; height: 62px;
  border-radius: 30%;
  flex: none;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--shadow-card);
}
.app-card__icon svg { width: 54%; height: 54%; }
.app-card__heading { flex: 1; min-width: 0; }
.app-card__title { font-size: 1.24rem; }
.app-card__cat { color: var(--text-dim); font-size: .84rem; margin-top: 3px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px 0 currentColor; }
.badge--live    { color: var(--live);    background: rgba(52, 211, 153, .08); }
.badge--testing { color: var(--testing); background: rgba(251, 191, 36, .08); }
.badge--soon    { color: var(--soon);    background: rgba(139, 147, 167, .08); }

.app-card__desc { color: var(--text-muted); margin: 18px 0 20px; font-size: .96rem; }
.app-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
  font-size: .78rem;
  color: var(--text-muted);
  padding: 4px 11px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.app-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.app-card__links { display: flex; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.app-card__links a { font-size: .82rem; color: var(--text-dim); transition: color .2s ease; }
.app-card__links a:hover { color: var(--violet); }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.feature {
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  transition: transform .3s ease, border-color .3s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(139, 92, 255, .12);
  border: 1px solid rgba(139, 92, 255, .25);
  margin-bottom: 18px;
  color: var(--violet);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.14rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: .95rem; }

/* ---------- About / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(139,92,255,.28), transparent 55%),
    radial-gradient(120% 120% at 90% 90%, rgba(34,211,238,.22), transparent 55%),
    var(--surface);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.about-list { display: grid; gap: 16px; margin-top: 26px; }
.about-list li { display: flex; gap: 13px; color: var(--text-muted); }
.about-list svg { width: 22px; height: 22px; flex: none; color: var(--live); margin-top: 2px; }
.about-list b { color: var(--text); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(120% 160% at 50% -30%, rgba(139,92,255,.35), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); max-width: 520px; margin: 0 auto 30px; font-size: 1.06rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Support / contact ---------- */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.support-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
}
.support-card h3 { font-size: 1.16rem; margin: 16px 0 8px; }
.support-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 16px; }
.support-card a.link { color: var(--violet); font-weight: 600; }

.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--violet); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(139,92,255,.05));
  padding-top: clamp(56px, 8vw, 88px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 52px;
}
.footer__brand p { color: var(--text-muted); margin: 16px 0 20px; max-width: 320px; font-size: .95rem; }
.footer__col h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-muted); padding: 6px 0; font-size: .94rem; transition: color .2s ease; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .88rem;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all .2s ease;
}
.footer__social a:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255,255,255,.04); }
.footer__social svg { width: 18px; height: 18px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(24px, 4vw, 48px); text-align: center; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 18px auto 16px; max-width: 800px; }
.page-hero p { color: var(--text-muted); font-size: 1.08rem; max-width: 600px; margin-inline: auto; }

.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--text-dim); font-size: .86rem; justify-content: center; }
.breadcrumb a:hover { color: var(--violet); }
.breadcrumb span { opacity: .5; }

/* ---------- Legal documents ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255,255,255,.02);
}
.legal-toc h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.legal-toc a { display: block; color: var(--text-muted); font-size: .9rem; padding: 6px 0; transition: color .2s ease; }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--violet); }

.legal-doc { max-width: 760px; }
.legal-doc .doc-meta {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-dim); font-size: .88rem;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
  margin-bottom: 28px;
}
.legal-doc h2 {
  font-size: 1.5rem;
  margin: 44px 0 16px;
  padding-top: 12px;
  scroll-margin-top: 96px;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 { font-size: 1.14rem; margin: 26px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--text-muted); }
.legal-doc p { margin-bottom: 16px; }
.legal-doc ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; display: grid; gap: 8px; }
.legal-doc a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc strong { color: var(--text); }
.legal-doc .callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--violet);
  background: rgba(139,92,255,.06);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  color: var(--text-muted);
}

/* draft notice for policies to be finalized */
.draft-note {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid rgba(251, 191, 36, .3);
  background: rgba(251, 191, 36, .06);
  color: #f4e2bb;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  font-size: .92rem;
}
.draft-note svg { width: 22px; height: 22px; flex: none; color: var(--testing); }

/* legal index list */
.legal-index { display: grid; gap: 16px; }
.legal-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  transition: border-color .25s ease, transform .25s ease;
}
.legal-row:hover { border-color: var(--border-strong); transform: translateX(4px); }
.legal-row__icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; }
.legal-row__body { flex: 1; min-width: 0; }
.legal-row__body h3 { font-size: 1.08rem; }
.legal-row__body p { color: var(--text-dim); font-size: .88rem; }
.legal-row__links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* No-JS safety net: never leave reveal content hidden when scripting is off */
@media (scripting: none) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound__code {
  font-family: var(--font-head);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Responsive ---------- */
@media (min-width: 1024px) {
  .hero__orbit { display: block; }
  .hero__subtitle, .hero__title { max-width: 640px; }
}

@media (max-width: 860px) {
  .nav__actions .btn--play { display: none; }
  .nav__links {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 26px;
    background: rgba(10, 9, 16, .96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__link { padding: 14px 12px; font-size: 1.02rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__toggle { display: flex; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; margin-bottom: 8px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-card { padding: 22px; }
}

/* ---------- Print (legal pages) ---------- */
@media print {
  body::before, body::after, .site-header, .footer, .legal-toc, .btn { display: none !important; }
  body { background: #fff; color: #111; }
  .legal-doc { max-width: none; }
  .legal-doc p, .legal-doc li, .section__subtitle { color: #333; }
  a { color: #111 !important; }
}
