.guide-hero {
    padding: calc(var(--navbar-height) + 4.5rem) 0 4rem;
    background: #1a1a2e;
    color: var(--text-white);
}

.guide-hero-inner { max-width: 860px; }
.guide-eyebrow { margin: 0 0 0.85rem; color: var(--accent-color); font-family: var(--font-display-en); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
.guide-hero h1 { max-width: 760px; margin: 0; font-size: var(--font-size-hero); line-height: 1.14; letter-spacing: 0; }
.guide-hero > .container > p:not(.guide-eyebrow):not(.guide-updated) { max-width: 680px; margin: 1.25rem 0 0; color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; line-height: 1.75; }
.guide-updated { margin: 1.25rem 0 0; color: rgba(255, 255, 255, 0.54); font-size: 0.84rem; }

.guide-summary { border-bottom: 1px solid var(--border-light); background: var(--bg-white); }
.guide-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-summary-grid > div { min-width: 0; padding: 1.35rem 1.5rem; border-right: 1px solid var(--border-light); }
.guide-summary-grid > div:first-child { border-left: 1px solid var(--border-light); }
.guide-summary-grid span { display: block; margin-bottom: 0.3rem; color: var(--text-secondary); font-size: 0.78rem; font-weight: 600; }
.guide-summary-grid strong { display: block; color: var(--text-primary); font-size: 1rem; line-height: 1.45; }

.guide-content-section { padding: 4.5rem 0 5rem; background: var(--bg-white); }
.guide-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.guide-toc { position: sticky; top: calc(var(--navbar-height) + 1.5rem); border-top: 2px solid var(--primary-color); padding-top: 0.8rem; }
.guide-toc p { margin: 0 0 0.7rem; color: var(--text-primary); font-size: 0.85rem; font-weight: 700; }
.guide-toc a { display: block; padding: 0.42rem 0; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.4; text-decoration: none; transition: color 160ms ease; }
.guide-toc a:hover, .guide-toc a.is-active { color: var(--primary-color); }

.guide-answers { min-width: 0; }
.guide-answer { scroll-margin-top: calc(var(--navbar-height) + 1.5rem); border-top: 1px solid var(--border-light); padding: 2.25rem 0; }
.guide-answer:first-child { padding-top: 0.1rem; border-top: 0; }
.guide-kicker { margin: 0 0 0.55rem; color: var(--primary-color); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; }
.guide-answer h2 { margin: 0; color: var(--text-primary); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.32; letter-spacing: 0; }
.guide-answer p { max-width: 780px; margin: 0.9rem 0 0; color: var(--text-secondary); line-height: 1.8; }
.guide-answer .guide-answer-lead { color: var(--text-primary); font-size: 1.05rem; }
.guide-inline-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem; color: var(--primary-color); font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.guide-inline-link:hover { color: var(--primary-hover); }

.guide-sources { padding: 3.5rem 0; border-top: 1px solid var(--border-light); background: var(--bg-light); }
.guide-sources h2 { margin: 0 0 1.2rem; color: var(--text-primary); font-size: 1.25rem; letter-spacing: 0; }
.guide-source-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.guide-source-links a { display: inline-flex; align-items: center; min-height: 42px; padding: 0.6rem 0.85rem; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-white); color: var(--text-primary); font-size: 0.9rem; text-decoration: none; }
.guide-source-links a:hover { border-color: var(--primary-color); color: var(--primary-color); }

[data-theme="dark"] .guide-summary, [data-theme="dark"] .guide-content-section { background: var(--dark-bg); }
[data-theme="dark"] .guide-summary-grid > div, [data-theme="dark"] .guide-answer, [data-theme="dark"] .guide-sources { border-color: rgba(255, 255, 255, 0.12); }
[data-theme="dark"] .guide-summary-grid strong, [data-theme="dark"] .guide-toc p, [data-theme="dark"] .guide-answer h2, [data-theme="dark"] .guide-answer .guide-answer-lead, [data-theme="dark"] .guide-sources h2, [data-theme="dark"] .guide-source-links a { color: var(--dark-text-primary); }
[data-theme="dark"] .guide-summary-grid span, [data-theme="dark"] .guide-toc a, [data-theme="dark"] .guide-answer p { color: var(--dark-text-secondary); }
[data-theme="dark"] .guide-sources { background: var(--dark-surface); }
[data-theme="dark"] .guide-source-links a { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03); }

@media (max-width: 760px) {
    .guide-hero { padding-top: calc(var(--navbar-height) + 3rem); padding-bottom: 3rem; }
    .guide-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-summary-grid > div:nth-child(odd) { border-left: 1px solid var(--border-light); }
    .guide-summary-grid > div:nth-child(-n + 2) { border-bottom: 1px solid var(--border-light); }
    .guide-layout { grid-template-columns: 1fr; gap: 2rem; }
    .guide-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.1rem 1rem; }
    .guide-toc p { grid-column: 1 / -1; }
    .guide-content-section { padding: 3rem 0 3.5rem; }
    .guide-answer { padding: 1.8rem 0; }
}
