

:root {
  --paper:  #fdfdfb;
  --ink:    #1b1b18;
  --body:   #45453f;
  --muted:  #8a8a82;
  --hair:   #e9e8e2;
  --serif:  'Fraunces', Georgia, serif;
  --sans:   system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: 680px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2rem); }

.site-head { padding: clamp(1.75rem, 4vh, 2.75rem) 0; }
.wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
}
.wordmark span { color: var(--muted); font-style: italic; }

main { padding-block: clamp(2.5rem, 7vh, 5rem) clamp(4rem, 9vh, 6.5rem); }

.back {
  display: inline-block;
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: clamp(2.25rem, 5vh, 3.5rem);
  transition: color .2s ease;
}
.back:hover { color: var(--ink); }

.prose { overflow-wrap: break-word; }
.prose h1, .prose h2, .prose h3 { hyphens: auto; }

.prose h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.prose h2 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--hair);
  padding-top: 1.7rem;
  margin: 2.75rem 0 .9rem;
}

.prose h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--ink);
  margin: 1.7rem 0 .5rem;
}

.prose p + p, .prose ul { margin-top: .85rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hair); transition: text-decoration-color .2s ease; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--muted); }
.prose .updated { font-size: .9rem; color: var(--muted); margin-top: -1.6rem; margin-bottom: 2.5rem; }

.prose .updated:last-child { margin-top: 2.5rem; margin-bottom: 0; }

.cookie-table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: .94rem; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top;
  padding: .85rem .9rem; border-bottom: 1px solid var(--hair); }
.cookie-table th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cookie-table td:first-child { color: var(--ink); }
.cookie-table tr:last-child td { border-bottom: 0; }
.prose .fineprint { font-size: .88rem; color: var(--muted); margin-top: .9rem; }
@media (max-width: 640px) {
  .cookie-table, .cookie-table tbody, .cookie-table tr, .cookie-table td { display: block; width: 100%; }
  .cookie-table thead { display: none; }
  .cookie-table tr { border-bottom: 1px solid var(--hair); padding-block: .5rem; }
  .cookie-table tr:last-child { border-bottom: 0; }
  .cookie-table td { border-bottom: 0; padding: .3rem 0; }
  .cookie-table td:first-child { font-weight: 600; }
}

.site-foot {
  border-top: 1px solid var(--hair);
  padding-block: 1.75rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--muted);
}

.site-foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.site-foot a { transition: color .2s ease; }
.site-foot a:hover { color: var(--ink); }
