:root {
  color-scheme: dark;
  --ink: #f0eee9;
  --muted: #8e8d99;
  --soft: #b8b6bd;
  --line: rgba(218, 217, 229, 0.17);
  --bg: #0b0c12;
  --pad: clamp(24px, 5.9vw, 88px);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  isolation: isolate;
}
body::before {
  content: '';
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 43% 57% at 96% 0%, rgba(49, 47, 108, .35) 0%, rgba(22, 22, 47, .11) 50%, transparent 78%),
    radial-gradient(ellipse 42% 65% at -9% 99%, rgba(5, 80, 73, .30) 0%, rgba(7, 50, 50, .08) 60%, transparent 90%),
    radial-gradient(ellipse 55% 70% at 35% 120%, rgba(31, 25, 69, .32), transparent 76%),
    linear-gradient(115deg, #121520 0%, #101119 48%, #0b0c11 100%);
}
body::after {
  content: '';
  position: fixed;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 33, .05) 0%, rgba(0, 0, 0, .18) 100%);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #f0eee9; outline-offset: 5px; border-radius: 2px; }
.shell { min-height: 100svh; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: clamp(30px, 4vw, 58px) var(--pad); }
.top-label, .top-meta, .footer, .eyebrow {
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.top-label { color: #b3b0b5; }
.top-meta { color: #666773; }
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 var(--pad) clamp(40px, 6vw, 90px);
}
.hero-inner { width: 100%; padding-bottom: clamp(0px, 2vh, 26px); }
h1 {
  max-width: 1120px;
  margin: 0;
  font-family: 'Bodoni MT', 'Didot', 'Times New Roman', Georgia, serif;
  font-size: clamp(66px, 8vw, 132px);
  font-weight: 400;
  letter-spacing: -.068em;
  line-height: .98;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.hero h1 span { display: block; }
.hero-mark { width: 42px; height: 1px; background: rgba(237, 229, 225, .37); margin-top: clamp(32px, 5vw, 75px); }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px var(--pad) clamp(27px, 3.3vw, 44px);
  letter-spacing: .10em;
  text-transform: none;
  color: #777985;
}
.footer .links { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.8vw, 40px); }
.footer a { transition: color .2s ease; }
.footer a:hover { color: var(--ink); }
/* Language switch: no JavaScript, accessible native anchors. */
.language { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 11px; letter-spacing: .16em; font-weight: 600; }
.language [aria-current="page"] { color: var(--ink); }
.language-sep { color: #53535e; }
.language a { color: #a3a4b1; transition: color .2s ease; }
.language a:hover { color: var(--ink); }
.header-right { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); }
/* Legal pages: identical palette and editorial hierarchy, no visual brand. */
.legal-shell { min-height: 100svh; }
.legal-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: clamp(29px, 4vw, 56px) var(--pad); }
.back-link { color: var(--soft); font-size: 12px; letter-spacing: .06em; }
.back-link:hover { color: white; }
.legal-content { width: min(100%, 910px); padding: clamp(45px, 7vw, 100px) var(--pad) 110px; }
.eyebrow { color: #8c8f9c; margin: 0 0 22px; }
.legal-content h1 { font-size: clamp(52px, 6vw, 90px); letter-spacing: -.055em; margin-bottom: 56px; }
.legal-content h2 { font-size: 17px; letter-spacing: -.02em; font-weight: 600; margin: 42px 0 12px; }
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.85; color: #b8b8c2; }
.legal-content p { margin: 12px 0; }
.legal-content a { text-decoration: underline; text-underline-offset: 4px; }
.legal-content ul { padding-left: 22px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content code { color: var(--ink); font-size: .92em; }
.legal-content .pending { color: #e9bf9c; font-weight: 600; }
.legal-foot { border-top: 1px solid var(--line); }
@media (max-width: 680px) {
  :root { --pad: 25px; }
  .topbar { padding-top: 34px; }
  .top-meta { display: none; }
  .header-right { gap: 18px; }
  .hero { align-items: center; padding-bottom: 65px; }
  h1 { font-size: clamp(58px, 12vw, 83px); letter-spacing: -.061em; }
  .hero h1 span { display: inline; }
  .footer { gap: 19px; }
  .footer .links { row-gap: 12px; }
  .legal-content { padding-top: 62px; padding-bottom: 70px; }
  .legal-content h1 { font-size: clamp(47px, 10.5vw, 74px); margin-bottom: 35px; }
}
@media (max-height: 590px) and (min-width: 681px) {
  .topbar { padding-top: 20px; padding-bottom: 20px; }
  h1 { font-size: clamp(58px, 7vw, 96px); }
  .footer { padding-top: 15px; padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
