/* The privacy and terms pages: the front page's look (same tokens, header and footer as index.html), one calm column.
   Every heading and paragraph is Clive's to change (data-t, see EDITING.md). */
:root {
  --bg: #F3EFE7; --panel: #EAE4D8; --ink: #1E1B17; --soft: #3A352E; --mute: #6B6357; --line: #DCD4C6; --accent: #8A6A3C;
  --room-wall: #F1ECE3; --glow: rgba(255, 253, 247, .95);
  --f-mark: 'Cormorant Garamond', Garamond, Georgia, serif;
  --f-display: 'Cormorant Garamond', Garamond, Georgia, serif;
  --f-body: 'Jost', 'Avenir Next', 'Helvetica Neue', sans-serif;
  color-scheme: light;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-block: 24px; }
.mark { font: 400 30px/1 var(--f-mark); text-decoration: none; letter-spacing: .01em; }
.nav { display: flex; gap: 6px 32px; flex-wrap: wrap; }
.nav a { font: 400 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--soft); min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--ink); color: var(--ink); }

.legal { padding-block: clamp(32px, 7vh, 88px) 0; }
.legal article { max-width: 720px; }
.legal .eyebrow { font: 400 12px/1.4 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.legal h1 { margin-top: 16px; font: 300 clamp(50px, 6.4vw, 92px)/.98 var(--f-display); letter-spacing: -.015em; }
.legal h1 em { font-style: italic; color: var(--accent); }
.legal .date { margin-top: 18px; font-size: 14px; color: var(--mute); }
.legal .lede { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 14px; }
.legal .lede p { font: 300 clamp(21px, 2vw, 24px)/1.5 var(--f-display); color: var(--ink); max-width: 40em; }
.legal section { margin-top: clamp(36px, 4.4vw, 56px); padding-top: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.legal h2 { font: 400 clamp(28px, 2.6vw, 36px)/1.15 var(--f-display); }
.legal .body { display: grid; gap: 14px; }
.legal .body p { font: 300 17px/1.75 var(--f-body); color: var(--soft); max-width: 62ch; overflow-wrap: anywhere; }
.legal :is(.body, .lede) a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line); }
.legal :is(.body, .lede) a:hover { text-decoration-color: currentColor; }
.legal .go { margin-top: 26px; }

footer { margin-top: clamp(88px, 10vw, 140px); border-top: 1px solid var(--line); }
footer .wrap { padding-block: 36px 52px; }
footer small { font-size: 13px; color: var(--mute); }
footer small a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line); }
footer small a:hover, footer small a[aria-current] { text-decoration-color: currentColor; }

/* Shown only on Clive's own computer once he has signed in there (index.html has the same) */
.cd-me { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--ink); color: #FFFDF8; font: 500 17px/1 var(--f-body); text-decoration: none; box-shadow: 0 10px 28px -10px rgba(30, 27, 23, .55); }
.cd-me:hover { background: #000; }
.cd-me .cd-new { background: #C0392B; color: #fff; font: 600 14px/1 var(--f-body); min-width: 24px; height: 24px; border-radius: 12px; display: inline-grid; place-items: center; padding: 0 7px; margin-left: 2px; }
.cd-me:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 560px) {
  .legal .body p { font-size: 16px; }
}
