:root {
  --bg: #ffffff;
  --bg-panel: #f1f9f8;
  --bg-panel-2: #e4f3f1;
  --border: #dbe7e6;
  --accent: #0e9f8e;
  --accent-dark: #0a7a6e;
  --text: #0f1d24;
  --text-muted: #5d6b73;
  --success: #1f9d62;
  --warn: #c7811b;
  --error: #d1435b;
  --ink: #0f1d24;
  --spec-amber: #e0a43a;
  --spec-coral: #e06a7a;
  --on-ink: #ffffff;
  --on-ink-muted: rgba(255, 255, 255, 0.78);
  --on-ink-line: rgba(255, 255, 255, 0.26);
  --on-accent: #ffffff;
  --accent-soft: rgba(14, 159, 142, 0.12);
  --accent-line: rgba(14, 159, 142, 0.38);
  --accent-faint: rgba(14, 159, 142, 0.06);
  --clear: transparent;

  --font-display: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-display: 800;
  --ls-display: -0.035em;
  --ls-cjk: -0.02em;
  --ls-label: 0.08em;

  --r-card: 10px;
  --r-btn: 8px;
  --r-pill: 999px;
  --r-nav: 12px;
  --r-tile: 12px;
  --r-small: 4px;
  --r-circle: 50%;
  --r-device-tablet: 16px;
  --r-device-phone: 18px;
  --r-device-screen: 9px;

  --shadow-card: 0 1px 2px rgba(15, 29, 36, 0.05), 0 8px 24px rgba(15, 29, 36, 0.05);
  --shadow-nav: 0 1px 2px rgba(15, 29, 36, 0.04), 0 8px 24px rgba(15, 29, 36, 0.05);
  --shadow-soft: 0 1px 2px rgba(15, 29, 36, 0.05);
  --shadow-btn: 0 1px 2px rgba(15, 29, 36, 0.05), 0 8px 24px rgba(15, 29, 36, 0.06);
  --shadow-fab: 0 1px 2px rgba(15, 29, 36, 0.05), 0 8px 24px rgba(15, 29, 36, 0.06);

  --wrap: 1248px;
  --reading: 820px;
  --head-wrap: 1328px;
  --gutter: 24px;
  --section-space: 160px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --focus-width: 2px;
  --line: 1px;
  --speed: 200ms;
  --reveal-speed: 650ms;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --layer-head: 30;
  --layer-menu: 35;
  --layer-fab: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
html, body { margin: 0; padding: 0; }
html.nav-open { overflow: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: var(--weight-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
a { color: var(--accent-dark); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
img, svg { vertical-align: middle; max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
p, ul, ol, dl, blockquote, figure { margin-top: 0; }
p { margin-bottom: 1.2em; }
ul, ol { padding-left: 1.5em; }
li + li { margin-top: 0.3em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: var(--weight-display);
  line-height: 1.2;
  letter-spacing: var(--ls-display);
  text-wrap: balance;
  margin-top: 0;
  margin-bottom: 0.65em;
  overflow-wrap: break-word;
}
:lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h3,
:lang(zh-TW) h1, :lang(zh-TW) h2, :lang(zh-TW) h3,
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3,
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { letter-spacing: var(--ls-cjk); }
h1 { font-size: clamp(34px, 3.4vw, 48px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 25px); }
h4 { font-size: 18px; }
strong { font-weight: var(--weight-semibold); }
small { font-size: 0.8125em; }
code, pre, kbd, samp, .mono { font-family: var(--font-mono); }
code {
  font-size: 0.875em;
  color: var(--accent-dark);
  background: var(--bg-panel);
  border-radius: var(--r-small);
  overflow-wrap: anywhere;
  word-break: normal;
}
p code, li code, td code { padding: 0.12em 0.3em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 24px;
  border: var(--line) solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
  line-height: 1.8;
  -webkit-overflow-scrolling: touch;
}
pre code {
  display: block;
  padding: 0;
  color: inherit;
  background: var(--clear);
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
}
:focus-visible {
  outline: var(--focus-width) solid var(--accent-dark);
  outline-offset: 3px;
}
::selection { color: var(--text); background: var(--bg-panel-2); }
.wrap, .reading {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap { max-width: var(--wrap); }
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
.section-tint { background: var(--bg-panel); color: var(--text); }
.section-head { max-width: 760px; margin-bottom: var(--space-lg); }
.grid-2, .grid-3 {
  display: grid;
  gap: var(--space-md);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 > *, .grid-3 > *, .hero-grid > *, .feature-row > *, .footer-grid > * { min-width: 0; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.stack > * + * { margin-top: var(--space-md); }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }
.hl { color: var(--accent); }
.eyebrow {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--ls-label);
  color: var(--accent-dark);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: var(--gutter);
  z-index: 100;
  transform: translateY(-200%);
  padding: 8px 16px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-btn);
}
.skip-link:focus { transform: none; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 20px;
  border: var(--line) solid var(--clear);
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  font-weight: var(--weight-semibold);
  text-align: center;
  text-decoration: none;
  transition: background-color var(--speed), border-color var(--speed), transform var(--speed);
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover, .btn-primary.is-hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-ghost {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}
.btn-ghost svg { color: var(--accent-dark); }
.btn-ghost:hover { border-color: var(--accent-line); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--bg-panel);
  color: var(--text-muted);
  border-color: var(--border);
  box-shadow: none;
}
.btn.is-focus { outline: var(--focus-width) solid var(--accent-dark); outline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.ribbon {
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 3px var(--gutter) 0;
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.ribbon::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--spec-amber) 55%, var(--spec-coral));
}
.ribbon strong { color: var(--on-ink); }
.ribbon-mono { font: 12px var(--font-mono); color: var(--on-ink); }
.ribbon-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 1px 11px;
  border: var(--line) solid var(--on-ink-line);
  border-radius: var(--r-pill);
  color: var(--on-ink);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  text-decoration: none;
}
.ribbon-link svg { width: 12px; height: 12px; }
.top-zone { position: relative; overflow-x: clip; }
.top-zone::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 70vh;
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel) 46%, var(--bg));
  pointer-events: none;
}
#site-header { position: relative; z-index: var(--layer-head); }
.site-head { position: relative; z-index: var(--layer-head); padding-top: 14px; padding-inline: var(--gutter); }
.head-frame { max-width: min(100%, calc(1280px + var(--gutter) * 2)); margin-inline: auto; }
.navbar {
  position: relative;
  min-height: 60px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 18px;
  background: var(--bg);
  color: var(--text);
  border: var(--line) solid var(--border);
  border-radius: var(--r-nav);
  box-shadow: var(--shadow-nav);
}
.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 16.5px;
  line-height: 1.3;
  letter-spacing: var(--ls-cjk);
  text-decoration: none;
}
.brand img, .brand-mark { width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--r-circle); }
.brand-mark {
  display: inline-block;
  background: linear-gradient(150deg, var(--bg), var(--bg-panel-2));
  color: var(--accent-dark);
  border: var(--line) solid var(--accent-line);
}
.desktop-nav { min-width: 0; margin-left: auto; }
.tabs {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.tabs li { margin: 0; }
.tabs a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 14px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: var(--weight-medium);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--speed);
}
.tabs a:hover, .tabs a[aria-current="page"] { color: var(--text); }
.tabs a[aria-current="page"] { font-weight: var(--weight-semibold); }
.tabs a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: var(--r-small) var(--r-small) 0 0;
  background: var(--accent);
}
.head-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-sep { width: 1px; height: 22px; margin-inline: 2px 4px; background: var(--border); }
.language-picker { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
  border: var(--line) solid var(--border);
  border-radius: var(--r-btn);
  background: var(--bg);
  color: var(--text);
  font-size: 13.5px;
  font-weight: var(--weight-medium);
}
.lang svg { width: 15px; height: 15px; color: var(--accent-dark); }
.lang-short { display: none; }
.lang-caret { color: var(--text-muted); font-size: 11px; }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  padding: 6px;
  border: var(--line) solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-card);
  z-index: var(--layer-menu);
}
.language-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--r-btn);
  color: var(--text);
  text-decoration: none;
}
.language-menu a:hover, .language-menu a[aria-current="true"] {
  color: var(--accent-dark);
  background: var(--bg-panel);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: var(--line) solid var(--border);
  border-radius: var(--r-btn);
  background: var(--bg);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-veil { position: fixed; inset: 0; z-index: 0; border: 0; background: var(--accent-soft); color: var(--text); }
.mobile-drawer {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline: 0;
  z-index: 2;
  padding: 12px;
  max-height: calc(100dvh - 150px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  color: var(--text);
  border: var(--line) solid var(--border);
  border-radius: var(--r-nav);
  box-shadow: var(--shadow-nav);
}
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer li { margin: 0; }
.mobile-drawer a {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--r-btn);
}
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--accent-dark); }
.drawer-languages { margin-top: 12px; padding-top: 12px; border-top: var(--line) solid var(--border); }

.hero {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-top: 22px;
  padding-inline: var(--gutter);
  overflow-x: clip;
}
.hero-grid { display: grid; grid-template-columns: 580px minmax(0, 1fr); gap: 48px; align-items: center; min-height: 540px; }
.ring-stage { position: relative; height: 540px; display: flex; align-items: center; justify-content: center; min-width: 0; }
.ring-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--accent);
  transform-origin: center;
  animation: ring-breath 18s ease-in-out infinite;
}
.ring-svg .frag { font: 500 11px var(--font-mono); letter-spacing: 0.02em; fill: var(--accent-dark); opacity: 0.55; }
.ring-svg .particle { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hero-copy { padding-left: 4px; }
.app-ring {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 5px 0 0 5px;
  border-radius: var(--r-circle);
  border: var(--line) solid var(--border);
  background: linear-gradient(150deg, var(--bg), var(--bg-panel-2));
  color: var(--accent-dark);
  box-shadow: var(--shadow-soft);
}
.app-ring::after { content: ""; position: absolute; inset: -6px; border: var(--line) solid var(--accent); border-radius: var(--r-circle); }
.app-ring img { display: block; width: 100%; height: 100%; border-radius: var(--r-circle); }
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  margin-top: 20px;
  padding: 3px 12px 3px 10px;
  border: var(--line) solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: var(--weight-semibold);
  box-shadow: var(--shadow-soft);
}
.badge-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.badge-live a { color: inherit; text-decoration: none; }
.badge-sep { color: var(--text-muted); font-weight: var(--weight-normal); }
.hero-title { margin: 20px 0 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.14; }
.hero-title .line { display: block; }
.lede { max-width: 520px; margin: 22px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--text-muted); }
.lede strong { color: var(--text); }
.lede .mono { font-size: 13.5px; color: var(--accent-dark); }
@keyframes ring-breath { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.015); opacity: 1; } }

.card, .panel {
  position: relative;
  padding: 28px;
  border: var(--line) solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.card-glow { overflow-x: clip; }
.card-glow::before, .panel::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: var(--r-circle);
  background: radial-gradient(circle, var(--bg-panel-2), var(--bg-panel) 40%, var(--clear) 70%);
  pointer-events: none;
}
.card-glow > *, .panel > * { position: relative; }
.panel-title { font-size: 15.5px; font-weight: var(--weight-bold); letter-spacing: var(--ls-cjk); margin: 0; }
.panel-desc { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.peek {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 18px auto 0;
  padding-inline: var(--gutter);
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.peek .panel { height: 330px; padding: 22px 22px 0; overflow: hidden; }
.panel-art { position: absolute; inset: 96px 0 0; }
.iso-card {
  position: absolute;
  left: calc(50% - 150px);
  top: 30px;
  width: 300px;
  height: 132px;
  padding: 14px 18px;
  border: var(--line) solid var(--accent-line);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text-muted);
  font: 13px/26px var(--font-mono);
  transform: rotateX(55deg) rotateZ(-38deg);
}
.iso-card--ghost { top: 64px; background: var(--bg-panel); color: var(--text-muted); border-color: var(--border); }
.iso-card--ghost-2 { top: 96px; border-color: var(--border); opacity: 0.7; }
.cl { display: block; white-space: nowrap; padding-inline: 6px; border-radius: var(--r-small); }
.cl b { font-weight: var(--weight-semibold); color: var(--accent-dark); }
.cl-hit { background: var(--bg-panel-2); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.store-card { margin-inline: 22px; padding: 14px; border: var(--line) solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); }
.store-top { display: flex; align-items: center; gap: 12px; }
.app-tile { flex-shrink: 0; width: 48px; height: 48px; border: var(--line) solid var(--border); border-radius: var(--r-circle); background: linear-gradient(150deg, var(--bg), var(--bg-panel-2)); color: var(--accent-dark); }
.store-name { font-size: 15px; font-weight: var(--weight-bold); }
.store-sub { font-size: 12px; color: var(--text-muted); }
.glist { list-style: none; margin: 12px 0 0; padding: 0; border: var(--line) solid var(--border); border-radius: var(--r-btn); background: var(--bg-panel); color: var(--text); }
.glist li { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; margin: 0; font-size: 12px; }
.glist li + li { border-top: var(--line) solid var(--border); }
.g-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--success); }
.g-key { flex-shrink: 0; color: var(--text-muted); }
.g-val { margin-left: auto; font-weight: var(--weight-semibold); overflow-wrap: anywhere; }
.dev { position: absolute; border: var(--line) solid var(--accent); background: var(--bg); color: var(--text); transform: rotateX(55deg) rotateZ(-38deg); }
.dev-ipad { left: calc(50% - 135px); top: 11px; width: 230px; height: 168px; border-radius: var(--r-device-tablet); }
.dev-iphone { left: calc(50% + 46px); top: 0; width: 84px; height: 168px; border-radius: var(--r-device-phone); z-index: 1; }
.scr { position: absolute; inset: 10px; border-radius: var(--r-device-screen); border: var(--line) solid var(--accent-soft); background: linear-gradient(135deg, var(--bg-panel-2), var(--bg-panel) 50%, var(--bg)); color: var(--text); }
.dev-iphone .scr { inset: 7px; }
.dev-iphone::after { content: ""; position: absolute; top: 12px; left: calc(50% - 12px); width: 24px; height: 6px; border: var(--line) solid var(--accent-line); border-radius: var(--r-pill); background: var(--bg); }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 96px; }
.feature-row.is-reversed .feature-copy { order: 2; }
.feature-art { display: grid; place-items: center; min-height: 360px; overflow: hidden; }
.feature-art svg { width: 100%; height: auto; color: var(--accent-dark); }
.feature-art .art-line { fill: var(--bg); stroke: var(--accent); stroke-width: 1; }
.feature-art .art-fill { fill: var(--bg-panel-2); stroke: var(--accent); stroke-width: 1; }
.feature-art text { fill: var(--accent-dark); font: 12px var(--font-mono); }
.prose { min-width: 0; }
.prose h2 { margin-top: 2.5em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
.reveal-ready .reveal { transition: opacity var(--reveal-speed) var(--ease), transform var(--reveal-speed) var(--ease); }
.reveal.shown { opacity: 1; transform: none; }

.site-footer { padding-top: 80px; padding-bottom: 100px; border-top: var(--line) solid var(--border); background: var(--bg-panel); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1.3fr; gap: 64px; }
.footer-brand p { margin-top: 20px; max-width: 360px; font-size: 14px; color: var(--text-muted); }
.footer-title { font-size: 14px; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding-block: 4px; color: var(--text-muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: var(--line) solid var(--border); }
.footer-languages a { padding-block: 6px; color: var(--accent-dark); font-size: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; font-size: 12px; color: var(--text-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--accent-dark); }

@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .head-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .nav-sep { display: none; }
  .navbar { min-height: 60px; }
}
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .ring-stage { height: auto; }
  .feature-row { gap: 48px; }
}
@media (max-width: 900px) {
  .ribbon { justify-content: flex-start; font-size: 12px; padding-block: 9px 6px; }
  .ribbon > span { min-width: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { order: 1; padding-left: 0; }
  .ring-stage { order: 2; width: 100%; max-width: 520px; margin-inline: auto; }
  .hero { padding-top: 36px; }
  .peek { grid-template-columns: minmax(0, 1fr); }
  .feature-row { grid-template-columns: minmax(0, 1fr); }
  .feature-row.is-reversed .feature-copy { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  h1, .hero-title { font-size: clamp(24px, 4.5vw, 30px); }
  h2 { font-size: clamp(25px, 4vw, 32px); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-space: 160px; }
  .site-head { padding-top: 10px; }
  .navbar { padding: 7px 8px 7px 10px; gap: 4px; }
  .brand { font-size: 13px; gap: 6px; }
  .brand img, .brand-mark { width: 26px; height: 26px; }
  .head-tools { margin-left: auto; gap: 5px; }
  .lang { padding-inline: 8px; min-height: 44px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang svg { display: none; }
  .ribbon { align-items: center; gap: 8px; font-size: 11px; }
  .ribbon-link { padding-inline: 8px; }
  .hero-grid { gap: 16px; }
  .hero .cta-row { margin-top: 22px; gap: 10px; }
  .hero .btn { padding-inline: 15px; font-size: 14px; }
  .hero-title .line { white-space: normal; }
  .hero-copy .nowrap { white-space: nowrap; }
  .lede { font-size: 14px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: 22px; }
  .feature-art { min-height: 270px; }
  .tilt, [data-tilt] { transform: none; }
  .footer-grid { gap: 32px 20px; }
  .footer-languages { gap: 6px 18px; }
  .site-footer { padding-bottom: 100px; }
  pre { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring-svg { animation: none; opacity: 0.95; transform: none; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
  .reveal-ready .reveal, .btn, .tabs a { transition: none; }
}
@media print {
  .ribbon, .head-tools, .mobile-drawer, .menu-veil, .dl-fab { display: none !important; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}