/* Main-site editorial refinement. Note layouts retain their existing system. */
@layer components{
:root{--paper:#faf9f5;--surface:#fffefa;--ink:#183b32;--body:#536059;--line:#dedfd5}
.site-header{height:92px}.header-inner{width:min(1320px,calc(100% - 80px))}.brand{font-size:30px;letter-spacing:-1.5px}.desktop-nav{gap:38px}.desktop-nav a{font-size:12px;letter-spacing:.015em}.saved-link{border-radius:50px;padding:11px 19px;background:#f1f2e9;border-color:#e4e7dc}.site-footer{background:#f0f1e9;margin-top:0;padding-top:44px}.footer-top{padding-bottom:33px}.footer-bottom{font-size:11px}.footer-top p{color:#718068}.footer-support{font-size:11px}.footer-bottom nav a{font-size:11px}.site-footer .brand{font-size:27px}
body:not(.note-page):not(.home-page) main{padding-bottom:85px}body:not(.note-page) .page-intro{padding-top:65px;padding-bottom:60px}body:not(.note-page) .page-intro h1{font-size:78px;letter-spacing:-.055em}body:not(.note-page) .lede{font-size:17px;max-width:630px;line-height:1.9}body:not(.note-page) .level-card,body:not(.note-page) .exam-card,body:not(.note-page) .category-grid>a,body:not(.note-page) .support-grid a{border-radius:9px;transition:border-color .2s,transform .2s,box-shadow .2s}body:not(.note-page) .level-card:hover,body:not(.note-page) .exam-card:hover,body:not(.note-page) .category-grid>a:hover{transform:translateY(-3px);box-shadow:0 12px 25px #193c3107}body:not(.note-page) .empty-state{border-radius:10px;background:#f0f2e8}body:not(.note-page) .article-card{border-radius:9px}body:not(.note-page) .collection-heading{padding-top:32px}body:not(.note-page) .breadcrumbs{font-size:11px}
.premium-hero{display:grid;grid-template-columns:1fr .94fr;gap:95px;align-items:center;padding-block:75px 72px}.premium-hero-copy .eyebrow{font-size:9px;letter-spacing:.17em;margin-bottom:30px}.premium-hero h1{font-size:102px;line-height:1;letter-spacing:-.06em;margin-bottom:28px}.premium-hero h1 em{color:#73875c}.premium-lede{font-size:20px;line-height:1.6;color:#375246}.premium-description{font-size:14px;line-height:1.9;max-width:390px;margin-top:20px}.premium-actions{display:flex;align-items:center;gap:11px;margin-top:29px;flex-wrap:wrap}.premium-actions .button{border-radius:50px;min-height:49px;padding-inline:23px;font-size:11px;gap:21px}.premium-actions .button-outline{border-color:#d7ddcd}.premium-access{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.025em;color:#7a866f;margin-top:24px}.access-dot{width:5px;height:5px;border-radius:50%;background:#8ca66e}.life-atlas{background:#153c30;color:#e8eddb;border-radius:160px 10px 10px 10px;overflow:hidden;box-shadow:0 25px 55px #173e3212;position:relative}.atlas-top{display:flex;justify-content:space-between;padding:33px 29px 0 75px;font-family:monospace;font-size:8px;letter-spacing:.14em;color:#acbf9d}.atlas-art{padding:0 9px}.atlas-art svg{display:block;width:100%;height:auto}.atlas-bottom{display:flex;align-items:center;justify-content:space-between;padding:0 30px 30px;gap:20px}.atlas-bottom>span:first-child{font-size:8px;letter-spacing:.13em;color:#a9bd99;line-height:1.8}.atlas-bottom strong{font-family:var(--serif);font-size:25px;letter-spacing:-.025em;font-weight:400;color:#e4ead7;display:block;margin-top:5px}.atlas-seal{width:55px;height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #bdcf9d55;border-radius:50%;font-family:var(--serif);font-size:26px;color:#c0cfab;flex-shrink:0;line-height:1}.atlas-seal span{font-family:var(--sans);font-size:5px;letter-spacing:.09em;margin-top:5px}.premium-search{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:35px 39px}.premium-search h2{font-size:33px;letter-spacing:-.035em;line-height:1.15;margin-top:12px}.premium-search .search-large{margin:0;max-width:none}.premium-search .intent-switch{gap:26px;margin-bottom:12px}.premium-search .intent-switch button{font-size:11px}.premium-search .search-form{border-radius:6px;box-shadow:none;padding:7px 8px 7px 17px;background:#fffefa}.premium-search .search-form input[type=search]{font-size:12px}.premium-search .search-form button{border-radius:50%;width:38px;height:38px;background:#e2e9d7}.premium-paths{padding-block:72px 80px}.premium-paths .section-heading{align-items:end;margin-bottom:34px}.premium-paths h2{font-size:52px;letter-spacing:-.045em}.premium-paths .section-heading>p{font-size:12px;line-height:1.9}.premium-path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.premium-path{display:flex;flex-direction:column;padding:27px 28px 22px;border:1px solid #d9dfd0;border-radius:7px;background:#edf1e5;transition:transform .2s,box-shadow .2s}.premium-path:hover{transform:translateY(-5px);box-shadow:0 15px 30px #183b3210}.premium-path.path-02{background:#f3eddf;border-color:#e4dcc7}.premium-path.path-03{background:#e9efed;border-color:#d9e3de}.path-cap{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:33px}.path-cap>span{text-transform:uppercase;letter-spacing:.08em;font-family:monospace;font-size:8px;color:#7a8a71}.path-cap .icon{width:23px;height:23px;opacity:.7}.premium-path h3{font-family:var(--serif);font-size:31px;letter-spacing:-.04em;font-weight:400;min-height:78px;max-width:260px}.premium-path .path-headline{font-family:var(--serif);font-size:19px;line-height:1.4;color:#58714d;letter-spacing:-.025em;margin-top:13px;min-height:53px}.premium-path>p:not(.path-headline){font-size:12px;line-height:1.9;margin-top:12px;margin-bottom:29px;max-width:290px}.path-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:17px;border-top:1px solid #193c3118;margin-top:auto;font-size:10px;font-weight:550}.path-arrow{display:grid;place-items:center;width:31px;height:31px;border:1px solid #193c3130;border-radius:50%}.path-arrow .icon{width:15px;height:15px}.premium-manifesto{background:#eef0e7;border-block:1px solid #dfe4d5;padding-block:60px}.manifesto-inner{display:grid;grid-template-columns:90px 1.2fr 1fr;gap:54px;align-items:center}.manifesto-mark{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;border-right:1px solid #d3dcc8;padding-right:26px}.manifesto-mark>.icon{width:38px;height:38px;color:#7f986c}.manifesto-mark>span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:8px;letter-spacing:.15em;color:#7d8c73}.manifesto-inner>div:nth-child(2)>.eyebrow{font-size:9px;margin-bottom:22px}.manifesto-inner h2{font-size:45px;margin-bottom:23px;line-height:1.12}.manifesto-inner>div:nth-child(2)>p:not(.eyebrow){font-size:13px;line-height:1.9;max-width:390px}.manifesto-inner .text-link{font-size:11px;margin-top:23px}.manifesto-principles>div{position:relative;padding:18px 0 18px 35px;border-bottom:1px solid #d3dcc8}.manifesto-principles>div:first-child{padding-top:0}.manifesto-principles>div>span{position:absolute;left:0;top:21px;font-family:monospace;font-size:9px;color:#8c9e7e}.manifesto-principles>div:first-child>span{top:3px}.manifesto-principles h3{font-size:15px;font-weight:500;letter-spacing:-.02em;margin-bottom:7px}.manifesto-principles p{font-size:11px;line-height:1.8}.premium-end{padding-block:58px 65px;position:relative}.premium-end .eyebrow{font-size:8px;letter-spacing:.13em;margin-bottom:19px}.premium-end h2{font-size:72px;font-style:italic;color:#607a50}.premium-end>a{position:absolute;right:0;top:85px;display:grid;place-items:center;width:58px;height:58px;border:1px solid #bdcbb2;border-radius:50%}.premium-end>a:hover{background:#e9efdf}.premium-end>a .icon{width:25px;height:25px}}
@layer responsive{@media(max-width:1150px){.premium-hero{gap:50px}.premium-hero h1{font-size:86px}.premium-actions .button{font-size:10px;padding-inline:19px;gap:14px}.atlas-top{padding-left:58px;font-size:7px}.atlas-bottom strong{font-size:22px}.premium-path{padding:25px 23px}.premium-path h3{font-size:29px}.manifesto-inner{gap:35px;grid-template-columns:65px 1.2fr 1fr}.manifesto-inner h2{font-size:39px}.premium-search{gap:45px}.premium-search .intent-switch{gap:21px}}
@media(max-width:900px){.premium-hero{gap:35px;padding-block:55px}.premium-hero h1{font-size:72px}.premium-lede{font-size:18px}.premium-description{font-size:12px}.premium-actions{gap:9px}.premium-actions .button{padding:13px 15px;min-height:44px;font-size:9px;gap:10px}.premium-access{font-size:9px}.life-atlas{border-top-left-radius:120px}.atlas-top{padding:27px 20px 0 53px;font-size:6px}.atlas-bottom{padding-inline:23px;padding-bottom:24px}.atlas-bottom strong{font-size:19px}.atlas-seal{width:44px;height:44px;font-size:22px}.premium-search{grid-template-columns:.8fr 1.2fr;gap:30px}.premium-search h2{font-size:29px}.premium-search .intent-switch{gap:17px}.premium-search .intent-switch button{font-size:10px}.premium-path-grid{gap:14px}.premium-path{padding:23px 20px}.path-cap{padding-bottom:24px}.path-cap>span{font-size:7px}.premium-path h3{font-size:26px;min-height:70px}.premium-path .path-headline{font-size:17px;min-height:68px}.premium-path>p:not(.path-headline){font-size:11px}.path-cta{font-size:9px}.manifesto-inner{grid-template-columns:1.1fr 1fr;gap:40px}.manifesto-mark{display:none}.manifesto-inner h2{font-size:39px}body:not(.note-page) .page-intro h1{font-size:64px}.site-header{height:78px}.brand{font-size:27px}.desktop-nav{gap:24px}.saved-link{padding:10px}.header-inner{width:calc(100% - 50px)}}
@media(max-width:680px){.site-header{height:74px}.header-inner{width:calc(100% - 32px)}.brand{font-size:26px}.saved-link{border-radius:50%;padding:9px}.premium-hero{grid-template-columns:1fr;gap:40px;padding-block:43px 39px}.premium-hero-copy .eyebrow{font-size:8px;letter-spacing:.12em;margin-bottom:26px}.premium-hero h1{font-size:77px;line-height:1.02;margin-bottom:25px}.premium-lede{font-size:18px;line-height:1.7}.premium-description{font-size:13px;line-height:1.9;max-width:345px;margin-top:17px}.premium-actions{margin-top:25px;gap:10px}.premium-actions .button{font-size:10px;padding-inline:19px;min-height:46px;gap:16px}.premium-access{font-size:9px;margin-top:22px}.life-atlas{border-top-left-radius:120px;max-width:440px;width:100%;margin:auto}.atlas-top{font-size:7px;padding-left:60px}.atlas-art{padding:0 6px}.atlas-bottom{padding:0 24px 26px}.atlas-bottom>span:first-child{font-size:7px}.atlas-bottom strong{font-size:22px}.atlas-seal{width:47px;height:47px}.premium-search{grid-template-columns:1fr;gap:22px;padding-block:29px 33px}.premium-search>.search-large{max-width:none}.premium-search h2{font-size:31px}.premium-search .eyebrow{font-size:8px}.premium-search .intent-switch{gap:23px}.premium-search .intent-switch button{font-size:10px}.premium-search .search-form input[type=search]{font-size:11px;padding-inline:8px}.premium-paths{padding-block:44px}.premium-paths h2{font-size:42px}.premium-paths .section-heading{margin-bottom:28px}.premium-path-grid{grid-template-columns:1fr;gap:16px}.premium-path{padding:26px}.path-cap{padding-bottom:22px}.path-cap>span{font-size:8px}.premium-path h3{font-size:35px;min-height:0;max-width:none}.premium-path .path-headline{font-size:21px;min-height:0;margin-top:16px}.premium-path>p:not(.path-headline){font-size:13px;max-width:none;margin-top:11px;margin-bottom:26px}.path-cta{font-size:11px;padding-top:19px}.path-arrow{width:35px;height:35px}.premium-manifesto{padding-block:42px}.manifesto-inner{grid-template-columns:1fr;gap:30px}.manifesto-inner h2{font-size:38px}.manifesto-inner>div:nth-child(2)>p:not(.eyebrow){font-size:13px}.manifesto-principles{padding-top:7px}.manifesto-principles h3{font-size:15px}.manifesto-principles p{font-size:12px}.premium-end{padding-block:40px 46px}.premium-end .eyebrow{font-size:7px;max-width:250px;line-height:1.9;margin-bottom:17px}.premium-end h2{font-size:57px}.premium-end>a{top:85px;width:43px;height:43px}.premium-end>a .icon{width:20px;height:20px}.site-footer{padding-top:30px}.footer-top p{font-size:14px}.footer-bottom nav a{font-size:10px}.site-footer .brand{font-size:24px}body:not(.note-page):not(.home-page) main{padding-bottom:48px}body:not(.note-page) .page-intro{padding-block:38px 40px}body:not(.note-page) .page-intro h1{font-size:49px}body:not(.note-page) .lede{font-size:14px;line-height:1.9}body:not(.note-page) .breadcrumbs{font-size:9px}}
@media(max-width:360px){.premium-hero h1{font-size:67px}.premium-actions .button{font-size:9px;padding-inline:15px;gap:11px}.premium-search .intent-switch{gap:16px}.premium-search .intent-switch button{font-size:9px}.atlas-top{font-size:6px}.atlas-bottom strong{font-size:19px}.premium-end h2{font-size:51px}.premium-path{padding:23px}body:not(.note-page) .page-intro h1{font-size:43px}}
@media(prefers-reduced-motion:reduce){.premium-path,body:not(.note-page) .level-card,body:not(.note-page) .exam-card,body:not(.note-page) .category-grid>a{transition:none}.premium-path:hover,body:not(.note-page) .level-card:hover,body:not(.note-page) .exam-card:hover,body:not(.note-page) .category-grid>a:hover{transform:none}}}


/* Sitewide design refinement: shared shell, discovery, reading and responsive controls.
   The standalone English Practice application has its own stylesheet. */
@layer responsive {
@media screen {
:root{--muted:#56665b}
.site-header{height:76px;background:var(--paper)}
.header-inner{gap:clamp(12px,2vw,30px)}
.desktop-nav{margin-left:0;gap:clamp(20px,3vw,36px)}
.desktop-nav a{font-size:14px;font-weight:550;padding:24px 0}
.desktop-nav a[aria-current]:after{bottom:14px;width:100%;border-radius:2px}
.header-actions{gap:10px}
.header-actions .icon-button,.saved-link{min-height:44px;min-width:44px;justify-content:center}
.saved-link{font-size:13px}
.header-actions a,.header-actions button{border-radius:12px;transition:background-color .18s ease,color .18s ease}
.header-actions a:hover,.header-actions button:hover{background:#e4ebda;color:#163d32}
.mobile-nav{max-height:calc(100dvh - 76px);overflow-y:auto}
.mobile-nav a{min-height:48px;align-items:center;font-size:15px}
.mobile-nav a[aria-current]{font-weight:650;background:#e8efdf;padding-inline:12px;border-radius:8px}
.breadcrumbs,body:not(.note-page) .breadcrumbs{font-size:12px;overflow-wrap:anywhere}
body:not(.note-page) .page-intro{padding-block:clamp(32px,5vw,60px)}
body:not(.note-page) .page-intro h1{font-size:clamp(38px,6vw,76px);overflow-wrap:anywhere}
body:not(.note-page) .lede{font-size:17px;line-height:1.75}
.premium-hero{grid-template-columns:minmax(0,1fr) minmax(0,.94fr);gap:clamp(30px,6vw,82px);padding-block:clamp(40px,6vw,72px)}
.premium-hero h1{font-size:clamp(48px,7.2vw,96px);line-height:1.04}
.premium-description{font-size:16px;line-height:1.75;max-width:46ch}
.premium-hero-copy .eyebrow,.premium-access{font-size:11px}
.premium-actions .button,.button{font-size:14px;min-height:46px;border-radius:10px}
.premium-actions .button{border-radius:50px}
.premium-search{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,5vw,65px)}
.intent-switch,.premium-search .intent-switch,.search-page .intent-switch{gap:12px;flex-wrap:wrap}
.intent-switch button,.premium-search .intent-switch button,.search-page .intent-switch button{font-size:13px;white-space:normal;min-height:44px;color:#425849}
.search-form,.premium-search .search-form{border-radius:12px}
.search-form input[type=search],.premium-search .search-form input[type=search],.search-page .search-form input[type=search]{font-size:16px}
.search-form button,.premium-search .search-form button{width:44px;height:44px}
.search-form:focus-within{border-color:#537a50;box-shadow:0 0 0 3px #6e95622b}
.premium-path-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.premium-path,.level-card,.exam-card,.article-card,.category-grid>a,.support-grid>a{border-radius:14px;min-width:0;overflow-wrap:anywhere}
.premium-path{padding:clamp(20px,2.5vw,30px)}
.premium-path h3{min-height:0;line-height:1.15}
.premium-path .path-headline{min-height:0;color:#465f3b}
.premium-path>p:not(.path-headline),.level-card p,.exam-card p:not(.eyebrow),.category-grid p,.article-card p:not(.eyebrow),.collection-note p{font-size:15px;line-height:1.7}
.path-cap>span,.path-cta,.text-link{font-size:12px}
.path-cap>span{color:#53684f}
.path-arrow{flex-shrink:0}
.tag{font-size:12px}
.tag.quiet{color:#536358;border-color:#c9d0c3}
.tag.gold{color:#6b4c15}
.eyebrow{color:#54675a}
.premium-path:focus-visible,.level-card:focus-visible,.exam-card:focus-visible,.article-card:focus-visible,.category-grid>a:focus-visible,.support-grid>a:focus-visible{outline-offset:4px}
.home-practice-feature{margin-block:0 clamp(30px,5vw,60px)}
.home-practice-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;padding:clamp(22px,4vw,36px);border:1px solid #bed0b5;border-radius:18px;background:linear-gradient(115deg,#e6efdc,#f6f5eb);transition:box-shadow .2s,border-color .2s,transform .2s}
.home-practice-mark{display:grid;place-items:center;width:72px;height:72px;border-radius:18px;background:#183e32;color:#eff5e9;font-family:var(--serif);font-size:30px;letter-spacing:-.05em}
.home-practice-card h2{font-size:clamp(26px,3vw,38px);margin:7px 0;line-height:1.15}
.home-practice-card p:not(.eyebrow){font-size:15px;line-height:1.6}
.home-practice-card .practice-launch{display:inline-flex;align-items:center;gap:12px;border-radius:50px;padding:13px 18px;background:#183e32;color:#fff;font-size:14px;font-weight:600;white-space:nowrap}
.support-grid a[href="/exams/english-practice/"]{background:#e7efdc;border-color:#b9cdb0}
.note-header h1{overflow-wrap:anywhere}
.note-content,.note-section,.note-layout>*{min-width:0}
.note-section>p,.content-prose,.content-prose p{font-size:16px;line-height:1.8}
.diagram-controls button,.segmented button,.step-controls button,.answer-options button{min-height:44px;font-size:13px}
.table-wrap{max-width:100%;overflow-x:auto}
.footer-bottom nav{flex-wrap:wrap;gap:4px 18px;justify-content:flex-start}
.footer-bottom nav a{font-size:13px;min-height:44px}
.footer-bottom>span{font-size:12px}
.site-footer .footer-support{font-size:13px}
}
@media screen and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
.premium-path:hover,.level-card:hover,.exam-card:hover,.article-card:hover,.category-grid>a:hover,.support-grid>a:hover,.home-practice-card:hover{transform:translateY(-3px);border-color:#8ba684;box-shadow:0 12px 30px #193c3114}
.premium-path,.level-card,.exam-card,.article-card,.category-grid>a,.support-grid>a{transition:transform .2s,border-color .2s,box-shadow .2s}
.path-arrow,.text-link .icon,.practice-launch .icon{transition:transform .2s}
.premium-path:hover .path-arrow,.home-practice-card:hover .practice-launch .icon,.support-grid>a:hover .text-link .icon{transform:translateX(3px)}
}
@media screen and (max-width:1000px){.desktop-nav{display:none}.menu-toggle{display:inline-flex}}
@media screen and (max-width:760px){
.premium-hero,.premium-search,.premium-path-grid{grid-template-columns:minmax(0,1fr)}
.premium-hero{gap:30px}
.premium-hero h1{font-size:clamp(43px,10vw,70px)}
.premium-paths h2{font-size:clamp(34px,7vw,46px)}
.premium-paths .section-heading>p,.exam-support .section-heading>p{display:block}
.premium-paths .section-heading,.exam-support .section-heading{flex-direction:column;gap:12px}
.premium-path .path-headline{font-size:20px}
.home-practice-card{grid-template-columns:48px minmax(0,1fr);gap:16px}
.home-practice-mark{width:48px;height:48px;border-radius:12px;font-size:23px;align-self:start}
.home-practice-card .practice-launch{grid-column:2;justify-self:start}
}
@media screen and (max-width:440px){
.header-inner{width:calc(100% - 20px);gap:5px}
.header-actions{gap:2px}
.brand{font-size:24px;gap:5px}
.brand>svg{width:23px}
.saved-link>span:not(.saved-count){display:none}
.saved-link{padding:6px}
.saved-count{padding-inline:3px}
.category-grid{grid-template-columns:minmax(0,1fr)}
.category-grid h3,.category-grid p{min-height:0}
.footer-top p{margin-left:0}
.premium-end h2{font-size:clamp(38px,10vw,54px)}
.premium-end>a{position:static;margin-top:18px}
}
@media screen and (prefers-reduced-motion:reduce){
.home-practice-card,.header-actions a,.header-actions button{transition:none}
.home-practice-card:hover{transform:none}
}
}

@layer responsive {
@media screen {
.footer-bottom{flex-wrap:wrap}
.up-subject-card p,.up-unit-card p,.up-exam-card p{font-size:15px;line-height:1.7}
.up-mini,.up-note-state{color:#4f6756;font-size:12px}
.up-note-title{font-size:15px}
.up-jump a{min-height:44px;display:inline-flex;align-items:center;font-size:13px}
.up-note-row{min-width:0}
.up-note-title{overflow-wrap:anywhere}
}
@media screen and (max-width:480px){
.up-note-row{grid-template-columns:36px minmax(0,1fr) 14px;gap:10px}
.up-note-row .up-note-state{grid-column:2;grid-row:2;white-space:normal}
.up-note-row .up-chevron{grid-column:3;grid-row:1 / span 2}
.up-note-adjacent a{max-width:100%}
}
}
