/* ─────────────────────────────────────────────────────────────
   Guessr — guessr.app
   Shared styles. Dark-first. Flat, saturated, high-contrast.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Color */
  --bg: #0E0B1A;
  --surface: #1A1530;
  --surface-2: #231C42;
  --brand: #6E2BFF;
  --spark: #D8FF3C;
  --text: #FBF8F2;
  --text-muted: #A79FC4;
  --hair: rgba(251, 248, 242, 0.08);
  --danger: #FF7A8C;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 48px;
  --s-9: 64px;
  --s-10: 96px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1180px;
  --maxw-narrow: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 16px;
}

a { color: inherit; }

::selection { background: var(--spark); color: var(--bg); }

/* ── Display ── */
.display {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.spark { color: var(--spark); }

/* ── Wrap ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

/* ─────────────────────────────────────────────────────────────
   NAV BAR
   ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 11, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--hair); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand__wm {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand svg { display: block; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
  padding: 4px 2px;
  text-transform: uppercase;
  position: relative;
  transition: color 150ms ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-current="true"] {
  color: var(--text);
}
.lang-switch button[aria-current="true"]::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -2px;
  height: 2px;
  background: var(--spark);
  border-radius: 2px;
}
.lang-switch .dot {
  color: var(--text-muted);
  opacity: 0.4;
}

@media (max-width: 720px) {
  .nav__inner { height: 60px; }
  .brand__wm { font-size: 18px; }
  .nav__right { gap: 14px; }
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS / BADGES
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, opacity 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 0.9; }
.btn--spark { background: var(--spark); color: var(--bg); }
.btn--violet { background: var(--brand); color: var(--text); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--hair);
}

/* App / Play store badges (brand-aligned placeholders) */
.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 22px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-md);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: transform 120ms ease, background 120ms ease;
}
.store:hover { transform: translateY(-1px); }
.store__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store__txt .small {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 600;
}
.store__txt .big {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.store--disabled {
  background: var(--surface);
  color: var(--text-muted);
  pointer-events: none;
}
.store--disabled .small {
  color: var(--spark);
  opacity: 1;
}
.store--ghost {
  background: var(--surface);
  color: var(--text);
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hair);
}
.store--ghost .big { font-size: 14px; }
.store--ghost .small { display: none; }

@media (max-width: 720px) {
  .store-row { flex-direction: column; }
  .store { width: 100%; justify-content: flex-start; }
}

/* ─────────────────────────────────────────────────────────────
   SECTION SCAFFOLDING
   ───────────────────────────────────────────────────────────── */
section { position: relative; }
.section-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 12px;
  color: var(--spark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1, h2, h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
h2 { font-size: 56px; line-height: 1.02; }
h3 { font-size: 24px; line-height: 1.1; }

@media (max-width: 720px) {
  h2 { font-size: 38px; }
  h3 { font-size: 20px; }
}

.section-lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin-top: 18px;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   HERO (homepage)
   ───────────────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: 92px;
}
.hero .lede {
  font-size: 21px;
  color: var(--text-muted);
  margin: 28px 0 36px;
  max-width: 520px;
  line-height: 1.45;
  text-wrap: pretty;
}
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  position: relative;
}

/* phone mockup */
.phone {
  width: 320px;
  height: 640px;
  background: #050310;
  border-radius: 48px;
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(110, 43, 255, 0.25),
    0 60px 120px -30px rgba(110, 43, 255, 0.6),
    0 0 80px -20px rgba(216, 255, 60, 0.15);
  position: relative;
  transform: rotate(-3deg);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone:hover { transform: rotate(-1.5deg) scale(1.02); }
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #050310;
  border-radius: 99px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 0;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  height: 44px;
}
.phone__status .right { display: flex; gap: 4px; align-items: center; }
.phone__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 18px 24px;
}
.phone__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 14px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.phone__topbar .pass {
  color: var(--text-muted);
}
.phone__card {
  flex: 1;
  background: var(--surface-2);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  border: 1px solid rgba(110, 43, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(110, 43, 255, 0.15), 0 0 40px -10px rgba(110, 43, 255, 0.4);
  overflow: hidden;
}
.phone__card .deck-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spark);
  font-weight: 700;
  margin-bottom: 16px;
}
.phone__card .word {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1;
  text-wrap: balance;
}
.phone__card .counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.phone__hint {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 11px;
  color: var(--text-muted);
}
.phone__hint .up { color: var(--brand); }
.phone__hint .down { color: var(--spark); }

/* floating sparks behind phone */
.hero__visual::before,
.hero__visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
}
.hero__visual::before {
  width: 320px;
  height: 320px;
  background: var(--brand);
  top: 10%;
  left: 10%;
}
.hero__visual::after {
  width: 200px;
  height: 200px;
  background: var(--spark);
  bottom: 12%;
  right: 8%;
  opacity: 0.15;
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 58px; }
  .hero .lede { font-size: 18px; }
  .hero__visual { min-height: 520px; }
  .phone { width: 280px; height: 560px; transform: rotate(-2deg); }
  .phone__card .word { font-size: 36px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 44px; }
}

/* ─────────────────────────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────────────────────────── */
.how {
  background: var(--surface);
  padding: 96px 0;
}
.how__head {
  text-align: center;
  margin-bottom: 56px;
}
.how__head h2 { display: inline-block; text-wrap: balance; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  border: 1px solid var(--hair);
}
.step__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 56px;
  color: var(--surface-2);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.step h3 { margin-bottom: 12px; }
.step p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.step p b { color: var(--text); font-weight: 600; }

@media (max-width: 820px) {
  .how { padding: 64px 0; }
  .how__steps { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   FEATURE CARDS
   ───────────────────────────────────────────────────────────── */
.features { padding: 96px 0; }
.features__head { margin-bottom: 56px; max-width: 720px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  border: 1px solid var(--hair);
  transition: border-color 200ms ease, transform 200ms ease;
}
.feature:hover {
  border-color: rgba(216, 255, 60, 0.4);
  transform: translateY(-2px);
}
.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h3 { font-size: 22px; margin-top: 8px; }
.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .features { padding: 64px 0; }
  .features__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   SOCIAL PROOF
   ───────────────────────────────────────────────────────────── */
.proof {
  padding: 96px 0;
  background: var(--surface);
}
.proof__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.rating {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.rating__stars {
  display: flex;
  gap: 4px;
  color: var(--spark);
}
.rating__num {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
}
.rating__label {
  font-size: 13px;
  color: var(--text-muted);
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote__body {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: pretty;
}
.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.quote__avatar {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  background: var(--brand);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text);
}
.quote__name {
  font-size: 13px;
  font-weight: 600;
}
.quote__meta {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .proof { padding: 64px 0; }
  .quotes { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   PRICING
   ───────────────────────────────────────────────────────────── */
.pricing { padding: 96px 0; }
.pricing__head { text-align: center; margin-bottom: 56px; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.tier {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tier--pro {
  background: var(--surface-2);
  border-color: rgba(216, 255, 60, 0.3);
  position: relative;
}
.tier__tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--spark);
  color: var(--bg);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
}
.tier__name {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.tier__price {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier__price small {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0;
}
.tier__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tier__list li {
  font-size: 14.5px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.tier__list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--surface-2);
  margin-top: 3px;
}
.tier--pro .tier__list li::before {
  background: var(--spark);
}
.tier__list li b { color: var(--text); font-weight: 600; }

@media (max-width: 720px) {
  .pricing { padding: 64px 0; }
  .pricing__grid { grid-template-columns: 1fr; }
  .tier__price { font-size: 40px; }
}

/* ─────────────────────────────────────────────────────────────
   FINAL CTA
   ───────────────────────────────────────────────────────────── */
.final {
  background: var(--brand);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final h2 {
  font-size: 72px;
  color: var(--text);
  text-wrap: balance;
  max-width: 880px;
  margin: 0 auto;
}
.final p {
  font-size: 19px;
  color: rgba(251, 248, 242, 0.85);
  max-width: 520px;
  margin: 24px auto 40px;
}
.final .store-row { justify-content: center; }
.final::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--spark);
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.18;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.final .store { background: var(--bg); color: var(--text); }
.final .store--disabled { background: rgba(14, 11, 26, 0.4); color: rgba(251, 248, 242, 0.5); border: 1px solid rgba(251, 248, 242, 0.15); }
.final .store--disabled .small { color: var(--spark); }

@media (max-width: 720px) {
  .final { padding: 64px 0; }
  .final h2 { font-size: 44px; }
  .final p { font-size: 16px; }
  .final .store-row { flex-direction: column; padding: 0 20px; }
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--hair);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}
.footer__brand p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.footer__links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .footer { padding: 48px 0 32px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__links { gap: 32px; }
}

/* ─────────────────────────────────────────────────────────────
   STATIC SUB-PAGES (support / legal / 404)
   ───────────────────────────────────────────────────────────── */
.page-header {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--hair);
}
.page-header__crumb {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-header h1 {
  font-size: 72px;
  line-height: 0.98;
  text-wrap: balance;
}
.page-header__sub {
  font-size: 19px;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 560px;
  line-height: 1.5;
}
.page-header__meta {
  margin-top: 32px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.page-header__meta b { color: var(--text); font-weight: 600; }

@media (max-width: 720px) {
  .page-header { padding: 56px 0 40px; }
  .page-header h1 { font-size: 44px; }
  .page-header__sub { font-size: 16px; }
}

/* ─────────────────────────────────────────────────────────────
   FAQ accordion (support)
   ───────────────────────────────────────────────────────────── */
.support-body { padding: 64px 0 96px; }
.support-body__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after {
  transform: rotate(-135deg);
}
.faq__item[open] summary { color: var(--spark); }
.faq__body {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.faq__body p { margin: 0 0 12px; }
.faq__body p:last-child { margin: 0; }

.support-aside {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
}
.support-aside h3 { font-size: 22px; }
.support-aside p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.support-aside a.mailto {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--spark);
  text-decoration: none;
  letter-spacing: -0.01em;
  word-break: break-all;
}
.support-aside .meta {
  font-size: 12px;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}

@media (max-width: 920px) {
  .support-body__grid { grid-template-columns: 1fr; gap: 32px; }
  .support-aside { position: static; }
}

/* ─────────────────────────────────────────────────────────────
   LEGAL pages (privacy / terms)
   ───────────────────────────────────────────────────────────── */
.legal { padding: 64px 0 96px; }
.legal__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: 96px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal__toc-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spark);
  margin-bottom: 8px;
}
.legal__toc a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color 150ms ease, border-color 150ms ease;
  line-height: 1.4;
}
.legal__toc a:hover,
.legal__toc a.active {
  color: var(--text);
  border-left-color: var(--spark);
}

.legal__body { max-width: 680px; }
.legal__body h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
  scroll-margin-top: 96px;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h2 .num {
  display: inline-block;
  font-family: ui-monospace, monospace;
  color: var(--spark);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  margin-right: 12px;
  vertical-align: top;
  padding-top: 4px;
}
.legal__body p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 16px;
}
.legal__body p.muted { color: var(--text-muted); }
.legal__body ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.legal__body ul li {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.65;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.legal__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--spark);
  border-radius: 99px;
}
.legal__body a { color: var(--spark); text-decoration: underline; text-underline-offset: 3px; }
.legal__body code {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
}

.legal-banner {
  background: var(--surface-2);
  border: 1px dashed rgba(216, 255, 60, 0.3);
  border-radius: var(--r-md);
  padding: 18px 22px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 32px;
}
.legal-banner b {
  color: var(--spark);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 920px) {
  .legal__grid { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .legal__toc a { padding: 6px 12px; border-left: none; border-bottom: 2px solid transparent; }
  .legal__toc a:hover,
  .legal__toc a.active { border-bottom-color: var(--spark); border-left: none; }
}

/* ─────────────────────────────────────────────────────────────
   404
   ───────────────────────────────────────────────────────────── */
.notfound {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0;
  text-align: center;
}
.notfound__inner {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.notfound__bulb {
  width: 140px;
  height: 140px;
  background: var(--brand);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.notfound__code {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: var(--spark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.notfound h1 { font-size: 64px; text-wrap: balance; }
.notfound p {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0;
  max-width: 440px;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .notfound h1 { font-size: 40px; }
  .notfound p { font-size: 16px; }
}

/* ─────────────────────────────────────────────────────────────
   Misc
   ───────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
