/* ==========================================================================
   blocks.css — 站点级区块：站头 / Hero / 入口 / 类型 / 问答 / CTA 带 /
   页头 / 文档页 / 页脚
   ========================================================================== */

/* ------------------------------ 站头 ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

/* 品牌标记用位图 logo：固定尺寸 + flex:none 防挤压 + object-fit 防变形 */
.brand__logo {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.brand__sub {
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-15);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-13);
}

.site-nav__link {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--brand-ink);
  text-decoration: none;
}

.site-nav__link[aria-current="page"] {
  color: var(--brand-ink);
  font-weight: 600;
}

/* 下载APP：菜单里唯一的主行动点，做成胶囊，和其余纯文字项区分开 */
.site-nav__link--pill {
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--brand-surface);
  color: var(--brand-ink);
  font-weight: 600;
}

.site-nav__link--pill:hover {
  background: var(--brand-chip);
  color: var(--brand-ink);
}

.site-nav__link--pill[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

/* 汉堡按钮：只在窄屏出现 */
.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: var(--r-sm);
  color: var(--ink);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .site-nav__list {
    gap: var(--sp-9);
  }

  .site-nav {
    gap: var(--sp-9);
  }

  .site-nav__link {
    font-size: var(--fs-xs);
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4) var(--sp-9) var(--sp-9);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(18, 20, 26, 0.1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    padding: var(--sp-5) 0;
    font-size: var(--fs-body);
    border-bottom: 1px solid var(--line-soft);
  }

  /* 手机菜单里胶囊改成整行块，文字居中，不再有分隔线 */
  .site-nav__link--pill {
    margin-top: var(--sp-4);
    padding: 14px 0;
    border-bottom: 0;
    text-align: center;
  }
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  padding-block: 68px 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 542px;
  gap: var(--sp-20);
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  align-items: flex-start;
}

.hero__title {
  text-wrap: balance;
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: var(--lh-display);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero__lead {
  width: 100%;
  max-width: 520px;
  text-wrap: pretty;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-body);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  padding-top: var(--sp-2);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: var(--sp-11);
}

.hero__shot {
  position: relative;
  height: 452px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--brand-surface);
}

.hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 插画上的浮动部件 */
.hero__badge {
  position: absolute;
  top: var(--sp-9);
  left: var(--sp-9);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--bg);
  box-shadow: var(--shadow-pill);
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--ink);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--brand-ink);
}

.hero__date {
  position: absolute;
  right: 30px;
  bottom: 21px;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 12px 18px;
  border-radius: var(--r-lg);
  background: var(--ink);
}

.hero__date-day {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-invert);
  line-height: 1.3;
}

.hero__date-note {
  font-size: var(--fs-micro);
  color: var(--text-invert-mute);
  line-height: 1.3;
}

/* 插图下方那条信任条 —— 已从首页移除，样式同步删掉以免留死代码 */

@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-14);
  }

  /* 堆叠后让插画吃满可用宽度，别留半截空白 */
  .hero__visual {
    width: 100%;
    max-width: 720px;
  }

  .hero__shot {
    height: auto;
    aspect-ratio: 542 / 452;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-block: 24px 22px;
  }

  .hero__inner {
    gap: var(--sp-8);
  }

  .hero__copy {
    gap: var(--sp-6);
  }

  .hero__actions {
    display: grid;
    gap: var(--sp-3);
    width: 100%;
  }

  .hero__stats {
    gap: var(--sp-9);
  }

  .hero__shot {
    height: 260px;
    aspect-ratio: auto;
  }

  .hero__date {
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
  }

  .hero__badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
  }
}

/* ------------------------------ 区头（居中） ------------------------------ */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  text-align: center;
}

.section-head__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-ink);
}

.section-head__title {
  text-wrap: balance;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.28;
  color: var(--ink);
}

.section-head__desc {
  max-width: 560px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}

@media (max-width: 560px) {
  .section-head {
    gap: var(--sp-3);
  }

  .section-head__desc {
    font-size: var(--fs-xs);
  }
}

/* ------------------------------ 入口区 ------------------------------ */
.entry {
  display: flex;
  flex-direction: column;
  gap: var(--sp-17);
}

.entry__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-9);
}

/* 入口只有两个时不做三等分，否则右侧空出一格 */
.entry__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: 26px;
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.entry__card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(18, 20, 26, 0.08);
}

.entry__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: #f2f4f7;
  color: var(--brand-ink);
}

.entry__icon svg {
  width: 24px;
  height: 24px;
}

.entry__title {
  font-size: 19px;
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--ink);
}

.entry__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-body);
}

.entry__more {
  margin-top: auto;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-ink);
}

@media (max-width: 880px) {
  .entry__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .entry {
    gap: var(--sp-6);
  }

  .entry__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-5);
  }

  .entry__card {
    padding: 15px 16px;
    gap: var(--sp-2);
  }

  .entry__icon {
    display: none;
  }

  .entry__title {
    font-size: var(--fs-sm);
  }

  .entry__desc {
    font-size: var(--fs-2xs);
  }
}

/* ------------------------------ 漫画类型 ------------------------------ */
.types {
  display: flex;
  flex-direction: column;
  gap: var(--sp-17);
}

.types__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--sp-8);
}

.type {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  color: inherit;
  text-decoration: none;
}

.type:hover {
  text-decoration: none;
}

.type__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--brand-surface);
}

.type__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.type:hover .type__cover img {
  transform: scale(1.03);
}

.type__name {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
  /* 最新上架的长标题（如日文原题）限两行，超出省略 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.type__note {
  font-size: var(--fs-2xs);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.types__more {
  display: flex;
  justify-content: center;
}

@media (max-width: 1080px) {
  .types__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-6);
  }
}

@media (max-width: 560px) {
  .types {
    gap: var(--sp-6);
  }

  .types__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-5) var(--sp-4);
  }

  .type__name {
    font-size: var(--fs-sm);
  }

  .type__note {
    font-size: var(--fs-micro);
  }
}

/* ------------------------------ 漫画库：类型卡 ------------------------------ */
/* 这一页的主体就是类型本身，所以卡片吃掉全部注意力：
   封面只做识别，文字才是内容。技巧类文字统一沉到页尾灰色小字。 */
.genre-page {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.genre-page__head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
}

.genre-page__lead {
  max-width: 780px;
  text-wrap: pretty;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text-body);
}

.genre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
}

/* 卡片内部：封面吃掉左侧两行，右侧先放类型名与子类型词，介绍在下方；
   作品清单再单独占一整行，用三栏排开 */
.genre {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 6px var(--sp-8);
  align-items: start;
  padding: 20px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--bg);
}

.genre__cover {
  grid-row: 1 / span 2;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--brand-surface);
}

.genre__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genre__head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.genre__name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.genre__tags {
  font-size: var(--fs-2xs);
  font-weight: 600;
  line-height: 1.6;
  color: var(--brand-ink);
}

.genre__desc {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 62ch;
}

.genre__desc p {
  margin: 0;
}

/* 每类末尾那句「什么时候看」，单独提出来，不要混在正文里 */
.genre__desc p:last-child {
  color: var(--brand-ink);
  font-weight: 600;
}

/* 作品清单：书名、题材标签、连载进度，全部来自漫蛙书架 */
.genre__books {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.book__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.book__meta {
  margin-top: 3px;
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--brand-ink);
}

.book__note {
  margin-top: 5px;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--text-muted);
}

/* 页尾：检索与筛选。刻意压到最小字号 + 灰色，不跟类型卡抢视线 */
.genre-foot {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-top: var(--sp-9);
  border-top: 1px solid var(--line);
}

.genre-foot__title {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.genre-foot p {
  font-size: var(--fs-2xs);
  line-height: 1.95;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .genre-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .genre__books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .genre-page {
    gap: var(--sp-11);
  }

  .genre-page__head {
    gap: var(--sp-5);
  }

  .genre-page__lead {
    font-size: var(--fs-xs);
  }

  .genre-grid {
    gap: var(--sp-5);
  }

  .genre {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px var(--sp-5);
    padding: 14px;
  }

  .genre__cover {
    grid-row: 1;
  }

  /* 封面比标题高，让标题垂直居中，避免右上方留一块空白 */
  .genre__head {
    align-self: center;
  }

  .genre__desc {
    grid-column: 1 / -1;
    font-size: var(--fs-xs);
    line-height: 1.8;
  }

  .genre__books {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .genre__name {
    font-size: var(--fs-body);
  }
}

/* ------------------------------ 问答区 ------------------------------ */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

/* ------------------------------ FAQ 页（无侧栏的问答列表页） ------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* ------------------------------ CTA 带 ------------------------------ */
.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-7);
  padding: 54px 60px;
  border-radius: var(--r-cta);
  background: var(--brand-surface);
  text-align: center;
}

.cta-band__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.cta-band__desc {
  max-width: 600px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-1);
}

@media (max-width: 560px) {
  .cta-band {
    gap: var(--sp-4);
    padding: 26px 20px;
  }

  .cta-band__actions {
    display: grid;
    width: 100%;
    gap: var(--sp-3);
  }
}

/* ------------------------------ 页面主体 ------------------------------ */
.page-body {
  padding-block: 44px 72px;
}

@media (max-width: 560px) {
  .page-body {
    padding-block: 20px 40px;
  }
}

/* ------------------------------ 页头（内页） ------------------------------ */
.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: var(--sp-13);
  align-items: center;
}

.page-head__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-8);
}

.page-head__title {
  text-wrap: balance;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-h1);
  color: var(--ink);
}

.page-head__illo {
  width: 190px;
  height: 190px;
  border-radius: var(--r-2xl);
}

/* 产品页：插图更大、留白更松 */
.page-head--wide {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--sp-16);
}

.page-head--wide .page-head__copy {
  gap: var(--sp-7);
}

.page-head--wide .page-head__illo {
  width: 300px;
  height: 300px;
  border-radius: var(--r-2xl);
}

.page-head__lead {
  width: 100%;
  max-width: 620px;
  text-wrap: pretty;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text-body);
}

@media (max-width: 760px) {
  .page-head,
  .page-head--wide {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-7);
  }

  .page-head__illo,
  .page-head--wide .page-head__illo {
    width: 100%;
    height: 150px;
    border-radius: var(--r-lg);
  }
}

/* ------------------------------ 文档正文排版 ------------------------------ */
/* 只作用于区块标题，别写成 `.prose h2`——那会连步骤卡片里的 h2 一起吃掉 */
.section-block > h2 {
  text-wrap: balance;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--lh-h2);
  color: var(--ink);
}

.section-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.section-block__desc {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}

/* ------------------------------ 步骤（大编号） ------------------------------ */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-11);
}

.step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: var(--sp-6);
}

.step__no {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-1);
}

.step__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.step__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-body);
}

@media (max-width: 560px) {
  .steps {
    gap: var(--sp-6);
  }

  .step {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: var(--sp-4);
  }

  .step__no {
    font-size: 19px;
  }

  .step__title {
    font-size: var(--fs-sm);
  }

  .step__desc {
    font-size: var(--fs-xs);
  }
}

/* ------------------------------ 现象分流卡 ------------------------------ */
.phenomena {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}

.phenomenon {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bg-alt-2);
}

.phenomenon__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}

.phenomenon__note {
  font-size: var(--fs-2xs);
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .phenomena {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------ 红旗网格 ------------------------------ */
.flags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
}

.flag {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg);
}

.flag__title {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.flag__desc {
  font-size: var(--fs-xs);
  line-height: var(--lh-body);
  color: var(--text-body);
}

@media (max-width: 760px) {
  .flags {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------ 文档页侧栏 ------------------------------ */
.doc__aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.doc__aside-illo {
  width: 224px;
  height: 300px;
  border-radius: var(--r-xl);
}

/* 移动端设计稿里文档页没有目录栏 —— 覆盖必须紧跟在组件定义之后 */
@media (max-width: 1024px) {
  .doc__aside {
    display: none;
  }
}

/* ------------------------------ 关于页两栏 ------------------------------ */
.about-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
}

.about-col {
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg);
}

.about-col__title {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-body);
  font-weight: 700;
}

.about-col--do .about-col__title {
  color: var(--brand-ink);
}

.about-col--dont .about-col__title {
  color: var(--danger-ink-strong);
}

.about-col__item {
  position: relative;
  padding-left: var(--sp-7);
  font-size: var(--fs-xs);
  line-height: 2;
  color: var(--text-body);
}

.about-col__item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-mark);
}

.about-col--dont .about-col__item::before {
  background: var(--danger-mark);
}

@media (max-width: 640px) {
  .about-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------ 联系块 ------------------------------ */
.contact-block {
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
}

.contact-block__title {
  margin-bottom: var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}

.contact-block__text {
  font-size: var(--fs-xs);
  line-height: 1.9;
  color: var(--text-body);
}

/* ------------------------------ 功能页容器 ------------------------------ */
.features-page {
  display: flex;
  flex-direction: column;
  gap: var(--sp-15);
}

/* ------------------------------ 功能页：功能网格 ------------------------------ */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-7);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--bg);
}

.feature__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.feature__desc {
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--text-body);
}

@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-5);
  }

  .feature {
    padding: 18px;
    gap: var(--sp-4);
  }

  .feature__title {
    font-size: var(--fs-sm);
  }
}

/* ------------------------------ 功能页：场景 ------------------------------ */
.scenes {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.scenes__head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.scenes__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.scenes__desc {
  font-size: var(--fs-sm);
  color: var(--text-body);
}

.scenes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-7);
}

.scene {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--bg-alt);
}

.scene__name {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
}

.scene__desc {
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--text-body);
}

.scene__tag {
  margin-top: auto;
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--brand-ink);
}

@media (max-width: 980px) {
  .scenes__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .scenes__title {
    font-size: var(--fs-h2);
  }

  .scene {
    padding: 16px;
  }
}

/* ------------------------------ 功能页：渐变引导带 ------------------------------ */
.gradient-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-11);
  padding: 34px 40px;
  border-radius: var(--r-cta);
  background: linear-gradient(90deg, #f2fcf8 0%, #d5f4e8 100%);
}

.gradient-cta__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.gradient-cta__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--on-brand);
}

.gradient-cta__desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: #0b5a44;
}

@media (max-width: 760px) {
  .gradient-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-7);
    padding: 24px 22px;
  }

  .gradient-cta__title {
    font-size: var(--fs-h2);
  }

  .gradient-cta__desc {
    font-size: var(--fs-xs);
  }
}

/* ------------------------------ 页脚 ------------------------------ */
.site-footer {
  background: var(--bg-alt);
  padding-block: var(--sp-19) var(--sp-13);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-14);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-20);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 330px;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.footer-brand__mark {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  object-fit: contain;
}

.footer-brand__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.footer-brand__desc {
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--text-body);
}

.footer-brand__note {
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--text-muted);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-19);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.footer-col__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink);
}

.footer-col__link {
  font-size: var(--fs-xs);
  color: var(--text-body);
  white-space: nowrap;
}

.site-footer__rule {
  background: var(--line);
}

.site-footer__disclaimer {
  font-size: var(--fs-2xs);
  line-height: 1.85;
  color: var(--text-muted);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-5);
  font-size: var(--fs-2xs);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .site-footer__top {
    flex-direction: column;
    gap: var(--sp-14);
  }

  .footer-cols {
    gap: var(--sp-11) var(--sp-14);
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-block: var(--sp-11) var(--sp-9);
  }

  .site-footer__inner {
    gap: var(--sp-11);
  }

  .footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-9) var(--sp-7);
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: var(--sp-2);
  }
}
