/* ==========================================================================
   天美app · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

:root {
  --sand: #F4F1EA;
  --ink: #12211C;
  --pine: #2F5D4E;
  --copper: #B98A3C;
  --muted: #6E7A73;
  --paper: #FFFFFF;
  --rule: #D8D3C7;
  --rule-soft: #E6E1D6;
  --ink-soft: #3A4A43;
  --shadow-hover: 0 6px 18px rgba(18, 33, 28, 0.08);

  --font-sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-cond: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;

  --shell: 1120px;
  --col-main: 720px;
  --gap: 8px;
  --radius: 6px;
  --header-h: 72px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background-color: var(--sand);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-cond);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0 0 var(--space-2);
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--pine);
  text-decoration: none;
  transition: color 0.16s ease;
}

a:hover,
a:focus-visible {
  color: var(--copper);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: var(--space-2);
  z-index: 200;
  padding: 10px 18px;
  background: var(--pine);
  color: var(--paper);
  border-radius: var(--radius);
  font-size: 14px;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}


/* --------------------------------------------------------------------------
   2. layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--sand);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  max-width: var(--shell);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.brand-logo {
  flex: 0 0 auto;
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  padding: 6px 0;
}

.brand-logo:hover,
.brand-logo:focus-visible {
  color: var(--pine);
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  font-size: 15px;
}

.nav-list li {
  display: flex;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--pine);
  border-bottom-color: var(--copper);
}

.nav-list a.is-current {
  color: var(--pine);
  border-bottom-color: var(--pine);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: var(--paper);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-menu {
  background-color: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--space-1) var(--space-3) var(--space-2);
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--rule-soft);
}

.mobile-nav-list li:last-child {
  border-bottom: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-size: 16px;
  color: var(--ink);
}

.mobile-nav-list a.is-current {
  color: var(--pine);
  font-weight: 600;
}

.site-main {
  display: block;
}

.home-main,
.inner-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--space-3) var(--space-7);
}

.inner-main {
  padding-top: var(--space-3);
}

/* 内页统一：面包屑 + 页标题 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: var(--space-2) 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--pine);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: var(--space-2) 0 var(--space-4);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--space-5);
}

.page-title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
  max-width: 20em;
}

/* 内页双栏：正文在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--space-5);
  align-items: start;
}

.content-main,
.content-column {
  min-width: 0;
}

.content-aside,
.page-aside {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + var(--space-3));
}

.layout-shell {
  align-items: start;
}

/* 页脚 */
.site-footer {
  background-color: var(--ink);
  color: #C9D2CC;
  font-size: 14px;
  line-height: 1.75;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--space-6) var(--space-3) var(--space-5);
}

.footer-brand {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: var(--space-2);
}

.footer-desc {
  margin: 0;
  color: #A9B5AE;
  max-width: 34em;
}

.footer-heading {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin-bottom: var(--space-2);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #C9D2CC;
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--paper);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--space-3) var(--space-3);
  font-size: 13px;
  color: #8E9A93;
}


/* --------------------------------------------------------------------------
   3. components · 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background-color: var(--pine);
  color: var(--paper);
  border-color: var(--pine);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--pine);
  color: var(--pine);
}

/* 文本链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pine);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 2px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--copper);
}

/* 标签组 */
.hero-tags,
.topic-tags,
.intro-tags,
.page-tags,
.faq-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.hero-tag,
.topic-tag,
.intro-tags .tag,
.page-tags .tag,
.faq-topic-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.hero-tag {
  color: var(--pine);
}

.hero-tag:hover,
.hero-tag:focus-visible {
  border-color: var(--pine);
}

.hero-tag.is-active {
  color: var(--paper);
  background-color: var(--pine);
  border-color: var(--pine);
}

/* 区块：标题 + 说明 */
.section-head {
  margin-bottom: var(--space-4);
}

.section-head h2,
.section-head .section-title {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: var(--space-1);
}

.section-desc,
.section-note,
.section-intro,
.block-intro {
  font-size: 15px;
  color: var(--muted);
  max-width: 46em;
}

.section-more {
  margin: var(--space-4) 0 0;
}

/* 通用 figure 约束 */
.hero-figure,
.channel-figure,
.special-figure,
.section-figure,
.page-hero-media,
.about-media,
.feedback-figure {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--rule-soft);
}

.hero-figure img,
.channel-figure img,
.special-figure img,
.section-figure img,
.page-hero-media img,
.about-media img,
.feedback-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption,
.hero-caption,
.special-figure figcaption,
.section-figure figcaption,
.page-hero-media figcaption,
.about-media figcaption,
.feedback-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding-top: var(--space-1);
  line-height: 1.6;
}

/* 折叠问答 */
.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 56px;
  padding: var(--space-2) 40px var(--space-2) 0;
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--copper);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 var(--space-2) var(--space-3) 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 对照表 */
.compare-table,
.channel-table,
.field-table {
  width: 100%;
  font-size: 15px;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table caption,
.channel-table caption,
.field-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding: 0 0 var(--space-1);
}

.compare-table th,
.channel-table th,
.field-table th {
  text-align: left;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 12px var(--space-2);
  background-color: var(--sand);
  border-bottom: 1px solid var(--rule);
}

.compare-table td,
.channel-table td,
.field-table td {
  padding: 14px var(--space-2);
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
  color: var(--ink-soft);
  line-height: 1.7;
}

.compare-table tbody tr:last-child td,
.channel-table tbody tr:last-child td,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td:first-child,
.channel-table td:first-child,
.field-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  width: 34%;
}

/* 步骤序号（内页通用） */
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--copper);
  border: 1px solid var(--copper);
  border-radius: 50%;
}

/* 侧栏 */
.aside-block {
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
}

.aside-block:last-child {
  margin-bottom: 0;
}

.aside-heading,
.aside-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-1);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-soft);
}

.aside-note,
.aside-desc,
.aside-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.aside-links li {
  border-bottom: 1px solid var(--rule-soft);
}

.aside-links li:last-child {
  border-bottom: 0;
}

.aside-links a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.aside-links a:hover,
.aside-links a:focus-visible {
  color: var(--pine);
  padding-left: 4px;
}

/* 相关内容条（首页底部） */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.related-links-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.related-links-item {
  font-size: 14px;
  color: var(--pine);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.related-links-item:hover,
.related-links-item:focus-visible {
  border-bottom-color: var(--copper);
}

/* 内页公共页首（page-hero 变体） */
.page-hero {
  padding: var(--space-4) 0 var(--space-5);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--space-5);
}

.page-hero-inner {
  max-width: 46em;
}

.page-kicker,
.page-eyebrow,
.intro-kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.page-lead,
.page-lede,
.intro-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}

.page-hero .hero-tags,
.page-hero .topic-tags,
.page-hero .page-tags,
.faq-hero .faq-topic-tags {
  margin-top: var(--space-2);
}


/* --------------------------------------------------------------------------
   4. pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-top: var(--space-3);
}

/* 焦点区 */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-5);
  align-items: start;
  padding: var(--space-4) 0 var(--space-6);
  border-bottom: 1px solid var(--rule);
}

.hero-media {
  min-width: 0;
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  height: clamp(320px, 42vw, 480px);
  object-fit: cover;
}

.hero-caption {
  padding-top: var(--space-2);
}

.hero-intro {
  min-width: 0;
  padding-top: var(--space-2);
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: var(--space-2);
}

.hero-intro h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}

.hero-tags {
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* 双轨主体 */
.brand-rail {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--rule);
}

.rail-left,
.rail-right {
  min-width: 0;
}

.rail-heading {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.rail-text {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}

.rail-principles {
  margin-bottom: var(--space-3);
}

.rail-principles li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.rail-principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background-color: var(--copper);
}

.rail-right {
  padding-left: var(--space-4);
  border-left: 1px solid var(--rule);
}

.rail-right .rail-heading {
  font-size: 20px;
  margin-bottom: var(--space-3);
}

.feed-item {
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule-soft);
}

.feed-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.feed-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 6px;
}

.feed-title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.feed-title a {
  color: var(--ink);
}

.feed-title a:hover,
.feed-title a:focus-visible {
  color: var(--pine);
}

.feed-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* 频道目录带状区 */
.channel-band {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--rule);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.channel-cell {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.channel-cell:hover {
  border-color: var(--pine);
  box-shadow: var(--shadow-hover);
}

.channel-cell > a {
  display: block;
  padding: var(--space-2) var(--space-2) var(--space-3);
  color: inherit;
}

.channel-figure {
  border-radius: 4px;
  margin-bottom: var(--space-2);
}

.channel-figure img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.channel-cell:hover .channel-figure img {
  transform: scale(1.04);
}

.channel-name {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule-soft);
  display: inline-block;
}

.channel-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* 本周速览 */
.weekly-brief {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--rule);
}

.brief-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.brief-group {
  min-width: 0;
}

.brief-group-title {
  font-size: 18px;
  line-height: 1.4;
  padding-bottom: var(--space-1);
  margin-bottom: var(--space-2);
  border-bottom: 2px solid var(--ink);
}

.brief-item {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--rule-soft);
}

.brief-item:last-child {
  border-bottom: 0;
}

.brief-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--copper);
  margin-bottom: 4px;
}

.brief-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

/* 四步路径条 */
.path-strip {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--rule);
}

.path-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.path-step {
  min-width: 0;
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.path-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  margin-bottom: var(--space-1);
}

.path-name {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.path-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* 常见疑问摘要 */
.faq-brief {
  padding: var(--space-6) 0 0;
}

.faq-brief .faq-list {
  max-width: 760px;
}


/* --------------------------------------------------------------------------
   4. pages · 频道目录
   -------------------------------------------------------------------------- */

.page-channels .block {
  margin-bottom: var(--space-6);
}

.page-channels .block h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: var(--space-1);
}

.page-channels .block-intro {
  margin-bottom: var(--space-3);
}

.channel-table {
  margin-bottom: var(--space-2);
}

.channel-detail {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule);
}

.channel-detail:last-child {
  border-bottom: 0;
}

.channel-figure {
  margin: 0;
}

.channel-detail .channel-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.channel-text {
  min-width: 0;
}

.channel-focus {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.channel-meta {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.channel-meta:last-child {
  margin-bottom: 0;
}

.choice-list {
  display: grid;
  gap: var(--space-2);
}

.choice-item {
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.guide-links {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.guide-links a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
}

.guide-links a:hover,
.guide-links a:focus-visible {
  color: var(--copper);
}


/* --------------------------------------------------------------------------
   4. pages · 专题片单
   -------------------------------------------------------------------------- */

.page-intro {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--space-5);
}

.specials-overview,
.special-breakdown,
.rhythm-section,
.back-to-channel {
  margin-bottom: var(--space-6);
}

.specials-overview h2,
.special-breakdown h2,
.rhythm-section h2,
.back-to-channel h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: var(--space-1);
}

.section-note {
  margin-bottom: var(--space-3);
}

.special-index-list {
  border-top: 1px solid var(--rule);
}

.special-index-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule);
}

.special-index-no {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--copper);
  line-height: 1.4;
}

.special-index-body {
  min-width: 0;
}

.special-meta {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.special-logic {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.special-detail {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule);
}

.special-detail:last-child {
  border-bottom: 0;
}

.special-figure {
  margin: 0;
}

.special-figure img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.special-detail-body {
  min-width: 0;
}

.special-detail-no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  margin-bottom: 6px;
}

.special-detail-body h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: var(--space-1);
}

.special-detail-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.special-detail-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: var(--space-2);
}

.special-fields {
  display: grid;
  gap: 6px;
  margin-top: var(--space-2);
}

.special-fields li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.special-fields li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background-color: var(--copper);
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.rhythm-col {
  min-width: 0;
}

.rhythm-col h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: var(--space-2);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}

.rhythm-list li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.rhythm-list li:last-child {
  border-bottom: 0;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.back-to-channel .path-step {
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.path-step-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  margin-bottom: 6px;
}

.back-to-channel .path-step h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.back-to-channel .path-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.back-note {
  margin-top: var(--space-3);
  font-size: 14px;
  color: var(--muted);
}

.back-note a {
  margin-right: var(--space-2);
}


/* --------------------------------------------------------------------------
   4. pages · 观看指南
   -------------------------------------------------------------------------- */

.guide-article {
  max-width: 720px;
}

.guide-step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--rule);
}

.guide-step:last-child {
  border-bottom: 0;
}

.guide-step .step-index {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.step-body {
  min-width: 0;
}

.step-body h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: var(--space-2);
}

.step-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-2);
}

.check-list {
  margin-bottom: var(--space-2);
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1px;
  background-color: var(--copper);
}

.checklist-group {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.checklist-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px var(--space-2);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.checklist-mark {
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1px solid var(--pine);
  border-radius: 3px;
  background-color: transparent;
}

.checklist-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
}

.path-steps .path-step {
  min-width: 0;
}

.guide-step .path-steps {
  grid-template-columns: 1fr;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.guide-step .path-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
  padding: var(--space-2) 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule-soft);
  border-radius: 0;
}

.guide-step .path-step:last-child {
  border-bottom: 0;
}

.path-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  border: 1px solid var(--copper);
  border-radius: 50%;
}

.path-step-body {
  min-width: 0;
}

.path-step-body h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.path-step-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.compare-table {
  margin-bottom: var(--space-2);
}

.blocker-list {
  display: grid;
  gap: var(--space-2);
}

.blocker-item {
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
}

.blocker-item h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.blocker-item p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.blocker-order {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  margin: 0;
}

.aside-note-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}


/* --------------------------------------------------------------------------
   4. pages · 入口核对
   -------------------------------------------------------------------------- */

.page-entry-check .page-hero {
  padding: var(--space-3) 0 var(--space-4);
}

.content-section {
  margin-bottom: var(--space-6);
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section .section-head {
  margin-bottom: var(--space-3);
}

.content-section .section-head h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: var(--space-1);
}

.content-section .section-head p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.section-figure {
  margin: 0 0 var(--space-3);
}

.section-figure img {
  width: 100%;
  height: clamp(200px, 30vw, 300px);
  object-fit: cover;
}

.check-table {
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  gap: var(--space-2);
}

.feature-item {
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.step-list {
  display: grid;
  gap: var(--space-2);
  counter-reset: entrystep;
}

.step-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--rule-soft);
}

.step-item:last-child {
  border-bottom: 0;
}

.step-item .step-index {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.step-item .step-body h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.step-item .step-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}


/* --------------------------------------------------------------------------
   4. pages · 内容反馈
   -------------------------------------------------------------------------- */

.page-title-block {
  padding: var(--space-2) 0 var(--space-4);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--space-5);
}

.page-title-block .page-kicker {
  margin-bottom: var(--space-1);
}

.page-title-block .page-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-2);
  max-width: 46em;
}

.feedback-types,
.feedback-elements,
.feedback-process,
.feedback-exclude {
  margin-bottom: var(--space-6);
}

.section-title {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: var(--space-1);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.type-card {
  min-width: 0;
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--pine);
  border-radius: var(--radius);
}

.type-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.type-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.feedback-figure {
  margin: 0 0 var(--space-5);
}

.feedback-figure img {
  width: 100%;
  height: clamp(200px, 30vw, 300px);
  object-fit: cover;
}

.element-list {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
  counter-reset: element;
}

.element-item {
  position: relative;
  padding: var(--space-3) var(--space-3) var(--space-3) 56px;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  counter-increment: element;
}

.element-item::before {
  content: counter(element, decimal-leading-zero);
  position: absolute;
  left: var(--space-3);
  top: var(--space-3);
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--copper);
}

.element-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.element-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.process-step {
  min-width: 0;
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.process-step .step-index {
  width: 36px;
  height: 36px;
  font-size: 13px;
  margin-bottom: var(--space-2);
}

.step-name {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.exclude-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.exclude-item {
  min-width: 0;
  padding: var(--space-3);
  background-color: transparent;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
}

.exclude-name {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--ink);
}

.exclude-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}


/* --------------------------------------------------------------------------
   4. pages · 常见疑问
   -------------------------------------------------------------------------- */

.faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-4) 0 var(--space-5);
}

.page-hero-text {
  min-width: 0;
}

.faq-hero .page-hero-media {
  margin: 0;
}

.faq-hero .page-hero-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.faq-block {
  margin-bottom: var(--space-6);
}

.faq-block:last-child {
  margin-bottom: 0;
}

.faq-block .section-head {
  margin-bottom: var(--space-2);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  margin-bottom: 4px;
}

.faq-block .section-head h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.faq-block .section-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}


/* --------------------------------------------------------------------------
   4. pages · 关于本站
   -------------------------------------------------------------------------- */

.about-position,
.about-principles,
.about-fields,
.about-maintain {
  margin-bottom: var(--space-6);
}

.about-position h2,
.about-principles h2,
.about-fields h2,
.about-maintain h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: var(--space-1);
}

.position-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.position-col {
  min-width: 0;
  padding: var(--space-3);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.position-col h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--rule-soft);
}

.position-do {
  border-top: 3px solid var(--pine);
}

.position-dont {
  border-top: 3px solid var(--copper);
}

.position-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.position-list li:last-child {
  margin-bottom: 0;
}

.position-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background-color: var(--copper);
}

.about-media {
  margin: var(--space-4) 0 0;
}

.about-media img {
  width: 100%;
  height: clamp(200px, 30vw, 300px);
  object-fit: cover;
}

.principle-item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule);
}

.principle-item:first-of-type {
  border-top: 1px solid var(--rule);
  margin-top: var(--space-3);
}

.principle-item h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.principle-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.field-table {
  margin-top: var(--space-3);
}

.field-note {
  margin-top: var(--space-2);
  font-size: 14px;
  color: var(--muted);
}

.maintain-block {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule-soft);
}

.maintain-block:last-child {
  border-bottom: 0;
}

.maintain-block h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.maintain-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}


/* --------------------------------------------------------------------------
   4. pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--space-7) var(--space-3);
}

.error-block {
  max-width: 640px;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--rule);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: var(--space-2);
}

.error-block h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.error-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.error-hint {
  padding-top: var(--space-5);
}

.error-hint h2 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

.error-hint-list {
  display: grid;
  gap: 4px;
  max-width: 640px;
}

.error-hint-list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
  color: var(--ink-soft);
}

.error-hint-list a:hover,
.error-hint-list a:focus-visible {
  color: var(--pine);
}


/* --------------------------------------------------------------------------
   5. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    height: var(--header-h);
    padding: 0 var(--space-2);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .home-main,
  .inner-main {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  .page-title {
    font-size: 32px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero-figure img {
    height: clamp(220px, 46vw, 380px);
  }

  .hero-intro h1 {
    font-size: 32px;
  }

  .brand-rail {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .rail-right {
    padding-left: 0;
    border-left: 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--rule);
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-columns {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .path-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .content-aside,
  .page-aside {
    position: static;
    top: auto;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    padding: var(--space-5) var(--space-2) var(--space-4);
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom p {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  .channel-detail,
  .special-detail {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .path-steps {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-hero {
    grid-template-columns: 1fr;
  }

  .faq-hero .page-hero-media img {
    height: 200px;
  }

  .error-main {
    padding: var(--space-6) var(--space-2);
  }
}

@media (max-width: 720px) {
  .hero-intro h1 {
    font-size: 28px;
  }

  .page-title {
    font-size: 28px;
  }

  .section-head h2,
  .section-title,
  .page-channels .block h2,
  .specials-overview h2,
  .special-breakdown h2,
  .rhythm-section h2,
  .back-to-channel h2,
  .content-section .section-head h2,
  .faq-block .section-head h2,
  .about-position h2,
  .about-principles h2,
  .about-fields h2,
  .about-maintain h2 {
    font-size: 22px;
  }

  .step-body h2 {
    font-size: 20px;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .channel-figure img {
    height: 180px;
  }

  .path-list {
    grid-template-columns: 1fr;
  }

  .channel-detail,
  .special-detail {
    grid-template-columns: 1fr;
  }

  .channel-detail .channel-figure img,
  .special-figure img {
    height: 200px;
  }

  .guide-step {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .rhythm-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .type-grid {
    grid-template-columns: 1fr;
  }

  .exclude-list {
    grid-template-columns: 1fr;
  }

  .position-columns {
    grid-template-columns: 1fr;
  }

  .compare-table td:first-child,
  .channel-table td:first-child,
  .field-table td:first-child {
    width: 40%;
  }

  .compare-table th,
  .compare-table td,
  .channel-table th,
  .channel-table td,
  .field-table th,
  .field-table td {
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 var(--space-2);
  }

  .brand-logo {
    font-size: 20px;
  }

  .home-main,
  .inner-main {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  .hero-section {
    padding-top: var(--space-3);
  }

  .hero-intro h1 {
    font-size: 26px;
  }

  .hero-figure img {
    height: 220px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-tag,
  .topic-tag,
  .intro-tags .tag,
  .page-tags .tag,
  .faq-topic-tags li {
    font-size: 12px;
    padding: 0 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .footer-about {
    grid-column: auto;
  }

  .special-index-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .special-index-no {
    font-size: 17px;
  }

  .element-item {
    padding-left: 48px;
  }

  .error-block h1 {
    font-size: 30px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }

  .compare-table th,
  .compare-table td,
  .channel-table th,
  .channel-table td,
  .field-table th,
  .field-table td {
    padding: 9px 10px;
    font-size: 13px;
  }

  .compare-table td:first-child,
  .channel-table td:first-child,
  .field-table td:first-child {
    width: 42%;
  }

  .related-links {
    gap: var(--space-1) var(--space-2);
  }
}

@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;
  }
}
