/* =========================================================
   蓝柚启动器官网
   设计原则：扁平、克制、以排版为主，不使用发光与渐变装饰
   ========================================================= */

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f8fa;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-2: #f2f4f8;
  --text: #15181e;
  --text-2: #414855;
  --muted: #737c8c;
  --line: #e2e6ed;
  --line-strong: #cdd4de;
  --accent: #2563eb;
  --accent-soft: #e9f0fe;
  --btn: #1d2129;
  --btn-text: #ffffff;
  --btn-hover: #0e1116;
  --shadow: 0 10px 26px rgba(17, 24, 39, 0.07);
  --header-bg: rgba(247, 248, 250, 0.86);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0f13;
  --bg-soft: #12151a;
  --panel: #15181e;
  --panel-2: #1a1e25;
  --text: #e8eaf0;
  --text-2: #b9c0cd;
  --muted: #8c94a3;
  --line: #262b33;
  --line-strong: #3a414c;
  --accent: #7c9bff;
  --accent-soft: #16223f;
  --btn: #e8eaf0;
  --btn-text: #12141a;
  --btn-hover: #ffffff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  --header-bg: rgba(13, 15, 19, 0.86);
}

/* 主题色：默认蓝色，可在页眉调色盘切换 */

[data-theme="light"][data-accent="blue"],
:root:not([data-accent]) {
  --accent: #2563eb;
  --accent-soft: #e9f0fe;
}

[data-theme="light"][data-accent="sky"] {
  --accent: #0369a1;
  --accent-soft: #e6f4fb;
}

[data-theme="light"][data-accent="navy"] {
  --accent: #1e3a8a;
  --accent-soft: #e8ecf7;
}

[data-theme="light"][data-accent="teal"] {
  --accent: #0f766e;
  --accent-soft: #e6f4f2;
}

[data-theme="light"][data-accent="violet"] {
  --accent: #6d28d9;
  --accent-soft: #f0eafd;
}

[data-theme="dark"][data-accent="blue"],
[data-theme="dark"] {
  --accent: #7c9bff;
  --accent-soft: #16223f;
}

[data-theme="dark"][data-accent="sky"] {
  --accent: #5fb4e4;
  --accent-soft: #102733;
}

[data-theme="dark"][data-accent="navy"] {
  --accent: #9db0ef;
  --accent-soft: #171d33;
}

[data-theme="dark"][data-accent="teal"] {
  --accent: #5cc0b5;
  --accent-soft: #112a28;
}

[data-theme="dark"][data-accent="violet"] {
  --accent: #b79bf2;
  --accent-soft: #241d3b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 顶栏 ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 28px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--panel-2);
  object-fit: cover;
}

.brand-name {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-cn {
  font-size: 12px;
  color: var(--muted);
  padding-left: 9px;
  border-left: 1px solid var(--line);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav a {
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  background: var(--panel-2);
}

.nav a.is-active {
  color: var(--text);
  font-weight: 600;
}

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

.link-quiet {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 4px;
}

.link-quiet:hover {
  color: var(--text);
  background: var(--panel-2);
}

.theme-toggle {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
}

[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon {
  display: none;
}

/* ---------- 主题色调色盘 ---------- */

.palette {
  position: relative;
  display: inline-flex;
}

.palette-menu {
  position: absolute;
  top: 38px;
  right: 0;
  z-index: 40;
  width: 178px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.palette-menu[hidden] {
  display: none;
}

.palette-menu p {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.swatches {
  display: flex;
  gap: 9px;
}

.swatch {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
}

.swatch[data-accent-option="blue"] { background: #2563eb; }
.swatch[data-accent-option="sky"] { background: #0369a1; }
.swatch[data-accent-option="navy"] { background: #1e3a8a; }
.swatch[data-accent-option="teal"] { background: #0f766e; }
.swatch[data-accent-option="violet"] { background: #6d28d9; }

.swatch.is-active {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-solid {
  background: var(--btn);
  color: var(--btn-text);
  border-color: var(--btn);
}

.btn-solid:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--text-2);
  background: var(--panel-2);
}

.btn-sm {
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 5px;
}

.btn-lg {
  height: 44px;
  padding: 0 24px;
  font-size: 14px;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- 页面切换 ---------- */

.page {
  display: none;
  flex: 1;
  padding: 70px 0 96px;
}

.page.is-active {
  display: block;
  animation: page-in 0.35s ease both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page[data-page="home"] {
  padding-top: 0;
}

.page-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-head h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.24;
  font-weight: 680;
  letter-spacing: -0.022em;
}

.page-head p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 64px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}

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

.hero-copy h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lead {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts > div {
  padding: 14px 0;
}

.hero-facts > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-facts dd {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
}

.hero-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.proof {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

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

.proof a:hover {
  color: var(--accent);
}

.proof .sep {
  padding: 0 6px;
  color: var(--line-strong);
}

.hero-media .window {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-bar b {
  margin-left: 8px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.slides {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--panel-2);
}

.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slides img.is-active {
  opacity: 1;
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 10px 0 12px;
}

.slide-dots button {
  width: 16px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background 0.2s ease;
}

.slide-dots button.is-active {
  background: var(--text);
}

.media-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.media-caption b {
  font-weight: 600;
  color: var(--text-2);
}

.media-caption .sep {
  color: var(--line-strong);
}

.media-caption a {
  color: var(--accent);
}

.media-caption a:hover {
  text-decoration: underline;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f9e6f;
}

.section {
  padding-top: 64px;
  padding-bottom: 8px;
}

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

.section-head h2 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.section-head p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.facts {
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.fact h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.fact p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 功能 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature {
  padding: 24px 20px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: border-color 0.15s ease;
}

.feature:hover {
  border-color: var(--line-strong);
}

.feature svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.feature h3 {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}

.feature p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 联机教程 ---------- */

.anchor-nav {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  font-size: 12.5px;
}

.anchor-nav a {
  color: var(--muted);
}

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

.guide-section {
  margin-bottom: 64px;
}

.guide-section > h2 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.role-mark {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  vertical-align: 2px;
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.step-text h3 {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step-text p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
}

.step-text .note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.step-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-2);
}

.step-media img {
  width: 100%;
}

.step-media-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 180px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.step-media-text span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.step-media-text small {
  font-size: 12px;
  line-height: 1.7;
}

.tip-block {
  margin-top: 12px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.tip-block h2 {
  font-size: 16px;
  font-weight: 600;
}

.tip-block p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

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

.release-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
}

.release-loading {
  padding: 32px;
}

.skeleton-line {
  height: 12px;
  border-radius: 3px;
  background: var(--panel-2);
  margin-bottom: 12px;
  animation: pulse 1.4s ease-in-out infinite;
}

.w-40 { width: 40%; }
.w-55 { width: 55%; }
.w-70 { width: 70%; }

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

.release-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
}

.release-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.release-title h2 {
  font-size: 26px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line);
}

.badge-neutral {
  color: var(--muted);
  background: var(--panel-2);
}

.release-date {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.release-source {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  padding-top: 4px;
}

.release-source a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.release-body {
  padding: 22px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
}

.release-body h4 {
  margin: 16px 0 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
}

.release-body h4:first-child {
  margin-top: 0;
}

.release-body ul {
  padding-left: 18px;
  margin: 6px 0;
}

.release-body li {
  margin: 3px 0;
}

.release-body p {
  margin: 6px 0;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.download-option {
  padding: 26px 30px;
}

.download-option + .download-option {
  border-left: 1px solid var(--line);
}

.download-option h3 {
  font-size: 15px;
  font-weight: 600;
}

.download-option p {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--muted);
}

.download-file {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  word-break: break-all;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.release-panel .btn {
  height: 34px;
  font-size: 12.5px;
}

/* 历史版本 */

.history {
  padding: 24px 30px 28px;
  border-top: 1px solid var(--line);
}

.history > h2 {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 14px;
}

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

.history-empty {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.history-empty p {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.history-empty span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.history-empty a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.history-item {
  border-bottom: 1px solid var(--line);
}

.history-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
}

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

.history-item summary .history-version {
  font-weight: 600;
}

.history-item summary .history-date {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.history-item summary .history-chevron {
  font-size: 12px;
  color: var(--muted);
}

.history-item[open] summary .history-chevron {
  transform: rotate(180deg);
}

.history-body {
  padding: 4px 0 20px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.85;
}

.history-body h4 {
  margin: 14px 0 5px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text);
}

.history-body h4:first-child {
  margin-top: 0;
}

.history-body ul {
  margin: 5px 0;
  padding-left: 18px;
}

.history-body li {
  margin: 2px 0;
}

.history-body p {
  margin: 5px 0;
}

.history-body .release-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.history-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.release-error {
  padding: 30px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
}

.release-error a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.release-error p {
  margin-bottom: 14px;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.download-meta > div {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.download-meta h3 {
  font-size: 13px;
  font-weight: 600;
}

.download-meta ul {
  margin-top: 10px;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 团队 ---------- */

.team-panel {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
  flex-shrink: 0;
}

.team-body h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.team-body p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  max-width: 600px;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.info-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.info-row span {
  color: var(--muted);
}

.info-row b {
  font-weight: 600;
  text-align: right;
}

.callout {
  margin-top: 32px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.callout h3 {
  font-size: 15px;
  font-weight: 600;
}

.callout p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 720px;
}

.callout-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  font-size: 12.5px;
}

.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 22px;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--panel-2);
}

.footer-nav {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
}

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

.footer-sub {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

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

@media (max-width: 1040px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .header {
    gap: 14px;
    padding: 0 18px;
  }

  .brand-cn {
    display: none;
  }

  .link-quiet {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 60px;
    padding-bottom: 60px;
  }

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

  .hero-media {
    max-width: 620px;
  }

  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-option + .download-option {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .download-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 18px;
  }

  .page {
    padding: 48px 0 64px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fact {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 20px 0;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .release-head {
    flex-direction: column;
    padding: 22px 20px;
  }

  .release-body,
  .download-option,
  .release-loading,
  .release-error {
    padding-left: 20px;
    padding-right: 20px;
  }

  .history {
    padding-left: 20px;
    padding-right: 20px;
  }

  .team-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .info-row {
    flex-direction: column;
    gap: 2px;
  }

  .info-row b {
    text-align: left;
  }

  .footer-nav {
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 13px;
  }

  .nav a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .header-download {
    display: none;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-actions .btn {
    flex: 1;
  }

  .release-title h2 {
    font-size: 22px;
  }

  .page-head h1 {
    font-size: 26px;
  }
}
