/* Regulate - shared styles for the utility pages (privacy, terms, 404).
   Matched to the launch deck (index.html): Playfair Display serif, mono
   labels, the deck's dark-green palette. */

/* Playfair Display: the brand serif, shared with the landing deck */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/playfair.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/playfair-italic.woff2) format("woff2"); }

:root {
  --bg: #19211D;
  --panel: #1F2925;
  --footer: #0E1512;
  --hairline: rgba(255, 255, 255, 0.06);
  --border: rgba(95, 179, 193, 0.25);
  --text: #F2F0E9;
  --cream: #F2F0E9;
  --body: #C7CFC8;
  --muted: #8BA89F;
  --sage: #8BA89F;
  --accent: #5FB3C1;
  --teal: #5FB3C1;
  --angry: #E7836E;
  --serif: "Playfair Display", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header.site {
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0;
  color: #fff;
}
.wordmark:hover { text-decoration: none; }
nav.site a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  margin-left: 24px;
}
nav.site a:hover { color: var(--cream); text-decoration: none; }

/* Legal pages */
main.legal { padding: 64px 0 90px; }
main.legal h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3rem);
  letter-spacing: -0.01em;
  line-height: 1.06;
  margin-bottom: 10px;
}
main.legal h1 em { font-style: italic; color: var(--teal); }
main.legal .updated {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 44px;
}
main.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 46px 0 14px;
  color: var(--cream);
}
main.legal h3 {
  font-size: 1rem;
  margin: 26px 0 8px;
  color: var(--cream);
}
main.legal p, main.legal li { color: var(--body); margin-bottom: 13px; font-size: 0.98rem; }
main.legal ul { padding-left: 22px; margin-bottom: 18px; }
main.legal li { margin-bottom: 8px; }
main.legal strong { color: var(--cream); font-weight: 600; }

.callout {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 22px 0;
}
.callout.danger { border-left-color: var(--angry); }
.callout p:last-child { margin-bottom: 0; }

/* Footer */
footer.site {
  border-top: 1px solid var(--hairline);
  background: var(--footer);
  margin-top: 40px;
  padding: 30px 0 46px;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(139, 168, 159, 0.6);
}
footer.site a { color: var(--sage); }
footer.site a:hover { color: var(--teal); text-decoration: none; }
