/* Shared styling for privacy.html and terms.html.

   Deliberately plainer than index.html: no reveal animations, no confetti, no
   polaroids. A legal page that performs is a legal page nobody trusts. Same
   palette and fonts so it still reads as Little Earners. */

:root {
  --paper: #F7FBFA; --card: #FFFEFA;
  --ink: #12303A; --ink-soft: #3D5A5F; --faded: #7C9296;
  --brand: #17A08F; --brand-deep: #0E6E62;
  --tomato: #EE6C3A;
  --line: #D3E3E0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── masthead ─────────────────────────────────────────────────────────── */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 2px solid var(--line);
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.top nav { display: flex; gap: 18px; font-size: 14.5px; }
.top nav a { color: var(--ink-soft); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 4px; }

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 6vw, 46px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.1;
  margin-top: 44px;
}
.updated { color: var(--faded); font-size: 14.5px; margin-top: 10px; }

/* ── the plain-language box at the top of each document ───────────────── */
.summary {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 7px 0 var(--brand);
  padding: 26px 28px;
  margin: 32px 0 8px;
}
.summary h2 { border: 0; margin: 0 0 12px; padding: 0; font-size: 20px; }
.summary ul { margin: 0; }
.summary li { margin-bottom: 9px; }
.summary li:last-child { margin-bottom: 0; }

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 25px; font-weight: 700; letter-spacing: -0.015em;
  margin: 46px 0 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
h3 { font-size: 17.5px; font-weight: 700; margin: 26px 0 8px; }
p { margin-bottom: 15px; }
ul, ol { margin: 0 0 15px 22px; }
li { margin-bottom: 7px; }
strong { font-weight: 700; }
a { color: var(--brand-deep); }

/* Used for the handful of statements that carry real weight — the ones a
   parent would be upset to discover later. */
.callout {
  border-left: 4px solid var(--tomato);
  background: #FFF6F2;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faded); font-weight: 800; }
.scroller { overflow-x: auto; }

footer {
  margin-top: 60px; padding-top: 24px;
  border-top: 2px solid var(--line);
  color: var(--faded); font-size: 13.5px;
}
footer a { color: var(--ink-soft); }
