:root {
  --bg: #ffffff;
  --bg-panel: #f6f5f3;
  --bg-panel-2: #efede9;
  --lining: rgba(246, 245, 243, .74);
  --border: #e7e4df;
  --border-strong: #d6d2cb;
  --accent: #f0654b;
  --accent-dark: #c94a33;
  --accent-soft: #f7a25a;
  --text: #1d1f24;
  --text-muted: #6b6e76;
  --text-faint: #a3a5ab;
  --on-accent: #ffffff;
  --success: #2fae5a;
  --success-ink: #237b40;
  --warn: #e8902e;
  --warn-ink: #8a5216;
  --error: #e5484d;
  --error-ink: #b12c31;
  --clear: transparent;
  --glow-core: rgba(247, 162, 90, .46);
  --glow-mid: rgba(240, 101, 75, .20);
  --glow-edge: rgba(247, 162, 90, 0);
  --veil: rgba(29, 31, 36, .24);

  --font-display: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --type-body: 16px;
  --type-small: 13px;
  --type-h1: clamp(34px, 3.4vw, 48px);
  --type-h2: clamp(24px, 2.5vw, 32px);
  --type-h3: 21px;
  --tracking-heading: -.02em;
  --leading-body: 1.6;
  --leading-heading: 1.2;

  --r-xs: 6px;
  --r-sm: 8px;
  --r-logo: 9px;
  --r-shot: 10px;
  --r-card: 12px;
  --r-lane: 16px;
  --r-inner: 20px;
  --r-mobile-board: 22px;
  --r-mobile-section: 24px;
  --r-board: 28px;
  --r-section: 32px;
  --r-pill: 999px;
  --r-round: 50%;
  --shadow-xs: 0 1px 2px rgba(41, 33, 25, .06);
  --shadow-card: 0 1px 2px rgba(41, 33, 25, .05), 0 12px 32px rgba(41, 33, 25, .06);
  --shadow-board: 0 1px 2px rgba(41, 33, 25, .05), 0 24px 56px rgba(120, 62, 30, .10), 0 64px 120px rgba(120, 62, 30, .08);
  --shadow-cta: 0 1px 2px rgba(201, 74, 51, .28), 0 10px 24px rgba(240, 101, 75, .26);
  --page-max: 1440px;
  --reading-max: 800px;
  --header-content: 1280px;
  --gutter: 48px;
  --nav-h: 76px;
  --section-space: 88px;
  --space-card: 24px;
  --focus-width: 2px;
  --motion-fast: 180ms;
  --motion-reveal: 550ms;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --z-header: 40;
  --z-veil: 30;
  --z-fab: 20;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, a { -webkit-tap-highlight-color: var(--clear); }
img, svg { vertical-align: middle; max-width: 100%; }
svg { flex-shrink: 0; }
img { height: auto; }
figure, blockquote { margin: 0; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--type-h1); margin: 0 0 24px; }
h2 { font-size: var(--type-h2); margin: 0 0 20px; }
h3 { font-size: var(--type-h3); margin: 0 0 14px; }
ul, ol { padding-left: 1.5em; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .9em; }
pre {
  margin: 20px 0;
  padding: 18px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  white-space: pre;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
  line-height: 1.8;
  overscroll-behavior-inline: contain;
}
pre code { font-size: inherit; overflow-wrap: normal; white-space: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
:focus-visible { outline: var(--focus-width) solid var(--accent-dark); outline-offset: 3px; border-radius: var(--r-xs); }
[hidden] { display: none !important; }
::selection { background: var(--bg-panel-2); color: var(--text); }

.page { position: relative; overflow-x: clip; }
.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: calc(var(--reading-max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; gap: 24px; }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > *, .hero__in > *, .footer-grid > *, .topbar__in > * { min-width: 0; }
.stack > * + * { margin-top: 20px; }
.section { position: relative; padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section--decorated { overflow-x: clip; }
.panel, .next__panel {
  background: var(--bg-panel);
  color: var(--text);
  border-radius: var(--r-section);
  padding: 48px 56px;
}
.card {
  min-width: 0;
  padding: var(--space-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.card p { color: var(--text-muted); }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--accent-dark); font-weight: var(--weight-semibold); }
.chapter, .badge {
  display: inline-block;
  max-width: 100%;
  padding: 3px 12px;
  border: 1px solid var(--accent);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--accent-dark);
  font-size: var(--type-small);
  font-weight: var(--weight-medium);
  overflow-wrap: anywhere;
}
.chapter { margin-bottom: 18px; }
.badge--neutral { border-color: var(--border); background: var(--bg-panel); color: var(--text-muted); }
.badge--success { border-color: var(--success); color: var(--success-ink); }
.badge--warn { border-color: var(--warn); color: var(--warn-ink); }
.badge--error { border-color: var(--error); color: var(--error-ink); }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }
.small { font-size: var(--type-small); }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: calc(var(--z-header) + 10);
  padding: 12px 18px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-sm); transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.btn, .pill-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  max-width: 100%; text-decoration: none; font-weight: var(--weight-semibold);
  border: 1px solid var(--clear); border-radius: var(--r-pill);
  transition: background-color var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast);
}
.btn { min-height: 52px; padding: 12px 24px; font-size: 15.5px; text-align: center; line-height: 1.4; }
.btn svg { width: 18px; height: 18px; }
.btn--primary, .pill-cta { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-cta); }
.btn--primary:hover, .pill-cta:hover { background: var(--accent-dark); color: var(--on-accent); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { background: var(--bg); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--border-strong); }
.btn--ghost svg { width: 15px; height: 15px; color: var(--text-muted); }
.btn:active, .pill-cta:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--bg-panel-2); color: var(--text-muted); border-color: var(--border);
  box-shadow: none; transform: none;
}
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pill-cta { padding: 9px 18px; font-size: 14px; gap: 7px; box-shadow: var(--shadow-xs); white-space: nowrap; }
.pill-cta svg { width: 15px; height: 15px; }

.topbar, #site-header { position: relative; z-index: var(--z-header); background: var(--bg); color: var(--text); }
.topbar__in {
  position: relative;
  width: 100%;
  max-width: min(100%, calc(var(--header-content) + var(--gutter) * 2));
  min-height: var(--nav-h);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__mark {
  display: block; width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: var(--r-logo);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-xs);
}
.brand__placeholder { position: relative; }
.brand__placeholder::after {
  content: ""; position: absolute; inset: 8px; border-radius: var(--r-xs);
  background: var(--bg-panel-2); color: var(--text);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-display); font-size: 15px; font-weight: var(--weight-bold); letter-spacing: -.01em; }
.brand__sub { color: var(--text-muted); font-size: 11.5px; }
.desktop-nav { margin-left: auto; min-width: 0; }
.menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; align-items: center; flex-shrink: 0; }
.menu li + li::before { content: "·"; color: var(--text-muted); margin-inline: 9px; font-weight: var(--weight-bold); }
.menu a { display: block; padding-block: 6px; text-decoration: none; font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); }
.menu a[aria-current="page"] { font-weight: var(--weight-semibold); }
.topbar__tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-wrap { position: relative; }
.lang {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--bg); color: var(--text); font-size: 13.5px; white-space: nowrap;
}
.lang:hover { border-color: var(--border-strong); }
.lang__short { display: none; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 190px;
  padding: 6px; margin: 0; list-style: none; border: 1px solid var(--border);
  border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-card);
}
.lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; text-decoration: none; border-radius: var(--r-sm); }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--bg-panel); color: var(--text); }
.hamburger {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 10px;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--bg); color: var(--text);
}
.hamburger svg { width: 20px; height: 20px; }
.nav-veil { position: fixed; inset: 0; z-index: var(--z-veil); border: 0; padding: 0; background: var(--veil); color: var(--text); }
.mobile-drawer {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
  padding: 16px var(--gutter) 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-card);
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer a {
  display: flex; width: 100%; align-items: center; min-height: 46px;
  padding: 11px 14px; text-decoration: none; border-radius: var(--r-sm);
}
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--text); }
.mobile-drawer__languages { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.mobile-drawer__label { padding-inline: 14px; color: var(--text-muted); font-size: var(--type-small); }
.preview-menu { display: none; }

.hero { position: relative; overflow-x: clip; }
.hero__in {
  display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 56px;
  align-items: center; align-content: center;
  min-height: max(680px, calc(100vh - var(--nav-h) - 44px));
  padding-top: 16px; padding-bottom: 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 6px 14px 6px 10px; border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--bg-panel); color: var(--text); font-size: 13px;
}
.eyebrow svg { width: 15px; height: 15px; }
.eyebrow__sep { width: 1px; height: 12px; background: var(--border-strong); flex-shrink: 0; }
.eyebrow__muted { color: var(--text-muted); }
.hero__title { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.14; margin: 22px 0 28px; }
.grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-soft) 95%);
  -webkit-background-clip: text; background-clip: text; color: var(--clear);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__lede { max-width: 31em; font-size: 16.5px; line-height: 1.75; color: var(--text-muted); margin-bottom: 22px; }
.hero__lede strong { color: var(--text); font-weight: var(--weight-semibold); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.facts li {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 5px 12px; border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--bg); color: var(--text); font-size: 13px; overflow-wrap: anywhere;
}
.facts li::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--r-round); background: var(--success); }
.facts code { min-width: 0; font-size: 12px; }
.devices { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.devices__label { font-size: 12.5px; color: var(--text-muted); }
.devices ul { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.devices a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 13.5px; font-weight: var(--weight-medium); }
.devices a:hover { color: var(--accent-dark); }
.devices svg { width: 18px; height: 18px; }
.devices__note { margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.hero__visual { position: relative; min-width: 0; }
.glow {
  position: absolute; z-index: 0; width: 1120px; height: 940px;
  right: -560px; bottom: -470px; border-radius: var(--r-round);
  background: radial-gradient(closest-side, var(--glow-core) 0%, var(--glow-mid) 46%, var(--glow-edge) 100%);
  pointer-events: none;
}
.board {
  position: relative; z-index: 1; margin: 0; padding: 10px;
  border: 1px solid var(--border); border-radius: var(--r-board);
  background: var(--lining); color: var(--text); box-shadow: var(--shadow-board);
}
.board__inner { border: 1px solid var(--border); border-radius: var(--r-inner); background: var(--bg); color: var(--text); overflow: hidden; }
.board__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.board__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.board__title strong { font-family: var(--font-display); font-size: 14px; font-weight: var(--weight-bold); }
.board__title span { font-size: 12px; color: var(--text-muted); }
.board__note { padding: 3px 10px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text-muted); font-size: 11.5px; }
.lanes { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px; }
.lane { min-width: 0; padding: 7px; border-radius: var(--r-lane); background: var(--bg-panel); color: var(--text); }
.lane__head { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 6px 7px 10px; }
.lane__title { font-family: var(--font-display); font-size: 13px; font-weight: var(--weight-bold); }
.lane__count { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }
.cards { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tcard {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; padding: 11px 12px;
  border: 1px solid var(--border); border-radius: var(--r-card);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-card);
}
.check { display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid var(--border-strong); border-radius: var(--r-round); flex-shrink: 0; }
.tick { display: grid; place-items: center; width: 18px; height: 18px; border-radius: var(--r-round); background: var(--success); color: var(--on-accent); font-size: 11px; line-height: 1; }
.tick svg { width: 11px; height: 11px; }
.tbody { min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.tlabel { font-size: 10.5px; line-height: 1.35; color: var(--text-muted); letter-spacing: .02em; }
.tval { margin-top: 3px; font-size: 13.5px; line-height: 1.35; font-weight: var(--weight-semibold); }
.tval--mono { font-family: var(--font-mono); font-size: 12.5px; font-weight: var(--weight-medium); }
.tfoot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 5px; }
.tsub { flex: 1 1 auto; min-width: 0; font-size: 11.5px; line-height: 1.45; color: var(--text-muted); }
.ttag { margin-left: auto; padding: 0 6px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text-muted); font-family: var(--font-mono); font-size: 10.5px; line-height: 1.5; }
.snippet { margin-top: 6px; padding: 6px 7px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg-panel); color: var(--text); font-family: var(--font-mono); font-size: 10.5px; line-height: 1.6; overflow-wrap: anywhere; }
.snippet code { display: block; font: inherit; }
.snippet .kw { font-weight: var(--weight-medium); }
.snippet .arg { color: var(--text-muted); }
.snippet .pol { color: var(--accent-dark); font-weight: var(--weight-semibold); }
.snippet .pol--direct { color: var(--success-ink); }
.next { position: relative; z-index: 2; }
.next__panel { padding-top: 28px; padding-bottom: 72px; min-height: 300px; }
.next__title { font-size: 30px; margin: 0 0 10px; line-height: 1.25; }
.next__text { max-width: 40em; color: var(--text-muted); font-size: 15.5px; }

.prose { min-width: 0; line-height: 1.85; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 56px; scroll-margin-top: 24px; }
.prose h3 { margin-top: 32px; scroll-margin-top: 24px; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose a { color: var(--accent-dark); }
.prose li + li { margin-top: 8px; }
.prose :not(pre) > code { padding: .1em .3em; border-radius: var(--r-xs); background: var(--bg-panel); color: var(--text); }
.prose img { max-width: 100%; }

.site-footer { margin-top: 64px; padding-top: 56px; padding-bottom: 28px; border-top: 1px solid var(--border); background: var(--bg-panel); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.4fr; gap: 48px; }
.footer-brand p { max-width: 29em; margin-top: 20px; color: var(--text-muted); font-size: 14px; }
.footer-title { font-size: 14px; margin-bottom: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: block; padding-block: 6px; font-size: 13px; color: var(--text-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--accent-dark); }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-languages a { padding-block: 6px; font-size: 13px; text-decoration: none; }
.footer-languages a[aria-current="true"] { font-weight: var(--weight-bold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-trademark { width: 100%; }

.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
html.reveal-ready .reveal { transition: opacity var(--motion-reveal) var(--ease), transform var(--motion-reveal) var(--ease); }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .topbar__tools { margin-left: auto; }
  .hamburger { display: inline-flex; }
  .preview-menu { display: block; }
  .preview-menu > summary { display: grid; place-items: center; min-width: 44px; min-height: 44px; cursor: pointer; border: 1px solid var(--border); border-radius: var(--r-pill); list-style: none; }
  .preview-menu > summary::-webkit-details-marker { display: none; }
  .preview-menu nav { position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); padding: 12px; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
  .preview-menu nav a { display: block; min-height: 44px; padding: 10px 12px; text-decoration: none; }
}
@media (max-width: 1180px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; padding-top: 28px; padding-bottom: 56px; }
  .hero__lede { max-width: 42em; }
  .glow { width: 820px; height: 700px; right: -380px; bottom: -320px; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --gutter: 24px; --section-space: 56px; --type-h1: 30px; }
  .hero__title { font-size: 30px; margin: 18px 0 22px; }
  .brand__sub { display: none; }
  .topbar__tools > .pill-cta { display: none; }
  .panel, .next__panel { padding: 24px 22px 56px; border-radius: var(--r-mobile-section); }
  .btn { min-height: 48px; padding: 12px 20px; font-size: 15px; }
  .hero__lede { font-size: 15.5px; }
  .board { padding: 7px; border-radius: var(--r-mobile-board); }
  .board__inner { border-radius: var(--r-lane); }
  .board__head { align-items: flex-start; flex-direction: column; padding: 12px 14px; }
  .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 7px; }
  .lane:nth-child(3) { grid-column: 1 / -1; }
  .lane:nth-child(3) .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cards { gap: 8px; }
  .tcard { padding: 9px; column-gap: 8px; grid-template-columns: 16px minmax(0, 1fr); }
  .check, .tick { width: 16px; height: 16px; }
  .tval { font-size: 12px; }
  .tval--mono { font-size: 11px; }
  .tsub { font-size: 10.5px; }
  .ttag, .snippet { font-size: 9.5px; }
  .next__title { font-size: 22px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --space-card: 20px; }
  .grid--two, .grid--three, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .topbar__in { gap: 12px; }
  .topbar__tools { gap: 8px; margin-left: auto; }
  .brand { gap: 8px; }
  .brand__name { font-size: 14px; }
  .lang { min-height: 44px; padding: 7px 11px; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .facts { flex-direction: row; flex-wrap: wrap; gap: 7px; }
  .facts li { font-size: 12px; padding: 5px 10px; }
  .tilt, [data-tilt] { transform: none !important; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 12px; }
  .topbar__in { gap: 8px; }
  .lang { padding-inline: 9px; }
  .hero__title { font-size: 28px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding-inline: 16px; }
  .lane { padding: 5px; }
  .tcard { padding: 7px; column-gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}