@font-face {
  font-family: "PP Mondwest";
  src: url("/assets/PPMondwest-Regular.otf") format("opentype");
  font-display: swap;
}

* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --ink: #f1f1ed;
  --muted: rgba(241, 241, 237, 0.64);
  --quiet: rgba(241, 241, 237, 0.4);
  --line: rgba(255, 255, 255, 0.14);
  --yellow: #efff18;
}

html { background: #050506; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #050506;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #050506 url("/assets/og-image-v2.jpg") center top / cover no-repeat;
  content: "";
  opacity: 0.18;
  filter: saturate(0.8);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(5, 5, 6, 0.78);
  content: "";
  pointer-events: none;
}

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: #fff; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.legal-header-inner,
.legal-shell,
.legal-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand { display: inline-flex; align-items: center; text-decoration: none; }
.legal-brand img { display: block; width: 112px; height: auto; }

.legal-nav { display: flex; align-items: center; gap: 22px; }
.legal-nav a {
  color: rgba(255,255,255,0.68);
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.legal-nav a[aria-current="page"], .legal-nav a:hover { color: #fff; }

.legal-shell { padding: 86px 0 104px; }

.legal-kicker,
.legal-updated,
.legal-language,
.legal-pending strong {
  font-family: "Courier New", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-kicker { margin: 0 0 18px; color: var(--muted); font-size: 11px; }

h1 {
  max-width: 900px;
  margin: 0;
  font-family: "PP Mondwest", Georgia, serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
}

.legal-intro {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.legal-updated { margin-top: 22px; color: var(--quiet); font-size: 10px; }

.legal-pending {
  margin: 50px 0 18px;
  padding: 22px 24px;
  border: 1px solid rgba(239,255,24,0.7);
  background: rgba(239,255,24,0.08);
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.55;
}
.legal-pending strong { display: block; margin-bottom: 8px; color: var(--yellow); font-size: 10px; }
.legal-pending ul { margin: 8px 0 0; padding-left: 20px; }

.legal-index {
  margin: 52px 0 8px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.legal-index a {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.legal-index a:hover { color: #fff; }

.legal-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.legal-column { min-width: 0; }
.legal-language { margin: 0 0 15px; color: var(--quiet); font-size: 10px; }

.legal-column h2 {
  margin: 0 0 22px;
  font-family: "PP Mondwest", Georgia, serif;
  font-size: clamp(29px, 3.1vw, 43px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
}

.legal-column h3 {
  margin: 27px 0 8px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.legal-column p,
.legal-column li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}
.legal-column p { margin: 0 0 14px; }
.legal-column ul, .legal-column ol { margin: 0 0 18px; padding-left: 20px; }
.legal-column li + li { margin-top: 7px; }
.legal-column strong { color: rgba(255,255,255,0.88); font-weight: 650; }
.legal-column code {
  padding: 2px 5px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 0.88em;
}

.legal-contact {
  display: inline-flex;
  margin-top: 4px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 100px;
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.legal-footer { border-top: 1px solid var(--line); background: rgba(0,0,0,0.3); }
.legal-footer-inner {
  min-height: 112px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-footer p { margin: 0; color: var(--quiet); font-size: 12px; }
.legal-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.legal-footer-links a {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .legal-header-inner, .legal-shell, .legal-footer-inner { width: min(100% - 32px, 1180px); }
  .legal-header-inner { min-height: 60px; }
  .legal-brand img { width: 92px; }
  .legal-nav { gap: 14px; }
  .legal-nav a:not(.legal-home) { display: none; }
  .legal-shell { padding: 58px 0 72px; }
  h1 { font-size: clamp(43px, 14vw, 68px); }
  .legal-intro { font-size: 17px; }
  .legal-pending { margin-top: 36px; padding: 18px; }
  .legal-index { margin-top: 38px; }
  .legal-section { grid-template-columns: 1fr; gap: 44px; padding: 44px 0; }
  .legal-column + .legal-column { padding-top: 42px; border-top: 1px dashed rgba(255,255,255,0.13); }
  .legal-column p, .legal-column li { font-size: 15px; line-height: 1.65; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
