:root {
  color-scheme: light;
  --canvas: #f4f5f0;
  --surface: #fcfcf8;
  --text: #202923;
  --muted: #657068;
  --line: #d7ddd4;
  --accent: #2e654d;
  --accent-hover: #204c39;
  --accent-soft: #e4ebe1;
  --on-accent: #ffffff;
  --dark-section: #202b24;
  --on-dark: #edf0e7;
  --paper: #fffdf7;
  --paper-text: #26332b;
  --paper-shadow: #dce1d6;
  --danger: #984b3e;
  --shell: 1400px;
  --gutter: clamp(24px, 4.5vw, 64px);
  --heading: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #171d19;
  --surface: #222923;
  --text: #e9ede4;
  --muted: #a7b1a7;
  --line: #3c473e;
  --accent: #b4d1ac;
  --accent-hover: #d0e4c9;
  --accent-soft: #2d3b30;
  --on-accent: #17251b;
  --dark-section: #111812;
  --on-dark: #edf0e7;
  --paper: #f5f3e9;
  --paper-text: #26332b;
  --paper-shadow: #0d130f;
  --danger: #e0a18e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--canvas);
  font-family: var(--heading);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, summary, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
p, h1, h2, h3, h4 { margin-top: 0; }
code { font-family: var(--mono); font-size: .88em; padding: .12em .35em; background: var(--accent-soft); border-radius: 3px; overflow-wrap: anywhere; }
::selection { color: var(--text); background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.region { padding: clamp(82px, 9vw, 136px) 0; scroll-margin-top: 20px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; color: var(--on-accent); background: var(--accent); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.sister-bar { background: var(--accent-soft); border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; }
.sister-bar .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-block: 9px; }
.sister-bar a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.live-dot, .status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; background: var(--accent); border-radius: 50%; }
.chapter { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(44px, 5vw, 76px); padding-top: 16px; color: var(--muted); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: .11em; }
.chapter span:last-child { font-family: var(--heading); letter-spacing: .03em; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: clamp(48px, 5.5vw, 76px); }
.section-heading h2, .open-grid h2, .faq-intro h2 { margin-bottom: 0; font-size: clamp(36px, 4.5vw, 62px); font-weight: 450; line-height: 1.17; letter-spacing: -.05em; }
h2 em, h1 em { color: var(--accent); font-style: normal; }
.section-heading > p { max-width: 410px; margin-bottom: 3px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-size: 14px; font-weight: 550; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 18px; height: 18px; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 11px; padding: 13px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background-color .18s, border-color .18s, color .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.button-copy small { font-size: 11px; font-weight: 400; line-height: 1.45; opacity: .86; }
.button-primary { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-secondary { color: var(--text); background: transparent; border-color: var(--line); }
.button-secondary:hover { background: var(--surface); border-color: var(--muted); }

.site-header { position: relative; z-index: 50; background: var(--canvas); border-bottom: 1px solid var(--line); }
.site-header > .shell { display: flex; min-height: 88px; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.brand-name { font-size: 18px; font-weight: 650; line-height: 1; letter-spacing: -.035em; }
.brand-edition { margin-left: 5px; padding-left: 14px; color: var(--muted); border-left: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: .15em; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.site-nav a { position: relative; color: var(--muted); font-size: 13px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 1px; background: var(--accent); content: ""; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.github-link { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; line-height: 1.5; }
.github-link:hover { background: var(--surface); }
.github-link .icon { width: 16px; height: 16px; }
.language-switch { display: inline-flex; min-height: 36px; align-items: center; padding: 5px 9px; color: var(--accent); border: 1px solid var(--line); border-radius: 3px; font-size: 12px; white-space: nowrap; }
.language-switch:hover { background: var(--accent-soft); }
.theme-select { width: 84px; height: 34px; padding: 0 4px; color: var(--muted); background: transparent; border: 0; border-radius: 2px; font-size: 11px; cursor: pointer; }
.theme-select option { color: var(--text); background: var(--surface); }
.menu-toggle { display: none; width: 38px; height: 38px; place-items: center; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 17px; height: 1px; background: currentColor; transition: transform .18s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { position: absolute; left: 0; content: ""; }
.menu-lines::before { top: -5px; }
.menu-lines::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }

.hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(56px, 6.5vw, 96px) 0 0; }
.hero::before { position: absolute; top: 12%; right: -8%; z-index: -1; width: 48%; height: 68%; background: radial-gradient(ellipse, var(--accent-soft), transparent 70%); opacity: .65; content: ""; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); align-items: center; gap: clamp(34px, 5vw, 72px); }
.hero-copy { padding-bottom: 28px; }
.hero h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(46px, 5.6vw, 80px); font-weight: 450; line-height: 1.1; letter-spacing: -.055em; }
.hero-lead { max-width: 560px; margin-bottom: 30px; color: var(--muted); font-size: clamp(15px, 1.3vw, 17.5px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.hero-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hero-visual { position: relative; min-width: 0; padding: 18px 0 56px 14px; }
.visual-index { position: absolute; top: -4px; right: 0; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.software-figure { position: relative; z-index: 1; margin: 0; padding: 12px; background: #fdfefb; border: 1px solid #c9d0c6; box-shadow: 12px 14px 0 var(--paper-shadow); transform: rotate(1.1deg); }
.software-figure::before, .software-figure::after { position: absolute; z-index: -1; background: var(--surface); border: 1px solid var(--line); content: ""; inset: 0; }
.software-figure::before { transform: rotate(-2.6deg) translate(-6px, 3px); }
.software-figure::after { transform: rotate(2.8deg) translate(7px, 1px); }
.software-topbar { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 10px; color: #5f6b62; font-family: var(--mono); font-size: 8.5px; letter-spacing: .11em; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 5px; height: 5px; background: #a9b4a8; border-radius: 50%; }
.software-figure > img { width: 100%; height: auto; border: 1px solid #e4e8e4; }
.software-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px 2px; color: #36463b; font-size: 10.5px; line-height: 1.5; }
.software-figure figcaption > span { display: flex; align-items: center; gap: 7px; }
.software-figure figcaption small { color: #758078; font-size: 9.5px; }
.signal-note { position: absolute; bottom: 0; left: -8px; z-index: 2; display: flex; align-items: center; gap: 14px; color: var(--accent); }
.signal-note svg { width: 72px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.signal-note span { font-family: var(--mono); font-size: 8.5px; line-height: 1.7; letter-spacing: .09em; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 24px; margin-top: clamp(44px, 5vw, 72px); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip > div { display: flex; align-items: flex-start; gap: 14px; }
.proof-number { padding-top: 3px; color: var(--accent); font-family: var(--mono); font-size: 10px; font-weight: 600; }
.proof-strip p { margin: 0; line-height: 1.5; }
.proof-strip strong { display: block; font-size: 13.5px; font-weight: 600; }
.proof-strip small { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; }
.proof-strip > a { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12.5px; font-weight: 600; }

.signal-flow { display: grid; grid-template-columns: 1fr 90px 1fr 90px 1fr; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-node { text-align: center; padding-inline: 10px; }
.flow-icon { display: grid; width: 62px; height: 62px; place-items: center; margin: 0 auto 20px; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; }
.flow-icon .icon { width: 25px; height: 25px; }
.flow-node-emphasis .flow-icon { background: var(--accent-soft); border-color: var(--accent); }
.flow-index { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.flow-node h3 { margin: 8px 0 10px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.flow-node p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.flow-connector { position: relative; color: var(--accent); }
.flow-connector svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.1; }
.flow-connector small { position: absolute; top: 22px; width: 100%; color: var(--muted); font-size: 9.5px; text-align: center; white-space: nowrap; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); }
.principles article { padding: 32px 30px 0 0; }
.principles article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.principles article > span { color: var(--accent); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; }
.principles h3 { margin: 10px 0; font-size: 17px; font-weight: 600; }
.principles p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

.methods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.method-card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); }
.method-card-primary { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.method-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 2px; font-family: var(--mono); font-size: 10px; font-weight: 600; }
.badge-recommended { color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent); }
.badge-neutral { color: var(--muted); border: 1px solid var(--line); }
.method-card h3 { margin-bottom: 8px; font-size: clamp(22px, 2.3vw, 29px); font-weight: 500; letter-spacing: -.03em; }
.method-sub { margin-bottom: 14px; color: var(--accent); font-family: var(--mono); font-size: 11.5px; }
.method-card p { color: var(--muted); font-size: 13.5px; line-height: 1.85; }
.method-card ul { margin: 8px 0 22px; padding-left: 18px; color: var(--text); font-size: 13px; line-height: 1.8; }
.method-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.journey-region { --accent: #b4d1ac; --muted: #aab5aa; --line: #425047; color: var(--on-dark); background: var(--dark-section); }
.journey-region .chapter, .journey-region .section-heading > p { color: var(--muted); }
.journey-region code { background: #2d3b30; color: #e9ede4; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); background: #19221c; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.75; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table th { color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: #141c17; }
.compare-table td:first-child { font-weight: 600; color: var(--on-dark); white-space: nowrap; }
.compare-table td:nth-child(2) { color: var(--muted); }
.compare-table td:nth-child(3) { color: var(--on-dark); }
.compare-note { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }

.compatibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.device-card { min-width: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.device-card-top { display: flex; min-height: 54px; align-items: flex-start; justify-content: space-between; gap: 12px; }
.device-code { font-size: clamp(32px, 3.2vw, 46px); font-weight: 420; line-height: 1.05; letter-spacing: -.05em; }
.status { display: inline-block; padding: 3px 8px; border: 1px solid currentColor; border-radius: 2px; font-size: 10px; line-height: 1.5; white-space: nowrap; }
.status-verified { color: var(--accent); background: var(--accent-soft); }
.status-experimental { color: #8b671f; }
html[data-theme="dark"] .status-experimental { color: #d9bc78; }
.device-card h3 { margin: 18px 0 10px; font-size: 18px; font-weight: 550; }
.device-card > p { margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.device-card dl { margin: 0; border-top: 1px solid var(--line); }
.device-card dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.device-card dt { color: var(--muted); font-size: 10px; }
.device-card dd { margin: 3px 0 0; font-size: 12.5px; }

.risk-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 36px; padding: 22px 24px; background: var(--accent-soft); border-left: 3px solid var(--accent); }
.risk-banner > .icon { width: 26px; height: 26px; color: var(--accent); }
.risk-banner p { margin: 0; font-size: 13px; line-height: 1.8; }
.risk-banner p strong { display: block; margin-bottom: 2px; }
.risk-banner > a { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 13px; font-weight: 600; white-space: nowrap; }

.download-region { background: var(--surface); }
.release-summary { min-width: 220px; }
.release-summary p { margin-bottom: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.release-summary strong { color: var(--text); font-family: var(--mono); font-size: 13.5px; font-weight: 600; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.download-card { min-width: 0; padding: clamp(28px, 3.2vw, 44px); background: var(--canvas); border: 1px solid var(--line); display: flex; flex-direction: column; }
.platform-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: var(--muted); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; }
.platform-icon { width: 26px; height: 26px; color: var(--text); }
.download-card h3 { margin-bottom: 6px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 450; line-height: 1.2; letter-spacing: -.045em; }
.platform-spec { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; color: var(--accent); font-family: var(--mono); font-size: 11.5px; }
.download-card > p:not(.platform-spec) { color: var(--muted); font-size: 13px; line-height: 1.85; }
.download-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: auto; padding-top: 22px; }
.checksum-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; text-decoration: underline; text-underline-offset: 4px; }
.checksum-link:hover { color: var(--accent); }
.checksum-link .icon { width: 13px; height: 13px; }
.package-note { display: block; margin-top: 22px; padding-top: 16px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; line-height: 1.75; }
.source-download { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.source-download p { margin: 0; color: var(--muted); font-size: 12.5px; }
.source-download p strong { margin-right: 8px; color: var(--text); font-weight: 600; }
.source-download > div { display: flex; flex-wrap: wrap; gap: 16px; }
.source-download a { color: var(--accent); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.mirror-note { margin: 1.5rem 0 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.mirror-note p + p { margin-top: .7rem; }
.mirror-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.open-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
.open-grid p { margin: 22px 0 0; color: var(--muted); font-size: 14.5px; }
.star-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.star-actions .button { min-width: 225px; }
.open-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.open-facts > span, .open-facts > a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.open-facts .icon { width: 15px; height: 15px; color: var(--accent); }
.open-facts > a { margin-left: auto; color: var(--accent); font-weight: 600; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(44px, 7vw, 110px); }
.faq-intro p { margin: 24px 0 28px; color: var(--muted); font-size: 13.5px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 40px 22px 0; font-size: 15px; font-weight: 550; line-height: 1.6; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before, .faq-list summary span::after { position: absolute; top: 34px; right: 3px; width: 14px; height: 1px; background: var(--accent); content: ""; transition: transform .18s; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { margin: -4px 32px 22px 0; color: var(--muted); font-size: 13.5px; line-height: 1.9; }

.footer { padding: 52px 0 28px; background: var(--canvas); border-top: 1px solid var(--line); }
.footer > .shell { display: grid; grid-template-columns: 1fr auto; gap: 36px; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px; }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; }
.footer-links a:hover { color: var(--accent); }
.footer-links .icon { width: 13px; height: 13px; }
.footer-bottom { display: flex; grid-column: 1 / -1; justify-content: space-between; gap: 24px; padding-top: 22px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }

@media (max-width: 1100px) {
  .brand-edition { display: none; }
  .site-header > .shell { min-height: 78px; }
  .site-nav { position: absolute; top: 100%; right: var(--gutter); left: var(--gutter); display: none; gap: 0; margin: 0; padding: 14px 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 28px #00000018; }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .hero-grid, .methods-grid, .compatibility-grid, .download-grid, .open-grid, .faq-layout { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .signal-flow { grid-template-columns: 1fr; gap: 18px; }
  .flow-connector { width: 60px; height: 56px; margin: 0 auto; }
  .flow-connector svg { width: 28px; height: 48px; margin: 0 auto; transform: rotate(90deg); }
  .flow-connector small { display: none; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principles article:last-child { border-bottom: 0; }
  .proof-strip { grid-template-columns: 1fr; }
  .source-download { flex-direction: column; align-items: flex-start; }
  .risk-banner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .region { padding: 72px 0; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button, .download-actions .button { width: 100%; }
  .footer > .shell { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

html:lang(en) .hero h1 { font-size: clamp(40px, 5vw, 70px); letter-spacing: -.04em; }
html:lang(en) .section-heading h2 { font-size: clamp(32px, 4.1vw, 56px); letter-spacing: -.035em; }
