@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/GolosText-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/GolosText-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:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/IBMPlexMono-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/IBMPlexMono-400-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:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/IBMPlexMono-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/IBMPlexMono-500-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:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/IBMPlexMono-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/IBMPlexMono-600-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:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/fonts/Unbounded-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/fonts/Unbounded-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;}

/* Article pages: same tokens as the landing (kitchen pass), tuned for long reading */
:root {
  --steel: #e5e8ea; --steel-raised: #f1f3f4; --ink: #15181b; --muted: #555d63; --line: #c7cdd1;
  --lamp: #d98b1f; --lamp-ink: #8f5300; --paper: #fffef8; --paper-ink: #1b1a16; --paper-muted: #6b675c; --paper-line: #d8d3c4;
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Golos Text", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gl: max(clamp(16px, 5vw, 72px), env(safe-area-inset-left, 0px));
  --gr: max(clamp(16px, 5vw, 72px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --steel: #111417; --steel-raised: #181c20; --ink: #e9ecee; --muted: #9ba4ab; --line: #2c3338;
    --lamp: #f0a53a; --lamp-ink: #f3b35a; --paper: #eeebe1; --paper-line: #cfc9b8; color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--steel); color: var(--ink); font-family: var(--f-body); font-size: 18px; line-height: 1.7;
  background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 2.2%, transparent) 0 1px, transparent 1px 4px); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { width: 34px; height: 34px; }
.mark strong { font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.top nav { display: flex; gap: 22px; }
.top nav a { font-family: var(--f-mono); font-size: 13px; text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.crumbs { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; padding-top: 18px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
article { max-width: 760px; margin: 0 auto; padding: 24px 0 64px; }
.label { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.label b { color: var(--lamp-ink); font-weight: 600; }
h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 5vw, 48px); line-height: 1.1; letter-spacing: -.025em; margin: 14px 0 18px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--lamp-ink); }
.lede { font-size: 21px; color: var(--muted); margin: 0 0 18px; }
.byline { font-family: var(--f-mono); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 36px; }
h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(23px, 3vw, 30px); line-height: 1.2; letter-spacing: -.015em; margin: 52px 0 14px; text-wrap: balance; }
h3 { font-size: 20px; margin: 30px 0 8px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 24px; }
li { margin-bottom: 8px; }
strong { font-weight: 600; }
.toc { background: var(--steel-raised); border: 1px solid var(--line); padding: 18px 22px; margin: 0 0 8px; }
.toc ol { margin: 8px 0 0; }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; }
.note { border-left: 3px solid var(--lamp); padding: 6px 0 6px 18px; color: var(--muted); font-size: 16.5px; margin: 20px 0; }
.ticket { background: var(--paper); color: var(--paper-ink); font-family: var(--f-mono); font-size: 14.5px; line-height: 1.6; padding: 22px 24px 32px; margin: 26px 0; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 14px 30px -14px rgba(21,24,27,.35);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 8px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 8px repeat-x; }
.ticket .t-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; letter-spacing: .04em; }
.ticket hr { border: 0; border-top: 1.5px dashed var(--paper-line); margin: 12px 0; }
.ticket ul { list-style: none; padding: 0; margin: 0; }
.ticket li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; margin: 0 0 6px; }
.ticket li::before { content: "☐"; }
.ticket .t-sub { color: var(--paper-muted); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin: 14px 0 6px; }
.table-wrap { overflow-x: auto; margin: 18px 0 22px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
th { text-align: left; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); padding: 0 12px 8px 0; }
td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.formula { font-family: var(--f-mono); font-size: 15px; background: var(--steel-raised); border: 1px solid var(--line); padding: 14px 18px; margin: 16px 0 20px; overflow-x: auto; }
.download { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0; padding: 18px 20px; border: 1px dashed var(--lamp); }
.download p { margin: 0; flex: 1 1 260px; font-size: 16px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; font-family: var(--f-mono); font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-radius: 2px; }
.btn-lamp { background: var(--ink); color: var(--steel); }
.btn-lamp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 10px var(--lamp); }
.btn-line { border: 1px solid var(--line); color: var(--ink); }
.cta { margin: 56px 0 0; padding: 28px; background: var(--ink); color: var(--steel); display: grid; gap: 14px; }
.cta h2 { margin: 0; color: var(--steel); font-size: 24px; }
.cta .cta-label { color: color-mix(in srgb, var(--steel) 72%, transparent); }
.cta p { margin: 0; color: color-mix(in srgb, var(--steel) 75%, transparent); font-size: 16.5px; }
.cta .btn-lamp { background: var(--steel); color: var(--ink); justify-self: start; }
.related { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.related a { font-weight: 600; text-decoration: none; } .related a:hover { text-decoration: underline; }
.sources { font-size: 14.5px; color: var(--muted); margin-top: 40px; }
.sources ol { padding-left: 20px; }
footer { padding-block: 26px 34px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 28px 0 64px; }
.card { background: var(--paper); color: var(--paper-ink); padding: 24px; text-decoration: none; display: grid; gap: 10px; align-content: start; box-shadow: 0 14px 30px -18px rgba(21,24,27,.35); transition: transform .2s ease; }
.card:hover { transform: translateY(-3px); }
.card .label { color: var(--paper-muted); }
.card h2 { margin: 0; font-size: 21px; color: var(--paper-ink); }
.card p { margin: 0; font-size: 15.5px; color: var(--paper-muted); }
@media (max-width: 640px) { .top nav { display: none; } body { font-size: 17px; } .lede { font-size: 19px; } }
@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .top, .crumbs, .cta, .related, footer, .download, .toc { display: none; }
  .ticket { box-shadow: none; border: 1px solid #000; -webkit-mask: none; mask: none; }
}
