/* Privacy and Terms, in the same world as the rest of the site.
   Before v50 these two pages ran their own dark blue-black theme with a cyan accent and Inter,
   three things the brand explicitly refuses, so they read as a different company. This file now
   uses the same tokens, the same three voices and the same hairline structure as styles.css.
   Content is untouched: this is a restyle, not a rewrite of the policies. */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face { font-family: "General Sans"; src: url("../assets/fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../assets/fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../assets/fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/jetbrains-mono-latin-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #FAF8F4;
  --surface: #F1EDE6;
  --ink: #141210;
  --muted: #524C46;
  --line: rgba(20, 18, 16, 0.13);
  --line-soft: rgba(20, 18, 16, 0.07);
  --accent: #5B40E7;
  --accent-text: #4A32C9;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { background: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--paper); }

a { color: var(--accent-text); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--ink); } }
a:focus-visible, .brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(940px, calc(100% - 36px)); margin-inline: auto; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* The wordmark is the display voice, exactly as on the home page: no uppercase, no weight 900. */
.brand {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 440;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.nav a:not(.brand) { color: var(--muted); font-size: 15px; font-weight: 480; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.brand):hover { color: var(--ink); } }

/* ---------- hero ---------- */
.hero { padding: 64px 0 38px; }

/* Kicker: mono, small, uppercase, letterspaced. Uppercase exists only here, at this size. */
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 440;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }

/* ---------- the policy itself ----------
   Structure is drawn with hairline rules rather than a card: no border box, no shadow, no fill. */
.policy { margin-bottom: 72px; }

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.policy-meta strong { color: var(--ink); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

.policy-body { padding: 0; }
.policy-body section { padding-top: 40px; }
.policy-body section + section { border-top: 1px solid var(--line-soft); }

h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 440;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0 0 14px; color: var(--muted); max-width: 68ch; }
ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); max-width: 68ch; }
li { margin: 8px 0; }
li::marker { color: rgba(20, 18, 16, 0.35); }
strong { color: var(--ink); font-weight: 500; }

/* A quiet aside, marked by a rule on the left rather than a tinted panel. */
.notice {
  margin-top: 20px;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--accent);
  background: none;
}
.notice p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-foot {
  padding: 26px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 24px, 940px); }
  .nav { min-height: 60px; }
  .brand { font-size: 22px; }
  .hero { padding: 40px 0 26px; }
  .lede { font-size: 16px; }
  .policy-body section { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
