/* Release visual system: quiet surfaces around the archival badge and colorful hero art. */
:root{--ink:#203943;--muted:#53656a;--paper:#f8f8f5;--line:#dce4e2;--lime:#e6dac5;--white:#fff;--radius:18px}
html{scroll-padding-top:28px}
body{background:#f8f8f5;color:var(--ink);font-size:16px;line-height:1.6}
p{color:var(--muted);line-height:1.7}
h1,h2,h3{color:var(--ink);text-wrap:balance}
h2{font-size:clamp(2rem,3.3vw,2.9rem);letter-spacing:-.035em;line-height:1.15}
h3{letter-spacing:-.025em}
.wrap{width:min(1160px,calc(100% - 64px))}
.header{width:100%;max-width:none;min-height:94px;margin:0;padding:12px max(32px,calc((100vw - 1160px)/2));border:0;border-bottom:1px solid #e3e7e4;border-radius:0;background:#fff;gap:28px}
.header .brand{font-size:21px;letter-spacing:-.035em;line-height:1.08;gap:16px}
.header .brand img{width:74px;height:74px;object-fit:contain;border-radius:0;flex:none}
.header .brand-sub{font-size:13px;letter-spacing:.12em;line-height:1.25;margin-top:4px}
.header nav{gap:clamp(12px,1.5vw,24px);font-size:14px}
.header nav>a:not(.button){white-space:nowrap}
.header .button{background:#254751;border-color:#254751;color:#fff}
.header .button:hover{background:#18363f}
.button{border-color:#a75a43;background:#a75a43;color:#fff;font-size:15px;font-weight:650;box-shadow:none}
.button:hover{background:#8e4835;border-color:#8e4835}
.text-link{color:#2f4b51;text-decoration:underline;text-decoration-color:#9fb7b5;text-underline-offset:5px}
.eyebrow{color:#805947;font-size:12px;font-weight:700;letter-spacing:.14em;line-height:1.3;margin-bottom:15px}
.section{padding-block:72px}
.home-page .hero{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:44px;padding-top:64px;padding-bottom:68px;align-items:center}
.home-page .hero h1{font-size:clamp(42px,4.45vw,66px);letter-spacing:-.045em;line-height:1.1;max-width:640px;margin-bottom:23px}
.home-page .hero h1 em{color:#90634e}
.home-page .hero-copy>p{font-size:19px;line-height:1.55;color:#485b61;max-width:490px}
.home-page .hero-meta{color:#607075;font-size:13px!important;margin-top:24px;gap:14px}
.home-page .hero-meta span+span{border-left-color:#c9d1ce}
.home-page .actions{gap:21px;margin-top:27px}
.home-page .vintage-hero-art{position:relative;min-width:0}
.home-page .vintage-hero-art img{width:100%;height:auto;display:block;border-radius:18px;box-shadow:0 28px 54px -42px #35535a66}
.home-page .vintage-product-label{text-align:left;display:flex;align-items:baseline;gap:14px;margin:0 0 13px 2px}
.home-page .vintage-product-label strong{font-family:Georgia,serif;font-size:20px;letter-spacing:.13em;color:#815142}
.home-page .vintage-product-label span{font-size:13px;color:#65767a}
.home-page .audience-rail{justify-content:center;gap:6px;padding:12px 0;border-top:1px solid #dfe5e3;border-bottom:1px solid #dfe5e3;overflow:visible;white-space:normal;background:transparent}
.home-page .audience-rail a,.home-page .audience-rail a:nth-child(n){border:0;background:transparent;color:#38515a;font-size:14px;font-weight:650;border-radius:9px;padding:10px 16px;min-height:42px}
.home-page .audience-rail a:hover,.home-page .audience-rail a:focus-visible{background:#e9efed;text-decoration:none}
.home-page #products{padding-top:77px;padding-bottom:45px}
.home-page #products .section-head{text-align:left;display:grid;grid-template-columns:1fr minmax(260px,.72fr);gap:48px;align-items:end;margin-bottom:30px}
.home-page #products .section-head h2{font-size:clamp(32px,3.2vw,45px);margin:0}
.home-page #products .section-head>p{font-size:16px;max-width:440px;margin:0}
.home-page .product-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.home-page .product-card,.home-page .product-card.featured{grid-column:span 2;min-width:0;min-height:305px;padding:27px;background:#fff;border:1px solid #e0e5e2;border-radius:17px;display:flex;align-items:flex-start;box-shadow:0 14px 32px -30px #1a343b55;transition:transform .22s,box-shadow .22s,border-color .22s}
.home-page .product-card:nth-child(n+4){grid-column:span 3;min-height:207px;background:#f2f4f1}
.home-page .product-card:hover{transform:translateY(-3px);border-color:#c8d5d2;box-shadow:0 22px 40px -32px #1a343b6c}
.home-page .product-status{order:1;margin:0 0 12px;padding:0;color:#816451;font-size:11px;font-weight:700;letter-spacing:.105em;line-height:1.4}
.home-page .product-icon,.home-page .product-card.featured .product-icon{order:0;display:grid;place-items:center;width:48px;height:48px;margin:0 0 19px;background:#e9eeec;color:#2f5961;border-radius:13px;flex:none}
.home-page .product-icon svg{display:block;width:26px;height:26px;overflow:visible}
.home-page .product-card.featured .product-icon{background:#e9ede7;color:#ad5942}
.home-page .product-card h3{order:2;margin:0 0 9px;font-size:23px;line-height:1.25}
.home-page .product-card p,.home-page .product-card.featured p{order:3;max-width:none;margin:0 0 20px;color:#52666b;font-size:15px;line-height:1.6;min-height:0}
.home-page .product-card .button,.home-page .product-card.featured .button{order:4;min-height:44px;margin-top:auto;padding:10px 14px;border:0;border-radius:10px;background:#254751;color:#fff;font-size:14px}
.home-page .product-card .button:hover{background:#16343e}
.home-page .product-card.featured .button{background:#a75a43}
.home-page .product-card.featured .button:hover{background:#8e4835}
.home-page .product-note{text-align:left;margin-top:17px;font-size:14px;color:#5e6d70}
.home-page #confidence{padding-block:58px;margin-top:20px;border-top:1px solid #e2e7e4}
.home-page .confidence-result,.home-page .feature,.home-page .course{box-shadow:none}
.home-page #approach{padding-top:68px;padding-bottom:70px}
.home-page .feature-grid{gap:20px}
.home-page .feature{border:1px solid #e0e6e2;border-radius:16px;background:#fff;padding:25px 25px 24px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.home-page .feature-number{color:#746154;font-size:12px;letter-spacing:.1em}
.home-page .feature-icon{width:54px;height:54px;min-width:54px;min-height:54px;margin:19px 0 20px;border-radius:14px;background:#e9efed;color:#315c64;display:grid;place-items:center;line-height:1;overflow:hidden}
.home-page .feature-icon svg{display:block;width:31px;height:31px;flex:none}
.home-page .feature h3{font-size:21px;margin:0 0 10px}
.home-page .feature p{font-size:15px;line-height:1.62;max-width:none;margin:0}
.home-page .experience{background:#eef2f0;padding-block:72px}
.home-page .experience-grid{gap:60px;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
.home-page .experience p{color:#50646a}
.home-page .lesson{border:1px solid #dbe6e1;border-radius:18px;background:#fff;box-shadow:0 24px 45px -40px #16343e70;min-height:540px}
.home-page .course{background:#fff;border-color:#e0e6e2;border-radius:16px}
.home-page .course-accent{background:#e8eeec;border-color:#dbe5e1}
.home-page .course-accent p,.home-page .course-accent .course-id{color:#405b61}
.home-page .course-tag,.home-page .course-accent .course-tag{background:#edf1ef;color:#365761;font-size:12px}
.home-page .notes-preview{transform:rotate(-1deg);background:#fffdf6;border-color:#e1d7bd}
.home-page .faq details{border-color:#e0e6e2}
.home-page .closing{background:#e6ece8;border:1px solid #d9e5df;border-radius:18px}
.home-page .closing-brand{opacity:.1;color:#315761}
footer{color:#3c555d}
footer .brand img{object-fit:contain}
footer a:hover{color:#a1533c}
/* Apply the same restrained controls to the learning and sample chapters. */
.analogy-block{background:#eef3f1;border-color:#698c89}
.analogy-block .eyebrow{color:#486d69}
.idea-flow,.concept,.path-concept,.lesson-panel .concept{background:#edf2ef;color:#36545d}
.token-demo{background:#eff2f1}
.token{border-color:#879e99;color:#30545c}
.course,.unit,.path-panel,.lesson-panel,.chapter-preview,#subject-workspace{border-color:#dde5e1;background:#fff}
.chapter-preview .button{background:#254751;border-color:#254751}
.subject-page .chapter-preview{min-height:280px}
@media(max-width:1060px){
 .header{padding:10px 24px;flex-wrap:wrap}
 .header .brand img{width:64px;height:64px}
 .header nav{gap:13px;font-size:13px}
 .home-page .hero{gap:28px}
 .home-page .product-card,.home-page .product-card.featured{padding:22px}
}
@media(max-width:760px){
 .wrap{width:calc(100% - 36px)}
 .header{min-height:78px;flex-wrap:nowrap;padding:10px 18px;position:relative}
 .header .brand{font-size:18px;gap:9px}
 .header .brand img{width:52px;height:52px}
 .header .brand-sub{font-size:11px}
 .header nav{top:72px;left:12px;right:12px;background:#fff;box-shadow:0 16px 40px #18343e18;border:1px solid #e0e7e4;max-height:80vh;overflow:auto}
 .home-page .hero{display:grid;grid-template-columns:1fr;gap:28px;padding-top:38px;padding-bottom:35px}
 .home-page .hero h1{font-size:clamp(40px,10vw,56px);letter-spacing:-.045em}
 .home-page .hero-copy>p{font-size:17px}
 .home-page .hero-meta{font-size:12px!important}
 .home-page .vintage-product-label{display:flex;flex-wrap:wrap;gap:5px 14px}
 .home-page .vintage-product-label strong{font-size:18px}
 .home-page .audience-rail{justify-content:flex-start;gap:2px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
 .home-page .audience-rail a,.home-page .audience-rail a:nth-child(n){flex:none;padding:9px 11px;font-size:13px}
 .home-page #products{padding-block:50px 28px}
 .home-page #products .section-head{display:block;margin-bottom:25px}
 .home-page #products .section-head h2{font-size:34px}
 .home-page #products .section-head>p{margin-top:15px;max-width:550px}
 .home-page .product-grid{grid-template-columns:1fr;gap:12px}
 .home-page .product-card,.home-page .product-card.featured,.home-page .product-card:nth-child(n+4){grid-column:auto;min-height:0;padding:21px}
 .home-page .product-card p{margin-bottom:18px}
 .home-page .feature-grid{grid-template-columns:1fr;gap:12px}
 .home-page .feature{display:grid;grid-template-columns:54px 1fr;gap:0 16px;padding:22px}
 .home-page .feature-number{grid-column:1/-1;margin-bottom:12px}
 .home-page .feature-icon{grid-column:1;grid-row:2/4;margin:1px 0 0;width:50px;height:50px;min-width:50px;min-height:50px}
 .home-page .feature-icon svg{width:28px;height:28px}
 .home-page .feature h3{grid-column:2;grid-row:2;font-size:20px;margin:0 0 7px}
 .home-page .feature p{grid-column:2;grid-row:3;font-size:15px}
 .home-page .experience-grid{grid-template-columns:1fr;gap:24px}
 .home-page .experience{padding-block:54px}
 .home-page .lesson{min-height:0}
 .home-page #confidence{padding-block:50px}
 .home-page .section{padding-block:54px}
 .home-page .closing{padding:30px 25px}
 .home-page .closing-brand{display:none}
}
@media(max-width:390px){.wrap{width:calc(100% - 28px)}.header{padding-inline:12px}.header .brand{font-size:16px}.header .brand-sub{font-size:10px}.home-page .feature{grid-template-columns:44px 1fr;gap:0 11px}.home-page .feature-icon{width:44px;height:44px;min-width:44px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.home-page .product-card{transition:none}.home-page .product-card:hover{transform:none}}
