/* ============================================================
   小红泡 · 编辑式视觉层 editorial.css
   在 base / home / article 之后加载，统一改写令牌与关键组件。
   方向：高对比黑白 + 单一朱红强调色，粗分割线，超大字阶，
        硬边卡片与硬投影，编号式章节标签。
   ============================================================ */

:root {
  /* 颜色：纸白 + 近黑 + 朱红，单一强调色 */
  --brand: #D93A12;
  --brand-deep: #A82C0F;
  --brand-light: #F0603A;
  --brand-ink: #B62F0D;      /* 小字号强调文字，纸底对比度 ≥ 5:1 */
  --amber: #C98A00;

  --ink: #12100F;
  --ink-2: #3A3430;
  --ink-3: #6A6058;

  --bg: #FAF8F4;
  --bg-2: #F1ECE3;
  --surface: #FFFFFF;
  --surface-2: #FFFDFA;

  --line: #E0D6C9;
  --line-strong: #B9AB9A;
  --line-2: #E8DED2;
  --soft: #F4EDE3;
  --soft-2: #FAF4EC;

  --grad: linear-gradient(135deg, #D93A12 0%, #A82C0F 100%);
  --grad-text: linear-gradient(120deg, #D93A12 0%, #A82C0F 100%);

  --shadow-sm: 0 2px 0 rgba(18, 16, 15, 0.06);
  --shadow: 0 18px 44px rgba(18, 16, 15, 0.10);
  --shadow-lg: 0 30px 70px rgba(18, 16, 15, 0.16);

  --radius-sm: 2px;
  --radius: 3px;
  --radius-lg: 4px;

  --container: 1240px;
  --header-h: 76px;

  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --rule: 1.5px;
  --rule-hard: 2px;
}

/* ---------------- 基础排版与节奏 ---------------- */

body {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  font-kerning: normal;
}

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 1px;
}

main { counter-reset: sec; }

.wrap { width: min(var(--container), calc(100% - 96px)); }

.section {
  counter-increment: sec;
  padding: 116px 0;
  position: relative;
}

.section-head {
  position: relative;
  max-width: 880px;
  margin-bottom: 56px;
  padding-top: 22px;
  border-top: var(--rule-hard) solid var(--ink);
}
.section-head.center {
  max-width: 880px;
  padding-top: 22px;
  border-top: var(--rule-hard) solid var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: counter(sec, decimal-leading-zero) " /";
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--brand-ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--line-strong);
}
.section-head.center .eyebrow { justify-content: center; }

.section-title {
  margin: 16px 0 18px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-desc {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 62ch;
}
.section-head.center .section-desc { margin-inline: auto; }

.hl {
  background: linear-gradient(var(--brand), var(--brand)) left 100% / 100% 0.14em no-repeat;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
  padding-bottom: 0.1em;
}

.note { font-size: 13px; line-height: 1.75; color: var(--ink-3); }

/* 标签：方形、细描边、等宽字，替代胶囊 */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.pill.is-amber { border-color: var(--ink); background: var(--ink); color: #FAF7F2; }
.pill.is-plain { border-color: var(--line-strong); color: var(--ink-2); }
.pill.is-muted { border-color: var(--line); color: var(--ink-3); background: transparent; }

/* ---------------- 按钮：直角、粗描边、硬投影 ---------------- */

.btn {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 0;
  border: var(--rule-hard) solid transparent;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
              background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
/* 保留 CTA 流光，但在直角按钮上收窄为一道更快的光 */
.btn-primary::after {
  left: -60%;
  width: 28%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 100%);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgba(18, 16, 15, 0.14);
}
.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--soft);
}

.btn-ghost {
  min-height: 44px;
  padding: 0 12px;
  border-color: transparent;
  color: var(--ink-2);
}
.btn-ghost:hover { background: var(--soft); color: var(--brand-ink); }

@media (hover: hover) {
  .btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--ink);
  }
  .btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(18, 16, 15, 0.18);
  }
  .btn:active { transform: translate(0, 0); box-shadow: 1px 1px 0 var(--ink); }
}

.btn-sm { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }

.btn[disabled],
.btn.is-loading { opacity: 0.6; box-shadow: 4px 4px 0 var(--line-strong); }

/* ---------------- 顶部导航 ---------------- */

.site-header {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: var(--rule-hard) solid var(--ink);
}
.site-header.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--ink);
  box-shadow: none;
}

.header-inner { gap: 20px; }

.brand { font-weight: 900; letter-spacing: -0.02em; }
.brand-logo { height: 38px; filter: none; }

.main-nav { gap: 0; }
.main-nav a {
  height: 44px;
  padding: 0 14px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--ink); background: transparent; border-bottom-color: var(--brand); }
.main-nav a.is-active {
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  border-bottom-color: var(--brand);
}

.header-actions .btn { min-height: 42px; padding: 0 20px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }

.menu-toggle {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  background: var(--surface);
}

.mobile-nav { background: var(--bg); padding-top: 16px; }
.mobile-nav a.mobile-link {
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}
.mobile-nav .mobile-actions { gap: 16px; }

/* ---------------- Hero ---------------- */

.hero {
  padding: 68px 0 88px;
  background: var(--bg);
  border-bottom: var(--rule-hard) solid var(--ink);
}
.hero::before {
  background-image:
    linear-gradient(to right, rgba(18, 16, 15, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 16, 15, 0.04) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

.hero-grid {
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

.hero-badge {
  padding: 7px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero-badge .dot { background: var(--brand); }

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.hero h1 .line + .line { margin-top: 0.06em; }
.hero h1 .soft { color: var(--ink-3); }

.hero-sub {
  max-width: 54ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.hero-sub strong { color: var(--ink); font-weight: 800; box-shadow: inset 0 -0.34em 0 rgba(217, 58, 18, 0.16); }

.hero-cta { margin-top: 34px; gap: 16px; }

.hero-meta { margin-top: 34px; gap: 14px; }
.avatar-stack span {
  border-radius: 2px;
  border: 2px solid var(--bg);
  font-family: var(--mono);
  letter-spacing: 0;
}
.avatar-stack span:nth-child(1) { background: var(--ink); }
.avatar-stack span:nth-child(2) { background: var(--brand); }
.avatar-stack span:nth-child(3) { background: var(--ink-2); }
.avatar-stack span:nth-child(4) { background: var(--brand-deep); }
.hero-meta p { font-size: 12.5px; color: var(--ink-3); }

.hero-platforms { gap: 10px; margin-top: 26px; }
.hero-platforms span {
  padding: 5px 10px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.hero-platforms span::before { background: var(--brand); border-radius: 0; width: 4px; height: 4px; }

/* Hero 主推课程卡：硬边 + 硬投影 + 朱红衬底 */
.hero-visual { padding: 16px 13px 16px 18px; }
.hero-visual::before {
  inset: 30px 0 0 30px;
  border-radius: 0;
  background: var(--brand);
  transform: rotate(1.6deg);
}

.hero-course-card {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--surface);
}

.hero-card-top {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink);
  background: var(--surface);
}
.hero-card-top .label { font-family: var(--mono); letter-spacing: 0.1em; color: var(--brand-ink); }

.hero-dots button { width: 26px; height: 5px; border-radius: 0; background: var(--line-strong); }
.hero-dots button.is-active { width: 34px; background: var(--ink); }

.hero-cover {
  min-height: 148px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 12px),
    var(--brand);
  color: #fff;
}
.hero-cover::after { border-color: rgba(255, 255, 255, 0.2); border-radius: 0; }
.hero-cover .cover-icon {
  border-radius: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(18, 16, 15, 0.18);
}
.hero-cover .cover-text b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; opacity: 0.85; }
.hero-cover .cover-text span { font-weight: 900; letter-spacing: -0.02em; }

.hero-card-body { padding: 20px 20px 22px; }
.hero-course-body-head { gap: 8px; }
.hero-card-body h2 { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.hero-audience { font-size: 12.5px; color: var(--ink-3); }
.hero-format span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.hero-format .icon { color: var(--brand); }
.hero-summary { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.hero-card-actions { gap: 10px; }
.hero-card-actions .btn { min-height: 46px; padding: 0 18px; font-size: 13.5px; }

/* 方向滚动条 */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  border-bottom: var(--rule-hard) solid var(--ink);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 0 15px 22px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track > span::after {
  content: "／";
  color: var(--brand-light);
  letter-spacing: 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- 信任条 ---------------- */

.trust {
  margin-top: 0;
  padding: 0;
  background: var(--surface);
  border-bottom: var(--rule-hard) solid var(--ink);
  z-index: auto;
}

.trust-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  grid-template-columns: 1.1fr 1.1fr 1.2fr 1fr;
}

.trust-item {
  padding: 30px 28px 30px 0;
  border-right: 1px solid var(--line-strong);
}
.trust-item + .trust-item { padding-left: 28px; }
.trust-item:last-child { border-right: 0; padding-right: 0; }

.trust-item h3 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trust-item h3 .icon { color: var(--brand); }

.chip-row span {
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.trust-list li { font-size: 12.5px; color: var(--ink-2); }
.trust-list .icon { color: var(--brand); }
.trust-path { font-size: 12.5px; color: var(--ink-2); }
.trust-path b { font-weight: 800; }
.trust-path .arrow { color: var(--brand); }

/* ---------------- 课程体系 ---------------- */

.courses { background: var(--bg); }

.course-toolbar {
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-strong);
}

.tabs { gap: 8px; }
.tab {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 0;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.tab:hover { border-color: var(--ink); color: var(--ink); transform: none; background: var(--soft); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.course-count { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.course-count b { color: var(--brand-ink); }

.course-card {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.course-cover::after { border-radius: 0; border-color: rgba(255, 255, 255, 0.18); }
.course-cover .cover-badge {
  border-radius: 0;
  background: rgba(250, 248, 244, 0.95);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.course-cover .cover-level {
  border-radius: 0;
  background: rgba(18, 16, 15, 0.7);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.course-cover .cover-icon {
  border-radius: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(18, 16, 15, 0.16);
}
.course-cover .cover-word {
  font-size: 58px;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.course-body { padding: 18px 18px 17px; gap: 10px; }
.course-body h3 { font-size: 16.5px; font-weight: 800; letter-spacing: -0.015em; }
.course-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.02em; color: var(--ink-3); }
.course-summary { font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.course-actions { gap: 8px; }
.course-actions .btn { min-height: 42px; padding: 0 13px; font-size: 12.5px; box-shadow: 3px 3px 0 rgba(18, 16, 15, 0.16); }

/* 封面底色：朱红 / 近黑 / 深赭交替，统一为纯色 */
.tone-1 { background: var(--brand); }
.tone-2 { background: var(--ink); }
.tone-3 { background: #8E3315; }
.tone-4 { background: #26211D; }
.tone-5 { background: var(--brand-deep); }
.tone-6 { background: #3B2A22; }
.tone-7 { background: #A9491F; }
.tone-8 { background: #1C1815; }

/* ---------------- 免费自测 ---------------- */

.explore {
  background: var(--bg-2);
  border-bottom: var(--rule-hard) solid var(--ink);
}

.quiz-card {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
}
.quiz-card .quiz-head { border-bottom: 1.5px solid var(--ink); }
.quiz-progress { border-radius: 0; background: var(--line); height: 5px; }
.quiz-progress span { border-radius: 0; background: var(--brand); }
.quiz-option { border-radius: 0; border: 1.5px solid var(--line-strong); background: var(--surface); }
.quiz-option:hover { border-color: var(--ink); background: var(--soft-2); }
.quiz-option.is-selected { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.explore-side-head h3 { font-weight: 900; letter-spacing: -0.02em; }
.explore-tip { border-radius: 0; border: 1.5px solid var(--line-strong); background: var(--surface); }

.article-card {
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.article-card:hover { box-shadow: 5px 5px 0 var(--ink); transform: translateY(-3px); }
.article-card h4 { font-weight: 800; }
.article-cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--brand-ink); }

/* ---------------- 学习路径（深色区） ---------------- */

.path {
  background: var(--ink);
  color: #F3EDE5;
}
.path .section-head { border-top-color: rgba(250, 248, 244, 0.4); }
.path .eyebrow { color: rgba(250, 248, 244, 0.62); }
.path .eyebrow::before { color: var(--brand-light); background: none; }
.path .eyebrow::after { background: rgba(250, 248, 244, 0.24); }
.path .section-title { color: #FAF8F4; }
.path .section-desc { color: #B6ABA1; }

.compare-card {
  border: var(--rule-hard) solid rgba(250, 248, 244, 0.3);
  border-radius: 0;
  background: rgba(250, 248, 244, 0.04);
  color: #EFE7DE;
}
.compare-card h3 { color: #FAF8F4; font-weight: 800; }
.compare-card li { color: #C9BFB5; }
.compare-card h3 .ico { border-radius: 0; background: rgba(250, 248, 244, 0.1); }
.compare-card li .icon { color: #9C9188; }
.compare-card.is-good {
  border-color: var(--brand);
  background: var(--brand);
}
.compare-card.is-good h3 { color: #fff; }
.compare-card.is-good li { color: #fff; }
.compare-card.is-good li .icon { color: #fff; }
.compare-card.is-good h3 .ico { background: rgba(18, 16, 15, 0.22); }

.steps { border-top: 1px solid rgba(250, 248, 244, 0.18); }
.steps::before { background: linear-gradient(180deg, var(--brand-light), rgba(250, 248, 244, 0.06)); }
.step {
  border: 0;
  border-bottom: 1px solid rgba(250, 248, 244, 0.18);
  border-radius: 0;
  background: transparent;
  padding: 18px 0;
  gap: 22px;
  opacity: 0.55;
}
.step.is-on {
  background: transparent;
  border-color: rgba(250, 248, 244, 0.18);
  transform: none;
  opacity: 1;
}
.step.is-on .step-no { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-no {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid rgba(250, 248, 244, 0.32);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-light);
}
.step-body h4 { color: #FAF8F4; font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.step-body p { color: #B6ABA1; font-size: 13.5px; }
.step-out { color: #D8CFC5; font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; border-radius: 0; background: transparent; border: 1px solid rgba(250, 248, 244, 0.22); }
.step-out .icon { color: var(--brand-light); }
.path-note { color: #A2988E; border-top: 1px solid rgba(250, 248, 244, 0.14); }

/* ---------------- 学习支持 ---------------- */

.support { background: var(--bg); }

.support-card {
  border: 1.5px solid var(--ink);
  border-top: 5px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.support-card:hover { box-shadow: 6px 6px 0 var(--ink); transform: translateY(-3px); }
.support-card .s-ico {
  border-radius: 0;
  background: var(--ink);
  color: var(--bg);
}
.support-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.support-card p { font-size: 13px; line-height: 1.85; color: var(--ink-2); }

.process {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  background: var(--surface);
}
.process-head { border-bottom: 1.5px solid var(--ink); }
.process-head h3 { font-weight: 900; letter-spacing: -0.02em; }
.process-head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); }
.process-grid { gap: 0; }
.process-step {
  padding: 20px 18px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}
.process-step:last-child { border-right: 0; }
.process-step:hover, .process-step:focus-within { background: var(--soft-2); border-color: var(--line-strong); box-shadow: none; transform: none; }
.process-step .p-no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--brand-ink); }
.process-step h4 { font-weight: 800; }
.process-step .p-out { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.process-detail { border-color: var(--line); }

.metrics { gap: 0; border: var(--rule-hard) solid var(--ink); background: var(--surface); }
.metric {
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 26px 22px;
  background: transparent;
  text-align: left;
}
.metric:last-child { border-right: 0; }
.metric strong { font-size: 58px; font-weight: 900; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.metric strong::after { content: ""; display: block; width: 24px; height: 3px; margin-top: 12px; background: var(--brand); }
.metric span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-3); }

/* ---------------- 师资 ---------------- */

.teachers { background: var(--bg-2); border-bottom: var(--rule-hard) solid var(--ink); }

.teacher-card {
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.teacher-card:hover { box-shadow: 6px 6px 0 var(--ink); transform: translateY(-3px); }
.teacher-avatar {
  border-radius: 0;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font-weight: 900;
  box-shadow: none;
}
.teacher-avatar .badge { border-radius: 0; border-color: var(--ink); background: var(--brand); color: #fff; }
.teacher-card h3 { font-size: 16px; font-weight: 800; }
.teacher-dir { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--brand-ink); }
.teacher-bio { font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.teacher-toggle { border-radius: 0; border: 1.5px solid var(--ink); font-size: 12px; font-weight: 700; background: transparent; }
.teacher-detail { border: var(--rule-hard) solid var(--ink); border-radius: 0; background: var(--surface); }

/* ---------------- 学员评价 ---------------- */

.voices { background: var(--bg); }

.voices-head { border-bottom: var(--rule-hard) solid var(--ink); padding-bottom: 24px; margin-bottom: 32px; }
.voice-card {
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}
.voice-quote { font-size: 16px; line-height: 1.85; font-weight: 600; letter-spacing: -0.01em; }
.voice-quote::before { color: var(--brand); }
.voice-avatar { border-radius: 0; background: var(--soft); color: var(--ink); font-weight: 800; }
.voice-foot { border-top: 1px solid var(--line-strong); }
.voice-btn {
  border-radius: 0;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
}
.voice-btn:hover { background: var(--ink); color: var(--bg); }
.voices-dots button { border-radius: 0; }
.voices-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em; color: var(--ink-3); }

/* ---------------- 适合谁 ---------------- */

.fit { background: var(--bg-2); }

.fit-card {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}
.fit-card.is-yes { border-top: 8px solid var(--brand); }
.fit-card.is-no { border-top: 8px solid var(--ink); }
.fit-head { border-bottom: 1px solid var(--ink); }
.fit-head h3 { font-weight: 900; letter-spacing: -0.02em; }
.fit-head .ico { border-radius: 0; background: var(--soft); }
.fit-card li { font-size: 13.5px; line-height: 1.8; }
.fit-cta { border-top: 1px solid var(--line-strong); }

/* ---------------- 常见问题 ---------------- */

.faq { background: var(--bg); }

.acc-item {
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  margin-bottom: 10px;
}
.acc-item.is-open { box-shadow: 5px 5px 0 var(--ink); }
.acc-btn { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.acc-icon { border-radius: 0; border: 1.5px solid var(--ink); }
.acc-inner p { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.faq-aside-card {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #F3EDE5;
}
.faq-aside-card h3 { color: #fff; font-weight: 900; letter-spacing: -0.02em; }
.faq-aside-card p { color: #B6ABA1; }

/* ---------------- 报名区：整段朱红 ---------------- */

.signup {
  background: var(--brand);
  color: #fff;
  border-block: var(--rule-hard) solid var(--ink);
}
.signup .section-head { border-top-color: rgba(255, 255, 255, 0.55); }
.signup .eyebrow { color: #fff; }
.signup .eyebrow::before { color: #fff; }
.signup .eyebrow::after { background: rgba(255, 255, 255, 0.75); }
.signup .section-title { color: #fff; }
.signup .section-desc { color: #fff; }

.signup-card {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--ink);
  color: var(--ink);
}
.signup-form-wrap { padding: 34px 34px 30px; }
.form-title { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
.form-sub { font-size: 13px; color: var(--ink-3); }
.form-sub span { color: var(--brand-ink) !important; }

.signup-side {
  border-left: 1.5px solid var(--ink);
  background: var(--soft-2);
  padding: 34px 30px;
  color: var(--ink);
}
.signup-side::after { display: none; }
.signup-side h3 { color: var(--ink); font-size: 18px; font-weight: 900; letter-spacing: -0.02em; }
.signup-side .side-note { font-size: 12.5px; color: var(--ink-2); }
.signup-side .side-qr { border-top: 1px solid var(--line-strong); }
.signup-side .side-qr p { color: var(--ink-2); }
.signup-side .side-qr strong { color: var(--ink); }
.signup-side .side-list { border-top: 1px solid var(--line-strong); }
.signup-side .side-list li { font-size: 12.5px; color: var(--ink-2); }
.signup-side .side-list .icon { color: var(--brand); }

.qr-card { border-radius: 0; border: 1.5px solid var(--ink); background: #fff; }

.form-success h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.success-ico { border-radius: 0; background: var(--brand); color: #fff; }
.success-summary { border: 1.5px solid var(--ink); border-radius: 0; background: var(--surface-2); }

/* ---------------- 关于 ---------------- */

.about { background: var(--bg); }

.about-canvas {
  border-radius: 0;
  background: var(--ink);
  color: #F3EDE5;
  box-shadow: 10px 10px 0 var(--brand);
}
.about-canvas .ac-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--brand-light); }
.about-canvas h3 { color: #FAF8F4; font-weight: 900; letter-spacing: -0.03em; }
.about-canvas::after { border-radius: 0; }
.about-mini-card { border-radius: 0; border: 1.5px solid rgba(250, 248, 244, 0.28); background: rgba(250, 248, 244, 0.05); }
.about-mini-card .amc-head { border-color: rgba(250, 248, 244, 0.2); color: #FAF8F4; }
.about-mini-card .amc-head span { font-family: var(--mono); font-size: 10px; color: var(--brand-light); }
.about-mini-steps div { border-color: rgba(250, 248, 244, 0.14); color: #D8CFC5; font-size: 12px; }
.about-mini-steps i { font-family: var(--mono); color: var(--brand-light); font-style: normal; border-radius: 0; background: transparent; border: 1px solid rgba(250, 248, 244, 0.3); }
.about-chips span { border-radius: 0; border: 1px solid rgba(250, 248, 244, 0.3); background: transparent; color: #E4DBD2; font-family: var(--mono); font-size: 10.5px; }
.about-copy > p { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.about-promise { border-radius: 0; border: 1.5px solid var(--ink); background: var(--surface); }
.about-note { border-top: 1px solid var(--line-strong); }
.about-mini-card { border-radius: 0; }

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

.site-footer {
  background: var(--ink);
  color: #EFE7DE;
  padding-top: 72px;
  border-top: var(--rule-hard) solid var(--ink);
}
.site-footer::before { display: none; }
.footer-grid { gap: 48px; padding-bottom: 52px; border-bottom: 1px solid rgba(250, 248, 244, 0.14); }
.footer-intro { color: #B6ABA1; font-size: 13.5px; }
.footer-contact li { color: #C9BFB5; font-size: 13px; }
.footer-contact .icon { color: var(--brand-light); }
.footer-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-light);
}
.footer-links a { color: #B6ABA1; font-size: 13px; }
.footer-links a:hover { color: #FAF8F4; }
.footer-sub-text { color: #B6ABA1; }
.subscribe-form .input {
  border-radius: 0;
  border: 1px solid rgba(250, 248, 244, 0.28);
  background: rgba(250, 248, 244, 0.05);
}
.footer-bottom { border-top: 1px solid rgba(250, 248, 244, 0.14); color: #9C9188; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em; }
.footer-disclaimer { border-top: 1px solid rgba(250, 248, 244, 0.1); color: #8C8177; }

/* ---------------- 表单 ---------------- */

.input,
.select,
.textarea {
  min-height: 52px;
  border: 1.5px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  font-size: 16px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(217, 58, 18, 0.18);
}
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.field-error { font-size: 12.5px; }
.form-note { font-size: 12px; line-height: 1.75; color: var(--ink-3); }

/* ---------------- 弹层 ---------------- */

.modal-backdrop { background: rgba(18, 16, 15, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-panel {
  border: var(--rule-hard) solid var(--ink);
  border-radius: 0;
  box-shadow: 14px 14px 0 rgba(18, 16, 15, 0.85);
}
.modal-head { border-bottom: 1.5px solid var(--ink); background: var(--bg); }
.modal-kicker, .modal-kicker .pill { font-family: var(--mono); }
.modal-title { font-weight: 900; letter-spacing: -0.02em; }
.modal-close { border-radius: 0; border: 1.5px solid var(--ink); }
.module-item h5 .m-no { font-family: var(--mono); color: var(--brand-ink); }
.outline-badge { border-radius: 0; }
.outline-top div { border-radius: 0; border: 1px solid var(--line-strong); background: var(--surface-2); }
.outline-top dt { font-family: var(--mono); letter-spacing: 0.08em; color: var(--brand-ink); }
.module-item { border-radius: 0; border: 1px solid var(--line-strong); }
.module-item h5 .m-no { border-radius: 0; background: var(--ink); color: var(--bg); }
.week-table th { background: var(--ink); color: var(--bg); border-bottom-color: var(--ink); }
.outline-outcome { border-radius: 0; border: 1.5px solid var(--ink); background: var(--surface-2); }
.outline-disclaimer { border-radius: 0; background: var(--soft-2); border: 1px solid var(--line); }

/* ---------------- 文章页 ---------------- */

.article-hero {
  background: var(--bg);
  border-bottom: var(--rule-hard) solid var(--ink);
  padding: 34px 0 52px;
}
.article-hero::before {
  background-image:
    linear-gradient(to right, rgba(18, 16, 15, 0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand-ink); }
.article-hero .pill { margin-bottom: 16px; }
.article-hero h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.035em;
  max-width: 100%;
}
.article-hero .lede { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.article-meta-row { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--ink-3); }
.article-meta-row .icon { color: var(--brand); }

.article-wrap { background: var(--surface); }
.prose { max-width: 68ch; }
.prose h2 {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1.5px solid var(--line-strong);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.prose h2::before { width: 10px; height: 20px; border-radius: 0; background: var(--brand); }
.prose h3 { font-size: 17.5px; font-weight: 800; }
.prose p { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.prose li { font-size: 15px; }
.prose ul li::before { border-radius: 0; background: var(--brand); }
.prose ol li::before { border-radius: 0; background: var(--ink); color: var(--bg); font-family: var(--mono); }
.prose blockquote {
  border-left: 4px solid var(--brand);
  border-radius: 0;
  background: var(--soft-2);
  font-size: 15px;
}
.callout { border-radius: 0; border: 1.5px solid var(--line-strong); border-left: 4px solid var(--brand); background: var(--soft-2); }
.checklist { border-radius: 0; border: 1.5px solid var(--ink); background: var(--surface); }
.checklist li .box { border-radius: 0; border-color: var(--ink); }
.example-box { border-radius: 0; border: 1.5px solid var(--line-strong); }
.example-box .ex-label { font-family: var(--mono); letter-spacing: 0.1em; }
.article-inline-cta {
  border-radius: 0;
  border: var(--rule-hard) solid var(--ink);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}
.article-end-note { border-top: 1px solid var(--line-strong); }

.toc-card, .related-card { border-radius: 0; border: 1.5px solid var(--ink); background: var(--surface); }
.toc-card h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--brand-ink); }
.toc-card a { border-radius: 0; }
.toc-card a:hover, .toc-card a.is-active { background: var(--ink); color: var(--bg); }
.toc-card a::before { font-family: var(--mono); }
.aside-cta { border-radius: 0; background: var(--ink); }
.aside-cta h3 { font-weight: 900; }
.more-articles { background: var(--bg-2); border-top: 1.5px solid var(--line-strong); }
.more-articles h2 { font-weight: 900; letter-spacing: -0.03em; }

/* ---------------- 404 ---------------- */

.error-page .error-code {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  line-height: 0.9;
}
.error-page h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -0.035em; }
.error-page p { color: var(--ink-2); }
.error-actions { gap: 16px; }
.error-foot { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

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

@media (max-width: 1180px) {
  .trust-panel { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line-strong); }
  .trust-item:nth-child(3) { padding-left: 0; }
}

@media (max-width: 1024px) {
  .wrap { width: calc(100% - 64px); }
  .section { padding: 96px 0; }
  .hero { padding: 52px 0 72px; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { padding: 12px 12px 20px 16px; max-width: 560px; }
  .hero h1 { font-size: clamp(38px, 7vw, 60px); }
  .signup-form-wrap { padding: 26px 24px; }
  .signup-side { padding: 26px 24px; }
}

@media (max-width: 768px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; padding-top: 16px; }
  .section-title { font-size: clamp(28px, 7.5vw, 38px); }
  .section-desc { font-size: 15.5px; }
  .hero { padding: 40px 0 56px; }
  .hero-sub { font-size: 15.5px; }
  .hero-visual::before { inset: 24px 0 0 20px; }
  .hero-course-card { box-shadow: 7px 7px 0 var(--ink); }
  .marquee-track > span { font-size: 13px; padding-block: 12px; }
  .trust-panel { grid-template-columns: 1fr; }
  .trust-item,
  .trust-item + .trust-item { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .trust-item:last-child { border-bottom: 0; }
  .metrics .metric { border-right: 0; }
  .metric strong { font-size: 44px; }
  .signup-card { box-shadow: 6px 6px 0 var(--ink); }
  .signup-side { border-left: 0; border-top: 1.5px solid var(--ink); }
  .about-canvas { box-shadow: 7px 7px 0 var(--brand); }
  .modal-panel { width: calc(100% - 24px); box-shadow: 8px 8px 0 rgba(18, 16, 15, 0.85); }
  .article-hero h1 { max-width: none; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 36px; letter-spacing: -0.03em; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { width: 100%; }
  .hero-card-actions .btn { flex: 1; }
  .section-title { font-size: 27px; }
  .metric strong { font-size: 38px; }
  .form-title { font-size: 23px; }
}

/* ---------------- 深色区焦点可见性 ---------------- */

.path :focus-visible,
.signup :focus-visible,
.signup .signup-card :focus-visible,
.site-footer :focus-visible,
.faq-aside-card :focus-visible,
.aside-cta :focus-visible {
  outline-color: #fff;
  outline-offset: 3px;
}
.signup .signup-card :focus-visible { outline-color: var(--brand); }

/* ---------------- 动效降级 ---------------- */

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .btn-primary:hover,
  .btn-secondary:hover,
  .course-card:hover,
  .support-card:hover,
  .teacher-card:hover,
  .article-card:hover { transform: none; }
  .btn-primary::after { display: none; }
}
