/* The privacy policy and terms pages. Plain reading pages in the site's colours, light and dark. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-latin.woff2) format("woff2"); }
:root { --bg: #FFF6E9; --fg: #1B0F0B; --muted: #5B4A42; --card: #FFFFFF; --line: rgba(27, 15, 11, .14); --tbc: #B83A1A; --sun: #FFD23F; --accent: #FF7A59;
  --font: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #120C26; --fg: #FFF6E9; --muted: #CFC4F5; --card: #1D1540; --line: rgba(255, 246, 233, .15); --tbc: #FF9A80; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 500 17px/1.6 var(--font); }
.wrap { max-width: 720px; margin-inline: auto; padding-block: 24px 72px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
header img { height: 30px; width: auto; display: block; }
header .on-dark { display: none; }
@media (prefers-color-scheme: dark) { header .on-dark { display: block; } header .on-light { display: none; } }
header a.back { font-weight: 700; font-size: 15px; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #13B5A6; outline-offset: 3px; border-radius: 6px; }
h1 { margin: 34px 0 6px; font-size: clamp(32px, 6vw, 46px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.lede { margin: 0 0 6px; color: var(--muted); font-weight: 600; }
.when { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.draft { margin: 0 0 24px; padding: 12px 14px; border-radius: 12px; border: 2px dashed var(--tbc); color: var(--tbc); font-weight: 700; font-size: 15px; line-height: 1.45; }
.short { margin: 0 0 12px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 2px solid var(--fg); box-shadow: 0 4px 0 var(--fg); }
.short h2 { margin: 0 0 6px; padding: 0; border: 0; font-size: 18px; }
.short ul { margin: 0; padding-left: 20px; }
.short li { margin: 3px 0; }
nav.toc { margin: 20px 0 6px; font-size: 15px; color: var(--muted); }
nav.toc a { margin-right: 14px; white-space: nowrap; display: inline-block; }
section { padding-block: 18px 6px; border-top: 1px solid var(--line); margin-top: 18px; scroll-margin-top: 12px; }
h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 12px; max-width: 68ch; }
ul, ol { margin: 0 0 12px; padding-left: 22px; max-width: 68ch; }
li { margin: 4px 0; }
.tbc { color: var(--tbc); font-weight: 800; }
.tablewrap { overflow-x: auto; margin: 0 0 14px; border: 1.5px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
footer { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
footer a { font-weight: 700; }

/* on a phone each table row becomes a card, so nothing scrolls sideways */
@media (max-width: 640px) {
  .tablewrap { overflow: visible; border: 0; }
  table, tbody, tr, td { display: block; min-width: 0; width: 100%; }
  thead { position: absolute; left: -9999px; }
  tr { margin-bottom: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
  td { border-bottom: 1px solid var(--line); padding: 10px 14px; }
  tr:last-child td { border-bottom: 1px solid var(--line); }
  td:last-child { border-bottom: 0; }
  td::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
}

h3 { margin: 16px 0 4px; font-size: 17px; line-height: 1.3; }
