:root {
  color-scheme: light;
  --ink: #17251e;
  --muted: #55605a;
  --paper: #f7f3ec;
  --gold: #f2c94c;
  --line: #dcd8cf;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(23, 37, 30, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-shell,
.footer-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark { width: 28px; height: 28px; object-fit: contain; }
.nav-actions { display: flex; align-items: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
}

.button-gold { background: var(--gold); color: var(--ink); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }

.legal-page {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 104px;
}

.legal-document {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(32px, 6vw, 72px);
}

.legal-document h1 {
  margin: 0 0 28px;
  max-width: 700px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.legal-document h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-document p,
.legal-document li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.legal-document a { text-decoration-color: #c23b2c; text-underline-offset: 3px; }

.site-footer { background: var(--ink); color: #d9e3dd; }
.footer-shell { padding: 40px 0; }
.footer-disclaimer { max-width: 760px; margin: 0 0 22px; font-size: 14px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: #fff; font-size: 14px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-company { margin: 24px 0 0; font-size: 13px; color: #a9b8af; }

@media (max-width: 640px) {
  .nav-shell,
  .footer-shell,
  .legal-page { width: min(100% - 32px, 850px); }
  .nav-shell { min-height: 64px; }
  .brand-mark { width: 24px; height: 24px; }
  .brand-lockup { font-size: 20px; }
  .button-small { padding: 0 13px; font-size: 12px; }
  .legal-page { padding: 40px 0 64px; }
  .legal-document { padding: 28px 22px 40px; }
  .legal-document h1 { font-size: 36px; }
}
