.av-page { --av-space: clamp(24px, 5vw, 56px); }
.av-page .section { padding-block: clamp(44px, 6vw, 76px); }
.av-page a:not(.btn):not(.hero-pill) { text-underline-offset: 4px; }
.av-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .875rem; margin-bottom: 32px; }
.av-breadcrumb a { text-decoration: none; }
.av-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--av-space); align-items: center; }
.av-hero .h-display { font-size: clamp(2.7rem, 5.4vw, 4.5rem); text-align: left; margin: 20px 0; line-height: 1.04; }
.av-hero .h-display em { font-style: normal; color: var(--geo); }
.av-hero .lede { text-align: left; font-size: 1.125rem; margin: 0; max-width: 58ch; }
.av-eyebrow { display: flex; align-items: center; gap: 12px; font: 500 .8rem var(--mono); color: var(--muted); }
.av-mark { width: 42px; height: 42px; padding: 6px; object-fit: contain; border: 1px solid var(--a8); border-radius: var(--r-md); background: var(--bg-card); }
.av-monogram { display: grid; place-items: center; font: 600 1.1rem var(--mono); color: var(--ink); }
.av-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.av-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; color: var(--muted); font-size: .8rem; }
.av-map { border: 1px solid var(--a12); border-radius: var(--r-lg); background: var(--bg-card); padding: 26px; position: relative; overflow: hidden; }
.av-map-head { display: flex; justify-content: space-between; gap: 14px; font: .75rem var(--mono); color: var(--muted); border-bottom: 1px solid var(--a8); padding-bottom: 18px; }
.av-flow { list-style: none; display: grid; gap: 0; margin: 22px 0; }
.av-flow li { position: relative; display: flex; align-items: center; gap: 16px; min-height: 65px; }
.av-flow li:not(:last-child)::after { content: ''; width: 1px; height: 24px; background: var(--a16); position: absolute; top: 50px; left: 18px; }
.av-flow span { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border: 1px solid var(--a10); border-radius: var(--r-sm); font: .8rem var(--mono); background: var(--bg-lighter); }
.av-flow li:last-child span { background: var(--geo-soft); color: var(--geo); border-color: var(--geo-soft); }
.av-map figcaption { font-size: .875rem; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--a8); }
.av-answer { font-size: 1.2rem; line-height: 1.75; max-width: 78ch; }
.av-label { display: block; font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--geo); margin-bottom: 14px; }
.av-fact { margin-top: 28px; border-left: 3px solid var(--geo); background: var(--geo-soft); padding: 22px 26px; }
.av-fact p { line-height: 1.75; }
.av-fact .av-source-links { margin-top: 12px; }
.av-source-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .875rem; }
.av-toc { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--a8); font-size: .875rem; }
.av-chapter { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: var(--av-space); }
.av-chapter h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.av-chapter p { line-height: 1.8; color: var(--ink-soft); margin-bottom: 20px; }
.av-chapter p:last-child { margin-bottom: 0; }
.av-example { background: var(--bg-card); }
.av-example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--av-space); align-items: start; }
.av-example h2, .av-check h2, .av-section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.045em; font-weight: 500; line-height: 1.2; margin-bottom: 20px; }
.av-example p { color: var(--ink-soft); line-height: 1.8; }
.av-prompt { border: 1px solid var(--a12); border-radius: var(--r-lg); padding: 26px; background: var(--bg-lighter); }
.av-prompt blockquote { margin: 16px 0 22px; font-size: 1.2rem; line-height: 1.6; }
.av-copy { border: 1px solid var(--a16); background: var(--bg-card); border-radius: var(--r-sm); padding: 10px 16px; font: inherit; cursor: pointer; color: var(--ink); }
.av-status { display: block; margin-top: 10px; min-height: 1.5em; font-size: .875rem; color: var(--muted); }
.av-checklist { list-style: none; margin-top: 22px; border-top: 1px solid var(--a10); }
.av-checklist li { border-bottom: 1px solid var(--a10); }
.av-checklist label { display: flex; align-items: start; gap: 14px; padding: 18px 0; cursor: pointer; line-height: 1.6; }
.av-checklist input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--geo); flex-shrink: 0; }
.av-checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.av-small { color: var(--muted); font-size: .875rem; line-height: 1.7; }
.av-faq { border-top: 1px solid var(--a10); }
.av-faq details { border-bottom: 1px solid var(--a10); padding: 20px 0; }
.av-faq summary { font-size: 1.1rem; font-weight: 500; cursor: pointer; padding-right: 12px; }
.av-faq details p { line-height: 1.8; max-width: 80ch; margin-top: 16px; color: var(--ink-soft); }
.av-sources { list-style: none; display: grid; gap: 12px; margin: 20px 0; }
.av-sources li { padding: 14px 0; border-bottom: 1px solid var(--a8); }
.av-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.av-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--a10); border-radius: var(--r-lg); padding: 24px; background: var(--bg-card); transition: border-color .2s, transform .2s; }
.av-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(260px circle at var(--mx,50%) var(--my,50%),var(--geo-soft),transparent); transition: opacity .2s; }
.av-card:hover::before { opacity: 1; }
.av-card:hover, .av-card:focus-visible { border-color: var(--geo); transform: translateY(-2px); }
.av-card h3 { margin: 24px 0 12px; font-size: 1.35rem; letter-spacing: -.03em; font-weight: 500; }
.av-card p { color: var(--muted); line-height: 1.7; font-size: .95rem; }
.av-card .av-card-link { margin-top: auto; padding-top: 22px; color: var(--geo); font-size: .875rem; }
.av-card[hidden] { display: none; }
.av-filter { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; align-items: end; }
.av-filter[hidden] { display: none; }
.av-page h2[id] { scroll-margin-top: 110px; }
.av-filter label { display: grid; gap: 8px; font-size: .875rem; flex: 1 1 260px; }
.av-filter input, .av-filter select { border: 1px solid var(--a16); border-radius: var(--r-sm); padding: 12px; color: var(--ink); background: var(--bg-card); font: inherit; min-height: 46px; width: 100%; }
.av-hub-map { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding-top: 20px; }
.av-hub-map a { display: flex; gap: 8px; align-items: center; padding: 12px 8px; border: 1px solid var(--a8); border-radius: var(--r-sm); text-decoration: none; font-size: .8rem; }
.av-hub-map .av-mark { width: 28px; height: 28px; padding: 3px; flex-shrink: 0; }
.av-hub-map a:hover { border-color: var(--geo); }
.av-table-wrap { overflow-x: auto; margin-top: 24px; }
.av-table { width: 100%; border-collapse: collapse; min-width: 590px; text-align: left; }
.av-table th, .av-table td { padding: 18px 15px; border-bottom: 1px solid var(--a10); vertical-align: top; line-height: 1.6; }
.av-table th { font-weight: 500; background: var(--a3); }
.av-cta { background: var(--geo-soft); }
.av-cta p { max-width: 65ch; line-height: 1.8; }
@media (max-width: 800px) {
 .av-hero-grid, .av-example-grid, .av-chapter { grid-template-columns: 1fr; }
 .av-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .av-chapter { gap: 24px; }
 .av-hero .h-display { font-size: clamp(2.5rem,8vw,4rem); }
}
@media (max-width: 520px) {
 .av-grid { grid-template-columns: 1fr; }
 .av-map { padding: 18px; }
 .av-fact { padding: 18px; }
 .av-hub-map { grid-template-columns: 1fr; }
 .av-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
 .av-card, .av-card::before { transition: none; }
 .av-card:hover { transform: none; }
}
