/* Spin Back Room — tokens + utility classes */
:root {
  --white: #f7f9fc;
  --porcelain: #eef2f7;
  --slate: #3d5a80;
  --slate-deep: #2b3f5c;
  --ink: #1a2332;
  --muted: #5a6b7f;
  --lime: #b8e63a;
  --lime-deep: #9acc1f;
  --aurora-a: rgba(61, 90, 128, 0.18);
  --aurora-b: rgba(184, 230, 58, 0.16);
  --aurora-c: rgba(120, 170, 220, 0.14);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-pill: 999px;
  --max: 42rem;
  --max-wide: 52rem;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", "Consolas", "Liberation Mono", monospace;
  --shadow-one: 0 18px 40px rgba(43, 63, 92, 0.12);
  --line: 1px solid rgba(61, 90, 128, 0.18);
  --frame: 2px solid var(--slate);
  --ease: 0.35s ease;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--white);
  background-image:
    radial-gradient(ellipse 70% 55% at 88% 8%, var(--aurora-b), transparent 55%),
    radial-gradient(ellipse 60% 50% at 12% 92%, var(--aurora-a), transparent 50%),
    radial-gradient(ellipse 50% 40% at 60% 40%, var(--aurora-c), transparent 60%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--slate-deep);
  margin: 0 0 var(--space-4);
}

p { margin: 0 0 var(--space-4); max-width: 70ch; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--slate-deep);
  text-decoration: none;
  font-weight: 600;
}
a::before { content: "· "; color: var(--lime-deep); font-weight: 700; }
a.btn::before,
a.logo::before,
a.nav__link::before,
a.card-cta::before,
a.scorecard__cta::before,
.safety a::before,
.cookie a::before,
.age-bar a::before,
.footer a::before,
.brand-strip a::before { content: none; }

a:hover { color: var(--slate); }

ul, ol { padding-left: 1.2rem; margin: 0 0 var(--space-4); }
li { margin-bottom: var(--space-2); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Layout utilities */
.wrap {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2rem, var(--max)); }
.stack { display: flex; flex-direction: column; gap: var(--space-5); }
.stack--tight { gap: var(--space-3); }
.stack--loose { gap: var(--space-7); }
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.cluster--between { justify-content: space-between; }
.cluster--end { justify-content: flex-end; }
.flow > * + * { margin-top: var(--space-4); }
.center { text-align: center; }
.center .rule { margin-inline: auto; }
.full { width: 100%; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }
.pad-5 { padding: var(--space-5); }
.pad-6 { padding: var(--space-6); }
.pad-7 { padding: var(--space-7) var(--space-5); }

/* Type utilities */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--space-3);
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 48ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.tiny { font-size: 0.78rem; line-height: 1.45; color: var(--muted); }
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.display {
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 14ch;
}
.display .accent {
  color: var(--slate);
  background: linear-gradient(120deg, transparent 0%, rgba(184,230,58,0.45) 0%, rgba(184,230,58,0.45) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  background-position: 0 88%;
}
.h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.h3 { font-size: 1.25rem; }

/* Surfaces */
.card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-one);
  position: relative;
}
.card--framed {
  border: var(--frame);
  outline: 1px solid rgba(61, 90, 128, 0.2);
  outline-offset: 3px;
}
.card--soft {
  border: var(--line);
  box-shadow: none;
}
.panel {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  border: var(--line);
  padding: var(--space-6);
}
.band {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(238,242,247,0.85)),
    url("/assets/aurora-band.jpg") center / cover no-repeat;
  border-radius: var(--radius);
  padding: var(--space-7) var(--space-5);
}
.rule {
  width: 3.5rem;
  height: 3px;
  background: var(--lime);
  border: 0;
  margin: var(--space-7) auto;
  border-radius: 2px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--slate);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.badge--lime { background: var(--lime); color: var(--ink); }
.badge--ghost { background: rgba(61, 90, 128, 0.12); color: var(--slate-deep); }
.badge--corner {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

/* Buttons — split with chevron segment */
.btn {
  display: inline-flex;
  align-items: stretch;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 100%;
}
.btn__label {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.1rem;
  background: var(--lime);
  color: var(--ink);
}
.btn__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  background: var(--lime-deep);
  color: var(--ink);
  font-weight: 800;
}
.btn:hover .btn__label { background: #c6f24a; }
.btn:hover .btn__chev { background: #8fbf14; }
.btn--ghost {
  outline: 2px solid var(--slate);
  border-radius: var(--radius-sm);
}
.btn--ghost .btn__label {
  background: transparent;
  color: var(--slate-deep);
}
.btn--ghost .btn__chev {
  background: rgba(61, 90, 128, 0.12);
  color: var(--slate-deep);
}
@media (max-width: 640px) {
  .btn--block-m { width: 100%; }
  .btn--block-m .btn__label { flex: 1; justify-content: center; }
}

/* Age bar */
.age-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--slate-deep);
  color: #fff;
  font-size: 0.82rem;
  padding: 0.55rem 0;
}
.age-bar a { color: var(--lime); font-weight: 600; }
.age-bar a:hover { color: #fff; }
.age-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  justify-content: space-between;
}
.age-bar__mark {
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--lime);
  color: var(--ink);
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  margin-right: 0.4rem;
}

/* Header */
.site-header {
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: var(--line);
  position: sticky;
  top: 2.1rem;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.9rem 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--slate-deep);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo img { width: 2.2rem; height: 2.2rem; }
.logo span { font-size: 1.05rem; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
  justify-content: flex-end;
}
.nav__link {
  color: var(--slate-deep);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.nav__link[aria-current="page"] {
  color: var(--slate);
  box-shadow: inset 0 -2px 0 var(--lime);
}
.nav-toggle {
  display: none;
  border: var(--frame);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  color: var(--slate-deep);
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
  }
  .nav.is-open { display: flex; }
  .site-header__inner { flex-wrap: wrap; }
}

/* Hero poster */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(247,249,252,0.92) 0%, rgba(247,249,252,0.78) 48%, rgba(61,90,128,0.18) 100%),
    url("/assets/aurora-hero.jpg") right center / cover no-repeat;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__notice {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.hero__support {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40ch;
  margin-top: var(--space-4);
}

/* Credibility */
. cred {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.cred__item {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  border: var(--line);
}
.cred__num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--slate);
  display: block;
}
@media (max-width: 640px) {
  .cred { grid-template-columns: 1fr; }
}

/* Showcase rows */
.row-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5);
  background: rgba(255,255,255,0.86);
  border-radius: var(--radius);
  border: var(--line);
  box-shadow: none;
  position: relative;
}
.row-card--featured {
  border: var(--frame);
  outline: 1px solid rgba(184, 230, 58, 0.55);
  outline-offset: 4px;
  box-shadow: var(--shadow-one);
}
.row-card__logo {
  width: 5.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: var(--radius-sm);
  border: var(--line);
  padding: 0.35rem;
}
.row-card__logo img {
  max-height: 2.6rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.row-card__score {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--slate-deep);
  text-align: right;
  line-height: 1.1;
}
.row-card__score span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.row-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  min-width: 11rem;
}
.row-card__meta { margin-top: var(--space-3); }
@media (max-width: 800px) {
  .row-card {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .row-card__actions { align-items: stretch; min-width: 0; }
  .row-card__score { text-align: left; }
}

/* Scorecards */
.scorecard {
  padding: var(--space-5);
  background: rgba(255,255,255,0.88);
  border-radius: var(--radius);
  border: var(--frame);
  outline: 1px solid rgba(61, 90, 128, 0.15);
  outline-offset: 3px;
}
.scorecard__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2) var(--space-4);
  font-size: 0.95rem;
  margin: var(--space-4) 0;
}
.scorecard__grid dt { color: var(--muted); }
.scorecard__grid dd {
  margin: 0;
  font-family: var(--font-mono);
  text-align: right;
  font-weight: 600;
  color: var(--slate-deep);
}
.scorecard__head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: flex-start;
}

/* Safety panel */
.safety {
  border: var(--frame);
  outline: 1px solid rgba(184, 230, 58, 0.4);
  outline-offset: 4px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.9);
  padding: var(--space-6);
  box-shadow: var(--shadow-one);
}
.safety__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.safety__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--porcelain);
  text-decoration: none;
  color: var(--slate-deep);
  font-weight: 700;
}
.safety__item img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  background: #fff;
  border-radius: 0.4rem;
  padding: 0.2rem;
}
.safety__item::before { content: none; }
@media (max-width: 640px) {
  .safety__grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq li {
  padding: var(--space-5) 0;
  border-bottom: var(--line);
  margin: 0;
}
.faq li:first-child { border-top: var(--line); }
.faq h3 { margin-bottom: var(--space-2); font-size: 1.1rem; }

/* Footer */
.footer {
  margin-top: var(--space-8);
  background: var(--slate-deep);
  color: rgba(255,255,255,0.88);
  padding: var(--space-7) 0 var(--space-5);
}
.footer a { color: var(--lime); font-weight: 600; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-6);
}
.footer h2, .footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.45rem; }
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-3);
}
.footer__brand img { width: 2rem; height: 2rem; }
.brand-strip {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Cookie */
.cookie {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 80;
  max-width: 34rem;
  margin-inline: auto;
  background: #fff;
  border: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow-one);
  padding: var(--space-5);
  display: none;
}
.cookie.is-visible { display: block; }

/* Article pages */
.page-hero {
  padding: var(--space-7) 0 var(--space-5);
}
.prose { max-width: 65ch; }
.prose h2 { margin-top: var(--space-7); }
.figure {
  margin: var(--space-6) 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--line);
  background: #fff;
}
.figure img { width: 100%; }
.figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding: var(--space-3) var(--space-4);
  background: rgba(238,242,247,0.8);
}
.form { display: grid; gap: var(--space-4); max-width: 32rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--lime);
  border-color: var(--slate);
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: var(--line);
  padding-top: var(--space-5);
  margin-top: var(--space-7);
}

.updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.honesty {
  border-left: 4px solid var(--lime);
  padding: var(--space-5);
  background: rgba(255,255,255,0.75);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.aff-note {
  font-size: 0.9rem;
  padding: var(--space-4);
  background: rgba(61, 90, 128, 0.08);
  border-radius: var(--radius-sm);
  border: var(--line);
}

main { padding-bottom: var(--space-8); }
