:root {
  --bg: #ffffff;
  --bg-panel: #f8f7f5;
  --bg-panel-2: #f1f0ec;
  --border: #ebe9e4;
  --accent: #3d7d6c;
  --accent-dark: #2c5c50;
  --text: #1b1d22;
  --text-muted: #6b6e76;
  --success: #3f9d6b;
  --warn: #c98f12;
  --error: #d0503f;
  --tint-cream: #fbeec2;
  --tint-mint: #dff3ea;
  --tint-blue: #e1ebfb;
  --tint-lilac: #ece6fb;
  --tint-blush: color-mix(in srgb, var(--tint-lilac) 42%, var(--bg-panel));
  --ink: var(--text);
  --on-ink: var(--bg);
  --ink-rgb: 27 29 34;
  --clear: transparent;
  --underline: color-mix(in srgb, var(--tint-cream) 76%, var(--warn));
  --veil: rgb(var(--ink-rgb) / 0.25);
  --shadow-soft: 0 4px 14px rgb(var(--ink-rgb) / 0.04);
  --shadow-float: 0 24px 60px rgb(var(--ink-rgb) / 0.06), 0 2px 6px rgb(var(--ink-rgb) / 0.03);
  --shadow-selected: 0 28px 68px rgb(var(--ink-rgb) / 0.09);
  --shadow-near: 0 44px 100px rgb(var(--ink-rgb) / 0.11), 0 12px 28px rgb(var(--ink-rgb) / 0.05), 0 1px 2px rgb(var(--ink-rgb) / 0.04);
  --shadow-btn: 0 10px 22px rgb(var(--ink-rgb) / 0.18), 0 1px 2px rgb(var(--ink-rgb) / 0.2);
  --r-card: 20px;
  --r-btn: 10px;
  --r-inner: 12px;
  --r-menu: 14px;
  --r-tile: 8px;
  --r-small: 3px;
  --r-shot: 10px;
  --r-pill: 999px;
  --r-circle: 50%;
  --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;
  --gutter: 24px;
  --content-width: 1240px;
  --reading-width: 780px;
  --header-width: 1280px;
  --header-height: 64px;
  --section-space: 140px;
  --speed: 180ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 32px; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: var(--clear); }
button { cursor: pointer; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.16; }
h2 { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-size: 22px; }
p, ul, ol, dl { margin-top: 0; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-inner);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
  tab-size: 2;
}
pre code { overflow-wrap: normal; white-space: pre; }
::selection { background: var(--tint-mint); color: var(--text); }
.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.wrap > *, .grid > *, .hero__inner > *, .footer-grid > * { min-width: 0; }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section--panel, .band { background: var(--bg-panel); color: var(--text); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head h2 { margin: 12px 0 16px; }
.kicker, .band__kicker { margin: 0; color: var(--accent-dark); font-size: 13px; font-weight: 600; }
.muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }
.ico { display: block; 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: absolute;
  top: 8px;
  left: var(--gutter);
  z-index: 100;
  padding: 10px 16px;
  clip-path: inset(50%);
  opacity: 0;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-btn);
}
.skip-link:focus { clip-path: none; opacity: 1; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-float);
}
.card h3, .panel h3 { margin-top: 0; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.prose { min-width: 0; line-height: 1.85; }
.prose h2 { margin-top: 64px; margin-bottom: 24px; scroll-margin-top: 32px; }
.prose h3 { margin-top: 36px; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose li + li { margin-top: 10px; }
.prose img { max-width: 100%; }
.prose > :first-child { margin-top: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  max-width: 100%;
  padding: 11px 22px;
  border: 1px solid var(--clear);
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: transform var(--speed) ease, background-color var(--speed) ease, box-shadow var(--speed) ease;
}
.btn--ink { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-btn); }
.btn--ink:hover, .btn--ink.is-hover {
  background: color-mix(in srgb, var(--ink) 88%, var(--on-ink));
  color: var(--on-ink);
  transform: translateY(-1px);
}
.btn--line { background: var(--bg); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-soft); }
.btn--line:hover { background: var(--bg-panel); color: var(--text); }
.btn--text { background: var(--clear); color: var(--accent-dark); }
.btn--text:hover { background: var(--bg-panel); color: var(--accent-dark); }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.btn .ico { width: 18px; height: 18px; }

/* Independent, wider header shell. */
#site-header, .topbar { position: relative; z-index: 40; }
.topbar { background: var(--bg); color: var(--text); border-bottom: 1px solid var(--border); }
.topbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__mark { display: block; width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--r-tile); }
.brand__mark--placeholder {
  background: linear-gradient(150deg, var(--bg), var(--bg-panel-2));
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.brand__name { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.mainnav { min-width: 0; margin-left: auto; }
.mainnav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.mainnav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 6px 13px;
  border: 0;
  border-radius: var(--r-tile);
  background: var(--clear);
  color: var(--text-muted);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  list-style: none;
}
.mainnav__link:hover, .mainnav__link:focus-visible { color: var(--text); background: var(--bg-panel); }
.mainnav__link[aria-current="page"], .mainnav__link.is-current { color: var(--text); font-weight: 600; }
.mainnav__link[aria-current="page"]::after, .mainnav__link.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: var(--r-circle);
  background: var(--accent);
}
.mainnav__link .ico, .langswitch .ico { width: 14px; height: 14px; }
.mainnav__more, .language { position: relative; }
.moremenu, .language__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 272px;
  max-width: calc(100vw - var(--gutter) * 2);
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-menu);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-float);
  z-index: 45;
}
.moremenu__group { margin: 4px 10px 6px; font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
.moremenu__item { display: block; min-height: 44px; padding: 9px 10px; border-radius: var(--r-btn); color: var(--text); text-decoration: none; }
.moremenu__item:hover { background: var(--bg-panel); color: var(--text); }
.moremenu__item[aria-current="page"] { background: var(--bg-panel); color: var(--accent-dark); }
.moremenu__title { display: block; font-size: 14px; font-weight: 600; }
.moremenu__hint { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-tile);
  background: var(--bg);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
.language__menu { width: 190px; }
.language__menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-tile); color: var(--text); text-decoration: none; }
.language__menu a:hover, .language__menu a[aria-current="true"] { background: var(--bg-panel); color: var(--accent-dark); }
.lang-short { display: none; }
.menu-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-tile);
}
.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 44;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px var(--gutter) 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-float);
}
.mobile-nav a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 12px 14px; color: var(--text); text-decoration: none; border-radius: var(--r-btn); }
.mobile-nav a:hover, .mobile-nav a[aria-current] { background: var(--bg-panel); color: var(--accent-dark); }
.mobile-nav__label { margin: 20px 14px 6px; font-size: 12px; color: var(--text-muted); }
.menu-veil { position: fixed; inset: var(--header-height) 0 0; z-index: 30; border: 0; padding: 0; background: var(--veil); color: var(--text); }

/* Approved visual-left hero. */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding-top: 72px; padding-bottom: 96px; background: var(--bg); color: var(--text); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint-cream) 58%, var(--clear)) 0%, color-mix(in srgb, var(--tint-cream) 20%, var(--clear)) 46%, var(--clear) 100%);
}
.hero__inner { width: min(1240px, calc(100% - var(--gutter) * 2)); margin-inline: auto; display: grid; grid-template-columns: 680px minmax(0, 1fr); gap: 60px; align-items: center; }
.stage { position: relative; height: 640px; min-width: 0; margin: 0; }
.stage__glow {
  position: absolute;
  left: -130px;
  top: -90px;
  width: 620px;
  height: 620px;
  border-radius: var(--r-circle);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--tint-mint) 96%, var(--clear)) 0%, color-mix(in srgb, var(--tint-mint) 48%, var(--clear)) 38%, var(--clear) 70%);
  opacity: .6;
  animation: glow-breathe 11s ease-in-out infinite alternate;
}
.obj {
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--r-card);
  border: 1px solid var(--obj-border, var(--border));
  background: var(--obj-bg, var(--bg));
  color: var(--text);
  box-shadow: var(--shadow-float);
  transform: rotate(var(--tilt, 0deg));
  animation: obj-in .8s var(--ease) var(--delay, 0s) both;
}
.obj--rule { left: 0; top: 60px; width: 300px; --tilt: -3deg; --delay: .08s; --obj-bg: linear-gradient(160deg, var(--tint-cream), color-mix(in srgb, var(--tint-cream) 38%, var(--bg))); --obj-border: color-mix(in srgb, var(--tint-cream) 55%, var(--border)); }
.obj--routing { left: 432px; top: 0; width: 236px; padding-bottom: 14px; --tilt: 2.5deg; --delay: .14s; --obj-bg: linear-gradient(165deg, var(--tint-lilac), color-mix(in srgb, var(--tint-lilac) 45%, var(--bg))); --obj-border: color-mix(in srgb, var(--tint-lilac) 55%, var(--border)); }
.obj--demand { left: -12px; top: 298px; width: 160px; --tilt: -2deg; --delay: .2s; --obj-bg: linear-gradient(160deg, var(--tint-blush), var(--bg)); }
.obj--final { left: 524px; top: 262px; width: 180px; --tilt: 2deg; --delay: .26s; --obj-bg: linear-gradient(160deg, var(--tint-mint), color-mix(in srgb, var(--tint-mint) 40%, var(--bg))); --obj-border: color-mix(in srgb, var(--tint-mint) 55%, var(--border)); }
.obj--proto { left: 16px; top: 474px; width: 340px; --tilt: 1.5deg; --delay: .32s; --obj-bg: linear-gradient(160deg, var(--tint-blue), color-mix(in srgb, var(--tint-blue) 40%, var(--bg))); --obj-border: color-mix(in srgb, var(--tint-blue) 55%, var(--border)); }
.obj--store { left: 376px; top: 506px; width: 292px; --tilt: -2deg; --delay: .38s; }
.obj__label { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--text-muted); }
.obj__head { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
.obj__code { display: block; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.obj__status { display: flex; align-items: center; gap: 9px; margin: 0; }
.obj__sub { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.obj__sub--mono { font-family: var(--font-mono); color: var(--accent-dark); }
.dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 20%, var(--clear)); }
.tk-kw { color: var(--text); font-weight: 600; }
.tk-dim, .tk-op { color: var(--text-muted); }
.tk-pol { color: var(--accent-dark); font-weight: 600; }
.tk-key { color: var(--text); }
.tk-val { color: var(--accent-dark); }
.glist { list-style: none; margin: 11px 0 0; padding: 0; background: var(--bg); color: var(--text); border: 1px solid color-mix(in srgb, var(--tint-lilac) 50%, var(--border)); border-radius: var(--r-inner); }
.glist__row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 5px 10px 5px 13px; font-size: 13.5px; font-weight: 500; }
.glist__row + .glist__row::before { content: ""; position: absolute; left: 13px; right: 0; top: 0; height: 1px; background: var(--border); }
.glist__row .ico { width: 14px; height: 14px; color: var(--text-muted); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pills__item { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--bg); color: var(--text); border: 1px solid color-mix(in srgb, var(--tint-blue), var(--text-muted) 18%); font-size: 12.5px; font-weight: 500; }
.facts { display: grid; gap: 5px; margin: 11px 0 0; }
.facts__row { display: flex; align-items: baseline; gap: 10px; }
.facts dt { min-width: 42px; font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
.facts dd { margin: 0; font-size: 12.5px; }
.facts__mono { font-family: var(--font-mono); }
.conf {
  position: absolute;
  left: 120px;
  top: 150px;
  width: 420px;
  z-index: 3;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-near);
  overflow: hidden;
  animation: obj-in .8s var(--ease) both;
}
.conf__bar { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 10px 20px; background: var(--bg-panel); color: var(--text); border-bottom: 1px solid var(--border); }
.conf__file { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; }
.conf__file .ico { width: 15px; height: 15px; color: var(--accent); }
.conf__kind { font-size: 12px; color: var(--text-muted); }
.conf__body { display: grid; gap: 10px; padding: 20px 24px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 22px; }
.conf__sec--general { --sec: var(--tint-cream); }
.conf__sec--rule { --sec: var(--tint-mint); }
.conf__sec--host { --sec: var(--tint-blue); }
.conf__sec--rewrite { --sec: var(--tint-lilac); }
.conf__name { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; }
.conf__name::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-radius: var(--r-small); background: var(--sec); border: 1px solid color-mix(in srgb, var(--sec), var(--text) 14%); }
.conf__ln { margin: 0; padding-left: 20px; white-space: pre; }
.copy { min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; max-width: 100%; margin: 0; padding: 5px 14px 5px 12px; border-radius: var(--r-pill); background: var(--bg); color: var(--accent-dark); border: 1px solid var(--border); box-shadow: var(--shadow-soft); font-size: 13px; font-weight: 600; }
.badge__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, var(--clear)); }
.hero__title { isolation: isolate; margin: 22px 0 0; font-size: clamp(34px, 3.4vw, 48px); font-weight: 800; line-height: 1.16; letter-spacing: -.02em; }
.hero__line { display: block; }
.hero__mark { position: relative; display: inline-block; white-space: nowrap; }
.hero__mark::after { content: ""; position: absolute; left: .02em; right: .06em; bottom: -.04em; height: 6px; border-radius: var(--r-small); background: var(--underline); z-index: -1; }
.hero__lead { max-width: 480px; margin: 22px 0 0; font-size: 16px; line-height: 1.8; color: var(--text-muted); }
.hero__lead strong { font-weight: 600; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.devices { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; list-style: none; margin: 36px 0 0; padding: 0; }
.device { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--text); text-decoration: none; }
.device .ico { width: 18px; height: 18px; color: var(--text-muted); }
.devices__sep { width: 1px; height: 18px; background: var(--border); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; max-width: 100%; padding: 4px 12px; border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; }
.hero__note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 12.5px; color: var(--text-muted); }
.hero__note span { display: inline-flex; align-items: center; gap: 8px; }
.hero__note span::before { content: ""; width: 4px; height: 4px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--accent); }
.band { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.band__inner { text-align: center; }
.band__title { margin: 12px 0 0; font-size: 32px; }
.band__text { max-width: 620px; margin: 16px auto 0; color: var(--text-muted); line-height: 1.8; }

.site-footer { padding-top: 80px; padding-bottom: 32px; background: var(--bg-panel); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .7fr; gap: 40px; }
.footer-brand p { max-width: 320px; margin-top: 20px; color: var(--text-muted); font-size: 14px; }
.footer-title { margin: 0 0 18px; font-size: 14px; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding-block: 5px; color: var(--text-muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 64px; font-size: 12px; color: var(--text-muted); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: var(--text-muted); }
.reveal { opacity: 1; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
.reveal-ready .reveal { transition: opacity .65s ease, transform .65s var(--ease); }
.reveal-ready .reveal.shown { opacity: 1; transform: none; }
@keyframes obj-in {
  from { opacity: 0; transform: translateY(14px) rotate(var(--tilt, 0deg)); }
  to { opacity: 1; transform: translateY(0) rotate(var(--tilt, 0deg)); }
}
@keyframes glow-breathe { from { opacity: .55; } to { opacity: 1; } }
@media (max-width: 1279px) {
  .mainnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1280px) {
  .mobile-nav, .menu-veil { display: none !important; }
}
@media (max-width: 1200px) {
  .hero { padding-top: 48px; padding-bottom: 80px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .copy { order: -1; }
  .stage { height: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px; }
  .obj, .conf { position: relative; left: auto; top: auto; }
  .conf { order: -1; flex: 1 1 100%; max-width: 560px; }
  .stage__glow { left: -160px; top: -120px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1, .hero__title { font-size: clamp(24px, 4.6vw, 30px); }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .hero__lead { font-size: 15px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .topbar__inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand__name { font-size: 14px; }
  .obj { flex: 1 1 100%; width: auto; max-width: 100%; }
  .obj, .conf, .tilt, [data-tilt] { transform: none; animation: none; }
  .obj__code { white-space: normal; overflow-wrap: anywhere; }
  .conf__body { padding: 18px; }
  .conf__ln { white-space: pre-wrap; overflow-wrap: anywhere; }
  .conf__kind { margin-left: 8px; }
  .devices { gap: 12px; }
  .devices__sep { display: none; }
  .band__title { font-size: 24px; }
  .card, .panel { padding: 22px; }
  .footer-grid { gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .langswitch { padding-inline: 10px; }
  .header-tools { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}