/* ==========================================================================
   虎符 HuFu — hufu-site
   Design tokens · layout · components · motion
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/noto-serif-sc-subset.woff2?v=20261103c") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #f5efe3;
  --bg-2: #faf6ec;
  --bg-3: #ece3d2;
  --card: #fbf7ee;
  --card-2: #f7f1e5;
  --ink: #1a1813;
  --ink-2: #39342b;
  --muted: #655d4f;
  --faint: #6f6758;
  --line: rgba(26, 24, 19, 0.12);
  --line-2: rgba(26, 24, 19, 0.22);
  --gold: #8a5f16;
  --gold-2: #d7a646;
  --gold-3: #f0cd8a;
  --gold-soft: rgba(168, 116, 31, 0.1);
  --bronze: #7a5412;
  --seal: #b23a2b;
  --jade: #3f6b5b;
  --dark: #14120e;
  --cream: #f7f1e4;
  --btn-bg: #1a1813;
  --btn-fg: #f8f2e4;
  --btn-bg-hover: #2b261d;
  --header-bg: rgba(245, 239, 227, 0.8);
  --header-bg-scrolled: rgba(245, 239, 227, 0.92);
  --band-bg: #15130f;
  --band-fg: #f4ecdc;
  --band-muted: rgba(244, 236, 220, 0.62);
  --band-line: rgba(231, 183, 92, 0.18);
  --editor-bg: #fffdf8;
  --editor-bar: #f4eee1;
  --editor-fg: #23201a;
  --editor-muted: #8d8576;
  --editor-line: rgba(26, 24, 19, 0.1);
  --note-bg: #1a1813;
  --note-fg: #f7f1e4;
  --shadow-sm: 0 2px 10px rgba(51, 36, 12, 0.06);
  --shadow: 0 30px 80px -40px rgba(51, 36, 12, 0.38);
  --shadow-lg: 0 46px 110px -46px rgba(51, 36, 12, 0.5);
  --shell: 1240px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --cand-bg: #17181c;
  --cand-fg: #f1ede4;
  --cand-muted: #a09a8f;
  --cand-hl: #e7b75c;
  --cand-hl-fg: #17130c;
  --cand-line: rgba(255, 255, 255, 0.08);
  --cand-accent: #e7b75c;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0f11;
  --bg-2: #121518;
  --bg-3: #181c20;
  --card: #14181b;
  --card-2: #171b1f;
  --ink: #f0e9db;
  --ink-2: #d9d0c0;
  --muted: #a89f90;
  --faint: #8f8677;
  --line: rgba(240, 233, 219, 0.12);
  --line-2: rgba(240, 233, 219, 0.24);
  --gold: #e6b45c;
  --gold-2: #f3cc82;
  --gold-3: #8a6226;
  --gold-soft: rgba(230, 180, 92, 0.11);
  --bronze: #c98f47;
  --seal: #d15a45;
  --jade: #8fb9a8;
  --dark: #090b0d;
  --cream: #f6efdf;
  --btn-bg: #e7b75c;
  --btn-fg: #1a1409;
  --btn-bg-hover: #f2c97c;
  --header-bg: rgba(13, 15, 17, 0.74);
  --header-bg-scrolled: rgba(13, 15, 17, 0.9);
  --band-bg: #080a0b;
  --band-fg: #f3ecdd;
  --band-muted: rgba(243, 236, 221, 0.6);
  --band-line: rgba(230, 180, 92, 0.2);
  --editor-bg: #111518;
  --editor-bar: #171c20;
  --editor-fg: #ece5d8;
  --editor-muted: #8d897f;
  --editor-line: rgba(240, 233, 219, 0.1);
  --note-bg: #e7b75c;
  --note-fg: #17130c;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 46px 110px -46px rgba(0, 0, 0, 0.95);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

[data-theme="dark"] body::before {
  opacity: 0.05;
}

::selection {
  background: var(--gold);
  color: #17130c;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s;
}

.skip-link:focus {
  transform: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: -0.18em;
}

/* ---------- Layout / type utilities ---------- */
.shell {
  width: min(var(--shell), calc(100% - 96px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 122px 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.kicker-light {
  color: rgba(244, 236, 220, 0.55);
}

.tiger-bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 12px;
}

.tiger-bars i {
  display: block;
  width: 2px;
  background: var(--gold);
  transform: skewX(-16deg);
  border-radius: 1px;
}

.tiger-bars i:nth-child(1) {
  height: 7px;
  opacity: 0.6;
}

.tiger-bars i:nth-child(2) {
  height: 12px;
}

.tiger-bars i:nth-child(3) {
  height: 9px;
  opacity: 0.8;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.3vw, 62px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  max-width: 52ch;
  text-wrap: pretty;
}

.section-head {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-head .kicker {
  margin-bottom: 24px;
}

.section-head h2 {
  margin-bottom: 24px;
}

.section-head .lede {
  max-width: 56ch;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  max-width: none;
}

.section-head--split > div {
  max-width: 680px;
}

.section-head--split .lede {
  max-width: 400px;
  padding-bottom: 6px;
  font-size: 15.5px;
}

.section-head--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center .kicker {
  justify-content: center;
}

.section-head--center .lede {
  margin-inline: auto;
}

/* ---------- Buttons / links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  left: 120%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover .ico {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 12px 30px -14px rgba(26, 24, 19, 0.5);
}

[data-theme="dark"] .btn-primary {
  box-shadow: 0 14px 34px -16px rgba(230, 180, 92, 0.42);
}

.btn-primary:hover {
  background: var(--btn-bg-hover);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--line-2);
}

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 12.5px;
}

.btn-ink {
  background: var(--ink);
  color: var(--bg-2);
}

[data-theme="dark"] .btn-ink {
  background: var(--gold);
  color: #1a1409;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.text-link .ico {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--gold);
}

.text-link:hover .ico {
  transform: translateX(3px);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 1400;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--seal));
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fbf3e2;
  border: 1px solid rgba(139, 91, 36, 0.22);
  box-shadow: 0 2px 8px rgba(51, 36, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-mark img {
  width: 33px;
  height: 33px;
  display: block;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-type b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.brand-type em {
  margin-top: 5px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
}

.nav a {
  position: relative;
  padding: 9px 13px;
  font-size: 13.5px;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.25s, background-color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a.is-active {
  color: var(--ink);
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}

.icon-btn .ico {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  color: var(--ink);
  background: var(--bg-3);
}

.header-dl {
  margin-left: 6px;
  height: 40px;
  padding: 0 20px;
}

.theme-toggle .ico-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .ico-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .ico-moon {
  display: none;
}

.menu-toggle {
  display: none;
}

.menu-toggle .ico-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .ico-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .ico-close {
  display: block;
}

.mobile-nav {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: 132px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -22%;
  right: -8%;
  width: min(900px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(215, 166, 70, 0.26), rgba(215, 166, 70, 0.07) 42%, transparent 68%);
  filter: blur(20px);
}

[data-theme="dark"] .hero-glow {
  background: radial-gradient(circle at 50% 50%, rgba(230, 180, 92, 0.18), rgba(230, 180, 92, 0.05) 46%, transparent 70%);
}

.hero-watermark {
  position: absolute;
  top: 10vh;
  right: -1.5vw;
  font-family: var(--serif);
  font-size: clamp(320px, 38vw, 600px);
  font-weight: 900;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  opacity: 0.5;
  transform: rotate(6deg);
  user-select: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.32;
  -webkit-mask-image: radial-gradient(ellipse at 74% 34%, #000 0%, transparent 62%);
  mask-image: radial-gradient(ellipse at 74% 34%, #000 0%, transparent 62%);
}

.hero-stripes {
  position: absolute;
  left: 0;
  bottom: 14vh;
  display: flex;
  gap: 9px;
  opacity: 0.6;
}

.hero-stripes i {
  display: block;
  width: 2px;
  height: 64px;
  background: var(--gold);
  transform: skewX(-18deg);
  opacity: 0.28;
}

.hero-stripes i:nth-child(2) {
  height: 96px;
  opacity: 0.4;
}

.hero-stripes i:nth-child(3) {
  height: 74px;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 56px;
  padding-bottom: 52px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  animation: pulse 3s ease-in-out infinite;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 26px 0 28px;
  font-family: var(--serif);
  font-size: clamp(56px, 6.5vw, 104px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.hero h1 .mark {
  position: relative;
  display: inline-block;
  color: var(--ink);
}

.hero h1 .brush {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.01em;
  width: 104%;
  height: 0.18em;
  overflow: visible;
  opacity: 0.75;
  pointer-events: none;
}

.hero h1 .brush path {
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: brushDraw 0.9s 0.5s var(--ease-out) forwards;
  filter: drop-shadow(0 1px 0 rgba(168, 116, 31, 0.18));
}

.hero-copy > .lede {
  max-width: 35em;
  font-size: 16.5px;
  line-height: 1.9;
}

.hero-copy > .lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.hero-meta .ico {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.hero-meta .is-dev {
  color: var(--faint);
}

.hero-fine {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.hero-fine .dot.ok {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
}

.hero-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s var(--ease-out) forwards;
  animation-delay: calc(0.05s + var(--i, 0) * 0.06s);
}

.hero-stage {
  position: relative;
  z-index: 2;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  --mx: 0;
  --my: 0;
}

/* medallion */
.medal {
  position: absolute;
  top: -12px;
  right: 3%;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fffaee, #f3e3c3 58%, #e4c78f 100%);
  border: 1px solid rgba(139, 91, 36, 0.34);
  box-shadow: 0 22px 50px -22px rgba(51, 36, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 8px), 0) rotate(4deg);
  transition: transform 0.4s var(--ease);
  animation: medalIn 0.9s 0.3s var(--ease-out) both;
}

.medal-ring {
  position: absolute;
  z-index: 2;
  inset: 8px;
  border: 1px dashed rgba(139, 91, 36, 0.42);
  border-radius: 50%;
  animation: spin 46s linear infinite;
}

.medal-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 126px;
  height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(60, 40, 10, 0.18));
}

.medal-spark {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff6de;
  box-shadow: 0 0 18px 5px rgba(255, 226, 160, 0.9);
  opacity: 0;
  animation: spark 3.6s 1.5s ease-in-out infinite;
}


/* editor window */
.editor {
  position: relative;
  z-index: 3;
  width: min(100%, 540px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--editor-bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.4deg) translate3d(calc(var(--mx) * -5px), calc(var(--my) * -5px), 0);
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.hero-stage:hover .editor {
  transform: rotate(0deg) translate3d(calc(var(--mx) * -5px), calc(var(--my) * -5px), 0);
}

.editor-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  background: var(--editor-bar);
  border-bottom: 1px solid var(--editor-line);
  font-size: 11px;
  color: var(--editor-muted);
}

.win-dots {
  display: inline-flex;
  gap: 5px;
}

.win-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e6a04d;
  opacity: 0.55;
}

.win-dots i:nth-child(2) {
  background: #d8c9a8;
}

.win-dots i:nth-child(3) {
  background: #9bb7a4;
}

.editor-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.ime-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 8px 3px 4px;
  border: 1px solid rgba(168, 116, 31, 0.3);
  border-radius: 999px;
  background: rgba(231, 183, 92, 0.1);
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ime-badge img {
  width: 15px;
  height: 15px;
  border-radius: 4px;
}

.editor-body {
  position: relative;
  min-height: 212px;
  padding: 34px 30px 28px;
}

.editor-line {
  min-height: 1.8em;
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.8;
  color: var(--editor-fg);
  letter-spacing: 0.02em;
}

.editor-line .flash {
  animation: commitFlash 0.7s var(--ease-out);
}

.caret {
  display: inline-block;
  width: 1.5px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--gold);
  animation: blink 1.1s step-end infinite;
}

.editor-placeholder {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--editor-line);
  font-size: 11.5px;
  color: var(--editor-muted);
  transition: opacity 0.4s;
}

.editor.is-typing .editor-placeholder {
  opacity: 0;
}

.editor-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 14px;
  border-top: 1px solid var(--editor-line);
  background: var(--editor-bar);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--editor-muted);
}

/* candidate window */
.candidate {
  position: absolute;
  z-index: 5;
  right: -18px;
  bottom: 4px;
  width: 348px;
  padding: 10px 8px 7px;
  border: 1px solid var(--cand-line);
  border-radius: 12px;
  background: var(--cand-bg);
  color: var(--cand-fg);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(1.3deg) translate3d(calc(var(--mx) * 12px), calc(var(--my) * 12px), 0);
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
  font-size: 13px;
}

.candidate.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) rotate(1.3deg);
}

.candidate.is-committing {
  opacity: 0;
  transform: translateY(-8px) scale(0.98) rotate(1.3deg);
}

.cand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 10px 8px;
  font-family: var(--mono);
  color: var(--cand-accent);
  letter-spacing: 0.08em;
}

.cand-code {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cand-code::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: var(--cand-accent);
  animation: blink 1s step-end infinite;
}

.cand-page {
  font-size: 9.5px;
  color: var(--cand-muted);
  letter-spacing: 0.04em;
}

.cand-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cand-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--cand-fg);
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
  opacity: 1;
  transform: none;
}

.cand-num {
  width: 17px;
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cand-muted);
  letter-spacing: 0.02em;
}

.cand-word {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cand-py {
  font-size: 10.5px;
  color: var(--cand-muted);
  letter-spacing: 0.02em;
}

.cand-tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--cand-muted);
  white-space: nowrap;
}

.cand-list li.is-active {
  background: var(--cand-hl);
  color: var(--cand-hl-fg);
  transform: translateX(1px);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.5);
}

.cand-list li.is-active .cand-num,
.cand-list li.is-active .cand-py,
.cand-list li.is-active .cand-tag {
  color: var(--cand-hl-fg);
  opacity: 0.62;
}

.candidate.is-typing .cand-list li,
.skin-window.is-typing .cand-list li {
  opacity: 0;
  transform: translateY(5px);
}

.candidate.is-open .cand-list li,
.skin-window.is-open .cand-list li {
  opacity: 1;
  transform: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), background-color 0.25s, color 0.25s;
  transition-delay: calc(var(--n, 0) * 45ms);
}

.cand-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 8px 10px 4px;
  border-top: 1px solid var(--cand-line);
  font-size: 9.5px;
  color: var(--cand-muted);
  letter-spacing: 0.04em;
}

.cand-mode {
  color: var(--cand-accent);
}

/* floating chips */
.float-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}

.float-chip b {
  color: var(--gold);
  font-weight: 700;
}

.float-chip span {
  color: var(--muted);
}

.chip-a {
  top: 32px;
  left: -26px;
  animation-delay: -1s;
}

.chip-b {
  left: 18px;
  bottom: 92px;
  animation-delay: -3.6s;
}

.chip-c {
  right: -10px;
  top: 44%;
  animation-delay: -5.2s;
}

.chip-c b {
  font-size: 12px;
}

/* code keys */
.code-keys {
  position: absolute;
  left: 6%;
  bottom: -2px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-keys kbd {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--card);
  box-shadow: 0 2px 0 var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  transition: all 0.18s var(--ease);
}

.code-keys kbd.is-pressed {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130c;
  transform: translateY(2px);
  box-shadow: none;
}

.code-full {
  display: inline-flex;
  align-items: center;
  min-width: 15.5ch;
  padding: 7px 10px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--card);
  box-shadow: 0 2px 0 var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--ink-2);
  white-space: nowrap;
}

.code-label {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* hero footer */
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-scroll i {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-style: normal;
  color: var(--gold);
  animation: nudge 2.4s ease-in-out infinite;
}

.hero-side-note {
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* ---------- Story band ---------- */
.story {
  position: relative;
  padding: 112px 0;
  background: var(--band-bg);
  color: var(--band-fg);
  overflow: hidden;
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
}

.story::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 45%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 183, 92, 0.14), transparent 68%);
  pointer-events: none;
}

.story-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.story-bg span {
  position: absolute;
  right: -2%;
  top: -28%;
  font-family: var(--serif);
  font-size: clamp(360px, 42vw, 680px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(231, 183, 92, 0.1);
  transform: rotate(-8deg);
}

.story-inner {
  position: relative;
  z-index: 1;
}

.story blockquote {
  max-width: 960px;
  margin: 30px 0 38px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: -0.02em;
  color: var(--band-fg);
  text-wrap: balance;
}

.story blockquote em {
  position: relative;
  font-style: normal;
  color: var(--gold-2);
  white-space: nowrap;
}

.story blockquote em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.08em;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

.story-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: 960px;
}

.story-foot p {
  max-width: 460px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--band-muted);
}

.seal {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 4px;
  background: var(--seal);
  color: #f9e9d5;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(4deg);
  box-shadow: inset 0 0 0 2px rgba(249, 233, 213, 0.28), 0 10px 24px -12px rgba(0, 0, 0, 0.7);
  opacity: 0.92;
}

/* ---------- Features / bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-height: 278px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.45s var(--ease);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 68%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 42%, var(--line));
  box-shadow: var(--shadow);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-main {
  grid-column: span 7;
}

.bento-platforms {
  grid-column: span 5;
}

.bento-wide {
  grid-column: span 12;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  min-height: 0;
  padding: 28px 30px;
}

.bento-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-top .ico {
  width: 18px;
  height: 18px;
  color: var(--faint);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  border-radius: 999px;
  background: var(--gold-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--gold);
  white-space: nowrap;
}

.tag-live {
  color: var(--jade);
  border-color: color-mix(in srgb, var(--jade) 28%, transparent);
  background: color-mix(in srgb, var(--jade) 9%, transparent);
}

.tag-live .status-dot {
  width: 5px;
  height: 5px;
  margin: 0;
  background: var(--jade);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--jade) 18%, transparent);
}

.bento-card h3 {
  position: relative;
  z-index: 1;
  margin: 20px 0 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.bento-card p {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.card-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px !important;
  color: var(--faint) !important;
}

/* mode pills */
.mode-pills {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
}

.mode-pills span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.mode-pills .is-on {
  border-color: transparent;
  background: var(--gold);
  color: #17130c;
}

.mode-pills .mode-note {
  margin-left: auto;
  padding: 0;
  border: 0;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.nowrap {
  white-space: nowrap;
}

/* stream visual */
.stream {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
  flex-wrap: wrap;
}

.stream-keys {
  display: inline-flex;
  gap: 5px;
}

.stream-keys kbd {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 32px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.stream-code {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-width: 14.5ch;
  padding: 8px 9px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink-2);
  white-space: nowrap;
}

.code-caret {
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-left: 2px;
  background: var(--gold);
  animation: codeCaret 0.9s steps(1) infinite;
}

.is-typed .code-caret {
  display: none;
}

@keyframes codeCaret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.stream-line {
  position: relative;
  flex: 1;
  min-width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.stream-line i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 8px var(--gold);
  animation: travel 3.2s var(--ease) infinite;
}

.stream-word {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 7px;
  padding: 3px 9px 5px;
  white-space: nowrap;
}

.stream-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* platforms */
.plat-list {
  position: relative;
  z-index: 1;
  margin: 18px 0 14px;
}

.plat-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.plat-list li:last-child {
  border-bottom: 0;
}

.plat-list b {
  font-weight: 600;
  color: var(--ink-2);
}

.plat-list em {
  margin-left: auto;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

.dot.ok {
  background: var(--jade);
}

.dot.dev {
  background: var(--gold);
}

/* mini keys */
.keys-mini {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 24px;
}

.keys-mini kbd {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}

.keys-mini span {
  margin-left: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

/* swatches */
.swatches {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.swatches i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 4px 10px -4px rgba(0, 0, 0, 0.4);
}

.swatches i:first-child {
  box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--gold);
}

/* lock line */
.lock-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--gold);
}

.lock-line span {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px);
}

.lock-line .ico {
  width: 16px;
  height: 16px;
}

/* wide card / marquee */
.bento-wide-copy {
  position: relative;
  z-index: 1;
  flex: none;
  width: 330px;
}

.bento-wide-copy h3 {
  margin-bottom: 8px;
}

.scheme-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.scheme-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.scheme-marquee:hover .scheme-track {
  animation-play-state: paused;
}

.scheme-track span {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 70px;
  padding: 42px 0 22px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat strong {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat strong i {
  font-style: normal;
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.stat > span {
  font-size: 12.5px;
  color: var(--ink-2);
}

.stat > span em {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.stats-note {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.stats-note a {
  color: var(--gold);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}

/* ---------- Skins ---------- */
.skin-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.skin-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 18%, rgba(231, 183, 92, 0.24), transparent 42%),
    radial-gradient(circle at 20% 88%, rgba(78, 118, 108, 0.22), transparent 46%),
    #191a1d;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.skin-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
}

.skin-stage-head,
.skin-stage-foot {
  position: absolute;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 236, 220, 0.48);
}

.skin-stage-head {
  top: 17px;
}

.skin-stage-foot {
  bottom: 17px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.skin-stage-foot b {
  color: var(--gold-2);
  font-weight: 600;
}

.skin-window {
  position: relative;
  z-index: 2;
  width: min(354px, 80%);
  padding: 2px;
  border-radius: 14px;
  background: var(--cand-bg);
  border: 1px solid var(--cand-line);
  box-shadow: 0 34px 80px -26px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(-1.2deg);
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.skin-window:hover {
  transform: rotate(0deg) translateY(-3px);
}

.skin-cand {
  padding: 9px 7px 6px;
  color: var(--cand-fg);
  font-size: 13px;
}

.skin-cand .cand-list li {
  padding: 6px 9px;
}

.skin-cand .cand-word {
  font-size: 16.5px;
}

.skin-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.5;
  pointer-events: none;
}

.skin-orb-a {
  width: 150px;
  height: 150px;
  top: 16%;
  left: 8%;
  background: rgba(231, 183, 92, 0.3);
  animation: drift 12s ease-in-out infinite;
}

.skin-orb-b {
  width: 180px;
  height: 180px;
  right: 2%;
  bottom: 4%;
  background: rgba(78, 138, 124, 0.28);
  animation: drift 15s -5s ease-in-out infinite reverse;
}

/* skin palettes */
.skin-moyan {
  --cand-bg: #17181c;
  --cand-fg: #f1ede4;
  --cand-muted: #a09a8f;
  --cand-hl: #e7b75c;
  --cand-hl-fg: #17130c;
  --cand-line: rgba(255, 255, 255, 0.08);
  --cand-accent: #e7b75c;
}

.skin-canghai {
  --cand-bg: #0e1a24;
  --cand-fg: #e8f2f7;
  --cand-muted: #7f9bab;
  --cand-hl: #4aa3c7;
  --cand-hl-fg: #06121a;
  --cand-line: rgba(140, 200, 230, 0.14);
  --cand-accent: #6fc3e8;
}

.skin-chenwu {
  --cand-bg: #f4f2ee;
  --cand-fg: #2a2926;
  --cand-muted: #6f6c66;
  --cand-hl: #cfe3ee;
  --cand-hl-fg: #1e313b;
  --cand-line: rgba(20, 25, 30, 0.1);
  --cand-accent: #3f6f8a;
}

.skin-huguang {
  --cand-bg: #0f1f1c;
  --cand-fg: #e6f2ee;
  --cand-muted: #7fa79c;
  --cand-hl: #7fbfa8;
  --cand-hl-fg: #0b1714;
  --cand-line: rgba(140, 220, 195, 0.13);
  --cand-accent: #9ad9c2;
}

.skin-hupo {
  --cand-bg: #221a10;
  --cand-fg: #f6ead8;
  --cand-muted: #b09a7f;
  --cand-hl: #e0a34f;
  --cand-hl-fg: #1e1408;
  --cand-line: rgba(240, 200, 140, 0.13);
  --cand-accent: #f0bd72;
}

.skin-mushan {
  --cand-bg: #1b1626;
  --cand-fg: #efe9f7;
  --cand-muted: #9d90b3;
  --cand-hl: #b9a0e6;
  --cand-hl-fg: #171021;
  --cand-line: rgba(200, 180, 240, 0.14);
  --cand-accent: #cbb4f2;
}

.skin-controls {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 14px;
}

.skin-controls-head h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.skin-controls-head p {
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.skin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.skin-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease);
}

.skin-btn:hover {
  border-color: var(--line-2);
  background: var(--bg-2);
  transform: translateY(-1px);
}

.skin-btn.is-active {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  background: var(--gold-soft);
}

.skin-btn .sw {
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--a) 0 52%, var(--b) 52% 74%, var(--c) 74%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.skin-btn-text {
  min-width: 0;
}

.skin-btn-text b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.3;
}

.skin-btn-text em {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
  white-space: nowrap;
}

.skin-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--faint);
}

.skin-note .ico {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--gold);
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.shot {
  position: relative;
}

.shot-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-3);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.shot-btn:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

.shot-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.18));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.shot-btn:hover::after {
  opacity: 1;
}

.shot-btn img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.2;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease);
}

.shot-btn:hover img {
  transform: scale(1.025);
}

.shot-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 18, 14, 0.65);
  color: #f7f1e4;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s, transform 0.35s;
}

.shot-zoom .ico {
  width: 15px;
  height: 15px;
}

.shot-btn:hover .shot-zoom {
  opacity: 1;
  transform: none;
}

.shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 3px 0;
  font-size: 11.5px;
  color: var(--muted);
}

.shot figcaption b {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- Split sections ---------- */
.split-section {
  padding: 118px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 6vw, 78px);
}

.split-copy h2 {
  margin: 24px 0 22px;
}

.split-copy .lede {
  max-width: 46ch;
  font-size: 15.5px;
}

.split-copy .text-link {
  margin-top: 26px;
}

.tick-list {
  margin: 26px 0 0;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.tick-list li:last-child {
  border-bottom: 0;
}

.tick-list .ico {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  color: var(--gold);
}

.tick-list b {
  color: var(--ink-2);
  font-weight: 600;
}

.figure-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-2);
  box-shadow: var(--shadow);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s var(--ease);
}

.figure-frame:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.figure-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.figure-bar-tag {
  margin-left: auto;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.figure-img {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 17px 17px;
  background: var(--bg-3);
}

.figure-img img {
  display: block;
  width: 100%;
  height: auto;
}

.figure-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--faint);
}

.float-note {
  position: absolute;
  right: -16px;
  bottom: -16px;
  z-index: 2;
  max-width: 210px;
  padding: 8px 12px;
  border-radius: 7px;
  background: var(--note-bg);
  color: var(--note-fg);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-sm);
}

.figure-sync {
  --shadow: 0 30px 80px -40px rgba(51, 36, 12, 0.3);
}

/* data flow */
.flow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 26px 0 4px;
  padding: 16px 14px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  background: var(--bg-2);
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 82px;
  text-align: center;
}

.flow-node .ico {
  width: 19px;
  height: 19px;
  color: var(--gold);
}

.flow-node b {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.flow-node em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--faint);
  white-space: nowrap;
}

.flow-node--lock {
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  border-radius: 10px;
  background: var(--gold-soft);
}

.flow-line {
  position: relative;
  flex: 1;
  min-width: 18px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px);
}

.flow-line i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: travel 3.4s linear infinite;
}

/* ---------- Download ---------- */
.download {
  padding-top: 122px;
}

.dl-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dl-main {
  padding: 34px 36px 32px;
}

.dl-side {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 24px;
  border-left: 1px solid var(--line);
  background: var(--bg-2);
}

.dl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dl-version {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.dl-version b {
  color: var(--ink);
  font-weight: 600;
}

.dl-version .sep {
  margin: 0 7px;
  color: var(--line-2);
}

.os-tabs {
  display: inline-flex;
  gap: 3px;
  margin: 24px 0 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-3);
}

.os-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.os-tab .ico {
  width: 15px;
  height: 15px;
}

.os-tab:hover {
  color: var(--ink);
}

.os-tab.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(51, 36, 12, 0.1);
}

[data-theme="dark"] .os-tab.is-active {
  background: var(--bg-3);
  box-shadow: none;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 17px 20px;
  border-radius: 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.dl-btn > .ico:first-child {
  width: 23px;
  height: 23px;
}

.dl-btn:hover {
  transform: translateY(-2px);
  background: var(--btn-bg-hover);
  box-shadow: 0 16px 34px -18px rgba(26, 24, 19, 0.5);
}

.dl-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dl-btn-text b {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.dl-btn-text em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.03em;
  opacity: 0.6;
}

.dl-btn-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  transition: transform 0.35s var(--ease);
}

.dl-btn:hover .dl-btn-arrow {
  transform: translateX(4px);
}

.dl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: 11.5px;
}

.dl-links a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.dl-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.dl-note {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--faint);
}

.dl-note code {
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--bg-3);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-2);
}

.code-block {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #15181b;
  overflow: hidden;
}

.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #9b9484;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: transparent;
  font-size: 9px;
  color: #cfc7b8;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.copy-btn .ico {
  width: 11px;
  height: 11px;
}

.copy-btn:hover {
  color: #f0d39a;
  border-color: rgba(231, 183, 92, 0.4);
}

.code-block pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
  color: #f0e9db;
  white-space: pre;
}

.mac-status {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border: 1px dashed var(--line-2);
  border-radius: 13px;
  background: var(--bg-2);
}

.mac-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg-2);
}

[data-theme="dark"] .mac-badge {
  background: var(--gold);
  color: #17130c;
}

.mac-status b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.mac-status p {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.status-pill {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--gold);
  white-space: nowrap;
}

.dl-side-title {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.steps {
  margin-top: 14px;
}

.steps li {
  display: flex;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 0;
}

.steps b {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--gold);
  padding-top: 2px;
}

.steps span {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.steps em {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-style: normal;
  color: var(--faint);
}

.dl-model {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.dl-model p {
  margin: 10px 0 12px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
}

.dl-model .text-link {
  font-size: 11.5px;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.dl-specs li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-2);
}

.dl-specs b {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.steps[hidden],
[data-os-steps][hidden] {
  display: none;
}

.dl-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--faint);
}

.dl-foot .ico {
  width: 13px;
  height: 13px;
}

/* keymap block (inside settings) */
.keymap-block {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.keymap-copy h3 {
  margin: 20px 0 16px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.keymap-copy > p:not(.kicker) {
  max-width: 38ch;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.keymap-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.keymap-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

.keymap-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.keymap-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.faq-head h2 {
  margin: 24px 0 18px;
}

.faq-head p {
  max-width: 31ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.faq-head .text-link {
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid var(--line-2);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  list-style: none;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.25s;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--gold);
}

.faq-plus {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.faq-list details[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-a {
  max-width: 62ch;
  padding: 0 34px 22px 0;
  animation: faqIn 0.35s var(--ease);
}

.faq-a p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.faq-a a {
  color: var(--gold);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 118px 0;
  background: var(--band-bg);
  color: var(--band-fg);
  overflow: hidden;
  border-top: 1px solid var(--band-line);
}

.cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 183, 92, 0.17), transparent 66%);
  pointer-events: none;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-bg span {
  position: absolute;
  left: -3%;
  bottom: -38%;
  font-family: var(--serif);
  font-size: clamp(380px, 46vw, 720px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(231, 183, 92, 0.1);
  transform: rotate(7deg);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fffaee, #f0dfbd 62%, #e2c48d);
  border: 1px solid rgba(231, 183, 92, 0.35);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(231, 183, 92, 0.06);
}

.cta-mark img {
  width: 66px;
  height: 66px;
}

.cta h2 {
  margin: 30px 0 32px;
  color: var(--band-fg);
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.2;
}

.cta-actions {
  display: flex;
  gap: 12px;
}

.cta .btn-primary {
  background: var(--gold-2);
  color: #17130c;
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.6);
}

.cta .btn-primary:hover {
  background: #f0cd8a;
}

[data-theme="dark"] .cta .btn-primary {
  background: var(--gold);
  color: #17130c;
}

.cta .btn-ghost {
  color: var(--band-fg);
  border-color: rgba(244, 236, 220, 0.24);
}

.cta .btn-ghost:hover {
  background: rgba(244, 236, 220, 0.08);
}

.cta-fine {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--band-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 62px 0 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin: 20px 0 10px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-2);
}

.footer-license {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.footer-cols {
  display: flex;
  gap: clamp(36px, 6vw, 78px);
}

.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-cols b {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer-cols a {
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.25s;
}

.footer-cols a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.footer-bottom .sep {
  margin: 0 6px;
  color: var(--line-2);
}

.footer-link {
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  transition: color 0.25s, border-color 0.25s;
}

.footer-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.to-top {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}

.to-top .ico {
  width: 14px;
  height: 14px;
}

.to-top:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(1120px, 94vw);
  max-width: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #101215;
  color: #f0e9db;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(6, 7, 8, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox[open] {
  animation: lbIn 0.3s var(--ease-out);
}

.lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 52px);
  object-fit: contain;
  background: #0a0c0e;
}

.lightbox figcaption {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(240, 233, 219, 0.62);
}

.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(10, 12, 14, 0.6);
  color: #f0e9db;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lb-close .ico {
  width: 17px;
  height: 17px;
}

.lb-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(10, 12, 14, 0.58);
  color: #f0e9db;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.25s, border-color 0.25s;
}

.lb-nav:hover {
  background: rgba(231, 183, 92, 0.2);
  border-color: rgba(231, 183, 92, 0.5);
}

.lb-nav .ico {
  width: 18px;
  height: 18px;
}

.lb-prev {
  left: 14px;
}

.lb-prev .ico {
  transform: rotate(180deg);
}

.lb-next {
  right: 14px;
}

/* ---------- Motion ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes brushDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes medalIn {
  from {
    opacity: 0;
    transform: translateY(-14px) rotate(-4deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(4deg) scale(1);
  }
}

@keyframes joinLeft {
  from {
    transform: translateX(-16px);
    opacity: 0.4;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes joinRight {
  from {
    transform: translateX(16px);
    opacity: 0.4;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes spark {
  0%,
  70%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  78% {
    opacity: 1;
    transform: scale(1);
  }
  88% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@keyframes travel {
  0% {
    left: 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -22px, 0) scale(1.12);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes commitFlash {
  0% {
    color: var(--editor-fg);
    text-shadow: none;
  }
  30% {
    color: var(--gold);
    text-shadow: 0 0 22px rgba(231, 183, 92, 0.55);
  }
  100% {
    color: var(--editor-fg);
    text-shadow: none;
  }
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* reveal-on-scroll */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 60ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .shell {
    width: calc(100% - 64px);
  }

  .hero-inner {
    gap: 30px;
  }

  .nav {
    margin-left: 4px;
  }

  .nav a {
    padding-inline: 10px;
  }

  .chip-a {
    left: 0;
  }

  .code-keys {
    display: none;
  }

  .medal {
    display: none;
  }

  .chip-c {
    display: none;
  }

  .dl-card {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 980px) {
  .header-github {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 30px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(54px, 9.6vw, 88px);
  }

  .hero-stage {
    min-height: 480px;
    margin-top: 18px;
  }

  .editor {
    width: min(100%, 600px);
  }

  .candidate {
    right: 2%;
    bottom: 10px;
  }

  .bento-main,
  .bento-platforms {
    grid-column: span 6;
  }

  .bento-wide {
    grid-column: span 12;
  }

  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5) {
    grid-column: span 4;
  }

  .skin-lab {
    grid-template-columns: 1fr;
  }

  .skin-stage {
    min-height: 430px;
  }

  .skin-controls {
    padding: 10px 12px 14px;
  }

  .skin-grid {
    margin-top: 20px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .keymap-block {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 64px;
    padding-top: 48px;
  }

  .split-reverse .figure-frame {
    order: 2;
  }

  .split-section {
    padding: 86px 0;
  }

  .section {
    padding: 92px 0;
  }

  .download {
    padding-top: 92px;
  }

  .dl-card {
    grid-template-columns: 1fr;
  }

  .dl-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .dl-model {
    margin-top: 10px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .nav a {
    padding-inline: 8px;
    font-size: 12.5px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: 66px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .header-dl {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    inset: 66px 0 0;
    z-index: 990;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 28px 38px;
    background: var(--bg);
    overflow-y: auto;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 600;
    color: var(--ink);
    opacity: 0;
    transform: translateY(10px);
    animation: rise 0.5s var(--ease-out) forwards;
  }

  .mobile-nav nav a span {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--faint);
  }

  .mobile-nav nav a:nth-child(1) {
    animation-delay: 0.04s;
  }
  .mobile-nav nav a:nth-child(2) {
    animation-delay: 0.08s;
  }
  .mobile-nav nav a:nth-child(3) {
    animation-delay: 0.12s;
  }
  .mobile-nav nav a:nth-child(4) {
    animation-delay: 0.16s;
  }
  .mobile-nav nav a:nth-child(5) {
    animation-delay: 0.2s;
  }
  .mobile-nav nav a:nth-child(6) {
    animation-delay: 0.24s;
  }
  .mobile-nav nav a:nth-child(7) {
    animation-delay: 0.28s;
  }
  .mobile-nav nav a:nth-child(8) {
    animation-delay: 0.32s;
  }

  .mobile-nav-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--faint);
  }

  .mobile-nav-foot a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 12px;
  }

  .mobile-nav-foot .ico {
    width: 13px;
    height: 13px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero-side-note {
    display: none;
  }

  .hero-stripes {
    display: none;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-head--split .lede {
    padding-bottom: 0;
  }

  .bento-main,
  .bento-platforms,
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5) {
    grid-column: span 12;
  }

  .bento-wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .bento-wide-copy {
    width: 100%;
  }

  .scheme-marquee {
    width: 100%;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    margin-top: 48px;
  }

  .shot-row {
    grid-template-columns: 1fr;
  }

  .shot-btn img {
    aspect-ratio: 16 / 10.4;
  }

  .faq-head p {
    max-width: 46ch;
  }
}

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 40px);
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    margin: 20px 0 22px;
    font-size: clamp(48px, 14.5vw, 72px);
    letter-spacing: -0.04em;
  }

  .hero-copy > .lede {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    height: 47px;
    padding: 0 20px;
    font-size: 13px;
  }

  .hero-meta {
    gap: 8px 16px;
    margin-top: 24px;
    padding-top: 18px;
    font-size: 10.5px;
  }

  .hero-fine {
    font-size: 9px;
  }

  .hero-stage {
    min-height: 460px;
    margin-top: 22px;
    align-items: flex-start;
    padding-top: 10px;
  }

  .editor {
    transform: none;
  }

  .editor-body {
    min-height: 176px;
    padding: 24px 20px 20px;
  }

  .editor-line {
    font-size: 19px;
  }

  .candidate {
    right: 0;
    bottom: 18px;
    width: min(310px, 92%);
    padding: 8px 6px 5px;
  }

  .cand-word {
    font-size: 15.5px;
  }

  .cand-py {
    font-size: 9.5px;
  }

  .medal {
    width: 118px;
    height: 118px;
    top: -22px;
    right: 0;
  }

  .medal-ring {
    inset: 6px;
  }

  .medal-half {
    top: 10px;
    width: 49px;
    height: 98px;
  }

  .medal-left {
    left: 10px;
  }

  .medal-right {
    left: 59px;
  }

  .medal-half img {
    width: 98px;
    height: 98px;
  }

  .medal-right img {
    margin-left: -49px;
  }

  .float-chip,
  .code-keys {
    display: none;
  }

  .hero-foot {
    padding: 14px 0 18px;
  }

  .hero-version {
    display: none;
  }

  .story {
    padding: 78px 0;
  }

  .story blockquote {
    font-size: clamp(24px, 6.4vw, 32px);
    line-height: 1.7;
  }

  .story-foot {
    gap: 18px;
  }

  .story-foot p {
    font-size: 12px;
  }

  .seal {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-head .kicker {
    margin-bottom: 18px;
  }

  h2 {
    font-size: clamp(31px, 8.6vw, 42px);
    line-height: 1.26;
  }

  .lede {
    font-size: 14.5px;
    line-height: 1.85;
  }

  .bento-card {
    min-height: 0;
    padding: 22px;
    border-radius: 18px;
  }

  .bento-card h3 {
    font-size: 23px;
  }

  .bento-main {
    min-height: 300px;
  }

  .stream {
    padding-top: 22px;
  }

  .stream-keys kbd {
    width: 26px;
    height: 28px;
  }

  .stats {
    padding-top: 30px;
  }

  .stat strong {
    font-size: 40px;
  }

  .stats-note {
    font-size: 8.5px;
    line-height: 1.7;
  }

  .skin-lab {
    padding: 12px;
    border-radius: 18px;
  }

  .skin-stage {
    min-height: 360px;
    border-radius: 13px;
  }

  .skin-window {
    width: min(320px, 86%);
  }

  .skin-cand .cand-word {
    font-size: 15px;
  }

  .skin-stage-head,
  .skin-stage-foot {
    left: 14px;
    right: 14px;
    font-size: 8px;
  }

  .skin-stage-foot {
    font-size: 10px;
  }

  .skin-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .skin-btn {
    padding: 9px;
    gap: 8px;
  }

  .skin-btn .sw {
    width: 23px;
    height: 23px;
  }

  .skin-btn-text b {
    font-size: 11.5px;
  }

  .split-section {
    padding: 72px 0;
  }

  .split-copy h2 {
    margin: 18px 0;
  }

  .split-copy .lede {
    font-size: 14px;
  }

  .tick-list li {
    font-size: 12px;
    padding: 10px 0;
  }

  .figure-bar {
    height: 34px;
    font-size: 8.5px;
  }

  .figure-bar-tag {
    display: none;
  }

  .float-note {
    right: 8px;
    bottom: -14px;
    font-size: 8px;
  }

  .flow {
    padding: 12px 8px;
    gap: 2px;
  }

  .flow-node {
    min-width: 62px;
  }

  .flow-node b {
    font-size: 9.5px;
  }

  .flow-node em {
    display: none;
  }

  .flow-node--lock {
    padding: 7px 8px;
  }

  .download {
    padding-top: 72px;
  }

  .dl-main {
    padding: 24px 20px;
  }

  .dl-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .os-tabs {
    display: flex;
    width: 100%;
    margin: 20px 0 18px;
  }

  .os-tab {
    flex: 1;
    justify-content: center;
    padding: 0 8px;
  }

  .dl-btn {
    padding: 15px 16px;
  }

  .dl-btn-text b {
    font-size: 14px;
  }

  .dl-links {
    gap: 8px 16px;
    font-size: 10.5px;
  }

  .dl-specs {
    gap: 8px;
  }

  .dl-specs li {
    font-size: 10px;
  }

  .dl-side {
    padding: 22px 20px;
  }

  .dl-foot {
    font-size: 8.5px;
    text-align: center;
  }

  .stream {
    gap: 8px;
  }

  .stream-word {
    font-size: 19px;
  }

  .stream-line {
    display: none;
  }

  .stream-badge {
    display: none;
  }

  .keymap-copy > p:not(.kicker) {
    font-size: 12.5px;
  }

  .keymap-frame figcaption {
    font-size: 8.5px;
  }

  .faq-grid {
    gap: 28px;
  }

  .faq-list summary {
    font-size: 14px;
    padding: 18px 0;
  }

  .faq-a {
    padding-right: 12px;
  }

  .cta {
    padding: 86px 0;
  }

  .cta-mark {
    width: 74px;
    height: 74px;
  }

  .cta-mark img {
    width: 52px;
    height: 52px;
  }

  .cta h2 {
    margin: 24px 0 26px;
  }

  .cta-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer {
    padding-top: 44px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-cols {
    justify-content: space-between;
    gap: 24px;
  }

  .footer-cols a {
    font-size: 11.5px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 8.5px;
  }

  .footer-bottom p:nth-child(2) {
    order: 3;
    width: 100%;
  }

  .to-top {
    margin-left: auto;
  }

  .lb-nav {
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }

  .lb-close {
    width: 32px;
    height: 32px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-reveal {
    opacity: 1;
    transform: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero h1 .brush path {
    stroke-dashoffset: 0;
  }

  .stream-line i,
  .flow-line i,
  .medal-spark {
    display: none;
  }
}

/* donation */
.donate {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.donate-copy h2 {
  margin: 18px 0 20px;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.donate-copy .lede {
  max-width: 48ch;
}

.donate-fine {
  margin-top: 20px;
  font-size: 13px;
  color: var(--faint);
}

.donate-card {
  justify-self: end;
  width: min(100%, 320px);
  margin: 0;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.donate-qr {
  width: 200px;
  height: 200px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 8px 24px -12px rgba(0, 0, 0, 0.25);
}

.donate-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.donate-card figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.donate-card figcaption strong {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

@media (max-width: 980px) {
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .donate-card {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .donate-copy h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .donate-card {
    width: 100%;
    padding: 20px;
  }

  .donate-qr {
    width: 200px;
    height: 200px;
  }
}

/* 【2026-11-03 动效减负】标签页隐藏时暂停全部 CSS 动画（main.js 切 body.site-hidden）。 */
body.site-hidden *,
body.site-hidden *::before,
body.site-hidden *::after {
  animation-play-state: paused !important;
}
