/* ============================================================
   Shared styles for the legal pages (/privacy, /terms).
   Same type and palette as the landing and buy pages, tuned for
   long-form reading: narrower measure, quieter rules, no gloss.
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night-0: #06070e;
  --ink:      #edeef7;
  --ink-soft: #c4c8e0;
  --ink-mute: #8a90b4;
  --ink-dim:  #5c6188;
  --gold:  #ffe6a0;
  --cyan:  #9ce0ff;
  --line: rgba(156, 224, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 50% -10%, rgba(255, 200, 115, 0.08), transparent 62%),
    var(--night-0);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  padding: 36px 20px 72px;
}
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }

.wrap { max-width: 720px; margin: 0 auto; }

.back {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 15px;
  color: var(--ink-mute);
  text-decoration: none;
}
.back:hover { color: var(--ink-soft); }

/* ---- masthead ---- */
.masthead { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 34px; }
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.updated { margin: 0; font-size: 14.5px; color: var(--ink-dim); }


/* ---- table of contents ---- */
.toc { margin: 0 0 44px; }
.toc h2 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 12px;
  font-weight: 700;
}
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15.5px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--gold); text-decoration: underline; }

/* ---- body sections ---- */
section { margin-bottom: 40px; scroll-margin-top: 24px; }
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 14px;
}
h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  margin: 26px 0 8px;
}
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 8px; }
strong { color: var(--ink); font-weight: 700; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: rgba(156, 224, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
  color: var(--gold);
  overflow-wrap: anywhere;
}

/* ---- data table ---- */
.table-scroll { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 460px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th {
  color: var(--ink-mute);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom-color: var(--line);
}
td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }


/* ---- footer ---- */
.foot {
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding-top: 24px;
  font-size: 14.5px;
  color: var(--ink-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
}
.foot a { color: var(--ink-mute); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 560px) {
  body { font-size: 16.5px; padding: 28px 18px 56px; }
  .toc ol { columns: 1; }
}
