/* scoute.net's closed pages (closed.html, privacy.html, terms.html): the landing's fonts, colours, nav and footer,
   and the documents' type. The full landing (index.html) keeps its own styles. */
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url(fonts/oswald-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url(fonts/oswald-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: "Onest"; font-weight: 100 900; 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-weight: 100 900; 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; }

:root {
  --bg: #060509; --panel: #0d0b14; --ink: #f6f4ff; --muted: #a6a2bc; --soft: #d8d5ec;
  --violet: #7a5cff; --acid: #d7ff2e; --line: rgb(255 255 255 / .09);
  --display: "Oswald", "HelveticaNeue-CondensedBold", "Arial Narrow", sans-serif;
  --body: "Onest", system-ui, -apple-system, sans-serif;
  --gutter: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left), env(safe-area-inset-right));
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html, html body { color: var(--ink); color-scheme: dark; }
html { background: var(--bg); }
html body { background: transparent; }  /* the record's canvas lies behind the page */
body { font: 400 16px/1.5 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px;
       padding: max(20px, env(safe-area-inset-top)) var(--gutter) 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.logo svg { width: 20px; height: 20px; color: var(--acid); }
.back { color: var(--muted); font-weight: 500; font-size: 15px; }
.back:hover { color: var(--ink); }
.pill { display: inline-block; padding: 11px 18px; border-radius: 999px; background: var(--violet); color: #fff; font-weight: 600; white-space: nowrap;
        box-shadow: 0 0 0 1px rgb(255 255 255 / .12) inset; transition: transform .12s ease, filter .12s ease; }
.pill:hover { filter: brightness(1.08); }
.pill:active { transform: scale(.97); }
.pill:focus-visible, a:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: var(--muted); font-size: 13.5px;
        padding: 22px var(--gutter) max(22px, env(safe-area-inset-bottom)); }
.foot a:hover { color: var(--ink); }
.foot .copy-right { margin-right: auto; }

/* the documents */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(24px, 6vh, 64px) var(--gutter) 72px; }
.doc h1 { font: 700 clamp(40px, 7vw, 76px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.doc .edition { margin-top: 14px; color: var(--muted); font-size: 14px; }
.doc .draft { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgb(215 255 46 / .1); color: var(--acid);
              font-size: 14px; font-weight: 600; border: 1px solid rgb(215 255 46 / .35); }
.doc h2 { margin-top: 40px; font: 700 clamp(22px, 3vw, 28px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.doc p, .doc li { color: var(--soft); font-size: 16px; line-height: 1.6; }
.doc p { margin-top: 12px; }
.doc ul { margin-top: 10px; padding-left: 20px; display: grid; gap: 6px; }
.doc li::marker { color: var(--violet); }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(255 255 255 / .3); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--acid); }
.doc b { color: var(--ink); font-weight: 600; }
.doc mark { background: rgb(122 92 255 / .25); color: var(--ink); padding: 0 4px; border-radius: 4px; }
.doc table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.doc th { color: var(--muted); font-weight: 600; font-size: 13px; }
.doc td:first-child { color: var(--ink); white-space: nowrap; }

@media (max-width: 720px) {
  .pill { padding: 10px 14px; font-size: 14px; }
  .doc p, .doc li { font-size: 15.5px; }
  .doc td:first-child { white-space: normal; }
}
