@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#202b39;background:#fcfcf9;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,summary{font:inherit}a{color:inherit}header{max-width:1320px;margin:auto;padding:25px 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e3e6e6}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:20px;letter-spacing:-.6px}.brand-icon{display:grid;place-items:center;background:#2751df;color:white;border-radius:12px;width:39px;height:39px;font-size:29px}.badge{font-size:10px;letter-spacing:1.6px;font-weight:600;margin-left:15px;color:#737c85}.nav-link{font-size:14px;text-decoration:none}main{max-width:1236px;margin:auto;padding:0 28px}.intro{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;padding:58px 0 52px;align-items:center}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;color:#5a6775}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:55px;letter-spacing:-2.8px;line-height:1.13;margin:18px 0}h1 span{color:#2751df}p{line-height:1.65} .intro>div>p{font-size:18px;max-width:435px;color:#64707b}.first{background:#eaf0ff;border:1px solid #d4dfff;border-radius:22px;padding:28px 30px;position:relative}.lesson-tag{color:#2751bd;letter-spacing:1.3px;font-size:11px;font-weight:700}.first h2{font-size:29px;letter-spacing:-1px;margin:17px 0 10px}.first>p{color:#4e5e77;font-size:16px;margin:0 0 21px}.first summary{background:#2751df;color:white;border:0;padding:14px 18px}.first summary:hover{background:#183cb8}summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;border:1px solid #d9dfe2;border-radius:9px;padding:12px 15px;font-weight:700;font-size:14px;list-style:none}summary::-webkit-details-marker{display:none}summary span{font-size:21px;font-weight:400}details[open] summary span{transform:rotate(45deg)}.lesson-body{padding-top:14px;font-size:15px}.lesson-body h3{font-size:15px;margin:17px 0 7px}.lesson-body p{margin:7px 0 14px}blockquote{margin:10px 0;padding:17px;background:#fff;border-radius:10px;line-height:1.6;border-left:3px solid #2751df}.tip{padding:12px;background:#ffffff8a;border-radius:10px}#explore{border-top:1px solid #e2e6e9;padding-top:34px;scroll-margin-top:20px}.explore-top{display:flex;justify-content:space-between;align-items:end;gap:20px}.explore-top h2{font-size:29px;letter-spacing:-1.1px;margin:10px 0 22px}.count-label{font-size:13px;color:#6d7784;margin-bottom:25px}.search{display:flex;align-items:center;gap:15px;border:1px solid #d7dce2;background:white;border-radius:12px;padding:14px 19px;box-shadow:0 3px 9px #15253804}.search>span:first-child{font-size:31px;line-height:1;color:#536171}.search input{border:0;outline:0;width:100%;min-width:0;font-size:16px;background:transparent;color:#202b39}.search:focus-within{outline:3px solid #b8caff}.search-label{white-space:nowrap;font-size:12px;color:#7c8590}.filters{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 29px}.filters button{font-size:13px;border:1px solid #e0e4e7;background:white;color:#535d68;padding:10px 14px;border-radius:24px;cursor:pointer}.filters button[aria-pressed=true]{background:#233044;color:white;border-color:#233044}.filters button:hover{border-color:#2751df}.results-head{display:flex;justify-content:space-between;align-items:center}.results-head h3{font-size:17px;margin:0}.results-head span{font-size:13px;color:#697581}.draft-note{font-size:12px;color:#75808a;margin:8px 0 20px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.card{background:white;border:1px solid #e0e4e6;border-radius:16px;overflow:hidden}.card-top{padding:22px 23px 15px;background:var(--tint);display:flex;align-items:center;gap:13px}.icon{font-size:25px;background:#ffffffb3;width:47px;height:47px;display:grid;place-items:center;border-radius:13px}.category-name{font-size:11px;text-transform:uppercase;letter-spacing:1.3px;font-weight:700;color:#46515d}.card-content{padding:20px 23px 23px}.card h3{font-size:20px;letter-spacing:-.6px;margin:0 0 9px}.card-content>p{font-size:15px;color:#64707c;margin:0 0 20px;min-height:49px}.card summary{background:white}.card summary:hover{background:#f2f5fc;border-color:#adc0ef}.card .lesson-body{font-size:14px}.card .lesson-body h3{font-size:14px;letter-spacing:0}.card blockquote{background:#f2f5ff}.card .tip{background:#f5f7ed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #517eff;outline-offset:4px}#empty{text-align:center;padding:50px}#reset{background:#2751df;color:white;border:0;border-radius:8px;padding:12px 20px;cursor:pointer}footer{margin-top:55px;border-top:1px solid #e0e4e6;padding:30px 0;display:flex;gap:25px;align-items:center;justify-content:space-between}footer .brand{font-size:16px}footer .brand-icon{width:29px;height:29px;font-size:23px}footer p,footer>span{font-size:12px;color:#78818a}@media(min-width:900px){.first:has(details[open]){align-self:start}}@media(max-width:850px){.badge,.search-label{display:none}.intro{gap:25px}h1{font-size:43px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.count-label{display:none}}@media(max-width:600px){header{padding:20px}.brand{font-size:17px}.nav-link{font-size:12px}main{padding:0 20px}.intro{grid-template-columns:1fr;padding:33px 0;gap:20px}h1{font-size:42px}.intro>div>p{font-size:16px}.first{padding:23px}.explore-top h2{font-size:26px}.cards{grid-template-columns:1fr}.filters{gap:7px}.filters button{padding:9px 12px}.results-head{gap:12px}.results-head h3{font-size:15px}.results-head span{white-space:nowrap}.search input{font-size:14px}footer{flex-wrap:wrap;gap:12px}footer p{margin:0}footer>span{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.mascot{float:right;width:130px;height:145px;object-fit:contain;margin:-10px -12px 4px 6px}.first h2{font-size:28px}.first>p{clear:both}.library-hint{font-size:15px;color:#687581;margin:9px 0 23px}.filters button{font-size:14px;padding:11px 15px}.category-name{font-size:12px;letter-spacing:.8px}.card-content>p{font-size:16px}.card summary,.first summary{font-size:16px;padding:14px 16px;min-height:48px}.card .lesson-body{font-size:16px}.card .lesson-body h3{font-size:16px;margin-top:22px}.lesson-body ul{padding-left:20px}.lesson-body li{line-height:1.65;margin:10px 0}.lesson-body .tip h3{margin-top:0}.lesson-body .tip p{margin-bottom:0}.chat-hint{color:#66717c}.count-label,.results-head span,.nav-link{font-size:14px}.eyebrow,.lesson-tag{font-size:12px}.badge{font-size:12px}.search-label{font-size:14px}.intro{padding:45px 0;gap:45px}.results-head h3{font-size:19px}@media(max-width:600px){.mascot{width:108px;height:124px}.first h2{font-size:26px}.badge{display:none}.search input{font-size:16px}.filters button{font-size:14px}.results-head{align-items:start}.results-head h3{font-size:18px}}
/* Version 1.1: reading navigation and text controls, retaining the existing theme. */
[hidden]{display:none!important}.main-nav{display:flex;flex-wrap:wrap;gap:10px;padding:20px 0;border-bottom:1px solid #e2e6e9}.main-nav a,.secondary-button,.primary-button,.open-link{display:inline-block;padding:13px 18px;border-radius:10px;text-decoration:none;font-size:1rem;line-height:1.4}.main-nav a{color:#354461}.main-nav a[aria-current=page]{background:#eaf0ff;color:#2144c1}.open-link,.primary-button{background:#2751df;color:white;font-weight:700}.open-link:hover,.primary-button:hover{background:#1b3baf}.secondary-button{border:1px solid #cbd4df;background:white;color:#22334e}.size-control{font-size:.875rem;display:flex;align-items:center;gap:8px}.size-control select{font:inherit;padding:9px;border:1px solid #cbd4df;border-radius:8px;background:white;color:#22334e}.section-heading{margin:32px 0 24px}#view>h2{margin-top:30px}#view h2{font-size:1.8rem;line-height:1.35;letter-spacing:-.6px;overflow-wrap:anywhere}#view .card h3{font-size:1.2rem;line-height:1.5;margin:14px 0 20px}#view .card .eyebrow{display:block;font-size:.8rem;line-height:1.6;letter-spacing:.6px}#view .card-content>p{font-size:1rem}.reading-view{max-width:800px;margin:35px auto}.reading-view p,.reading-view li{font-size:1.125rem;line-height:1.8}.reading-view h3{font-size:1rem;letter-spacing:.5px;margin:26px 0 12px}.reading-view blockquote{font-size:1.125rem;line-height:1.8;white-space:pre-line;margin:0;background:#f0f4ff}.example-block{margin:15px 0 22px;padding:18px;background:#f0f4ff;border:1px solid #dbe4fb;border-radius:12px}.example-block blockquote{border:0;padding:0 0 15px}.copy{font:inherit;font-size:1rem;background:white;color:#2341aa;border:1px solid #a4b6e7;border-radius:8px;padding:12px 16px;cursor:pointer}.lesson-section{margin:26px 0;padding-bottom:18px;border-bottom:1px solid #e2e6ec}.good-to-know{background:#edf3fc;border-radius:12px;padding:15px 22px}.good-to-know h3{margin-top:6px}.back-link{display:block;margin-bottom:24px;color:#2751df;font-size:1rem}.lesson-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #dce2e9;padding:25px 0;margin-top:35px}.lesson-choices,.search-results{display:grid;gap:16px;max-width:900px;margin:25px 0}.bigger-callout{max-width:900px;background:#eaf0ff;padding:24px;border-radius:16px;margin:25px 0}.copy-status{font-size:1rem}#clear-search{background:none;border:0;color:#2751df;padding:8px;font:inherit;cursor:pointer}.intro h1{font-size:2.65rem;letter-spacing:-1.7px}.intro p{font-size:1.05rem}.first .open-link{display:block;clear:both;text-align:center}.first h2{font-size:1.75rem}footer{align-items:start}footer p{font-size:.875rem;max-width:700px}button,select,input{max-width:100%}.card-content,.cards,.intro>div{min-width:0}@media(max-width:600px){header{gap:12px;flex-wrap:wrap}.main-nav{gap:4px}.main-nav a{font-size:.9rem;padding:11px 10px}.intro h1{font-size:2rem}.lesson-nav a{flex:1;text-align:center;font-size:.9rem}.reading-view{margin-top:24px}#view h2{font-size:1.5rem}.cards{grid-template-columns:1fr}.search input{font-size:1rem}.size-control{margin-left:auto}footer{display:block}.reading-view p,.reading-view li,.reading-view blockquote{font-size:1.05rem}}
/* Separate Choose Your AI handoff; no changes to training content. */
.ai-preference{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:12px 0;font-size:.9rem;color:#425675}.text-button{font:inherit;color:#2448ba;background:none;border:0;padding:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.ai-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0}.ai-actions button{font-family:inherit;cursor:pointer}.ai-actions .primary-button{border:1px solid #2751df}#choose-ai{color:#202b39;background:#fcfcf9;width:min(650px,calc(100% - 28px));max-height:90dvh;border:1px solid #d4deef;border-radius:18px;padding:26px;overflow:auto}#choose-ai::backdrop{background:#17253db3}.ai-dialog-heading{display:flex;align-items:start;gap:20px;justify-content:space-between}.ai-dialog-heading h2{font-size:1.6rem;margin:0 0 20px;line-height:1.4;letter-spacing:-.5px}.ai-dialog-heading button{font:inherit;cursor:pointer}.provider-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.provider-options button{font:inherit;cursor:pointer;min-height:55px}.provider-options button[aria-pressed=true]{background:#eaf0ff;border-color:#2751df}#choose-ai-body p{font-size:1rem;line-height:1.7}#choose-ai-body label{display:block;font-weight:700;margin:8px 0}#ai-example{box-sizing:border-box;width:100%;font:inherit;font-size:1rem;line-height:1.6;resize:vertical;padding:14px;border:1px solid #bac9e5;border-radius:10px;background:#f0f4ff;color:#202b39}.ai-privacy{border-top:1px solid #dce3ed;padding-top:16px}#ai-status{font-size:1rem;color:#2448ba}#close-ai{flex-shrink:0}@media(max-width:600px){#choose-ai{padding:20px}.ai-dialog-heading{gap:10px}.ai-dialog-heading h2{font-size:1.3rem}.ai-actions>*{width:100%;text-align:center}.ai-preference{justify-content:space-between}.provider-options{grid-template-columns:1fr 1fr}}
/* Approved PNG artwork is displayed whole, never cropped or modified. */
.approved-art{display:block;object-fit:contain;max-width:100%;height:auto;background:white}
.category-card-art{width:100%;height:220px;margin:16px auto 0;object-fit:contain}
.illustrated-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:900px;margin:10px 0 24px}
.illustrated-heading h2{flex:1;min-width:0}.category-page-art{width:240px;height:270px;flex:0 1 240px;object-fit:contain}
.foundation-art{width:250px;max-height:310px;object-fit:contain;margin:24px auto 30px}
.welcome-art{width:210px;max-height:250px;object-fit:contain;margin:0 auto 22px}
@media(max-width:600px){.illustrated-heading{flex-direction:column;align-items:stretch;gap:12px}.category-page-art{width:210px;height:240px;flex:none;align-self:center}.category-card-art{height:210px}.foundation-art{width:220px;max-height:270px}.welcome-art{width:190px}}

/* Keep the longer product name and its icon readable at every width. */
.brand-icon{flex-shrink:0}

/* Anthill Agentic branding uses the supplied logo without altering the artwork. */
.brand-logo{width:54px;height:54px;object-fit:contain;flex-shrink:0;border-radius:8px}
.brand-copy{display:flex;flex-direction:column;line-height:1.2}
.brand-title{font-weight:700}
.brand-byline{margin-top:4px;color:#687581;font-size:12px;font-weight:500;letter-spacing:.2px}
.footer-copy{max-width:760px}
.footer-copy p{margin:0}
.copyright{margin-top:8px!important;color:#596675!important;font-size:.8rem!important}
.site-footer{justify-content:flex-start}
@media(max-width:600px){.brand-logo{width:46px;height:46px}.brand-copy{max-width:245px}.brand-byline{font-size:11px}}
/* Account controls are separate from the unchanged training navigation. */
#account-controls{display:flex;align-items:center;gap:10px;margin-left:auto;margin-right:20px}
#account-controls[hidden]{display:none}#access-screen{max-width:800px}#auth-widget{margin:24px 0}
@media(max-width:600px){#account-controls{margin:10px 0;width:100%;justify-content:flex-end}}
