/* 朝暮Todo 官网 — 深色「晨昏」视觉
   品牌取自 App 图标：深墨绿底 + 薄荷绿到暖橙的渐变环。
   纯静态、无外部依赖、单一深色主题。 */

:root {
  color-scheme: dark;

  --bg: #07110d;
  --bg-soft: #0a1712;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --ink: #f1f8f4;
  --muted: #9db3aa;
  --muted-2: #6e857b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --mint: #7be0c0;
  --mint-strong: #5fd4b0;
  --mint-deep: #2fa886;
  --amber: #ffc978;
  --peach: #ff9e7a;
  --grad: linear-gradient(100deg, #9befd3 0%, #ffd28a 55%, #ff9e7a 100%);

  --radius: 24px;
  --radius-lg: 32px;
  --shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(1100px 720px at 12% -10%, rgba(95, 212, 176, 0.17), transparent 60%),
    radial-gradient(900px 620px at 102% 2%, rgba(255, 185, 107, 0.11), transparent 55%),
    radial-gradient(900px 700px at 78% 46%, rgba(123, 224, 192, 0.05), transparent 62%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  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: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 58%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 58%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

main,
.site-header,
.site-footer { position: relative; z-index: 1; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--mint);
  color: #04140f;
  font-weight: 700;
}
.skip-link:focus { left: 16px; }

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

::selection {
  background: rgba(123, 224, 192, 0.35);
  color: #ffffff;
}

/* ---------- 浮动玻璃导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0;
  background: transparent;
  border: 0;
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 62px;
  padding: 0 18px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(9, 20, 15, 0.72);
  box-shadow: 0 16px 50px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a { padding: 7px 0; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }

.nav-links a:last-child {
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-links a:last-child:hover {
  border-color: var(--mint);
  background: rgba(123, 224, 192, 0.08);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #a3f2d8 0%, #5fd4b0 58%, #4bc59f 100%);
  color: #04140f;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 10px 34px -8px rgba(95, 212, 176, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 46px -10px rgba(95, 212, 176, 0.6);
}

.btn:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(123, 224, 192, 0.5);
  box-shadow: none;
}

.text-link {
  align-self: center;
  padding: 12px 8px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

/* ---------- 首页 Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 82px 0 64px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(123, 224, 192, 0.12), 0 0 14px var(--mint);
}

.badge b { color: var(--ink); font-weight: 650; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 6.2vw, 5.3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 33em;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.75;
}

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

.actions-spaced { margin-top: 28px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stats div { display: flex; flex-direction: column; gap: 2px; }

.hero-stats strong {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.hero-stats span {
  color: var(--muted-2);
  font-size: 0.77rem;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.hero-orb {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    rgba(123, 224, 192, 0.55),
    rgba(255, 201, 120, 0.45),
    rgba(255, 158, 122, 0.32),
    rgba(123, 224, 192, 0.55)
  );
  filter: blur(64px);
  opacity: 0.42;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    #7be0c0,
    #ffc978,
    #ff9e7a,
    #7be0c0
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 2px)
  );
  opacity: 0.55;
  transform: rotate(-14deg);
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(123, 224, 192, 0.35));
}

.phone {
  position: relative;
  z-index: 1;
  width: min(272px, 64vw);
  margin: 0;
  overflow: hidden;
  border: 10px solid #0a1410;
  border-radius: 42px;
  background: #0a1410;
  box-shadow:
    0 50px 110px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 90px rgba(95, 212, 176, 0.14);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.hero-phone { transform: rotate(-3deg) translateY(4px); }

/* ---------- 通用区块 ---------- */

.section { padding: 80px 0; }

.page-hero + .section { padding-top: 28px; }

.section-head {
  max-width: 680px;
  margin-bottom: 46px;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- Bento 功能卡 ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 26px 26px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  );
  transition: transform 0.22s ease, border-color 0.22s ease,
    background 0.22s ease;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px 220px at 50% -30%,
    rgba(123, 224, 192, 0.16),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 224, 192, 0.34);
}

.feature:hover::after { opacity: 1; }

.feature-lg { grid-column: span 2; min-height: 240px; }

.mini-week {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}

.mini-week span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-2);
  font-size: 0.72rem;
}

.mini-week .on {
  background: linear-gradient(135deg, #a3f2d8, #5fd4b0);
  color: #04140f;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(95, 212, 176, 0.5);
}

.mini-note {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.mini-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.mini-line.w80 { width: 80%; }
.mini-line.w60 { width: 60%; }
.mini-line.w40 { width: 40%; background: rgba(123, 224, 192, 0.22); }

.feature-num {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid rgba(123, 224, 192, 0.2);
  border-radius: 13px;
  background: rgba(123, 224, 192, 0.09);
  color: var(--mint);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.feature-icon svg { width: 21px; height: 21px; }

.feature:hover .feature-icon {
  background: rgba(123, 224, 192, 0.16);
  box-shadow: 0 0 26px rgba(123, 224, 192, 0.22);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- 截图 ---------- */

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shots::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
  scroll-snap-align: start;
}

.shot .phone {
  width: 168px;
  border-width: 7px;
  border-radius: 30px;
}

.shot .phone img { border-radius: 24px; }

.shot figcaption {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.79rem;
}

@media (min-width: 1025px) {
  .shots { justify-content: center; }
}

.desktop-shot {
  margin: 24px 0 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow: var(--shadow);
}

.desktop-shot img { border-radius: 14px; }

.desktop-shot figcaption {
  margin: 14px 6px 4px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

/* ---------- 本地优先区块 ---------- */

.pitch {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  overflow: hidden;
  padding: 56px;
  border: 1px solid rgba(123, 224, 192, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(123, 224, 192, 0.1),
    rgba(255, 201, 120, 0.05) 55%,
    rgba(255, 255, 255, 0.02)
  );
}

.pitch::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 120, 0.16), transparent 62%);
  pointer-events: none;
}

.pitch .eyebrow { color: var(--amber); }
.pitch h2 { position: relative; }
.pitch-copy p { position: relative; color: var(--muted); }
.pitch-copy p:last-child { margin-bottom: 0; }

.pitch-grid {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: start;
}

.pitch-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pitch-num {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pitch-item h3 {
  margin: 8px 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.pitch-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- 下载横幅 ---------- */

.download-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  padding: 56px;
  border: 1px solid rgba(123, 224, 192, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(123, 224, 192, 0.16), transparent 65%),
    radial-gradient(600px 300px at 95% 100%, rgba(255, 201, 120, 0.12), transparent 65%),
    rgba(255, 255, 255, 0.025);
}

.download-band h2 { margin-bottom: 12px; }
.download-band p { margin: 0; color: var(--muted); }

.download-band-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tiny {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.79rem;
}

.tiny a { color: var(--mint); }

/* ---------- 子页面头部 ---------- */

.page-hero { padding: 78px 0 22px; }

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.page-hero p {
  max-width: 42em;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- 下载页 ---------- */

.narrow { max-width: 860px; margin-inline: auto; }

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.platform-grid .download-card { padding: 30px; }

.platform-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-name h2 { margin: 0; font-size: 1.35rem; }

.platform-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(123, 224, 192, 0.2);
  border-radius: 12px;
  background: rgba(123, 224, 192, 0.09);
  color: var(--mint);
}

.platform-icon svg { width: 22px; height: 22px; }

.platform-grid .meta-grid { grid-template-columns: 1fr 1fr; }

.platform-grid .sha {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  padding: 12px 14px;
}

.platform-grid .sha > span {
  grid-column: 1;
  grid-row: 1;
  color: var(--muted-2);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.platform-grid .sha code {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.68rem;
  line-height: 1.55;
}

.platform-grid .sha .copy-btn {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  padding: 3px 9px;
  font-size: 0.7rem;
}

#windows { scroll-margin-top: 100px; }

#history { padding-top: 32px; }

.platform-note { margin-top: 18px; text-align: center; }

.history-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.015)
  );
}

.history-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.4fr;
  gap: 16px;
  align-items: center;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}

.history-row:last-child { border-bottom: 0; }

.history-head {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-version {
  font-size: 0.92rem;
  font-weight: 700;
}

.history-version em {
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px solid rgba(123, 224, 192, 0.3);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 600;
  vertical-align: 1px;
}

.history-date {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.history-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.history-links a {
  color: var(--mint);
  font-size: 0.82rem;
}

.history-links a:hover { text-decoration: underline; }

.history-none {
  color: var(--muted-2);
  font-size: 0.8rem;
}

.download-card {
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.065),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: var(--shadow);
}

.download-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.download-card-head h2 { margin: 0; font-size: 1.5rem; }

.download-card-head .date {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 26px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.meta-grid dt {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.meta-grid dd {
  margin: 5px 0 0;
  font-size: 0.95rem;
  font-weight: 650;
}

.download-card > .btn {
  width: 100%;
  margin-top: 4px;
}

.download-card .sha { margin-top: 16px; }
.download-card .tiny { margin-top: 12px; }

.sha {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.75rem;
  line-height: 1.55;
  word-break: break-all;
}

.sha code {
  flex: 1 1 0;
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font-size: 0.77rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.copy-btn:hover { border-color: var(--mint); color: var(--mint); }

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 44px;
  list-style: none;
  color: var(--muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(123, 224, 192, 0.12);
  color: var(--mint);
  font-size: 0.81rem;
  font-weight: 700;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  font-weight: 650;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "\2212"; }

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- 正文 ---------- */

.prose {
  max-width: 780px;
  padding-bottom: 56px;
}

.prose h2 {
  margin: 42px 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 1.02rem;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.prose strong { color: var(--ink); }

.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }

.prose a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-weight: 650;
}

.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

.note {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}

.note p { margin: 0; font-size: 0.9rem; }

/* ---------- 更新日志 ---------- */

.release {
  margin-bottom: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.015)
  );
}

.release-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.release-version {
  color: var(--mint);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.release-date { color: var(--muted-2); font-size: 0.79rem; }

.release h3 {
  margin: 6px 0 0;
  font-size: 1.06rem;
}

.release .summary {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 0.93rem;
}

.release ul { margin: 0; padding-left: 1.2em; }

.release li {
  margin: 7px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1.65;
  vertical-align: 1px;
}

.tag-feature {
  background: rgba(123, 224, 192, 0.13);
  color: var(--mint);
}

.tag-improve {
  background: rgba(255, 201, 120, 0.12);
  color: var(--amber);
}

.tag-fix {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: 72px;
  padding: 56px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  max-width: 26em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.89rem;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--muted-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.site-footer a:hover { color: var(--mint); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.79rem;
}

/* ---------- 动效 ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise 0.6s ease both; }
  .hero-art { animation: rise 0.7s 0.08s ease both; }

  @keyframes rise {
    from { transform: translateY(16px); }
    to { transform: none; }
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 64px;
  }

  .hero-art { min-height: 0; }
  .hero-orb { width: 380px; height: 380px; }
  .hero-ring { width: 340px; height: 340px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .feature-lg { grid-column: span 2; }

  .pitch {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px;
  }

  .download-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }

  .platform-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { gap: 14px; font-size: 0.84rem; }
  .nav-links a:nth-child(n + 3) { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: min(1160px, 100% - 32px); }

  .site-header { padding: 10px 0; }
  .site-header .nav { height: 56px; padding: 0 14px 0 12px; }
  .brand { font-size: 0.95rem; }
  .brand img { width: 30px; height: 30px; }

  h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }

  .hero { padding: 46px 0 64px; }
  .section { padding: 64px 0; }
  .page-hero + .section { padding-top: 22px; }
  .section-head { margin-bottom: 32px; }

  .hero-ring { width: 280px; height: 280px; opacity: 0.4; }

  .bento { grid-template-columns: 1fr; }
  .feature-lg { grid-column: span 1; }

  .meta-grid { grid-template-columns: 1fr 1fr; }

  .history-row {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px 18px;
  }

  .history-head { display: none; }
  .history-date { text-align: right; }

  .history-links {
    grid-column: 1 / -1;
    gap: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { display: none; }

  .footer-grid { grid-template-columns: 1fr; }

  .download-card { padding: 24px; }
  .download-band { padding: 30px; }
  .release { padding: 22px; }
}
