/* Reading layouts reuse the studio palette without homepage animation. */
.detail-page { overflow-x: clip; cursor: auto; }
.detail-page *, .detail-page *::before, .detail-page *::after { cursor: auto; }
.detail-page a, .detail-page button, .detail-page summary { cursor: pointer; }
.detail-page a *, .detail-page button *, .detail-page summary * { cursor: inherit; }
.detail-page a { color: inherit; text-underline-offset: .2em; }
.detail-page a:focus-visible, .detail-page button:focus-visible, .detail-page summary:focus-visible { outline: 3px solid #0f766e; outline-offset: 5px; }
.detail-skip { position: absolute; top: -5rem; left: 1rem; z-index: 10002; background: white; padding: 1rem; }
.detail-skip:focus { top: 1rem; }
.detail-header, .detail-main, .detail-footer { width: min(1120px, 90%); margin-inline: auto; }
.detail-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; border-bottom: 1px solid #d8dad4; }
.detail-header-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; font-weight: 500; }
.detail-header-links > a:not(.btn) { text-decoration: none; }
.detail-header a, .detail-footer a, .detail-footer button, .detail-breadcrumb a, .detail-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.detail-page .detail-breadcrumb { position: static; display: block; padding: 2rem 0 0; width: auto; border: 0; background: none; backdrop-filter: none; }
.detail-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; list-style: none; color: #4b5563; font-size: .9rem; }
.detail-breadcrumb li + li::before { content: '/'; margin-right: .75rem; color: #73756d; }
.detail-hero { padding: clamp(3rem, 7vw, 6rem) 0; border-bottom: 1px solid #d8dad4; }
.detail-label { display: block; color: #0f766e; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.detail-hero h1 { max-width: 1000px; font-size: clamp(2.75rem, 6.1vw, 5.7rem); line-height: 1.03; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.detail-intro { max-width: 730px; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; margin: 2rem 0; color: #4b5563; }
.detail-section { padding-block: 3.75rem; border-bottom: 1px solid #d8dad4; }
.detail-section h2, .detail-final h2 { max-width: 800px; font-size: clamp(1.85rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 1.5rem; text-wrap: balance; }
.detail-section p, .detail-final p { max-width: 760px; font-size: 1.08rem; line-height: 1.8; color: #4b5563; margin-top: 1rem; }
.detail-section p a { color: #0f766e; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; row-gap: 2.5rem; margin-top: 2rem; }
.detail-grid article { padding-left: 1.25rem; border-left: 3px solid #f59e0b; }
.detail-section h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.detail-grid p { margin-top: .65rem; }
.detail-steps { list-style: none; counter-reset: step; margin-top: 2rem; }
.detail-steps li { counter-increment: step; position: relative; padding: .25rem 0 2rem 4rem; max-width: 820px; }
.detail-steps li::before { content: '0' counter(step); position: absolute; left: 0; font-size: 1.4rem; font-weight: 700; color: #0f766e; }
.detail-steps p { margin-top: .5rem; }
.detail-section details { border-top: 1px solid #d8dad4; padding-block: 1.3rem; max-width: 860px; }
.detail-section summary { font-size: 1.12rem; font-weight: 600; padding-right: 1rem; }
.detail-text-link { display: inline-flex; gap: 1rem; margin-top: 1.5rem; font-size: 1.1rem; font-weight: 600; }
.detail-note { margin-top: 1.75rem; font-size: .9rem; color: #4b5563; }
.detail-callout { background: #fff2cd; padding: 2.5rem; margin-top: 2rem; border: 0; }
.detail-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.detail-related a { display: flex; justify-content: space-between; gap: .5rem; padding-block: 1rem; text-decoration: none; border-bottom: 1px solid #9ca3af; font-size: 1.08rem; font-weight: 600; }
.detail-final { padding-block: 4.5rem; }
.detail-final .btn { margin-top: 1.75rem; }
.detail-page .detail-footer { padding: 2rem 0; border-top: 1px solid #d8dad4; background: none; text-align: left; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
@media (max-width: 700px) {
    .detail-header { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
    .detail-header-links { justify-content: space-between; width: 100%; gap: .85rem; }
    .detail-header .btn { padding: .65rem 1rem; }
    .detail-hero { padding-block: 2.5rem; }
    .detail-grid, .detail-related > div { grid-template-columns: 1fr; gap: 1.5rem; }
    .detail-section { padding-block: 2.5rem; }
    .detail-callout { padding: 1.5rem; }
    .detail-steps li { padding-left: 3rem; }
    .detail-section p, .detail-final p { font-size: 1rem; }
    .detail-final { padding-block: 3rem; }
}
