:root {
  --black: #172033;
  --gray: #667085;
  --pearl: #f7f8fa;
  --white: #ffffff;
  --cyan: #0f766e;
  --lime: #dff3ec;
  --line: #e1e6eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--pearl);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.frame { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); }
.header-row { min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.logo img { width: 38px; height: 38px; border-radius: 2px; }
.nav { justify-self: end; display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 800; }
.nav a[aria-current="page"], .nav a:not(.download):hover { color: var(--cyan); }
.download, .action {
  min-height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0b625b;
  border-radius: 6px;
  background: var(--cyan);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.22);
}
.ghost { min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cbd3dc; border-radius: 6px; background: var(--white); font-weight: 900; }
.menu { display: none; width: 44px; height: 44px; padding: 9px; border: 1px solid #cbd3dc; border-radius: 6px; background: var(--white); }
.menu span { display: block; height: 2px; margin: 5px 0; background: var(--black); }

.hero { border-bottom: 1px solid var(--line); background: var(--white); }
.hero-row { min-height: 612px; padding: 46px 0 42px; display: grid; grid-template-columns: minmax(0, 1fr) 540px; align-items: center; gap: 64px; }
.signal { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; color: var(--cyan); font-size: 13px; font-weight: 900; }
.signal::before { width: 34px; height: 10px; border: 1px solid #b7d8cf; background: var(--lime); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: 0; }
.hero h1 { max-width: 620px; margin-bottom: 22px; font-size: clamp(44px, 5vw, 68px); }
.hero-copy > p { max-width: 590px; margin-bottom: 28px; color: var(--gray); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.query-hints { margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.query-hints li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--pearl); font-size: 12px; font-weight: 800; }

.workbench { min-height: 500px; padding: 16px; position: relative; border: 1px solid var(--line); border-radius: 6px; background: var(--pearl); box-shadow: 0 18px 38px rgba(23, 32, 51, 0.12); }
.workbench-bar { height: 46px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 13px; font-weight: 900; }
.workbench-bar span:last-child { padding: 4px 9px; background: var(--lime); }
.result-stack { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-slip { min-height: 187px; padding: 10px; display: grid; grid-template-columns: 96px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.result-slip:first-child { grid-row: span 2; min-height: 390px; grid-template-columns: 1fr; }
.result-slip img { width: 96px; height: auto; align-self: center; border: 1px solid var(--line); }
.result-slip:first-child img { width: 174px; margin: 0 auto; }
.result-copy { align-self: center; }
.result-copy strong { display: block; margin-bottom: 8px; }
.result-copy span { display: block; color: var(--gray); font-size: 12px; }
.filter-ribbon { position: absolute; right: -18px; bottom: 28px; padding: 8px 13px; border: 1px solid #b7d8cf; background: var(--lime); font-size: 12px; font-weight: 900; transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; }

.section { padding: 76px 0; }
.section.white { background: var(--white); }
.section-head { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.section-note { max-width: 530px; color: var(--gray); }
.capability-list { border-top: 1px solid var(--line); }
.capability-row { padding: 22px 0; display: grid; grid-template-columns: 72px 260px 1fr; gap: 24px; border-bottom: 1px solid var(--line); align-items: center; }
.capability-row span { color: var(--cyan); font-weight: 900; }
.capability-row h3 { margin: 0; font-size: 21px; }
.capability-row p { margin: 0; color: var(--gray); }

.category-board { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; }
.filter-panel { padding: 28px; border: 1px solid var(--black); background: var(--black); color: var(--white); }
.filter-panel h3 { font-size: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span { padding: 8px 12px; border: 1px solid var(--white); font-size: 13px; font-weight: 800; }
.chips span:nth-child(3n) { background: var(--cyan); color: var(--white); }
.chips span:nth-child(4n) { background: var(--lime); color: var(--black); }
.route-panel { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.route-panel ol { margin: 0; padding-left: 22px; }
.route-panel li { padding: 11px 0; border-bottom: 1px solid var(--line); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery article { padding: 18px; border: 1px solid var(--line); background: var(--pearl); }
.gallery img { width: min(100%, 237px); height: auto; margin: 0 auto 18px; border: 1px solid var(--line); }
.gallery h3 { margin-bottom: 7px; }
.gallery p { margin: 0; color: var(--gray); }
.question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.question-grid article { padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--cyan); background: var(--white); }
.question-grid article:nth-child(2) { border-top-color: var(--lime); }
.question-grid p { margin: 0; color: var(--gray); }
.cta { padding: 52px 0; border-top: 1px solid #b7d8cf; border-bottom: 1px solid #b7d8cf; background: var(--lime); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); }

.page-hero { padding: 70px 0 54px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero h1 { max-width: 860px; margin-bottom: 18px; font-size: clamp(40px, 5vw, 62px); }
.page-hero p { max-width: 800px; margin: 0; color: var(--gray); font-size: 18px; }
.content { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 48px; }
.index { position: sticky; top: 98px; border: 1px solid var(--line); background: var(--white); }
.index strong { display: block; padding: 16px; background: var(--black); color: var(--white); }
.index a { display: block; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--gray); }
.prose { margin-bottom: 50px; }
.prose h2 { padding: 0 0 13px; border-bottom: 1px solid var(--line); font-size: 32px; }
.prose h3 { margin-top: 28px; font-size: 22px; }
.prose p, .prose li { color: #465256; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 18px; display: grid; grid-template-columns: 46px 1fr; gap: 16px; border-bottom: 1px solid var(--line); background: var(--white); }
.steps b { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #b7d8cf; background: var(--lime); }
.tip { padding: 22px; border: 1px solid #b7d8cf; background: #edf7f4; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: var(--white); }
.faq-question { width: 100%; padding: 20px 54px 20px 18px; position: relative; border: 0; background: transparent; cursor: pointer; color: var(--black); font: inherit; font-weight: 900; text-align: left; }
.faq-question::after { position: absolute; top: 50%; right: 18px; content: "[+]"; color: var(--cyan); transform: translateY(-50%); }
.faq-question[aria-expanded="true"]::after { content: "[−]"; }
.faq-answer { padding: 0 18px 20px; color: var(--gray); }
.faq-answer[hidden] { display: none; }
.footer { padding: 40px 0; background: var(--black); color: #dfe7e7; text-align: center; }
.footer-nav { margin-bottom: 16px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer p { max-width: 900px; margin: 9px auto 0; font-size: 13px; }

@media (max-width: 980px) {
  .hero-row { grid-template-columns: 1fr 470px; gap: 30px; }
  .workbench { transform: scale(0.9); transform-origin: center; }
  .content { grid-template-columns: 1fr; }
  .index { position: static; }
}

@media (max-width: 760px) {
  .frame { width: min(100% - 28px, 1200px); }
  .header-row { min-height: 64px; grid-template-columns: auto 1fr auto; }
  .menu { display: block; justify-self: end; }
  .nav { position: fixed; inset: 64px 0 auto; padding: 24px 20px 28px; display: none; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--white); }
  .nav.open { display: flex; }
  .nav a { text-align: center; }
  .hero-row { min-height: auto; padding: 16px 0 12px; grid-template-columns: 1fr; gap: 10px; }
  .hero h1 { font-size: 37px; }
  .hero-copy > p { margin-bottom: 20px; font-size: 16px; }
  .query-hints { margin-top: 18px; }
  .workbench { min-height: 240px; padding: 8px; transform: none; box-shadow: 0 12px 28px rgba(23, 32, 51, 0.12); }
  .workbench-bar { height: 36px; }
  .result-stack { grid-template-columns: 1fr 1fr; gap: 6px; }
  .result-slip { min-height: 88px; padding: 5px; grid-template-columns: 48px 1fr; gap: 6px; }
  .result-slip:first-child { min-height: 188px; }
  .result-slip img { width: 48px; }
  .result-slip:first-child img { width: 91px; }
  .result-copy strong { margin-bottom: 2px; font-size: 11px; }
  .result-copy span { font-size: 9px; }
  .filter-ribbon { right: -14px; bottom: 18px; padding: 5px 8px; font-size: 9px; }
  .section { padding: 56px 0; }
  .section-head, .cta-row { align-items: flex-start; flex-direction: column; }
  .capability-row { grid-template-columns: 46px 1fr; gap: 12px; }
  .capability-row p { grid-column: 2; }
  .category-board, .gallery, .question-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 38px; }
  .page-hero h1 { font-size: 38px; }
}

@media (max-width: 390px) {
  .hero h1, .page-hero h1 { font-size: 34px; }
}
