/* ==========================================================================
   今日吃瓜 · penghejiaju.cn
   单色品牌风样式表
   base → layout → components → pages → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

:root {
  --ink: #111418;
  --paper: #ffffff;
  --paper-soft: #f4f6f5;
  --cucumber: #1f7a5c;
  --cucumber-dark: #17614a;
  --mist: #6b7280;
  --line: #e2e6e4;
  --clay: #b4453a;
  --radius: 8px;
  --radius-sm: 4px;
  --container: 1180px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

a {
  color: var(--cucumber);
  text-decoration: none;
}

a:hover {
  color: var(--cucumber-dark);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cucumber);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. layout · 容器与骨架
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  display: block;
}

/* 首页主体 */
.home-main {
  padding-bottom: 8px;
}

/* 内页主体 */
.inner-main {
  padding-bottom: 8px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 56px;
}

.column-main {
  min-width: 0;
}

.column-side {
  min-width: 0;
}

/* 侧栏在左的变体 */
.sidebar-left .page-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.sidebar-left .page-layout .column-side {
  order: -1;
}

/* --------------------------------------------------------------------------
   3. components · 页头 / 导航
   -------------------------------------------------------------------------- */

.site-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand-bar {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 62px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-name {
  flex: none;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name:hover {
  color: var(--cucumber);
  text-decoration: none;
}

.brand-slogan {
  flex: 1 1 auto;
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.5;
}

.brand-support {
  flex: none;
  padding: 8px 16px;
  border: 1px solid var(--cucumber);
  border-radius: var(--radius-sm);
  color: var(--cucumber);
  font-size: 14px;
  line-height: 1.4;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.brand-support:hover {
  background-color: var(--cucumber);
  color: var(--paper);
  text-decoration: none;
}

.site-nav {
  background-color: var(--paper);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.nav-list > li {
  display: block;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 15px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--cucumber);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--cucumber);
  border-bottom-color: var(--cucumber);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
}

/* --------------------------------------------------------------------------
   4. components · 通用区块 / 标题 / 按钮 / 链接
   -------------------------------------------------------------------------- */

.section {
  margin-bottom: 48px;
}

.section-block,
.content-block {
  margin-bottom: 48px;
}

.section-title,
.block-title,
.task-band-title,
.task-title,
.side-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.side-title {
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-intro,
.section-desc,
.block-intro,
.page-lead,
.page-lede {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  max-width: 68ch;
}

.section-more {
  margin: 18px 0 0;
  font-size: 15px;
}

.text-link {
  color: var(--cucumber);
  font-weight: 600;
}

.text-link::after {
  content: " →";
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--cucumber);
  border-color: var(--cucumber);
  color: var(--paper);
}

.btn-primary:hover {
  background-color: var(--cucumber-dark);
  border-color: var(--cucumber-dark);
  color: var(--paper);
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--cucumber);
  color: var(--cucumber);
  text-decoration: none;
}

/* 图片容器 */
.hero-media,
.content-media,
.media-figure,
.media-block {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--paper-soft);
}

.hero-media img,
.content-media img,
.media-figure img,
.media-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media figcaption,
.content-media figcaption,
.media-figure figcaption,
.media-block figcaption {
  padding: 10px 14px;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   5. components · 表格
   -------------------------------------------------------------------------- */

.field-table,
.data-table {
  width: 100%;
  font-size: 14px;
  line-height: 1.7;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.field-table th,
.field-table td,
.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.field-table tr:last-child th,
.field-table tr:last-child td,
.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.field-table th,
.data-table th {
  width: 40%;
  color: var(--ink);
  font-weight: 600;
  background-color: var(--paper-soft);
}

.field-table td,
.data-table td {
  color: var(--mist);
}

.data-table thead th {
  width: auto;
  background-color: var(--paper-soft);
}

/* --------------------------------------------------------------------------
   6. components · 侧栏
   -------------------------------------------------------------------------- */

.side-block {
  padding: 22px;
  margin-bottom: 24px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.side-block:last-child {
  margin-bottom: 0;
}

.side-note,
.side-intro {
  margin: 0 0 14px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.side-list,
.side-checklist,
.side-link-list,
.side-entry-list {
  font-size: 15px;
}

.side-list > li,
.side-checklist > li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  line-height: 1.7;
}

.side-list > li:last-child,
.side-checklist > li:last-child {
  border-bottom: 0;
}

.side-list > li::before,
.side-checklist > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 6px;
  height: 6px;
  background-color: var(--cucumber);
  border-radius: 50%;
}

.side-checklist {
  counter-reset: sidecheck;
}

.side-checklist > li {
  padding-left: 30px;
}

.side-checklist > li::before {
  counter-increment: sidecheck;
  content: counter(sidecheck);
  top: 8px;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: transparent;
  color: var(--cucumber);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  border-radius: 0;
}

.side-link-list > li,
.side-entry-list > li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.side-link-list > li:last-child,
.side-entry-list > li:last-child {
  border-bottom: 0;
}

.side-link-list a,
.side-entry-list a {
  font-weight: 600;
}

/* 常见问题折叠 */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  position: relative;
  padding: 12px 26px 12px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--cucumber);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 14px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   7. components · 相关任务带
   -------------------------------------------------------------------------- */

.task-band {
  background-color: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}

.task-band-inner {
  padding-left: 24px;
  padding-right: 24px;
}

.task-band-title,
.task-title {
  margin-bottom: 18px;
}

.task-list,
.task-band-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.task-item,
.task-band-item {
  padding: 18px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.task-link,
.task-band-item a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--cucumber);
}

.task-item p,
.task-band-desc {
  margin: 6px 0 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. components · 页脚
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--ink);
  color: #cfd4d2;
  padding: 44px 0 28px;
  font-size: 14px;
  line-height: 1.75;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 32px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  margin: 0 0 8px;
  color: var(--paper);
  font-size: 18px;
  font-weight: 700;
}

.footer-slogan {
  margin: 0;
  color: #9aa19e;
  font-size: 14px;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.footer-col-title {
  margin: 0 0 12px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
}

.footer-col ul {
  display: block;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #b7beba;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--paper);
  text-decoration: none;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid #2b3134;
}

.footer-meta p {
  margin: 0 0 6px;
  color: #8d9491;
  font-size: 13px;
  line-height: 1.7;
}

.footer-copy {
  color: #767d7a;
}

/* --------------------------------------------------------------------------
   9. pages · 首页
   -------------------------------------------------------------------------- */

.hero {
  background-color: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  margin: 0 0 18px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 46ch;
  color: #333a3d;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.content-media-primary {
  margin: 40px 0 0;
}

.content-media-primary img {
  aspect-ratio: 21 / 9;
}

/* 首页主体双栏 */
.home-main .page-layout {
  padding-top: 48px;
}

/* 服务定位 */
.positioning-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.positioning-item {
  padding: 20px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cucumber);
  border-radius: var(--radius-sm);
}

.item-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.positioning-item p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}

/* 常见需求速览 */
.need-list {
  border-top: 1px solid var(--line);
}

.need-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.need-row:hover {
  border-bottom-color: var(--cucumber);
  transform: translateY(-2px);
}

.need-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.need-signal {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.7;
}

.need-link {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.need-link::after {
  content: " →";
  font-weight: 400;
}

/* 场景方案 */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.solution-card:hover {
  border-color: var(--cucumber);
  transform: translateY(-2px);
}

.solution-name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.solution-focus {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.solution-output {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

/* 编制流程 */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 20px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step .step-no {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  background-color: var(--cucumber);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.process-step .step-name {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.process-step .step-action,
.process-step .step-output {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.process-step .step-output {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--mist);
}

/* 方法摘要 */
.standard-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.standard-item {
  padding: 20px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.standard-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cucumber);
}

.standard-item p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}

/* 首页侧栏 · 下一步入口 */
.next-list {
  display: block;
}

.next-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.next-item:last-child {
  border-bottom: 0;
}

.next-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.next-item p {
  margin: 4px 0 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. pages · 内页公共骨架
   -------------------------------------------------------------------------- */

.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 14px;
  color: var(--mist);
  line-height: 1.7;
}

.breadcrumb a {
  color: var(--mist);
}

.breadcrumb a:hover {
  color: var(--cucumber);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px 0;
}

.page-title {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.page-title-inner {
  padding: 0;
}

.page-header .page-lead,
.page-header .page-lede {
  margin: 14px 0 0;
  max-width: 68ch;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   11. pages · 常见需求
   -------------------------------------------------------------------------- */

.section-intro .media-figure,
.section .media-figure {
  margin-bottom: 22px;
}

.media-figure img {
  aspect-ratio: 16 / 9;
}

.need-case {
  padding: 20px 22px;
  margin-bottom: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cucumber);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.need-case:hover {
  border-color: var(--cucumber);
  transform: translateY(-2px);
}

.case-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.case-desc {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.case-signal {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.signal-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--cucumber);
  font-size: 13px;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.table-wrap .field-table {
  border: 0;
  min-width: 420px;
}

.check-list {
  counter-reset: check;
}

.check-list > li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
}

.check-list > li:last-child {
  border-bottom: 0;
}

.check-list > li::before {
  counter-increment: check;
  content: counter(check);
  position: absolute;
  left: 0;
  top: 14px;
  width: 22px;
  height: 22px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--cucumber);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.entry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.entry-item {
  padding: 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.entry-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.entry-desc {
  margin: 6px 0 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. pages · 解决方案
   -------------------------------------------------------------------------- */

.scene-block {
  padding: 22px;
  margin-bottom: 18px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.scene-block:hover {
  border-color: var(--cucumber);
  transform: translateY(-2px);
}

.scene-name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.scene-focus,
.scene-extract {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.scene-output {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.match-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.match-item {
  padding: 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.match-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.match-desc {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.scene-next .next-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.scene-next .next-item {
  padding: 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.next-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.next-desc {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   13. pages · 操作指南
   -------------------------------------------------------------------------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.page-guide .section-block {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.page-guide .section-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stage-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.stage-card {
  padding: 20px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stage-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  background-color: var(--cucumber);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.stage-purpose {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.compare-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.compare-list > li {
  padding: 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.75;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.link-list > li {
  padding: 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.75;
}

/* 指南侧栏阶段速览 */
.side-list strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.side-list span {
  display: block;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. pages · 方法说明
   -------------------------------------------------------------------------- */

.page-method .content-block {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.page-method .content-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.step-item {
  padding: 20px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-index {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--cucumber);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.step-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.grade-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.grade-item {
  padding: 20px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.grade-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.grade-item p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   15. pages · 问题排查
   -------------------------------------------------------------------------- */

.page-troubleshooting .content-block {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.page-troubleshooting .content-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  counter-reset: path;
}

.path-step {
  position: relative;
  padding: 18px 18px 18px 44px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.7;
}

.path-step::before {
  counter-increment: path;
  content: counter(path);
  position: absolute;
  left: 14px;
  top: 18px;
  width: 22px;
  height: 22px;
  background-color: var(--cucumber);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  border-radius: var(--radius-sm);
}

.path-index {
  display: block;
  color: var(--mist);
  font-size: 13px;
}

.path-text {
  display: block;
  margin-top: 4px;
  color: var(--ink);
}

.case-item {
  padding: 20px 22px;
  margin-bottom: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius-sm);
}

.case-cause {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.case-link {
  font-size: 14px;
  font-weight: 600;
}

.step-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.step-desc {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

.condition-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.condition-item {
  padding: 20px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.condition-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.condition-desc {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

.block-tail {
  margin-top: 18px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   16. pages · 反馈支持
   -------------------------------------------------------------------------- */

.page-support .section {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.page-support .section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feedback-type {
  padding: 20px 22px;
  margin-bottom: 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.feedback-type:hover {
  border-color: var(--cucumber);
  transform: translateY(-2px);
}

.feedback-type-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.feedback-type-desc {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.feedback-type-path {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.material-item,
.linkage-item {
  padding: 18px 20px;
  margin-bottom: 14px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.material-item:last-child,
.linkage-item:last-child {
  margin-bottom: 0;
}

.material-item-name,
.linkage-item-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.material-item-desc,
.linkage-item-desc {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   17. pages · 404
   -------------------------------------------------------------------------- */

.site-error .error-main {
  padding: 72px 0 80px;
}

.error-inner {
  max-width: 640px;
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--cucumber);
  letter-spacing: 0.08em;
}

.error-title {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
}

.error-text {
  margin: 0 0 26px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.error-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.error-links li {
  padding: 16px 18px;
  background-color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-links a {
  font-size: 15px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   18. 滚动增强（不影响初始可见性）
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js-reveal {
    opacity: 1;
  }

  .js-reveal.is-visible {
    animation: rise-in 0.4s ease both;
  }
}

@keyframes rise-in {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   19. responsive · 1024px
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .brand-bar-inner {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .brand-slogan {
    order: 3;
    flex: 1 1 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    min-height: 56px;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 24px rgba(17, 20, 24, 0.08);
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }

  .nav-link.is-current {
    border-bottom-color: transparent;
    border-left-color: var(--cucumber);
    background-color: var(--paper-soft);
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .page-layout,
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar-left .page-layout .column-side {
    order: 0;
  }

  .positioning-list,
  .solution-grid,
  .standard-list,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   20. responsive · 768px
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  body.site-body {
    font-size: 16px;
  }

  .page-title {
    font-size: 28px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .content-media-primary img {
    aspect-ratio: 16 / 9;
  }

  .positioning-list,
  .solution-grid,
  .standard-list,
  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .need-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 18px 2px;
  }

  .need-link {
    white-space: normal;
  }

  .section,
  .section-block,
  .content-block {
    margin-bottom: 36px;
  }

  .page-layout {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .page-header {
    padding-top: 12px;
  }

  .task-band {
    padding: 32px 0;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .field-table th,
  .data-table th {
    width: 42%;
  }
}

/* --------------------------------------------------------------------------
   21. responsive · 480px
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .brand-bar-inner {
    min-height: 58px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-support {
    padding: 8px 12px;
    font-size: 13px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .section-title,
  .block-title,
  .task-band-title,
  .task-title {
    font-size: 20px;
  }

  .hero-actions .btn,
  .error-actions .btn {
    width: 100%;
  }

  .side-block {
    padding: 18px;
  }

  .task-list,
  .task-band-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-title {
    font-size: 26px;
  }

  .error-main {
    padding: 48px 0 56px;
  }

  .field-table,
  .data-table {
    font-size: 13px;
  }

  .field-table th,
  .field-table td,
  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }
}
