/* A shorter overview; full reviewed material lives on the topic pages. */
.overview-section .section-heading { margin-bottom: 0; }
.overview-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 44px; }
.overview-benefits article { padding-top: 22px; border-top: 1px solid var(--line); }
.overview-benefits h3 { font: 600 24px/1.3 var(--display); margin: 14px 0 12px; }
.overview-benefits p, .overview-note { font-size: 15px; line-height: 1.8; }
.overview-note { margin-top: 25px; }
.overview-section > .wrap > .text-link { margin-top: 22px; }
.overview-process, .overview-start { background: var(--surface); }
.overview-process .section-deck + p, .overview-teams .section-deck + p { margin-top: 18px; font-size: 15px; line-height: 1.8; }
.overview-secondary { margin-left: 24px; }
.overview-proof { padding: 15px 0 60px; }
.overview-proof .proof-stats-m { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 0; margin-bottom: 22px; }
.overview-proof .proof-stats-m dt { font-size: clamp(36px,4vw,54px); }
.overview-proof > .wrap > p { max-width: 900px; font-size: 14px; line-height: 1.8; }
.overview-proof .overview-note { margin-top: 8px; }
.overview-proof .text-link { margin-top: 18px; }
.stack-logos > a { transition: background-color .15s ease; }
.stack-logos > a:hover { background: var(--surface); }
.stack-logos > a:focus-visible { outline-offset: -5px; }
.skill-install { margin: 24px 0; }
.skill-install-label { color: var(--ink); font: 500 12px/1.6 var(--mono); margin-bottom: 10px; }
.install-command { display: flex; gap: 14px; align-items: center; justify-content: space-between; min-width: 0; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.install-command code { font: 12px/1.8 var(--mono); overflow-wrap: anywhere; min-width: 0; }
.copy-install { flex: none; padding: 8px 10px; background: var(--surface); color: var(--ink); border-radius: 3px; font-size: 12px; }
.skill-install > p:last-child { margin-top: 10px; font-size: 12px; line-height: 1.8; }
.skill-install > a { display: inline-block; margin-top: 10px; color: var(--blue); font-size: 12px; }
.overview-start-actions { min-width: 0; }
.overview-start-actions .skill-install { margin-top: 0; margin-bottom: 30px; }
.overview-start-actions .copy-prompt { margin-top: 0; }
.overview-start-actions .prompt-preview { margin-top: 20px; font-size: 13px; }
.overview-start-actions .prompt-preview > summary { cursor: pointer; padding-block: 8px; }
.overview-start-actions textarea { display: block; width: 100%; min-height: 230px; resize: vertical; margin-top: 10px; border: 1px solid var(--line); padding: 14px; font: 12px/1.8 var(--mono); background: #fff; }
.overview-start-actions .prompt-label { margin-top: 18px; }
.overview-resources { padding: 42px 0; border-top: 1px solid var(--line); }
.overview-resources .wrap { display: flex; justify-content: space-between; align-items: start; gap: 32px; }
.overview-resources h2 { font-size: 24px; }
.overview-resources nav { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.overview-resources a { color: var(--blue); font-size: 13px; }
/* Topic heading levels match their structure without changing the typography. */
.route-page .security-ownership .topic-h3 { color: var(--ink); font-size: 23px; line-height: 1.3; }
.route-page .agent-start-steps .topic-h3 { font: 500 18px/1.4 var(--display); letter-spacing: -.025em; margin: 0 0 6px; }
.route-page .process-steps .topic-h3 { font: 600 22px/1.3 var(--sans); letter-spacing: -.035em; max-width: 270px; min-height: 55px; margin-bottom: 12px; }
.route-page .acceptance-panel .topic-h3 { font-size: 30px; }
.route-page .audience-grid .topic-h3 { font: 600 33px/1.17 var(--display); margin-bottom: 17px; }
.route-page .source-group-heading .topic-h3 { font-size: 23px; }
.route-page .source-copy .topic-h4 { font: 600 19px/1.3 var(--display); }
.route-page #security-updates .incident-label .topic-h3 { font: 600 23px/1.3 var(--display); letter-spacing: -.03em; color: #fff; overflow-wrap: anywhere; }
.route-page #security-updates .incident-detail .topic-h4 { font: 500 17px/1.45 var(--sans); letter-spacing: -.015em; color: #fff; margin-bottom: 7px; }
@media (max-width: 960px) {
 .overview-benefits { gap: 26px; }
 .overview-secondary { margin-left: 0; display: flex; }
 .overview-resources .wrap { display: block; }
 .overview-resources nav { margin-top: 24px; }
 .route-page .process-steps .topic-h3 { max-width: none; min-height: 0; font-size: 21px; }
 .route-page .audience-grid .topic-h3 { font-size: 30px; }
}
@media (max-width: 600px) {
 .overview-benefits { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
 .overview-benefits h3 { font-size: 23px; }
 .overview-proof { padding-bottom: 40px; }
 .overview-proof .proof-stats-m { gap: 20px; }
 .overview-proof .proof-stats-m dd { font-size: 11px; }
 .install-command { padding: 12px; gap: 10px; }
 .install-command code { font-size: 11px; }
 .overview-start-actions .prompt-downloads { gap: 12px; }
 .overview-resources nav { display: grid; gap: 18px; }
 .route-page .agent-start-steps .topic-h3 { font-size: 17px; }
 .route-page .process-steps .topic-h3 { font-size: 22px; }
}

.overview-handoff-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 12px; color: var(--blue); }
.overview-handoff-links a { padding-block: 5px; }
.overview-handoff-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* The summary is native navigation; JavaScript only adds convenience behavior. */
.mobile-menu { display: none; }
.mobile-menu > .menu-toggle { list-style: none; cursor: pointer; }
.mobile-menu > .menu-toggle::-webkit-details-marker { display: none; }
.mobile-menu:not([open]) > .mobile-nav { display: none; }
.mobile-menu[open] > .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.mobile-menu[open] > .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 960px) { .mobile-menu { display: block; } }
@media (max-width: 480px) { .mobile-menu { margin-left: auto; } }

/* Focused planning and worked-example pages use existing type and color tokens. */
.demo-evidence-link { margin: 18px 0; font-size: 13px; color: var(--blue); }
.demo-evidence-link a, .start-evidence-link a { text-decoration: underline; text-underline-offset: 4px; }
.start-evidence-link { margin-top: 18px; font-size: 13px; color: var(--blue); }
.planning-intro { max-width: 850px; }
.planning-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 50px; margin-top: 45px; }
.planning-card { min-width: 0; border-top: 1px solid var(--line); padding-top: 25px; }
.planning-card:last-child { grid-column: 1 / -1; max-width: 850px; }
.planning-card .topic-h3 { font: 600 26px/1.3 var(--display); letter-spacing: -.035em; margin-bottom: 16px; }
.planning-card > p { font-size: 15px; line-height: 1.8; }
.planning-card > p + p { margin-top: 15px; }
.planning-decision { color: var(--ink); }
.planning-card .planning-boundary { font-size: 13px; }
.planning-sources { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 18px; }
.planning-sources a { color: var(--blue); font-size: 12px; padding-block: 5px; text-decoration: underline; text-underline-offset: 4px; }
.planning-conclusion { max-width: 850px; margin: 35px 0 0; font-size: 14px; line-height: 1.8; }
.migration-example { padding-block: 68px; }
.migration-example-intro { max-width: 880px; margin-bottom: 42px; }
.migration-example-intro .lead { margin-top: 25px; font-size: 18px; line-height: 1.8; }
.migration-example-intro > p:last-child { margin-top: 18px; font-size: 15px; line-height: 1.8; }
.migration-example .topic-h3 { font: 600 28px/1.3 var(--display); letter-spacing: -.035em; margin: 36px 0 20px; }
.migration-example > .wrap > p { max-width: 920px; font-size: 14px; line-height: 1.8; }
.migration-example-inventory { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; margin: 0 0 24px; }
.migration-example-inventory > div { border-top: 1px solid var(--line); padding-top: 16px; }
.migration-example-inventory dt { font-size: 13px; color: var(--muted); }
.migration-example-inventory dd { font: 600 34px/1.3 var(--display); margin: 8px 0 0; color: var(--ink); }
.migration-example-table-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
.migration-example-table { width: 100%; border-collapse: collapse; text-align: left; }
.migration-example-table caption { text-align: left; font-size: 13px; line-height: 1.8; padding: 0 0 16px; color: var(--muted); }
.migration-example-table th, .migration-example-table td { padding: 22px 20px; border-top: 1px solid var(--line); vertical-align: top; font-size: 14px; line-height: 1.8; }
.migration-example-table thead th { background: var(--surface); color: var(--ink); font-size: 12px; }
.migration-example-table th[scope=row] { width: 20%; font-weight: 600; color: var(--ink); }
.migration-example-table td:nth-child(2) { width: 30%; }
.migration-example-status { display: block; font: 500 10px/1.8 var(--mono); color: var(--ink); margin-bottom: 7px; }
.migration-example-evidence { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 5px; max-width: 950px; }
.migration-example-evidence p { font-size: 14px; line-height: 1.8; margin-top: 16px; }
.migration-example-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.migration-example-actions .text-link { margin-top: 0; font-size: 13px; }
@media (max-width: 720px) {
 .planning-cards { grid-template-columns: 1fr; gap: 30px; margin-top: 32px; }
 .planning-card:last-child { grid-column: auto; }
 .planning-card .topic-h3 { font-size: 24px; }
 .migration-example { padding-block: 42px; }
 .migration-example-inventory { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .migration-example .topic-h3 { font-size: 24px; }
 .migration-example-table { min-width: 760px; }
 .migration-example-actions { display: grid; gap: 15px; }
}
