/* =========================================================
   Amplify 官网 · 设计系统
   ---------------------------------------------------------
   沿用 2026-07 落地页确立的视觉语言：
   ① 深紫（plum）首屏，不是浅色卡片流
   ② 2px 直角，不用大圆角——编辑/印刷感，不是 SaaS 感
   ③ 细线分隔代替卡片阴影，内容直接坐在纸面上
   ④ 深色首尾包夹页面
   改这个文件前先看一眼 archive/amplify-landing-*，别再做回圆角卡片。
   ========================================================= */

:root {
  /* 品牌色 */
  --plum: #2b1b47;
  --plum-deep: #1b1030;
  --violet: #7c3aed;
  --violet-dark: #6a2fd0;
  --violet-soft: #efe9fb;
  --tint: #c4b5fd;

  /* 中性 */
  --paper: #ffffff;
  --surface: #f5f5f0;
  --surface-2: #eeece7;
  --ink: #18191e;
  --ink-2: #4c4560;
  --muted: #6b6480;
  --muted-2: #8a8375;
  --line: #e2deea;

  /* 语义色 */
  --green: #2f6d57;
  --green-soft: #e4efe9;
  --amber: #8a6a1e;
  --amber-soft: #f4ecdb;
  --red: #a03a34;
  --red-soft: #f6e8e7;

  /* 排版 */
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;

  /* 尺度 */
  --wrap: 1080px;
  --wrap-narrow: 760px;
  --r: 2px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--violet-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--plum);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--plum);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
h1 {
  font-size: clamp(34px, 6.2vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
h1 em,
h2 em {
  color: var(--violet);
  font-style: normal;
}
h2 {
  font-size: clamp(23px, 3.4vw, 34px);
}
h3 {
  font-size: 19px;
}
h4 {
  font-size: 15.5px;
}
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--tint);
  color: var(--plum);
}

code {
  padding: 1px 5px;
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 0.88em;
}

/* ---------- Amplify OS 公开方法论页 ---------- */
.os-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 920px;
  margin-top: 40px;
  border-top: 1px solid rgba(245, 245, 240, 0.24);
}
.os-hero-meta div { padding: 16px 24px 0 0; }
.os-hero-meta span,
.os-hero-meta strong { display: block; }
.os-hero-meta span { color: rgba(245, 245, 240, 0.5); font-size: 11px; }
.os-hero-meta strong { margin-top: 5px; color: var(--surface); font-size: 14px; }
.os-principle {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.os-principle b { color: var(--violet); font-family: var(--mono); }
.os-principle strong { display: block; color: var(--plum); }
.os-principle span { color: var(--muted); }
.os-objective-tree { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--plum); }
.os-objective-tree li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 20px;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line);
}
.os-objective-tree li > span { color: var(--violet); font-family: var(--mono); font-weight: 700; }
.os-objective-tree strong { color: var(--plum); font-size: 18px; }
.os-objective-tree p { margin: 3px 0 0; color: var(--muted); }
.os-objective-tree em { color: var(--muted); font-family: var(--mono); font-size: 11px; font-style: normal; text-align: right; }
.os-loop { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(245,245,240,.24); border-bottom: 1px solid rgba(245,245,240,.24); }
.os-loop li { min-height: 165px; padding: 22px 14px; border-right: 1px solid rgba(245,245,240,.18); }
.os-loop li:last-child { border-right: 0; }
.os-loop b, .os-loop strong, .os-loop span { display: block; }
.os-loop b { color: var(--tint); font-family: var(--mono); font-size: 11px; }
.os-loop strong { margin-top: 30px; color: var(--surface); }
.os-loop span { margin-top: 5px; color: rgba(245,245,240,.55); font-size: 12px; }
.os-responsibility { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--plum); }
.os-responsibility > div { padding: 28px 34px 10px 0; }
.os-responsibility > div + div { padding-left: 34px; border-left: 1px solid var(--line); }
.os-responsibility > div > span { color: var(--violet); font: 700 11px var(--mono); letter-spacing: .08em; }
.os-responsibility h3 { margin-top: 9px; font-size: 23px; }
.os-case-ledger { border-top: 2px solid var(--plum); }
.os-case-ledger div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.os-case-ledger span { color: var(--muted); }
.amber-text { color: var(--amber); font-family: var(--mono); font-size: 12px; }
.os-cta .eyebrow { color: var(--tint); }

@media (max-width: 900px) {
  .os-loop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .os-loop li { border-bottom: 1px solid rgba(245,245,240,.18); }
}
@media (max-width: 640px) {
  .os-hero-meta, .os-responsibility { grid-template-columns: 1fr; }
  .os-hero-meta div { padding-bottom: 12px; }
  .os-objective-tree li { grid-template-columns: 38px 1fr; }
  .os-objective-tree em { display: none; }
  .os-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-loop li { min-height: 140px; }
  .os-responsibility > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 56px);
}
.wrap-narrow {
  max-width: var(--wrap-narrow);
}

section {
  padding: clamp(52px, 8vw, 92px) 0;
}
section.tight {
  padding: clamp(38px, 5vw, 58px) 0;
}
section + section {
  border-top: 1px solid var(--line);
}

section.dark {
  border-top: none;
  background: var(--plum-deep);
  color: rgba(245, 245, 240, 0.82);
}
section.dark h2,
section.dark h3,
section.dark h4 {
  color: var(--surface);
}
section.dark + section,
.hero + section,
.page-hero + section,
.cta-band + section {
  border-top: none;
}

section.violet {
  background: var(--violet-soft);
  border-top-color: #ded4f4;
}
section.paper {
  background: var(--paper);
}

.grid {
  display: grid;
  gap: 32px;
}
.g2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.g3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.g4 {
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 62px);
  align-items: start;
}
.split-40 {
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1fr);
}

/* ---------- 文本组件 ---------- */
.eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
section.dark .eyebrow {
  color: var(--tint);
}

.lede {
  max-width: 46em;
  color: var(--muted);
  font-size: clamp(15px, 1.9vw, 16.5px);
  line-height: 1.8;
}
.lede strong {
  color: var(--ink);
}
section.dark .lede,
section.dark .lede strong {
  color: rgba(245, 245, 240, 0.82);
}
section.dark .lede strong {
  color: var(--surface);
}

.muted {
  color: var(--muted);
  font-size: 13.5px;
}
.section-head {
  margin-bottom: 40px;
}
.section-head .lede {
  margin-top: 14px;
}

.stat-num {
  display: block;
  color: var(--plum);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
section.dark .stat-num {
  color: var(--tint);
}

.quote {
  margin: 0;
  max-width: 20em;
  color: var(--plum);
  font-size: clamp(23px, 3.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.32;
}
.center .quote {
  margin: 0 auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 1px solid var(--violet);
  border-radius: var(--r);
  background: var(--violet);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  background: #8b52f0;
  border-color: #8b52f0;
  color: #fff;
  transform: translateY(-1px);
}
.btn.ghost {
  border-color: rgba(43, 27, 71, 0.28);
  background: transparent;
  color: var(--plum);
}
.btn.ghost:hover {
  border-color: var(--plum);
  background: transparent;
  color: var(--plum);
}
.btn.light {
  border-color: var(--surface);
  background: var(--surface);
  color: var(--plum);
}
.btn.light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--plum);
}
/* 深底上的次要按钮：浅描边 + 浅字，否则在深紫上看不见 */
.hero .btn.ghost,
.page-hero .btn.ghost,
.cta-band .btn.ghost,
section.dark .btn.ghost,
.nav .btn.ghost {
  border-color: rgba(245, 245, 240, 0.42);
  background: transparent;
  color: var(--surface);
}
.hero .btn.ghost:hover,
.page-hero .btn.ghost:hover,
.cta-band .btn.ghost:hover,
section.dark .btn.ghost:hover,
.nav .btn.ghost:hover {
  border-color: var(--surface);
  color: #fff;
}

.btn.sm {
  padding: 9px 17px;
  font-size: 13px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- 内容块（无阴影，靠线） ---------- */
.card {
  padding: 0;
  border: none;
  border-top: 2px solid var(--plum);
  background: none;
  padding-top: 20px;
}
.card.hover {
  display: block;
  transition: border-color 0.15s ease;
}
.card.hover:hover {
  border-top-color: var(--violet);
}
.card.hover:hover h3 {
  color: var(--violet);
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
}
.card .card-num {
  display: block;
  margin-bottom: 9px;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
section.dark .card {
  border-top-color: rgba(196, 181, 253, 0.55);
}
section.dark .card p {
  color: rgba(245, 245, 240, 0.72);
}
section.dark .card .card-num {
  color: var(--tint);
}

.card-flat {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
}
.card-flat p {
  color: var(--muted);
  font-size: 14.5px;
}
.card-flat h3,
.card-flat h4 {
  color: var(--plum);
}

/* ---------- 标签 ---------- */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--r);
  background: var(--violet);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.7;
  white-space: nowrap;
  vertical-align: middle;
}
.badge.green {
  background: var(--green-soft);
  color: var(--green);
}
.badge.amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.badge.red {
  background: var(--red-soft);
  color: var(--red);
}
.badge.info {
  background: var(--violet-soft);
  color: var(--violet-dark);
}
.badge.grey {
  background: var(--surface-2);
  color: #7a7466;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--plum);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
thead th {
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--plum);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
thead th:last-child {
  padding-right: 0;
}
tbody td {
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}
tbody td:last-child {
  padding-right: 0;
}
tbody tr:last-child td {
  border-bottom: none;
}
td strong {
  color: var(--plum);
  font-size: 15px;
}
.t-center {
  text-align: center;
}
.t-nowrap {
  white-space: nowrap;
}

/* ---------- 列表 ---------- */
.tick {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tick li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.72;
}
.tick li strong {
  color: var(--plum);
}
.tick li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--violet);
  font-weight: 700;
  content: "—";
}
.tick.check li::before {
  color: var(--green);
  content: "✓";
}
.tick.cross li::before {
  color: var(--red);
  content: "✕";
}
section.dark .tick li {
  color: rgba(245, 245, 240, 0.75);
}
section.dark .tick li strong {
  color: var(--surface);
}
section.dark .tick li::before {
  color: var(--tint);
}

/* ---------- 提示块 ---------- */
.callout {
  padding: 26px 30px;
  border-left: 5px solid var(--violet);
  background: var(--violet-soft);
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.78;
}
.callout strong {
  color: var(--plum);
}
.callout.green {
  border-color: var(--green);
  background: var(--green-soft);
}
.callout.amber {
  border-color: var(--amber);
  background: var(--amber-soft);
}
.callout.red {
  border-color: var(--red);
  background: var(--red-soft);
}

/* ---------- 导航（深紫，与首屏连成一体） ---------- */
.nav {
  position: sticky;
  z-index: 60;
  top: 0;
  background: var(--plum);
  transition: box-shadow 0.2s ease;
}
.nav.scrolled {
  box-shadow: 0 1px 0 rgba(196, 181, 253, 0.22);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 66px;
}
.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 11px;
  color: var(--surface);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.brand:hover {
  color: #fff;
}
.brand-mark {
  flex: none;
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.brand small {
  display: block;
  color: rgba(245, 245, 240, 0.5);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: rgba(245, 245, 240, 0.82);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a:hover {
  border-bottom-color: var(--tint);
  color: #fff;
}
.nav-links a.active {
  border-bottom-color: var(--violet);
  color: #fff;
}
.nav-cta {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  margin-left: 26px;
}
.nav-toggle {
  display: none;
  padding: 7px 13px;
  border: 1px solid rgba(245, 245, 240, 0.4);
  border-radius: var(--r);
  background: transparent;
  color: var(--surface);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- 首屏 ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-top: none;
  background: var(--plum);
  color: rgba(245, 245, 240, 0.82);
}
.hero {
  padding: clamp(52px, 8vw, 96px) 0 clamp(52px, 8vw, 92px);
}
.page-hero {
  padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 6vw, 64px);
}
.hero::after,
.page-hero::after {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 60vw;
  height: 60vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.42),
    transparent 62%
  );
  content: "";
  pointer-events: none;
}
.hero .wrap,
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.hero h1,
.page-hero h1 {
  max-width: 15em;
  color: var(--surface);
}
.hero h1 em,
.page-hero h1 em {
  color: var(--tint);
  font-style: normal;
}
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
}
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--tint);
}
.hero .lede,
.page-hero .lede {
  margin-top: 24px;
  color: rgba(245, 245, 240, 0.82);
  font-size: clamp(15px, 1.9vw, 17px);
}
.hero .lede strong,
.page-hero .lede strong {
  color: var(--surface);
}
.hero-sub {
  margin-top: 22px;
  color: rgba(245, 245, 240, 0.55);
  font-size: 13px;
}
.page-hero .callout {
  background: rgba(196, 181, 253, 0.1);
  border-left-color: var(--tint);
  color: rgba(245, 245, 240, 0.82);
}
.page-hero .callout strong {
  color: var(--surface);
}
.page-hero .badge.green,
.hero .badge.green {
  background: rgba(196, 181, 253, 0.18);
  color: var(--tint);
}

/* 面包屑 */
.crumb {
  margin-bottom: 16px;
  color: rgba(245, 245, 240, 0.5);
  font-size: 12.5px;
}
.crumb a {
  color: rgba(245, 245, 240, 0.72);
}
.crumb a:hover {
  color: #fff;
}

/* ---------- 数据条 ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  border-top: 2px solid var(--plum);
}
.stat-band > div {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--line);
}
.stat-band > div:last-child {
  border-right: none;
}
.stat-band .muted {
  margin-top: 8px;
  padding-right: 12px;
  font-size: 13px;
}

/* ---------- 步骤 ---------- */
.steps {
  counter-reset: s;
  border-top: 2px solid var(--plum);
}
.step {
  position: relative;
  padding: 24px 0 24px 58px;
  border-bottom: 1px solid var(--line);
}
.step:last-child {
  border-bottom: none;
}
.step::before {
  position: absolute;
  top: 26px;
  left: 0;
  color: var(--violet);
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.step h3 {
  margin-bottom: 7px;
  font-size: 18px;
}
.step p {
  color: var(--muted);
  font-size: 14.5px;
}
.step p strong {
  color: var(--plum);
}
section.dark .steps {
  border-top-color: var(--tint);
}
section.dark .step {
  border-bottom-color: rgba(245, 245, 240, 0.16);
}
section.dark .step::before {
  color: var(--tint);
}
section.dark .step p {
  color: rgba(245, 245, 240, 0.75);
}

/* ---------- 定价 ---------- */
.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 32px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--plum);
  border-radius: var(--r);
  background: var(--paper);
}
.price-card.featured {
  border-color: var(--violet);
  border-top-color: var(--violet);
  border-top-width: 4px;
}
.price-card.featured::before {
  display: block;
  margin-bottom: 14px;
  color: var(--violet);
  content: "最常被选择";
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 21px;
}
.price-card .price {
  margin: 12px 0 2px;
  color: var(--plum);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.price-card .price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.price-card .tick {
  margin: 20px 0 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price-card .tick li {
  margin-bottom: 10px;
  font-size: 14px;
}
.price-card .btn {
  margin-top: auto;
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 2px solid var(--plum);
}
.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: var(--plum);
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  flex: none;
  color: var(--violet);
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin-top: 12px;
  max-width: 44em;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 工具 ---------- */
.tool-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}
.tool-panel {
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--plum);
  border-radius: var(--r);
  background: var(--paper);
}
.tool-aside {
  position: sticky;
  top: 86px;
  padding: 28px;
  border-top: 4px solid var(--violet);
  background: var(--violet-soft);
}
.tool-aside h3,
.tool-aside h4 {
  color: var(--plum);
}

.q-group {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.q-group:first-child {
  padding-top: 0;
}
.q-group:last-of-type {
  border-bottom: none;
}
.q-group > h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
  font-size: 16px;
}
.q-group > .muted {
  margin-bottom: 16px;
  max-width: 44em;
}

.opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 14.5px;
  line-height: 1.65;
  transition: color 0.14s ease;
}
.opt:last-child {
  border-bottom: none;
}
.opt:hover {
  color: var(--plum);
}
.opt input {
  flex: none;
  margin: 4px 0 0;
  width: 15px;
  height: 15px;
  accent-color: var(--violet);
}
.opt.on {
  color: var(--plum);
}
.opt.on > span:first-of-type {
  font-weight: 600;
}
.opt span.w {
  flex: none;
  margin-left: auto;
  padding-left: 12px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.score-ring {
  display: grid;
  margin: 0 auto 16px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  place-items: center;
  background: conic-gradient(
    var(--violet) calc(var(--p, 0) * 1%),
    rgba(43, 27, 71, 0.1) 0
  );
  transition: background 0.5s ease;
}
.score-ring > div {
  display: grid;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: var(--violet-soft);
  place-items: center;
}
.score-ring b {
  color: var(--plum);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.score-ring em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.bar {
  margin-bottom: 14px;
}
.bar-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 5px;
  color: var(--plum);
  font-size: 13px;
}
.bar-top b {
  font-family: var(--mono);
  font-size: 12px;
}
.bar-track {
  overflow: hidden;
  height: 5px;
  background: rgba(43, 27, 71, 0.12);
}
.bar-fill {
  height: 100%;
  background: var(--violet);
  transition: width 0.5s ease;
}

.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--plum);
  font-size: 13px;
  font-weight: 700;
}
.field .hint {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.6;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.15s ease;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--violet);
  outline: none;
}
textarea {
  min-height: 130px;
  line-height: 1.65;
  resize: vertical;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--violet);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.14s ease;
  user-select: none;
}
.chip:hover {
  border-color: var(--violet);
  color: var(--plum);
}
.chip.on {
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
}

.result-block {
  margin-top: 26px;
  padding: 26px 28px;
  border-left: 5px solid var(--violet);
  background: var(--violet-soft);
}
.result-block h4 {
  margin-bottom: 12px;
  color: var(--plum);
}

pre.out {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 工具卡 */
.tool-card {
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  border-top: 2px solid var(--plum);
  transition: border-color 0.15s ease;
}
.tool-card:hover {
  border-top-color: var(--violet);
}
.tool-card:hover h3 {
  color: var(--violet);
}
.tool-card .ico {
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 22px;
  line-height: 1;
}
.tool-card h3 {
  margin-bottom: 9px;
  font-size: 20px;
  transition: color 0.15s ease;
}
.tool-card p {
  flex: 1;
  color: var(--muted);
  font-size: 14.5px;
}
.tool-card .go {
  margin-top: 18px;
  color: var(--violet);
  font-size: 13.5px;
  font-weight: 700;
}

/* 页内目录 */
.toc {
  padding: 24px 26px;
  border-top: 4px solid var(--violet);
  background: var(--violet-soft);
}
.toc h4 {
  margin-bottom: 12px;
  color: var(--violet);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.toc a {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
  font-size: 14px;
}
.toc a:hover {
  color: var(--violet);
}

/* ---------- 结尾 CTA ---------- */
.cta-band {
  padding: clamp(52px, 8vw, 88px) 0;
  border-top: none;
  background: var(--plum-deep);
  color: rgba(245, 245, 240, 0.78);
}
.cta-band h2 {
  max-width: 16em;
  color: var(--surface);
}
.cta-band p {
  max-width: 40em;
  margin: 18px 0 0;
  font-size: 15px;
}
.cta-band .btn-row {
  justify-content: flex-start;
}

/* ---------- 页脚 ---------- */
.foot {
  padding: 56px 0 40px;
  border-top: none;
  background: var(--plum-deep);
  color: rgba(245, 245, 240, 0.6);
  font-size: 13.5px;
}
.foot h4 {
  margin-bottom: 14px;
  color: var(--surface);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.foot a {
  display: block;
  margin-bottom: 9px;
  color: rgba(245, 245, 240, 0.62);
}
.foot a:hover {
  color: #fff;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 44px;
}
.foot-brand p {
  max-width: 30ch;
  margin-top: 16px;
  color: rgba(245, 245, 240, 0.5);
  font-size: 13px;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 245, 240, 0.16);
  color: rgba(245, 245, 240, 0.42);
  font-size: 12.5px;
}
.foot-bottom a {
  display: inline;
  margin: 0;
}

/* ---------- 杂项 ---------- */
.hr {
  height: 1px;
  margin: 40px 0;
  border: none;
  background: var(--line);
}
.center {
  text-align: center;
}
.center .lede,
.center .tick {
  margin-left: auto;
  margin-right: auto;
}
.center .btn-row {
  justify-content: center;
}
.mt0 { margin-top: 0; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.mt44 { margin-top: 44px; }
.mb0 { margin-bottom: 0; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .nav-cta {
    margin-left: 16px;
  }
}

@media (max-width: 980px) {
  .tool-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tool-aside {
    position: static;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 34px;
  }
  .split-40 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px clamp(22px, 5vw, 56px) 20px;
    background: var(--plum);
    box-shadow: 0 12px 24px rgba(27, 16, 48, 0.35);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(245, 245, 240, 0.12);
    font-size: 15px;
  }
  .nav-links a:hover,
  .nav-links a.active {
    border-bottom-color: rgba(245, 245, 240, 0.12);
  }
  .nav-toggle {
    display: block;
  }
  .nav-cta .btn {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .stat-band > div {
    padding-right: 18px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .stat-band > div:last-child {
    border-bottom: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tool-panel {
    padding: 26px 22px;
  }
  .callout {
    padding: 22px 24px;
  }
  .step {
    padding-left: 44px;
  }
}

@media (max-width: 520px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .brand small {
    display: none;
  }
}

@media print {
  .nav,
  .foot,
  .cta-band,
  .btn {
    display: none !important;
  }
}

/* =========================================================
   2026-08 · 编辑宣言版视觉系统
   方向：纸张、印刷、内容前台；取消 SaaS 渐变、圆角与指标墙。
   ========================================================= */

:root {
  --paper: #f3efe6;
  --surface: #f3efe6;
  --surface-2: #e9e3d8;
  --ink: #11110f;
  --ink-2: #33312c;
  --muted: #686259;
  --line: #cfc7ba;
  --plum: #11110f;
  --plum-deep: #11110f;
  --violet: #6f3df4;
  --violet-dark: #5b28d8;
  --violet-soft: #e7ddff;
  --tint: #a88bff;
  --display: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --editorial: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --wrap: 1360px;
  --r: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
}

h1,
h2 {
  font-family: var(--editorial);
  font-weight: 800;
}

section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.nav {
  border-bottom: 1px solid rgba(17, 17, 15, 0.16);
  background: rgba(243, 239, 230, 0.97);
}

.nav.scrolled {
  box-shadow: none;
}

.nav-inner {
  height: 78px;
}

.brand,
.brand:hover {
  color: var(--ink);
}

.brand > span {
  font-family: var(--editorial);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--muted);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

.nav-links a {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--violet);
  color: var(--violet-dark);
}

.nav-toggle {
  border-color: var(--ink);
  color: var(--ink);
}

.btn {
  min-height: 50px;
  padding: 13px 24px;
  border-color: var(--violet);
  background: var(--violet);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  transform: none;
}

.btn.ghost,
.hero .btn.ghost,
.page-hero .btn.ghost,
.cta-band .btn.ghost,
section.dark .btn.ghost,
.nav .btn.ghost {
  border-color: rgba(17, 17, 15, 0.45);
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover,
.hero .btn.ghost:hover,
.page-hero .btn.ghost:hover,
.cta-band .btn.ghost:hover,
section.dark .btn.ghost:hover,
.nav .btn.ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.page-hero::after,
.hero::after {
  display: none;
}

.page-hero h1,
.page-hero .lede,
.page-hero .lede strong {
  color: var(--ink);
}

.page-hero .eyebrow {
  color: var(--violet-dark);
}

.page-hero .callout {
  border-left-color: var(--violet);
  background: rgba(111, 61, 244, 0.08);
  color: var(--ink-2);
}

.page-hero .callout strong {
  color: var(--ink);
}

.card,
.card-flat,
.tool-card,
.tool-panel,
.tool-aside {
  border-radius: 0;
  box-shadow: none;
}

.card-flat,
.tool-card,
.tool-panel {
  background: rgba(255, 255, 255, 0.22);
}

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

.badge {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--violet-dark);
}

.badge.green,
.badge.amber,
.badge.red,
.badge.info,
.badge.grey {
  background: transparent;
}

.cta-band {
  border-top: none;
  background: var(--ink);
  color: rgba(243, 239, 230, 0.76);
}

.cta-band h2,
.cta-band .btn.ghost {
  color: var(--paper);
}

.cta-band .btn.ghost {
  border-color: rgba(243, 239, 230, 0.55);
}

.foot {
  border-top: 1px solid var(--ink);
  background: var(--paper);
  color: var(--muted);
}

.foot h4,
.foot .brand,
.foot .brand:hover {
  color: var(--ink);
}

.foot a,
.foot-brand p,
.foot-bottom {
  color: var(--muted);
}

.foot a:hover {
  color: var(--violet-dark);
}

.foot-bottom {
  border-top-color: var(--line);
}

.faq details {
  border-color: var(--line);
  border-radius: 0;
  background: transparent;
}

.faq summary {
  font-family: var(--editorial);
  font-size: 19px;
}

/* ---------- 新首页：编辑宣言 ---------- */
.editorial-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(64px, 7vw, 100px) 0 74px;
  border-top: none;
  background: var(--paper);
}

.editorial-rail {
  position: absolute;
  top: 88px;
  bottom: 48px;
  left: max(18px, calc((100vw - var(--wrap)) / 2 - 26px));
  z-index: 2;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.editorial-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(500px, 0.88fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: center;
}

.editorial-hero__copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(26px, 3vw, 56px);
}

.editorial-kicker,
.editorial-label {
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.editorial-kicker {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.editorial-hero h1 {
  max-width: 9.5em;
  color: var(--ink);
  font-size: clamp(52px, 4.9vw, 70px);
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.editorial-dot {
  color: var(--violet);
}

.editorial-deck {
  margin: 34px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 650;
  line-height: 1.65;
}

.editorial-intro {
  max-width: 45em;
  margin-top: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.editorial-actions {
  margin-top: 30px;
}

.editorial-slogan {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.editorial-slogan span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.editorial-slogan strong {
  color: var(--ink);
  font-family: var(--editorial);
  font-size: 22px;
}

.editorial-hero__visual {
  position: relative;
  min-height: 610px;
  margin: 0;
}

.editorial-hero__visual img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: 63% center;
}

.editorial-hero__visual figcaption {
  position: absolute;
  top: 10px;
  right: 4px;
  max-height: 240px;
  color: var(--ink);
  font-family: var(--editorial);
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  writing-mode: vertical-rl;
}

.editorial-manifesto {
  border-top: 1px solid var(--ink);
}

.editorial-manifesto__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 120px);
}

.manifesto-copy {
  padding-right: clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.manifesto-copy h2,
.editorial-section-head h2,
.editorial-constitution h2,
.editorial-faq h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.12;
}

.manifesto-copy p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.manifesto-copy p strong {
  color: var(--ink);
  font-family: var(--editorial);
  font-size: 20px;
}

.editorial-text-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--violet-dark);
  font-size: 13px;
  font-weight: 700;
}

.testing-index__head,
.testing-index a,
.fieldwork-list a {
  display: grid;
  align-items: start;
  gap: 20px;
}

.testing-index__head {
  grid-template-columns: 1fr auto;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.testing-index a {
  grid-template-columns: 38px minmax(180px, 0.8fr) minmax(220px, 1fr);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.testing-index a:hover strong,
.fieldwork-list a:hover strong {
  color: var(--violet-dark);
}

.testing-index b,
.fieldwork-list b {
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 12px;
}

.testing-index strong,
.fieldwork-list strong {
  font-size: 14px;
}

.testing-index a span,
.fieldwork-list a span {
  color: var(--muted);
  font-size: 13px;
}

.testing-index__foot {
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.editorial-lab {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 0;
  border-top: none;
  background: #0c0c0c;
  color: var(--paper);
}

.editorial-lab__image,
.editorial-lab__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.editorial-lab__image img {
  object-fit: cover;
  object-position: center;
}

.editorial-lab__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(280px, 0.52fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: end;
  min-height: 650px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.editorial-lab__content > div {
  max-width: 560px;
  padding: 32px;
  background: rgba(12, 12, 12, 0.74);
}

.editorial-lab h2 {
  margin-top: 15px;
  color: var(--paper);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
}

.editorial-lab p {
  margin-top: 25px;
  color: rgba(243, 239, 230, 0.75);
}

.light-link {
  color: var(--tint);
}

.editorial-principles {
  margin: 0;
  padding: 28px 30px;
  border-top: 1px solid rgba(243, 239, 230, 0.5);
  border-bottom: 1px solid rgba(243, 239, 230, 0.5);
  background: rgba(12, 12, 12, 0.72);
}

.editorial-principles div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.2);
}

.editorial-principles div:last-child {
  border-bottom: none;
}

.editorial-principles dt {
  color: var(--paper);
  font-family: var(--editorial);
  font-size: 20px;
  font-weight: 700;
}

.editorial-principles dd {
  margin: 4px 0 0;
  color: rgba(243, 239, 230, 0.62);
  font-size: 12px;
}

.editorial-evidence {
  background: var(--paper);
}

.editorial-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
  margin-bottom: 54px;
}

.editorial-section-head > p {
  color: var(--muted);
  font-size: 14px;
}

.fieldwork-list {
  border-top: 1px solid var(--ink);
}

.fieldwork-list a {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.fieldwork-list strong {
  font-family: var(--editorial);
  font-size: clamp(18px, 2vw, 24px);
}

.editorial-constitution {
  border-top: none;
  background: var(--ink);
  color: rgba(243, 239, 230, 0.75);
}

.editorial-constitution__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(50px, 10vw, 150px);
  align-items: center;
}

.editorial-constitution h2 {
  color: var(--paper);
}

.editorial-constitution p {
  font-size: 15px;
}

.editorial-constitution .editorial-label {
  color: var(--tint);
}

.editorial-constitution .btn.ghost {
  border-color: rgba(243, 239, 230, 0.45);
  color: var(--paper);
}

.editorial-faq {
  background: var(--paper);
}

@media (max-width: 980px) {
  .editorial-hero__grid,
  .editorial-manifesto__grid,
  .editorial-lab__content,
  .editorial-section-head,
  .editorial-constitution__grid {
    grid-template-columns: 1fr;
  }

  .editorial-hero__copy {
    padding-left: 18px;
  }

  .editorial-hero__visual {
    min-height: 480px;
  }

  .editorial-hero__visual img {
    height: 480px;
  }

  .manifesto-copy {
    padding-right: 0;
    padding-bottom: 45px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .editorial-lab__content {
    align-content: end;
    min-height: 720px;
  }

  .editorial-principles {
    max-width: 520px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    top: 78px;
    background: var(--paper);
    box-shadow: none;
    border-bottom: 1px solid var(--ink);
  }

  .nav-links a {
    border-bottom-color: var(--line);
    color: var(--ink);
  }

  .nav-links a:hover,
  .nav-links a.active {
    border-bottom-color: var(--line);
    color: var(--violet-dark);
  }
}

@media (max-width: 680px) {
  .editorial-hero {
    display: block;
    min-height: auto;
  }

  .editorial-rail {
    display: none;
  }

  .editorial-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .editorial-hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .editorial-deck br {
    display: none;
  }

  .editorial-hero__visual,
  .editorial-hero__visual img {
    height: 380px;
    min-height: 380px;
  }

  .editorial-hero__visual img {
    object-position: 70% center;
  }

  .testing-index a,
  .fieldwork-list a {
    grid-template-columns: 34px 1fr;
  }

  .testing-index a span,
  .fieldwork-list a span {
    grid-column: 2;
  }

  .editorial-slogan {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}
