/* 原理与架构页：复用 app.css 主题变量，无外部依赖。 */

.about-top { gap: 18px; }
.about-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.about-nav .nav-link {
  padding: 7px 12px; border-radius: 999px; font-size: 12.5px; color: var(--sub);
  border: 1px solid transparent; white-space: nowrap;
}
.about-nav .nav-link:hover { color: var(--text); background: var(--hover); }
.about-nav .nav-link.active { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 35%, transparent); background: color-mix(in srgb, var(--amber) 8%, transparent); }
.about-actions { display: flex; gap: 8px; }

.about { max-width: 1080px; margin: 0 auto; padding: 0 24px 60px; }

/* Hero */
.hero { padding: 74px 0 56px; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.18; letter-spacing: -.035em;
  max-width: 18ch; margin-bottom: 18px;
}
.hero .lead { font-size: clamp(14px, 1.6vw, 16px); line-height: 1.85; color: var(--sub); max-width: 70ch; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.chip {
  font-size: 11.5px; padding: 6px 12px; border-radius: 999px; color: var(--teal);
  border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent);
  background: color-mix(in srgb, var(--teal) 7%, transparent);
}
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #0b0f16; background: var(--amber); transition: transform .15s, filter .15s;
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* Section */
.sec { border-top: 1px solid var(--border); padding: 46px 0 52px; }
.sec.compact { padding: 38px 0 40px; }
.sec-head { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; margin-bottom: 26px; }
.sec-head .num {
  font-family: var(--mono); font-size: 13px; color: var(--amber);
  border: 1px solid color-mix(in srgb, var(--amber) 32%, transparent);
  border-radius: 9px; width: 38px; height: 38px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--amber) 7%, transparent);
}
.sec-head h2 { font-size: clamp(18px, 2.4vw, 24px); letter-spacing: -.02em; line-height: 1.35; }
.sec-head p { font-size: 12.5px; color: var(--sub); line-height: 1.7; margin-top: 8px; max-width: 78ch; }
.sec > p { font-size: 13px; color: var(--sub); line-height: 1.8; max-width: 85ch; }
.note { margin-top: 18px; font-size: 11.5px !important; color: var(--faint) !important; line-height: 1.7 !important; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.step {
  position: relative; padding: 18px 16px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow);
}
.step:not(:last-child)::after {
  content: '→'; position: absolute; right: -13px; top: 46%; transform: translateY(-50%);
  font-size: 15px; color: var(--faint); z-index: 2;
}
.step-icon {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent); margin-bottom: 12px;
}
.step h3 { font-size: 13.5px; margin-bottom: 7px; }
.step p { font-size: 11.5px; line-height: 1.7; color: var(--sub); }

/* Info cards */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.info-card {
  padding: 20px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--panel); box-shadow: var(--shadow); border-left: 3px solid var(--border-strong);
}
.info-card.accent-blue { border-left-color: var(--blue); }
.info-card.accent-violet { border-left-color: var(--violet); }
.info-card h3 { font-size: 14px; margin-bottom: 10px; }
.info-card p { font-size: 12.5px; color: var(--sub); line-height: 1.8; }
.info-card code {
  display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 10.5px;
  padding: 4px 8px; border-radius: 6px; color: var(--teal);
  background: color-mix(in srgb, var(--teal) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 20%, transparent);
}
.formula {
  margin-bottom: 16px; padding: 16px 20px; border-radius: 10px;
  font-family: var(--mono); font-size: clamp(12px, 1.6vw, 14px); line-height: 1.7;
  color: var(--amber); border: 1px dashed color-mix(in srgb, var(--amber) 35%, transparent);
  background: color-mix(in srgb, var(--amber) 6%, transparent);
}
.note-box {
  margin-top: 16px; padding: 16px 20px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--panel-2);
}
.note-box strong { font-size: 12.5px; color: var(--text); }
.note-box p { margin-top: 6px; font-size: 12px; color: var(--sub); line-height: 1.8; }

/* Pipeline */
.pipeline { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; }
.pipe-node {
  flex: 1 1 150px; min-width: 0; padding: 14px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--panel); display: flex; flex-direction: column; gap: 4px;
}
.pipe-node.highlight { border-color: color-mix(in srgb, var(--amber) 40%, transparent); background: color-mix(in srgb, var(--amber) 6%, var(--panel)); }
.pipe-kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.pipe-node strong { font-size: 12.5px; }
.pipe-node small { font-size: 10.5px; color: var(--sub); line-height: 1.5; }
.pipe-arrow { align-self: center; color: var(--faint); font-size: 14px; }
.notes-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.notes-2 p { font-size: 11.5px !important; color: var(--sub) !important; line-height: 1.8 !important; }

/* Limits / CTA */
.limits { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.limits li { font-size: 12.5px; color: var(--sub); line-height: 1.75; padding-left: 4px; }
.limits li::marker { color: var(--amber); }
.final-cta {
  margin-top: 12px; padding: 34px 24px; border-radius: 14px; text-align: center;
  border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow);
}
.final-cta h2 { font-size: 20px; margin-bottom: 10px; }
.final-cta p { font-size: 12.5px; color: var(--sub); margin-bottom: 20px; line-height: 1.7; }
.about-foot { justify-content: center; text-align: center; padding-top: 26px; font-size: 11px; }

/* Responsive */
@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:last-child)::after { display: none; }
  .pipeline { gap: 10px; }
  .pipe-arrow { transform: rotate(90deg); }
  .pipe-node { flex-basis: calc(50% - 24px); }
}

@media (max-width: 600px) {
  .about { padding: 0 16px 44px; }
  .about-top { flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
  .about-nav { order: 3; flex: 0 0 100%; width: 100%; margin-left: 0; justify-content: flex-start; flex-wrap: wrap; gap: 4px; }
  .about-nav .nav-link { padding: 6px 10px; font-size: 11.5px; }
  .about-actions { margin-left: auto; }
  .hero { padding: 44px 0 36px; }
  .hero h1 { max-width: none; }
  .hero .lead { line-height: 1.75; }
  .sec { padding: 34px 0 38px; }
  .sec-head { grid-template-columns: 38px 1fr; gap: 10px; }
  .sec-head .num { width: 32px; height: 32px; font-size: 11px; }
  .flow, .cards-2, .notes-2 { grid-template-columns: 1fr; }
  .pipe-node { flex-basis: 100%; }
  .pipe-arrow { transform: none; align-self: center; }
  .final-cta { padding: 26px 16px; }
}
