:root {
  --bg: #FFFFFF;
  --bg-panel: #F4F6FB;
  --bg-panel-2: #EAEEF8;
  --border: #E3E7F1;
  --accent: #1D4AFF;
  --accent-dark: #0F2FC4;
  --text: #0B1033;
  --text-muted: #5A6180;
  --success: #12A06A;
  --warn: #D98A0B;
  --error: #E0364F;
  --hero-top: #050B2E;
  --hero-mid: #1A36B8;
  --hero-low: #8A97F0;
  --accent-2a: #7B5CFF;
  --accent-2b: #FF5FA2;
  --glow: #E9B9F2;
  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, 0.80);
  --on-dark-faint: rgba(255, 255, 255, 0.56);
  --line-dark: rgba(255, 255, 255, 0.18);
  --fill-dark: rgba(255, 255, 255, 0.08);
  --shadow-ink: rgba(5, 11, 46, 0.50);
  --veil: rgba(5, 11, 46, 0.55);
  --clear: transparent;
  --grad-accent-2: linear-gradient(90deg, var(--accent-2a) 0%, var(--accent-2b) 100%);
  --grad-hero: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-mid) 44%, var(--hero-low) 74%, var(--hero-low) 100%);
  --grad-glow: radial-gradient(560px 380px at 79% 58%, color-mix(in srgb, var(--glow) 30%, transparent) 0%, transparent 72%);
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-pill: 999px;
  --r-card: 28px;
  --r-canvas: 32px;
  --r-window: 16px;
  --r-small: 8px;
  --r-circle: 50%;
  --gutter: clamp(16px, 3.4vw, 48px);
  --wrap-w: 1184px;
  --reading-w: 800px;
  --nav-h: 68px;
  --card-w: 336px;
  --card-h: 360px;
  --card-gap: 24px;
  --section-gap: clamp(64px, 8vw, 112px);
  --ease: 0.2s ease;
  --reveal-duration: 0.6s;
  --tab-cycle: 8s;
}
*, *::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: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, h4 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.16; }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: clamp(21px, 2vw, 26px); }
h4 { font-size: 20px; }
p { margin: 0 0 20px; }
strong { font-weight: 500; }
small, .small { font-size: 14px; }
code, pre, kbd { font-family: var(--font-mono); }
code { font-size: 0.88em; overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  margin: 24px 0;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-window);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
  tab-size: 2;
}
pre code { font-size: inherit; white-space: pre; overflow-wrap: normal; word-break: normal; }
button, a, input, summary { -webkit-tap-highlight-color: var(--clear); }
hr { margin: 32px 0; border: 0; border-top: 1px solid var(--border); }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap-w) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading-w) + var(--gutter) * 2); }
.section { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 0; }
.section-head > *, .grid > *, .footer-grid > *, .feature-scene > *, .client-layout > * { min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack > * + * { margin-top: 24px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.grad {
  background: var(--grad-accent-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--clear);
}
.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;
  z-index: 100;
  top: 8px;
  left: 16px;
  padding: 10px 18px;
  transform: translateY(-180%);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--accent);
}
.skip-link:focus { transform: none; }
.btn, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--clear);
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-dark);
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.btn svg, .nav-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover, .nav-cta:hover, .btn.is-hover { background: var(--accent-dark); color: var(--on-dark); }
.btn-secondary { border-color: var(--border); background: var(--bg); color: var(--accent); }
.btn-secondary:hover { background: var(--bg-panel); color: var(--accent-dark); }
.btn-primary { background: var(--on-dark); color: var(--accent); }
.btn-primary:hover { background: var(--bg-panel); color: var(--accent-dark); }
.btn-ghost {
  border-color: color-mix(in srgb, var(--hero-low) 70%, transparent);
  background: color-mix(in srgb, var(--hero-low) 16%, transparent);
  color: var(--on-dark);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--hero-low) 28%, transparent); color: var(--on-dark); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel-2); color: var(--text-muted); border-color: var(--border); }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 4px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.card, .panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text);
}
.panel { background: var(--bg-panel); color: var(--text); border-color: var(--clear); }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.card-link { display: block; text-decoration: none; transition: border-color var(--ease), transform var(--ease); }
.card-link:hover { color: var(--text); border-color: var(--accent); transform: translateY(-3px); }
.prose { min-width: 0; }
.prose :is(h2, h3, h4) { margin-top: 48px; scroll-margin-top: 28px; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose li + li { margin-top: 8px; }
.prose img { border-radius: var(--r-window); }
.prose > :first-child { margin-top: 0; }
.decorated, .hero, .firstscreen { overflow-x: clip; }
.reveal { opacity: 1; transform: none; }
.reveal.is-waiting { opacity: 0; transform: translateY(18px); transition: opacity var(--reveal-duration) ease, transform var(--reveal-duration) ease; }
.reveal.shown { opacity: 1; transform: none; }

/* 独立宽版心；不复用正文 wrap。 */
#site-header { position: relative; z-index: 40; background: var(--hero-top); color: var(--on-dark); }
.firstscreen #site-header { background: var(--clear); color: var(--on-dark); }
.topbar {
  position: relative;
  z-index: 42;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  height: var(--nav-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  color: var(--on-dark);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.01em; }
.brand:hover { color: var(--on-dark); }
.brand img { display: block; width: 30px; height: 30px; flex-shrink: 0; }
.mainnav { min-width: 0; margin-left: 28px; margin-right: auto; }
.mainnav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0; }
.mainnav li { display: flex; align-items: center; flex-shrink: 0; }
.mainnav li + li::before { content: "/"; margin: 0 12px; color: var(--on-dark-faint); opacity: 0.6; font-size: 13px; }
.mainnav a { display: block; padding: 8px 0; color: var(--on-dark-soft); font-size: 14.5px; line-height: 1; text-decoration: none; white-space: nowrap; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--on-dark); }
.topbar-end { display: flex; align-items: center; gap: 18px; flex-shrink: 0; margin-left: auto; }
.lang-control { position: relative; }
.lang { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; padding: 6px 2px; border: 0; background: var(--clear); color: var(--on-dark-soft); font-size: 14px; line-height: 1; }
.lang svg { width: 15px; height: 15px; flex-shrink: 0; }
.lang:hover { color: var(--on-dark); }
.lang-short { display: none; }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 46;
  width: 200px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-window);
  background: var(--bg);
  color: var(--text);
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-small); color: var(--text); text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--bg-panel); color: var(--accent); }
.nav-cta { min-height: 38px; padding: 0 20px; font-size: 14.5px; line-height: 1; }
.nav-cta:hover { box-shadow: 0 0 0 4px var(--line-dark); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--line-dark); border-radius: var(--r-small); background: var(--clear); color: var(--on-dark); }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer { position: absolute; z-index: 44; top: var(--nav-h); left: 0; right: 0; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gutter) 24px; background: var(--hero-top); color: var(--on-dark); }
.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 12px; color: var(--on-dark-soft); text-decoration: none; }
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--hero-mid); color: var(--on-dark); }
.drawer-languages { margin-top: 16px; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.drawer-label { margin: 0; padding: 8px 12px; color: var(--on-dark-soft); font-size: 13px; }
.nav-veil { position: fixed; z-index: 41; inset: var(--nav-h) 0 0; border: 0; background: var(--veil); color: var(--on-dark); }
.topbar :focus-visible { outline-color: var(--on-dark); }
.preview-mobile { display: none; }

.site-footer { padding-top: 64px; padding-bottom: 28px; border-top: 1px solid var(--border); background: var(--bg-panel); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.3fr 0.65fr; gap: 40px; }
.footer-brand .brand { color: var(--text); margin-bottom: 18px; }
.footer-brand p { max-width: 330px; color: var(--text-muted); font-size: 14px; }
.footer-title { margin-bottom: 16px; font-size: 16px; font-weight: 500; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding-block: 5px; color: var(--text-muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-links a[aria-current="true"] { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: var(--text-muted); text-decoration: none; }

/* 拍板首屏：两圈静态轨道、五卡横向出血。 */
.firstscreen {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-content: center;
  overflow: hidden;
  background: var(--grad-glow), var(--grad-hero);
  color: var(--on-dark);
}
.stage { position: relative; z-index: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding-bottom: 8px; }
.copy { position: relative; max-width: 960px; margin: 0 auto; padding: 20px 24px 0; text-align: center; }
.orbit { position: absolute; z-index: -1; left: 50%; top: -55px; width: 1240px; max-width: none; height: 360px; transform: translateX(-50%); pointer-events: none; }
.orb-stop { stop-color: var(--on-dark); }
.orbit .ring { fill: none; stroke: url(#orb-fade); stroke-width: 1; }
.orbit .ring-inner { stroke-dasharray: 2 7; }
.orbit .node { fill: var(--hero-low); }
.orbit .node-halo { fill: none; stroke: var(--hero-low); stroke-opacity: 0.35; }
.orbit text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; fill: var(--on-dark-faint); }
.badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 30px; margin-bottom: 20px; padding: 5px 14px 5px 12px; border: 1px solid var(--line-dark); border-radius: var(--r-pill); background: var(--fill-dark); color: var(--on-dark-soft); font-size: 13px; line-height: 1.4; }
.badge-dot { position: relative; width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--success); color: var(--on-dark); }
.badge-dot::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-circle); background: var(--success); color: var(--on-dark); animation: breathe 2.4s ease-out infinite; }
@keyframes breathe { from { transform: scale(1); opacity: 0.65; } to { transform: scale(2.6); opacity: 0; } }
.hero-title { margin: 0 0 24px; color: var(--on-dark); font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; line-height: 1.16; }
.hero-title > span { display: block; }
.cta-row { display: flex; justify-content: center; gap: 14px; margin-bottom: 18px; }
.lede { max-width: 820px; margin: 0 auto 16px; color: var(--on-dark-soft); font-size: 17px; line-height: 1.7; }
.lede strong { color: var(--on-dark); font-weight: 500; }
.platforms ul { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.platforms a { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; color: var(--on-dark-soft); text-decoration: none; font-size: 14px; line-height: 1; }
.platforms a:hover { color: var(--on-dark); }
.platforms svg { width: 16px; height: 16px; flex-shrink: 0; }
.deck-wrap { position: relative; margin-top: 34px; }
.deck-wrap::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 58%; bottom: -640px; background: linear-gradient(180deg, var(--clear) 0, var(--bg) 150px); color: var(--text); }
.deck { position: relative; z-index: 1; display: flex; justify-content: center; gap: var(--card-gap); margin: 0; padding: 0; list-style: none; }
.deck > li { flex: 0 0 var(--card-w); min-width: 0; }
.feat { position: relative; display: block; height: var(--card-h); border-radius: var(--r-card); overflow: hidden; color: var(--on-dark); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-dark), 0 30px 60px -38px var(--shadow-ink); transition: transform 0.35s ease; }
.feat:hover { color: var(--on-dark); transform: translateY(-6px); }
.feat:focus-visible { outline: 3px solid var(--on-dark); outline-offset: 4px; }
.feat--sub { background: linear-gradient(155deg, var(--hero-top), var(--accent-dark)); color: var(--on-dark); }
.feat--mode { background: linear-gradient(155deg, var(--accent-dark), var(--accent)); color: var(--on-dark); }
.feat--tun { background: linear-gradient(155deg, var(--hero-mid), var(--accent)); color: var(--on-dark); }
.feat--rules { background: linear-gradient(155deg, var(--accent-2a), var(--accent-2b)); color: var(--on-dark); }
.feat--yaml { background: linear-gradient(155deg, var(--accent), var(--hero-low)); color: var(--on-dark); }
.feat-head { position: relative; z-index: 2; padding: 22px 24px 0; }
.feat-name { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.3; }
.feat-cap { display: block; margin-top: 6px; color: var(--on-dark-soft); font-size: 13px; line-height: 1.4; }
.tag-adv { position: absolute; z-index: 2; top: 24px; right: 22px; min-height: 24px; padding: 0 11px; border-radius: var(--r-pill); background: var(--bg); color: var(--text); font-size: 12px; font-weight: 500; line-height: 24px; }
.win { position: absolute; z-index: 1; left: 16px; right: 16px; top: 104px; bottom: 16px; overflow: hidden; border-radius: var(--r-window); background: var(--bg); color: var(--text); box-shadow: 0 18px 36px -26px var(--shadow-ink); }
.win-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--border); background: var(--bg-panel); color: var(--text-muted); }
.win-bar i { display: block; width: 9px; height: 9px; flex-shrink: 0; border-radius: var(--r-circle); }
.win-bar .d-r { background: var(--error); color: var(--text); }
.win-bar .d-y { background: var(--warn); color: var(--text); }
.win-bar .d-g { background: var(--success); color: var(--text); }
.win-title { position: absolute; left: 44px; right: 44px; text-align: center; color: var(--text-muted); font-size: 11.5px; line-height: 30px; pointer-events: none; }
.win-body { min-width: 0; padding: 14px; font-size: 13px; line-height: 1.4; }
.field-label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: 11.5px; line-height: 16px; }
.field { display: flex; align-items: center; gap: 8px; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--text); }
.field + .field-label { margin-top: 12px; }
.field--url { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.field--name { height: 36px; color: var(--text-muted); font-size: 12.5px; }
.field-plus { flex-shrink: 0; color: var(--accent); font-size: 20px; }
.field-url { min-width: 0; font-family: var(--font-mono); font-size: 11px; overflow-wrap: anywhere; line-height: 1.3; }
.win-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.mock-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 18px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-dark); font-size: 12.5px; line-height: 1; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 38px; padding: 4px; border-radius: var(--r-pill); background: var(--bg-panel-2); color: var(--text-muted); }
.seg span { display: grid; place-items: center; border-radius: var(--r-pill); color: var(--text-muted); font-size: 13px; }
.seg .is-on { background: var(--accent); color: var(--on-dark); }
.modes { margin: 14px 0 0; padding: 0; list-style: none; }
.modes li { display: grid; grid-template-columns: 7px 34px minmax(0, 1fr); align-items: center; gap: 8px; padding: 9px 2px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.modes li:first-child { border-top: 0; }
.modes b { color: var(--text); font-weight: 500; font-size: 13px; }
.mode-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--bg-panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.mode-dot.is-on { background: var(--accent); color: var(--on-dark); box-shadow: none; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--border); }
.setting:first-child { border-top: 0; padding-top: 4px; }
.setting b { display: block; font-weight: 500; font-size: 13.5px; color: var(--text); line-height: 18px; }
.setting small { display: block; color: var(--text-muted); font-size: 11.5px; line-height: 16px; }
.switch { position: relative; flex-shrink: 0; width: 36px; height: 20px; border-radius: var(--r-pill); background: var(--bg-panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: var(--r-circle); background: var(--bg); color: var(--text); box-shadow: 0 1px 3px var(--shadow-ink); }
.switch.is-on { background: var(--accent); color: var(--on-dark); box-shadow: none; }
.switch.is-on::after { left: 18px; box-shadow: none; }
.code { counter-reset: ln; overflow-x: auto; font-family: var(--font-mono); font-size: 11px; line-height: 22px; color: var(--text); }
.code > span { display: block; white-space: pre; }
.code > span::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 14px; margin-right: 12px; text-align: right; color: var(--text-muted); opacity: 0.5; }
.code .c, .code .p { color: var(--text-muted); }
.code .k, .code .t { color: var(--accent); }
.code .n { color: var(--success); }
.peek-cat { position: absolute; z-index: 3; top: 64px; left: 124px; width: 60px; height: 46px; pointer-events: none; }
.peek-cat .cat-line { fill: var(--bg); stroke: var(--hero-top); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.peek-cat .cat-stroke { fill: none; stroke: var(--hero-top); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.factbar { position: relative; z-index: 2; display: flex; justify-content: center; padding: 6px 24px 14px; }
.factbar-inner { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; min-height: 32px; padding: 8px 16px; 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: 12px; letter-spacing: 0.02em; line-height: 1; }
.fact-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--success); color: var(--text); }
.fact-sep { color: var(--hero-low); }
.firstscreen :is(.btn, .platforms a):focus-visible { outline-color: var(--on-dark); }

@media (max-width: 1199px) {
  .mainnav { display: none; }
  .menu-toggle { display: inline-flex; }
  .topbar-end { margin-left: auto; }
  .preview-mobile { display: block; }
  .preview-mobile summary { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; cursor: pointer; list-style: none; }
  .preview-mobile summary::-webkit-details-marker { display: none; }
  .preview-mobile[open] .mobile-drawer { display: block; }
}
@media (max-width: 860px) {
  :root { --card-w: 280px; --card-gap: 16px; }
  .orbit { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck { justify-content: flex-start; overflow-x: auto; padding: 0 20px 10px; scroll-padding: 0 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .deck::-webkit-scrollbar { display: none; }
  .deck > li { scroll-snap-align: center; }
}
@media (max-width: 768px) {
  h1, .hero-title { font-size: clamp(24px, 7vw, 30px); }
  .lede { font-size: 16px; }
  .section-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .topbar { gap: 10px; }
  .topbar-end { gap: 8px; margin-left: auto; }
  .topbar-end > .nav-cta { display: none; }
  .topbar-end > .lang-control { display: none; }
  .brand { gap: 8px; font-size: 14px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang { padding-inline: 6px; }
  .grid, .grid-two { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .card, .panel { padding: 22px; }
  .cta-row { flex-wrap: wrap; }
  .copy { padding-inline: var(--gutter); }
  .platforms ul { gap: 12px 20px; }
  .factbar-inner { gap: 8px 10px; font-size: 11px; }
  .tilt, [data-tilt] { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-waiting { opacity: 1; transform: none; }
  .badge-dot::after { opacity: 0; }
  .feat:hover, .card-link:hover { transform: none; }
}