/* ==========================================================================
   每日大赛 ahgysh.com — 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1C2321;
  background: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.3;
  color: #1C2321;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #14655A;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

hr {
  border: 0;
  border-top: 1px solid #D8E2DF;
  margin: 0;
}

:focus-visible {
  outline: 2px solid #14655A;
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   layout — 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.site-main {
  flex: 1 0 auto;
  display: block;
}

.inner-main {
  padding-bottom: 64px;
}

.home-main {
  padding-bottom: 0;
}

/* ---- 页头 ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid #D8E2DF;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1C2321;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: #14655A;
}

.brand-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: #14655A;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid #F2A93B;
  border-radius: 1px;
}

.brand-name {
  letter-spacing: 0;
}

/* ---- 主导航 ---- */

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  color: #1C2321;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: #14655A;
  text-decoration: none;
}

.nav-link.is-current {
  color: #14655A;
  font-weight: 700;
  border-bottom-color: #14655A;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1.5px solid #14655A;
  border-radius: 6px;
  color: #14655A;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-cta:hover {
  background: #14655A;
  color: #FFFFFF;
  text-decoration: none;
}

.nav-cta.is-current {
  background: #14655A;
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #1C2321;
  border-radius: 1px;
}

/* ---- 面包屑 ---- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 24px 0 0;
  font-size: 13px;
  color: #5A6663;
  line-height: 1.6;
}

.breadcrumb a {
  color: #5A6663;
}

.breadcrumb a:hover {
  color: #14655A;
  text-decoration: none;
}

.breadcrumb-sep {
  color: #A6B2AF;
}

.breadcrumb-current {
  color: #1C2321;
}

/* ---- 页面标题区 ---- */

.page-header {
  padding: 20px 0 0;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #1C2321;
  margin: 0;
}

.page-title + .page-lead {
  margin-top: 14px;
}

.page-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #5A6663;
  max-width: 720px;
}

.page-title + hr.title-divider,
.page-title + .title-divider {
  margin-top: 20px;
}

.title-divider {
  margin: 20px 0 0;
  border-top: 1px solid #D8E2DF;
}

/* ---- 页脚 ---- */

.site-footer {
  background: #F6F8F7;
  border-top: 1px solid #D8E2DF;
  padding: 56px 0 24px;
  margin-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 3fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .brand {
  font-size: 18px;
}

.footer-summary {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
  max-width: 320px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.footer-group a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5A6663;
  word-break: break-word;
}

.footer-group a:hover {
  color: #14655A;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #D8E2DF;
}

.footer-copy {
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
  margin: 0;
}

/* --------------------------------------------------------------------------
   components — 通用区块
   -------------------------------------------------------------------------- */

.section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #1C2321;
  margin: 0 0 8px;
}

.title-num,
.section-num {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  flex-shrink: 0;
}

.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #5A6663;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #5A6663;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: #14655A;
}

.section-more::after {
  content: "→";
  font-size: 14px;
}

.section-more:hover {
  text-decoration: underline;
}

/* ---- 图片与图注 ---- */

.content-media {
  margin: 0;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.content-media figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
}

/* ---- FAQ 折叠 ---- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #D8E2DF;
}

.faq-item {
  border-bottom: 1px solid #D8E2DF;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #1C2321;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 20px;
  font-weight: 400;
  color: #F2A93B;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: #14655A;
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 16px;
  line-height: 1.75;
  color: #5A6663;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---- 相关页面链接条 ---- */

.related-nav,
.related-links,
.related-bar,
.related-section {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #D8E2DF;
}

.related-title {
  font-size: 16px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 16px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
  padding: 0;
}

.related-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  flex: 1 1 200px;
}

.related-list a {
  font-size: 15px;
  font-weight: 600;
  color: #14655A;
  line-height: 1.5;
}

.related-list a:hover {
  text-decoration: underline;
}

.related-desc {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
  font-weight: 400;
}

.related-name {
  display: block;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */

/* ---- 首屏 ---- */

.hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid #D8E2DF;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #14655A;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: #1C2321;
  margin: 0 0 16px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: #5A6663;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #D8E2DF;
}

.hero-service-item {
  border-bottom: 1px solid #D8E2DF;
}

.hero-service-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #1C2321;
  transition: color 0.15s ease;
}

.hero-service-item > a:hover {
  color: #14655A;
  text-decoration: none;
}

.hero-service-item .service-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #F2A93B;
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}

.hero-service-item .service-name {
  font-weight: 600;
}

.hero-service-item .service-note {
  display: block;
  font-size: 13px;
  color: #5A6663;
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.6;
}

.hero-service-item .service-arrow {
  color: #A6B2AF;
  font-size: 16px;
  flex-shrink: 0;
}

.hero-service-item > a:hover .service-arrow {
  color: #14655A;
}

.hero-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #D8E2DF;
  border-top: 1px solid #D8E2DF;
}

.field-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  background: #FFFFFF;
}

.field-label {
  font-size: 12px;
  color: #5A6663;
  line-height: 1.5;
}

.field-value {
  font-size: 14px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.5;
}

.content-media-primary {
  margin-top: 32px;
}

.content-media-primary img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 6px;
}

/* ---- 双路径入口 ---- */

.pathway {
  padding: 56px 0;
  background: #F6F8F7;
  border-bottom: 1px solid #D8E2DF;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
}

.path-title {
  font-size: 19px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.4;
}

.path-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #5A6663;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: pathstep;
  margin: 4px 0;
}

.path-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.6;
  color: #1C2321;
  counter-increment: pathstep;
}

.path-steps li::before {
  content: counter(pathstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
}

.path-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #14655A;
  align-self: flex-start;
  min-height: 32px;
}

.path-link::after {
  content: "→";
}

.path-link:hover {
  text-decoration: underline;
}

/* ---- 定位说明段 ---- */

.positioning {
  padding: 56px 0;
  border-bottom: 1px solid #D8E2DF;
}

.positioning-inner {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.positioning-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.positioning-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #1C2321;
  max-width: 720px;
}

/* ---- 服务矩阵 ---- */

.service-matrix {
  padding: 56px 0;
  background: #F6F8F7;
  border-bottom: 1px solid #D8E2DF;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.matrix-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
}

.matrix-num {
  font-size: 14px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.matrix-name {
  font-size: 19px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.4;
}

.matrix-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #5A6663;
}

.matrix-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid #D8E2DF;
  margin-top: 4px;
}

.matrix-col {
  min-width: 0;
}

.matrix-col .col-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #14655A;
  margin-bottom: 6px;
  line-height: 1.5;
}

.matrix-col .col-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.matrix-col .col-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #1C2321;
}

.matrix-col .col-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: #F2A93B;
  border-radius: 1px;
}

.matrix-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #14655A;
  align-self: flex-start;
  min-height: 32px;
}

.matrix-link::after {
  content: "→";
}

.matrix-link:hover {
  text-decoration: underline;
}

/* ---- 项目档案摘要 ---- */

.archive-brief {
  padding: 56px 0;
  border-bottom: 1px solid #D8E2DF;
}

.archive-toolbar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
  margin-bottom: 24px;
}

.year-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #5A6663;
  font-variant-numeric: tabular-nums;
  transition: background 0.15s ease, color 0.15s ease;
}

.year-btn:hover {
  color: #14655A;
}

.year-btn.is-current {
  background: #14655A;
  color: #FFFFFF;
}

.archive-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #D8E2DF;
}

.archive-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.6fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #D8E2DF;
}

.archive-type {
  font-size: 15px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.5;
}

.archive-cycle {
  font-size: 14px;
  color: #5A6663;
  line-height: 1.5;
}

.archive-modules {
  font-size: 14px;
  color: #5A6663;
  line-height: 1.5;
}

.archive-link {
  font-size: 14px;
  font-weight: 600;
  color: #14655A;
  white-space: nowrap;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.archive-link:hover {
  text-decoration: underline;
}

/* ---- 合作流程五步编号带 ---- */

.process-band {
  padding: 56px 0;
  background: #F6F8F7;
  border-bottom: 1px solid #D8E2DF;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #D8E2DF;
  border-left: 1px solid #D8E2DF;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: #FFFFFF;
  border-right: 1px solid #D8E2DF;
  border-bottom: 1px solid #D8E2DF;
  min-width: 0;
}

.process-step .step-num {
  font-size: 13px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.process-step .step-name {
  font-size: 16px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.4;
}

.process-step .step-output {
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
}

/* ---- 交付标准 ---- */

.delivery {
  padding: 56px 0;
  border-bottom: 1px solid #D8E2DF;
}

.delivery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid #D8E2DF;
}

.delivery-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #D8E2DF;
  min-width: 0;
}

.delivery-num {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  line-height: 1.75;
}

.delivery-item p {
  font-size: 15px;
  line-height: 1.75;
  color: #1C2321;
}

/* ---- 常见问题摘要 ---- */

.faq-brief {
  padding: 56px 0;
  background: #F6F8F7;
  border-bottom: 1px solid #D8E2DF;
}

/* ---- 需求说明入口 ---- */

.brief-entry {
  padding: 56px 0;
}

.brief-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
  padding: 40px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
}

.brief-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #5A6663;
  margin-bottom: 20px;
  max-width: 520px;
}

.brief-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 22px;
  background: #0E4A42;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.brief-link::after {
  content: "→";
}

.brief-link:hover {
  background: #14655A;
  text-decoration: none;
}

.brief-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #D8E2DF;
}

.brief-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: #1C2321;
  border-bottom: 1px solid #D8E2DF;
  counter-increment: briefitem;
}

.brief-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  background: #F2A93B;
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   pages — 内页：赛事服务
   -------------------------------------------------------------------------- */

.page-services .page-title {
  padding-bottom: 0;
}

.page-layout {
  display: grid;
  gap: 60px;
  align-items: start;
  padding-top: 32px;
}

.page-layout.sidebar-left {
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
}

.page-layout.sidebar-left .content-main {
  min-width: 0;
}

.page-layout.layout-main-aside {
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
}

.page-layout.layout-main-aside .content-main {
  min-width: 0;
}

/* 服务分类索引 */

.service-index {
  position: sticky;
  top: 96px;
  padding: 20px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
}

.index-title {
  font-size: 15px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 12px;
  line-height: 1.5;
}

.index-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: indexitem;
}

.index-list li {
  counter-increment: indexitem;
}

.index-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #1C2321;
  min-height: 36px;
  transition: color 0.15s ease;
}

.index-link::before {
  content: counter(indexitem, decimal-leading-zero);
  font-size: 12px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.index-link:hover {
  color: #14655A;
  text-decoration: none;
}

/* 服务详情段 */

.service-block {
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #D8E2DF;
}

.service-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}

.service-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.service-block .service-num {
  font-size: 15px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.service-block .service-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: #1C2321;
}

.service-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #1C2321;
  margin-bottom: 20px;
  max-width: 720px;
}

.service-desc a {
  color: #14655A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-figure {
  margin: 0 0 24px;
}

.service-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #F6F8F7;
}

.service-caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}

.detail-box {
  min-width: 0;
  padding: 18px 20px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
}

.detail-title {
  font-size: 14px;
  font-weight: 600;
  color: #14655A;
  margin-bottom: 10px;
  line-height: 1.5;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #1C2321;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: #F2A93B;
  border-radius: 1px;
}

.service-note {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
  padding-left: 14px;
  border-left: 3px solid #F2A93B;
}

.service-note a {
  color: #14655A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 服务组合建议 */

.combo-section {
  padding-top: 8px;
  margin-bottom: 48px;
}

.combo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.combo-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
  background: #FFFFFF;
  min-width: 0;
}

.combo-title {
  font-size: 17px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.4;
}

.combo-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
}

.combo-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid #D8E2DF;
}

.combo-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #1C2321;
}

.combo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: #14655A;
  border-radius: 1px;
}

/* 不承接范围 */

.scope-section {
  padding-top: 8px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid #D8E2DF;
  padding-top: 20px;
}

.scope-item {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
  min-width: 0;
}

.scope-item::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  font-weight: 600;
  color: #A6B2AF;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages — 内页：赛制说明
   -------------------------------------------------------------------------- */

.page-rules .article-body {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 24px;
}

.page-rules .page-head {
  padding: 20px 0 0;
}

.article-media {
  margin: 0 0 32px;
}

.article-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #F6F8F7;
}

.article-media figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
}

.content-section {
  padding: 32px 0;
  border-top: 1px solid #D8E2DF;
}

.content-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.content-section > h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.3;
  margin-bottom: 12px;
}

.content-section > h2 .section-num {
  font-size: 14px;
  color: #F2A93B;
}

.content-section > p {
  font-size: 16px;
  line-height: 1.8;
  color: #1C2321;
  margin-bottom: 20px;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: ruleitem;
}

.rule-item {
  counter-increment: ruleitem;
  position: relative;
  padding: 16px 20px 16px 52px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
  min-width: 0;
}

.rule-item::before {
  content: counter(ruleitem, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.rule-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 6px;
  line-height: 1.5;
}

.rule-item > p {
  font-size: 15px;
  line-height: 1.75;
  color: #1C2321;
}

.rule-example {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
  padding-left: 12px;
  border-left: 2px solid #F2A93B;
}

/* 赛制类型对照表 */

.compare-table {
  border: 1px solid #D8E2DF;
  border-radius: 6px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  border-top: 1px solid #D8E2DF;
}

.compare-row:first-child {
  border-top: 0;
}

.compare-head {
  background: #F6F8F7;
}

.compare-head span {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #14655A;
  line-height: 1.5;
}

.compare-row > .compare-cell {
  padding: 14px 18px;
  border-left: 1px solid #D8E2DF;
  min-width: 0;
}

.compare-row > .compare-cell:first-child {
  border-left: 0;
}

.compare-cell {
  font-size: 14px;
  line-height: 1.7;
  color: #1C2321;
}

.compare-row:not(.compare-head) .compare-cell:first-child {
  font-weight: 600;
  background: #F6F8F7;
}

/* 计分与异常判定 */

.formula-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.formula-col {
  min-width: 0;
  padding: 20px;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
}

.formula-col h3 {
  font-size: 16px;
  font-weight: 600;
  color: #14655A;
  margin-bottom: 10px;
  line-height: 1.5;
}

.formula-col > p {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
  margin-bottom: 12px;
}

.formula-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.formula-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #1C2321;
}

.formula-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: #F2A93B;
  border-radius: 1px;
}

/* 确认节点 */

.confirm-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #D8E2DF;
}

.confirm-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #D8E2DF;
}

.confirm-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.5;
}

.confirm-item p {
  font-size: 15px;
  line-height: 1.75;
  color: #5A6663;
}

/* --------------------------------------------------------------------------
   pages — 内页：项目档案
   -------------------------------------------------------------------------- */

.page-archive .page-title {
  padding-bottom: 0;
}

.archive-layout {
  display: grid;
  gap: 60px;
  align-items: start;
  padding-top: 32px;
}

.page-layout.sidebar-left .archive-content {
  min-width: 0;
}

.archive-sidebar {
  position: sticky;
  top: 96px;
  padding: 20px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
}

.year-switch {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #D8E2DF;
}

.year-switch .aside-title {
  font-size: 14px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 8px;
  line-height: 1.5;
}

.year-index {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.year-index .year-btn {
  justify-content: flex-start;
  padding: 0 12px;
  min-height: 36px;
  font-size: 14px;
  width: 100%;
}

.year-index .year-btn.is-current {
  background: #14655A;
  color: #FFFFFF;
}

.archive-year {
  margin-bottom: 40px;
}

.archive-year:last-child {
  margin-bottom: 0;
}

.archive-year > h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.3;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #14655A;
}

.quarter-group {
  margin-bottom: 28px;
}

.quarter-group:last-child {
  margin-bottom: 0;
}

.quarter-title {
  font-size: 15px;
  font-weight: 600;
  color: #14655A;
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: #F6F8F7;
  border-left: 3px solid #F2A93B;
  display: inline-block;
}

.archive-list .archive-item {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 4fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #D8E2DF;
  min-width: 0;
}

.archive-figure {
  margin: 0;
  min-width: 0;
}

.archive-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #F6F8F7;
}

.archive-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  min-width: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.field .field-label {
  font-size: 12px;
  color: #5A6663;
  line-height: 1.5;
}

.field .field-value {
  font-size: 14px;
  font-weight: 500;
  color: #1C2321;
  line-height: 1.6;
}

.archive-notes {
  padding-top: 32px;
  border-top: 1px solid #D8E2DF;
  margin-top: 32px;
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-item {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
}

.note-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #F2A93B;
  border-radius: 1px;
}

.archive-note {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
  margin-top: 12px;
}

.archive-sidebar .aside-title {
  font-size: 14px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   pages — 内页：合作流程
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 16px 0 0;
}

.page-hero .page-lead {
  max-width: 760px;
}

.page-hero .rule-line {
  margin: 20px 0 0;
  border-top: 1px solid #D8E2DF;
}

.progress-strip {
  padding: 40px 0 32px;
  border-bottom: 1px solid #D8E2DF;
}

.progress-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
  overflow: hidden;
}

.progress-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px;
  border-left: 1px solid #D8E2DF;
  background: #FFFFFF;
  min-width: 0;
}

.progress-step:first-child {
  border-left: 0;
}

.progress-step.is-done {
  background: #F6F8F7;
}

.progress-step.is-current {
  background: #0E4A42;
}

.progress-state {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #5A6663;
}

.progress-step.is-done .progress-state {
  color: #14655A;
}

.progress-step.is-current .progress-state {
  color: #F2A93B;
}

.progress-step.is-todo .progress-state {
  color: #A6B2AF;
}

.progress-index {
  font-size: 13px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.progress-name {
  font-size: 15px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.4;
}

.progress-step.is-current .progress-name {
  color: #FFFFFF;
}

.step-wrap {
  padding-top: 40px;
}

.step-block {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 32px;
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #D8E2DF;
}

.step-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.step-index {
  font-size: 40px;
  font-weight: 700;
  color: #D8E2DF;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.step-body {
  min-width: 0;
}

.step-body .step-title {
  font-size: 22px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.3;
  margin-bottom: 10px;
}

.step-text {
  font-size: 16px;
  line-height: 1.8;
  color: #1C2321;
  margin-bottom: 20px;
  max-width: 720px;
}

.step-figure {
  margin: 0 0 20px;
}

.step-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #F6F8F7;
}

.step-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
}

.step-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.field-block {
  min-width: 0;
  padding: 16px 18px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
}

.field-title {
  font-size: 14px;
  font-weight: 600;
  color: #14655A;
  margin-bottom: 8px;
  line-height: 1.5;
}

.field-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #1C2321;
}

.field-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: #F2A93B;
  border-radius: 1px;
}

.step-note {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
  padding-left: 12px;
  border-left: 2px solid #F2A93B;
}

.change-section {
  padding: 40px 0;
  border-top: 1px solid #D8E2DF;
}

.change-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.change-item {
  min-width: 0;
  padding: 18px 20px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
}

.change-title {
  font-size: 15px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 6px;
  line-height: 1.5;
}

.change-text {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
}

.related-section {
  padding: 40px 0 0;
}

.related-section .related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #D8E2DF;
}

.related-section .related-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 0;
  border-bottom: 1px solid #D8E2DF;
}

.related-section .related-item a {
  font-size: 15px;
  font-weight: 600;
  color: #14655A;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.related-section .related-item a:hover {
  text-decoration: underline;
}

.related-section .related-desc {
  font-size: 13px;
  color: #5A6663;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   pages — 内页：需求说明
   -------------------------------------------------------------------------- */

.page-brief .page-title {
  padding-bottom: 0;
}

.page-brief .page-layout {
  padding-top: 32px;
}

.brief-intro {
  margin-bottom: 28px;
}

.brief-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #1C2321;
  margin-bottom: 12px;
  max-width: 720px;
}

.brief-intro-tip {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
  padding: 12px 16px;
  background: #F6F8F7;
  border-left: 3px solid #F2A93B;
  border-radius: 0 4px 4px 0;
}

.brief-media {
  margin: 0 0 28px;
}

.brief-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #F6F8F7;
}

.brief-media figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.path-block {
  border: 1px solid #D8E2DF;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}

.path-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 24px;
  background: #F6F8F7;
  border-bottom: 1px solid #D8E2DF;
}

.path-index {
  font-size: 13px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.path-head .path-title {
  font-size: 18px;
  font-weight: 600;
  color: #1C2321;
  line-height: 1.4;
}

.path-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.path-body .path-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #1C2321;
}

.path-body .path-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: briefstep;
}

.path-body .path-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: #1C2321;
  counter-increment: briefstep;
}

.path-body .path-steps li::before {
  content: counter(briefstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
}

.path-reply {
  font-size: 14px;
  line-height: 1.7;
  color: #14655A;
  padding: 10px 14px;
  background: #F6F8F7;
  border-radius: 4px;
}

.brief-common {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #D8E2DF;
}

.common-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.common-item {
  min-width: 0;
  padding: 18px 20px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 6px;
}

.common-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 6px;
  line-height: 1.5;
}

.common-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6663;
}

.content-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brief-aside {
  padding: 20px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
}

.brief-aside .aside-title {
  font-size: 15px;
  font-weight: 600;
  color: #1C2321;
  margin-bottom: 12px;
  line-height: 1.5;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: checkitem;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.65;
  color: #1C2321;
  counter-increment: checkitem;
}

.checklist li::before {
  content: counter(checkitem);
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  background: #14655A;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-links li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #14655A;
  min-height: 36px;
}

.aside-links li a:hover {
  text-decoration: underline;
}

.aside-note {
  font-size: 13px;
  line-height: 1.7;
  color: #5A6663;
  padding: 12px 14px;
  background: #F6F8F7;
  border-left: 3px solid #F2A93B;
  border-radius: 0 4px 4px 0;
}

.aside-block {
  padding: 20px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   pages — 内页：常见问题
   -------------------------------------------------------------------------- */

.page-faq .content-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 32px;
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group:last-of-type {
  margin-bottom: 32px;
}

.faq-group > .section-title {
  font-size: 22px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #14655A;
}

.faq-group > .section-title .section-num {
  font-size: 14px;
}

.faq-media {
  margin: 0 0 24px;
}

.faq-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #F6F8F7;
}

.faq-media figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #5A6663;
}

.faq-outro {
  padding: 28px;
  background: #F6F8F7;
  border: 1px solid #D8E2DF;
  border-radius: 8px;
  margin-bottom: 40px;
}

.faq-outro > .section-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.faq-outro > p {
  font-size: 15px;
  line-height: 1.75;
  color: #1C2321;
  margin-bottom: 12px;
  max-width: 640px;
}

.faq-outro-link {
  margin-bottom: 0;
}

.text-link {
  font-size: 15px;
  font-weight: 600;
  color: #14655A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: #0E4A42;
}

.related-bar {
  margin-top: 40px;
}

.related-bar .related-list {
  border-top: 1px solid #D8E2DF;
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  padding: 80px 0;
}

.error-inner {
  max-width: 640px;
  text-align: left;
}

.error-code {
  font-size: 15px;
  font-weight: 600;
  color: #F2A93B;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.error-title {
  font-size: 36px;
  font-weight: 700;
  color: #1C2321;
  line-height: 1.2;
  margin-bottom: 16px;
}

.error-text {
  font-size: 16px;
  line-height: 1.75;
  color: #5A6663;
  margin-bottom: 24px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.error-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: #14655A;
}

.error-links li a:hover {
  text-decoration: underline;
}

.error-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 22px;
  background: #0E4A42;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.error-home:hover {
  background: #14655A;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 40px;
  }

  .page-layout.layout-main-aside {
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
    gap: 40px;
  }

  .positioning-inner {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 32px;
  }

  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-step:nth-child(4) {
    border-left: 0;
  }

  .progress-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .progress-step {
    padding: 12px 10px;
  }

  .progress-name {
    font-size: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-summary {
    max-width: none;
  }

  .footer-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-left: 0;
    order: 3;
    padding: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid #D8E2DF;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    font-size: 16px;
    border-bottom: 0;
    border-left: 2px solid transparent;
    padding-left: 12px;
  }

  .nav-link.is-current {
    border-bottom-color: transparent;
    border-left-color: #14655A;
    background: #F6F8F7;
  }

  .nav-cta {
    display: none;
    margin: 8px 0 12px;
    min-height: 44px;
    width: 100%;
  }

  .nav-list.is-open + .nav-cta {
    display: inline-flex;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .page-header {
    padding-top: 14px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-lead {
    font-size: 15px;
  }

  .section-title {
    font-size: 22px;
  }

  .hero {
    padding: 32px 0 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-figure {
    order: 2;
  }

  .hero-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .field-item {
    padding: 10px 10px;
  }

  .field-label {
    font-size: 11px;
  }

  .field-value {
    font-size: 13px;
  }

  .content-media-primary img {
    aspect-ratio: 16 / 9;
  }

  .pathway {
    padding: 40px 0;
  }

  .pathway-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .path-card {
    padding: 22px;
  }

  .positioning {
    padding: 40px 0;
  }

  .positioning-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .service-matrix {
    padding: 40px 0;
  }

  .matrix-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .matrix-item {
    padding: 22px;
  }

  .matrix-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .archive-brief {
    padding: 40px 0;
  }

  .archive-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "type link"
      "cycle cycle"
      "modules modules";
    gap: 6px 16px;
    padding: 14px 0;
  }

  .archive-row .archive-type {
    grid-area: type;
  }

  .archive-row .archive-cycle {
    grid-area: cycle;
  }

  .archive-row .archive-modules {
    grid-area: modules;
  }

  .archive-row .archive-link {
    grid-area: link;
  }

  .process-band {
    padding: 40px 0;
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr);
    border-left: 1px solid #D8E2DF;
    border-top: 0;
  }

  .process-step {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    border-left: 0;
    padding: 14px 18px;
  }

  .process-step .step-num {
    flex-shrink: 0;
  }

  .process-step .step-output {
    flex-basis: 100%;
    padding-left: 0;
  }

  .delivery {
    padding: 40px 0;
  }

  .delivery-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .faq-brief {
    padding: 40px 0;
  }

  .brief-entry {
    padding: 40px 0;
  }

  .brief-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
  }

  .faq-question {
    font-size: 16px;
    padding: 16px 32px 16px 0;
  }

  /* 内页：侧栏在移动端下沉 */

  .page-layout,
  .page-layout.sidebar-left,
  .page-layout.layout-main-aside {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 24px;
  }

  .page-layout.sidebar-left .content-main,
  .page-layout.layout-main-aside .content-main {
    order: 1;
  }

  .page-layout.sidebar-left .service-index,
  .page-layout.sidebar-left .archive-sidebar,
  .page-layout.layout-main-aside .content-aside {
    order: 2;
  }

  .service-index {
    position: static;
    padding: 16px;
  }

  .index-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }

  .index-link {
    padding: 8px 0;
    min-height: 44px;
  }

  .service-block {
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .service-block .service-title {
    font-size: 20px;
  }

  .service-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .combo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .scope-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  /* 赛制说明 */

  .page-rules .article-body {
    padding-top: 16px;
  }

  .content-section {
    padding: 24px 0;
  }

  .content-section > h2 {
    font-size: 20px;
  }

  .rule-item {
    padding: 14px 16px 14px 46px;
  }

  .rule-item::before {
    left: 16px;
    top: 14px;
  }

  .compare-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-row > .compare-cell {
    border-left: 0;
    border-top: 1px solid #D8E2DF;
  }

  .compare-row > .compare-cell:first-child {
    border-top: 0;
  }

  .formula-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  /* 项目档案 */

  .archive-sidebar {
    position: static;
    padding: 16px;
  }

  .year-switch {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .year-switch .aside-title {
    flex-basis: 100%;
    margin-bottom: 4px;
  }

  .year-index {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  .year-index .year-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 14px;
    min-height: 40px;
  }

  .archive-list .archive-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .archive-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .archive-year > h2 {
    font-size: 20px;
  }

  /* 合作流程 */

  .progress-list {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 6px;
  }

  .progress-step {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 12px 16px;
    border-left: 0;
    border-top: 1px solid #D8E2DF;
  }

  .progress-step:first-child {
    border-top: 0;
  }

  .progress-state {
    flex-basis: 68px;
    flex-shrink: 0;
  }

  .progress-index {
    flex-shrink: 0;
  }

  .progress-name {
    flex: 1 1 auto;
  }

  .step-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .step-index {
    font-size: 32px;
    padding-top: 0;
  }

  .step-body .step-title {
    font-size: 19px;
  }

  .step-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .change-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  /* 需求说明 */

  .path-head {
    padding: 14px 18px;
  }

  .path-head .path-title {
    font-size: 16px;
  }

  .path-body {
    padding: 16px 18px;
    gap: 14px;
  }

  .common-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .brief-aside {
    padding: 16px;
  }

  /* 常见问题 */

  .page-faq .content-narrow {
    padding-top: 24px;
  }

  .faq-group > .section-title {
    font-size: 19px;
  }

  .faq-outro {
    padding: 20px;
  }

  /* 404 */

  .error-main {
    padding: 56px 0;
  }

  .error-title {
    font-size: 28px;
  }

  /* 页脚 */

  .site-footer {
    padding: 40px 0 20px;
    margin-top: 48px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-group a {
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .page-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .hero-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid #D8E2DF;
  }

  .field-item:first-child {
    border-top: 0;
  }

  .matrix-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .archive-toolbar {
    display: flex;
    width: 100%;
  }

  .year-btn {
    flex: 1 1 auto;
    padding: 0 10px;
    min-height: 40px;
  }

  .brief-inner {
    padding: 20px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .error-title {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
