/* Sarvia website: text pages (privacy, support). Same tokens as the home page. */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-500.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --ground: #EDF1F5; --surface: #FAFBFC; --sunken: #E3E9EF; --ink: #1E2430; --ink-2: #55606F;
  --accent: #3C5A8A; --accent-ink: #FFFFFF; --todo: #875A12; --todo-soft: #F4EBDA;
  --display: "Newsreader", Georgia, serif;
  --brand: "Literata", Georgia, serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --m: 40px; --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #12161D; --surface: #1A2029; --sunken: #232A35; --ink: #E8EDF3; --ink-2: #A3ADBB;
    --accent: #8FA9D6; --accent-ink: #0F1724; --todo: #E5B45A; --todo-soft: #362B17; color-scheme: dark; }
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--ground); color: var(--ink); font: 17px/1.6 var(--text); }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px var(--m); font-size: 14px; }
.bar .mono { display: flex; align-items: center; gap: .3em; text-decoration: none; color: var(--ink); font-family: var(--brand); font-weight: 600; letter-spacing: .08em; font-size: 20px; }
.bar .mono img { width: auto; height: 1.8em; }
.bar nav { display: flex; gap: 24px; flex-wrap: wrap; }
.bar nav a { color: var(--ink); text-decoration: none; } .bar nav a:hover { text-decoration: underline; }
.bar nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

main { max-width: 760px; margin: 0 auto; padding: 48px var(--m) 120px; }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.025em; }
.lead { margin-top: 24px; font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; }
.updated { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
h2 { margin-top: 64px; font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -.015em; }
h3 { margin-top: 32px; font-size: 19px; font-weight: 650; }
p, ul, ol, table, .short { margin-top: 16px; }
ul, ol { padding-left: 22px; display: grid; gap: 8px; }
.short { background: var(--surface); border-radius: var(--r); padding: 24px 28px; }
.short h2 { margin-top: 0; font-size: 24px; }
.table { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; margin-top: 0; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--sunken); }
th { font-weight: 650; }
td:first-child { font-weight: 600; white-space: nowrap; }
.path { font-weight: 600; }
.soon { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
/* Placeholders the owner must fill before launch: visible on purpose. */
.todo { background: var(--todo-soft); color: var(--todo); font-weight: 600; padding: 1px 6px; border-radius: 6px; }
.draft { background: var(--todo-soft); color: var(--todo); border-radius: var(--r); padding: 14px 18px; font-size: 15px; margin-bottom: 32px; }

footer { background: #1E2430; color: #EDF1F5; padding: 48px var(--m) 32px; font-size: 14px; display: grid; gap: 24px; }
footer .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
footer p { color: #A3ADBB; } footer p:first-child { color: #EDF1F5; }
footer a { color: inherit; text-decoration: none; } footer a:hover { text-decoration: underline; }
footer .legal { color: #A3ADBB; }

@media (max-width: 640px) {
  :root { --m: 20px; }
  .bar nav { gap: 16px; }
  main { padding-top: 24px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
