/* =========================================================
   Axolotl Labs — site styles
   Dark-first, automotive-inspired, single stylesheet.
   Color tokens echo the RevMatch iOS design system.
   ========================================================= */

:root {
  /* Surfaces */
  --obsidian: #0a0a0c;
  --graphite: #15161a;
  --carbon: #1e2025;
  --carbon-elev: #26282e;
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f5f5f7;
  --text-mute: #a1a3a8;
  --text-dim: #6b6e76;

  /* Accents */
  --gold: #d9b54f;
  --gold-bright: #f5d672;
  --ignition: #c81030;
  --ignition-glow: #f23348;
  --chrome: #c7c9cd;
  --chrome-mid: #8c8f96;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 22px 60px -20px rgba(0, 0, 0, 0.7);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--obsidian); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--obsidian);
  padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; z-index: 1000; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 28px;
  height: 28px;
  display: block;
  filter:
    drop-shadow(0 6px 18px rgba(217, 181, 79, 0.35))
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.4));
}
.brand__mark--big { width: 40px; height: 40px; }
.brand__name {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.02rem;
}
.brand__name span {
  color: var(--text-mute);
  font-weight: 500;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 200ms ease;
}
.nav--scrolled {
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.8);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.nav__links {
  display: flex; gap: 28px;
  font-size: 0.94rem;
  color: var(--text-mute);
}
.nav__links a {
  position: relative;
  transition: color 160ms ease;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { white-space: nowrap; }
@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 200ms ease, border-color 200ms ease, color 160ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  color: var(--obsidian);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 28px -10px rgba(217, 181, 79, 0.55),
    0 1px 0 rgba(0,0,0,0.4);
}
.btn--primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 14px 36px -12px rgba(217, 181, 79, 0.7),
    0 1px 0 rgba(0,0,0,0.4);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255,255,255,0.22); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 12vh, 140px) 0 clamp(80px, 14vh, 160px);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%;
  height: 110%;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(217, 181, 79, 0.18), transparent 60%),
    radial-gradient(40% 40% at 20% 30%, rgba(200, 16, 48, 0.18), transparent 60%),
    radial-gradient(50% 40% at 85% 25%, rgba(60, 120, 200, 0.10), transparent 60%);
  filter: blur(20px);
  z-index: -2;
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.hero__copy { max-width: 640px; }

/* ---------- Hero visual cluster ---------- */
.hero__visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
}
.orbit__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.orbit__ring--1 { inset: 0; border-color: rgba(217, 181, 79, 0.16); }
.orbit__ring--2 { inset: 10%; border-color: rgba(200, 16, 48, 0.18); }
.orbit__ring--3 { inset: 22%; border-color: rgba(255, 255, 255, 0.06); }

.tile {
  position: absolute;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 70px -20px rgba(200, 16, 48, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: float 9s ease-in-out infinite;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }

.tile--lg {
  width: 54%; height: 54%;
  top: 18%; left: 22%;
  box-shadow:
    0 50px 100px -20px rgba(200, 16, 48, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.tile--md {
  width: 36%; height: 36%;
  top: 4%; right: 4%;
  animation-delay: -3s;
}
.tile--sm {
  width: 28%; height: 28%;
  bottom: 6%; right: 14%;
  animation-delay: -5s;
}
.tile--icon {
  width: 26%; height: 26%;
  bottom: 8%; left: 4%;
  border-radius: 22%;
  animation-delay: -7s;
  box-shadow:
    0 30px 60px -15px rgba(217, 181, 79, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

@keyframes float {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-8px) }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__visual { min-height: 360px; order: -1; }
  .orbit { max-width: 380px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-bright);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(217, 181, 79, 0.08);
  border: 1px solid rgba(217, 181, 79, 0.25);
  margin: 0 0 22px;
}
.eyebrow--muted {
  color: var(--text-mute);
  background: rgba(255,255,255,0.04);
  border-color: var(--hairline);
}
.dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--gold-bright);
  box-shadow: 0 0 12px rgba(245, 214, 114, 0.8);
}
.dot--red { background: var(--ignition-glow); box-shadow: 0 0 12px rgba(242, 51, 72, 0.8); }
.dot--gold { background: var(--gold-bright); box-shadow: 0 0 12px rgba(245, 214, 114, 0.8); }

.hero__title {
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.grad-gold {
  background: linear-gradient(95deg, var(--gold-bright) 0%, var(--gold) 50%, #a37e2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-mute);
  max-width: 700px;
  margin: 0 0 36px;
  line-height: 1.55;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 56px;
}
.hero__meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 36px;
  color: var(--text-mute);
  font-size: 0.95rem;
}
.hero__meta strong {
  display: block;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(80px, 12vh, 130px) 0;
  position: relative;
}
.section--alt {
  background:
    linear-gradient(180deg, var(--graphite) 0%, var(--obsidian) 100%);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.section__head { max-width: 780px; margin: 0 0 56px; }
.section__head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 18px;
}
.section__lede {
  color: var(--text-mute);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin: 0;
}
.section__head--row {
  display: flex; align-items: flex-end; gap: 40px;
  justify-content: space-between;
  max-width: none;
}
@media (max-width: 760px) {
  .section__head--row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--tight { gap: 16px; }
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: 28px 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%),
    var(--carbon);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--text-mute); font-size: 0.98rem; }
.card__icon {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(217, 181, 79, 0.08);
  border: 1px solid rgba(217, 181, 79, 0.25);
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.card--feature h3 .pill {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(245, 214, 114, 0.1);
  border: 1px solid rgba(245, 214, 114, 0.3);
  color: var(--gold-bright);
}

/* ---------- RevMatch hero block ---------- */
.revmatch__title {
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 14px 0 14px;
}
.revmatch__sub em {
  font-style: normal;
  color: var(--gold-bright);
}
.revmatch__icon {
  position: relative;
  flex-shrink: 0;
}
.revmatch__icon img {
  width: 160px; height: 160px;
  border-radius: 32px;
  box-shadow:
    0 30px 80px -20px rgba(200, 16, 48, 0.45),
    0 0 0 1px rgba(255,255,255,0.05);
  position: relative; z-index: 1;
}
.revmatch__icon-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(200, 16, 48, 0.35), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

.muted { color: var(--text-mute); }
.small { font-size: 0.88rem; }

/* ---------- Driver DNA axis showcase ---------- */
.dna {
  margin: 0 0 56px;
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(200, 16, 48, 0.10), transparent 60%),
    radial-gradient(40% 70% at 100% 100%, rgba(217, 181, 79, 0.08), transparent 60%),
    var(--carbon);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
}
.dna__head { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.dna__head h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.dna__head p { color: var(--text-mute); margin: 0; }
.dna__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.dna__tile {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  text-align: center;
}
.dna__tile img {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 40px -16px rgba(200, 16, 48, 0.35),
    0 0 0 1px rgba(255,255,255,0.04);
  background: var(--obsidian);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.dna__tile:hover img {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 28px 52px -16px rgba(200, 16, 48, 0.55),
    0 0 0 1px rgba(255,255,255,0.08);
}
.dna__tile span {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
@media (max-width: 900px) {
  .dna__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .dna { padding: 36px 24px; }
}
@media (max-width: 480px) {
  .dna__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Stack items (architecture) ---------- */
.stack-item {
  padding: 24px 22px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.stack-item__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--chrome);
  background: rgba(199, 201, 205, 0.08);
  border: 1px solid rgba(199, 201, 205, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.stack-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.stack-item p { margin: 0; color: var(--text-mute); font-size: 0.95rem; }

/* ---------- Portfolio cards ---------- */
.card--portfolio {
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 200px;
}
.portfolio__head h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.portfolio__status {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline);
  margin-bottom: 10px;
}
.is-live .portfolio__status {
  color: var(--gold-bright);
  background: rgba(217, 181, 79, 0.1);
  border-color: rgba(217, 181, 79, 0.3);
}
.is-live { border-color: rgba(217, 181, 79, 0.22); }
.is-upcoming { opacity: 0.95; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  color: var(--gold-bright);
  font-size: 0.95rem;
  margin-top: auto;
}
.link-arrow span { transition: transform 200ms ease; }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- CTA section ---------- */
.section--cta { padding: clamp(80px, 14vh, 140px) 0; }
.cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(217, 181, 79, 0.10), transparent 60%),
    radial-gradient(80% 100% at 100% 100%, rgba(200, 16, 48, 0.10), transparent 60%),
    var(--carbon);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
}
.cta h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 14px;
  line-height: 1.18;
}
.cta__actions {
  display: flex; flex-direction: column; gap: 12px;
}
.cta__actions .btn { justify-content: center; }
@media (max-width: 820px) {
  .cta { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 36px 0 48px;
  background: var(--obsidian);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__nav {
  display: flex; gap: 24px;
  font-size: 0.92rem;
  color: var(--text-mute);
}
.footer__nav a:hover { color: var(--text); }
.footer__legal { color: var(--text-mute); font-size: 0.88rem; margin: 0; }

/* ---------- Legal / prose pages ---------- */
.legal {
  padding: clamp(72px, 10vh, 120px) 0 clamp(80px, 12vh, 140px);
}
.legal__inner { max-width: 760px; }
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 16px 0 10px;
}
.legal__meta {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0 0 36px;
}
.prose {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2.2em;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gold-bright);
}
.prose p, .prose li { color: var(--text-mute); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(245, 214, 114, 0.35);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--gold-bright); }
.prose ul {
  margin: 0;
  padding-left: 1.3em;
}
.prose li + li { margin-top: 0.4em; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--text);
}
.legal__table {
  margin-top: 1em;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.025);
}
.legal__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.legal__table th, .legal__table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.legal__table th {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.legal__table tr:last-child td { border-bottom: none; }
.legal__table td { color: var(--text-mute); }
.legal__back { margin-top: 56px; }

/* ---------- Support page extras ---------- */
.support__contact {
  margin: 1.8em 0 2.4em;
  padding: 24px 26px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(217, 181, 79, 0.10), transparent 60%),
    var(--carbon);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.support__label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mute);
}
.support__email {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.support__email a { color: var(--gold-bright); }

/* FAQ <details>/<summary> */
.faq {
  margin: 12px 0 0;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.faq + .faq { margin-top: 10px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 50px 16px 20px;
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  user-select: none;
  transition: background 160ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gold-bright);
  border-bottom: 2px solid var(--gold-bright);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 240ms ease;
}
.faq[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq summary:hover { background: rgba(255, 255, 255, 0.04); }
.faq[open] summary { background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--hairline); }
.faq > :not(summary) {
  padding: 4px 24px 20px;
  color: var(--text-mute);
}
.faq > p:first-of-type { padding-top: 16px; }
.faq ul { padding-left: 1.3em; }
.faq li + li { margin-top: 0.3em; }
@media (max-width: 600px) {
  .legal__table { font-size: 0.88rem; }
  .legal__table th, .legal__table td { padding: 10px 12px; }
}

/* ---------- 404 page ---------- */
.error {
  position: relative;
  padding: clamp(80px, 14vh, 160px) 0 clamp(96px, 16vh, 180px);
  overflow: hidden;
  isolation: isolate;
}
.error__glow {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background:
    radial-gradient(40% 40% at 50% 20%, rgba(217, 181, 79, 0.16), transparent 65%),
    radial-gradient(30% 30% at 30% 50%, rgba(200, 16, 48, 0.10), transparent 65%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.error__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.error__orbit {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 36px;
}
.error__orbit .orbit__ring--1 { inset: 0; }
.error__orbit .orbit__ring--2 { inset: 14%; }
.error__orbit .orbit__ring--3 { inset: 28%; }
.error__mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  filter:
    drop-shadow(0 16px 36px rgba(217, 181, 79, 0.45))
    drop-shadow(0 1px 0 rgba(0,0,0,0.5));
  animation: float 9s ease-in-out infinite;
}
.error__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 14px 0 16px;
}
.error__sub {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--text-mute);
  margin: 0 0 32px;
}
.error__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.error__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.92rem;
  color: var(--text-mute);
}
.error__links a {
  color: var(--text-mute);
  border-bottom: 1px dashed var(--hairline-strong);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.error__links a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

/* ---------- Motion + reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}
