@import url("https://fonts.googleapis.com/css2?family=Cormorant:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ink: #171411;
  --ink-raised: #252019;
  --paper: #f5efe5;
  --surface: #fffaf2;
  --warm: #e9decd;
  --text: #201c18;
  --muted: #6a6259;
  --border: #d6c9b8;
  --gold: #765128;
  --gold-fill: #b88b52;
  --font-display: Cormorant, Georgia, "Times New Roman", serif;
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.72;
}
a { color: var(--gold); text-underline-offset: 0.18em; }
a:hover { color: #4f351b; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold-fill);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 250, 242, 0.13);
  background: rgba(23, 20, 17, 0.96);
  backdrop-filter: blur(14px);
}
.header-inner, .footer-inner, .hero-inner, .page-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--surface);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { width: 86px; height: 42px; object-fit: contain; }
.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a {
  min-height: 44px;
  padding-inline: 4px;
  display: inline-flex;
  align-items: center;
  color: #e8dfd2;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.header-nav a[aria-current="page"] { color: #e7c37e; }

.legal-hero {
  color: var(--surface);
  background:
    radial-gradient(circle at 88% 18%, rgba(184, 139, 82, 0.2), transparent 30%),
    linear-gradient(135deg, #171411 0%, #252019 100%);
  border-bottom: 1px solid #3a3128;
}
.hero-inner { padding: 76px 0 82px; }
.eyebrow {
  margin: 0 0 14px;
  color: #e0b66c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero-summary {
  max-width: 690px;
  margin: 24px 0 0;
  color: #ddd3c5;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}
.updated { margin: 24px 0 0; color: #bdb2a5; font-size: 14px; }

.page-shell {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 720px);
  gap: 68px;
  align-items: start;
  padding: 64px 0 92px;
}
.toc {
  position: sticky;
  top: 108px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.68);
  padding: 24px;
}
.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 8px 0; font-size: 13px; line-height: 1.45; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--gold); text-decoration: underline; }

.legal-copy { min-width: 0; }
.notice {
  margin: 0 0 42px;
  padding: 24px 26px;
  border-left: 4px solid var(--gold-fill);
  background: var(--warm);
}
.notice strong { display: block; margin-bottom: 4px; }
.legal-section {
  scroll-margin-top: 108px;
  padding: 0 0 38px;
  margin: 0 0 38px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 43px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.legal-section h3 {
  margin: 28px 0 8px;
  font-size: 24px;
  line-height: 1.2;
}
.legal-section p { margin: 0 0 16px; }
.legal-section ul { margin: 0 0 18px; padding-left: 22px; }
.legal-section li { margin: 8px 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 660px; background: var(--surface); font-size: 14px; line-height: 1.5; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--surface); background: var(--ink-raised); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.contact-grid {
  width: min(1040px, calc(100% - 48px));
  margin: 64px auto 96px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}
.contact-card {
  min-height: 280px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.contact-card.dark { color: var(--surface); background: var(--ink-raised); border-color: #453a2e; }
.contact-card h2 { margin: 0 0 16px; font-size: clamp(36px, 5vw, 52px); line-height: 1; }
.contact-card p { max-width: 560px; margin: 0 0 24px; }
.contact-card.dark p { color: #d7cdbf; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid #d2a85d;
  border-radius: 6px;
  color: var(--ink);
  background: #d7af68;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { color: var(--ink); background: #e1bf7c; }
.contact-note { color: var(--muted); font-size: 14px; }

.overview-grid {
  width: min(1040px, calc(100% - 48px));
  margin: 60px auto 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.overview-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}
.overview-card:hover { transform: translateY(-3px); border-color: var(--gold-fill); color: var(--text); }
.overview-card .number { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.overview-card h2 { margin: auto 0 14px; font-size: 42px; line-height: 0.98; }
.overview-card p { margin: 0; color: var(--muted); }

.site-footer { color: #c9beb0; background: var(--ink); border-top: 1px solid #332b24; }
.footer-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0;
}
.footer-brand { color: var(--surface); font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { color: #c9beb0; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #e7c37e; }
.copyright { margin-top: 6px; font-size: 12px; color: #8f857a; }

@media (max-width: 860px) {
  .page-shell { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
  .contact-grid, .overview-grid { grid-template-columns: 1fr; }
  .overview-card { min-height: 230px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .header-inner, .footer-inner, .hero-inner, .page-shell, .contact-grid, .overview-grid { width: min(100% - 30px, 1120px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 72px; }
  .brand span { display: none; }
  .header-nav { gap: 14px; }
  .header-nav a { font-size: 12px; }
  .hero-inner { padding: 54px 0 60px; }
  .page-shell { padding: 38px 0 70px; }
  .toc { padding: 20px; }
  .legal-section { padding-bottom: 30px; margin-bottom: 30px; }
  .notice { padding: 20px; }
  .contact-grid { margin-top: 38px; margin-bottom: 70px; }
  .contact-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
