/* The privacy policy and terms pages. Kept apart from index.html's inline CSS
   so these two pages stand alone: nothing here depends on lava.js, site.js or
   the homepage. Tokens, card and footer follow index.html. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/newsreader-italic-latin.woff2') format('woff2'); }

:root {
  --bg: #fff8f2; --ink: #1e1b15; --brown: #241607; --card: #f5ede3;
  --body: rgba(30, 27, 21, 0.8); --muted: rgba(30, 27, 21, 0.66);
  --accent: #8b500a;
}
* { margin: 0; box-sizing: border-box; }
body {
  min-height: 100dvh; color: var(--ink); background: var(--bg);
  font: 400 16px/1.6 'Manrope', sans-serif;
}
/* Pinned to the viewport, as on the homepage: on the body itself, `cover`
   would size against the whole long document. */
body::after {
  content: ''; position: fixed; top: 0; left: 0; z-index: -2;
  width: 100%; height: 100vh; height: 100lvh;
  background: url('/color-bg.png') center / cover no-repeat;
}

a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.top { display: flex; justify-content: center; padding: 40px 16px 32px; }
.top img { display: block; width: auto; height: 40px; }

main { display: flex; justify-content: center; padding: 0 16px; }
.card {
  position: relative; isolation: isolate;
  width: 100%; max-width: 760px; padding: 32px 24px; border-radius: 24px;
  background: var(--card); box-shadow: 0 8px 60px rgba(30, 27, 21, 0.05);
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit; background: url('/grain.png') center / cover; opacity: 0.03;
}

.header { margin-bottom: 32px; text-align: center; }
.header p { margin-top: 8px; color: var(--muted); font-size: 14px; }

h1, h2, h3 { font-family: 'Newsreader', serif; font-style: italic; font-weight: 400; color: var(--brown); text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 48px); line-height: 1.1; letter-spacing: -0.01em; }
h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.2; }
h3 { margin: 24px 0 8px; font-size: 20px; line-height: 1.25; }
h2 b, h3 b { font-weight: inherit; }

p, li { color: var(--body); font-size: 15px; line-height: 1.65; overflow-wrap: break-word; }
p { margin-bottom: 14px; }
ul { margin-bottom: 14px; padding-left: 24px; }
li { margin-bottom: 6px; }
b { font-weight: 700; color: var(--ink); }

footer {
  padding: 56px 16px 32px; text-align: center;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink);
}
footer nav { display: flex; justify-content: center; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 8px; }
footer nav a {
  display: inline-block; padding: 12px 4px; color: inherit;
  font-weight: 700; text-transform: uppercase; text-decoration: none;
}
footer nav a:hover { text-decoration: underline; }
footer p { margin: 0; color: inherit; font-size: inherit; }

@media (min-width: 768px) {
  .card { padding: 56px; border-radius: 32px; }
}
