.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; }
.header-utilities { margin-left: auto; }
.header-inner > nav { width: 100%; }
.brand::before { display: none; }
.page-intro { padding-block: clamp(54px, 8vw, 96px) 34px; }
.page-intro h1 { max-width: 18ch; }
.intro-lead { max-width: 66ch; color: var(--ink-soft); font-size: 1.12rem; }
.hero-shell { background: linear-gradient(125deg, #eff6f0, #f5f1e8 74%); }
.hero-figure { padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-soft); box-shadow: 0 18px 50px rgb(28 50 53 / 10%); }
.hero-figure img { width: 100%; border-radius: 10px; }
.hero-figure figcaption, .guide-image figcaption { padding: 10px 4px 0; color: var(--ink-soft); font-size: .82rem; }
.feature-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; padding-block: clamp(58px, 8vw, 100px); }
.feature-section > div > p:not(.eyebrow) { color: var(--ink-soft); }
.feature-section h2 { max-width: 13ch; }
.feature-section .guide-image { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-soft); }
.feature-section .guide-image img { width: 100%; border-radius: 9px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: start; gap: 56px; padding-block: 18px 90px; }
.article-main > p, .guide-sections p, .faq-list p { color: var(--ink-soft); }
.article-aside { position: sticky; top: 18px; display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-soft); }
.article-aside h2 { margin: 0; font-size: 1.3rem; }
.article-aside p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.timeline { margin: 0 0 35px; padding: 0 0 0 25px; border-left: 2px solid var(--line); list-style: none; }
.timeline li { position: relative; padding: 0 0 28px 18px; }
.timeline li::before { position: absolute; top: 3px; left: -33px; width: 14px; height: 14px; border: 3px solid var(--paper); border-radius: 50%; background: #0b756c; content: ""; }
.timeline h2, .guide-sections h2, .article-main h2 { margin-bottom: 9px; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.timeline p { margin: 0; color: var(--ink-soft); }
.callout, .note { padding: 20px 22px; border-left: 4px solid #0b756c; border-radius: 0 12px 12px 0; background: var(--paper-soft); }
.callout h2 { margin-bottom: 8px; font-size: 1.4rem; }
.callout p, .note { color: var(--ink-soft); }
.guide-index { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 10px 34px; }
.guide-index a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-soft); font-weight: 600; text-decoration: none; }
.guide-sections { display: grid; gap: 34px; padding-block: 0 90px; }
.guide-sections > section { padding: 26px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-soft); scroll-margin-top: 132px; }
.guide-sections ol { padding-left: 1.35rem; }
.guide-sections li { margin-bottom: 10px; padding-left: 4px; }
.guide-sections .eyebrow { margin-bottom: 9px; }
.faq-list { display: grid; gap: 12px; padding-block: 18px 90px; }
.faq-list details { padding: 18px 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper-soft); scroll-margin-top: 18px; }
.faq-list summary { color: var(--ink); font-size: 1.08rem; font-weight: 700; cursor: pointer; }
.faq-list details p { margin: 13px 0 0; }
.table-scroll { overflow-x: auto; margin-block: 25px 32px; }
.table-scroll table { width: 100%; border-collapse: collapse; background: var(--paper-soft); }
.table-scroll th, .table-scroll td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-scroll thead th { background: var(--paper-deep); }
.table-scroll tbody th { min-width: 130px; }
.site-footer .footer-inner { display: flex; padding-block: 24px; }
.site-footer .footer-inner > a:not(.brand) { font-size: .9rem; }
.theme-toggle { background: var(--paper); color: var(--ink); }
:root[data-theme="dark"] .hero-shell { background: linear-gradient(125deg, #142d32, #121b22 74%); }
:root[data-theme="dark"] .contact-section { background: linear-gradient(115deg, #1e4b49, #243d45); }
:root[data-theme="dark"] .contact-inner h2, :root[data-theme="dark"] .contact-inner p, :root[data-theme="dark"] .contact-inner .eyebrow { color: #eff8f2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-shell { background: linear-gradient(125deg, #142d32, #121b22 74%); }
}
@media (max-width: 1080px) {
  .header-inner { display: flex; }
  .header-inner > nav { width: 100%; }
}
@media (max-width: 760px) {
  .guide-sections > section { scroll-margin-top: 24px; }
  .hero { grid-template-columns: 1fr; padding-block: 52px 58px; }
  .hero-figure { max-width: 620px; }
  .feature-section, .article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-main, .article-aside { min-width: 0; }
  .table-scroll { max-width: 100%; }
  .article-aside { position: static; }
  .guide-sections > section { padding: 22px 20px; }
  .site-footer .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) {
  .page-wrap { padding-inline: 20px; }
  .header-inner { padding-inline: 20px; }
  .stage-label { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .table-scroll th, .table-scroll td { padding: 10px; }
}

@media (max-width: 430px) { .page-intro h1 { hyphens: auto; overflow-wrap: anywhere; } }

.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.guide-card { display: block; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; }
.guide-card:hover, .guide-card:focus-visible { border-color: #0b756c; box-shadow: 0 4px 18px rgb(12 62 61 / 12%); }
.guide-card h2 { margin: 0 0 8px; font-size: 1.35rem; }
.guide-card p { margin: 0 0 14px; color: var(--ink-soft); }
.article-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; }
@media (max-width: 600px) { .guide-cards { grid-template-columns: minmax(0,1fr); } }

.guide-detail { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.guide-detail summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 20px; color: var(--ink); font-size: 1.12rem; font-weight: 700; cursor: pointer; list-style-position: inside; }
.guide-detail summary span { color: #08766d; font-size: .88rem; font-weight: 650; }
.guide-detail[open] summary { border-bottom: 1px solid var(--line); }
.guide-detail-body { padding: 8px 22px 22px; }
.guide-detail-body li { margin-block: 10px; }
.guide-before { color: var(--ink-soft); }
