:root {
  color-scheme: dark;
  --bg: #090b0f;
  --surface: #11151b;
  --surface-raised: #171c23;
  --text: #f5f2ea;
  --muted: #aaa69d;
  --gold: #d6ae63;
  --gold-soft: #f0d7a7;
  --border: rgba(214, 174, 99, 0.22);
  --max: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(214, 174, 99, 0.10), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.68 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: #fff2d7; }

.shell { width: min(calc(100% - 40px), 1100px); margin: 0 auto; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(9, 11, 15, 0.88);
}

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

.brand {
  color: var(--text);
  font-weight: 760;
  letter-spacing: .08em;
  text-decoration: none;
}

.site-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

main { min-height: calc(100vh - 150px); }

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -.025em; }
h1 { margin: 12px 0 20px; font-size: clamp(2.6rem, 9vw, 5.5rem); }
h2 { margin: 42px 0 12px; font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { margin: 28px 0 8px; font-size: 1.08rem; }
p { margin: 0 0 18px; }

.lede {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions { margin-top: 34px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}
.button.primary { background: var(--gold); border-color: var(--gold); color: #17110a; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  padding-bottom: 84px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  text-decoration: none;
}
.card strong { display: block; color: var(--text); font-size: 1.08rem; margin-bottom: 6px; }
.card span { color: var(--muted); }

.document { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 68px 0 84px; }
.document-header { padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.document-header h1 { font-size: clamp(2.25rem, 7vw, 4rem); }
.document-header .summary { color: var(--muted); font-size: 1.08rem; }
.document section { padding-top: 2px; }
.document ul, .document ol { color: var(--muted); padding-left: 22px; }
.document li { margin-bottom: 10px; }
.document section p { color: var(--muted); }
.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
  color: var(--muted);
}

.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 30px; }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); }
.site-footer .shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; }

@media (max-width: 640px) {
  .site-header .shell { padding: 14px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-nav { gap: 10px 16px; }
  .hero { padding: 70px 0 54px; text-align: left; }
  .hero .lede { margin: 0; }
  .actions { justify-content: flex-start; }
  .document { padding-top: 48px; }
}

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