@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #09080b;
  --surface: #111118;
  --surface-mid: #191921;
  --surface-high: #21212c;
  --text: #ece6dc;
  --muted: #9a9180;
  --dim: #6e685e;
  --gold: #e8b84b;
  --gold-bright: #f2ca50;
  --border: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(230, 184, 75, 0.26);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 100% 55% at 50% 108%, rgba(152, 18, 24, 0.06), transparent 60%),
    radial-gradient(ellipse 70% 38% at 50% -4%, rgba(230, 184, 75, 0.04), transparent 55%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 8, 11, 0.9);
  border-bottom: 1px solid rgba(232, 184, 75, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-wordmark {
  font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 184, 75, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
}

.primary-nav,
.legal-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 24px 80px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
}

.lead {
  max-width: 64ch;
  margin: 16px 0 22px;
  color: var(--muted);
  font-size: 1rem;
}

.legal-nav {
  margin-bottom: 26px;
}

.legal-card {
  background: linear-gradient(155deg, rgba(30, 30, 42, 0.45), rgba(15, 15, 20, 0.84));
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 30px 28px 34px;
  box-shadow: var(--shadow);
}

.updated {
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.legal-card h2 {
  margin: 24px 0 8px;
  font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-card strong {
  color: var(--text);
}

.legal-card ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--text);
}

.legal-card a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-card a:hover {
  color: var(--gold);
}

.legal-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--dim);
  font-size: 0.82rem;
}

.legal-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .legal-shell {
    padding: 32px 16px 56px;
  }

  .legal-card {
    padding: 24px 18px 28px;
  }

  .brand-copy {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}