/* ==========================================================================
   FDEPE — design system
   ========================================================================== */

:root {
  --ink: #0e0f12;
  --ink-soft: #2b2d34;
  --muted: #6c7079;
  --muted-2: #9096a0;
  --line: #e5e3dd;
  --line-strong: #d3d0c8;
  --paper: #ffffff;
  --paper-2: #f7f6f2;
  --paper-3: #f0eee8;

  /* 主强调色 */
  --accent: #c6f24e;
  --accent-deep: #a8d92f;
  --accent-soft: #eef9cf;

  --violet: #6d4aff;
  --coral: #ff6a3d;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;
  --radius-pill: 999px;

  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 64px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Helvetica, Arial,
    sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", "Noto Serif SC",
    serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

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

::selection {
  background: var(--accent);
  color: var(--ink);
}

/* ------------------------------------------------------------- helpers -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-pill);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

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

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.brand-word {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--paper-3);
  color: var(--ink);
}

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

.link-plain {
  font-size: 14.5px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
}

.link-plain:hover {
  color: var(--ink);
  background: var(--paper-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--accent);
  color: var(--ink);
}

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

.btn--ghost:hover {
  border-color: var(--ink);
}

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

.btn--accent:hover {
  background: var(--accent-deep);
  color: var(--ink);
}

.btn--lg {
  padding: 15px 26px;
  font-size: 15.5px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  background: var(--paper);
  padding: 28px var(--gutter) 40px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .mobile-cta {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

/* ---------------------------------------------------------- page heads -- */

.page-head {
  padding: clamp(52px, 8vw, 104px) 0 clamp(24px, 3vw, 36px);
}

.page-title {
  font-size: clamp(42px, 7.4vw, 84px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.page-sub {
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------- filter bar -- */

.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  min-height: 60px;
}

.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.tab {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.tab:hover {
  background: var(--paper-3);
  color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.filter-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--paper);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.tool:hover {
  border-color: var(--ink);
}

.tool[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--paper-3);
}

.tool svg {
  width: 15px;
  height: 15px;
}

.tool .count-badge {
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-wrap {
  position: relative;
}

.menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 18px 40px -18px rgba(14, 15, 18, 0.28);
  display: none;
  z-index: 50;
}

.menu.is-open {
  display: block;
  animation: menu-in 0.16s var(--ease);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-s);
  font-size: 14px;
  text-align: left;
}

.menu button:hover {
  background: var(--paper-2);
}

.menu button[aria-checked="true"]::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

/* ------------------------------------------------------------ grid/card -- */

.result-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
  padding: 26px 0 72px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: card-in 0.5s var(--ease) both;
}

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

.card-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--paper-2);
}

.card-art svg,
.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card:hover .card-art svg,
.card:hover .card-art img {
  transform: scale(1.035);
}

.card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(14, 15, 18, 0.07);
  pointer-events: none;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 19px;
  line-height: 1.36;
  font-weight: 500;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.card:hover .card-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--paper-3);
  font-size: 12px;
  font-weight: 550;
  color: var(--ink-soft);
}

/* featured story */

.featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: 8px 0 56px;
  border-bottom: 1px solid var(--line);
}

.featured .card-art {
  aspect-ratio: 16 / 12;
  border-radius: var(--radius-l);
}

.featured-title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.028em;
  margin: 14px 0 18px;
  text-wrap: balance;
}

.featured-excerpt {
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
}

.featured-cta {
  margin-top: 24px;
}

/* load more */

.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 96px;
}

.load-more-progress {
  font-size: 13px;
  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 72px 0 96px;
  text-align: center;
  color: var(--muted);
}

/* -------------------------------------------------------- filter drawer -- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(14, 15, 18, 0.36);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  width: min(420px, 100%);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  box-shadow: -24px 0 60px -30px rgba(14, 15, 18, 0.4);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-size: 18px;
  font-weight: 600;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  transition: background 0.18s var(--ease);
}

.icon-btn:hover {
  background: var(--paper-3);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.filter-group + .filter-group {
  margin-top: 32px;
}

.filter-group h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  cursor: pointer;
}

.check input {
  appearance: none;
  width: 19px;
  height: 19px;
  flex: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
  position: relative;
}

.check input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 6px;
  height: 10px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.drawer-foot {
  display: flex;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.drawer-foot .btn {
  flex: 1;
}

/* ------------------------------------------------------------- article -- */

.article-head {
  padding: clamp(40px, 6vw, 84px) 0 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}

.back-link:hover {
  color: var(--ink);
}

.article-title {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.032em;
  max-width: 20ch;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.article-hero {
  margin: clamp(32px, 5vw, 56px) 0 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.article-hero svg,
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose {
  max-width: 720px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.prose > * + * {
  margin-top: 26px;
}

.prose h2 {
  margin-top: 48px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose .lede {
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
}

.prose blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 450;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.prose blockquote cite {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.prose ul li b {
  color: var(--ink);
  font-weight: 600;
}

.prose .source {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.demo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--paper-2);
  font-size: 13.5px;
  color: var(--muted);
}

.demo-note[hidden] {
  display: none;
}

.demo-note strong {
  color: var(--ink);
  font-weight: 600;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  margin: 40px 0;
}

.stat {
  background: var(--paper);
  padding: 22px 20px;
}

.stat b {
  display: block;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

.related {
  border-top: 1px solid var(--line);
  margin-top: clamp(64px, 9vw, 120px);
  padding: 44px 0 100px;
}

.related h2 {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* --------------------------------------------------------------- home -- */

.hero {
  position: relative;
  padding: clamp(60px, 10vw, 132px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 7.6vw, 92px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--accent) 62%);
  padding-inline: 0.06em;
}

.hero p.lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--muted);
}

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

.hero-art {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 40px 80px -50px rgba(14, 15, 18, 0.5);
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-head p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  align-self: end;
}

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

.feature-card {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--paper);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feature-card .glyph {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--paper-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-card .glyph svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
}

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

.solution-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}

.solution-row:hover {
  background: var(--paper-2);
}

.solution-row .sol-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.solution-row .sol-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
}

.solution-row .sol-arrow {
  color: var(--muted-2);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.solution-row:hover .sol-arrow {
  transform: translateX(4px);
  color: var(--ink);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}

.price-card.is-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.price-card h3 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.price-card .amount {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.price-card .amount small {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 6px;
}

.price-card.is-featured .amount small {
  color: var(--muted-2);
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
  color: var(--muted);
}

.price-card.is-featured ul {
  color: #c9ccd4;
}

.price-card li {
  display: flex;
  gap: 10px;
  line-height: 1.5;
}

.price-card li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  padding: clamp(56px, 8vw, 104px) 0;
}

.cta-band h2 {
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.cta-band p {
  margin-top: 22px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.65;
  color: #b6bac3;
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 76px) 0 40px;
  background: var(--paper);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-base {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  font-size: 13.5px;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.socials svg {
  width: 16px;
  height: 16px;
}

.lang-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: none;
  font-size: 13.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------ reveal -- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------- responsive -- */

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav,
  .header-actions .link-plain,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions {
    margin-left: 0;
  }

  .hero-grid,
  .section-head,
  .featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    order: -1;
    aspect-ratio: 4 / 3;
  }

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

  .solution-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
  }

  .solution-row .sol-name {
    grid-column: 1;
  }

  .solution-row .sol-desc {
    grid-column: 1;
  }

  .solution-row .sol-arrow {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .filter-tools .tool span.label {
    display: none;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .socials {
    margin-left: 0;
  }

  .prose {
    font-size: 17px;
  }
}

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

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

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

@media print {
  .site-header,
  .filter-bar,
  .load-more-wrap,
  .drawer,
  .drawer-backdrop {
    display: none !important;
  }
}

/* ==========================================================================
   宣言页与第二屏 —— 在既有版式之上追加，不改动原有组件
   ========================================================================== */

.statement {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vw, 118px) 0;
}

.statement .shell {
  display: block;
}

.statement .rule {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 36px;
}

.statement p.en {
  font-family: var(--serif);
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 24ch;
  margin: 0;
}

.statement p.zh {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 34ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: inherit;
  letter-spacing: -0.035em;
}

.hero .zh {
  margin-top: 18px;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.mf-hero {
  padding: clamp(48px, 8vw, 100px) 0 clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.mf-hero h1.en {
  font-family: var(--serif);
  font-size: clamp(30px, 5.2vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 20px 0 0;
}

.mf-hero .zh {
  margin-top: 16px;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--muted);
}

.mf-part {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 64px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mf-part::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.mf-body {
  max-width: 760px;
  margin-top: 34px;
}

.mf-body > p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.mf-body > p.lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
}

.mf-body h2 {
  margin: 44px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(20px, 2.4vw, 26px);
}

.mf-body .lines,
.chapter-body .lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 22px;
}

.mf-body .lines span,
.chapter-body .lines span {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.chapter-body .lines span.strong {
  color: var(--ink);
  font-weight: 500;
}

.chapter {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px 32px;
  padding: clamp(34px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.chapter-num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  padding-top: 5px;
}

.chapter-body {
  max-width: 760px;
}

.chapter-body > * + * {
  margin-top: 18px;
}

.chapter-body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.chapter-body p.lead {
  color: var(--ink);
  font-size: 20px;
}

.mf-pull {
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 30px 0 0;
}

.mf-pull .zh {
  display: block;
  margin-top: 12px;
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .chapter {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .chapter-num {
    padding-top: 0;
  }
}
