/* ==========================================================================
   yacr landing — blueprint editorial
   Plain CSS. System fonts only. No external requests.
   ========================================================================== */

:root {
  --ink: #08151d;
  --ink-2: #0c2029;
  --navy: #253f4c;
  --cyan: #86def1;
  --cyan-2: #64b6ce;
  --cyan-deep: #0b6c80;
  --orange: #ff9b58;
  --orange-deep: #bd551c;
  --paper: #f3f0e8;
  --paper-2: #fbf9f4;
  --white: #fffdf8;
  --text: #12242c;
  --muted: #56666d;
  --line: rgba(8, 21, 29, 0.14);
  --line-strong: rgba(8, 21, 29, 0.28);
  --line-dark: rgba(134, 222, 241, 0.2);
  --line-dark-strong: rgba(134, 222, 241, 0.38);
  --shadow: 0 18px 50px rgba(8, 21, 29, 0.08);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.72, 0.24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cyan); color: var(--ink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

strong { font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.section--download :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--cyan);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

/* Language visibility ---------------------------------------------------- */
.lang--en { display: none !important; }
html[data-lang="en"] .lang--zh { display: none !important; }
html[data-lang="en"] .lang--en { display: inline !important; }

/* Layout ----------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

.section {
  position: relative;
  padding-block: clamp(70px, 9vw, 136px);
  border-bottom: 1px solid var(--line);
}

.section--features,
.section--platforms { background: var(--paper-2); }

.section--arch,
.section--flow,
.section--faq { background: var(--paper); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--paper);
  background: rgba(8, 21, 29, 0.9);
  border-bottom: 1px solid rgba(134, 222, 241, 0.16);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.site-header.is-scrolled {
  background: rgba(8, 21, 29, 0.97);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 1440px;
  min-height: 76px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(134, 222, 241, 0.28), 0 8px 22px rgba(0, 0, 0, 0.35);
}
.brand-lockup { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.brand-meta {
  margin-top: 5px;
  color: rgba(243, 240, 232, 0.48);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.8vw, 27px);
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: rgba(243, 240, 232, 0.68);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.nav-link:hover,
.nav-link[aria-current="true"] { color: var(--paper); }
.nav-link:hover::after,
.nav-link[aria-current="true"]::after { transform: scaleX(1); }
.nav-link--ext { color: rgba(243, 240, 232, 0.82); }

.ext {
  display: inline-block;
  margin-left: 0.24em;
  font-family: var(--mono);
  font-size: 0.78em;
  color: var(--orange);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 4px;
  border: 1px solid rgba(134, 222, 241, 0.24);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
}
.lang-switch button {
  min-width: 27px;
  padding: 5px 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(243, 240, 232, 0.62);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch button:hover { color: var(--paper); }
.lang-switch button[aria-pressed="true"] { background: var(--cyan); color: var(--ink); }
.lang-sep { color: rgba(243, 240, 232, 0.28); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(134, 222, 241, 0.28);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle-box { display: block; width: 18px; }
.nav-toggle-box span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--nav {
  min-height: 38px;
  padding: 0 14px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 0.82rem;
}
.btn--nav:hover { background: #a6ebf8; }
.btn--primary { background: var(--cyan); color: var(--ink); }
.btn--primary:hover { background: #a6ebf8; }
.btn--ghost {
  border-color: rgba(134, 222, 241, 0.34);
  color: var(--paper);
  background: rgba(134, 222, 241, 0.03);
}
.btn--ghost:hover { border-color: var(--cyan); background: rgba(134, 222, 241, 0.09); }
.btn--text {
  padding-inline: 8px;
  color: rgba(243, 240, 232, 0.74);
}
.btn--text:hover { color: var(--cyan); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(1100px 620px at 82% 4%, rgba(100, 182, 206, 0.17), transparent 62%),
    radial-gradient(760px 520px at 4% 92%, rgba(255, 155, 88, 0.07), transparent 64%),
    var(--ink);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(134, 222, 241, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(134, 222, 241, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.hero .wrap { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 5vw, 78px);
  min-height: min(760px, calc(100svh - 76px));
  padding-block: clamp(52px, 7vw, 92px) clamp(42px, 5vw, 66px);
}

.hero-copy { min-width: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 155, 88, 0.12);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.6rem, 5.8vw, 5.2rem);
  font-weight: 680;
  line-height: 0.94;
  letter-spacing: -0.052em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--cyan); }

.hero-cn {
  margin-top: 18px;
  color: rgba(243, 240, 232, 0.88);
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-lead {
  max-width: 57ch;
  margin-top: 17px;
  color: rgba(243, 240, 232, 0.7);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 640px;
  margin-top: 30px;
  padding: 15px 18px 15px 16px;
  border: 1px solid rgba(255, 155, 88, 0.32);
  border-left: 2px solid var(--orange);
  background: linear-gradient(90deg, rgba(255, 155, 88, 0.1), rgba(255, 155, 88, 0.02));
  color: rgba(243, 240, 232, 0.78);
  font-size: 0.86rem;
  line-height: 1.7;
}
.hero-notice strong { color: var(--paper); }
.notice-label {
  padding-top: 1px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.35;
  letter-spacing: 0.14em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 34px;
}

.hero-figure {
  position: relative;
  width: min(100%, 610px);
  justify-self: end;
  margin: 0;
}
.figure-plate {
  position: relative;
  background: #07131a;
  box-shadow: var(--shadow), 0 0 0 1px rgba(134, 222, 241, 0.18);
}
.figure-plate::before {
  content: "";
  position: absolute;
  inset: 16px -13px -13px 16px;
  z-index: -1;
  border: 1px solid rgba(134, 222, 241, 0.14);
  background: rgba(134, 222, 241, 0.018);
}
.blueprint { width: 100%; height: auto; }

.figure-stamp {
  position: absolute;
  top: 18px;
  right: -17px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 155, 88, 0.7);
  background: rgba(8, 21, 29, 0.92);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-align: center;
  transform: rotate(4deg);
}

.hero-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 14px;
  color: rgba(134, 222, 241, 0.48);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fig-meta { color: rgba(255, 155, 88, 0.68); }

.stat-band {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(134, 222, 241, 0.16);
  background: rgba(4, 13, 18, 0.4);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 24px 26px 26px;
  border-left: 1px solid rgba(134, 222, 241, 0.13);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-value {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat-slash,
.stat-plus {
  color: rgba(134, 222, 241, 0.38);
  margin-inline: 0.18em;
  font-weight: 400;
}
.stat-label {
  margin-top: 9px;
  color: rgba(243, 240, 232, 0.75);
  font-size: 0.82rem;
  line-height: 1.5;
}
.stat-note {
  margin-top: 6px;
  color: rgba(243, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Section heads ---------------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-bottom: clamp(38px, 5vw, 68px);
}
.section-index {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.section-index .idx { color: var(--orange-deep); font-weight: 700; }
.section-index .rule { width: 42px; height: 1px; background: var(--line-strong); }

.display {
  grid-column: 1 / span 7;
  margin-top: 20px;
  font-size: clamp(2.18rem, 4.7vw, 4.2rem);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.display .lang--zh { letter-spacing: -0.025em; }

.section-head .lead {
  grid-column: 8 / span 5;
  align-self: end;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

.section--download .section-index { color: rgba(243, 240, 232, 0.5); }
.section--download .section-index .idx { color: var(--orange); }
.section--download .section-index .rule { background: rgba(134, 222, 241, 0.3); }
.section--download .display { color: var(--paper); }
.section--download .lead { color: rgba(243, 240, 232, 0.68); }

/* Architecture ----------------------------------------------------------- */
.arch-diagram {
  position: relative;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(to right, rgba(8, 21, 29, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8, 21, 29, 0.035) 1px, transparent 1px),
    var(--paper-2);
  background-size: 40px 40px;
}

.arch-strip {
  display: grid;
  grid-template-columns: 1.24fr 1fr 1fr 1.3fr;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
}
.arch-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 158px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}
.arch-node--core {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.arch-node--surface { background: transparent; border-style: dashed; }
.node-tag {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
}
.arch-node--core .node-tag { color: var(--cyan); }
.node-title {
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.node-items {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}
.node-items code {
  padding: 4px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
}
.arch-node--core .node-items code {
  border-color: rgba(134, 222, 241, 0.3);
  color: var(--cyan);
}
.arch-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(18px, 2.4vw, 34px) * -1);
  width: clamp(18px, 2.4vw, 34px);
  height: 1px;
  background: var(--line-strong);
}
.arch-node:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  right: calc(clamp(18px, 2.4vw, 34px) * -1);
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  transform: rotate(45deg);
}

.micro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(28px, 4vw, 44px);
}
.micro-card { padding-top: 17px; border-top: 2px solid var(--ink); }
.micro-card:nth-child(2) { border-top-color: var(--cyan-2); }
.micro-card:nth-child(3) { border-top-color: var(--orange); }
.micro-num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}
.micro-card h3 { margin-top: 6px; font-size: 1.03rem; letter-spacing: -0.015em; }
.micro-card p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.ownership {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
}
.ownership-cell { padding: clamp(20px, 2.6vw, 30px); }
.ownership-cell + .ownership-cell { border-left: 1px solid var(--line); }
.tag {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag--cyan { border-color: rgba(11, 108, 128, 0.4); color: var(--cyan-deep); }
.ownership-mode {
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}
.ownership-text {
  margin-top: 10px;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.72;
}
.ownership-note {
  grid-column: 1 / -1;
  padding: 15px clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
  background: rgba(255, 155, 88, 0.07);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.7;
}
.ownership-note strong { color: var(--orange-deep); }

/* Features --------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.feature-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 290px;
  padding: clamp(21px, 2.4vw, 32px);
  background: var(--paper-2);
  transition: background 0.25s var(--ease);
}
.feature-card--narrow { grid-column: span 3; }
.feature-card--wide { grid-column: span 6; }
.feature-card:hover { background: var(--white); }

.feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.feature-num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}
.feature-icon {
  width: 29px;
  height: 29px;
  color: var(--cyan-deep);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.022em;
}
.feature-card h3 .lang--zh { letter-spacing: -0.01em; }
.feature-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 22px;
}
.chips span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.coverage { margin-top: auto; padding-top: 20px; }
.coverage-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.coverage-big {
  font-family: var(--mono);
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.coverage-of {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 1rem;
}
.coverage-scale {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  text-align: right;
}
.coverage-bar {
  display: flex;
  width: 100%;
  height: 16px;
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 21, 29, 0.03);
}
.seg { display: block; height: 100%; }
.seg--full { width: 5.096%; background: var(--cyan-deep); }
.seg--partial {
  width: 17.635%;
  background: repeating-linear-gradient(135deg, var(--cyan-2) 0 2px, rgba(100, 182, 206, 0.22) 2px 5px);
}
.seg--none {
  width: 77.269%;
  background: repeating-linear-gradient(90deg, rgba(8, 21, 29, 0.17) 0 1px, transparent 1px 9px);
}
.coverage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 12px;
  list-style: none;
  color: var(--muted);
  font-size: 0.78rem;
}
.coverage-legend li { display: inline-flex; align-items: center; gap: 6px; }
.coverage-legend strong { color: var(--text); font-family: var(--mono); font-size: 0.8rem; }
.swatch { width: 8px; height: 8px; flex: 0 0 8px; }
.swatch--full { background: var(--cyan-deep); }
.swatch--partial { background: repeating-linear-gradient(135deg, var(--cyan-2) 0 2px, transparent 2px 4px); }
.swatch--none { border: 1px solid var(--line-strong); }

.tree-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tree-root {
  grid-column: 1 / -1;
  color: var(--cyan-deep);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.tree-leaf {
  padding: 6px 3px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.3;
  text-align: center;
}

/* Workflow --------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  list-style: none;
}
.flow-step {
  position: relative;
  padding: 28px 24px 8px 0;
  border-right: 1px solid var(--line);
}
.flow-step:last-child { border-right: 0; padding-right: 0; }
.flow-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.flow-num {
  display: block;
  color: rgba(8, 21, 29, 0.15);
  font-family: var(--mono);
  font-size: clamp(2.7rem, 3.8vw, 3.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.07em;
}
.flow-step h3 {
  margin-top: 14px;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.flow-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}
.flow-tag {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}
.flow-warning {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(189, 85, 28, 0.38);
  background: rgba(255, 155, 88, 0.1);
  color: var(--orange-deep);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.4;
}

/* Platforms -------------------------------------------------------------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.platform {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(21px, 2.4vw, 30px);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.platform--wide { grid-column: span 6; }
.platform:hover { border-color: var(--line-strong); }
.platform--linux {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.platform--web {
  background: linear-gradient(155deg, rgba(134, 222, 241, 0.17), transparent 64%), var(--white);
}
.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.platform-code {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status--live { color: var(--cyan-deep); background: rgba(100, 182, 206, 0.1); }
.status--build { color: var(--orange-deep); background: rgba(255, 155, 88, 0.1); }
.status--preview { color: var(--cyan-deep); background: rgba(100, 182, 206, 0.1); }

.platform h3 {
  margin-top: 18px;
  font-size: clamp(1.4rem, 2vw, 1.72rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}
.platform-mode {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.platform-desc {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}
.platform-evidence {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.6;
}
.platform-evidence li { display: flex; flex-wrap: wrap; gap: 4px 7px; }
.ev-label {
  color: var(--text);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.platform-evidence a { color: var(--cyan-deep); text-underline-offset: 3px; }

.platform--linux .platform-code,
.platform--linux .platform-mode,
.platform--linux .platform-desc,
.platform--linux .platform-evidence { color: rgba(243, 240, 232, 0.6); }
.platform--linux .platform-evidence { border-top-color: rgba(134, 222, 241, 0.16); }
.platform--linux .ev-label { color: var(--cyan); }
.platform--linux .status--live {
  color: var(--cyan);
  background: rgba(134, 222, 241, 0.08);
  border-color: rgba(134, 222, 241, 0.38);
}
.platform--linux code { color: var(--cyan); }
.platform--web code { color: var(--cyan-deep); }

/* Download --------------------------------------------------------------- */
.section--download {
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(900px 520px at 92% 0%, rgba(100, 182, 206, 0.14), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 155, 88, 0.06), transparent 62%),
    var(--ink);
  border-bottom: 1px solid rgba(134, 222, 241, 0.16);
}
.section--download::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(134, 222, 241, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(134, 222, 241, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}
.section--download .wrap { position: relative; z-index: 1; }

.download-note {
  display: flex;
  gap: 15px;
  align-items: stretch;
  max-width: 920px;
  margin-top: 4px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 155, 88, 0.22);
  background: rgba(255, 155, 88, 0.06);
  color: rgba(243, 240, 232, 0.72);
  font-size: 0.88rem;
  line-height: 1.7;
}
.note-rule { flex: 0 0 2px; background: var(--orange); }

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 30px 0 18px;
  padding-block: 11px;
  border-block: 1px solid rgba(134, 222, 241, 0.14);
  color: rgba(134, 222, 241, 0.52);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 31px);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.dl-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 19px;
  height: 19px;
  border-top: 1px solid var(--cyan-2);
  border-left: 1px solid var(--cyan-2);
}
.dl-card:hover {
  border-color: rgba(134, 222, 241, 0.42);
  background: rgba(134, 222, 241, 0.035);
}
.dl-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dl-head h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.03em; }
.dl-format {
  padding: 4px 7px;
  border: 1px solid rgba(134, 222, 241, 0.32);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}
.dl-file { margin-top: 12px; color: rgba(243, 240, 232, 0.84); font-family: var(--mono); font-size: 11.5px; line-height: 1.55; overflow-wrap: anywhere; }
.dl-file code { color: inherit; font-size: inherit; }
.dl-size {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin-top: 7px;
  color: rgba(243, 240, 232, 0.45);
  font-family: var(--mono);
  font-size: 9.5px;
}
.dl-size strong { color: var(--paper); font-size: 0.88rem; font-weight: 600; }
.dl-notes {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  list-style: none;
  color: rgba(243, 240, 232, 0.68);
  font-size: 0.84rem;
  line-height: 1.62;
}
.dl-notes li { position: relative; padding-left: 15px; }
.dl-notes li::before { content: "—"; position: absolute; left: 0; color: var(--cyan-2); }
.dl-notes code { color: var(--cyan); }
.dl-notes strong { color: var(--paper); }

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
}
.btn--download {
  min-height: 44px;
  padding: 0 15px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 0.84rem;
}
.btn--download:hover { background: #a6ebf8; }
.cdn-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 5px;
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.dl-link {
  color: rgba(243, 240, 232, 0.62);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-underline-offset: 3px;
  text-decoration-color: rgba(134, 222, 241, 0.35);
  transition: color 0.2s var(--ease);
}
.dl-link:hover { color: var(--cyan); }

.cmd-stack { display: grid; gap: 7px; margin-top: 15px; }
.cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 9px 9px 11px;
  border: 1px solid rgba(134, 222, 241, 0.16);
  background: rgba(0, 0, 0, 0.24);
}
.cmd code {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(243, 240, 232, 0.76);
  font-size: 10px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.cmd:has(> code:only-child) { min-height: 41px; }
.copy-btn {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 5px 7px;
  border: 1px solid rgba(134, 222, 241, 0.24);
  background: transparent;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.copy-btn:hover { background: rgba(134, 222, 241, 0.09); border-color: var(--cyan-2); }
.copy-btn::after { content: attr(data-copied-zh); display: none; }
html[data-lang="en"] .copy-btn::after { content: attr(data-copied-en) !important; }
.copy-btn.is-copied .copy-label { display: none; }
.copy-btn.is-copied::after { display: inline; }
.copy-helper {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dl-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 22px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(134, 222, 241, 0.16);
  color: rgba(243, 240, 232, 0.5);
  font-size: 0.82rem;
}
.dl-extra a { color: var(--cyan); text-underline-offset: 3px; }
.dl-extra-note {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

/* FAQ -------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.faq-head {
  grid-column: 1 / span 4;
  align-self: start;
  position: sticky;
  top: 110px;
}
.faq-head .display {
  margin-top: 20px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
}
.faq-head .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  margin-top: 24px;
  color: var(--cyan-deep);
  font-size: 0.86rem;
  font-weight: 600;
  text-underline-offset: 4px;
}

.faq-list {
  grid-column: 5 / span 8;
  border-top: 1px solid var(--line-strong);
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q { min-width: 0; }
.faq-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--orange-deep);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.faq-icon::before { width: 13px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 13px; transform: translate(-50%, -50%); }
.faq-list details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-width: 68ch;
  padding: 0 40px 23px 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.78;
  animation: faqIn 0.22s var(--ease);
}
.faq-a code { color: var(--text); }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(48px, 6vw, 78px) 28px;
  color: var(--paper);
  background: #050f14;
  border-top: 1px solid rgba(134, 222, 241, 0.14);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: clamp(30px, 5vw, 72px);
}
.brand--footer img { width: 36px; height: 36px; }
.footer-tagline {
  margin-top: 17px;
  color: rgba(243, 240, 232, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.footer-license {
  margin-top: 6px;
  color: rgba(243, 240, 232, 0.44);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.footer-license a { color: var(--cyan); text-underline-offset: 3px; }
.footer-heading {
  color: rgba(134, 222, 241, 0.48);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-col ul {
  display: grid;
  gap: 9px;
  margin-top: 15px;
  list-style: none;
}
.footer-col a,
.footer-status {
  color: rgba(243, 240, 232, 0.7);
  font-size: 0.87rem;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--cyan); }
.footer-status { display: inline-flex; align-items: flex-start; gap: 8px; }
.status-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 0.48em;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 155, 88, 0.1);
}

.footer-honest {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 40px;
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 20px;
  border-top: 1px solid rgba(134, 222, 241, 0.12);
  color: rgba(243, 240, 232, 0.42);
  font-size: 0.8rem;
  line-height: 1.7;
}
.footer-honest p { max-width: 860px; }
.footer-honest strong { color: rgba(243, 240, 232, 0.68); }
.footer-honest code { color: rgba(134, 222, 241, 0.65); }
.footer-meta {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  color: rgba(243, 240, 232, 0.3) !important;
}

/* Motion ----------------------------------------------------------------- */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.07s; }
.reveal--d2 { transition-delay: 0.14s; }
.reveal--d3 { transition-delay: 0.21s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroPlate {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: heroRise 0.75s var(--ease) both; }
  .hero-copy > :nth-child(1) { animation-delay: 0.04s; }
  .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.22s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.28s; }
  .hero-copy > :nth-child(6) { animation-delay: 0.34s; }
  .hero-figure { animation: heroPlate 0.95s var(--ease) 0.2s both; }
  .pulse-dot { animation: pulse 3.2s ease-in-out infinite; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 155, 88, 0.1); }
  50% { box-shadow: 0 0 0 7px rgba(255, 155, 88, 0.04); }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .site-nav { gap: 13px; }
  .brand-meta { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); }
  .hero h1 { font-size: clamp(2.7rem, 5.5vw, 4.6rem); }
  .arch-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch-node { min-height: 140px; }
  .arch-node:not(:last-child)::after,
  .arch-node:not(:last-child)::before { display: none; }
  .feature-card,
  .feature-card--narrow,
  .feature-card--wide { grid-column: span 6; }
  .platform { grid-column: span 6; }
  .platform--wide { grid-column: span 6; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { max-width: 720px; }
  .hero-figure { justify-self: start; width: min(100%, 590px); margin-top: 10px; }
  .figure-plate::before { inset: 12px -8px -8px 12px; }
  .section-head { display: block; }
  .section-head .lead { max-width: 58ch; margin-top: 20px; padding: 0; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(3),
  .flow-step:nth-child(4) { border-bottom: 0; }
  .faq-layout { display: block; }
  .faq-head { position: static; max-width: 620px; margin-bottom: 34px; }
  .faq-head .lead { max-width: 52ch; }
  .faq-list { border-top-color: var(--line-strong); }
}

@media (max-width: 900px) {
  .nav-shell { min-height: 68px; gap: 12px; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - 68px);
    padding: 6px clamp(20px, 4vw, 34px) 24px;
    overflow-y: auto;
    background: #08151d;
    border-bottom: 1px solid rgba(134, 222, 241, 0.22);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.32);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(134, 222, 241, 0.12);
    font-size: 0.98rem;
  }
  .nav-link::after { display: none; }
  .lang-switch { align-self: flex-start; margin-top: 18px; }
  .site-nav .btn--nav { margin-top: 14px; min-height: 46px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 820px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 20px 18px; border-top: 1px solid rgba(134, 222, 241, 0.13); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-right: 0; }
  .stat:nth-child(-n + 2) { border-top: 0; }
  .download-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .section { padding-block: 64px; }
  .wrap { padding-inline: 20px; }
  .hero-inner { padding-block: 48px 42px; }
  .hero h1 { font-size: clamp(2.45rem, 10.6vw, 3.5rem); }
  .hero-lead { font-size: 0.95rem; }
  .hero-actions { gap: 10px; }
  .stat-value { font-size: 1.55rem; }
  .display { font-size: clamp(2rem, 8.5vw, 3rem); }
  .arch-diagram { padding: 16px; }
  .arch-strip { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .arch-node { min-height: 0; }
  .arch-node:not(:last-child)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -13px;
    left: 50%;
    width: 1px;
    height: 12px;
  }
  .arch-node:not(:last-child)::before {
    display: block;
    top: auto;
    right: auto;
    bottom: -13px;
    left: calc(50% - 2.5px);
    transform: rotate(135deg);
  }
  .micro-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ownership { grid-template-columns: minmax(0, 1fr); }
  .ownership-cell + .ownership-cell { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card,
  .feature-card--narrow,
  .feature-card--wide { grid-column: auto; min-height: 0; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-step { padding: 24px 0 26px 26px; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { padding-bottom: 4px; border-bottom: 0; }
  .flow-step::before { left: 0; }
  .flow-step::after {
    content: "";
    position: absolute;
    top: 4px;
    bottom: -4px;
    left: 3px;
    width: 1px;
    background: var(--line);
  }
  .flow-step:last-child::after { display: none; }
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
  .platform,
  .platform--wide { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-honest { display: block; }
  .footer-meta { margin-top: 10px; }
}

@media (max-width: 560px) {
  .brand img { width: 36px; height: 36px; }
  .hero-eyebrow { font-size: 9.5px; letter-spacing: 0.1em; }
  .hero-notice { grid-template-columns: 1fr; gap: 8px; padding: 13px 15px; }
  .notice-label br { display: none; }
  .notice-label { letter-spacing: 0.12em; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .figure-stamp { top: 10px; right: -5px; padding: 6px 8px; font-size: 7px; }
  .hero-figure figcaption { font-size: 8px; }
  .stat { padding: 17px 13px; }
  .stat-value { font-size: 1.4rem; }
  .stat-label { font-size: 0.78rem; }
  .stat-note { font-size: 8.5px; }
  .download-note { padding: 13px 14px; }
  .release-meta { gap: 5px 14px; }
  .dl-card { padding: 20px 17px; }
  .dl-head h3 { font-size: 1.32rem; }
  .dl-size { font-size: 8.8px; }
  .dl-actions { gap: 11px 14px; }
  .dl-actions .btn--download { width: 100%; }
  .cmd { flex-wrap: wrap; }
  .cmd code { flex-basis: 100%; }
  .copy-btn { margin-left: auto; }
  .dl-extra-note { margin-left: 0; }
  .faq-list summary { gap: 16px; font-size: 0.96rem; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .has-reveal .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .hero-actions, .hero-figure, .stat-band, .nav-toggle, .dl-actions, .cmd, .copy-btn { display: none !important; }
  .hero, .section--download, .site-footer { background: #fff !important; color: #000 !important; }
  .section { padding-block: 28px; }
  /* Scroll-reveal never runs for sections that were not visited; print them. */
  .has-reveal .reveal { opacity: 1 !important; transform: none !important; }
}
