/* =========================================================
   零之黎明 · ZERO DAWN — Design System
   「克制的破晓」：深靛底 + 单一暖金强调，靠排版与留白撑质感
   ---------------------------------------------------------
   01 Tokens      02 Base        03 Utilities  04 Overlays
   05 Nav         06 Hero        07 Band       08 Cards
   09 Notes       10 About       11 FAQ        12 CTA/Footer
   13 Motion      14 Responsive  15 Reduced Motion
   ========================================================= */

/* ---------- 01 · Tokens ---------- */
:root {
  /* 背景：夜色将尽的深靛黑，带一丝冷调 */
  --bg-0: #0a0b12;
  --bg-1: #0e1018;
  --bg-2: #14161f;
  --surface: rgba(255, 255, 255, .028);
  --surface-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);

  --text-0: #f4f5f7;
  --text-1: #a2a8b7;
  --text-2: #6c7284;

  /* 唯一强调色：破晓暖金（由浅到深） */
  --amber: #e9b872;
  --ember: #d98e4f;
  --ok: #5cc79a;

  --grad: linear-gradient(120deg, #e9b872, #d98e4f);
  --grad-warm: linear-gradient(120deg, #f2ce9b, #e9b872 55%, #d98e4f);
  --shadow-card: 0 34px 70px -46px rgba(0, 0, 0, .9);
  --glow-warm: 0 16px 44px -20px rgba(233, 184, 114, .5);
  --glass: inset 0 1px 0 rgba(255, 255, 255, .05);

  --radius: 16px;
  --radius-sm: 12px;
  --nav-h: 60px;
  --header-h: 72px;
  --max: 1160px;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", "SimSun",
    Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", "Roboto Mono",
    Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* 浅色：暖纸质 */
[data-theme="light"] {
  --bg-0: #faf8f5;
  --bg-1: #ffffff;
  --bg-2: #f4f1ec;
  --surface: rgba(24, 22, 34, .03);
  --surface-2: rgba(24, 22, 34, .055);
  --line: rgba(24, 22, 34, .1);
  --line-2: rgba(24, 22, 34, .18);
  --text-0: #191a20;
  --text-1: #54575f;
  --text-2: #787b85;

  --amber: #a86a1c;
  --ember: #8f5a17;
  --ok: #1f8a5f;

  --grad: linear-gradient(120deg, #a86a1c, #8f5a17);
  --grad-warm: linear-gradient(120deg, #c79a5f, #a86a1c 55%, #8f5a17);
  --shadow-card: 0 30px 60px -44px rgba(60, 40, 20, .45);
  --glow-warm: 0 16px 40px -22px rgba(168, 106, 28, .45);
  --glass: inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* ---------- 02 · Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; letter-spacing: .01em; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(233, 184, 114, .28); color: inherit; }

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

/* 背景：极淡的破晓暖光 + 夜色冷调，缓慢呼吸 */
body::before {
  content: "";
  position: fixed;
  inset: -8%;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 50% -12%, rgba(233, 184, 114, .1), transparent 60%),
    radial-gradient(820px 600px at 88% 4%, rgba(120, 130, 200, .07), transparent 60%);
  animation: auroraDrift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
}
/* 极淡网格，只在首屏区域若隐若现 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: .16;
  -webkit-mask-image: radial-gradient(ellipse 120% 100% at 50% -10%, #000 12%, transparent 82%);
  mask-image: radial-gradient(ellipse 120% 100% at 50% -10%, #000 12%, transparent 82%);
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--amber);
  color: #241203;
  border-radius: 10px;
  font-size: 14px;
  transition: top .25s var(--ease);
}
.skip-link:focus-visible { top: 14px; }

/* ---------- 03 · Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  position: relative;
  padding-block: clamp(96px, 12vw, 168px);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .016) 18%, rgba(255, 255, 255, .016) 82%, transparent);
  border-block: 1px solid var(--line);
}
[data-theme="light"] .section--alt {
  background: linear-gradient(180deg, transparent, rgba(24, 22, 34, .022) 18%, rgba(24, 22, 34, .022) 82%, transparent);
}

/* 编辑感：章节头一律左对齐，靠排版而非装饰 */
.sec-head { max-width: 680px; margin: 0 0 clamp(52px, 7vw, 84px); text-align: left; }
.sec-head--left { margin-inline: 0; text-align: left; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-2);
}
.kicker b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding-inline: 5px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: .06em;
}
.sec-head h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.35;
  color: var(--text-0);
}
.sec-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 18px;
  border-radius: 2px;
  background: var(--amber);
  opacity: .8;
}
.sec-head__desc { margin-top: 18px; color: var(--text-1); font-size: clamp(15px, 1.3vw, 16.5px); line-height: 1.85; }
.br-m { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips li {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--text-2);
}

/* Buttons */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--glass);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
    background-color .3s ease, border-color .3s ease, color .3s ease;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: var(--grad-warm);
  color: #241305;
  box-shadow: var(--glow-warm), var(--glass);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #f8e0bd, #eebe84 50%, #d98e4f);
  opacity: 0;
  transition: opacity .35s ease;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 56px -24px rgba(233, 184, 114, .7), var(--glass); }
.btn--primary:hover::after { opacity: 1; }

.btn--ghost {
  border-color: var(--line-2);
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text-0);
}
.btn--ghost:hover { transform: translateY(-3px); background: var(--surface-2); border-color: var(--amber); color: var(--amber); }

.btn--light { background: #23180a; color: #f6e3c9; box-shadow: 0 16px 36px -20px rgba(0, 0, 0, .8), var(--glass); }
.btn--light:hover { transform: translateY(-3px); background: #150e05; }

.btn--sm { padding: 8px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- 04 · Overlays（开场 / 进度 / Toast） ---------- */
.intro { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bg-0);
  transition: opacity .7s ease, visibility .7s;
}
.js .intro.is-done { opacity: 0; visibility: hidden; }
.intro__mark { display: grid; justify-items: center; gap: 14px; }
.intro__char {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 96px);
  font-weight: 700;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: introChar 1s var(--ease) both;
}
.intro__line {
  display: block;
  width: clamp(120px, 30vw, 220px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  transform: scaleX(0);
  animation: introLine .9s .25s var(--ease) forwards;
}
.intro__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .5em;
  color: var(--text-2);
  animation: fadeUp .8s .5s var(--ease) both;
}
@keyframes introChar { from { opacity: 0; transform: translateY(24px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes introLine { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 210;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(233, 184, 114, .6);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 250;
  padding: 12px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(14, 16, 24, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #eef1f8;
  font-size: 14px;
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .9), var(--glass);
  transform: translate(-50%, 26px);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease), opacity .45s ease;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 05 · Nav（克制悬浮胶囊） ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: clamp(12px, 4vw, 28px);
  right: clamp(12px, 4vw, 28px);
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-0) 62%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, .8), var(--glass);
  transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg-0) 84%, transparent);
  border-color: var(--line-2);
  box-shadow: 0 20px 46px -28px rgba(0, 0, 0, .85), var(--glass);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; width: 100%; padding-inline: clamp(12px, 2vw, 20px); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: grid; line-height: 1.2; }
.brand__text b { font-family: var(--font-display); font-size: 16.5px; letter-spacing: .12em; font-weight: 700; }
.brand__text i { font-family: var(--font-mono); font-style: normal; font-size: 9px; letter-spacing: .32em; color: var(--text-2); }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav__links > a:not(.btn) {
  position: relative;
  padding-block: 6px;
  font-size: 14px;
  color: var(--text-1);
  transition: color .3s ease;
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links > a:not(.btn):hover,
.nav__links > a:not(.btn).is-active { color: var(--text-0); }
.nav__links > a:not(.btn):hover::after,
.nav__links > a:not(.btn).is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text-1);
  cursor: pointer;
  transition: color .3s, border-color .3s, transform .3s var(--ease), background-color .3s;
}
.icon-btn:hover { color: var(--amber); border-color: var(--line-2); transform: translateY(-2px); }
#themeBtn .i-sun { display: none; }
[data-theme="light"] #themeBtn .i-sun { display: block; }
[data-theme="light"] #themeBtn .i-moon { display: none; }

.nav__burger { display: none; position: relative; }
.nav__burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.7px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .25s ease;
}
.nav__burger span:nth-child(1) { transform: translateY(-6px); }
.nav__burger span:nth-child(3) { transform: translateY(6px); }
.nav__burger.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- 06 · Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 100px;
  overflow: hidden;
  scroll-margin-top: 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .42;
  will-change: transform;
}
.hero__blob--a {
  width: 44vw; height: 44vw; min-width: 320px; min-height: 320px;
  left: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(120, 130, 200, .5), transparent 68%);
  animation: float1 24s ease-in-out infinite alternate;
}
.hero__blob--b {
  width: 40vw; height: 40vw; min-width: 300px; min-height: 300px;
  right: -8vw; top: 2vw;
  background: radial-gradient(circle, rgba(233, 184, 114, .34), transparent 68%);
  animation: float2 28s ease-in-out infinite alternate;
}
@keyframes float1 { to { transform: translate3d(7vw, 5vw, 0) scale(1.12); } }
@keyframes float2 { to { transform: translate3d(-6vw, 7vw, 0) scale(1.08); } }

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: .06;
  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%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 88%, rgba(233, 150, 70, .26), transparent 62%),
    radial-gradient(ellipse 130% 90% at 50% 40%, transparent 42%, rgba(6, 7, 12, .74) 100%);
}
[data-theme="light"] .hero__vignette {
  background:
    radial-gradient(ellipse 70% 55% at 50% 88%, rgba(233, 170, 90, .3), transparent 64%),
    radial-gradient(ellipse 130% 90% at 50% 40%, transparent 48%, rgba(250, 244, 234, .55) 100%);
}

/* 首屏不加卡片，让文字直接落在日出之上，更沉浸 */
.hero__inner { position: relative; text-align: center; display: grid; justify-items: center; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--text-1);
}
.pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(92, 199, 154, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(92, 199, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 199, 154, 0); }
}

.hero__title {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.4vw, 14px);
  font-family: var(--font-display);
  font-size: clamp(54px, 12.5vw, 148px);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.06;
}
.chars { display: inline-flex; }
.char {
  display: inline-block;
  background: linear-gradient(180deg, #fffaf1 0%, #f0c98f 52%, #d98e4f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 54px rgba(233, 184, 114, .3);
}
[data-theme="light"] .char {
  background: linear-gradient(180deg, #3a2a16, #a86a1c 72%, #8f5a17);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.js .char {
  opacity: 0;
  animation: charIn 1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 90ms + 180ms);
}
@keyframes charIn {
  from { opacity: 0; transform: translateY(46px) scale(.94); filter: blur(14px); }
  to { opacity: 1; transform: none; filter: none; }
}
html.intro-pending .char { animation-play-state: paused; }
.hero__cursor {
  width: 3px;
  height: clamp(38px, 8vw, 92px);
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__tagline {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(16px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: .24em;
  text-indent: .24em;
  color: var(--text-1);
}
.hero__lead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--text-1);
  font-size: clamp(14.5px, 1.4vw, 16px);
  line-height: 1.9;
}
.hero__lead strong { color: var(--text-0); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 7vw, 76px);
  margin-top: clamp(48px, 7vw, 78px);
}
.hero__stats li { display: grid; justify-items: center; gap: 4px; }
.hero__stats b {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  letter-spacing: .02em;
}
.hero__stats span { font-size: 12px; letter-spacing: .14em; color: var(--text-2); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 9px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .34em;
  transition: color .3s;
}
.hero__scroll:hover { color: var(--amber); }
.hero__scroll-line { position: relative; width: 1px; height: 44px; background: var(--line-2); overflow: hidden; }
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- 07 · Band（技术栈跑马灯） ---------- */
.band {
  position: relative;
  padding-block: 16px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-1) 60%, transparent);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.band__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__group { display: flex; align-items: center; }
.band__group span {
  padding-inline: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .3s;
}
.band__group span:hover { color: var(--amber); }
.band__group i {
  width: 4px; height: 4px;
  background: var(--amber);
  transform: rotate(45deg);
  opacity: .5;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 08 · Cards（文档导航） ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.card {
  position: relative;
  padding: clamp(26px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s ease, box-shadow .5s var(--ease), background-color .4s ease;
}
/* 指针跟随的一点暖光（很淡，只作为交互反馈） */
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(300px 200px at var(--mx, 50%) var(--my, 0%), rgba(233, 184, 114, .1), transparent 70%);
  opacity: 0;
  transition: opacity .45s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  background: var(--surface-2);
  box-shadow: var(--shadow-card);
}
.card:hover::after { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 20px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--amber);
  transition: transform .5s var(--ease), background-color .4s;
}
.card:hover .card__icon { transform: translateY(-3px) rotate(-6deg); background: rgba(233, 184, 114, .12); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; letter-spacing: .02em; font-weight: 600; }
.card p { margin-top: 11px; color: var(--text-1); font-size: 14.6px; line-height: 1.85; }
.card__meta {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-2);
}
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card__tags li {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  color: var(--text-2);
}

/* ---------- 09 · Notes（最新笔记） ---------- */
.notes { display: grid; gap: 12px; }
.note {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 6px 24px;
  padding: clamp(20px, 2.4vw, 26px) clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .4s ease, background-color .4s ease, transform .5s var(--ease);
}
.note::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: var(--amber);
  opacity: 0;
  transform: scaleY(.35);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.note:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateX(4px); }
.note:hover::before { opacity: 1; transform: scaleY(1); }
.note__date {
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-2);
  white-space: nowrap;
}
.note h3 {
  font-size: clamp(16px, 1.6vw, 18px);
  letter-spacing: .015em;
  line-height: 1.55;
  font-weight: 600;
  transition: color .3s;
}
.note:hover h3 { color: var(--amber); }
.note p { margin-top: 8px; color: var(--text-1); font-size: 14.4px; line-height: 1.85; }
.note .chips { margin-top: 14px; }

/* ---------- 10 · About ---------- */
.about {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.portrait {
  position: relative;
  aspect-ratio: 1;
  max-width: 400px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 78%, rgba(233, 184, 114, .14), transparent 62%),
    var(--surface);
  overflow: hidden;
}
.portrait__glow {
  position: absolute;
  width: 70%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 184, 114, .22), transparent 66%);
  filter: blur(34px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.portrait svg { position: relative; width: 82%; height: auto; }

.about__lead { color: var(--text-1); font-size: clamp(15px, 1.4vw, 16.5px); line-height: 1.9; }
.about__lead strong { color: var(--text-0); }
.values { display: grid; gap: 22px; margin-top: 34px; }
.values li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.values li:last-child { border-bottom: 0; padding-bottom: 0; }
.values b {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--amber);
  padding-top: 4px;
  letter-spacing: .06em;
}
.values h4 { font-size: 16.5px; letter-spacing: .02em; font-weight: 600; }
.values p { margin-top: 6px; color: var(--text-1); font-size: 14.4px; }
.values--wide { grid-template-columns: 1fr 1fr; gap: 30px clamp(28px, 4vw, 56px); max-width: 960px; margin-inline: auto; }
.values--wide li { border-bottom: 0; padding-bottom: 0; align-content: start; }

.toolbox { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toolbox span {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-1);
  transition: color .3s, border-color .3s, transform .3s var(--ease);
}
.toolbox span:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-2px); }

/* ---------- 11 · FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.faq { display: grid; gap: 10px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .35s, background-color .35s;
}
.faq__item.is-open { border-color: var(--line-2); background: var(--surface-2); }
.faq__item h3 { margin: 0; font-size: inherit; }
.faq__item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 19px 22px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .3s;
}
.faq__item button:hover { color: var(--amber); }
.faq__item button i {
  position: relative;
  flex: 0 0 auto;
  width: 15px; height: 15px;
}
.faq__item button i::before,
.faq__item button i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.6px;
  border-radius: 2px;
  background: var(--amber);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), opacity .3s;
}
.faq__item button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open button i::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p {
  padding: 0 22px 22px;
  color: var(--text-1);
  font-size: 14.6px;
  line-height: 1.9;
}

/* ---------- Info · 信息列表（关于区） ---------- */
.info-list { display: grid; gap: 13px; margin-top: 28px; }
.info-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.info-list__k {
  flex: 0 0 54px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--text-2);
}
.info-list b { font-weight: 500; font-size: 14.6px; }
.info-list a {
  color: var(--amber);
  border-bottom: 1px dashed rgba(233, 184, 114, .45);
  transition: opacity .3s;
}
.info-list a:hover { opacity: .75; }
.copyable {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color .3s;
}
.copyable:hover { color: var(--amber); }

/* ---------- 12 · CTA / Footer ---------- */
.cta-band {
  position: relative;
  padding-block: clamp(46px, 6vw, 70px);
  background: var(--grad-warm);
  color: #241305;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .3) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .26;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band p { display: grid; gap: 6px; }
.cta-band b { font-family: var(--font-display); font-size: clamp(23px, 3.2vw, 34px); font-weight: 700; letter-spacing: .03em; }
.cta-band span { font-size: 14.4px; opacity: .8; }

.footer { position: relative; padding-top: clamp(52px, 7vw, 78px); background: var(--bg-1); border-top: 1px solid var(--line); }
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 184, 114, .38), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(26px, 4vw, 44px);
  padding-bottom: 44px;
}
.footer__brand p { margin-top: 16px; color: var(--text-1); font-size: 14px; line-height: 1.8; }
.footer__mail a {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--amber);
  border-bottom: 1px dashed rgba(233, 184, 114, .45);
  transition: opacity .3s;
}
.footer__mail a:hover { opacity: .75; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--text-2);
  margin-bottom: 4px;
}
.footer__col a, .footer__col p { color: var(--text-1); font-size: 14px; transition: color .3s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--amber); transform: translateX(3px); }
.to-top { margin-top: 6px; color: var(--amber) !important; }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.4px;
  color: var(--text-2);
}
.footer__meta { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer__meta a { color: var(--text-1); transition: color .3s; }
.footer__meta a:hover { color: var(--amber); }

/* ---------- 13 · Motion（滚动显现） ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(7px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- 14 · Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 14px; }
  .nav__links > a:not(.btn) { font-size: 13.5px; }
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }
  .faq-wrap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  :root { --header-h: 64px; --nav-h: 56px; }
  .nav__burger { display: grid; }
  .nav__links {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 14px 18px 20px;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg-0) 95%, transparent);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .45s var(--ease), opacity .35s ease, visibility .45s;
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__links > a:not(.btn) {
    padding: 13px 4px;
    font-size: 15.5px;
    border-bottom: 1px solid var(--line);
  }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 12px; }
  body.nav-open { overflow: hidden; }
  .br-m { display: block; }
  .hero { min-height: 92vh; min-height: 92svh; padding-bottom: 78px; }
  .hero__lead br { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 15.4px; }
  .hero__kicker { font-size: 10px; letter-spacing: .1em; padding: 6px 13px; }
  .note { grid-template-columns: 1fr; gap: 6px; }
  .note__date { padding-top: 0; }
  .values--wide { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px 30px; }
  .cta-band__inner { text-align: center; justify-content: center; }
  .brand__text i { display: none; }
}

/* ---------- 15 · Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .js .char { opacity: 1; animation: none; }
  .band__track { animation: none; }
  .js .intro { display: none; }
}
