:root {
  --ink: #102a24;
  --ink-soft: #2c4038;
  --paper: #f5f1e8;
  --paper-panel: #fffdf8;
  --sand: #e3ddd0;
  --terracotta: #b85c38;
  --terracotta-deep: #9a4528;
  --moss: #6f7c72;
  --line: #cfc7b8;
  --line-soft: #ded7c9;

  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --reading: 760px;
  --radius: 6px;
  --radius-sm: 4px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.28;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--terracotta-deep);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--terracotta);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  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;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--container);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 6px;
  background-color: var(--terracotta);
}

.brand:hover,
.brand:focus-visible {
  color: var(--terracotta-deep);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--terracotta-deep);
  border-bottom-color: var(--line);
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--terracotta);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 15px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background-color: transparent;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--paper-panel);
  background-color: var(--ink);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper-panel);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) 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(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background-color: var(--paper-panel);
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  padding: 8px 20px 24px;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--ink);
  font-size: 16px;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus-visible {
  color: var(--terracotta-deep);
}

.site-main {
  flex: 1 0 auto;
  display: block;
  width: 100%;
}

.inner-main {
  padding-bottom: 8px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 0;
  color: var(--moss);
  font-size: 14px;
  line-height: 1.6;
}

.breadcrumb a {
  color: var(--moss);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--terracotta-deep);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  max-width: var(--reading);
  padding: 14px 0 26px;
}

.page-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.page-header .page-description {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
}

.page-header .page-lead {
  margin-top: 14px;
  color: var(--moss);
  font-size: 16px;
  line-height: 1.8;
}

.page-header .page-figure {
  margin-top: 24px;
}

.site-footer {
  margin-top: 64px;
  padding: 56px 0 0;
  background-color: var(--ink);
  color: #d7d2c6;
  font-size: 15px;
  line-height: 1.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 40px 36px;
  padding-bottom: 44px;
}

.footer-col {
  min-width: 0;
}

.footer-brand-name {
  color: #f7f3ea;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.footer-slogan {
  margin-top: 10px;
  color: var(--terracotta);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.footer-desc {
  margin-top: 14px;
  color: #b9b6ac;
  font-size: 14px;
  line-height: 1.8;
}

.footer-title {
  margin-bottom: 14px;
  color: #f7f3ea;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  display: inline-block;
  color: #c3bfb4;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #f7f3ea;
}

.footer-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: footstep;
}

.footer-step-list li {
  position: relative;
  padding-left: 30px;
  color: #c3bfb4;
  font-size: 14px;
  line-height: 1.6;
  counter-increment: footstep;
}

.footer-step-list li::before {
  content: counter(footstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(247, 243, 234, 0.16);
}

.footer-copy,
.footer-boundary {
  color: #a9a69c;
  font-size: 13px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--terracotta-deep);
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
  padding-bottom: 1px;
}

.text-link::after {
  content: "→";
  font-size: 13px;
  transition: transform 0.18s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.text-link:hover::after {
  transform: translateX(3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--ink);
  color: var(--paper-panel);
  border-color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  color: #fffdf8;
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--ink);
  color: var(--paper-panel);
}

.section-head {
  max-width: var(--reading);
  margin-bottom: 30px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--terracotta-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.section-title,
.topics-section h2,
.matrix-section h2,
.delivery-section h2,
.flow-section h2,
.faq-preview-section h2,
.principles-section h2,
.prepare-section h2 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.section-desc,
.section-intro,
.section-note {
  margin-top: 12px;
  color: var(--moss);
  font-size: 16px;
  line-height: 1.8;
}

.section-more {
  margin-top: 26px;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  background-color: var(--sand);
}

figcaption {
  margin-top: 10px;
  color: var(--moss);
  font-size: 13px;
  line-height: 1.7;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background-color: transparent;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--terracotta-deep);
}

.faq-answer {
  padding: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.faq-answer a {
  color: var(--terracotta-deep);
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.faq-answer a:hover,
.faq-answer a:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.related-links,
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 24px;
}

.related-links a,
.related-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  background-color: var(--paper-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-sm);
}

.related-links a:hover,
.related-links a:focus-visible,
.related-list a:hover,
.related-list a:focus-visible {
  color: var(--terracotta-deep);
  border-color: var(--terracotta);
  border-left-color: var(--terracotta-deep);
}

.related-section,
.section-relate {
  padding: 48px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.related-section h2,
.section-relate h2,
.related-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.related-section .related-links,
.related-section .related-list,
.section-relate .relate-list,
.related-guides .related-list {
  margin-top: 22px;
}

.aside-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.aside-intro {
  margin-top: 12px;
  color: var(--moss);
  font-size: 14px;
  line-height: 1.8;
}

.aside-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  color: var(--terracotta-deep);
  font-size: 15px;
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.aside-link:hover,
.aside-link:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.aside-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--moss);
  font-size: 13px;
  line-height: 1.8;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 16px;
}

.sidebar-left {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.home-main {
  padding-bottom: 8px;
}

.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 12px;
  color: var(--terracotta-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  background-color: var(--sand);
  border-radius: var(--radius-sm);
}

.hero-copy h1 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.hero-topic {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 0 0;
  min-width: 0;
}

.hero-topic + .hero-topic {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-topic .topic-num {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.hero-topic .topic-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-topic .topic-note {
  color: var(--moss);
  font-size: 13px;
  line-height: 1.7;
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hero-note {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--terracotta);
  color: var(--moss);
  font-size: 13px;
  line-height: 1.75;
}

.boundary-bar {
  padding: 20px 0;
  background-color: var(--sand);
  border-bottom: 1px solid var(--line);
}

.boundary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.boundary-text {
  flex: 1 1 520px;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.boundary-text + .boundary-text {
  flex: 0 1 auto;
  color: var(--moss);
}

.section {
  padding: 56px 0;
}

.topics-section,
.matrix-section,
.delivery-section,
.flow-section,
.faq-preview-section,
.principles-section {
  border-bottom: 1px solid var(--line);
}

.topic-table {
  border-top: 1px solid var(--ink);
}

.topic-row {
  display: grid;
  grid-template-columns: 64px minmax(140px, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.5fr) 96px;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.topic-row:not(.topic-row-head):hover {
  transform: translateX(2px);
  background-color: rgba(227, 221, 208, 0.45);
}

.topic-row-head {
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.topic-row .col-num {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 13px;
}

.topic-row .col-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.topic-row:hover .col-name {
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 4px;
}

.topic-row .col-scene,
.topic-row .col-delivery {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.topic-row .col-link {
  text-align: right;
}

.topic-row .col-link .text-link {
  font-size: 14px;
}

.section-figure {
  margin-top: 32px;
  max-width: 760px;
}

.section-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.matrix-table {
  border-top: 1px solid var(--ink);
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) 120px;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.matrix-row-head {
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.matrix-signal {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.matrix-next {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.matrix-link {
  text-align: right;
}

.matrix-link .text-link {
  font-size: 14px;
}

.delivery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.delivery-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 24px 22px 26px;
  border-left: 1px solid var(--line);
}

.delivery-item:first-child {
  border-left: none;
  padding-left: 0;
}

.delivery-num {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.delivery-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.delivery-goal {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.delivery-check {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--moss);
  font-size: 13px;
  line-height: 1.7;
}

.flow-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  border-left: 1px solid var(--line);
  padding-left: 0;
}

.flow-section .flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0 20px 24px;
  border-bottom: 1px solid var(--line);
}

.flow-section .flow-step:first-child {
  border-top: 1px solid var(--line);
}

.flow-section .flow-num {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.flow-body {
  min-width: 0;
}

.flow-section .flow-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.flow-prep {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.flow-result {
  margin-top: 6px;
  color: var(--moss);
  font-size: 14px;
  line-height: 1.75;
}

.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--ink);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.principle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--terracotta);
}

.principle-num {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.principle-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.principle-text {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.principle-note {
  margin-top: 4px;
  color: var(--moss);
  font-size: 13px;
  line-height: 1.7;
}

.prepare-section {
  padding: 56px 0 8px;
}

.prepare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.prepare-copy {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.prepare-copy h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
}

.prepare-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.prepare-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background-color: var(--paper-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-sm);
}

.prepare-link:hover,
.prepare-link:focus-visible {
  border-color: var(--terracotta);
  background-color: #fbf6ea;
}

.prepare-link-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.prepare-link-note {
  color: var(--moss);
  font-size: 14px;
  line-height: 1.7;
}

.page-hero {
  padding: 8px 0 0;
}

.page-hero .container {
  max-width: var(--container);
}

.page-tag,
.page-label,
.section-eyebrow,
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--terracotta-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-lead,
.page-hero-lead,
.page-hero-desc {
  max-width: var(--reading);
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.page-figure,
.page-hero-figure {
  margin-top: 26px;
  max-width: 860px;
}

.page-figure img,
.page-hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.page-hero .page-figure {
  margin-top: 26px;
}

.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  margin-top: 32px;
  background-color: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.filter-label {
  flex: 0 0 auto;
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  color: var(--terracotta-deep);
  border-bottom-color: var(--line);
}

.filter-btn.is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--terracotta);
}

.catalog-layout {
  padding-top: 40px;
}

.catalog-main {
  min-width: 0;
}

.catalog-main .breadcrumb {
  padding-top: 0;
}

.catalog-main .page-header {
  padding-top: 10px;
  padding-bottom: 24px;
}

.catalog-section {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}

.catalog-section h2 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.catalog-section .section-note {
  margin-top: 8px;
  margin-bottom: 20px;
}

.catalog-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 140px;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.18s ease;
}

.catalog-item:hover {
  transform: translateX(2px);
}

.catalog-no {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}

.catalog-body {
  min-width: 0;
}

.catalog-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.catalog-item:hover .catalog-title {
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 4px;
}

.catalog-scene,
.catalog-collab,
.catalog-deliver {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.catalog-collab,
.catalog-deliver {
  color: var(--moss);
}

.catalog-link {
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.catalog-link:hover,
.catalog-link:focus-visible {
  color: var(--paper-panel);
  background-color: var(--ink);
  border-color: var(--ink);
}

.catalog-aside {
  position: sticky;
  top: calc(var(--header-h) + 72px);
  min-width: 0;
  padding: 24px 22px;
  background-color: var(--paper-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.judge-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.judge-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.judge-q {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.judge-a {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.relate-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.relate-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background-color: var(--paper-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-sm);
}

.relate-item a {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.relate-item a:hover,
.relate-item a:focus-visible {
  color: var(--terracotta-deep);
}

.relate-item p {
  color: var(--moss);
  font-size: 14px;
  line-height: 1.7;
}

.scenario-table-section,
.prep-section,
.boundary-section,
.mapping-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.scenario-table-section h2,
.prep-section h2,
.boundary-section h2,
.mapping-section h2 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.scenario-table {
  margin-top: 26px;
  border-top: 1px solid var(--ink);
}

.scenario-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.scenario-row-head {
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.scenario-cell {
  min-width: 0;
}

.scenario-signal {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.scenario-index {
  flex: 0 0 auto;
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 13px;
}

.scenario-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.scenario-judge p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.scenario-next p {
  color: var(--moss);
  font-size: 14px;
  line-height: 1.75;
}

.scenario-next a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  color: var(--terracotta-deep);
  font-size: 14px;
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.scenario-next a:hover,
.scenario-next a:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.prep-list {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
  border-top: 1px solid var(--ink);
}

.prep-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.prep-index {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}

.prep-body {
  min-width: 0;
}

.prep-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.prep-use {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.prep-method {
  margin-top: 4px;
  color: var(--moss);
  font-size: 13px;
  line-height: 1.7;
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 26px;
  align-items: start;
}

.boundary-item {
  min-width: 0;
  padding-top: 16px;
  border-top: 2px solid var(--terracotta);
}

.boundary-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.boundary-desc {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.boundary-link {
  margin-top: 10px;
}

.boundary-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--terracotta-deep);
  font-size: 14px;
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.boundary-link a:hover,
.boundary-link a:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.mapping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
  align-items: stretch;
}

.mapping-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 22px 20px;
  background-color: var(--paper-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mapping-card h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.mapping-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.mapping-link {
  margin-top: auto;
  padding-top: 10px;
}

.mapping-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--terracotta-deep);
  font-size: 14px;
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.mapping-link a:hover,
.mapping-link a:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.version-bar {
  padding: 32px 0;
  background-color: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 32px;
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 18px 0 0;
}

.version-item {
  min-width: 0;
  padding-left: 16px;
  border-left: 2px solid var(--terracotta);
}

.version-label {
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.version-value {
  margin: 4px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.sidebar-left .doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
  padding: 20px 18px;
  background-color: var(--paper-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc-list {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.toc-list li {
  border-bottom: 1px solid var(--line-soft);
}

.toc-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  border-left: 2px solid transparent;
}

.toc-link:hover,
.toc-link:focus-visible {
  color: var(--terracotta-deep);
  border-left-color: var(--line);
}

.toc-link.is-active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--terracotta);
}

.toc-hint {
  margin-top: 14px;
  color: var(--moss);
  font-size: 13px;
  line-height: 1.7;
}

.doc-body {
  min-width: 0;
}

.doc-section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.doc-section:last-child {
  border-bottom: none;
}

.doc-section .section-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
}

.doc-section p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.doc-figure {
  margin: 20px 0;
}

.doc-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.doc-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}

.doc-table thead th {
  padding: 12px 14px;
  text-align: left;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  background-color: var(--sand);
  border-bottom: 1px solid var(--ink);
}

.doc-table tbody td {
  padding: 14px;
  color: var(--ink-soft);
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.doc-table tbody tr:last-child td {
  border-bottom: 1px solid var(--line);
}

.doc-table .version-code {
  color: var(--terracotta-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.doc-section .doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-left: 0;
}

.doc-section .doc-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.doc-section .doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background-color: var(--terracotta);
}

.doc-section .doc-list strong {
  display: inline-block;
  margin-right: 6px;
}

.doc-section a {
  color: var(--terracotta-deep);
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.doc-section a:hover,
.doc-section a:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.doc-changelog {
  padding: 40px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.doc-changelog .section-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.related-links {
  margin-top: 0;
}

.flow-overview,
.flow-detail {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.flow-overview h2,
.flow-detail h2,
.prep-section .prep-col h2,
.related-section h2 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.flow-overview .flow-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 20px 16px 22px;
  border-left: 1px solid var(--line);
}

.flow-overview .flow-step:first-child {
  border-left: none;
  padding-left: 0;
}

.flow-overview .flow-num {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.flow-overview .flow-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.flow-goal {
  color: var(--moss);
  font-size: 14px;
  line-height: 1.7;
}

.flow-detail {
  padding-top: 48px;
}

.flow-block {
  max-width: var(--reading);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.flow-block:first-of-type {
  border-top: 1px solid var(--ink);
  margin-top: 26px;
}

.flow-block-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.flow-block-head .flow-num {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.flow-block-head h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.flow-block > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--terracotta);
  font-size: 13px;
  line-height: 1.9;
}

.flow-block .flow-result {
  margin-top: 12px;
  padding: 10px 14px;
  background-color: var(--sand);
  border-left: 2px solid var(--terracotta);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.75;
}

.flow-next {
  margin-top: 12px;
}

.flow-next a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--terracotta-deep);
  font-size: 14px;
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.flow-next a:hover,
.flow-next a:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.prep-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.prep-col {
  min-width: 0;
}

.prep-col .section-desc {
  margin-top: 10px;
}

.prep-col .prep-list {
  margin-top: 20px;
}

.prep-col .prep-item {
  display: block;
  padding: 14px 0;
}

.prep-col .prep-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.prep-col .prep-use {
  margin-top: 4px;
  color: var(--moss);
  font-size: 14px;
  line-height: 1.75;
}

.unsuitable-list {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  border-top: 1px solid var(--ink);
}

.unsuitable-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.unsuitable-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.unsuitable-desc {
  margin-top: 4px;
  color: var(--moss);
  font-size: 14px;
  line-height: 1.75;
}

.faq-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
  padding: 20px 18px;
  background-color: var(--paper-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-category-list {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.faq-category-list li {
  border-bottom: 1px solid var(--line-soft);
}

.faq-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  border-left: 2px solid transparent;
}

.faq-category-name {
  min-width: 0;
}

.faq-category-count {
  flex: 0 0 auto;
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 12px;
}

.faq-category-link:hover,
.faq-category-link:focus-visible {
  color: var(--terracotta-deep);
  border-left-color: var(--line);
}

.faq-category-link.is-current {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--terracotta);
}

.aside-hint {
  margin-top: 14px;
  color: var(--moss);
  font-size: 13px;
  line-height: 1.7;
}

.aside-hint a {
  color: var(--terracotta-deep);
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.aside-hint a:hover,
.aside-hint a:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.faq-main {
  min-width: 0;
}

.faq-group {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.faq-group-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
}

.faq-group .faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-group .faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.related-guides {
  padding-top: 8px;
}

.content-main {
  min-width: 0;
}

.content-main .breadcrumb {
  padding-top: 0;
}

.content-main .page-header {
  padding-top: 10px;
}

.content-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-block {
  padding: 20px 18px;
  background-color: var(--paper-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-index-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.aside-index-list li {
  border-bottom: 1px solid var(--line-soft);
}

.aside-index-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  border-left: 2px solid transparent;
}

.aside-index-link:hover,
.aside-index-link:focus-visible {
  color: var(--terracotta-deep);
  border-left-color: var(--terracotta);
}

.aside-note .aside-title {
  margin-bottom: 8px;
}

.aside-text {
  color: var(--moss);
  font-size: 13px;
  line-height: 1.8;
}

.aside-text a {
  color: var(--terracotta-deep);
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.aside-text a:hover,
.aside-text a:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.page-brand-notes .doc-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.page-brand-notes .doc-section h2 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
}

.page-brand-notes .doc-section > p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.page-brand-notes .doc-section h3 {
  margin-top: 22px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.principle-list {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  border-top: 1px solid var(--ink);
}

.principle-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 6px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.principle-item .principle-num {
  grid-row: span 2;
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}

.principle-item .principle-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.principle-item .principle-text {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.page-brand-notes .boundary-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.page-brand-notes .boundary-list li {
  position: relative;
  padding: 12px 0 12px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
  border-bottom: 1px solid var(--line-soft);
}

.page-brand-notes .boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 1px;
  background-color: var(--terracotta);
}

.expression-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.expression-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.expression-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--terracotta);
  font-size: 18px;
  line-height: 1.6;
}

.site-error {
  background-color: var(--paper);
}

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 40px;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  padding: 0 32px;
  text-align: left;
}

.error-code {
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
}

.error-title {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
}

.error-lead {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.error-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper-panel);
}

.error-link:hover,
.error-link:focus-visible {
  color: var(--paper-panel);
  background-color: var(--ink);
  border-color: var(--ink);
}

.error-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 22px;
  color: var(--terracotta-deep);
  font-size: 15px;
  border-bottom: 1px solid rgba(154, 69, 40, 0.35);
}

.error-home:hover,
.error-home:focus-visible {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

@media (prefers-reduced-motion: no-preference) {
  .topic-row,
  .catalog-item,
  .flow-step,
  .delivery-item,
  .principle,
  .mapping-card {
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .nav-link {
    padding: 0 9px;
    font-size: 14px;
  }

  .header-cta {
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }
}

@media (max-width: 960px) {
  .container {
    padding: 0 24px;
  }

  .header-inner {
    min-height: 64px;
    padding: 0 24px;
    gap: 16px;
  }

  .nav-list {
    display: none;
  }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px 24px 20px;
    background-color: var(--paper-panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(16, 42, 36, 0.08);
  }

  .nav-list.is-open .nav-link {
    min-height: 52px;
    padding: 0;
    border-bottom: 1px solid var(--line-soft);
    border-bottom-color: var(--line-soft);
    font-size: 16px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    padding: 36px 0 40px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .topic-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 16px 0;
  }

  .topic-row-head {
    display: none;
  }

  .topic-row .col-num {
    grid-row: span 3;
  }

  .topic-row .col-name {
    grid-column: 2;
  }

  .topic-row .col-scene,
  .topic-row .col-delivery {
    grid-column: 2;
  }

  .topic-row .col-link {
    grid-column: 2;
    text-align: left;
  }

  .matrix-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px 0;
  }

  .matrix-row-head {
    display: none;
  }

  .matrix-link {
    text-align: left;
  }

  .delivery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-item {
    border-top: 1px solid var(--line);
  }

  .delivery-item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

  .delivery-item:nth-child(-n + 2) {
    border-top: none;
  }

  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .prepare-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-title {
    font-size: 30px;
  }

  .page-header {
    padding: 12px 0 22px;
  }

  .page-layout,
  .sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .sidebar-left .doc-toc {
    order: 2;
    position: static;
  }

  .sidebar-left .doc-body {
    order: 1;
  }

  .sidebar-left .faq-sidebar {
    order: 2;
    position: static;
  }

  .sidebar-left .faq-main {
    order: 1;
  }

  .catalog-aside {
    position: static;
  }

  .content-aside {
    position: static;
  }

  .filter-bar {
    position: static;
    margin-top: 26px;
  }

  .filter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .filter-buttons {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .catalog-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 14px;
  }

  .catalog-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

  .scenario-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0;
  }

  .scenario-row-head {
    display: none;
  }

  .boundary-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .mapping-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .version-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-overview .flow-step {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 16px 0;
  }

  .flow-overview .flow-step:nth-child(-n + 2) {
    border-top: none;
  }

  .flow-overview .flow-step:nth-child(odd) {
    padding-right: 18px;
  }

  .flow-overview .flow-step:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .prep-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.75;
  }

  .container {
    padding: 0 18px;
  }

  .header-inner {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand {
    font-size: 19px;
  }

  .brand::after {
    width: 22px;
  }

  .hero {
    padding: 28px 0 32px;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 27px;
    line-height: 1.3;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .btn {
    flex: 1 1 auto;
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-topics {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 22px;
    border-top: 1px solid var(--line);
  }

  .hero-topic {
    padding: 12px 0;
  }

  .hero-topic + .hero-topic {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line-soft);
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .boundary-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .boundary-text {
    flex: 1 1 auto;
    font-size: 14px;
  }

  .section {
    padding: 36px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head h2,
  .section-title,
  .topics-section h2,
  .matrix-section h2,
  .delivery-section h2,
  .flow-section h2,
  .faq-preview-section h2,
  .principles-section h2,
  .prepare-section h2,
  .scenario-table-section h2,
  .prep-section h2,
  .boundary-section h2,
  .mapping-section h2,
  .flow-overview h2,
  .flow-detail h2,
  .related-section h2 {
    font-size: 22px;
  }

  .section-desc,
  .section-intro,
  .section-note {
    font-size: 15px;
  }

  .topic-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 14px 0;
  }

  .topic-row .col-name {
    font-size: 16px;
  }

  .topic-row .col-scene,
  .topic-row .col-delivery {
    font-size: 13px;
  }

  .matrix-signal {
    font-size: 15px;
  }

  .matrix-next {
    font-size: 14px;
  }

  .delivery-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .delivery-item {
    padding: 16px 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .delivery-item:first-child {
    border-top: none;
  }

  .delivery-name {
    font-size: 17px;
  }

  .flow-section .flow-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0 16px 14px;
  }

  .flow-section .flow-name {
    font-size: 16px;
  }

  .flow-prep,
  .flow-result {
    font-size: 14px;
  }

  .principle {
    padding-top: 14px;
  }

  .principle-name {
    font-size: 17px;
  }

  .principle-text {
    font-size: 14px;
  }

  .prepare-section {
    padding: 36px 0 8px;
  }

  .prepare-grid {
    padding-top: 22px;
    gap: 22px;
  }

  .prepare-copy h2 {
    font-size: 22px;
  }

  .prepare-copy {
    font-size: 15px;
  }

  .prepare-link {
    padding: 14px 16px;
  }

  .prepare-link-name {
    font-size: 16px;
  }

  .breadcrumb {
    padding-top: 18px;
    font-size: 13px;
  }

  .page-header {
    padding: 10px 0 18px;
  }

  .page-title {
    font-size: 26px;
    line-height: 1.28;
  }

  .page-lead,
  .page-hero-lead,
  .page-hero-desc {
    font-size: 15px;
    line-height: 1.8;
  }

  .page-figure,
  .page-hero-figure {
    margin-top: 20px;
  }

  .page-figure img,
  .page-hero-figure img {
    aspect-ratio: 4 / 3;
  }

  .faq-question {
    min-height: 52px;
    font-size: 16px;
  }

  .faq-answer {
    font-size: 14px;
  }

  .filter-label {
    font-size: 11px;
  }

  .filter-btn {
    padding: 0 10px;
    font-size: 13px;
  }

  .catalog-section h2 {
    font-size: 19px;
  }

  .catalog-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 16px 0;
  }

  .catalog-title {
    font-size: 17px;
  }

  .catalog-scene,
  .catalog-collab,
  .catalog-deliver {
    font-size: 13px;
  }

  .catalog-aside {
    padding: 18px 16px;
  }

  .scenario-name {
    font-size: 16px;
  }

  .scenario-judge p {
    font-size: 14px;
  }

  .prep-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
  }

  .prep-name {
    font-size: 15px;
  }

  .boundary-name {
    font-size: 16px;
  }

  .mapping-card {
    padding: 18px 16px;
  }

  .mapping-card h3 {
    font-size: 17px;
  }

  .version-bar {
    padding: 24px 0;
    margin-top: 24px;
  }

  .version-item {
    padding-left: 12px;
  }

  .version-value {
    font-size: 15px;
  }

  .sidebar-left .doc-toc {
    padding: 16px 14px;
  }

  .doc-section {
    padding-bottom: 26px;
    margin-bottom: 26px;
  }

  .doc-section .section-title {
    font-size: 20px;
  }

  .doc-section p {
    font-size: 15px;
  }

  .doc-table {
    font-size: 14px;
  }

  .doc-table thead th {
    padding: 10px;
    font-size: 14px;
  }

  .doc-table tbody td {
    padding: 10px;
  }

  .doc-table thead {
    display: none;
  }

  .doc-table,
  .doc-table tbody,
  .doc-table tr,
  .doc-table td {
    display: block;
    width: 100%;
  }

  .doc-table tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .doc-table tbody td {
    padding: 4px 0;
    border-bottom: none;
  }

  .doc-table tbody td:first-child {
    color: var(--ink);
    font-family: var(--font-serif);
    font-weight: 600;
  }

  .doc-changelog .section-title {
    font-size: 19px;
  }

  .flow-overview,
  .flow-detail {
    padding: 32px 0;
  }

  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 20px;
  }

  .flow-overview .flow-step {
    padding: 14px 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .flow-overview .flow-step:first-child {
    border-top: none;
  }

  .flow-overview .flow-step:nth-child(odd),
  .flow-overview .flow-step:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: none;
  }

  .flow-overview .flow-step:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .flow-block {
    padding: 20px 0;
  }

  .flow-block-head h3 {
    font-size: 18px;
  }

  .check-list li {
    font-size: 14px;
  }

  .flow-block .flow-result {
    font-size: 13px;
  }

  .faq-sidebar {
    position: static;
    padding: 16px 14px;
  }

  .faq-category-list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 4px;
    border-top: none;
    margin-top: 10px;
    padding-bottom: 4px;
  }

  .faq-category-list li {
    flex: 0 0 auto;
    border-bottom: none;
  }

  .faq-category-link {
    min-height: 40px;
    padding: 6px 12px;
    border-left: none;
    border-bottom: 2px solid transparent;
    background-color: var(--paper);
    border-radius: var(--radius-sm);
  }

  .faq-category-link.is-current {
    border-bottom-color: var(--terracotta);
    background-color: var(--sand);
  }

  .faq-group-title {
    font-size: 19px;
  }

  .page-brand-notes .doc-section h2 {
    font-size: 21px;
  }

  .page-brand-notes .doc-section > p {
    font-size: 15px;
  }

  .principle-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 14px 0;
  }

  .principle-item .principle-name {
    font-size: 16px;
  }

  .principle-item .principle-text {
    font-size: 14px;
  }

  .aside-block {
    padding: 16px 14px;
  }

  .related-links,
  .related-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .related-section,
  .section-relate {
    padding: 32px 0 8px;
    margin-top: 32px;
  }

  .related-section h2,
  .section-relate h2,
  .related-title {
    font-size: 20px;
  }

  .error-main {
    padding: 48px 0 24px;
  }

  .error-panel {
    padding: 0 18px;
  }

  .error-title {
    font-size: 28px;
  }

  .error-lead {
    font-size: 15px;
  }

  .error-links {
    flex-direction: column;
    gap: 10px;
  }

  .error-link {
    justify-content: center;
  }

  .site-footer {
    margin-top: 44px;
    padding-top: 40px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 32px;
  }

  .footer-brand-name {
    font-size: 18px;
  }

  .footer-bottom {
    padding-top: 16px;
    padding-bottom: 20px;
  }
}
