/* Mix n Play — launch site reference stylesheet
   Approved design, 2026-08-28. Values here are normative: match them exactly. */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:            #07080c;
  --panel:         #0b0d13;
  --panel-deep:    #0a0c11;
  --panel-ring:    #14171f;

  --accent-a:      #ff2d6f;   /* Deck A / primary */
  --accent-a-2:    #ff5c8a;   /* Deck A gradient end */
  --accent-amber:  #ff9f1c;
  --accent-violet: #b06cff;
  --accent-b:      #2f7bff;   /* Deck B */

  --text-1:        #eef1f6;
  --text-2:        #a1aab8;
  --text-3:        #96a0af;
  --text-4:        #8b94a3;
  --text-5:        #6f7887;
  --text-6:        #5f6877;
  --text-mono-hi:  #cfd6e2;
  --text-nav:      #9aa3b2;
  --text-hero-sub: #99a2b1;
  --text-badge:    #b9c1cf;

  --line:          rgba(255,255,255,0.08);
  --line-soft:     rgba(255,255,255,0.06);
  --line-hairline: rgba(255,255,255,0.07);
  --line-cta:      rgba(255,255,255,0.09);
  --line-badge:    rgba(255,255,255,0.10);
  --line-hover:    rgba(255,255,255,0.16);

  --fill-soft:     rgba(255,255,255,0.03);
  --fill-soft-2:   rgba(255,255,255,0.04);

  --glow-a:        rgba(255,45,111,0.30);
  --glow-b:        rgba(47,123,255,0.30);
  --shadow-shot:   0 50px 120px -30px rgba(0,0,0,0.9);
  --shadow-cta:    0 14px 40px rgba(255,45,111,0.30);
  --shadow-cta-sm: 0 6px 20px rgba(255,45,111,0.32);
  --shadow-hover:  0 18px 44px -22px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.07);

  --r-sm:  10px;
  --r-md:  12px;
  --r-lg:  14px;
  --r-card:16px;
  --r-shot:18px;
  --r-xl:  22px;
  --r-pill:999px;

  --sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;

  --shell:  1320px;   /* max content width */
  --gutter: 32px;     /* horizontal section padding, wide */
  --rhythm: 88px;     /* vertical gap between major sections */
  --ease:   cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: var(--accent-a); text-decoration: none; }
a:hover { color: #ff7ba1; }
::selection { background: #ff3d71; color: #fff; }

.shell { max-width: var(--shell); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; }
.eyebrow--a { color: var(--accent-a); }
.eyebrow--amber { color: var(--accent-amber); }
.eyebrow--b { color: var(--accent-b); }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; }
.h2 { margin: 12px 0 0; font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }

/* ---------- 3. Page aura (decorative, behind everything) ---------- */
.page { position: relative; background: var(--bg); }
.page__aura {
  position: absolute; top: -320px; left: 50%; transform: translateX(-50%);
  width: 1400px; height: 900px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,45,111,0.20), transparent 60%),
    radial-gradient(ellipse at 70% 45%, rgba(47,123,255,0.20), transparent 60%);
  filter: blur(20px);
}
.page > *:not(.page__aura) { position: relative; z-index: 1; }
.page > .header { z-index: 50; }

/* ---------- 4. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,8,12,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner { display: flex; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-1); }
.brand:hover { color: var(--text-1); }
.brand__mark { height: 30px; width: auto; }
.brand__name { font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--text-nav); transition: color 200ms ease; }
.nav a:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; transition: filter 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.btn--pink {
  padding: 15px 26px; border-radius: 13px; font-size: 16px; color: #fff;
  background: linear-gradient(100deg, var(--accent-a), var(--accent-a-2));
  box-shadow: var(--shadow-cta);
}
.btn--pink-sm {
  padding: 9px 18px; border-radius: var(--r-sm); font-size: 14px; gap: 8px; color: #fff;
  background: linear-gradient(100deg, var(--accent-a), var(--accent-a-2));
  box-shadow: var(--shadow-cta-sm);
}
.btn--pink:hover, .btn--pink-sm:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.btn--white {
  padding: 16px 28px; border-radius: 13px; font-size: 16px;
  background: #fff; color: var(--panel-deep);
}
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255,255,255,0.18); color: var(--panel-deep); }
.btn--disabled { cursor: default; user-select: none; }
.btn--disabled:hover { filter: none; transform: none; }
.btn__store { width: 22px; height: 22px; }
.btn--white .btn__store { width: 23px; height: 23px; }

/* ---------- 5. Hero ---------- */
.hero { padding-top: 44px; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-badge); background: var(--fill-soft);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.10em;
  color: var(--text-badge); white-space: nowrap;
  animation: mnp-rise 780ms var(--ease) 0ms both;
}
.hero__dot {
  width: 7px; height: 7px; border-radius: var(--r-pill);
  background: var(--accent-b); box-shadow: 0 0 10px var(--accent-b);
  animation: mnp-glow 2.4s ease-in-out infinite;
}
.hero__title {
  margin: 22px 0 0; font-size: 74px; line-height: 1.02; font-weight: 700;
  letter-spacing: -0.035em; text-wrap: balance;
  animation: mnp-rise 780ms var(--ease) 90ms both;
}
.hero__sub {
  margin: 24px auto 0; max-width: 640px; font-size: 19px; line-height: 1.55;
  color: var(--text-hero-sub); text-wrap: pretty;
  animation: mnp-rise 780ms var(--ease) 180ms both;
}
.hero__actions {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  margin-top: 36px; flex-wrap: wrap;
  animation: mnp-rise 780ms var(--ease) 270ms both;
}
.hero__trial { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--text-5); }

.shot { position: relative; margin-top: 52px; }
.shot__glow {
  position: absolute; inset: 6% 4% -4%; pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 50%, var(--glow-a), transparent 62%),
    radial-gradient(ellipse at 75% 50%, var(--glow-b), transparent 62%);
  filter: blur(52px);
}
.shot__frame {
  position: relative; border-radius: var(--r-shot); padding: 8px;
  background: linear-gradient(160deg, rgba(255,45,111,0.35), rgba(255,255,255,0.05) 40%, rgba(47,123,255,0.35));
  box-shadow: var(--shadow-shot);
}
.shot__img { width: 100%; height: auto; border-radius: var(--r-md); }

/* ---------- 6. Stat strip ---------- */
.stats { padding-top: 44px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-hairline); border: 1px solid var(--line-hairline);
  border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: var(--panel); padding: 22px 24px; }
.stat__n { font-family: var(--mono); font-size: 24px; font-weight: 700; }
.stat__label { margin-top: 6px; font-size: 14.5px; color: var(--text-4); }

/* ---------- 7. Who it's for ---------- */
.who { padding-top: var(--rhythm); }
.who__head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.who__head h2 { max-width: 560px; }
.who__lede { margin: 0 0 6px auto; max-width: 360px; font-size: 16px; line-height: 1.6; color: var(--text-4); }
.who__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }

.card {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel);
  padding: 26px; display: flex; flex-direction: column;
  transition: box-shadow 380ms ease, border-color 380ms ease;
}
.card:hover { box-shadow: var(--shadow-hover); border-color: var(--line-hover); }
.card h3 { margin: 14px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.card p  { margin: 8px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text-3); }
.card--a      { background: linear-gradient(170deg, rgba(255,45,111,0.12), var(--panel) 70%); }
.card--amber  { background: linear-gradient(170deg, rgba(255,159,28,0.12), var(--panel) 70%); }
.card--violet { background: linear-gradient(170deg, rgba(176,108,255,0.12), var(--panel) 70%); }
.card--b      { background: linear-gradient(170deg, rgba(47,123,255,0.12), var(--panel) 70%); }

/* ---------- 8. Features bento ---------- */
.features { padding-top: var(--rhythm); }
.features h2 { max-width: 620px; }
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(0, auto); gap: 12px; margin-top: 32px;
}
.bento__wide { grid-column: span 2; }
.bento__hero { grid-column: span 2; grid-row: span 2; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,45,111,0.10), var(--panel) 55%, rgba(47,123,255,0.10)); }
.bento__full { grid-column: span 4; }

.deckline { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--text-4); }
.deckline span.dot { width: 8px; height: 8px; border-radius: var(--r-pill); }
.deckline .dot--a { background: var(--accent-a); box-shadow: 0 0 10px var(--accent-a); }
.deckline .dot--b { background: var(--accent-b); box-shadow: 0 0 10px var(--accent-b); margin-left: 8px; }
.bento__hero h3 { margin: 16px 0 0; font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.bento__hero p  { margin: 10px 0 0; max-width: 460px; font-size: 16px; line-height: 1.55; color: var(--text-3); }
.decks { display: flex; gap: 22px; margin-top: auto; padding-top: 26px; align-items: flex-end; }

.disc {
  position: relative; width: 106px; height: 106px; flex: none;
  border-radius: var(--r-pill); background: var(--panel-deep);
  border: 6px solid var(--panel-ring);
  animation: mnp-spin 5s linear infinite;
}
.disc--a { box-shadow: 0 0 34px rgba(255,45,111,0.45), inset 0 0 22px rgba(0,0,0,0.9); }
.disc--b { box-shadow: 0 0 34px rgba(47,123,255,0.45), inset 0 0 22px rgba(0,0,0,0.9); animation-duration: 7s; }
.disc__ring { position: absolute; inset: 20px; border-radius: var(--r-pill); opacity: 0.55; }
.disc--a .disc__ring { background: conic-gradient(from 0deg, var(--accent-a), var(--accent-amber), var(--accent-a)); }
.disc--b .disc__ring { background: conic-gradient(from 0deg, var(--accent-b), var(--accent-violet), var(--accent-b)); }
.disc__hub  { position: absolute; inset: 44px; border-radius: var(--r-pill); background: var(--panel-deep); }
.readout { font-family: var(--mono); font-size: 12.5px; color: var(--text-5); line-height: 1.9; padding-bottom: 4px; }
.readout .a { color: var(--accent-a); }
.readout .b { color: var(--accent-b); }

.icon-chip {
  width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,45,111,0.12); border: 1px solid rgba(255,45,111,0.28);
}
.icon-chip__dot { width: 17px; height: 17px; border-radius: var(--r-pill); background: var(--accent-a); box-shadow: 0 0 14px var(--accent-a); }
.icon-row { display: flex; align-items: center; gap: 10px; height: 38px; }
.toggle { width: 34px; height: 18px; border-radius: var(--r-pill); background: rgba(47,123,255,0.25); position: relative; }
.toggle__knob { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: var(--r-pill); background: var(--accent-b); box-shadow: 0 0 10px var(--accent-b); }
.icon-list { font-family: var(--mono); font-size: 12px; color: var(--text-5); line-height: 1.7; height: 38px; }
.icon-list__row { display: flex; justify-content: space-between; }
.icon-list__row span:first-child { color: var(--text-mono-hi); }
.icon-list__row span:last-child { color: var(--accent-amber); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 38px; }
.bars i { width: 4px; border-radius: 2px; background: var(--accent-violet); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  height: 164px;
  overflow: hidden;
}
.split__copy { flex: 1 1 210px; min-width: 200px; }
.split__copy h3 { margin: 14px 0 0; font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.split__copy p  { margin: 8px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text-3); }
.card--bleed { padding: 26px; overflow: hidden; }
.bleed-shot {
  width: 168px; min-width: 0;
  justify-self: end; align-self: end;
  margin: 0 -1px -116px 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 6px 6px 0;
  background: linear-gradient(160deg, rgba(255,159,28,0.30), rgba(255,255,255,0.05));
}
.bleed-shot img { width: 100%; height: auto; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.inset-shot {
  width: 218px; min-width: 0; justify-self: end;
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
}
.inset-shot img { width: 100%; height: auto; }

.strip { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 24px; flex-wrap: nowrap; padding: 20px 26px; text-align: left; }
.strip h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.strip p  { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-3); min-width: 0; }

/* ---------- 9. How it works ---------- */
.how { padding-top: var(--rhythm); }
.how h2 { margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 24px 0 0; border-top: 2px solid var(--accent-a); }
.step--2 { border-top-color: var(--accent-violet); }
.step--3 { border-top-color: var(--accent-b); }
.step__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--text-5); }
.step h3 { margin: 12px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.step p  { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-3); }

/* ---------- 10. Closing CTA ---------- */
.get { padding-top: var(--rhythm); }
.get__panel {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-cta); border-radius: var(--r-xl);
  background: linear-gradient(140deg, rgba(255,45,111,0.16), var(--panel-deep) 45%, rgba(47,123,255,0.16));
  padding: 48px 48px; text-align: center;
}
.get__glow {
  position: absolute; inset: -50% 20% 40%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,45,111,0.18), transparent 65%);
  filter: blur(40px);
}
.get__body { position: relative; }
.get__body h2 { margin: 0; font-size: 46px; line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.get__body p  { margin: 16px auto 0; max-width: 520px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.get__actions { display: flex; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- 11. Footer ---------- */
.footer { margin-top: 72px; border-top: 1px solid var(--line-soft); }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.footer__mark { height: 24px; width: auto; }
.footer__name { font-size: 14px; font-weight: 600; }
.footer__meta { font-family: var(--mono); font-size: 12px; color: var(--text-6); margin-left: auto; }
.footer__links { display: flex; gap: 20px; font-size: 13.5px; }
.footer__links a { color: var(--text-4); transition: color 200ms ease; }
.footer__links a:hover { color: #fff; }

/* ---------- 12. Legal pages ---------- */
.legal { padding-top: 64px; padding-bottom: 20px; }
.legal__panel {
  max-width: 900px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(165deg, rgba(255,45,111,0.08), var(--panel) 38%, rgba(47,123,255,0.06));
  padding: 42px;
}
.legal h1 {
  margin: 14px 0 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.legal__updated {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-5);
}
.legal h2 {
  margin: 32px 0 0;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.legal p {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-3);
}

/* ---------- 13. Motion ---------- */
@keyframes mnp-spin { to { transform: rotate(360deg); } }
@keyframes mnp-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes mnp-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* scroll-reveal: JS adds .is-in when the element enters the viewport */
[data-reveal] { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 620ms var(--ease) var(--reveal-delay, 0ms),
              transform 700ms var(--ease) var(--reveal-delay, 0ms);
}
.no-js [data-reveal], .no-reveal [data-reveal] { opacity: 1; transform: none; }

/* ---------- 14. Responsive ---------- */
/* Medium: 1023px and down — 4-col grids fold to 2, hero type steps down. */
@media (max-width: 1023px) {
  :root { --gutter: 24px; --rhythm: 72px; }
  .hero__title { font-size: 56px; }
  .hero__sub { font-size: 18px; }
  .h2, .get__body h2 { font-size: 36px; }
  .who__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__hero { grid-column: span 2; grid-row: auto; }
  .bento__wide, .bento__full { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .get__panel { padding: 40px 32px; }
  .bleed-shot { margin-bottom: -80px; }
}

/* Narrow: 719px and down — everything single column, nav collapses to CTA only. */
@media (max-width: 719px) {
  :root { --gutter: 18px; --rhythm: 56px; }
  .header__inner { gap: 14px; }
  .nav { display: none; }
  .brand__name { font-size: 16px; }
  .brand__mark { height: 24px; }
  .btn--pink-sm { padding: 8px 14px; font-size: 13px; }
  .hero { padding-top: 32px; }
  .hero__title { font-size: 38px; letter-spacing: -0.025em; }
  .hero__sub { font-size: 16.5px; }
  .hero__actions { gap: 12px; margin-top: 26px; }
  .btn--pink, .btn--white { padding: 14px 20px; font-size: 15px; width: 100%; justify-content: center; }
  .hero__trial { font-size: 11.5px; text-align: center; }
  .shot { margin-top: 34px; }
  .shot__frame { padding: 5px; border-radius: var(--r-lg); }
  .h2, .get__body h2 { font-size: 30px; }
  .stats__grid, .who__grid, .bento { grid-template-columns: 1fr; }
  .bento__hero, .bento__wide, .bento__full { grid-column: span 1; }
  .card { padding: 22px; }
  .decks { gap: 16px; flex-wrap: wrap; }
  .disc { width: 84px; height: 84px; border-width: 5px; }
  .disc__ring { inset: 16px; } .disc__hub { inset: 34px; }
  .card--bleed { padding: 22px; }
  .split { display: flex; height: auto; min-height: 0; }
  .bleed-shot { margin: 4px 0 -60px; max-width: 200px; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 6px 6px 0; }
  .bleed-shot img { border-radius: var(--r-sm) var(--r-sm) 0 0; }
  .inset-shot { max-width: 100%; }
  .strip { align-items: flex-start; flex-direction: column; gap: 10px; }
  .get__panel { padding: 32px 22px; }
  .legal { padding-top: 38px; }
  .legal__panel { padding: 28px 22px; }
  .legal h1 { font-size: 34px; }
  .footer__inner { gap: 14px; }
  .footer__meta { margin-left: 0; width: 100%; order: 9; }
  .page__aura { width: 900px; top: -220px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
