/* Rep Ref — legal pages. Matches the landing page aesthetic
   (Anton / Archivo / Inter Tight / JetBrains Mono, warm ink + coral). */
:root {
  --paper:    #ECEAE2;
  --paper-2:  #F5F1E8;
  --ink:      #1A1813;
  --ink-2:    #252019;
  --coral:    #FF7355;
  --muted:    rgba(26,24,19,.50);
  --hairline: rgba(26,24,19,.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap      { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ── Wordmark ─────────────────────────────── */
.wordmark {
  font-family: 'Anton', sans-serif;
  font-size: 22px; letter-spacing: .01em;
  display: inline-flex; align-items: center;
  line-height: 1; text-decoration: none; color: inherit;
}
.wordmark .dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--coral); border-radius: 1px;
  margin: 0 5px 1px; flex-shrink: 0;
}

/* ── Nav ──────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  height: 64px; display: flex; align-items: center;
}
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; width: 100%; gap: 24px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit; justify-self: start;
}
.nav-links { display: flex; align-items: center; gap: 32px; justify-self: center; }
.nav-link {
  font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .15s;
}
.nav-link:hover { color: var(--ink); }
.btn-nav {
  font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: 0 20px; height: 36px; border-radius: 6px;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-self: end;
  transition: opacity .15s;
}
.btn-nav:hover { opacity: .82; }

/* ── Legal hero ───────────────────────────── */
.legal-hero { padding: 68px 0 36px; }
.legal-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 20px;
}
.legal-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(42px, 7vw, 72px); line-height: .94;
  letter-spacing: -.01em; text-transform: uppercase;
  margin-bottom: 16px;
}
.legal-updated {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

/* ── Legal body ───────────────────────────── */
.legal-body { padding-bottom: 96px; }
.legal-section {
  padding: 30px 0; border-top: 1px solid var(--hairline);
}
.legal-section:first-child { border-top: none; padding-top: 6px; }
.legal-section h2 {
  font-family: 'Anton', sans-serif; font-size: 23px;
  letter-spacing: .005em; text-transform: uppercase; margin-bottom: 14px;
}
.legal-section p {
  font-size: 15.5px; line-height: 1.65; color: var(--ink-2);
  margin-bottom: 12px; text-wrap: pretty;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal-section li {
  position: relative; padding-left: 20px;
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
}
.legal-section li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; background: var(--coral); border-radius: 1px;
}
.legal-section a {
  color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--coral);
  text-underline-offset: 2px;
}

/* ── Footer ───────────────────────────────── */
footer {
  background: var(--ink); padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-wm {
  font-family: 'Anton', sans-serif; font-size: 18px; letter-spacing: .01em;
  color: rgba(236,234,226,.45); display: inline-flex; align-items: center;
  text-decoration: none;
}
.footer-wm .dot {
  display: inline-block; width: 5px; height: 5px;
  background: var(--coral); border-radius: 1px; margin: 0 4px 1px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(236,234,226,.25); text-decoration: none; transition: color .15s;
}
.footer-link:hover { color: rgba(236,234,226,.6); }

/* ── Responsive ───────────────────────────── */
@media (max-width: 820px) {
  .wrap-wide { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .legal-hero { padding: 44px 0 28px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}
