/* Needle Jam — Scène néon.
   Colours are the app's own (DevOS/Game/UI/Theme.swift, Palette.neon), so the
   site and the game read as one thing. Dark only: the look is a lit stage. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #07060F;
  --surface: #15142B;
  --surface-raised: #211F42;
  --line: #2E2B57;

  --text: #F2F3FF;
  --text-2: #B9BCD9;
  --text-3: #8E91B5;

  --magenta: #FF2E88;
  --violet: #7B5CFF;
  --cyan: #19D3FF;
  --mint: #3CFFB0;
  --red: #FF6A4D;
  --gold: #FFE14D;

  --display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 600 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}
/* The stage lights: magenta top-left, cyan top-right, violet from below —
   the same three the app lays over its background. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50rem 32rem at 0% -10%, rgb(255 46 136 / .20), transparent 70%),
    radial-gradient(44rem 30rem at 100% 0%, rgb(25 211 255 / .14), transparent 70%),
    radial-gradient(60rem 30rem at 50% 115%, rgb(123 92 255 / .18), transparent 70%);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
strong { color: var(--text); font-weight: 700; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--text); color: var(--bg); padding: .7rem 1rem; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(7 6 15 / .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(46 43 87 / .6);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 4rem; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 800 1.25rem/1 var(--display); color: var(--text); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: .25rem; margin-left: auto; }
.site-nav a {
  color: var(--text-2); text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .6rem .75rem; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a {
  color: var(--text-2); text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  padding: .35rem .65rem; border-radius: 999px; min-width: 44px; text-align: center;
}
.lang a[aria-current="true"] { background: var(--surface-raised); color: var(--text); }
.menu-btn {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .lang { order: 3; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .site-nav[data-open] { display: flex; }
  .site-nav a { font-size: 1.05rem; }
}

/* ---------- Shared pieces ---------- */
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: .9rem;
}
.lede { color: var(--text-2); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 40rem; margin-top: 1rem; }
.section-head { margin-bottom: clamp(2rem, 5vw, 3rem); }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .85rem; color: var(--text-2); font-weight: 700;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: 14px;
  font: 800 1.05rem/1 var(--display); text-decoration: none; letter-spacing: .01em;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary {
  background: var(--magenta); color: #07060F;
  box-shadow: 0 8px 30px -8px rgb(255 46 136 / .7);
}
.btn-primary:hover { color: #07060F; transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgb(255 46 136 / .85); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-raised); }
.btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 7vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); line-height: .98; margin-top: 1.25rem; }
.hero h1 .glow {
  background: linear-gradient(90deg, var(--magenta), var(--violet) 55%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { color: var(--text-3); font-size: .9rem; margin-top: 1rem; }

/* The disc: the app icon drawn in CSS, so it spins without a video. */
.stage { position: relative; aspect-ratio: 1; max-width: 30rem; width: 100%; margin: 0 auto; }
.disc {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0E0C22 0 17%, transparent 17.5%),
    repeating-radial-gradient(circle, #100E24 0 3px, #0A0918 3px 6px);
  box-shadow:
    0 0 0 3px var(--magenta),
    0 0 26px 4px rgb(255 46 136 / .55),
    inset 0 0 40px rgb(0 0 0 / .8);
  animation: spin 8s linear infinite;
}
.disc::before {
  content: ""; position: absolute; inset: 24%;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--cyan), 0 0 22px 3px rgb(25 211 255 / .5);
}
.disc::after {
  content: ""; position: absolute; inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #9A7BFF, var(--violet) 60%, #4B33C9);
  box-shadow: 0 0 30px rgb(123 92 255 / .7);
}
.disc-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 clamp(1.4rem, 4vw, 2.2rem)/1 var(--display); color: #fff; letter-spacing: .02em;
  z-index: 2; pointer-events: none;
}
.tonearm {
  position: absolute; right: 4%; top: 2%; width: 44%; height: 44%;
  transform-origin: 88% 12%; transform: rotate(-4deg);
  animation: arm 8s var(--ease) infinite;
}
.tonearm svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 8px rgb(25 211 255 / .8)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes arm { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(2deg); } }

/* Floating challenge tags around the disc */
.tag {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .85rem; border-radius: 12px;
  background: var(--surface-raised); border: 1px solid var(--line);
  font: 800 .9rem/1 var(--display); white-space: nowrap;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / .8);
  animation: bob 6s ease-in-out infinite;
}
.tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.tag-1 { --c: var(--gold); left: -2%; top: 12%; }
.tag-2 { --c: var(--cyan); right: -3%; top: 58%; animation-delay: -2s; }
.tag-3 { --c: var(--mint); left: 4%; bottom: 6%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 22rem; }
}
@media (max-width: 420px) {
  .tag { font-size: .8rem; padding: .45rem .7rem; }
}

/* ---------- Challenges ---------- */
.challenges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ch {
  --c: var(--magenta);
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  transition: transform .2s var(--ease), border-color .2s;
}
.ch::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--c); box-shadow: 0 0 16px var(--c);
}
.ch:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
.ch .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  margin-bottom: 1.1rem;
}
.ch .ico svg { width: 24px; height: 24px; stroke: var(--c); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ch p { color: var(--text-2); font-size: .98rem; margin-top: .5rem; }
.ch.wide { grid-column: span 2; }
.c-gold { --c: var(--gold); } .c-cyan { --c: var(--cyan); } .c-mint { --c: var(--mint); }
.c-violet { --c: #A08BFF; } .c-magenta { --c: var(--magenta); } .c-red { --c: var(--red); }
@media (max-width: 980px) { .challenges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .challenges { grid-template-columns: 1fr; } .ch.wide { grid-column: auto; } }

.chance { margin-top: 1.5rem; color: var(--text-3); font-size: .95rem; }

/* ---------- The table plays ---------- */
.duo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.panel .kicker { font: 800 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--magenta)); margin-bottom: .9rem; }
.panel p { color: var(--text-2); margin-top: .6rem; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

.letters { display: flex; gap: .5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.letters span {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font: 800 1.2rem/1 var(--display); background: var(--surface-raised); border: 1px solid var(--line);
}
.letters span.on { background: var(--magenta); color: #07060F; border-color: var(--magenta); box-shadow: 0 0 18px rgb(255 46 136 / .6); }

.tokens { display: flex; gap: .5rem; margin-top: 1.25rem; }
.coin {
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF3A6, var(--gold) 55%, #C9A400);
  box-shadow: 0 0 16px rgb(255 225 77 / .5), inset 0 -3px 0 rgb(0 0 0 / .2);
}

/* ---------- How a turn works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; padding-top: 3.6rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.15rem/1 var(--display); color: var(--cyan);
  border: 2px solid var(--cyan); box-shadow: 0 0 14px rgb(25 211 255 / .4);
}
.step p { color: var(--text-2); margin-top: .5rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.timeline {
  margin-top: 3rem; display: flex; gap: .6rem; align-items: stretch;
  overflow-x: auto; padding: .5rem .25rem 1rem; scrollbar-width: thin;
}
.tl-card, .tl-slot {
  flex: 0 0 auto; width: 8.5rem; border-radius: 14px; padding: .9rem .9rem 1rem;
}
.tl-card { background: var(--surface-raised); border: 1px solid var(--line); border-top: 4px solid var(--c); }
.tl-card .yr { font: 800 1.9rem/1 var(--display); display: block; }
.tl-card .dec { color: var(--text-3); font-size: .85rem; }
.tl-slot {
  display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--magenta); color: var(--magenta);
  font: 800 1rem/1.2 var(--display);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 22px rgb(255 46 136 / .45); } }

/* ---------- TV & music ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.tv {
  aspect-ratio: 16 / 9; border-radius: 16px; position: relative; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 0%, #1F1A4A, #0B0A1C);
  border: 8px solid #1A1830; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .9), 0 0 60px -10px rgb(123 92 255 / .5);
  display: grid; place-items: center; text-align: center; padding: 1rem;
}
.tv .big { font: 800 clamp(1.4rem, 4vw, 2.4rem)/1.05 var(--display); }
.tv .big em { font-style: normal; color: var(--gold); }
.tv .opts { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.tv .opts span { padding: .4rem .7rem; border-radius: 10px; background: var(--surface-raised); font: 800 .85rem/1 var(--display); color: var(--text-2); }
.tv .opts span b { color: var(--cyan); margin-right: .35rem; }
.list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.list li { display: flex; gap: .8rem; color: var(--text-2); }
.list li::before {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-top: .55em; border-radius: 50%;
  background: var(--c, var(--cyan)); box-shadow: 0 0 10px var(--c, var(--cyan));
}

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.pack p { color: var(--text-2); margin-top: .4rem; font-size: .98rem; }
@media (max-width: 760px) { .packs { grid-template-columns: 1fr; } }

/* ---------- Closing call ---------- */
.cta-band {
  text-align: center; border-radius: 28px; padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  background:
    radial-gradient(60% 120% at 0% 0%, rgb(255 46 136 / .28), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, rgb(25 211 255 / .22), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
}
.cta-band .lede { margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; margin-top: 2rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.site-footer nav a { color: var(--text-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer nav a:hover { color: var(--text); }
.copy { color: var(--text-3); font-size: .85rem; max-width: 36rem; }

/* ---------- Text pages (support, privacy) ---------- */
.doc { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2.6rem; color: var(--text); }
.doc h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.doc p, .doc li { color: var(--text-2); margin-top: .8rem; }
.doc ul { padding-left: 1.25rem; }
.doc .updated { color: var(--text-3); margin-top: 1rem; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 14px; padding: 1.25rem 1.4rem; margin-top: 1.6rem; }
.doc .box p:first-child { margin-top: 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-top: .75rem; }
details summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem; min-height: 44px;
  font: 800 1.08rem/1.3 var(--display); display: flex; justify-content: space-between; gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--magenta); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 1.25rem 1.1rem; }
details > div p:first-child { margin-top: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 520px) {
  .tl-card, .tl-slot { width: 6.2rem; padding: .75rem .7rem .85rem; }
  .tl-card .yr { font-size: 1.5rem; }
  .tl-card .dec { font-size: .78rem; }
}

/* ---------- Beta sign-up form ---------- */
.form { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.form label { display: block; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.form .hint { display: block; font-weight: 600; color: var(--text-3); font-size: .88rem; margin-top: .3rem; }
.form input[type="text"], .form input[type="email"], .form select {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: 600 1rem/1.3 var(--body); color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.form input:focus-visible, .form select:focus-visible { outline: 3px solid var(--cyan); outline-offset: 1px; }
.form .check { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); font-weight: 600; }
.form .check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--magenta); flex: 0 0 auto; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button { border: 0; cursor: pointer; justify-self: start; }
.form-error { background: color-mix(in srgb, var(--red) 14%, var(--surface)); border: 1px solid var(--red);
  border-radius: 12px; padding: .9rem 1.1rem; color: var(--text); margin-top: 1.2rem; }
/* Safari draws its own slim select; give it the same box as the text fields. */
.form select {
  -webkit-appearance: none; appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9BCD9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px;
}
/* iOS: typed text and autofill must stay light-on-dark. Safari paints an
   autofilled field light and keeps our light text on it, which is unreadable. */
.form input, .form select { -webkit-text-fill-color: var(--text); opacity: 1; }
.form input::placeholder { color: var(--text-3); -webkit-text-fill-color: var(--text-3); opacity: 1; }
.form input:-webkit-autofill, .form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--surface-raised) inset;
  box-shadow: 0 0 0 1000px var(--surface-raised) inset;
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  transition: background-color 9999s ease-out 0s;
}
.form input, .form select { -webkit-appearance: none; appearance: none; margin: 0; }

/* Four decks: two by two on a tablet, four across on a wide screen. */
.packs { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .packs { grid-template-columns: 1fr; } }
.pack .new {
  display: inline-block; vertical-align: middle; margin-left: .4rem;
  font: 800 .7rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  color: #07060F; background: var(--mint); padding: .3rem .5rem; border-radius: 999px;
}

/* The consent box. The rule above that strips Safari's styling from fields
   also stripped it from this checkbox, which then all but vanished; it is
   drawn here instead: a clear outlined box, magenta with a tick when checked. */
.form .check input[type="checkbox"] {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; min-width: 26px; margin: .1rem 0 0;
  border: 2px solid var(--text-2); border-radius: 7px;
  background: var(--surface-raised); cursor: pointer;
  display: grid; place-content: center;
}
.form .check input[type="checkbox"]:checked {
  background: var(--magenta); border-color: var(--magenta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307060F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 18px;
}
.form .check input[type="checkbox"]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form .check {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.1rem; cursor: pointer;
}

/* Step-by-step lists in the FAQ, and the "more" link under a home section. */
.doc details h3 { font-size: 1.05rem; margin-top: 1.4rem; color: var(--text); }
.steps-list { padding-left: 1.4rem; margin: .6rem 0 0; }
.steps-list li { color: var(--text-2); margin-top: .5rem; padding-left: .2rem; }
.steps-list li::marker { color: var(--cyan); font-weight: 800; }
.more { margin-top: 1.4rem; }
.more a { font-weight: 700; text-decoration: none; }
.more a:hover { text-decoration: underline; }

.site-footer .footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.site-footer .footer-brand { align-items: flex-start; }

/* ---------- Logo (Tools/brand in the DevOS repo, chosen 2026-09-30) ---------- */
.hero .logo { display: block; width: clamp(170px, 24vw, 250px); height: auto; margin: 0 0 1.4rem -.4rem; }
.site-footer .logo-small { display: block; width: 76px; height: auto; }

/* The hero record wears the logo's colours: magenta rim, violet grooves,
   cyan label, gold cartridge. */
.disc::before { inset: 27%; border: 6px solid var(--violet); box-shadow: 0 0 0 10px #0E0C20, 0 0 0 16px var(--violet); }
.disc::after { inset: 36%; background: radial-gradient(circle, #1B1938 0 12%, var(--cyan) 13%); box-shadow: 0 0 26px rgb(25 211 255 / .5); }
