/* Shared stylesheet for the static policy pages: privacy, terms, unsubscribe.
   Tokens are copied verbatim from the :root block in public/index.html so the
   pages cannot drift from the landing page. There is no build step. */

:root {
  --parchment: #f6efe1;
  --panel: #fbf7ed;
  --recess: #efe5d0;
  --ink: #25201a;
  --ink-faded: #6e6354;
  --rubric: #98201f;
  --gilt: #a77c2c;
  --marian: #2c4a6e;
  --rule: rgba(37, 32, 26, 0.25);
}

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

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
}

::selection {
  background: rgba(152, 32, 31, 0.15);
}

.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 64px 6vw 96px;
}

.masthead {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  margin-bottom: 40px;
}

.masthead .cross {
  color: var(--gilt);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 18px;
}

/* Copied unchanged from index.html so the red small-cap label matches. */
.rubric {
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  letter-spacing: 0.28em;
  font-size: 0.82rem;
  color: var(--rubric);
  text-transform: lowercase;
}

h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.15;
  margin: 10px 0 14px;
}

h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.updated {
  font-style: italic;
  color: var(--ink-faded);
  font-size: 0.9rem;
}

p {
  margin-bottom: 16px;
}

ul {
  margin: 0 0 16px 1.4rem;
}

li {
  margin-bottom: 8px;
}

strong {
  font-weight: 600;
}

a {
  color: var(--rubric);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gilt-rule {
  border: 0;
  border-top: 1px solid rgba(167, 124, 44, 0.4);
  margin: 40px 0;
}

.callout {
  background: var(--recess);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 20px 22px;
  margin: 24px 0;
}

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

/* Same dark treatment as the landing page footer. */
footer {
  background: var(--ink);
  color: rgba(246, 239, 225, 0.6);
  text-align: center;
  padding: 52px 24px;
  font-size: 0.95rem;
}

footer .cross {
  color: var(--gilt);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 16px;
}

footer .lines {
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

footer .identity {
  margin-top: 16px;
  font-size: 0.88rem;
  color: rgba(246, 239, 225, 0.75);
  line-height: 1.6;
}

footer nav.flinks {
  display: flex;
  gap: 26px;
  justify-content: center;
  padding: 22px 0 0;
  flex-wrap: wrap;
}

footer a {
  color: rgba(167, 124, 44, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
}

footer a:hover {
  color: var(--gilt);
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.9rem;
  }

  .page {
    padding: 44px 6vw 72px;
  }
}
