:root {
  --ink: #080706;
  --surface: #11100e;
  --white: #f7f4ed;
  --muted: #b8b1a7;
  --faint: #7f786f;
  --gold: #d4af37;
  --gold-bright: #edd069;
  --line: rgba(255,255,255,.11);
  --display: "Playfair Display", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; background: var(--ink); color: var(--white); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.legal-atmosphere { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 50% -10%, #2a2317 0, #12100d 37%, #070706 70%); }
.legal-atmosphere::before, .legal-atmosphere::after { content: ""; position: absolute; width: 32rem; height: 32rem; border-radius: 50%; filter: blur(105px); opacity: .1; background: var(--gold); }
.legal-atmosphere::before { left: -17rem; top: 28rem; }
.legal-atmosphere::after { right: -18rem; top: 70rem; }
.legal-atmosphere span { position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.legal-header { width: min(1240px, calc(100% - 48px)); height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.legal-logo img { width: 181px; height: auto; }
.legal-back { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .71rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.legal-back svg { width: 16px; height: 16px; }
.legal-back:hover { color: var(--white); border-color: rgba(212,175,55,.4); transform: translateX(-2px); }
.legal-hero { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: clamp(62px, 9vw, 110px) 0 42px; }
.legal-kicker { display: flex; align-items: center; gap: 12px; color: var(--gold-bright); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.legal-kicker::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.legal-hero h1 { margin-top: 18px; font-family: var(--display); font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.legal-hero > p:last-child { max-width: 690px; margin-top: 22px; color: var(--muted); font-size: .96rem; line-height: 1.75; }
.legal-layout { width: min(920px, calc(100% - 48px)); margin: 0 auto 90px; }
.legal-card { padding: clamp(28px, 5vw, 62px); border: 1px solid var(--line); border-radius: 24px; background: rgba(13,12,10,.86); box-shadow: 0 28px 80px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.035); backdrop-filter: blur(18px); }
.legal-card p, .legal-card li { color: var(--muted); font-size: .86rem; line-height: 1.8; }
.legal-card p + p { margin-top: 15px; }
.legal-card ul, .legal-card ol { margin: 14px 0 0 22px; display: grid; gap: 7px; }
.legal-card li::marker { color: var(--gold); }
.legal-card a { color: var(--gold-bright); text-decoration: underline; text-decoration-color: rgba(237,208,105,.42); text-underline-offset: 3px; }
.legal-card a:hover { text-decoration-color: currentColor; }
.legal-card h2, .legal-card .form-terms-h1 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 500; line-height: 1.18; }
.legal-card h3, .legal-card .form-terms-h2 { margin: 36px 0 11px; color: var(--white); font-family: var(--body); font-size: .78rem; font-weight: 750; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; }
.legal-card .form-terms-title { margin: 0 0 8px; color: var(--gold-bright); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.legal-card .form-terms-meta, .legal-meta { margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.legal-card .form-terms-meta:not(:first-of-type) { margin-top: 28px; }
.legal-callout { margin: 30px 0; padding: 20px 22px; border: 1px solid rgba(212,175,55,.28); border-radius: 13px; background: rgba(212,175,55,.055); }
.legal-callout strong { display: block; margin-bottom: 7px; color: var(--gold-bright); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-footer { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 42px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: var(--faint); font-size: .66rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.legal-footer nav { display: flex; gap: 16px; }
.legal-footer a:hover { color: var(--gold-bright); }

@media (max-width: 640px) {
  .legal-header { width: calc(100% - 30px); height: 72px; }
  .legal-logo img { width: 145px; }
  .legal-back span { display: none; }
  .legal-back { min-width: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .legal-hero, .legal-layout, .legal-footer { width: calc(100% - 30px); }
  .legal-hero { padding: 52px 0 30px; }
  .legal-card { padding: 25px 20px; border-radius: 18px; }
  .legal-card p, .legal-card li { font-size: .8rem; line-height: 1.75; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
}

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