:root {
  --ink: #0a0a0b;
  --ink-rgb: 10, 10, 11;
  --paper: #f1efea;
  --paper-rgb: 241, 239, 234;
  --paper-tint: #e8e5de;
  --ink-tint: #18181a;
  --mono: Consolas, "Courier New", ui-monospace, monospace;
  --serif-en: Georgia, "Times New Roman", "Liberation Serif", serif;
  --serif-body-en: Georgia, "Times New Roman", "Liberation Serif", serif;
  --serif-zh: "STSong", "SimSun", "Songti SC", "Noto Serif CJK SC", serif;
  --sans-zh: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  --accent: #c9a96e;
  --accent-rgb: 201, 169, 110;
  --brand-blue: #3b5998;
  --brand-cyan: #00a8cc;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans-zh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============ WebGL 双背景 ============ */
canvas.bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  transition: opacity 1.2s ease;
}

canvas#bg-light {
  opacity: 0;
}

canvas#bg-dark {
  opacity: 1;
}

body.light-bg canvas#bg-light {
  opacity: 1;
}

body.light-bg canvas#bg-dark {
  opacity: 0;
}

/* ============ Deck 容器 + 翻页 ============ */
#deck {
  position: fixed;
  inset: 0;
  width: 10000vw;
  height: 100vh;
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 10;
  will-change: transform;
}

.slide {
  width: 100vw;
  height: 100vh;
  flex: 0 0 100vw;
  position: relative;
  padding: 5vh 5vw 9vh 5vw;
  display: flex;
  flex-direction: column;
}

.slide.light {
  color: var(--ink);
}

.slide.dark {
  color: var(--paper);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: background 0.7s ease;
}

.slide.light::before {
  background: rgba(var(--paper-rgb), 0.78);
  backdrop-filter: blur(3px);
}

.slide.dark::before {
  background: rgba(var(--ink-rgb), 0.78);
  backdrop-filter: blur(3px);
}

.slide.hero.light::before {
  background: rgba(var(--paper-rgb), 0.16);
  backdrop-filter: none;
}

.slide.hero.dark::before {
  background: rgba(var(--ink-rgb), 0.12);
  backdrop-filter: none;
}

.slide.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.slide.hero.light::after {
  background: linear-gradient(
    180deg,
    rgba(var(--paper-rgb), 0.28) 0%,
    rgba(var(--paper-rgb), 0) 14%,
    rgba(var(--paper-rgb), 0) 86%,
    rgba(var(--paper-rgb), 0.28) 100%
  );
}

.slide.hero.dark::after {
  background: linear-gradient(
    180deg,
    rgba(var(--ink-rgb), 0.32) 0%,
    rgba(var(--ink-rgb), 0) 14%,
    rgba(var(--ink-rgb), 0) 86%,
    rgba(var(--ink-rgb), 0.32) 100%
  );
}

/* ============ Magazine chrome ============ */
.chrome {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--sans-zh);
  font-size: max(12px, 0.7vw);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
  flex-shrink: 0;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--mono);
  font-size: max(12px, 0.7vw);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  flex-shrink: 0;
  padding: 1.5vh 0 0.8vh 0;
  position: relative;
  z-index: 1;
}
.foot::before {
  content: "";
  position: absolute;
  inset: -3vh -5vw -2vh -5vw;
  z-index: -1;
  pointer-events: none;
  transition: background 0.7s ease;
}
.slide.light .foot::before {
  background: linear-gradient(to bottom, transparent 0%, rgba(var(--paper-rgb), 0.92) 55%);
}
.slide.dark .foot::before {
  background: linear-gradient(to bottom, transparent 0%, rgba(var(--ink-rgb), 0.92) 55%);
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: max(12px, 0.7vw);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid currentColor;
  opacity: 0.85;
}

.rule {
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.2;
  margin: 2vh 0;
}

/* ============ 字体层级 ============ */
.kicker {
  font-family: var(--mono);
  font-size: max(12px, 0.75vw);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 1.8vh;
}

.display {
  font-family: var(--serif-en);
  font-weight: 700;
  font-size: 11vw;
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.display-zh {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: 7.8vw;
  line-height: 1.04;
  letter-spacing: -0.005em;
}

.h1-zh {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: 4.2vw;
  line-height: 1.12;
  letter-spacing: -0.005em;
}

.h2-zh {
  font-family: var(--serif-zh);
  font-weight: 600;
  font-size: 3vw;
  line-height: 1.2;
}

.h3-zh {
  font-family: var(--serif-zh);
  font-weight: 500;
  font-size: 1.7vw;
  line-height: 1.35;
}

.body-zh {
  font-family: var(--sans-zh);
  font-weight: 400;
  font-size: max(15px, 1.05vw);
  line-height: 1.7;
  opacity: 0.82;
}

.lead {
  font-family: var(--serif-zh);
  font-weight: 400;
  font-size: max(15px, 1.55vw);
  line-height: 1.45;
  opacity: 0.85;
}

.meta {
  font-family: var(--mono);
  font-size: max(12px, 0.78vw);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}

.sign {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6vw;
  opacity: 0.65;
}

.en {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 500;
}

em {
  font-style: italic;
  font-family: var(--serif-en);
}

/* ============ 布局工具 ============ */
.col {
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

.row {
  display: flex;
  align-items: center;
  gap: 2.5vw;
  flex-wrap: wrap;
}

.fill {
  flex: 1;
  min-height: 0;
}

/* 网格 */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2.5vh 3vw;
  flex: 1;
  align-content: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3vh 4vw;
  flex: 1;
  align-content: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5vw;
  flex: 1;
  align-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
  flex: 1;
  align-items: start;
}

.grid-2-7-5 {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3vw 3vh;
  align-items: start;
}

.grid-2-6-6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw 3vh;
  align-items: start;
}

.grid-2-8-4 {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 3vw 3vh;
  align-items: start;
}

/* ============ .frame 主内容容器 ============ */
.frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 1.5vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ============ 标题API ============ */
.h-hero {
  font-family: var(--serif-zh);
  font-weight: 900;
  font-size: 9vw;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.h-xl {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: 5.2vw;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.h-sub {
  font-family: var(--serif-zh);
  font-weight: 500;
  font-size: 2.6vw;
  line-height: 1.25;
  opacity: 0.72;
}

.h-md {
  font-family: var(--serif-zh);
  font-weight: 600;
  font-size: 2vw;
  line-height: 1.3;
}

/* ============ meta-row ============ */
.meta-row {
  display: flex;
  gap: 1em;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: max(11px, 0.82vw);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.58;
}

.meta-logo {
  height: 4em;
  width: auto;
  opacity: 0.88;
  transition: opacity 0.35s ease;
}

.slide.light .meta-logo {
  opacity: 0.78;
}

/* ============ stat-card ============ */
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.6vh;
  align-items: flex-start;
  padding-top: 1.2vh;
  border-top: 1px solid currentColor;
  border-color: rgba(127, 127, 127, 0.3);
}

.stat-card .stat-label {
  font-family: var(--sans-zh);
  font-size: max(11px, 0.68vw);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
}

.stat-card .stat-nb {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: 2.4vw;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 0.3vh;
}

.stat-card .stat-nb .stat-unit {
  font-family: var(--serif-zh);
  font-weight: 400;
  font-size: 0.42em;
  opacity: 0.68;
  margin-left: 0.12em;
}

.stat-card .stat-note {
  font-family: var(--sans-zh);
  font-weight: 300;
  font-size: max(14px, 0.9vw);
  line-height: 1.45;
  opacity: 0.68;
  margin-top: 0.4vh;
}

.grid-4 .stat-card .stat-nb {
  font-size: 5.5vw;
}

.grid-3 .stat-card .stat-nb {
  font-size: 3.5vw;
}

/* ============ callout ============ */
.callout {
  padding: 2.5vh 2vw;
  border-left: 3px solid currentColor;
  position: relative;
  font-family: var(--serif-zh);
  font-size: max(15px, 1.05vw);
  line-height: 1.5;
  opacity: 0.9;
}

.slide.light .callout {
  background: rgba(var(--ink-rgb), 0.05);
}

.slide.dark .callout {
  background: rgba(var(--paper-rgb), 0.06);
}

.callout .callout-src {
  display: block;
  margin-top: 1.2vh;
  font-family: var(--mono);
  font-size: max(11px, 0.7vw);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}

.callout .q-big {
  font-family: var(--serif-zh);
  font-weight: 600;
  font-size: max(17px, 1.3vw);
  line-height: 1.4;
}

/* ============ pillar ============ */
.pillar {
  display: flex;
  flex-direction: column;
  gap: 1.2vh;
}

.pillar .ic {
  font-size: 2.2vw;
  opacity: 0.4;
}

.pillar .ic svg {
  width: 2.4vw;
  height: 2.4vw;
  stroke-width: 1.2;
  opacity: 0.65;
}

.pillar .t {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: 2vw;
  line-height: 1.15;
}

.pillar .d {
  font-family: var(--sans-zh);
  font-weight: 400;
  font-size: max(14px, 0.95vw);
  opacity: 0.72;
  line-height: 1.55;
}

/* ============ pipeline ============ */
.pipeline-section {
  margin-top: 3vh;
  padding-top: 2vh;
  border-top: 1px dashed rgba(127, 127, 127, 0.28);
}

.pipeline-section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 2vh;
}

.pipeline-label {
  font-family: var(--mono);
  font-size: max(12px, 0.75vw);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.58;
  margin-bottom: 1.6vh;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1vw;
}

.pipeline[data-cols="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.pipeline[data-cols="4"] {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.6vh;
  padding-top: 1vh;
  border-top: 1px solid currentColor;
  border-color: rgba(127, 127, 127, 0.32);
}

.step-nb {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 500;
  font-size: 1vw;
  opacity: 0.42;
}

.step-title {
  font-family: var(--sans-zh);
  font-weight: 700;
  font-size: 1.3vw;
  line-height: 1.2;
}

.step-desc {
  font-family: var(--sans-zh);
  font-weight: 400;
  font-size: max(14px, 0.8vw);
  line-height: 1.4;
  opacity: 0.68;
}

/* ============ compare-table ============ */
.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(127, 127, 127, 0.25);
  border-radius: 6px;
  overflow: hidden;
  font-size: max(14px, 0.82vw);
}

.compare-table .ct-cell {
  padding: 1.2vh 1.2vw;
  border-bottom: 1px solid rgba(127, 127, 127, 0.15);
  display: flex;
  align-items: center;
}

.compare-table .ct-h {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: max(14px, 0.95vw);
  background: rgba(127, 127, 127, 0.08);
}

.compare-table .ct-label {
  font-family: var(--serif-zh);
  font-weight: 600;
  opacity: 0.85;
}

.compare-table .ct-val {
  font-family: var(--sans-zh);
  opacity: 0.72;
  line-height: 1.4;
}

.compare-table .ct-check {
  color: #4a9;
  font-weight: 700;
}

.compare-table .ct-cross {
  opacity: 0.3;
}

/* ============ pricing-card ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  flex: 1;
  align-content: center;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(127, 127, 127, 0.3);
  border-radius: 8px;
  padding: 2.5vh 1.8vw;
  gap: 1.5vh;
  text-align: center;
  position: relative;
  transition: border-color 0.3s;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.15);
}

.pricing-card .pc-badge {
  position: absolute;
  top: -0.8em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: max(11px, 0.6vw);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
}

.pricing-card .pc-name {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: 1.6vw;
}

.pricing-card .pc-desc {
  font-family: var(--sans-zh);
  font-size: max(14px, 0.75vw);
  opacity: 0.6;
  line-height: 1.4;
}

.pricing-card .pc-price {
  font-family: var(--serif-en);
  font-weight: 800;
  font-size: 3vw;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-card .pc-price .pc-unit {
  font-family: var(--serif-zh);
  font-weight: 400;
  font-size: 0.35em;
  opacity: 0.6;
}

.pricing-card .pc-features {
  font-family: var(--sans-zh);
  font-size: max(14px, 0.7vw);
  line-height: 1.6;
  opacity: 0.72;
  text-align: left;
  list-style: none;
  padding: 0;
}

.pricing-card .pc-features li {
  padding: 0.3vh 0;
  border-bottom: 1px dotted rgba(127, 127, 127, 0.15);
}

.pricing-card .pc-features li:last-child {
  border-bottom: 0;
}

/* ============ feature-detail ============ */
.feature-section {
  margin-top: 2vh;
}

.feature-section .fs-title {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: 2vw;
  margin-bottom: 1.5vh;
  display: flex;
  align-items: center;
  gap: 0.6vw;
}

.feature-section .fs-icon {
  width: 2vw;
  height: 2vw;
  stroke-width: 1.3;
  opacity: 0.5;
  flex-shrink: 0;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5vw;
}

.f-card {
  display: flex;
  flex-direction: column;
  gap: 0.8vh;
  padding: 2vh 1.5vw;
  border: 1px solid rgba(127, 127, 127, 0.2);
  border-radius: 6px;
}

.f-card .fc-label {
  font-family: var(--serif-zh);
  font-weight: 700;
  font-size: max(14px, 1vw);
  line-height: 1.2;
}

.f-card .fc-desc {
  font-family: var(--sans-zh);
  font-weight: 400;
  font-size: max(14px, 0.78vw);
  line-height: 1.5;
  opacity: 0.7;
}

.f-card .fc-items {
  font-family: var(--sans-zh);
  font-size: max(14px, 0.7vw);
  line-height: 1.5;
  opacity: 0.6;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3vh;
}

.f-card .fc-items li::before {
  content: "— ";
  opacity: 0.4;
}

/* ============ hi ============ */
.hi {
  position: relative;
  display: inline;
}

.slide.dark .hi::after {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: -0.05em;
  height: 0.28em;
  background: rgba(var(--paper-rgb), 0.15);
  z-index: -1;
}

.slide.light .hi::after {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: -0.05em;
  height: 0.28em;
  background: rgba(var(--ink-rgb), 0.08);
  z-index: -1;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .slide {
    padding: 4vh 4vw 8vh 4vw;
  }

  .h-hero {
    font-size: 12vw;
  }

  .h-xl {
    font-size: 7vw;
  }

  .h-sub {
    font-size: 3.5vw;
  }

  .lead {
    font-size: 2vw;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5vw;
  }

  .pricing-card .pc-name {
    font-size: 2vw;
  }

  .pricing-card .pc-price {
    font-size: 4vw;
  }

  .feature-cards {
    grid-template-columns: 1fr 1fr;
  }

  .compare-table {
    font-size: max(9px, 0.9vw);
    grid-template-columns: 1fr 1fr;
  }

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .grid-2,
  .grid-2-7-5,
  .grid-2-6-6,
  .grid-2-8-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .slide {
    padding: 2.5vh 4vw 10vh 4vw;
  }

  .foot {
    font-size: max(11px, 1.2vw);
    padding: 2vh 0 1vh 0;
  }

  .foot::before {
    inset: -1.8vh -4vw -1vh -4vw;
  }

  .frame {
    gap: 1.2vh;
    padding-bottom: 2.5vh;
  }

  .chrome,
  .foot {
    font-size: max(11px, 1.2vw);
  }

  .kicker {
    font-size: max(11px, 1.2vw);
    margin-bottom: 1.2vh;
  }

  .h-hero {
    font-size: 16vw;
  }

  .h-xl {
    font-size: 9vw;
    line-height: 1.12;
  }

  .h-sub {
    font-size: 4.5vw;
    line-height: 1.2;
  }

  .h-md {
    font-size: 3.5vw;
    line-height: 1.25;
  }

  .lead {
    font-size: max(15px, 3.2vw);
    line-height: 1.4;
    max-width: 92vw !important;
  }

  .display {
    font-size: 18vw;
  }

  .meta-row {
    font-size: max(11px, 1.5vw);
    gap: 0.6em;
  }

  .meta-logo {
    height: 4em;
  }

  .grid-6 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.8vh 0;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2vh 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2vh;
  }

  .grid-2,
  .grid-2-7-5,
  .grid-2-6-6,
  .grid-2-8-4 {
    grid-template-columns: 1fr;
    gap: 2vh;
  }

  .stat-card {
    padding-top: 0.8vh;
    gap: 0.4vh;
  }

  .stat-card .stat-label {
    font-size: max(10px, 1.6vw);
  }

  .stat-card .stat-nb {
    font-size: 4.5vw;
    margin-top: 0.2vh;
  }

  .stat-card .stat-note {
    font-size: max(14px, 2.2vw);
    line-height: 1.4;
    margin-top: 0.2vh;
  }

  .grid-4 .stat-card .stat-nb {
    font-size: 8vw;
  }

  .callout {
    padding: 1.8vh 3vw;
    font-size: max(14px, 1.8vw);
    line-height: 1.4;
  }

  .callout .q-big {
    font-size: max(16px, 2.5vw);
    line-height: 1.35;
  }

  .callout .callout-src {
    font-size: max(10px, 1.2vw);
    margin-top: 0.8vh;
  }

  .pillar {
    gap: 0.8vh;
  }

  .pillar .ic svg {
    width: 5vw;
    height: 5vw;
  }

  .pillar .t {
    font-size: 3.5vw;
    line-height: 1.2;
  }

  .pillar .d {
    font-size: max(14px, 2.2vw);
    line-height: 1.45;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 1.5vh;
  }

  .feature-section {
    margin-top: 1.5vh;
  }

  .f-card {
    padding: 1.5vh 3vw;
    gap: 0.5vh;
  }

  .f-card .fc-label {
    font-size: max(14px, 2.5vw);
  }

  .f-card .fc-desc {
    font-size: max(13px, 2vw);
    line-height: 1.35;
  }

  .f-card .fc-items {
    font-size: max(13px, 1.8vw);
    line-height: 1.4;
    gap: 0.15vh;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
  }

  .pricing-card {
    padding: 1.8vh 2.5vw;
    gap: 1vh;
  }

  .pricing-card .pc-name {
    font-size: 3vw;
  }

  .pricing-card .pc-desc {
    font-size: max(13px, 1.8vw);
  }

  .pricing-card .pc-price {
    font-size: 6vw;
  }

  .pricing-card .pc-features {
    font-size: max(12px, 1.6vw);
    line-height: 1.45;
  }

  .pricing-card .pc-features li {
    padding: 0.2vh 0;
  }

  .pipeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5vh 2vw;
  }

  .pipeline[data-cols="3"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5vh 2vw;
  }

  .pipeline[data-cols="4"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5vh 2vw;
  }

  .step {
    gap: 0.4vh;
    padding-top: 0.6vh;
  }

  .step-nb {
    font-size: 2vw;
  }

  .step-title {
    font-size: 2.2vw;
  }

  .step-desc {
    font-size: max(13px, 1.8vw);
    line-height: 1.35;
  }

  .pipeline-section {
    margin-top: 2vh;
    padding-top: 1.5vh;
  }

  .pipeline-label {
    font-size: max(11px, 1.5vw);
    margin-bottom: 1.2vh;
  }

  .compare-table {
    font-size: max(12px, 1.8vw);
  }

  .compare-table .ct-cell {
    padding: 0.8vh 2vw;
  }

  .compare-table .ct-h {
    font-size: max(12px, 1.8vw);
  }

  .col {
    gap: 1.5vh;
  }

  .row {
    gap: 3vw;
  }

  .rule {
    margin: 1.2vh 0;
  }
}

@media (max-width: 480px) {
  .slide {
    padding: 2vh 4vw 5vh 4vw;
  }

  .frame {
    gap: 1vh;
    padding-bottom: 1.5vh;
  }

  .foot {
    padding: 1.8vh 0 1.2vh 0;
  }

  .foot::before {
    inset: -1.5vh -4vw -0.8vh -4vw;
  }

  .h-hero {
    font-size: 18vw;
  }

  .h-xl {
    font-size: 10vw;
  }

  .h-sub {
    font-size: 5vw;
  }

  .h-md {
    font-size: 4vw;
  }

  .lead {
    font-size: max(14px, 3.8vw);
    line-height: 1.35;
  }

  .kicker {
    font-size: max(10px, 1.8vw);
    margin-bottom: 1vh;
  }

  .chrome,
  .foot {
    font-size: max(10px, 1.6vw);
  }

  .meta-row {
    font-size: max(10px, 2vw);
  }

  .grid-6 {
    gap: 1.5vh 0;
  }

  .grid-4 {
    gap: 1.5vh 0;
  }

  .grid-3 {
    gap: 1.5vh;
  }

  .grid-2,
  .grid-2-7-5,
  .grid-2-6-6,
  .grid-2-8-4 {
    gap: 1.5vh;
  }

  .stat-card {
    padding-top: 0.6vh;
    gap: 0.3vh;
  }

  .stat-card .stat-nb {
    font-size: 6vw;
  }

  .stat-card .stat-note {
    font-size: max(13px, 2.8vw);
    line-height: 1.35;
  }

  .grid-4 .stat-card .stat-nb {
    font-size: 10vw;
  }

  .callout {
    padding: 1.5vh 3vw;
    font-size: max(13px, 2.2vw);
  }

  .callout .q-big {
    font-size: max(15px, 3vw);
  }

  .pillar .t {
    font-size: 4.5vw;
  }

  .pillar .d {
    font-size: max(13px, 2.8vw);
  }

  .feature-section {
    margin-top: 1vh;
  }

  .f-card {
    padding: 1.2vh 2.5vw;
    gap: 0.4vh;
  }

  .f-card .fc-label {
    font-size: max(13px, 3vw);
  }

  .f-card .fc-desc {
    font-size: max(12px, 2.5vw);
  }

  .f-card .fc-items {
    font-size: max(12px, 2.2vw);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2vh;
  }

  .pricing-card {
    padding: 1.5vh 3vw;
    gap: 0.8vh;
  }

  .pricing-card .pc-name {
    font-size: 5vw;
  }

  .pricing-card .pc-desc {
    font-size: max(12px, 2.5vw);
  }

  .pricing-card .pc-price {
    font-size: 8vw;
  }

  .pricing-card .pc-features {
    font-size: max(12px, 2vw);
    line-height: 1.4;
  }

  .pipeline {
    grid-template-columns: 1fr;
    gap: 1.2vh;
  }

  .pipeline[data-cols="3"] {
    grid-template-columns: 1fr;
    gap: 1.2vh;
  }

  .pipeline[data-cols="4"] {
    grid-template-columns: 1fr;
    gap: 1.2vh;
  }

  .step {
    gap: 0.3vh;
    padding-top: 0.5vh;
  }

  .step-nb {
    font-size: 3vw;
  }

  .step-title {
    font-size: 3vw;
  }

  .step-desc {
    font-size: max(13px, 2.5vw);
  }

  .pipeline-section {
    margin-top: 1.5vh;
    padding-top: 1vh;
  }

  .pipeline-label {
    font-size: max(10px, 2vw);
    margin-bottom: 1vh;
  }

  .compare-table {
    font-size: max(11px, 2.2vw);
    grid-template-columns: 1fr 1fr;
  }

  .compare-table .ct-cell {
    padding: 0.6vh 2vw;
  }

  .compare-table .ct-h {
    font-size: max(11px, 2.2vw);
  }

  .col {
    gap: 1vh;
  }

  .row {
    gap: 4vw;
  }

  .rule {
    margin: 0.8vh 0;
  }
}

/* ============ 导航 ============ */
#nav {
  position: fixed;
  left: 50%;
  bottom: 2vh;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#nav .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 0;
  padding: 0;
}

#nav .dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
}

#nav .dot.active {
  background: rgba(255, 255, 255, 0.95);
  width: 20px;
  border-radius: 999px;
}

body.light-bg #nav {
  background: rgba(255, 255, 255, 0.25);
}

body.light-bg #nav .dot {
  background: rgba(var(--ink-rgb), 0.25);
}

body.light-bg #nav .dot.active {
  background: rgba(var(--ink-rgb), 0.9);
}

#hint {
  position: fixed;
  bottom: 2.5vh;
  right: 2.5vw;
  z-index: 30;
  font-family: var(--mono);
  font-size: max(11px, 0.55vw);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  color: #aaa;
}
