:root {
  --paper: #fffcf7;
  --ink: #1b1030;
  --ink-soft: rgba(27, 16, 48, 0.68);
  --magenta: #ff2e7e;
  --magenta-deep: #e01468;
  --amber: #ff8a2b;
  --amber-deep: #e6721a;
  --citrine: #ffd23f;
  --teal: #17b8a6;
  --violet: #6c3ce0;
  --violet-deep: #4d24ad;
  --line: rgba(27, 16, 48, 0.12);
  --line-on-dark: rgba(255, 252, 247, 0.2);
  --max: 1200px;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', monospace;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 247, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(255, 252, 247, 0.92); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--magenta), var(--amber) 55%, var(--citrine));
}
.brand-name { font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink); position: relative; padding-bottom: 3px; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--magenta), var(--amber));
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,16,48,0.25); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 60px; overflow: hidden; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite;
}
.blob-1 { width: 460px; height: 460px; top: -160px; right: -120px; background: radial-gradient(circle, var(--magenta), transparent 70%); animation-delay: 0s; }
.blob-2 { width: 380px; height: 380px; bottom: -140px; left: -100px; background: radial-gradient(circle, var(--teal), transparent 70%); animation-delay: -8s; }
.blob-3 { width: 300px; height: 300px; top: 30%; left: 40%; background: radial-gradient(circle, var(--citrine), transparent 70%); animation-delay: -14s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 24px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none; } }

.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.hero-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 8px 16px; border-radius: 999px;
  font-family: 'Space Grotesk', monospace; font-size: 11.5px; letter-spacing: 0.08em;
  margin-bottom: 26px;
}
.hero h1 { font-size: clamp(38px, 5.6vw, 72px); margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--magenta), var(--amber) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto;
  animation: gradient-pan 6s ease infinite;
}
@keyframes gradient-pan { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero p.lede { font-size: 17.5px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 16px 30px; font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(27,16,48,0.28); }
.btn-ghost {
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none;
  padding: 14px 28px; font-size: 14px; font-weight: 700;
  border-radius: 999px; transition: background 0.25s ease, color 0.25s ease;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* prism visual */
.prism-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.prism-wrap svg { width: 100%; height: auto; max-width: 420px; }
.beam-band { transform-origin: left center; animation: beam-shimmer 3.4s ease-in-out infinite; }
@keyframes beam-shimmer { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .beam-band { animation: none; } }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.hero-stat .num { font-family: 'Unbounded', sans-serif; font-size: 30px; font-weight: 600; }
.hero-stat .label { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- section shells ---------- */
section { padding: 100px 0; position: relative; }
.band-magenta { background: #fff0f5; }
.band-magenta .eyebrow { color: var(--magenta-deep); }
.band-amber { background: #fff5e9; }
.band-amber .eyebrow { color: var(--amber-deep); }
.band-dark { background: var(--ink); color: var(--paper); }
.band-dark .eyebrow { color: var(--citrine); }
.band-citrine { background: #fffbea; }
.band-citrine .eyebrow { color: var(--amber-deep); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 16px; opacity: 0.8; max-width: 54ch; }

/* ---------- highlight cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: 22px; padding: 38px 32px;
  box-shadow: 0 2px 0 var(--line);
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(255,46,126,0.16); }
.card .card-chip {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif; font-size: 15px; color: #fff;
}
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 14.5px; opacity: 0.72; margin: 0; }

/* ---------- responsible play ---------- */
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.rp-card { background: #fff; border-radius: 22px; padding: 30px 28px; }
.rp-card .tag { font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-deep); }
.rp-card h3 { margin-top: 10px; font-size: 19px; margin-bottom: 14px; }
.rp-card ul { margin: 0; padding-left: 18px; font-size: 14px; opacity: 0.78; }
.rp-card li { margin-bottom: 8px; }

/* ---------- feature rows (dark band) ---------- */
.feature-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row:not(:last-child) { border-bottom: 1px solid var(--line-on-dark); }
.feature-visual {
  aspect-ratio: 4/3; border-radius: 24px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.feature-visual svg { width: 58%; height: 58%; }
.fv-magenta { background: linear-gradient(155deg, #ff2e7e, #6c3ce0); }
.fv-teal { background: linear-gradient(155deg, #17b8a6, #1b1030); }
.fv-amber { background: linear-gradient(155deg, #ff8a2b, #ff2e7e); }
.feature-text .tag { font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--citrine); }
.feature-text h3 { font-size: clamp(24px, 3vw, 32px); margin: 14px 0 16px; }
.feature-text p { opacity: 0.82; font-size: 15px; margin-bottom: 20px; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-on-dark); font-size: 14px; }
.feature-list li:last-child { border-bottom: 1px solid var(--line-on-dark); }
.feature-list li .idx { font-family: 'Space Grotesk', monospace; color: var(--citrine); font-size: 12.5px; }

/* ---------- closing ---------- */
.closing { text-align: center; }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(30px, 4.4vw, 54px); max-width: 20ch; margin: 20px auto 34px; }
.closing .btn-primary { margin: 0 auto; }

/* ---------- footer ---------- */
footer { background: #fff; padding: 70px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand .brand-name { display: block; margin-bottom: 14px; font-size: 19px; }
.footer-brand p { opacity: 0.65; font-size: 13.5px; max-width: 34ch; }
footer h4 { font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--magenta-deep); margin-bottom: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 10px; font-size: 13.5px; opacity: 0.78; }
footer a { text-decoration: none; color: inherit; }
footer a:hover { color: var(--magenta-deep); }
.footer-legal { font-size: 12.5px; opacity: 0.55; border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero-top { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .rp-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .feature-row.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container, .hero-inner { padding: 0 20px; }
  section { padding: 68px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-stats { gap: 28px; }
}
