/* Education-inspired personal identity. */
:root {
 --navy:#12594f; --navy-2:#17695d; --teal:#08796c; --teal-soft:#e9f6f2;
 --gold:#b8e4d4; --gold-soft:#eef8f4; --paper:#fff; --ink:#193d37;
 --muted:#536863; --line:#dcebe6; --orange:#26a58f; --blue:#08796c; --mint:#51c5b8;
 --shadow:0 16px 42px rgba(18,89,79,.07);
}
body { background:#fff; }
.hero { min-height:620px; background:#fff; gap:2.8rem; position:relative; isolation:isolate; }
.hero::before { width:260px; height:260px; inset:0 -130px auto auto; transform:rotate(45deg); border:0; border-radius:60px; background:#edf7f3; z-index:-1; }
.hero::after { width:150px; height:100px; inset:auto auto 28px 4%; transform:none; border:0; background:radial-gradient(circle,#b8e4d4 2px,transparent 2.5px) 0 0/14px 14px; z-index:-1; }
.hero-copy { width:100%; max-width:1000px; min-width:0; }
.hero h1 { max-width:100%; font-size:clamp(2.3rem,6.3vw,5.6rem); line-height:1.3; }
.hero h1 em { color:var(--teal); font-style:normal; }
.identity-mark { color:white; background:#269f8b; border-color:#b8e4d4; box-shadow:0 0 0 6px #edf7f3; }
.section-intro { max-width:100%; min-width:0; }
.section-intro h2 { font-size:clamp(1.15rem,2.9vw,2.8rem); line-height:1.5; }
.map,.evidence,.guide-section.dark { background:#12594f; }
.map-flow li { background:#17695d; }
.map-flow p,.evidence-equation p { color:#d8eee7; }
.evidence-equation article { background:#fff; border-color:#dcebe6; box-shadow:0 8px 24px rgba(0,0,0,.06); }
.evidence-equation article > span,
.evidence-equation article h3,
.evidence-equation article p { color:var(--navy); }
.evidence-equation .evidence-result { background:#f1f4f3; border:2px solid #51c5b8; }
.evidence-equation > i { color:#fff; }
.map-flow small { color:#b8e4d4; }
.guide-hero,.press-hero { background:#edf7f3; color:var(--navy); }
.guide-hero h1,.press-hero h1 { color:var(--navy); line-height:1.4; }
.guide-hero p,.press-hero > p:not(.section-kicker),.press-stat span,.breadcrumb { color:var(--muted); }
.breadcrumb a,.press-stat strong { color:var(--teal); }
.guide-hero::after { border-color:#51c5b8; border-radius:50px; transform:rotate(45deg); }
.press-hero::after { color:rgba(18,89,79,.05); }
.press-body { background:white; }
.action-panel { background:#12594f; align-items:stretch; flex-direction:column; }
.action-panel h2 { font-size:clamp(1.25rem,3.2vw,3rem); line-height:1.5; }
.action-panel-links { align-self:flex-start; }
h1,h2,h3,h4,h5,h6 { white-space:nowrap; min-width:0; max-width:100%; overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; }
h1 br,h2 br,h3 br,h4 br,h5 br,h6 br { display:none; }
.map-flow li > div,.library-card > div,.mistakes-grid article > div { min-width:0; }
@media(max-width:560px) {
 .hero { min-height:560px; padding-block:8rem 4rem; gap:2.4rem; }
 .hero h1 { max-width:100%; font-size:clamp(2rem,8.6vw,3rem); line-height:1.4; }
 .section-intro h2 { font-size:1.4rem; }
 .guide-hero h1 { font-size:2.3rem; }
 .action-panel h2 { font-size:1.5rem; }
}

.site-footer { flex-wrap:wrap; gap:1rem; }
.site-version { color:var(--muted); font-family:"Thmanyah Sans",Arial,sans-serif; font-size:.8rem; white-space:nowrap; }
.error-body { display:flex; flex-direction:column; justify-content:center; }
.error-body .site-footer { width:min(100%,650px); box-shadow:none; background:transparent; }
.site-footer { background:var(--navy); color:white; }
.site-footer .site-version { color:#d8eee7; }
.error-body .site-footer { color:var(--navy); }
.error-body .site-footer .site-version { color:var(--muted); }

.library.compact-end { padding-bottom:clamp(2rem,4vw,3rem); }
