/* Shared styles for privacy.html, press.html and 404.html: the same tokens as site.css, a single column.
   Kept out of the HTML so the Content-Security-Policy in _headers can stay at style-src 'self'. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/newsreader-500-latin.woff2") format("woff2");
}

/* planetterrian-tokens v1: copied verbatim in site.css, page.css and orbit/src/views/styles.ts; edit all copies together. --hairline-strong is decorative (under 3:1); controls use a surface-specific --control-line. */
:root {
  color-scheme: dark light;
  --bg: #111417;
  --surface: #181c20;
  --raised: #1f2428;
  --hairline: #2a3036;
  --hairline-strong: #3d454d;
  --ink: #e8ecef;
  --muted: #a7b0b8;
  --accent: #3fb8af;
  --accent-ink: #0e2a28;
  --accent-text: #3fb8af;
  --accent-hover: #5cc9c1;
  --scrim: rgba(0, 0, 0, 0.55);
  --fs-label: 13px;
  --fs-small: 15px;
  --fs-body: 17px;
  --fs-h3: 20px;
  --fs-h2: 26px;
  --fs-display: 34px;
  --fs-h1: 44px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1080px;
  --gutter: 16px;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f6f2;
    --surface: #ffffff;
    --raised: #f1efe9;
    --hairline: #d9d6ce;
    --hairline-strong: #a8a397;
    --ink: #1b1f23;
    --muted: #566069;
    --accent: #17766f;
    --accent-ink: #ffffff;
    --accent-text: #17766f;
    --accent-hover: #125f59;
    --scrim: rgba(27, 31, 35, 0.4);
  }
}
/* end planetterrian-tokens v1 */

/* site tokens: public-site additions to the shared block above (identical in site.css and page.css).
   --control-line outlines buttons and the menu toggle at 3:1 or better on every surface. */
:root {
  --control-line: #6b747d;
}
@media (prefers-color-scheme: light) {
  :root {
    --control-line: #8a857a;
  }
}
/* end site tokens */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-text); font-size: var(--fs-body); background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.top { border-bottom: 1px solid var(--hairline); }
.top-inner, .wrap, .mini-footer-inner { max-width: 720px; margin: 0 auto; padding-left: var(--s5); padding-right: var(--s5); }
.top-inner { min-height: var(--s8); display: flex; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--fs-small); }
.logo:hover { color: var(--ink); }
.logo img { display: block; border-radius: 6px; border: 1px solid var(--hairline); }
.wrap { padding-top: var(--s7); padding-bottom: var(--s8); }
.label { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 26px + 1.8vw, var(--fs-h1)); line-height: 1.12; letter-spacing: -0.01em; margin: var(--s2) 0 var(--s4); text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: 1.15; margin: var(--s6) 0 var(--s3); padding-top: var(--s5); border-top: 1px solid var(--hairline); }
p, li { color: var(--ink); margin-bottom: var(--s3); }
ul { padding-left: 1.25rem; }
li::marker { color: var(--muted); }
strong { font-weight: 600; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 120ms ease; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.summary { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: var(--s4) var(--s5); margin: var(--s5) 0 var(--s6); }
.summary p { margin: 0; }
.muted { color: var(--muted); font-size: var(--fs-small); margin-top: var(--s6); }
.btn, .btn:hover { display: inline-flex; align-items: center; min-height: var(--s7); margin-top: var(--s3); padding: var(--s3) var(--s5); border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-list { list-style: none; padding: 0; border-top: 1px solid var(--hairline); margin-top: var(--s5); }
.link-list li { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--hairline); }
time, .facts dd, .stage-table td { font-variant-numeric: tabular-nums; }

/* Press: fact sheet and the products-and-stages table. */
.facts { border-top: 1px solid var(--ink); margin-bottom: var(--s4); }
.facts div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--s1) var(--s5); padding: var(--s3) 0; border-bottom: 1px solid var(--hairline); }
.facts dt { color: var(--muted); font-size: var(--fs-small); padding-top: 2px; }
.stage-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); margin-bottom: var(--s4); }
.stage-table th, .stage-table td { text-align: left; vertical-align: top; padding: var(--s3) var(--s4) var(--s3) 0; border-bottom: 1px solid var(--hairline); }
.stage-table th { font-weight: 600; }
.stage-table caption { text-align: left; padding-bottom: var(--s2); }
.stage-table thead th { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.stage-table td:last-child, .stage-table th:last-child { padding-right: 0; overflow-wrap: anywhere; }
.files { list-style: none; padding: 0; border-top: 1px solid var(--hairline); }
.files li { margin: 0; padding: var(--s2) 0; border-bottom: 1px solid var(--hairline); }

/* Stage marker: the same shapes as the homepage (filled dot, half dot, ring, two bars), drawn in currentColor. */
.stage { position: relative; display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-label); font-weight: 600; line-height: 1.4; color: var(--ink); white-space: nowrap; }
.stage::before { content: ""; flex: none; width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 50%; }
.stage-growing::before { background: currentColor; }
.stage-alpha::after { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: currentColor; clip-path: inset(0 50% 0 0); }
.stage-paused::before { width: 9px; border-width: 0 3px; border-radius: 0; }

.mini-footer { border-top: 1px solid var(--hairline); }
.mini-footer-inner { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-top: var(--s4); padding-bottom: var(--s6); font-size: var(--fs-small); color: var(--muted); }
.mini-footer a { color: var(--ink); }
.mini-footer a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .top-inner, .wrap, .mini-footer-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
  .wrap { padding-top: var(--s6); }
  .facts div { grid-template-columns: 1fr; }
  .stage-table th, .stage-table td { padding-right: var(--s3); }
}
@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
