/* ════════════════════════════════════════════════════════════
   Steve 的产品实验室 · Modern Lab Edition（深浅色双主题）
   深色：深炭黑 / 电光柠檬绿
   浅色：纸面灰白 / 橄榄绿
   Space Grotesk × Noto Sans SC × Plex Mono
   ════════════════════════════════════════════════════════════ */

:root {
  /* —— 深色主题（默认） —— */
  --bg:      #0B0C0E;
  --bg-2:    #101216;
  --panel:   rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line:    rgba(255, 255, 255, 0.09);
  --line-2:  rgba(255, 255, 255, 0.18);

  --txt:     #F2F4F1;
  --muted:   #9BA3A7;
  --faint:   #5E666B;

  --lime:      #C8F651;
  --lime-soft: rgba(200, 246, 81, 0.14);
  --amber:     #FFD166;
  --amber-soft:   rgba(255, 209, 102, 0.08);
  --amber-border: rgba(255, 209, 102, 0.3);

  --on-lime:     #0B0C0E;
  --lime-border: rgba(200, 246, 81, 0.28);
  --lime-line:   rgba(200, 246, 81, 0.5);
  --lime-wash:   rgba(200, 246, 81, 0.09);
  --lime-glow:   rgba(200, 246, 81, 0.3);
  --lime-ring:   rgba(200, 246, 81, 0.15);
  --pulse:       rgba(200, 246, 81, 0.5);
  --hl-glow:     0 0 42px rgba(200, 246, 81, 0.35);

  --glow-1:   rgba(200, 246, 81, 0.13);
  --glow-2:   rgba(123, 223, 246, 0.08);
  --grid-line: rgba(255, 255, 255, 0.05);
  --noise-op: 0.05;
  --topbar-bg: rgba(11, 12, 14, 0.62);
  --card-shadow: rgba(0, 0, 0, 0.8);
  --input-bg: rgba(255, 255, 255, 0.05);
  --stroke:   rgba(255, 255, 255, 0.16);
  --scroll-thumb:   rgba(255, 255, 255, 0.12);
  --scroll-thumb-2: rgba(255, 255, 255, 0.2);

  --font-display: "Space Grotesk", "Noto Sans SC", sans-serif;
  --font-body:    "Noto Sans SC", "PingFang SC", sans-serif;
  --font-mono:    "IBM Plex Mono", "Courier New", monospace;

  --w: 1200px;
  --pad: clamp(20px, 4vw, 24px);
  --radius: 20px;
}

/* —— 浅色主题（纸面实验室） —— */
:root[data-theme="light"] {
  --bg:      #F5F6F2;
  --bg-2:    #FFFFFF;
  --panel:   rgba(255, 255, 255, 0.72);
  --panel-2: rgba(11, 12, 14, 0.05);
  --line:    rgba(11, 12, 14, 0.1);
  --line-2:  rgba(11, 12, 14, 0.22);

  --txt:     #16181A;
  --muted:   #5A6166;
  --faint:   #949BA0;

  --lime:      #55850A;
  --lime-soft: rgba(139, 193, 58, 0.16);
  --amber:     #9A6A00;
  --amber-soft:   rgba(255, 209, 102, 0.18);
  --amber-border: rgba(154, 106, 0, 0.4);

  --on-lime:     #FFFFFF;
  --lime-border: rgba(139, 193, 58, 0.45);
  --lime-line:   rgba(139, 193, 58, 0.55);
  --lime-wash:   rgba(139, 193, 58, 0.12);
  --lime-glow:   rgba(139, 193, 58, 0.25);
  --lime-ring:   rgba(139, 193, 58, 0.2);
  --pulse:       rgba(139, 193, 58, 0.45);
  --hl-glow:     none;

  --glow-1:   rgba(139, 193, 58, 0.16);
  --glow-2:   rgba(123, 223, 246, 0.18);
  --grid-line: rgba(11, 12, 14, 0.06);
  --noise-op: 0.04;
  --topbar-bg: rgba(245, 246, 242, 0.72);
  --card-shadow: rgba(11, 12, 14, 0.12);
  --input-bg: rgba(255, 255, 255, 0.6);
  --stroke:   rgba(11, 12, 14, 0.2);
  --scroll-thumb:   rgba(11, 12, 14, 0.18);
  --scroll-thumb-2: rgba(11, 12, 14, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 切换主题时的平滑过渡（由 JS 短暂挂上 theme-anim 类） */
html.theme-anim body,
html.theme-anim body * {
  transition:
    background-color .35s ease,
    background .35s ease,
    color .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    fill .35s ease,
    stroke .35s ease !important;
}

::selection { background: var(--lime); color: var(--on-lime); }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-2); }

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

/* ─────────────── 滚动进度条 ─────────────── */
.progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--lime), #7BDFF6);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ─────────────── 背景氛围 ─────────────── */
.atmo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.atmo-glow { position: absolute; border-radius: 50%; transition: background .4s ease; }
.atmo-glow-1 {
  width: 62vw; height: 62vw; left: -18vw; top: -24vw;
  background: radial-gradient(closest-side, var(--glow-1), transparent 72%);
}
.atmo-glow-2 {
  width: 52vw; height: 52vw; right: -16vw; top: 24vh;
  background: radial-gradient(closest-side, var(--glow-2), transparent 72%);
}

.atmo-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, black 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, black 25%, transparent 78%);
}

.atmo-noise {
  position: absolute; inset: 0; opacity: var(--noise-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav-wrap, .ticker, .hero, .section, .footer { position: relative; z-index: 1; }

/* ─────────────── 导航（悬浮胶囊） ─────────────── */
.nav-wrap { position: sticky; top: 0; z-index: 100; padding: 14px var(--pad) 6px; }

.topbar {
  max-width: var(--w); margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 20px;
  background: var(--topbar-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--lime); letter-spacing: -0.02em;
}
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: .02em; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 16px; border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover { color: var(--txt); background: var(--panel-2); }

/* 主题切换按钮 */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted); cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .35s ease;
}
.theme-toggle:hover {
  color: var(--txt);
  background: var(--panel-2);
  border-color: var(--line-2);
  transform: rotate(20deg);
}
.theme-toggle svg { display: none; }
:root[data-theme="dark"]  .theme-toggle .ico-sun  { display: block; } /* 深色中点击 → 去浅色 */
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; } /* 浅色中点击 → 去深色 */

.nav-cta {
  font-size: 14px; font-weight: 700;
  background: var(--lime); color: var(--on-lime);
  padding: 10px 22px; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--lime-glow);
}

/* ─────────────── HERO ─────────────── */
.hero { padding: clamp(64px, 9vw, 120px) var(--pad) clamp(56px, 7vw, 88px); }

.hero-inner { max-width: 1000px; margin: 0 auto; text-align: center; }

.hero-badges {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 30px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em;
  padding: 7px 16px; border-radius: 999px;
}
.pill-lime { background: var(--lime-soft); color: var(--lime); border: 1px solid var(--lime-border); }
.pill-ghost { border: 1px solid var(--line); color: var(--muted); }

.dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 var(--pulse);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--pulse); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8.4vw, 96px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hero-title .hl {
  color: var(--lime);
  text-shadow: var(--hl-glow);
}

.hero-sub { max-width: 660px; margin: 26px auto 0; }
.hero-standfirst { font-size: clamp(15px, 1.5vw, 17.5px); color: var(--muted); }

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 22px;
}
.hero-meta li {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 15px;
  background: var(--panel);
}

.hero-actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
  margin-top: 38px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  padding: 15px 30px; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-primary {
  background: var(--lime); color: var(--on-lime);
  box-shadow: 0 10px 36px var(--lime-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px var(--lime-glow); }
.btn-primary .btn-arrow { transition: transform .25s ease; }
.btn-primary:hover .btn-arrow { transform: translateY(3px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--txt); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--line-2); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 720px; margin: clamp(48px, 6vw, 72px) auto 0;
}
.hero-stats > div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px;
}
.hero-stats > div + div { border-left: 1px solid var(--line); }
.hero-stats dd {
  order: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-stats dt {
  order: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--faint); text-transform: uppercase;
}

/* ─────────────── 走马灯 ─────────────── */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
  padding: 0 30px; white-space: nowrap;
  display: flex; align-items: center; gap: 30px;
}
.ticker-track span::after { content: "//"; color: var(--lime); font-size: 11px; }

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

/* ─────────────── 区块通用 ─────────────── */
.section {
  max-width: var(--w); margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) var(--pad) 0;
}

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .28em;
  color: var(--lime); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15;
}
.section-count {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  color: var(--faint); padding-bottom: 8px;
}

/* ─────────────── Bento 产品陈列 ─────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  grid-column: span 2;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  transition: transform .35s cubic-bezier(.22,.8,.3,1), border-color .35s ease, box-shadow .35s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime-line), transparent);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -30px var(--card-shadow);
}
.card:hover::before { opacity: 1; }

/* 头条大卡：整行 */
.card.featured {
  grid-column: span 6;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(120deg, var(--lime-wash), transparent 46%),
    var(--panel);
  border-color: var(--lime-border);
}
.card.featured::before { opacity: 1; }

.card-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }

.card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 16px;
}
.card-code {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--faint);
}

.card-name {
  font-size: clamp(21px, 2.1vw, 25px); font-weight: 700; letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.card-name .en {
  font-family: var(--font-display); font-weight: 500;
  font-size: .68em; color: var(--lime); letter-spacing: .02em;
}

.card-desc {
  font-size: 14.5px; color: var(--muted); line-height: 1.85;
  flex: 1; margin-bottom: 20px;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.card-tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px;
}

.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--txt);
  transition: color .25s ease;
}
.card-link .arr { transition: transform .25s ease; color: var(--lime); }
.card-link:hover { color: var(--lime); }
.card-link:hover .arr { transform: translate(3px, -3px); }
.card-year {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--faint);
}

/* 头条卡右侧视觉位 */
.card-visual {
  display: grid; place-items: center;
  border-left: 1px dashed var(--line-2);
  padding-left: 32px;
  min-height: 180px;
}
.card-wordmark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 5.4vw, 76px); line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--lime);
  text-shadow: var(--hl-glow);
  text-align: center;
}
.card-wordmark small {
  display: block;
  font-family: var(--font-mono); font-weight: 400; font-size: 10px;
  letter-spacing: .34em; color: var(--faint);
  margin-top: 14px;
}

/* 状态徽章 */
.status {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live       { color: var(--lime); background: var(--lime-soft); border-color: var(--lime-border); }
.status-live::before { animation: pulse 2s ease-out infinite; }
.status-beta       { color: var(--amber); background: var(--amber-soft); border-color: var(--amber-border); }
.status-beta::before { animation: blink 1.6s ease infinite; }
.status-incubating { color: var(--faint); }
.status-incubating::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

@keyframes blink { 50% { opacity: .25; } }

/* ─────────────── 关于 ─────────────── */
.about-layout {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 18px; align-items: stretch;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.portrait {
  aspect-ratio: 1; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, var(--lime-wash), transparent 55%),
    var(--panel-2);
  border: 1px dashed var(--line-2); border-radius: 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  color: var(--faint);
  margin-bottom: 20px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.about-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.about-role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--faint); margin-top: 6px;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about-stats div { display: flex; flex-direction: column; gap: 3px; }
.about-stats dd {
  order: 1;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--lime);
}
.about-stats dt { order: 2; font-size: 11px; color: var(--faint); letter-spacing: .04em; }

.about-text {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 46px);
  display: flex; flex-direction: column; justify-content: center;
}
.about-text p {
  font-size: clamp(15px, 1.3vw, 16.5px); color: var(--muted); line-height: 2.05;
}
.about-text p + p { margin-top: 1.3em; }
.about-text p:last-child { color: var(--txt); }

/* ─────────────── 手记 ─────────────── */
.updates { max-width: 840px; }
.updates li {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 22px; align-items: baseline;
  padding: 18px 10px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  transition: background .25s ease, padding-left .25s ease;
}
.updates li:hover { background: var(--panel); padding-left: 20px; }
.updates time {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--lime);
}
.updates p { font-size: 15px; color: var(--muted); }

/* ─────────────── 订阅 ─────────────── */
.subscribe-panel {
  position: relative; overflow: hidden;
  max-width: 780px; margin: 0 auto; text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, var(--lime-wash), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 64px);
}
.subscribe-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em;
  color: var(--lime); margin-bottom: 16px;
}
.subscribe-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.02em;
}
.subscribe-desc {
  font-size: 14.5px; color: var(--muted);
  max-width: 470px; margin: 14px auto 0;
}

.subscribe-form {
  display: flex; gap: 10px; max-width: 470px; margin: 32px auto 0;
}
.subscribe-form input {
  flex: 1; min-width: 0;
  font-family: var(--font-mono); font-size: 14px;
  background: var(--input-bg);
  border: 1px solid var(--line-2);
  border-radius: 13px; color: var(--txt);
  padding: 14px 18px; outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.subscribe-form input::placeholder { color: var(--faint); }
.subscribe-form input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-ring);
}
.subscribe-form button {
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  background: var(--lime); color: var(--on-lime);
  border: none; border-radius: 13px;
  padding: 14px 32px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.subscribe-form button:hover { transform: translateY(-1px); box-shadow: 0 8px 26px var(--lime-glow); }
.subscribe-form button:active { transform: scale(.97); }

.subscribe-ok { margin-top: 18px; font-size: 14px; color: var(--lime); letter-spacing: .04em; }

/* ─────────────── 页脚 ─────────────── */
.footer {
  margin-top: clamp(80px, 10vw, 130px);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) var(--pad) 30px;
  text-align: center;
}
.footer-wordmark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(64px, 15vw, 170px); line-height: .95;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--stroke);
  user-select: none;
}
.footer-desc { font-size: 14px; color: var(--muted); margin-top: 14px; }

.footer-socials {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 26px;
}
.footer-socials a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .25s ease;
}
.footer-socials a:hover { color: var(--lime); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  max-width: var(--w); margin: 48px auto 0; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  color: var(--faint);
}

/* ─────────────── 入场动画 ─────────────── */
.reveal { animation: rise .75s cubic-bezier(.22,.8,.3,1) backwards; }
.reveal:nth-child(2) { animation-delay: .1s; }
.reveal:nth-child(3) { animation-delay: .2s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.js .io {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.3,1);
}
.js .io.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .io { opacity: 1; transform: none; }
}

/* ─────────────── 响应式 ─────────────── */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 1; }
  .card.featured { grid-column: span 2; grid-template-columns: 1fr; }
  .card-visual {
    border-left: none; border-top: 1px dashed var(--line-2);
    padding: 24px 0 6px; min-height: 140px;
  }
  .about-layout { grid-template-columns: 1fr; }
  .about-card { max-width: 400px; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
  .brand-name { display: none; }
  .nav-links a { padding: 8px 11px; font-size: 13.5px; }
  .nav-cta { padding: 9px 16px; }
  .bento { grid-template-columns: 1fr; }
  .card.featured { grid-column: span 1; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .hero-stats dd { font-size: 26px; }
  .hero-stats dt { font-size: 9.5px; }
  .updates li { grid-template-columns: 1fr; gap: 4px; }
  .subscribe-form { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
}
