/* ---------------------------------------------------------------------
   Font faces, formerly assets/css/fonts.css. Merged in so the page
   makes one render-blocking stylesheet request instead of two.
   --------------------------------------------------------------------- */
/* Self-hosted subsets of Oswald (OFL) and IBM Plex Sans/Mono (OFL). */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-400-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: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/oswald-400-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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/oswald-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 Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-400-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-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 Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-400-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-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: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-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/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-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/ibm-plex-mono-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/ibm-plex-mono-500-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-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;
}
/* Cyrillic. One file per family covers the weight range - this mirrors
   what Google Fonts serves. Both families are OFL, so self-hosting is
   permitted. Without these, Russian text fell through to system-ui
   while Latin words in the same heading stayed in Oswald. */
@font-face{
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  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-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/oswald-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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  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-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/oswald-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-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 Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-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 Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}


/* ---------------------------------------------------------------------
   Language fallbacks.

   Oswald and IBM Plex Sans ship latin + latin-ext only, which covers the
   Polish and Czech diacritics but has no CJK at all. Without these stacks
   the zh/ja/ko pages fall through to whatever generic sans the OS picks,
   which on Windows means a serif-ish default for some weights. Naming the
   platform faces keeps those pages on a proper UI gothic.

   Cyrillic is vendored above, so Russian renders in the brand faces.
   --------------------------------------------------------------------- */
:root:lang(zh){
  --display:'Oswald','PingFang SC','Microsoft YaHei','Hiragino Sans GB','Source Han Sans SC','Noto Sans CJK SC',system-ui,sans-serif;
  --body:'IBM Plex Sans','PingFang SC','Microsoft YaHei','Hiragino Sans GB','Source Han Sans SC','Noto Sans CJK SC',system-ui,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'PingFang SC','Microsoft YaHei',monospace;
}
:root:lang(ja){
  --display:'Oswald','Hiragino Kaku Gothic ProN','Yu Gothic','Meiryo','Noto Sans CJK JP',system-ui,sans-serif;
  --body:'IBM Plex Sans','Hiragino Kaku Gothic ProN','Yu Gothic','Meiryo','Noto Sans CJK JP',system-ui,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'Yu Gothic','Meiryo',monospace;
}
:root:lang(ko){
  --display:'Oswald','Apple SD Gothic Neo','Malgun Gothic','Noto Sans CJK KR',system-ui,sans-serif;
  --body:'IBM Plex Sans','Apple SD Gothic Neo','Malgun Gothic','Noto Sans CJK KR',system-ui,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'Malgun Gothic',monospace;
}
/* CJK has no inter-word spaces, so uppercase letter-spacing on a heading
   pushes characters apart instead of tightening them. */
:root:lang(zh) h1, :root:lang(ja) h1, :root:lang(ko) h1{letter-spacing:0}


/* =====================================================================
   Strelok — shared site stylesheet
   Loaded by /, /download/ and /changelog/. Bump the ?v= query in every
   page when this file changes, so the immutable /assets/* cache header
   does not serve a stale copy.
   ===================================================================== */

:root{
  --bg:#0A0D13; --bg-2:#0C1017; --panel:#0E131C;
  --line:#1C232F; --line-soft:#141A24; --line-strong:#232C3A;
  --fg:#E6E9EE; --fg-strong:#F2F4F7;
  --muted:#AEBAC7; --muted-2:#9EAAB8; --muted-3:#8C9AAA; --muted-4:#7C8B9B;
  --dim:#687C8F; --dim-2:#6C7C8C;
  --gold:#E8B32C; --gold-hi:#F6CB5B;
  --display:'Oswald','Arial Narrow',system-ui,sans-serif;
  --body:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'Cascadia Mono',Consolas,monospace;
  --wrap:1240px; --pad:40px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:100px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{
  margin:0;background:var(--bg);color:var(--fg);
  font-family:var(--body);font-size:16px;line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img,picture,video,svg{display:block;max-width:100%}
img{height:auto}
a{color:var(--gold);text-decoration:none}
a:hover{color:var(--gold-hi)}
a:focus-visible,video:focus-visible{outline:2px solid var(--gold-hi);outline-offset:3px}
h1,h2,h3,p,figure,dl,dd{margin:0}

.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--pad)}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip:focus{position:fixed;top:10px;left:10px;z-index:99;width:auto;height:auto;clip:auto;margin:0;padding:10px 16px;background:var(--gold);color:var(--bg);font-family:var(--mono);font-size:12px;letter-spacing:.1em}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:20;
  display:flex;align-items:center;justify-content:space-between;gap:24px 28px;flex-wrap:wrap;
  --hpad:18px;
  padding:var(--hpad) var(--pad);border-bottom:1px solid var(--line);
  background:rgba(10,13,19,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.brand{display:flex;align-items:center;gap:12px;color:inherit}
.brand:hover{color:inherit}
.brand img{width:34px;height:34px}
.brand-text{display:flex;flex-direction:column;gap:1px}
.brand-name{font-family:var(--display);font-size:17px;letter-spacing:.16em;text-transform:uppercase;color:var(--fg-strong);line-height:1.25}
.brand-sub{font-family:var(--mono);font-size:10px;letter-spacing:.14em;color:var(--dim);line-height:1.25}
.site-nav{flex:1;display:flex;align-items:center;gap:28px;font-size:13px;letter-spacing:.04em}
.site-nav a:first-child{margin-left:auto}
.site-nav a:not(.nav-cta){color:var(--muted-3)}
.site-nav a:not(.nav-cta):hover{color:var(--fg-strong)}
.nav-cta{
  margin-left:auto;
  font-family:var(--display);font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;
  color:var(--gold);border:1px solid var(--gold);padding:9px 18px;white-space:nowrap;
  transition:background .15s,color .15s;
}
.nav-cta:hover{background:var(--gold);color:var(--bg)}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:var(--bg)}
.hero-media{position:absolute;inset:0}
.hero-media picture{display:block;width:100%;height:100%}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-scrim{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(8,10,15,.96) 0%,rgba(8,10,15,.86) 38%,rgba(8,10,15,.35) 70%,rgba(8,10,15,.55) 100%);
}
.hero-inner{
  position:relative;max-width:var(--wrap);margin:0 auto;padding:0 var(--pad);
  min-height:660px;display:flex;flex-direction:column;justify-content:center;gap:26px;
}
.eyebrow{display:flex;align-items:center;gap:10px}
.eyebrow i{width:22px;height:1px;background:var(--gold);display:block;flex:none}
.eyebrow span{font-family:var(--mono);font-size:11px;letter-spacing:.22em;color:var(--gold);text-transform:uppercase}
.hero h1{
  font-family:var(--display);font-weight:500;font-size:clamp(40px,7.4vw,76px);
  line-height:.98;letter-spacing:.01em;color:#fff;max-width:15ch;text-wrap:balance;
}
.hero-lead{font-size:clamp(16px,1.6vw,18px);line-height:1.55;color:var(--muted);max-width:56ch;text-wrap:pretty}
.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:6px}
.cta-group{display:flex;flex-direction:column;gap:10px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:14px;
  background:var(--gold);color:var(--bg);padding:17px 30px;border:1px solid var(--gold-hi);
  font-family:var(--display);font-size:19px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;
  box-shadow:0 0 0 1px rgba(232,179,44,.25),0 18px 40px -20px rgba(232,179,44,.7);
  transition:background .15s;
}
.btn:hover{background:var(--gold-hi);color:var(--bg)}
.btn-note{font-family:var(--mono);font-size:11px;letter-spacing:.1em;color:var(--muted-4)}
.btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;gap:14px;align-self:flex-start;
  background:transparent;color:var(--gold);padding:15px 28px;border:1px solid var(--gold);margin-top:8px;
  font-family:var(--display);font-size:17px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;
  transition:background .15s,color .15s;
}
.btn-ghost:hover{background:var(--gold);color:var(--bg)}
.spec{display:flex;flex-direction:column;gap:6px;padding-left:26px;border-left:1px solid var(--line-strong)}
.spec dt{font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--dim)}
.spec dd{font-family:var(--display);font-size:22px;letter-spacing:.06em;color:var(--fg-strong)}
.hero-note{
  position:absolute;right:var(--pad);bottom:26px;z-index:2;text-align:right;
  font-family:var(--mono);font-size:11px;line-height:1.7;letter-spacing:.08em;
  color:rgba(230,233,238,.62);text-shadow:0 1px 6px rgba(0,0,0,.9);
}

/* ---------- section heads ---------- */
.section-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:24px;flex-wrap:wrap;
  padding-bottom:20px;border-bottom:1px solid var(--line);
}
h2{font-family:var(--display);font-weight:500;font-size:clamp(26px,3.4vw,34px);letter-spacing:.1em;text-transform:uppercase;color:var(--fg-strong)}
.section-head .tag{font-family:var(--mono);font-size:11px;letter-spacing:.16em;color:var(--dim)}

/* ---------- features ---------- */
#features{padding-top:96px}
.feature{
  display:grid;grid-template-columns:1.35fr 1fr;gap:52px;align-items:center;
  padding:56px 0;border-bottom:1px solid var(--line-soft);
}
.feature--flip{grid-template-columns:1fr 1.35fr}
.feature--flip .feature-body{order:-1}
.feature--wide{grid-template-columns:1fr;gap:28px}
.feature:last-of-type{border-bottom:0;padding-bottom:72px}
.feature-body{display:flex;flex-direction:column;gap:16px}
.feature--wide .feature-body{flex-direction:row;align-items:baseline;gap:20px;flex-wrap:wrap}
.feature-num{font-family:var(--mono);font-size:12px;letter-spacing:.16em;color:var(--gold)}
.feature h3{font-family:var(--display);font-weight:500;font-size:clamp(24px,2.9vw,32px);letter-spacing:.04em;color:#fff}
.feature p{font-size:16px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.feature--wide p{max-width:60ch}
.shot{border:1px solid var(--line-strong);background:var(--panel)}
.shot img{width:100%}
.shot figcaption{
  font-family:var(--mono);font-size:11px;letter-spacing:.1em;color:var(--muted-4);
  padding:10px 14px;border-top:1px solid var(--line-strong);
}

/* ---------- demo video ---------- */
.video-frame{border:1px solid var(--line-strong);background:var(--panel)}
.video-frame iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;background:#05070B}
.video-frame figcaption{
  font-family:var(--mono);font-size:11px;letter-spacing:.1em;color:var(--muted-4);
  padding:10px 14px;border-top:1px solid var(--line-strong);
}

/* ---------- included ---------- */
#included{padding-bottom:96px}
.included-grid{display:grid;grid-template-columns:repeat(2,1fr);column-gap:64px}
.included-item{display:flex;flex-direction:column;gap:8px;padding:26px 0;border-bottom:1px dashed var(--line)}
.included-head{display:flex;align-items:baseline;gap:12px}
.included-head .n{font-family:var(--mono);font-size:11px;letter-spacing:.1em;color:var(--gold)}
.included-head h3{font-family:var(--display);font-weight:400;font-size:20px;letter-spacing:.05em;color:var(--fg-strong)}
.included-item p{font-size:15px;line-height:1.6;color:var(--muted-2);text-wrap:pretty}

/* ---------- compatibility ---------- */
#compat{border-top:1px solid var(--line);background:var(--bg-2)}
.compat-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start;padding-block:72px}
.compat-copy{display:flex;flex-direction:column;gap:20px}
.compat-copy p{font-size:16px;line-height:1.6;color:var(--muted);max-width:46ch;text-wrap:pretty}
.spec-table{display:flex;flex-direction:column}
.spec-table > div{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--line)}
.spec-table > div:last-child{border-bottom:0}
.spec-table dt{font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--dim);padding-top:2px}
.spec-table dd{font-size:15px;color:var(--fg)}
.spec-table dd.gold{color:var(--gold)}

/* ---------- changelog ---------- */
#changelog{border-top:1px solid var(--line)}
#changelog .wrap{padding-block:72px}
.release{display:grid;grid-template-columns:200px 1fr;gap:40px;padding:28px 0}
.release-meta{display:flex;flex-direction:column;gap:6px}
.release-ver{font-family:var(--display);font-size:26px;letter-spacing:.06em;color:var(--gold)}
.release-tag{font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--dim)}
.release p{font-size:16px;line-height:1.6;color:var(--muted);max-width:60ch;text-wrap:pretty}

/* ---------- footer ---------- */
.site-footer{
  border-top:1px solid var(--line);padding:34px var(--pad);
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
}
.site-footer img{width:26px;height:26px;opacity:.8}
.footer-mark{font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--dim)}
.disclaimer{font-size:12px;line-height:1.6;color:var(--dim-2);max-width:70ch;text-align:right}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .feature,.feature--flip{grid-template-columns:1fr;gap:32px}
  .feature--flip .feature-body{order:0}
  .compat-grid{grid-template-columns:1fr;gap:44px}
  .hero-note{display:none}
  /* The primary nav drops onto its own row before the rest of the layout
     does: five links plus the Download button crowd the brand above 860px. */
  .site-nav{order:3;flex:0 0 100%;gap:22px;font-size:12px;overflow-x:auto;padding-bottom:2px}
  .site-nav a{white-space:nowrap}
  .site-nav a:first-child{margin-left:0}
  .nav-cta{position:absolute;top:var(--hpad);right:var(--pad);margin-left:0}
  .brand{min-height:40px}
}

@media (max-width:860px){
  :root{--pad:24px}
  .site-header{--hpad:14px}
  .hero-inner{min-height:0;padding-block:80px 96px}
  #features{padding-top:64px}
  .feature{padding:40px 0}
  .feature--wide .feature-body{flex-direction:column;align-items:flex-start;gap:14px}
  .included-grid{grid-template-columns:1fr;column-gap:0}
  #included{padding-bottom:64px}
  .compat-grid,#changelog .wrap{padding-block:56px}
  .hero-scrim{background:linear-gradient(180deg,rgba(8,10,15,.92) 0%,rgba(8,10,15,.85) 40%,rgba(8,10,15,.96) 100%)}
  .release{grid-template-columns:1fr;gap:16px;padding:22px 0}
  .disclaimer{text-align:left}
}
@media (max-width:560px){
  /* keep the sticky header short so it does not eat the viewport */
  html{scroll-padding-top:92px}
  .site-header{gap:12px 16px;--hpad:12px}
  .brand-sub{display:none}
  .brand img{width:30px;height:30px}
  .brand{min-height:36px}
  .site-nav{gap:18px;font-size:12px}
  .nav-cta{font-size:12px;padding:8px 15px}
}
@media (max-width:520px){
  .hero-actions{gap:20px}
  .cta-group{width:100%}
  .btn{width:100%;font-size:17px;padding:16px 22px}
  .spec{padding-left:0;border-left:0;border-top:1px solid var(--line-strong);padding-top:14px;width:100%}
  .spec-table > div{flex-direction:column;gap:6px}
}

/* =====================================================================
   Sub-page components — /download/ and /changelog/
   ===================================================================== */

/* ---------- current page marker ---------- */
.site-nav a:not(.nav-cta)[aria-current="page"]{color:var(--gold)}
.nav-cta[aria-current="page"]{background:var(--gold);color:var(--bg)}

/* ---------- breadcrumbs ---------- */
.crumbs{border-bottom:1px solid var(--line-soft);background:var(--bg-2)}
.crumbs ol{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin:0;padding:14px 0;list-style:none;
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);
}
.crumbs li{display:flex;align-items:center;gap:10px}
.crumbs li+li::before{content:"/";color:var(--dim-2)}
.crumbs a{color:var(--muted-4)}
.crumbs a:hover{color:var(--gold)}
.crumbs [aria-current="page"]{color:var(--muted-2)}

/* ---------- compact page hero ---------- */
.page-hero{border-bottom:1px solid var(--line);background:var(--bg)}
.page-hero .wrap{display:flex;flex-direction:column;gap:22px;padding-block:72px 64px}
.page-hero h1{
  font-family:var(--display);font-weight:500;font-size:clamp(34px,5.6vw,58px);
  line-height:1.02;letter-spacing:.01em;color:#fff;max-width:18ch;text-wrap:balance;
}
.page-lead{font-size:clamp(16px,1.6vw,18px);line-height:1.55;color:var(--muted);max-width:62ch;text-wrap:pretty}

/* ---------- generic sub-page section ---------- */
.page-section{border-top:1px solid var(--line)}
.page-section > .wrap{padding-block:72px}
.page-section--alt{background:var(--bg-2)}
.prose{display:flex;flex-direction:column;gap:16px;max-width:68ch;padding-top:26px}
.prose p{font-size:16px;line-height:1.6;color:var(--muted);text-wrap:pretty}

/* ---------- download panel ---------- */
.dl{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;padding-top:34px}
.dl-actions{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.dl-actions .btn{width:100%;max-width:420px}
.dl-mirror{font-family:var(--mono);font-size:11px;line-height:1.7;letter-spacing:.1em;color:var(--dim)}
.dl-mirror code{font-size:11px;letter-spacing:.02em;color:var(--muted-2);word-break:break-all}
.dl-mirror a{color:var(--muted-4)}
.dl-mirror a:hover{color:var(--gold)}
.dl-facts{display:flex;flex-direction:column;border:1px solid var(--line-strong);background:var(--panel)}
.dl-facts > div{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:15px 20px;border-bottom:1px solid var(--line)}
.dl-facts > div:last-child{border-bottom:0}
.dl-facts dt{font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--dim);padding-top:2px}
.dl-facts dd{font-size:15px;color:var(--fg);text-align:right}
.dl-facts dd.gold{color:var(--gold)}
.dl-facts dd.mono{font-family:var(--mono);font-size:12px;letter-spacing:.04em;word-break:break-all}

/* ---------- install steps ---------- */
.steps{display:grid;grid-template-columns:repeat(2,1fr);column-gap:64px;margin:0;padding:14px 0 0;list-style:none;counter-reset:step}
.steps li{
  display:flex;flex-direction:column;gap:8px;padding:26px 0;
  border-bottom:1px dashed var(--line);counter-increment:step;
}
.steps h3{display:flex;align-items:baseline;gap:12px;font-family:var(--display);font-weight:400;font-size:20px;letter-spacing:.05em;color:var(--fg-strong)}
.steps h3::before{
  content:counter(step,decimal-leading-zero);
  font-family:var(--mono);font-size:11px;letter-spacing:.1em;color:var(--gold);
}
.steps p{font-size:15px;line-height:1.6;color:var(--muted-2);text-wrap:pretty}
code{font-family:var(--mono);font-size:.88em;color:var(--fg-strong)}

/* ---------- notice ---------- */
.notice{
  display:flex;gap:16px;align-items:flex-start;margin-top:34px;
  padding:20px 24px;border:1px solid var(--line-strong);border-left:2px solid var(--gold);background:var(--panel);
}
.notice .notice-tag{font-family:var(--mono);font-size:11px;letter-spacing:.16em;color:var(--gold);white-space:nowrap;padding-top:2px}
.notice-body{display:flex;flex-direction:column;gap:12px;min-width:0}
.notice p{font-size:15px;line-height:1.6;color:var(--muted-2);max-width:70ch;text-wrap:pretty}

/* ---------- faq ---------- */
.faq{display:grid;grid-template-columns:repeat(2,1fr);column-gap:64px}
.faq-item{display:flex;flex-direction:column;gap:8px;padding:26px 0;border-bottom:1px dashed var(--line)}
.faq-item h3{font-family:var(--display);font-weight:400;font-size:19px;letter-spacing:.04em;color:var(--fg-strong);text-wrap:balance}
.faq-item p{font-size:15px;line-height:1.6;color:var(--muted-2);text-wrap:pretty}

/* ---------- changelog page ---------- */
.releases{display:flex;flex-direction:column}
.releases .release{border-bottom:1px solid var(--line-soft);align-items:start;padding:38px 0}
.releases .release:last-child{border-bottom:0}
.release-body{display:flex;flex-direction:column;gap:26px}
.release-body > p{font-size:16px;line-height:1.6;color:var(--muted);max-width:64ch;text-wrap:pretty}
.release-ver a{color:inherit}
.release-ver a:hover{color:var(--gold-hi)}
.release-badge{
  align-self:flex-start;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--gold);border:1px solid rgba(232,179,44,.4);padding:4px 9px;
}
.change-group{display:flex;flex-direction:column;gap:10px}
.change-group+.change-group{padding-top:12px;border-top:1px solid var(--line-soft)}
.change-group h3{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--dim);font-weight:400}
.change-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,1fr);column-gap:48px}
.change-list li{
  position:relative;padding:7px 0 7px 20px;
  font-size:15px;line-height:1.6;color:var(--muted-2);text-wrap:pretty;
}
.change-list li::before{content:"";position:absolute;left:0;top:16px;width:8px;height:1px;background:var(--gold)}
.change-list strong{color:var(--fg-strong);font-weight:600}

/* ---------- cross-links ---------- */
.next-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;padding-top:26px}
.next-card{
  display:flex;flex-direction:column;gap:10px;padding:26px 28px;
  border:1px solid var(--line-strong);background:var(--panel);
  transition:border-color .15s,background .15s;
}
.next-card:hover{border-color:var(--gold);background:#111722}
.next-card .n{font-family:var(--mono);font-size:11px;letter-spacing:.16em;color:var(--gold)}
.next-card h3{font-family:var(--display);font-weight:400;font-size:21px;letter-spacing:.05em;color:var(--fg-strong)}
.next-card p{font-size:15px;line-height:1.6;color:var(--muted-2);text-wrap:pretty}

/* ---------- homepage latest-release teaser ---------- */
.latest{display:flex;align-items:baseline;justify-content:space-between;gap:32px;flex-wrap:wrap;padding-top:28px}
.latest-copy{display:flex;flex-direction:column;gap:10px;max-width:60ch}
.latest-copy p{font-size:16px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.latest-head{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.link-more{font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}

/* ---------- announcements ---------- */
.posts{display:flex;flex-direction:column}
.post{display:grid;grid-template-columns:200px 1fr;gap:40px;padding:28px 0;border-bottom:1px solid var(--line)}
.post:last-child{border-bottom:0}
.post-meta{display:flex;flex-direction:column;gap:6px}
.post-date{font-family:var(--display);font-size:26px;letter-spacing:.06em;color:var(--gold)}
.post-tag{font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--dim)}
.post-body{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.post-body h3{font-family:var(--display);font-weight:500;font-size:24px;letter-spacing:.04em;color:var(--fg-strong)}
.post-body p{font-size:16px;line-height:1.6;color:var(--muted);max-width:64ch;text-wrap:pretty}

/* ---------- coupon code grid ---------- */
.coupons{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px;
  width:100%;margin:0;padding:0;list-style:none;
}
.coupons li{
  display:flex;align-items:center;gap:12px;
  padding:12px 14px;border:1px solid var(--line-strong);background:var(--panel);
}
.coupons .n{font-family:var(--mono);font-size:11px;letter-spacing:.1em;color:var(--gold)}
.coupons code{font-size:12px;letter-spacing:.05em;color:var(--fg-strong);word-break:break-all}

/* ---------- footer nav ---------- */
.site-footer{align-items:flex-start}
.footer-left{display:flex;flex-direction:column;gap:16px}
.footer-nav{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;letter-spacing:.04em}
.footer-nav a{color:var(--muted-3)}
.footer-nav a:hover{color:var(--fg-strong)}

/* ---------- sub-page responsive ---------- */
@media (max-width:1080px){
  .dl{grid-template-columns:1fr;gap:40px}
  .dl-actions .btn{max-width:none}
}
@media (max-width:860px){
  .page-hero .wrap{padding-block:52px 46px}
  .page-section > .wrap{padding-block:56px}
  .steps,.faq,.change-list{grid-template-columns:1fr;column-gap:0}
  .next-grid{grid-template-columns:1fr}
  .releases .release{padding:28px 0}
  .post{grid-template-columns:1fr;gap:16px;padding:22px 0}
  .latest{gap:20px}
}
@media (max-width:560px){
  .notice{flex-direction:column;gap:10px}
  .dl-facts > div{flex-direction:column;gap:6px}
  .dl-facts dd{text-align:left}
}

/* ---------- sub-page layout helpers ---------- */
.build-lists{display:flex;flex-direction:column;gap:26px;padding-top:30px}
.figure-block{margin-top:34px}
.note-line{padding-top:18px}

/* ---------- language switcher ---------- */
/* Sits outside .site-nav on purpose: that scrolls horizontally under 1080px
   and would clip the open panel.
   --lang-w lives on the header so .nav-cta can reserve room for it: under
   1080px the Download button is absolutely positioned into the same top-right
   corner, so the two have to be told about each other. */
.site-header{--lang-w:88px}
.flag-sprite{position:absolute;width:0;height:0;overflow:hidden}
.flag{width:18px;height:12px;flex:none;display:block;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.lang{position:relative;order:2;flex:0 0 auto}
.lang>summary{
  box-sizing:border-box;width:var(--lang-w);
  display:flex;align-items:center;justify-content:center;gap:8px;
  cursor:pointer;list-style:none;
  padding:8px 10px;border:1px solid var(--line-strong);
  font-family:var(--mono);font-size:11px;letter-spacing:.12em;color:var(--muted-3);
  transition:color .15s,border-color .15s;
}
.lang>summary::-webkit-details-marker{display:none}
.lang>summary::marker{content:''}
.lang>summary:hover,.lang[open]>summary{color:var(--fg-strong);border-color:var(--muted-4)}
.lang>summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.lang-chev{width:9px;height:6px;flex:none;transition:transform .15s}
.lang[open] .lang-chev{transform:rotate(180deg)}
.lang-menu{
  position:absolute;right:0;top:calc(100% + 8px);z-index:30;min-width:190px;
  display:flex;flex-direction:column;
  background:#0E1219;border:1px solid var(--line-strong);
  box-shadow:0 18px 44px rgba(0,0,0,.6);
}
.lang-menu a{
  display:flex;align-items:center;gap:11px;padding:10px 14px;
  font-size:13px;color:var(--muted-3);white-space:nowrap;
}
.lang-menu a+a{border-top:1px solid var(--line)}
.lang-menu a:hover{background:rgba(255,255,255,.06);color:var(--fg-strong)}
.lang-menu a[aria-current]{color:var(--gold)}
/* Each row is written in its own language: on a CJK page the Cyrillic row
   would otherwise land on a CJK face and render at near full width. Now
   that Cyrillic is vendored, naming the family is enough. */
.lang-menu a[lang="ru"]{font-family:'IBM Plex Sans',system-ui,sans-serif}
@media (max-width:1080px){
  /* pin the switcher to the corner and slide the Download button clear of it */
  .lang{position:absolute;top:var(--hpad);right:var(--pad);order:0}
  .nav-cta{right:calc(var(--pad) + var(--lang-w) + 12px)}
}
@media (max-width:560px){
  .site-header{--lang-w:58px}
  .lang>summary{padding:8px 9px;gap:6px}
  .lang-code{display:none}
}

/* ---------- tap targets ----------
   Nav links are 12-13px text with no padding, giving a touch area well under
   the 44px guideline. Padding enlarges the hit box and the matching negative
   margin cancels it in layout, so nothing moves. */
.site-nav a,.footer-nav a{padding-block:13px;margin-block:-13px}
.lang-menu a{padding-block:12px}
