/* ==========================================================================
   stdfsj.cn · 哔哩哔哩漫画 IP 视觉创作工作室
   几何编辑风格 / 暖纸白底 / 墨黑文字 / 暖橙红强调
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base · 基础重置与全站变量
   -------------------------------------------------------------------------- */

:root {
  --ink: #14161A;
  --paper: #F7F5F1;
  --white: #FFFFFF;
  --accent: #E4572E;
  --teal: #1F7A8C;
  --mustard: #E2B33C;
  --line-thin: #D9D5CD;
  --line-mid: #B9B4AA;
  --shell-max: 1160px;
  --text-max: 720px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  line-height: 1.7;
  color: #55585E;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. layout · 全站骨架：body / header / nav / main / footer
   -------------------------------------------------------------------------- */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
}

/* --- 页头 --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--shell-max);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 10px 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  color: var(--ink);
  border-left: 6px solid var(--accent);
  padding-left: 10px;
}

.brand:hover,
.brand:focus-visible {
  color: var(--ink);
}

.brand__mark {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.brand__tagline {
  font-size: 12px;
  line-height: 1.4;
  color: #5E6167;
}

/* --- 主导航 --- */

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 20px;
}

.main-nav__item a {
  display: inline-block;
  position: relative;
  padding: 8px 2px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 3px solid transparent;
}

.main-nav__item a:hover,
.main-nav__item a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--line-mid);
}

.main-nav__item.is-current a,
.main-nav__item a.is-current {
  color: var(--accent);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--accent);
  background: transparent;
}

/* --- 移动端汉堡按钮与整屏菜单 --- */

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 2px;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle::before {
  top: 15px;
}

.nav-toggle::after {
  bottom: 15px;
}

.mobile-nav {
  background: var(--white);
  border-top: 1px solid var(--line-thin);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 8px 24px 16px;
}

.mobile-nav__item a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-thin);
}

.mobile-nav__item.is-current a {
  color: var(--accent);
  font-weight: 700;
  border-left: 6px solid var(--accent);
}

/* --- 主体容器 --- */

.site-main {
  flex: 1 1 auto;
  display: block;
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.home-main {
  max-width: none;
  padding: 0 0 72px;
}

.inner-main {
  padding-top: 20px;
}

/* --- 面包屑 --- */

.breadcrumb {
  font-size: 13px;
  line-height: 1.8;
  color: #5E6167;
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--line-mid);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.breadcrumb-bar {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 14px 24px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin: 0 8px;
  color: var(--line-mid);
}

.breadcrumb__item.is-current {
  color: var(--ink);
  font-weight: 600;
}

/* --- 内页标题区 --- */

.page-header {
  padding: 22px 0 20px;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 34px;
}

.page-title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

.page-hero {
  margin-bottom: 34px;
}

.page-hero__inner {
  max-width: var(--text-max);
}

.page-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.page-hero__lead {
  font-size: 17px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 页脚 --- */

.site-footer {
  background: var(--ink);
  color: #D8D5CE;
  margin-top: auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 44px 24px 32px;
  border-top: 3px solid var(--ink);
}

.footer-col {
  padding: 0 22px;
  border-left: 1px solid #3A3D43;
}

.footer-col:first-child {
  border-left: 0;
  padding-left: 0;
}

.footer-col__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--mustard);
  margin-bottom: 10px;
}

.footer-note {
  font-size: 13px;
  line-height: 1.8;
  color: #A9A6A0;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #D8D5CE;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--mustard);
}

.site-footer__bottom {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 18px 24px 30px;
  border-top: 1px solid #3A3D43;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.footer-copyright,
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.8;
  color: #8F8C86;
}

/* --------------------------------------------------------------------------
   3. components · 通用组件
   -------------------------------------------------------------------------- */

/* --- 按钮 --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 2px;
  border: 1px solid var(--ink);
  text-align: center;
}

.btn--primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: var(--accent);
  background: var(--white);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--white);
  background: var(--ink);
}

/* --- 文字链接 --- */

.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* --- 标签 --- */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--teal);
  background: var(--white);
  border: 1px solid var(--teal);
  border-radius: 2px;
}

/* --- 通用小节 --- */

.section {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 54px 24px 0;
}

.section__head {
  margin-bottom: 28px;
}

.section__no,
.section__num,
.section__index {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.section__title {
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-thin);
}

.section__lead,
.section__desc,
.section__intro {
  margin-top: 12px;
  max-width: var(--text-max);
  font-size: 16px;
  line-height: 1.9;
  color: #3A3D43;
}

.section__figure {
  margin-top: 32px;
  border: 1px solid var(--line-thin);
  background: var(--white);
  padding: 16px;
}

.section__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-thin);
}

.section__figure figcaption {
  margin-top: 12px;
}

/* --- 内页小节分区 --- */

.section-block {
  margin-top: 46px;
  padding-top: 6px;
}

.section-block__head {
  margin-bottom: 22px;
}

.section-block__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-block__title {
  font-size: 22px;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-thin);
}

.section-block__lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.9;
  color: #3A3D43;
}

.content-section {
  margin-top: 46px;
}

.content-section__head {
  margin-bottom: 22px;
}

.content-section__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.content-section__title {
  font-size: 22px;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-thin);
}

.content-section__desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 锚点索引（桌面左侧栏 / 移动端顶部标签） --- */

.anchor-index,
.section-index {
  align-self: start;
}

.anchor-index__title,
.section-index__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 12px;
}

.anchor-index__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 10px;
}

.anchor-index__list,
.section-index__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anchor-index__item a,
.section-index__item a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--ink);
  border-left: 3px solid var(--line-thin);
  background: var(--white);
}

.anchor-index__item a:hover,
.anchor-index__item a:focus-visible,
.section-index__item a:hover,
.section-index__item a:focus-visible {
  color: var(--accent);
  border-left-color: var(--accent);
}

/* --- FAQ 折叠 --- */

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-thin);
}

.faq-item {
  border-bottom: 1px solid var(--line-thin);
  background: var(--white);
}

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::before {
  content: "＋";
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] .faq-item__q::before {
  content: "－";
}

.faq-item__q:hover {
  color: var(--accent);
}

.faq-item__a {
  padding: 0 18px 20px 46px;
}

.faq-item__a p {
  max-width: var(--text-max);
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 相关页面区块 --- */

.related,
.related-pages,
.related-block {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 3px solid var(--ink);
}

.related__title,
.related-pages__title,
.related-block__title {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 16px;
}

.related__list,
.related-pages__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.related__item a,
.related-pages__item a {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1px solid var(--line-thin);
  padding-bottom: 2px;
}

.related__item a:hover,
.related-pages__item a:hover,
.related__item a:focus-visible,
.related-pages__item a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. pages · 首页
   -------------------------------------------------------------------------- */

/* --- 公告条 --- */

.notice-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  background: var(--mustard);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.notice-bar__text {
  flex: 1 1 auto;
  max-width: var(--shell-max);
  font-size: 14px;
  line-height: 1.7;
}

.notice-bar__close {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.notice-bar__close::before {
  content: "×";
}

.notice-bar__close:hover,
.notice-bar__close:focus-visible {
  background: var(--ink);
  color: var(--mustard);
}

/* --- 首屏 --- */

.hero {
  border-bottom: 3px solid var(--ink);
  background: var(--white);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: start;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 52px 24px 44px;
}

.hero__text {
  min-width: 0;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero__title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero__lead {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.9;
  color: #3A3D43;
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  min-width: 0;
  border: 1px solid var(--line-thin);
  background: var(--paper);
  padding: 14px;
}

.hero__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-thin);
}

.hero__caption {
  margin-top: 12px;
}

/* --- 首屏工作板 --- */

.workboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 24px 48px;
  gap: 0;
  background: var(--white);
}

.workboard__col {
  padding: 24px 22px;
  border: 1px solid var(--line-thin);
  border-left-width: 0;
  background: var(--white);
}

.workboard__col:first-child {
  border-left-width: 1px;
  border-top: 3px solid var(--accent);
}

.workboard__col:nth-child(2) {
  border-top: 3px solid var(--teal);
}

.workboard__col:nth-child(3) {
  border-top: 3px solid var(--mustard);
}

.workboard__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.workboard__text {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
  margin-bottom: 14px;
}

.workboard__col .tag-list {
  margin-top: 4px;
}

/* --- 创作方向索引 --- */

.direction-list {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--ink);
}

.direction-row {
  display: grid;
  grid-template-columns: 64px 1fr 260px 130px;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-thin);
  background: var(--white);
}

.direction-row__no {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.direction-row__body {
  min-width: 0;
}

.direction-row__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.direction-row__desc {
  font-size: 15px;
  line-height: 1.85;
  color: #3A3D43;
}

.direction-row__outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.direction-row__outputs li {
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--paper);
  border: 1px solid var(--line-thin);
  border-radius: 2px;
}

.direction-row__link {
  justify-self: end;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.direction-row__link:hover,
.direction-row__link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* --- 推进方式对照 --- */

.compare-table {
  border-top: 3px solid var(--ink);
  background: var(--white);
}

.compare-table__head,
.compare-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-table__head {
  background: var(--ink);
}

.compare-table__head .compare-table__cell {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}

.compare-table__row {
  border-bottom: 1px solid var(--line-thin);
}

.compare-table__cell {
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.85;
  color: #3A3D43;
  border-left: 1px solid var(--line-thin);
}

.compare-table__cell:first-child {
  border-left: 0;
}

.compare-table__row .compare-table__cell:first-child {
  color: var(--ink);
  font-weight: 600;
  background: var(--paper);
}

/* --- 交付标准概览 --- */

.standards-glance__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.standards-glance__figure {
  border: 1px solid var(--line-thin);
  background: var(--white);
  padding: 14px;
}

.standards-glance__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-thin);
}

.standards-glance__figure figcaption {
  margin-top: 12px;
}

.standards-glance__list {
  min-width: 0;
}

.standard-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-thin);
}

.standard-item:first-child {
  padding-top: 0;
}

.standard-item__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.standard-item__desc {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

.standards-glance__list .text-link {
  margin-top: 20px;
}

/* --- 需求简报三问 --- */

.brief-questions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--ink);
}

.question-col {
  padding: 24px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line-thin);
  border-right: 1px solid var(--line-thin);
}

.question-col:last-child {
  border-right: 0;
}

.question-col__no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.question-col__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.question-col__text {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 高频问答摘要 --- */

.faq-summary .text-link {
  margin-top: 22px;
}

/* --- 合作入口条 --- */

.cta-bar {
  max-width: var(--shell-max);
  margin: 54px auto 0;
  padding: 0 24px;
}

.cta-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 28px;
  background: var(--white);
  border: 3px solid var(--ink);
}

.cta-bar__text {
  flex: 1 1 420px;
  min-width: 0;
}

.cta-bar__title {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
}

.cta-bar__desc {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

.cta-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   5. pages · 内页模块
   -------------------------------------------------------------------------- */

/* --- 双栏外壳 --- */

.page-layout {
  display: block;
}

.layout-shell {
  max-width: var(--shell-max);
  margin: 0 auto;
}

.page-layout.sidebar-left,
.sidebar-left .page-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.page-layout.layout-shell:not(.sidebar-left) {
  display: block;
}

.page-content {
  min-width: 0;
  max-width: 100%;
}

.page-content > .breadcrumb {
  display: none;
}

/* --- 能力目录：创作方向逐条说明 --- */

.direction-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 32px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-thin);
}

.direction-article__body {
  min-width: 0;
}

.direction-article__subtitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 18px 0 6px;
}

.direction-article__subtitle:first-child {
  margin-top: 0;
}

.direction-article__body p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

.direction-article__tags {
  align-self: start;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line-thin);
}

/* --- 能力目录：画面方向索引 / 项目组合建议 --- */

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.media-split__figure {
  border: 1px solid var(--line-thin);
  background: var(--white);
  padding: 14px;
}

.media-split__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-thin);
}

.media-split__caption {
  margin-top: 12px;
}

.media-split__text {
  min-width: 0;
}

.direction-note {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-thin);
}

.direction-note:first-child {
  padding-top: 0;
}

.direction-note__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.direction-note__text,
.direction-note p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

.combo-table {
  border-top: 3px solid var(--ink);
  background: var(--white);
}

.combo-table__row {
  display: grid;
  grid-template-columns: 200px 220px minmax(0, 1fr);
  border-bottom: 1px solid var(--line-thin);
}

.combo-table__row--head {
  background: var(--ink);
}

.combo-table__row--head .combo-table__cell {
  color: var(--white);
  font-weight: 700;
}

.combo-table__cell {
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.85;
  color: #3A3D43;
  border-left: 1px solid var(--line-thin);
}

.combo-table__cell:first-child {
  border-left: 0;
}

.combo-table__cell--type {
  color: var(--ink);
  font-weight: 600;
  background: var(--paper);
}

.combo-table__cell--items {
  color: var(--teal);
  font-weight: 600;
}

/* --- 创作流程：四阶段 --- */

.section--stages .section__head {
  margin-bottom: 22px;
}

.stage {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-thin);
}

.stage__aside {
  min-width: 0;
  padding-left: 16px;
  border-left: 6px solid var(--accent);
}

.stage__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.stage__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.stage__goal {
  font-size: 15px;
  line-height: 1.85;
  color: #3A3D43;
}

.stage__body {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stage__block {
  min-width: 0;
}

.stage__block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-thin);
  margin-bottom: 10px;
}

.stage__block p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 创作流程：确认原则 --- */

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--ink);
}

.principle {
  padding: 24px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line-thin);
  border-right: 1px solid var(--line-thin);
}

.principle:last-child {
  border-right: 0;
}

.principle__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.principle p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 创作流程：常见卡点 --- */

.blocks-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.blocks-figure {
  border: 1px solid var(--line-thin);
  background: var(--white);
  padding: 14px;
}

.blocks-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-thin);
}

.blocks-figure__caption {
  margin-top: 12px;
}

.blocks-notes {
  min-width: 0;
}

.block-note {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-thin);
}

.block-note:first-child {
  padding-top: 0;
}

.block-note__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.block-note p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 交付标准：规范对照行 --- */

.spec-rows {
  border-top: 3px solid var(--ink);
}

.spec-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-thin);
  background: var(--white);
}

.spec-row__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding-left: 12px;
  border-left: 4px solid var(--teal);
}

.spec-row__body {
  min-width: 0;
}

.spec-row__body p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 交付标准：图文区 --- */

.media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.media-text__figure {
  border: 1px solid var(--line-thin);
  background: var(--white);
  padding: 14px;
}

.media-text__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-thin);
}

.media-text__caption {
  margin-top: 12px;
}

.media-text__body {
  min-width: 0;
}

.text-block {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-thin);
}

.text-block:first-child {
  padding-top: 0;
}

.text-block__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.text-block p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 交付标准：修改轮次三步 --- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--ink);
}

.step-item {
  padding: 22px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line-thin);
  border-right: 1px solid var(--line-thin);
}

.step-item:last-child {
  border-right: 0;
}

.step-item__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-item__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.step-item p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 交付标准：标准之外需求 --- */

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 3px solid var(--ink);
}

.beyond-item {
  padding: 24px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line-thin);
  border-right: 1px solid var(--line-thin);
}

.beyond-item:last-child {
  border-right: 0;
}

.beyond-item__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.beyond-item p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 需求简报：六项清单 --- */

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 3px solid var(--ink);
}

.brief-card {
  padding: 22px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line-thin);
  border-right: 1px solid var(--line-thin);
}

.brief-card:nth-child(even) {
  border-right: 0;
}

.brief-card__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.brief-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.brief-card__text {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 需求简报：画面方向表达 --- */

.direction-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.direction-media {
  border: 1px solid var(--line-thin);
  background: var(--white);
  padding: 14px;
}

.direction-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-thin);
}

.direction-media__caption {
  margin-top: 12px;
}

.direction-notes {
  min-width: 0;
}

/* --- 合作方式：三类场景 --- */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 3px solid var(--ink);
}

.scenario-card {
  padding: 24px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line-thin);
  border-right: 1px solid var(--line-thin);
}

.scenario-card:last-child {
  border-right: 0;
}

.scenario-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  margin-bottom: 12px;
}

.scenario-card__desc {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
  margin-bottom: 16px;
}

.scenario-card__block + .scenario-card__block {
  margin-top: 14px;
}

.scenario-card__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.scenario-card__list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.85;
  color: #3A3D43;
}

.scenario-card__list li + li {
  margin-top: 4px;
}

.scenario-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--mustard);
}

/* --- 合作方式：协商事项 --- */

.negotiation-table {
  border-top: 3px solid var(--ink);
}

.negotiation-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-thin);
  background: var(--white);
}

.negotiation-row__name {
  min-width: 0;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.negotiation-row__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.negotiation-row__body {
  min-width: 0;
}

.negotiation-row__body p {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 合作方式：建议起点 --- */

.firststep-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.firststep-media {
  border: 1px solid var(--line-thin);
  background: var(--white);
  padding: 14px;
}

.firststep-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-thin);
}

.firststep-media__caption {
  margin-top: 12px;
}

.firststep-steps {
  min-width: 0;
}

.firststep-step {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-thin);
}

.firststep-step:first-child {
  padding-top: 0;
}

.firststep-step__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.firststep-step__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.firststep-step__desc {
  font-size: 15px;
  line-height: 1.9;
  color: #3A3D43;
}

/* --- 合作方式：相关列表 --- */

.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 3px solid var(--ink);
}

.related-list__item {
  border-bottom: 1px solid var(--line-thin);
  border-right: 1px solid var(--line-thin);
  background: var(--white);
}

.related-list__item:nth-child(even) {
  border-right: 0;
}

.related-list__link {
  display: block;
  padding: 18px 20px;
  color: var(--ink);
}

.related-list__link:hover,
.related-list__link:focus-visible {
  background: var(--paper);
}

.related-list__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.related-list__desc {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  color: #3A3D43;
}

/* --------------------------------------------------------------------------
   6. pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.error-panel {
  padding: 60px 0 40px;
  border-bottom: 3px solid var(--ink);
}

.error-panel__inner {
  max-width: var(--text-max);
}

.error-code {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}

.error-title {
  font-size: 32px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}

.error-text {
  font-size: 16px;
  line-height: 1.9;
  color: #3A3D43;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.error-routes {
  margin-top: 40px;
}

.error-routes__title {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 16px;
}

.error-routes__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.error-routes__list a {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1px solid var(--line-thin);
  padding-bottom: 2px;
}

.error-routes__list a:hover,
.error-routes__list a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   7. motion · 轻量增强（不依赖 JS 显示正文）
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .section,
  .section-block,
  .content-section,
  .stage,
  .direction-row,
  .standard-item,
  .question-col,
  .principle,
  .brief-card,
  .scenario-card,
  .step-item,
  .beyond-item,
  .block-note,
  .text-block,
  .firststep-step,
  .negotiation-row,
  .spec-row {
    animation: rise-in .5s ease both;
  }
}

@keyframes rise-in {
  from {
    opacity: .001;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   8. responsive · 960px 与 640px 两档
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    order: 3;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }

  .footer-col {
    padding: 0 18px;
  }

  .footer-col:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 24px 34px;
  }

  .workboard {
    grid-template-columns: 1fr;
    padding-bottom: 36px;
  }

  .workboard__col {
    border-left-width: 1px;
  }

  .workboard__col + .workboard__col {
    border-top-width: 1px;
  }

  .direction-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px 16px;
    align-items: start;
  }

  .direction-row__outputs {
    grid-column: 2;
  }

  .direction-row__link {
    grid-column: 2;
    justify-self: start;
  }

  .standards-glance__body,
  .media-split,
  .media-text,
  .blocks-layout,
  .direction-layout,
  .firststep-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .brief-questions__grid,
  .principle-grid,
  .step-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .question-col,
  .principle,
  .step-item,
  .scenario-card {
    border-right: 0;
  }

  .stage {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stage__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .direction-article {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .direction-article__tags {
    max-width: 100%;
  }

  .combo-table__row {
    grid-template-columns: 1fr;
  }

  .combo-table__cell {
    border-left: 0;
    border-top: 1px solid var(--line-thin);
  }

  .combo-table__cell:first-child {
    border-top: 0;
  }

  .spec-row,
  .negotiation-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .related-list__item {
    border-right: 0;
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  .brief-card {
    border-right: 0;
  }

  .beyond-grid {
    grid-template-columns: 1fr;
  }

  .beyond-item {
    border-right: 0;
  }

  /* 双栏内页：主内容在前，侧栏索引转为顶部横向标签 */
  .page-layout.sidebar-left,
  .sidebar-left .page-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .page-layout.sidebar-left > .page-content,
  .sidebar-left .page-layout > .page-content {
    order: 1;
  }

  .page-layout.sidebar-left > .anchor-index,
  .page-layout.sidebar-left > .section-index,
  .sidebar-left .page-layout > .anchor-index,
  .sidebar-left .page-layout > .section-index {
    order: 2;
  }

  .anchor-index,
  .section-index {
    border-top: 1px solid var(--line-thin);
    border-bottom: 1px solid var(--line-thin);
    padding: 12px 0;
  }

  .anchor-index__list,
  .section-index__list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .anchor-index__item,
  .section-index__item {
    flex: 0 0 auto;
  }

  .anchor-index__item a,
  .section-index__item a {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 3px solid var(--line-thin);
    padding: 8px 12px;
  }

  .anchor-index__item a:hover,
  .anchor-index__item a:focus-visible,
  .section-index__item a:hover,
  .section-index__item a:focus-visible {
    border-left: 0;
    border-bottom-color: var(--accent);
  }

  .page-content > .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    padding: 10px 16px;
  }

  .brand__mark {
    font-size: 17px;
  }

  .brand__tagline {
    font-size: 11px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .mobile-nav__list {
    padding: 8px 16px 16px;
  }

  .site-main {
    padding: 0 16px 56px;
  }

  .home-main {
    padding: 0 0 56px;
  }

  .breadcrumb-bar {
    padding: 12px 16px 0;
  }

  .section {
    padding: 40px 16px 0;
  }

  .page-title {
    font-size: 28px;
  }

  .page-header {
    padding: 18px 0 16px;
    margin-bottom: 26px;
  }

  .hero__inner {
    padding: 32px 16px 28px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .workboard {
    padding: 0 16px 30px;
  }

  .workboard__col {
    padding: 20px 16px;
  }

  .section__title,
  .section-block__title,
  .content-section__title {
    font-size: 20px;
  }

  .section__lead,
  .section__desc,
  .section__intro,
  .page-hero__lead {
    font-size: 15px;
  }

  .direction-row {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 18px 0;
  }

  .direction-row__no {
    font-size: 18px;
  }

  .compare-table__head,
  .compare-table__row {
    grid-template-columns: 1fr;
  }

  .compare-table__cell {
    border-left: 0;
    border-top: 1px solid var(--line-thin);
  }

  .compare-table__cell:first-child {
    border-top: 0;
  }

  .compare-table__row .compare-table__cell:first-child {
    background: var(--paper);
  }

  .cta-bar {
    margin-top: 40px;
    padding: 0 16px;
  }

  .cta-bar__inner {
    padding: 24px 18px;
  }

  .cta-bar__title {
    font-size: 19px;
  }

  .cta-bar__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-bar__actions .btn {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-col {
    padding: 0;
    border-left: 0;
  }

  .site-footer__bottom {
    padding: 16px 16px 26px;
    flex-direction: column;
  }

  .faq-item__a {
    padding: 0 16px 18px 16px;
  }

  .error-main {
    padding: 0 16px 56px;
  }

  .error-code {
    font-size: 44px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }

  .notice-bar {
    padding: 10px 16px;
    gap: 10px;
  }

  .notice-bar__text {
    font-size: 13px;
  }

  .stage__aside {
    padding-left: 12px;
  }

  .related-list__link {
    padding: 16px;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
