:root {
  --c-bg: #f4f4f6;
  --c-panel: #ffffff;
  --c-panel-2: #16161c;
  --c-border: #dedee4;
  --c-border-soft: #ececf0;
  --c-accent: #e0268f;
  --c-accent-dark: #b0156e;
  --c-text: #111116;
  --c-muted: #5c5d68;
  --c-success: #1f9e6a;
  --c-success-ink: #14754d;
  --c-orange: #ff7a2f;
  --c-orange-ink: #a64009;
  --c-blue: #2f8cff;
  --c-blue-ink: #1559b2;
  --c-error: #d63031;
  --c-on-accent: #ffffff;
  --c-accent-halo: rgba(224, 38, 143, 0.16);
  --c-orange-halo: rgba(255, 122, 47, 0.22);
  --c-pink-tint: #fdf0f7;
  --c-blue-tint: rgba(47, 140, 255, 0.08);
  --c-orange-tint: rgba(255, 122, 47, 0.09);
  --c-line-pink: #f2c4dc;
  --c-line-blue: #b4d3fa;
  --c-line-orange: #f6c6aa;
  --c-ghost: rgba(255, 255, 255, 0.5);
  --c-veil: rgba(255, 255, 255, 0.86);
  --c-glass-edge: rgba(255, 255, 255, 0.6);
  --c-chip: rgba(255, 255, 255, 0.76);
  --c-chip-edge: rgba(255, 255, 255, 0.96);
  --c-transparent: rgba(255, 255, 255, 0);
  --c-scrim: rgba(17, 17, 22, 0.32);
  --c-code-text: #eeeef4;
  --c-code-proxy: #ff8dcb;
  --c-code-direct: #8cc2ff;
  --c-code-reject: #ffae7d;
  --rb-peach: #f9c6a8;
  --rb-rose: #f2b6d6;
  --rb-lilac: #d9c8f2;
  --rb-sky: #a9def2;

  --sh-1: 0 1px 2px rgba(17, 17, 22, 0.05);
  --sh-chip: 0 1px 2px rgba(17, 17, 22, 0.04), 0 4px 10px -6px rgba(17, 17, 22, 0.12);
  --sh-btn: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 22px -12px rgba(224, 38, 143, 0.6);
  --sh-bar: 0 1px 2px rgba(17, 17, 22, 0.04), 0 12px 26px -14px rgba(176, 21, 110, 0.24), 0 30px 64px -30px rgba(255, 122, 47, 0.38);
  --sh-panel: 0 34px 70px -48px rgba(17, 17, 22, 0.32);
  --sh-fab: 0 14px 30px -14px rgba(17, 17, 22, 0.5);
  --r-section: 28px;
  --r-card: 20px;
  --r-btn: 12px;
  --r-pill: 999px;
  --r-bar: 20px;
  --r-mark: 9px;
  --r-focus: 6px;
  --r-small: 4px;
  --r-dot: 50%;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-caption: 12.5px;
  --fs-h1: clamp(34px, calc(2.4vw + 14px), 48px);
  --fs-h2: clamp(26px, 3vw, 40px);
  --fs-h3: 22px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-display: 800;
  --tracking-title: -0.02em;
  --container: 1280px;
  --reading: 820px;
  --gutter: 80px;
  --nav-h: 68px;
  --panel-pad: clamp(40px, 3.9vw, 56px);
  --bar-out: clamp(44px, 4.45vw, 64px);
  --space-section: clamp(56px, 7vw, 100px);
  --speed: 0.18s;
  --reveal-speed: 0.55s;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--c-accent-dark); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: var(--c-accent-halo); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: var(--r-focus); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  letter-spacing: var(--tracking-title);
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.2em; }
strong { font-weight: var(--fw-bold); }
code, pre { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  margin: 24px 0;
  padding: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border-radius: var(--r-card);
  background: var(--c-panel-2);
  color: var(--c-code-text);
  font-size: var(--fs-small);
  line-height: 1.9;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
section, article, aside, main, nav, .grid > *, .hero > *, .footer-grid > * { min-width: 0; }
.word { white-space: nowrap; }
.muted { color: var(--c-muted); }
.wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-title { text-align: center; margin: 0 0 40px; }
.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)); }
.stack > * + * { margin-top: 24px; }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose li + li { margin-top: 0.6em; }
.prose :not(pre) > code { font-size: 0.9em; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-btn);
  background: var(--c-panel-2); color: var(--c-on-accent);
  font-weight: var(--fw-semibold); text-decoration: none;
}
.skip:focus { top: 12px; }
.topbar, #site-header {
  position: sticky; top: 0; z-index: 80;
  background: var(--c-panel); color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.topbar__inner {
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  padding-inline: var(--gutter);
  margin-inline: auto;
  min-height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0;
  color: var(--c-text); text-decoration: none;
  font-family: var(--font-display); font-size: 17px;
  font-weight: var(--fw-display); letter-spacing: var(--tracking-title);
}
.brand__mark {
  display: block; width: 34px; height: 34px; flex-shrink: 0;
  border-radius: var(--r-mark);
  background: linear-gradient(145deg, var(--c-panel), var(--c-bg));
  color: var(--c-text);
  border: 1px solid var(--c-border); box-shadow: var(--sh-1);
}
.mainnav { margin-left: auto; min-width: 0; }
.mainnav__list {
  display: flex; align-items: center; list-style: none;
  margin: 0; padding: 0; gap: 2px;
}
.mainnav__link {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 0 14px;
  border-radius: var(--r-pill); color: var(--c-muted);
  font-size: 14.5px; font-weight: var(--fw-medium);
  text-decoration: none; white-space: nowrap;
  transition: color var(--speed), background-color var(--speed);
}
.mainnav__link:hover { color: var(--c-text); background: var(--c-bg); }
.mainnav__link[aria-current="page"] { color: var(--c-on-accent); background: var(--c-accent); font-weight: var(--fw-semibold); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language { position: relative; }
.lang {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px; padding: 0 13px 0 11px;
  border: 1px solid var(--c-border); border-radius: var(--r-pill);
  background: var(--c-panel); color: var(--c-text);
  font-size: var(--fs-small); font-weight: var(--fw-medium);
  white-space: nowrap; flex-shrink: 0;
}
.lang:hover { border-color: var(--c-muted); }
.lang svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--c-muted); }
.lang__caret { color: var(--c-muted); font-size: 11px; }
.lang__short { display: none; }
.language__menu {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 200px; padding: 8px; margin: 0;
  list-style: none; border: 1px solid var(--c-border);
  border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text);
  box-shadow: var(--sh-panel);
}
.language__menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; text-decoration: none; border-radius: var(--r-btn); color: var(--c-muted); }
.language__menu a:hover, .language__menu a[aria-current] { background: var(--c-bg); color: var(--c-text); }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  border: 1px solid var(--c-border); border-radius: var(--r-btn);
  background: var(--c-panel); color: var(--c-text);
}
.menu-toggle svg { width: 22px; height: 22px; flex-shrink: 0; }
.mobile-drawer { display: none; }
.nav-veil {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 70;
  border: 0; background: var(--c-scrim); color: var(--c-text);
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  min-height: 52px; max-width: 100%; padding: 10px 24px;
  border: 1px solid var(--c-transparent); border-radius: var(--r-btn);
  font-size: var(--fs-body); font-weight: var(--fw-bold);
  letter-spacing: -0.005em; text-align: center; text-decoration: none;
  transition: transform var(--speed), background-color var(--speed), border-color var(--speed);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--c-accent); color: var(--c-on-accent); box-shadow: var(--sh-btn); }
.btn--primary:hover, .btn--primary.is-hover { background: var(--c-accent-dark); color: var(--c-on-accent); transform: translateY(-1px); }
.btn--ghost { background: var(--c-panel); color: var(--c-text); border-color: var(--c-border); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: var(--c-muted); transform: translateY(-1px); }
.btn--ghost svg { width: 16px; height: 16px; color: var(--c-muted); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--c-border-soft); color: var(--c-muted); border-color: var(--c-border); box-shadow: none; cursor: not-allowed; transform: none; }
.btn.is-focus { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.card, .panel {
  padding: 28px; border: 1px solid var(--c-border);
  border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text);
  box-shadow: var(--sh-1); min-width: 0;
}
.panel { padding: 36px; border-radius: var(--r-section); }
.panel--pink { border-color: var(--c-line-pink); background: var(--c-pink-tint); color: var(--c-text); }
.panel--blue { border-color: var(--c-line-blue); background: var(--c-blue-tint); color: var(--c-text); }
.panel--orange { border-color: var(--c-line-orange); background: var(--c-orange-tint); color: var(--c-text); }
.card h3, .panel h3 { margin-top: 0; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: clamp(600px, calc(100vh - var(--nav-h) - 84px), 800px);
  padding-top: 16px;
}
.hero__copy { align-self: center; padding: 40px 48px 40px max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 34px; padding: 5px 15px 5px 12px; max-width: 100%;
  border: 1px solid var(--c-border); border-radius: var(--r-pill);
  background: var(--c-panel); color: var(--c-text); box-shadow: var(--sh-1);
  font-size: 13.5px; font-weight: var(--fw-semibold);
}
.eyebrow__dot {
  flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--r-dot);
  background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 0 0 4px var(--c-accent-halo);
}
.hero__title { margin: 26px 0 0; font-size: clamp(30px, calc(2.4vw + 14px), 48px); line-height: 1.14; letter-spacing: var(--tracking-title); color: var(--c-text); }
.hero__title-line { display: block; }
.hero__title-accent { color: var(--c-accent); }
.hero__desc { margin: 28px 0 0; max-width: 30em; font-size: 16.5px; line-height: 1.75; color: var(--c-muted); }
.hero__desc strong { color: var(--c-text); }
.devices-block { margin-top: 34px; padding-top: 22px; max-width: 500px; border-top: 1px solid var(--c-border); }
.devices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.device { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--c-text); text-decoration: none; }
.device svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--c-muted); }
a.device:hover, a.device:hover svg { color: var(--c-accent-dark); }
.store-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-text); font-size: var(--fs-caption); font-weight: var(--fw-bold); }
.devices__note { margin: 12px 0 0; font-size: var(--fs-caption); color: var(--c-muted); }
.hero__panel { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 132px var(--panel-pad) 64px; min-width: 0; }
.canvas {
  position: absolute; inset: 0; overflow: clip;
  border-radius: var(--r-section) 0 0 var(--r-section);
  background:
    linear-gradient(180deg, var(--c-transparent) 56%, var(--c-veil) 100%),
    radial-gradient(58% 52% at 14% 6%, var(--rb-peach) 0%, var(--c-transparent) 72%),
    radial-gradient(52% 58% at 92% 2%, var(--rb-sky) 0%, var(--c-transparent) 70%),
    linear-gradient(100deg, var(--rb-peach) 0%, var(--rb-rose) 34%, var(--rb-lilac) 66%, var(--rb-sky) 100%);
  color: var(--c-text); box-shadow: var(--sh-panel), inset 0 0 0 1px var(--c-glass-edge);
}
.canvas__word { position: absolute; top: -0.3em; right: -0.12em; margin: 0; font-family: var(--font-display); font-size: clamp(150px, 15vw, 232px); font-weight: var(--fw-display); line-height: 1; letter-spacing: -0.06em; color: var(--c-ghost); white-space: nowrap; user-select: none; }
.panel-cap { position: relative; margin: 0 0 0 20px; font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--c-muted); letter-spacing: 0.01em; }
.panel-cap__sect { color: var(--c-accent-dark); font-weight: var(--fw-bold); margin-right: 8px; }
.rulebar { position: relative; display: flex; align-items: center; min-height: 68px; margin: 0 0 0 calc(var(--bar-out) * -1); background: var(--c-panel); color: var(--c-text); border: 1px solid var(--c-line-pink); border-radius: var(--r-bar); box-shadow: var(--sh-bar); }
.rulebar__tag { flex: 0 0 calc(var(--bar-out) + var(--panel-pad)); align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid var(--c-border-soft); font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: var(--fw-semibold); color: var(--c-muted); letter-spacing: 0.02em; }
.status-dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: var(--r-dot); background: var(--c-orange); color: var(--c-text); box-shadow: 0 0 0 3px var(--c-orange-halo); }
.rulebar__line { flex: 1 1 auto; display: flex; align-items: center; min-width: 0; padding: 0 20px; font-family: var(--font-mono); font-size: 15px; font-weight: var(--fw-medium); color: var(--c-text); white-space: nowrap; }
.tok-sep { color: var(--c-muted); }
.tok-val { color: var(--c-text); }
.tok-proxy { color: var(--c-accent); font-weight: var(--fw-bold); }
.rulebar__caret { width: 2px; height: 20px; margin-left: 4px; border-radius: var(--r-small); background: var(--c-accent); color: var(--c-text); opacity: 0.55; flex-shrink: 0; }
.rulebar__policies { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 14px 0 0; list-style: none; flex-shrink: 0; }
.policy { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--r-pill); font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: var(--fw-bold); letter-spacing: 0.01em; }
.policy--proxy { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.policy--direct { background: var(--c-blue-tint); border-color: var(--c-blue); color: var(--c-blue-ink); }
.policy--reject { background: var(--c-orange-tint); border-color: var(--c-orange); color: var(--c-orange-ink); }
.protocols { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0 20px; padding: 0; list-style: none; }
.protocols li { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--c-chip-edge); border-radius: var(--r-pill); background: var(--c-chip); color: var(--c-text); box-shadow: var(--sh-chip); font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: var(--fw-medium); }
.peek { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin: 28px auto 0; }
.peek__card { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; padding: 22px 32px 96px; background: var(--c-panel); color: var(--c-text); border: 1px solid var(--c-line-pink); border-radius: var(--r-section); box-shadow: var(--sh-1); }
.peek__title { margin: 0; font-size: 15px; font-weight: var(--fw-bold); }
.peek__hint { margin: 0; font-size: var(--fs-small); color: var(--c-muted); }
.site-footer { margin-top: 64px; padding-top: 56px; padding-bottom: 100px; border-top: 1px solid var(--c-border); background: var(--c-panel); color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 32em; color: var(--c-muted); font-size: var(--fs-small); }
.footer-heading { font-size: var(--fs-small); margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding-top: 6px; padding-bottom: 6px; color: var(--c-muted); text-decoration: none; font-size: var(--fs-small); }
.footer-links a:hover { color: var(--c-accent-dark); }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; }
.footer-languages a { padding-top: 8px; padding-bottom: 8px; color: var(--c-muted); }
.footer-languages a[aria-current] { color: var(--c-accent-dark); font-weight: var(--fw-bold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--c-border); color: var(--c-muted); font-size: var(--fs-caption); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--c-muted); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
html.reveal-ready .reveal { transition: opacity var(--reveal-speed) ease, transform var(--reveal-speed) ease; }
.reveal.shown { opacity: 1; transform: none; }
@media (max-width: 1360px) {
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .rulebar__line { font-size: 14px; padding: 0 16px; }
  .policy { padding: 0 10px; font-size: 12px; min-height: 30px; }
  .rulebar__policies { gap: 6px; padding-right: 12px; }
  .panel-cap, .protocols { margin-left: 16px; }
}
@media (max-width: 1180px) {
  .mainnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) {
    display: block; 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-bottom: 1px solid var(--c-border);
    background: var(--c-panel); color: var(--c-text);
    box-shadow: var(--sh-panel);
  }
  .mobile-drawer ul { margin: 0; padding: 0; list-style: none; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 16px; border-radius: var(--r-btn); color: var(--c-muted); text-decoration: none; }
  .mobile-drawer a:hover { background: var(--c-bg); color: var(--c-text); }
  .mobile-drawer a[aria-current="page"] { background: var(--c-accent); color: var(--c-on-accent); }
  .mobile-drawer__languages { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid var(--c-border); }
  .mobile-drawer__languages a[aria-current] { color: var(--c-accent-dark); background: var(--c-bg); }
}
@media (max-width: 1180px) {
  :root { --gutter: 40px; --bar-out: 0px; --panel-pad: 32px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__copy { padding: 56px var(--gutter) 40px; text-align: left; }
  .hero__panel { margin: 0 16px; padding: 128px var(--panel-pad) 40px; min-height: 460px; }
  .canvas { border-radius: var(--r-section); }
  .rulebar__tag { flex: 0 0 auto; padding: 0 18px; }
  .peek { margin-top: 32px; }
}
@media (max-width: 768px) {
  :root { --fs-h1: 30px; }
  h1, .hero__title { font-size: clamp(24px, 4.6vw, 30px); }
  .grid--three { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --panel-pad: 18px; }
  .topbar__inner { gap: 12px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand__mark { width: 30px; height: 30px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .lang { min-height: 44px; padding-inline: 10px; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .hero__copy { padding-top: 40px; }
  .hero__panel { margin: 0 12px; padding-top: 104px; min-height: 0; }
  .rulebar { flex-wrap: wrap; }
  .rulebar__tag { border-right: 0; padding: 14px 16px 4px; }
  .rulebar__line { flex: 1 1 100%; padding: 4px 16px; font-size: clamp(10px, 3vw, 13px); }
  .rulebar__policies { padding: 10px 16px 14px; }
  .panel-cap, .protocols { margin-left: 4px; }
  .btn { min-height: 48px; padding: 10px 20px; font-size: 15px; }
  .peek__card { padding: 20px 22px 80px; }
  .grid--two { grid-template-columns: minmax(0, 1fr); }
  .panel, .card { padding: 22px; }
  .tilt, [data-tilt] { transform: none !important; }
  pre { padding: 18px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand { font-size: 12px; }
  .brand__mark { width: 28px; height: 28px; }
  .lang svg { display: none; }
  .devices { gap: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}