:root {
  --ink: #0e0d0b;
  --ink-2: #17150f;
  --paper: #f4efe4;
  --muted: #a39b88;
  --gold: #c9a24a;
  --gold-soft: #e3c983;
  --rule: rgba(201, 162, 74, 0.28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 16px/1.65 var(--sans);
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid var(--rule); }
a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

header.top {
  border-bottom: 1px solid var(--rule);
}
header.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; border: 0; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand svg { width: 34px; height: 34px; }
.brand span { font: 500 22px/1 var(--serif); letter-spacing: 0.06em; }
nav a { margin-left: 22px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; border: 0; color: var(--muted); }
nav a:hover, nav a[aria-current] { color: var(--gold-soft); }

main { flex: 1; }

.hero { text-align: center; padding-top: 120px; padding-bottom: 96px; }
.eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
h1 { font: 500 clamp(44px, 8vw, 68px)/1.05 var(--serif); margin: 0 0 24px; letter-spacing: 0.01em; }
.lede { font-size: 18px; color: #d9d2c2; max-width: 560px; margin: 0 auto; }

.rule { width: 64px; height: 1px; background: var(--gold); margin: 0 auto 56px; border: 0; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-bottom: 96px; }
.cols h3 { font: 500 22px/1.2 var(--serif); color: var(--gold-soft); margin: 0 0 10px; }
.cols p { margin: 0; font-size: 15px; color: #cfc8b8; }

.note {
  border: 1px solid var(--rule); padding: 28px 32px; margin: 0 0 96px;
  background: var(--ink-2);
}
.note h2 { font: 500 26px/1.2 var(--serif); margin: 0 0 12px; }
.note p { margin: 0 0 10px; color: #cfc8b8; font-size: 15px; }
.note p:last-child { margin: 0; }

/* Legal pages */
.doc { padding-top: 72px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(38px, 6vw, 52px); margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 48px; }
.doc h2 { font: 500 26px/1.25 var(--serif); color: var(--gold-soft); margin: 48px 0 12px; }
.doc p, .doc li { color: #dcd5c5; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--paper); font-weight: 500; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 500; color: var(--gold-soft); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.callout { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; margin: 20px 0; }

footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
footer a { color: var(--muted); border: 0; margin-left: 18px; }
footer a:first-child { margin-left: 0; }

@media (max-width: 720px) {
  .cols { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 72px; padding-bottom: 48px; }
  nav a { margin-left: 14px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 2px 0; }
  .doc tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
}
