:root {
  --c-bg: #ffffff;
  --c-panel: #f7f7f8;
  --c-panel-lilac: #f2effc;
  --c-ink-zone: #131316;
  --c-border: #e6e6ea;
  --c-border-strong: #d9d9e0;
  --c-accent: #6a45f5;
  --c-accent-dark: #4a2bc9;
  --c-accent-on-dark: #a892ff;
  --c-text: #131316;
  --c-muted: #5f6070;
  --c-faint: #9b9cab;
  --c-on-accent: #ffffff;
  --c-on-dark: #f4f4f6;
  --c-on-dark-muted: #a6a6b2;
  --c-success: #1f9d6b;
  --c-warn: #c98a12;
  --c-error: #d6394b;
  --c-success-ink: #14724c;
  --c-warn-ink: #805706;
  --c-error-ink: #b32335;
  --c-circuit: #eeeef2;
  --c-circuit-panel: #e3e3ea;
  --c-circuit-dark: #24242b;
  --c-mask: #000000;
  --c-glow: rgba(106, 69, 245, 0.26);
  --c-glow-faint: rgba(106, 69, 245, 0.10);
  --c-ink-shadow-1: rgba(19, 19, 22, 0.05);
  --c-ink-shadow-2: rgba(19, 19, 22, 0.12);
  --c-accent-shadow: rgba(74, 43, 201, 0.45);
  --c-inner-hi: rgba(255, 255, 255, 0.22);
  --c-veil: rgba(19, 19, 22, 0.42);
  --grad-accent: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-dark) 100%);
  --grad-hairline: linear-gradient(90deg, transparent 0%, var(--c-accent) 30%, var(--c-accent-dark) 70%, transparent 100%);
  --grad-panel: linear-gradient(180deg, var(--c-panel) 0%, var(--c-panel) 52%, var(--c-panel-lilac) 100%);
  --shadow-hairline: 0 1px 2px var(--c-ink-shadow-1);
  --shadow-card: 0 1px 2px var(--c-ink-shadow-1), 0 12px 30px -12px var(--c-ink-shadow-2);
  --shadow-card-glow: 0 34px 60px -26px var(--c-glow);
  --shadow-btn-accent: inset 0 1px 0 var(--c-inner-hi), 0 8px 18px -8px var(--c-accent-shadow);
  --r-card: 10px;
  --r-shot: 10px;
  --r-btn: 8px;
  --r-pill: 999px;
  --r-small: 6px;
  --r-line: 2px;
  --r-pad: 1px;
  --r-round: 50%;
  --chamfer: 28px;
  --chamfer-zone: 44px;
  --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", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --weight-brand: 700;
  --weight-display: 800;
  --size-body: 16px;
  --size-small: 14px;
  --size-code: 0.875em;
  --size-h1: clamp(34px, 3.4vw, 48px);
  --size-h2: clamp(24px, 2.4vw, 32px);
  --size-h3: 21px;
  --tracking-display: -0.02em;
  --tracking-brand: -0.015em;
  --tracking-mono: 0.02em;
  --leading-body: 1.6;
  --leading-prose: 1.85;
  --leading-display: 1.14;
  --wrap: 1120px;
  --head-wrap: 1280px;
  --gutter: clamp(16px, 3vw, 24px);
  --page-inset: max(var(--gutter), calc((100vw - var(--head-wrap)) / 2));
  --header-h: 80px;
  --peek-h: 52px;
  --section-space: clamp(56px, 7vw, 96px);
  --space-card: 24px;
  --duration-fast: 180ms;
  --duration-reveal: 550ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --z-head: 40;
  --z-veil: 41;
  --z-drawer: 42;
  --z-language: 43;
  --z-fab: 20;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
svg { display: block; }
svg, .status-dot, .eb-dot { flex-shrink: 0; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }
::selection { background: var(--c-panel-lilac); color: var(--c-accent-dark); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
p, ul, ol, dl { margin-top: 0; }
p { margin-bottom: 1.2em; }
h1, h2, h3, p, li, dd { min-width: 0; }
main, section, article, aside, nav, header, footer, div, figure { min-width: 0; }
section[id], h2[id], h3[id], article[id] { scroll-margin-top: 28px; }
code, pre, .mono { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: var(--size-code); }
pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-small);
  background: var(--c-panel);
  color: var(--c-text);
  line-height: 1.8;
  tab-size: 2;
  -webkit-overflow-scrolling: touch;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; font-size: inherit; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section-muted { background: var(--c-panel); color: var(--c-text); }
.section-head { max-width: 740px; margin-bottom: 36px; }
.section-head h2 { margin-top: 12px; margin-bottom: 16px; }
.section-head p { color: var(--c-muted); }
.kicker { font-family: var(--font-mono); font-size: var(--size-small); font-weight: var(--weight-strong); color: var(--c-accent-dark); }
.muted { color: var(--c-muted); }
.keep-word { white-space: nowrap; }
.text-link { color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.prose { max-width: 76ch; line-height: var(--leading-prose); }
.prose h2 { margin-top: 2.4em; margin-bottom: 0.8em; }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.7em; }
.prose li + li { margin-top: 0.5em; }
.prose a:not(.btn):not(.app-store-button) { color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose :not(pre) > code {
  background: var(--c-panel);
  color: var(--c-accent-dark);
  padding: 0.1em 0.3em;
  border-radius: var(--r-small);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-two > *, .grid-three > * { min-width: 0; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.flow > * + * { margin-top: 24px; }
.card, .panel {
  padding: var(--space-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-bg);
  color: var(--c-text);
  box-shadow: var(--shadow-card), 0 0 32px -20px var(--c-glow);
}
.card h3, .panel h3 { margin-top: 0; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.panel-soft { background: var(--c-panel); color: var(--c-text); box-shadow: var(--shadow-hairline); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: var(--weight-strong);
  line-height: 1.4;
  text-align: center;
  transition: transform var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--grad-accent);
  color: var(--c-on-accent);
  box-shadow: var(--shadow-btn-accent);
}
.btn-ghost {
  background: var(--c-bg);
  color: var(--c-text);
  border-color: var(--c-border);
  box-shadow: var(--shadow-hairline);
}
.btn-ghost svg { width: 14px; height: 14px; color: var(--c-muted); }
.btn:hover:not(:disabled):not([aria-disabled="true"]) { transform: translateY(-1px); }
.btn-ghost:hover { border-color: var(--c-border-strong); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--c-panel);
  color: var(--c-muted);
  border-color: var(--c-border);
  box-shadow: none;
}

.site-head {
  position: relative;
  z-index: var(--z-head);
  height: var(--header-h);
  width: 100%;
  max-width: min(100%, calc(var(--head-wrap) + var(--gutter) * 2));
  margin-inline: auto;
  padding: 12px var(--gutter);
}
.pillbar {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-bg);
  color: var(--c-text);
  box-shadow: var(--shadow-hairline);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 24px;
  padding-right: 16px;
  margin-right: 4px;
  border-right: 1px solid var(--c-border);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-mark { display: block; width: 28px; height: 28px; border-radius: var(--r-round); flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: var(--weight-brand); font-size: 15px; letter-spacing: var(--tracking-brand); }
.desktop-nav { height: 100%; min-width: 0; }
.tabs {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  height: 100%;
}
.tabs li { min-width: 0; }
.tabs a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  color: var(--c-muted);
  font-size: 14.5px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease);
}
.tabs a:hover { color: var(--c-text); }
.tabs a[aria-current="page"] { color: var(--c-text); font-weight: var(--weight-strong); }
.tabs a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: var(--r-line);
  background: var(--grad-accent);
}
.header-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.language-picker { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 13.5px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
}
.lang-caret { color: var(--c-muted); font-size: 11px; }
.language-menu {
  position: absolute;
  z-index: var(--z-language);
  top: calc(100% + 14px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-bg);
  color: var(--c-text);
  box-shadow: var(--shadow-card);
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: var(--r-small); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--c-panel-lilac); color: var(--c-accent-dark); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-bg);
  color: var(--c-text);
}
.menu-toggle svg { width: 20px; height: 20px; }
.nav-veil {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: var(--z-veil);
  border: 0;
  background: var(--c-veil);
  color: var(--c-on-dark);
}
.mobile-drawer {
  position: fixed;
  z-index: var(--z-drawer);
  top: var(--header-h);
  left: var(--gutter);
  right: var(--gutter);
  max-height: calc(100dvh - var(--header-h) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-bg);
  color: var(--c-text);
  box-shadow: var(--shadow-card);
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 11px 16px; }
.mobile-drawer a[aria-current] { background: var(--c-panel-lilac); color: var(--c-accent-dark); border-radius: var(--r-small); }
.drawer-languages { border-top: 1px solid var(--c-border); margin-top: 12px !important; padding-top: 12px !important; }
.preview-menu { display: none; }
.preview-menu summary { list-style: none; }
.preview-menu summary::-webkit-details-marker { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: max(700px, calc(100vh - var(--header-h) - var(--peek-h)));
  position: relative;
  overflow-x: clip;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 56px 56px calc(var(--page-inset) + 10px);
}
.eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 4px 14px 4px 4px;
  margin: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-bg);
  color: var(--c-muted);
  box-shadow: var(--shadow-hairline);
  font-size: 13px;
  font-weight: var(--weight-medium);
}
.eb-icon { width: 24px; height: 24px; border-radius: var(--r-round); flex-shrink: 0; }
.eb-text strong { color: var(--c-text); font-weight: var(--weight-strong); }
.eb-dot, .status-dot { width: 6px; height: 6px; border-radius: var(--r-round); background: var(--c-accent); color: var(--c-on-accent); }
.hero-title { margin: 26px 0 0; font-size: var(--size-h1); line-height: var(--leading-display); color: var(--c-text); }
.hero-title > span { display: block; }
.lede { margin: 20px 0 0; max-width: 35em; font-size: 16.5px; line-height: 1.75; color: var(--c-muted); }
.lede strong { color: var(--c-text); font-weight: var(--weight-strong); }
.facts {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px dashed var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 600px;
}
.devices { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.dev { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: var(--weight-medium); color: var(--c-text); line-height: 28px; }
.dev svg { width: 18px; height: 18px; color: var(--c-muted); }
a.dev:hover, a.dev:hover svg { color: var(--c-accent-dark); }
.store-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 2px 11px; border: 1px solid var(--c-border); border-radius: var(--r-pill); font-size: 12.5px; font-weight: var(--weight-strong); background: var(--c-bg); color: var(--c-text); }
.store-pill svg { width: 12px; height: 12px; }
.hero-panel {
  position: relative;
  margin: 6px 0 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--grad-panel);
  color: var(--c-text);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer));
}
.circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--c-circuit-panel);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, var(--c-mask) 28%, transparent 92%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, var(--c-mask) 28%, transparent 92%);
}
.circuit .pad { fill: var(--c-panel); stroke: currentColor; }
.circuit .via { fill: currentColor; }
.circuit .dash { stroke-dasharray: 2 5; }
.plate { position: absolute; top: 26px; left: calc(var(--chamfer) + 22px); display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--c-muted); }
.plate::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-pad); background: var(--grad-accent); }
.rig-wrap { position: relative; z-index: 1; width: min(580px, calc(100% - 96px)); display: flex; flex-direction: column; align-items: center; }
.rig { position: relative; width: 100%; }
.ghost { position: absolute; inset: 0; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-card); }
.ghost-a { transform: translateY(-13px) scale(0.95); opacity: 0.55; }
.ghost-b { transform: translateY(-26px) scale(0.9); opacity: 0.3; }
.rig-glow { position: absolute; left: 6%; right: 6%; bottom: -54px; height: 130px; background: radial-gradient(ellipse 50% 50% at 50% 40%, var(--c-glow) 0%, var(--c-glow-faint) 45%, transparent 75%); color: var(--c-text); pointer-events: none; }
.rule-card { position: relative; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-card); box-shadow: var(--shadow-card), var(--shadow-card-glow); }
.rule-card::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 1px; background: var(--grad-hairline); }
.rc-tabs { display: flex; align-items: stretch; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--c-border); }
.rc-tab { position: relative; padding: 13px 8px 12px; font-family: var(--font-mono); font-size: 12.5px; font-weight: var(--weight-medium); letter-spacing: var(--tracking-mono); color: var(--c-muted); }
.rc-tab.is-on { color: var(--c-text); font-weight: var(--weight-strong); }
.rc-tab.is-on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: var(--r-line); background: var(--grad-accent); }
.rc-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 16px 22px 22px; }
.rule-line { min-width: 0; max-width: 100%; overflow-x: auto; font-family: var(--font-mono); font-size: 17px; font-weight: var(--weight-medium); letter-spacing: 0.005em; color: var(--c-text); white-space: nowrap; }
.tok-sep, .tok-val { color: var(--c-muted); }
.tok-policy { color: var(--c-accent-dark); font-weight: var(--weight-strong); }
.copy-btn { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: var(--r-btn); background: transparent; color: var(--c-muted); }
.copy-btn svg { width: 17px; height: 17px; }
.copy-btn:hover { background: var(--c-panel); color: var(--c-text); border-color: var(--c-border); }
.rig-link { margin-top: 40px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: var(--weight-strong); color: var(--c-text); }
.rig-link .arrow { color: var(--c-accent-dark); }
.zone-dark {
  position: relative;
  background: var(--c-ink-zone);
  color: var(--c-on-dark);
  padding: 72px var(--page-inset) 88px;
  overflow: hidden;
  clip-path: polygon(var(--chamfer-zone) 0, calc(100% - var(--chamfer-zone)) 0, 100% var(--chamfer-zone), 100% 100%, 0 100%, 0 var(--chamfer-zone));
}
.zone-dark .circuit { color: var(--c-circuit-dark); }
.zone-dark .circuit .pad { fill: var(--c-ink-zone); }
.zone-inner { position: relative; text-align: center; }
.zone-eyebrow { margin: 0; font-size: 14px; font-weight: var(--weight-strong); color: var(--c-accent-on-dark); }
.zone-title { margin: 12px 0 0; font-size: var(--size-h2); }
.zone-text { margin: 14px auto 0; max-width: 36em; font-size: 15.5px; line-height: 1.75; color: var(--c-on-dark-muted); }
.zone-inner > .app-store-button { margin-top: 28px; }

.site-footer { border-top: 1px solid var(--c-border); padding-top: 56px; padding-bottom: 28px; background: var(--c-bg); color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.2fr 0.65fr; gap: 36px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--weight-brand); }
.footer-brand img { width: 32px; height: 32px; border-radius: var(--r-round); }
.footer-intro { margin-top: 18px; max-width: 28em; color: var(--c-muted); font-size: var(--size-small); }
.footer-title { margin: 0 0 18px; font-size: var(--size-small); font-weight: var(--weight-strong); }
.footer-links { margin: 0; padding: 0; list-style: none; font-size: var(--size-small); }
.footer-links a { display: inline-block; padding-top: 5px; padding-bottom: 5px; color: var(--c-muted); }
.footer-links a:hover { color: var(--c-accent-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--c-border); color: var(--c-muted); font-size: 12.5px; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(14px); }
.reveal-ready .reveal { transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease); }
.reveal-ready .reveal.shown { opacity: 1; transform: none; }

@media (max-width: 1320px) and (min-width: 1280px) {
  .tabs a { padding-inline: 10px; font-size: 13.5px; }
  .tabs a[aria-current="page"]::after { left: 10px; right: 10px; }
}
@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .preview-menu { display: block; }
  .preview-menu .mobile-drawer { display: none; }
  .preview-menu[open] .mobile-drawer { display: block; }
}
@media (max-width: 1180px) {
  .hero-copy { padding-right: 40px; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 40px var(--gutter); }
  .hero-panel { margin: 0 var(--gutter) 32px; min-height: 420px; }
  .rig-wrap { width: calc(100% - 48px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --size-h1: 28px; }
  .grid-two, .grid-three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --chamfer: 18px; --chamfer-zone: 24px; --space-card: 20px; }
  .brand-name { display: none; }
  .brand { padding-right: 10px; }
  .lang { padding-inline: 10px; font-size: 12.5px; min-height: 40px; }
  .hero-title { font-size: 28px; }
  .lede { font-size: 15.5px; }
  .btn { min-height: 44px; padding-inline: 16px; font-size: 14.5px; }
  .rule-line { font-size: 13.5px; }
  .rc-tabs { gap: 3px; padding-inline: 8px; }
  .rc-tab { font-size: 11.5px; padding: 12px 5px 11px; letter-spacing: normal; }
  .rc-body { gap: 8px; padding: 20px 10px 20px 14px; }
  .rig-wrap { width: calc(100% - 32px); }
  .plate { display: none; }
  .hero-panel { min-height: 340px; }
  .eyebrow { font-size: 11.5px; gap: 7px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom { align-items: flex-start; }
  .tilt, [data-tilt] { transform: none !important; }
  .zone-dark { padding-inline: var(--gutter); }
}
@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; }
}
@media print {
  .site-head, .dl-fab, .nav-veil, .mobile-drawer { display: none !important; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}