/* Shared styling for legal pages (privacy / terms).
   Inlined into each HTML file via <link rel="stylesheet"> so the pages
   load fast and don't depend on the React landing bundle. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..700&family=Inter:wght@400..700&display=swap');

:root {
  --paper:      #F6EFE2;
  --paper-lift: #FBF6EC;
  --ink:        #1A140F;
  --ink-2:      #5B4B3D;
  --ink-3:      #8E7C68;
  --accent:     #C4502D;
  --accent-deep:#9A3A1F;
  --border:     #E2D7C2;
  --divider:    #EBE1CD;
  --display:    'Fraunces', ui-serif, Georgia, serif;
  --sans:       'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 28px 96px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}

.brand::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: 4px;
}

.topbar-back {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 2px;
  transition: color 120ms ease;
}

.topbar-back:hover { color: var(--accent); }

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink);
}

.lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 8px;
  max-width: 600px;
}

.updated {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 48px;
}

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 48px 0 12px;
  color: var(--ink);
}

h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 28px 0 8px;
}

p, li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

p { margin: 0 0 16px; }

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

ul li { margin-bottom: 6px; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-deep); }

strong { font-weight: 700; color: var(--ink); }

hr {
  border: 0;
  border-top: 1px solid var(--divider);
  margin: 56px 0;
}

.callout {
  background: var(--paper-lift);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
}

.callout p { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

.footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
}

.footer a { color: var(--ink-3); }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 600px) {
  .page { padding: 40px 22px 64px; }
  h1 { font-size: 40px; }
  .lede { font-size: 18px; }
  h2 { font-size: 22px; margin-top: 36px; }
}
