/* Hallmark · shape: app screen · genre: atmospheric · theme: Ribbon (deal 3/3, seed tool-browsing-filtering-sorting-6efe·6eac023b·2026-11-26·r0) · redesign: full · scope: app
 * nav: kept (wordmark and the two legal links) · signature: kept (the policy text on one lit panel) · states: none · ribbon: two-in-the-morning
 * axes: dark/grotesk-sans/warm · posture: committed · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E5 S3 R5 V3 · weakest: S, a policy page is a policy page; kept it the app's paper, ink and amber so it reads as part of the app */
/* The static pages (privacy.html, terms.html): plain HTML that loads without JavaScript, in the app's Ribbon look
   (night colourway). The tokens repeat the app's (src/styles/global.css :root); keep them in step when the palette changes. */
:root {
  color-scheme: dark;
  --color-paper: oklch(13.2% 0.022 258);
  --color-paper-2: oklch(16.4% 0.024 258);
  --color-ink: oklch(93.5% 0.012 85);
  --color-ink-2: oklch(85% 0.014 85);
  --color-muted: oklch(73% 0.02 255);
  --color-rule: oklch(26% 0.024 258);
  --color-accent: oklch(82% 0.095 68);
  --color-accent-hover: oklch(87% 0.085 72);
  --color-accent-ink: oklch(20% 0.03 62);
  --color-focus: oklch(82% 0.095 68);
  --edge-light: inset 0 1px 0 oklch(100% 0 0 / 0.07);
  --edge-light-strong: inset 0 1px 0 oklch(100% 0 0 / 0.35);
  --font-display: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: Figtree, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --radius-card: 20px;
  --radius-part: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-paper);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--s-6) var(--s-5) var(--s-8);
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-6);
  margin-bottom: var(--s-6);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-part);
  background: var(--color-accent);
  box-shadow: var(--edge-light-strong);
  color: var(--color-accent-ink);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
}
nav a[aria-current='page'] {
  color: var(--color-ink);
  text-decoration: none;
}

main {
  padding: var(--s-8);
  background: linear-gradient(var(--color-paper-2), var(--color-paper));
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-card);
  box-shadow: var(--edge-light);
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 {
  margin: 0 0 var(--s-2);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h2 {
  margin: var(--s-8) 0 var(--s-2);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
p,
ul {
  margin: 0 0 var(--s-3);
}
li {
  margin-bottom: var(--s-2);
}
a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
a:hover {
  color: var(--color-accent-hover);
}
a:active {
  color: var(--color-ink);
}
.updated,
footer {
  color: var(--color-muted);
  font-size: 14px;
}
footer {
  margin-top: var(--s-6);
  text-align: center;
}

@media (max-width: 760px) {
  .page {
    padding: var(--s-4) var(--s-4) var(--s-6);
  }
  main {
    padding: var(--s-5);
  }
  h1 {
    font-size: 28px;
  }
}
