*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night: #0a0c10;
  --ink: #161b24;
  --amber: #c9a44e;
  --amber-bright: #e0c36a;
  --amber-ink: #5c4a24;
  --cream: #f3f1eb;
  --cream-warm: #faf8f4;
  --line: #e2dfd6;
  --near-black: #12151c;
  --muted: rgba(18, 21, 28, 0.74);
  --logo-grey: #1a1a1a;
  --warm-off-white: #f7f5f0;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream-warm);
  color: var(--near-black);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--amber-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

nav {
  position: relative;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  background: transparent;
  z-index: 1;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--logo-grey);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: -1;
}

.nav-brand {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.nav-brand img {
  height: 48px;
  width: 48px;
  display: block;
  border-radius: 4px;
}

.nav-brand:hover { filter: brightness(1.06); }

.nav-back {
  font-size: 14px;
  font-weight: 600;
  color: rgba(247, 245, 240, 0.82);
}

.nav-back:hover { color: var(--warm-off-white); }

.legal-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-page h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}

.legal-updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.legal-lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.legal-page h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 12px;
  line-height: 1.25;
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.legal-page p { margin-bottom: 14px; }

.legal-page ul,
.legal-page ol {
  margin: 0 0 16px 1.25rem;
}

.legal-page li { margin-bottom: 8px; }

.legal-page strong { color: var(--near-black); font-weight: 600; }

footer {
  border-top: 1px solid rgba(247, 245, 240, 0.1);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(247, 245, 240, 0.45);
  background: var(--night);
}

footer a { color: rgba(201, 164, 78, 0.7); }
footer a:hover { color: var(--amber-bright); }

.footer-entity { margin-bottom: 10px; }

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-legal-row a { white-space: nowrap; }

.footer-sep { color: rgba(247, 245, 240, 0.2); user-select: none; }

.footer-copy { margin: 0; }
