/* Wix Madefor Display and Onest, both SIL Open Font License 1.1 (see OFL.txt).
   Served from this domain so that reading a page contacts no third party. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-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: 'Wix Madefor Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/wix-madefor-display-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/wix-madefor-display-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/wix-madefor-display-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: 'Wix Madefor Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/wix-madefor-display-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; }

/* Shared shell for the document pages (/about, /privacy, /terms).
   The landing keeps its own inline CSS; this file carries only what a text page
   needs: the design tokens, typography, the small header and the footer. */

:root {
  --paper: #EDEFEA;
  --paper-2: #E1E5DE;
  --paper-3: #D5DBD2;
  --card: #FAFBF8;
  --ink: #17211D;
  --ink-2: #34403B;
  --muted: #5B6762;
  --line: #CBD2CA;
  --hair: rgba(23, 33, 29, .09);
  --green: #1F3B32;
  --green-2: #2A4A3F;
  --on-green: #EEF1EA;
  --brass: #B5914C;
  --display: 'Wix Madefor Display', 'Onest', system-ui, sans-serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --r-lg: 24px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --shadow-lift: 0 36px 70px -36px rgba(31, 59, 50, .34), 0 10px 24px -14px rgba(31, 59, 50, .14);
  --bezel: inset 0 1px 0 rgba(255, 255, 255, .85), 0 0 0 1px rgba(23, 33, 29, .035);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.toggle button:focus-visible { outline-offset: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* Header */
.doc-header { padding: 20px 0 8px; }
.doc-header .wrap { display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font: 600 22px/1 var(--display); letter-spacing: -0.04em; text-decoration: none; color: var(--ink); }
.brand i { font-style: normal; color: var(--brass); }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(250, 251, 248, .5); }
.toggle button { border: 0; background: transparent; border-radius: 999px; padding: 8px 11px; font: 500 13px/1 var(--sans); color: var(--muted); cursor: pointer; transition: background-color .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 15px/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn-primary { background: var(--green); color: var(--on-green); box-shadow: 0 14px 28px -16px rgba(31, 59, 50, .8); }
.btn-primary:hover { background: var(--green-2); }
@media (max-width: 620px) { .doc-header .btn { display: none; } }

/* Document */
.doc-main { padding: 24px 0 72px; }
.doc { width: min(720px, 100%); margin-inline: auto; }
.doc-head { margin-bottom: 36px; }
.doc h1 { margin: 0 0 12px; font: 600 clamp(34px, 6vw, 52px)/1.06 var(--display); letter-spacing: -0.035em; }
.doc .lede { font-size: 19px; color: var(--ink-2); }
.doc .updated { margin-top: 14px; font-size: 14px; color: var(--muted); }
.doc h2 { margin: 44px 0 14px; font: 600 clamp(22px, 3vw, 27px)/1.2 var(--display); letter-spacing: -0.028em; }
.doc h3 { margin: 28px 0 8px; font: 600 18px/1.3 var(--sans); }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--muted); }
.doc a { text-underline-offset: 3px; }
.doc strong { font-weight: 600; }
.doc .card { margin-top: 20px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--bezel), var(--shadow-lift); }
.doc .card h3:first-child { margin-top: 0; }
.doc dl { margin: 16px 0 0; }
.doc dt { font-weight: 600; margin-top: 14px; }
.doc dd { margin: 4px 0 0; color: var(--ink-2); }
.doc .todo { color: var(--muted); font-style: italic; }
.doc code { padding: 2px 6px; border-radius: 6px; background: var(--paper-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.doc-back { display: inline-block; margin-top: 48px; font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer { overflow: hidden; padding-top: 32px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.wordmark { display: block; margin: -2vw 0 -3.5vw; font: 600 clamp(96px, 25vw, 380px)/1 var(--display); letter-spacing: -0.05em; color: var(--paper-3); text-align: center; user-select: none; }
