/* playfizzarro.com — Sunlit Jewel Lab ("Fizz Pop" palette from config/palette.json)
   Zero inline styles required; strictly compatible with CSP style-src 'self'. */

:root {
  /* Exact Fizz Pop palette tokens */
  --lab-ink: #1A1033;
  --lab-ink-soft: #2A1D4D;
  --lab-ink-muted: #524670;
  --root-beer-amber: #C8742A;
  --cream-soda: #FFE7B0;
  --lime-fizz: #B8F24A;
  --cherry-pop: #FF3B5C;
  --grape-soda: #7B3FF2;
  --blue-raspberry: #2FA8FF;
  --tangerine-zing: #FF8A1F;
  --bubblegum: #FF6FC8;
  --mint-foam: #7FF5D2;
  --lemon-spark: #FFE14A;
  --fizz-white: #F6F8FF;

  /* Sunlit conservatory surfaces */
  --bg-page: #FAF8FF;
  --bg-sunlit: linear-gradient(165deg, #FFFDF7 0%, #FFF3DA 44%, #EAF6FF 100%);
  --bg-warm-tint: #FFF7E8;
  --bg-cool-tint: #EFF8FF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --border-glass: rgba(26, 16, 51, 0.11);
  --border-bright: rgba(255, 255, 255, 0.78);
  --shadow-gloss: 0 18px 44px -18px rgba(26, 16, 51, 0.22), 0 2px 6px rgba(26, 16, 51, 0.06);
  --shadow-card: 0 10px 28px -12px rgba(26, 16, 51, 0.16), 0 1px 3px rgba(26, 16, 51, 0.06);

  /* Zero-latency rounded display + crisp system UI stack */
  --font-display: ui-rounded, "SF Pro Rounded", "Avenir Next", "Nunito", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lab-ink);
  background: var(--bg-page);
  overflow-x: hidden;
}

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

a {
  color: var(--grape-soda);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--lab-ink);
}

:focus-visible {
  outline: 3px solid var(--blue-raspberry);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lab-ink);
  color: var(--fizz-white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  z-index: 999;
  font-weight: 700;
}

.skip:focus {
  left: 14px;
  top: 14px;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.narrow {
  width: min(820px, 100% - 32px);
  margin-inline: auto;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border-glass);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lab-ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(26, 16, 51, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a:not(.btn) {
  color: var(--lab-ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.nav a:not(.btn):hover,
.nav a[aria-current="page"] {
  color: var(--grape-soda);
}

/* Glossy Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  color: var(--lab-ink);
  background: linear-gradient(180deg, #FFF287 0%, var(--lemon-spark) 52%, #FFC424 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.85),
    0 10px 24px -10px rgba(200, 116, 42, 0.55),
    0 2px 0 rgba(26, 16, 51, 0.22);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: var(--lab-ink);
  filter: brightness(1.03);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    0 14px 28px -10px rgba(200, 116, 42, 0.65),
    0 3px 0 rgba(26, 16, 51, 0.24);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.btn.lg {
  padding: 15px 28px;
  font-size: 1.05rem;
}

.btn.sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn.primary-fizz {
  color: var(--fizz-white);
  background: linear-gradient(180deg, #9861FF 0%, var(--grape-soda) 55%, #5C22D6 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.42),
    0 12px 26px -10px rgba(123, 63, 242, 0.62),
    0 2px 0 rgba(26, 16, 51, 0.35);
}

.btn.primary-fizz:hover {
  color: var(--fizz-white);
}

.btn.secondary {
  color: var(--lab-ink);
  background: linear-gradient(180deg, #FFFFFF 0%, #F2EEFF 100%);
  border-color: rgba(26, 16, 51, 0.16);
  box-shadow: inset 0 2px 0 #FFFFFF, 0 6px 16px -10px rgba(26, 16, 51, 0.25);
}

.btn.mint {
  color: var(--lab-ink);
  background: linear-gradient(180deg, #B5FFE8 0%, var(--mint-foam) 55%, #4EE4BC 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.85), 0 10px 22px -10px rgba(47, 168, 255, 0.35);
}

.btn.blue {
  color: var(--fizz-white);
  background: linear-gradient(180deg, #62C1FF 0%, var(--blue-raspberry) 55%, #1685DB 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.48), 0 10px 22px -10px rgba(47, 168, 255, 0.52);
}

.btn.blue:hover {
  color: var(--fizz-white);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Typography & Section Primitives */
section {
  padding: 72px 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.4rem);
  font-weight: 800;
}

p {
  margin: 0 0 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(123, 63, 242, 0.11);
  color: var(--grape-soda);
  margin-bottom: 12px;
}

.eyebrow.amber {
  background: rgba(200, 116, 42, 0.14);
  color: #9A5214;
}

.eyebrow.mint {
  background: rgba(127, 245, 210, 0.34);
  color: #0E6954;
}

.eyebrow.blue {
  background: rgba(47, 168, 255, 0.16);
  color: #0B66AC;
}

.eyebrow.cherry {
  background: rgba(255, 59, 92, 0.14);
  color: #B81A38;
}

.sec-head {
  margin-bottom: 36px;
}

.sec-head.center {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
}

.lede {
  font-size: 1.12rem;
  color: var(--lab-ink-muted);
  line-height: 1.58;
}

/* Status Pills & Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(26, 16, 51, 0.08);
  border: 1px solid rgba(26, 16, 51, 0.12);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--lab-ink);
  margin-bottom: 16px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tangerine-zing);
  box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.25);
}

.status-dot.live {
  background: #17B882;
  box-shadow: 0 0 0 4px rgba(127, 245, 210, 0.45);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-playable {
  background: rgba(127, 245, 210, 0.26);
  color: #0A5B47;
  border: 1px solid rgba(127, 245, 210, 0.75);
}

.badge-upcoming {
  background: rgba(255, 225, 74, 0.24);
  color: #7D5400;
  border: 1px solid rgba(255, 225, 74, 0.7);
}

.dark-band .badge-playable {
  background: rgba(127, 245, 210, 0.18);
  color: var(--mint-foam);
  border-color: rgba(127, 245, 210, 0.55);
}

.dark-band .badge-upcoming {
  background: rgba(255, 231, 176, 0.14);
  color: var(--cream-soda);
  border-color: rgba(255, 231, 176, 0.35);
}

/* HERO */
.hero {
  position: relative;
  padding: 42px 0 60px;
  background: var(--bg-sunlit);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -10% auto;
  height: 460px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 225, 74, 0.36), transparent 46%),
    radial-gradient(circle at 82% 24%, rgba(47, 168, 255, 0.26), transparent 45%),
    radial-gradient(circle at 52% 10%, rgba(255, 111, 200, 0.16), transparent 44%);
  pointer-events: none;
}

.hero-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(240px, 0.68fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
}

.wordmark-frame {
  display: inline-block;
  max-width: 440px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(26, 16, 51, 0.18);
  box-shadow: 0 14px 32px -12px rgba(26, 16, 51, 0.38);
  background: var(--lab-ink);
  margin-bottom: 16px;
}

.wordmark-frame img {
  width: 100%;
  height: auto;
}

.hero-title {
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  font-weight: 900;
  color: var(--lab-ink);
  margin-bottom: 12px;
}

.hero-lede {
  font-size: 1.08rem;
  color: var(--lab-ink-soft);
  max-width: 62ch;
  margin-bottom: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cta-row.center {
  justify-content: center;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lab-ink-muted);
}

/* Above-the-fold Desktop QR Handoff Card */
.qr-hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-gloss);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.qr-hero-card .qr-box {
  background: #FFFFFF;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(26, 16, 51, 0.12);
  box-shadow: 0 8px 20px -12px rgba(26, 16, 51, 0.3);
}

.qr-hero-card img {
  width: 148px;
  height: 148px;
}

.qr-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--lab-ink);
  margin: 0;
}

.qr-hero-sub {
  font-size: 0.85rem;
  color: var(--lab-ink-muted);
  margin: 0;
  line-height: 1.45;
}

.qr-code-link {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--grape-soda);
  background: rgba(123, 63, 242, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

/* Hero Showcase Stage */
.stage-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--lab-ink);
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 60px -22px rgba(26, 16, 51, 0.45), 0 0 0 1px rgba(26, 16, 51, 0.12);
  aspect-ratio: 16 / 9;
}

.stage-frame picture,
.stage-frame img,
.stage-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-ribbon {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.ribbon-tag {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--fizz-white);
  background: rgba(26, 16, 51, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ribbon-tag.lime {
  background: rgba(184, 242, 74, 0.92);
  color: var(--lab-ink);
  border-color: rgba(255, 255, 255, 0.85);
}

/* Honest Beta Scope Banner */
.beta-scope {
  background: var(--bg-warm-tint);
  border-bottom: 1px solid var(--border-glass);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scope-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
}

.scope-card.now {
  border-top: 5px solid var(--mint-foam);
}

.scope-card.next {
  border-top: 5px solid var(--tangerine-zing);
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 9px;
}

.scope-list li {
  position: relative;
  padding-left: 22px;
  color: var(--lab-ink-soft);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-raspberry);
}

.scope-card.now .scope-list li::before {
  background: #17B882;
}

.scope-card.next .scope-list li::before {
  background: var(--tangerine-zing);
}

.beta-caveat {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(26, 16, 51, 0.05);
  border-left: 4px solid var(--grape-soda);
  font-size: 0.95rem;
  color: var(--lab-ink-soft);
}

/* Dark Jewel Band (Interactive 4-Wing / 12-Zone Echo Explorer) */
.dark-band {
  background:
    radial-gradient(circle at 12% 14%, rgba(123, 63, 242, 0.34), transparent 40%),
    radial-gradient(circle at 88% 18%, rgba(47, 168, 255, 0.25), transparent 42%),
    linear-gradient(180deg, #1A1033 0%, #221445 100%);
  color: var(--fizz-white);
}

.dark-band .lede {
  color: rgba(246, 248, 255, 0.82);
}

.dark-band .eyebrow {
  background: rgba(255, 225, 74, 0.16);
  color: var(--lemon-spark);
}

.wing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.wing-tab {
  appearance: none;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fizz-white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.wing-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.wing-tab[aria-selected="true"] {
  background: linear-gradient(180deg, #FFF287 0%, var(--lemon-spark) 100%);
  color: var(--lab-ink);
  border-color: #FFFFFF;
  box-shadow: 0 8px 24px -8px rgba(255, 225, 74, 0.65);
}

.wing-panel[hidden] {
  display: none;
}

.wing-banner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 22px;
}

.wing-banner-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.wing-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.zones-grid.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 780px;
  margin-inline: auto;
}

.zone-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.zone-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #120B24;
  overflow: hidden;
}

.zone-media picture,
.zone-media img,
.zone-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.zone-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.zone-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-raspberry);
}

.zone-card h3 {
  margin: 0;
  color: var(--fizz-white);
}

.zone-desc {
  margin: 0;
  font-size: 0.93rem;
  color: rgba(246, 248, 255, 0.84);
}

.echo-chip {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(127, 245, 210, 0.12);
  border: 1px solid rgba(127, 245, 210, 0.34);
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--fizz-white);
}

.echo-chip strong {
  color: var(--mint-foam);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Feedback & Beta Credits Section */
.cool-band {
  background: var(--bg-cool-tint);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.gloss-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.steps-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--blue-raspberry), var(--grape-soda));
  color: var(--fizz-white);
  font-family: var(--font-display);
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -6px rgba(123, 63, 242, 0.55);
}

/* Device Captures Strip */
.captures-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capture-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--lab-ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.capture-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gloss);
}

.capture-frame {
  aspect-ratio: 9 / 14;
  background: var(--lab-ink);
  overflow: hidden;
}

.capture-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture-meta {
  padding: 12px 14px;
  font-size: 0.88rem;
}

.capture-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.capture-meta span {
  color: var(--lab-ink-muted);
}

/* Cast Spotlight */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cast-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.cast-art {
  aspect-ratio: 16 / 10;
  background: var(--lab-ink);
  overflow: hidden;
}

.cast-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cast-body {
  padding: 20px;
}

.cast-role {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--root-beer-amber);
  margin-bottom: 6px;
}

.cast-quote {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--lemon-spark);
  font-style: italic;
  color: var(--lab-ink-muted);
  font-size: 0.93rem;
}

/* Promise Strip */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.promise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.promise-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--lab-ink);
}

.promise-card span {
  font-size: 0.92rem;
  color: var(--lab-ink-muted);
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 4px 14px -10px rgba(26, 16, 51, 0.2);
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--grape-soda);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--lab-ink-soft);
}

/* Share & Final CTA Band */
.sun-band {
  background: linear-gradient(155deg, #FFF5DB 0%, #FFE4B8 46%, #E5F4FF 100%);
  border-top: 1px solid var(--border-glass);
}

.final-cta {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.share-status {
  min-height: 1.4em;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0E6954;
  margin-top: 8px;
}

/* Document / Legal / Support / Contact Pages */
.doc {
  padding: 48px 0 76px;
}

.doc h1 {
  margin-bottom: 10px;
}

.doc h2 {
  font-size: 1.45rem;
  margin-top: 34px;
  margin-bottom: 10px;
}

.doc h3 {
  font-size: 1.12rem;
  margin-top: 22px;
}

.doc ul, .doc ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.doc li {
  margin-bottom: 8px;
}

.updated {
  color: var(--lab-ink-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.callout {
  background: linear-gradient(145deg, #FFFFFF 0%, #F4EEFF 100%);
  border: 1px solid rgba(123, 63, 242, 0.24);
  border-left: 5px solid var(--grape-soda);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 18px 0 24px;
}

.callout.mint {
  background: linear-gradient(145deg, #FFFFFF 0%, #ECFFF9 100%);
  border-color: rgba(23, 184, 130, 0.28);
  border-left-color: #17B882;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.privacy-table th,
.privacy-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.93rem;
}

.privacy-table th {
  background: rgba(26, 16, 51, 0.05);
  font-family: var(--font-display);
  font-weight: 800;
}

/* Forms */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  margin-top: 16px;
}

.contact-card form {
  display: grid;
  gap: 16px;
}

.contact-card .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--lab-ink);
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  font: inherit;
  font-weight: 500;
  color: var(--lab-ink);
  background: #FFFFFF;
  border: 1.5px solid rgba(26, 16, 51, 0.2);
  border-radius: 12px;
  padding: 11px 13px;
}

.contact-card textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  border-color: var(--grape-soda);
  outline: none;
  box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.16);
}

.credits-fields {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(127, 245, 210, 0.14);
  border: 1.5px solid rgba(23, 184, 130, 0.34);
}

.credits-fields[hidden] {
  display: none;
}

.contact-card .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}

.contact-card .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--grape-soda);
}

.fine-print-card {
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(26, 16, 51, 0.04);
  border: 1px solid var(--border-glass);
}

.fine-print-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.fine-print-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--lab-ink-muted);
  margin: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.status.ok {
  color: #0E6954;
}

.status.bad {
  color: #B81A38;
}

.note {
  font-size: 0.88rem;
  color: var(--lab-ink-muted);
  margin: 0;
}

/* Get / 404 Shell */
.get-shell {
  padding: 56px 0 80px;
  min-height: 68vh;
  background: var(--bg-sunlit);
  display: grid;
  align-content: start;
  gap: 32px;
}

.get-card {
  width: min(820px, 100% - 32px);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid #FFFFFF;
  outline: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-gloss);
  display: grid;
  gap: 20px;
}

.get-card + .get-card {
  margin-top: 8px;
}

.get-card.centered {
  text-align: center;
  justify-items: center;
}

.get-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.get-header img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 8px 20px -8px rgba(26, 16, 51, 0.38);
}

.get-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 24px;
  align-items: center;
}

.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.req-list li strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 2px;
}

.qr-stamp {
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  box-shadow: var(--shadow-card);
}

.qr-stamp span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--lab-ink-muted);
}

/* Making-Of Telemetry & Evolution Grids */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 32px;
}

.stat-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--grape-soda);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--lab-ink-muted);
  margin-top: 6px;
}

.round-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 28px;
}

.round-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.round-card.winner {
  border: 2px solid #17B882;
}

.round-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.round-card.square img {
  aspect-ratio: 1 / 1;
}

.round-cap {
  padding: 10px 12px;
  font-size: 0.84rem;
}

.round-cap strong {
  display: block;
  font-family: var(--font-display);
}

/* Lightbox */
.lightbox {
  border: none;
  background: rgba(18, 11, 36, 0.92);
  color: var(--fizz-white);
  padding: 20px;
  max-width: 96vw;
  max-height: 94vh;
  border-radius: var(--radius-md);
}

.lightbox::backdrop {
  background: rgba(18, 11, 36, 0.82);
  backdrop-filter: blur(8px);
}

.lb-inner {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.lb-inner img {
  max-height: 76vh;
  width: auto;
  border-radius: 12px;
}

.lb-inner figcaption {
  font-size: 0.94rem;
  color: rgba(246, 248, 255, 0.88);
  text-align: center;
}

.lb-ctrl {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(26, 16, 51, 0.82);
  color: var(--fizz-white);
  font-size: 1.35rem;
  cursor: pointer;
}

/* Footer */
footer {
  background: var(--lab-ink);
  color: rgba(246, 248, 255, 0.86);
  padding: 40px 0 48px;
}

.foot-in {
  display: grid;
  gap: 20px;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fizz-white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.foot-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-nav a {
  color: rgba(246, 248, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.foot-nav a:hover {
  color: var(--lemon-spark);
}

.legal {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(246, 248, 255, 0.65);
  line-height: 1.55;
}

.legal a {
  color: var(--cream-soda);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-top,
  .scope-grid,
  .feedback-grid,
  .get-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .qr-hero-card {
    display: none;
  }
  .zones-grid,
  .cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .captures-grid,
  .promise-grid,
  .stats-grid,
  .round-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .wing-banner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  section {
    padding: 52px 0;
  }
  .nav a:not(.keep-mob):not(.btn) {
    display: none;
  }
  .zones-grid,
  .cast-grid,
  .captures-grid,
  .promise-grid,
  .contact-card .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .get-shell {
    gap: 28px;
  }
  .get-card {
    padding: 24px;
  }
}

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