/* Hallmark · shape: long document (privacy policy) + a one-screen home · genre: modern-minimal · theme: Terrazzo (same tokens as the extension's page, deal 1/3, seed chrome-extension-saving-social-1c0a·6a7867d4·2026-11-20·r0)
 * nav: wordmark bar with two links · signature: the policy's short version set as a ruled answer sheet above the full text · footer: one rule, the independence line · black colourway for dark mode
 * axes: light/geometric-sans/warm · posture: restrained · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, a policy page has no picture to show; the short answers carry it instead */
/* Hallmark · answered 58: the privacy policy runs past 450 words because the store needs every data use stated in full; the short version above it is four lines */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Syne"; font-weight: 700; font-display: swap; src: url("fonts/syne-700.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("fonts/onest-400.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("fonts/onest-500.woff2") format("woff2"); }

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --color-paper: oklch(14% 0.005 60); --color-paper-2: oklch(19% 0.006 60); --color-paper-3: oklch(25% 0.007 60);
    --color-plate: oklch(18% 0.005 60);
    --color-ink: oklch(96% 0.01 80); --color-ink-2: oklch(86% 0.01 80); --color-muted: oklch(72% 0.012 70);
    --color-rule: oklch(34% 0.008 70);
    --color-accent: oklch(70% 0.14 40); --color-accent-soft: oklch(27% 0.05 40); --color-focus: oklch(72% 0.14 40);
  }
}

:root { --container: 960px; }
body { min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; padding-block: var(--space-2xl) var(--space-3xl); }

.skip { position: absolute; left: var(--space-md); top: -100px; padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.bar { border-bottom: var(--rule-bar) solid var(--color-ink); }
.bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; }
.mark { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: var(--tracking-display); text-decoration: none; }
.mark img { width: 24px; height: 24px; }
.links { display: flex; gap: var(--space-lg); }
.links a { text-decoration: none; color: var(--color-muted); transition: color var(--dur-micro) var(--ease-out); }
.links a:hover, .links a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 16ch; }
.meta { margin-top: var(--space-sm); color: var(--color-muted); }
.intro { margin-top: var(--space-lg); font-size: var(--text-lg); line-height: 1.5; max-width: 50ch; }

/* The short version: a ruled answer sheet. */
.answers { margin: var(--space-xl) 0 var(--space-2xl); border-top: var(--rule-bar) solid var(--color-ink); }
.answers div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--space-xs) var(--space-lg); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.answers dt { font-weight: 500; }
.answers dd { margin: 0; color: var(--color-ink-2); }

.policy section { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--space-sm) var(--space-lg); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.policy h2 { font-size: var(--text-section); }
.policy .text { display: grid; gap: var(--space-sm); }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2xs); max-width: 62ch; }
.policy a, .intro a { text-decoration-color: var(--color-accent); }
.policy a:hover, .intro a:hover { color: var(--color-accent); }

/* Home */
.home { display: grid; gap: var(--space-lg); padding-block: var(--space-xl); }
.home img.big { width: 96px; height: 96px; }
.home .lead { font-size: var(--text-xl); max-width: 34ch; }
.home .go { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); text-decoration: none; font-weight: 500; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.btn--ink { background: var(--color-ink); color: var(--color-paper); }
.btn--ink:hover { background: var(--color-ink-2); }
.btn--line { box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); }
.btn--line:hover { background: var(--color-paper-2); }
.btn:active { transform: translateY(1px); }

.foot { border-top: var(--rule-bar) solid var(--color-ink); padding-block: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }

@media (max-width: 40rem) {
  .answers div, .policy section { grid-template-columns: minmax(0, 1fr); }
  .links { gap: var(--space-md); }
}
