:root{--paper:#fcfdff;--ink:#171b23;--muted:#536374;--line:#dce5ef;--soft:#f1f7fc;--navy:#122f73;--cyan:#40b7e6;--blue:#1966b2;--sage:#e5f2f8;--ember:#f04b32;--ember-ink:#b92d19}
.site-header{background:#fff}.site-header::before{content:"";height:3px;position:absolute;inset:0 0 auto;background:url('/assets/brand/kernelstats-top-strip.png') center/auto 12px}.wordmark{gap:0}.founder-logo{display:block;position:relative;overflow:hidden;width:218px;aspect-ratio:2198/470;flex:none;background:#fff}.wordmark .founder-logo>img{position:absolute;max-width:none;width:136.5787%;height:auto;left:-18.2894%;top:-36.1702%}.founder-icon{position:relative;display:block;overflow:hidden;aspect-ratio:1;width:90px;flex:none}.founder-icon>img{position:absolute;max-width:none;width:201.4765%;height:auto;left:-50.7383%;top:-47.5839%}.footer-bottom .wordmark{padding:10px 14px;background:#fff;border-radius:7px}.footer-bottom .founder-logo{width:180px}.about-mark>.founder-icon{width:145px;margin:0 auto 30px}.site-footer{background:#10151f}.site-footer .footer-columns h2{color:#94c5dc}.site-footer .footer-top>p{color:#fff}.site-footer .footer-bottom>p{color:#c2ccd7}.hero h1{font-size:clamp(44px,5.5vw,78px);max-width:880px;color:var(--navy)}.hero h1 span{color:var(--blue)}.hero-heading .eyebrow::before{content:"";display:inline-block;width:7px;height:7px;background:var(--ember);margin-right:10px}.hero{padding-top:96px;padding-bottom:65px;gap:50px}.hero-aside{padding-bottom:3px}.hero-aside>p{font-size:19px}.button{background:var(--navy);border-color:var(--navy)}.button:hover{background:#10151f;border-color:#10151f}.button-secondary{color:var(--navy);background:transparent}.button-secondary:hover{color:white}.nav-cta{background:#10151f}.main-nav a.current,.main-nav summary.current{color:var(--navy)}.product-stage{background:#dff2fc;padding-top:30px}.pixel-corner{background:var(--cyan)}.product-stage::after{content:"";height:5px;position:absolute;inset:auto 0 0;background:url('/assets/brand/kernelstats-top-strip.png') center/auto 25px;pointer-events:none}.product-stage{position:relative}.tool-entry h3,.page-intro h1{color:var(--navy)}.tool-entry:last-child{grid-column:1/-1;display:grid;grid-template-columns:100px 260px 1fr;align-items:center;gap:30px;padding-block:28px}.tool-entry:last-child .tool-entry-top{margin:0}.tool-entry:last-child h3{margin:0}.tool-entry:last-child>p{max-width:530px;margin:0}.choice-section{background:#eef7fd}.choice-grid h2 span{color:var(--blue)}.mode-symbol{color:var(--blue)}.mode-companion{width:90px;height:90px;object-fit:contain}.closing-cta{grid-template-columns:120px 1fr 360px}.closing-cta>.character{width:120px;height:120px}.closing-cta h2{color:var(--navy)}.character{width:170px;height:170px;overflow:visible;display:block;flex:none}.character:hover{transform:translateY(-3px)}.character{transition:transform .25s ease}@keyframes character-blink{0%,42%,46%,100%{transform:scaleY(1)}44%{transform:scaleY(.1)}}
.workflow-story{padding-block:95px 70px}.story-heading{display:grid;grid-template-columns:1.15fr 1fr;gap:90px;align-items:end;margin-bottom:44px}.story-heading h2{color:var(--navy);font-size:44px;line-height:1.1}.story-heading>p{max-width:430px;margin:0;color:var(--muted);font-size:18px;line-height:1.7}.journey-tabs{display:flex;border-block:1px solid var(--line);overflow-x:auto;scrollbar-width:thin}.journey-tabs button{background:none;border:0;border-bottom:3px solid transparent;color:var(--muted);font-size:14px;flex:1;min-width:125px;padding:22px 10px;text-align:left;white-space:nowrap}.journey-tabs button>span{display:block;font-size:11px;letter-spacing:.08em;margin-bottom:7px}.journey-tabs [aria-selected=true]{color:var(--navy);border-bottom-color:var(--cyan);font-weight:650}.journey-panels>article{display:grid;grid-template-columns:180px 1fr 1fr;gap:45px;align-items:center;min-height:310px;padding:42px 0}.journey-character .character{margin:auto}.journey-character>span{display:block;text-align:center;font-size:12px;color:var(--muted);margin-top:8px}.journey-panels h3{font-size:32px;color:var(--navy);margin-bottom:18px}.journey-panels .eyebrow{color:var(--ember-ink);margin-bottom:14px}.journey-panels article>div:nth-child(2)>p:not(.eyebrow){font-size:17px;color:var(--muted);margin-bottom:22px}.journey-detail{font-size:17px;line-height:1.8;color:var(--muted);border-left:1px solid var(--line);padding-left:35px;margin:0}.story-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:23px;font-size:14px}.story-bottom>p{margin:0;color:var(--muted)}.community-feature{padding:78px 0;background:#e5f4fc;border-block:1px solid #d7eaf5}.community-grid{display:grid;grid-template-columns:1fr 1fr;gap:115px;align-items:center}.community-copy h2{font-size:52px;color:var(--navy);margin-bottom:26px}.community-copy>p:not(.eyebrow){color:#384d65;font-size:18px;line-height:1.8;max-width:490px;margin-bottom:28px}.community-free{display:block;font-size:12px;color:var(--muted);margin-top:15px}.community-book{border-left:1px solid #bdd6e8;padding-left:45px}.book-character{display:flex;align-items:center;gap:25px;margin-bottom:25px}.book-character>.character{width:132px;height:132px}.book-character>p{font-size:25px;color:var(--navy);line-height:1.3;margin:0;font-weight:600}.book-character>p>span{font-size:12px;font-weight:400;color:var(--muted);display:block;margin-top:10px}.book-readings{border-top:1px solid #bdd6e8;margin-bottom:25px}.book-readings a{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid #bdd6e8;color:var(--navy);font-size:16px}.book-readings a:hover{color:var(--ember-ink)}.workflow-jump{display:flex;gap:8px 23px;flex-wrap:wrap;padding-bottom:38px;border-bottom:1px solid var(--line)}.workflow-jump a{font-size:13px;display:flex;gap:8px;align-items:center;padding:8px 0}.workflow-jump a>span{color:var(--ember-ink);font-size:10px}.workflow-chapter{display:grid;grid-template-columns:90px minmax(0,1fr) 180px;gap:45px;padding:70px 0;border-bottom:1px solid var(--line);scroll-margin-top:110px}.workflow-chapter-number>span{font-size:42px;font-weight:300;color:var(--blue);display:block;margin-bottom:25px}.workflow-chapter h2{color:var(--navy);font-size:42px;margin-bottom:26px}.workflow-chapter .eyebrow{font-size:11px;letter-spacing:.04em;line-height:1.7;color:var(--muted);max-width:600px}.workflow-chapter .prose{font-size:18px;max-width:770px}.chapter-character{align-self:center}.grounded-help{padding-block:85px;border-bottom:1px solid var(--line)}.grounded-help h2{max-width:800px;color:var(--navy)}.grounded-help .lead{max-width:850px}.grounding-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;margin-top:45px}.grounding-sections h3{font-size:26px;margin-bottom:20px;color:var(--navy)}.grounding-sections .prose{font-size:16px}.grounding-links{display:flex;gap:30px;margin-top:26px;flex-wrap:wrap}.community-books{padding-block:85px}.community-mission{max-width:840px;margin-bottom:45px}.coursebook-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 50px;margin-bottom:35px}.coursebook-list>a{border-top:1px solid var(--line);padding:26px 0 30px}.coursebook-list>a>span{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.coursebook-list h3{font-size:25px;color:var(--navy);margin:13px 0}.coursebook-list h3>span{font-size:18px;color:var(--blue)}.coursebook-list p{font-size:15px;color:var(--muted);max-width:500px;margin:0}
@media(max-width:1150px){.founder-logo{width:190px}.main-nav{gap:19px}.main-nav>a,.product-menu>summary{font-size:13px}.nav-actions{gap:17px}.nav-cta{font-size:12px}.hero{gap:35px}.community-grid{gap:65px}.story-heading{gap:55px}.workflow-chapter{grid-template-columns:65px minmax(0,1fr) 130px;gap:30px}.chapter-character .character{width:130px;height:130px}.journey-panels>article{gap:28px;grid-template-columns:150px 1fr 1fr}.journey-character .character{width:145px;height:145px}.closing-cta{grid-template-columns:100px 1fr 310px}.closing-cta>.character{width:100px;height:100px}}
@media(max-width:900px){.site-header .menu-toggle{display:flex;margin-left:auto}.main-nav:not(.is-open){display:none}.main-nav.is-open{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 8px 14px #122f7314;padding:20px 25px;flex-direction:column;align-items:stretch;max-height:calc(100vh - 85px);overflow-y:auto;gap:3px}.main-nav.is-open>a,.main-nav.is-open .product-menu>summary{padding:11px 0;font-size:16px}.main-nav.is-open .nav-actions{display:flex;justify-content:space-between;padding:15px 0 3px;gap:20px}.main-nav.is-open .product-menu-panel{position:static;width:auto;border:0;padding:12px 0 20px;box-shadow:none}.main-nav.is-open .menu-tools{grid-template-columns:1fr 1fr}.main-nav.is-open .nav-cta{font-size:14px;padding:14px 18px}.main-nav.is-open .nav-signin{font-size:15px}.hero{grid-template-columns:1fr;gap:28px;padding-top:65px}.hero h1{font-size:66px}.hero-aside>p{max-width:650px}.hero-aside>p br{display:none}.hero-aside{display:grid;grid-template-columns:1fr auto;gap:10px 35px}.hero-aside .release-note{grid-column:1/-1}.hero-actions{align-items:flex-start}.hero-actions>.text-link{display:none}.story-heading{gap:40px}.story-heading h2{font-size:36px}.story-heading>p{font-size:16px}.journey-panels>article{grid-template-columns:130px 1fr;gap:30px;padding:30px 0}.journey-detail{grid-column:2;padding:0;border:0;font-size:15px}.journey-character{grid-row:1/3}.journey-character .character{width:125px;height:125px}.journey-panels h3{font-size:29px}.community-grid{gap:45px}.community-copy h2{font-size:42px}.community-book{padding-left:27px}.book-character{gap:15px}.book-character>.character{width:95px;height:95px}.book-character>p{font-size:22px}.workflow-chapter{grid-template-columns:60px minmax(0,1fr);gap:25px}.chapter-character{display:none}.grounding-sections{grid-template-columns:1fr;gap:25px}.closing-cta{grid-template-columns:100px 1fr}.closing-cta>div:last-child{grid-column:2}.tool-entry:last-child{grid-template-columns:60px 220px 1fr;gap:20px}}
@media(max-width:680px){.founder-logo{width:190px}.hero{padding-top:45px;padding-bottom:38px;gap:25px}.hero h1{font-size:43px;line-height:1.09}.hero-aside{display:block}.hero-aside>p{font-size:16px;line-height:1.8;max-width:100%;margin-bottom:23px}.hero-aside .release-note{margin-top:21px}.product-stage{padding-top:11px}.tool-entry:last-child{display:block;padding-block:25px}.tool-entry:last-child .tool-entry-top{margin-bottom:20px}.tool-entry:last-child h3{margin-bottom:12px}.tool-entry:last-child>p{margin:0}.workflow-story{padding-block:50px 42px}.story-heading{display:block;margin-bottom:25px}.story-heading h2{font-size:33px}.story-heading>p{font-size:15px;margin-top:22px}.journey-tabs button{min-width:112px;font-size:12px;padding:14px 5px}.journey-tabs button>span{font-size:10px}.journey-panels>article{grid-template-columns:80px minmax(0,1fr);gap:18px;padding:28px 0;min-height:260px}.journey-character{align-self:start}.journey-character .character{width:85px;height:85px}.journey-character>span{font-size:10px;margin-top:5px}.journey-panels h3{font-size:26px;margin-bottom:14px}.journey-panels .eyebrow{font-size:10px;margin-bottom:10px}.journey-panels article>div:nth-child(2)>p:not(.eyebrow){font-size:15px;margin-bottom:17px}.journey-detail{font-size:14px;line-height:1.7}.journey-panels .text-link{font-size:13px}.story-bottom{display:block;font-size:12px;padding-top:18px}.story-bottom>.text-link{margin-top:13px;font-size:13px}.community-feature{padding-block:45px}.community-grid{grid-template-columns:1fr;gap:35px}.community-copy h2{font-size:38px}.community-copy>p:not(.eyebrow){font-size:16px}.community-book{border-left:0;border-top:1px solid #bdd6e8;padding:25px 0 0}.book-character{justify-content:flex-start;gap:25px;margin-bottom:18px}.book-character>.character{width:110px;height:110px}.book-character>p{font-size:26px}.book-readings a{font-size:15px;padding:13px 0}.workflow-jump{gap:3px 15px;padding-bottom:25px}.workflow-jump a{font-size:11px}.workflow-chapter{grid-template-columns:32px minmax(0,1fr);gap:17px;padding-block:35px}.workflow-chapter-number>span{font-size:26px;margin-bottom:15px}.workflow-chapter-number>img{width:27px;height:27px}.workflow-chapter h2{font-size:29px;margin-bottom:21px}.workflow-chapter .eyebrow{font-size:9px;margin-bottom:16px}.workflow-chapter .prose{font-size:16px}.grounded-help,.community-books{padding-block:45px}.grounded-help h2{font-size:34px}.grounding-sections h3{font-size:24px}.grounding-sections .prose{font-size:15px}.grounding-links{gap:17px}.coursebook-list{grid-template-columns:1fr;gap:0}.coursebook-list h3{font-size:24px}.community-mission{font-size:16px}.closing-cta{grid-template-columns:75px 1fr;gap:20px}.closing-cta>.character{width:75px;height:75px}.closing-cta>div:last-child{grid-column:1/-1}.footer-bottom .founder-logo{width:175px}.footer-bottom .wordmark{display:inline-flex}.about-mark>.founder-icon{width:90px;margin:0}.not-found>.character{margin:0 auto 25px;width:110px;height:110px}}
@media(prefers-reduced-motion:reduce){.character,.character *{animation:none!important;transition:none!important}.character:hover{transform:none!important}}
@media print{.journey-tabs,.journey-character,.chapter-character,.character{display:none!important}.workflow-chapter{display:block}.workflow-chapter-number{display:none}.workflow-chapter{padding:20px 0}.grounding-sections{display:block}.founder-logo{display:none}}
.site-header::before,.product-stage::after{background:var(--cyan)}
.hero>*{min-width:0}.mode-explorer .character{width:90px;height:90px}.empty-state .character{margin:0 auto 20px;width:100px;height:100px}
@media(max-width:680px){.hero h1{font-size:clamp(34px,10.7vw,42px)}.hero h1 span{white-space:normal}.hero-heading .eyebrow{max-width:100%;white-space:normal;line-height:1.7}.hero-aside .hero-actions{width:auto}}
/* Spec 244: "Statistics Library" and "KernelStats Help" are longer than the old titles. The words stay; the spacing
   changes. Menu labels never wrap; from 1250px the whole menu fits on one line with tighter gaps, and from 901px to
   1249px the menu button opens the same menu as on phones (assets/nojs.css shows the wrapping row without script). */
@media(min-width:901px){.main-nav>a,.product-menu>summary,.nav-signin,.nav-cta{white-space:nowrap}}
@media(min-width:1250px) and (max-width:1499px){.nav-wrap{width:calc(100% - 48px);gap:18px}.main-nav{gap:16px}.main-nav>a,.product-menu>summary{font-size:13px}.nav-actions{margin-left:4px;gap:14px}.nav-cta{font-size:12px;padding:11px 12px;gap:8px}.founder-logo{width:170px}}
@media(min-width:901px) and (max-width:1249px){.site-header .menu-toggle{display:flex;flex-direction:column;gap:6px;background:transparent;border:0;width:44px;height:44px;justify-content:center;align-items:center;padding:10px;margin-left:auto}.menu-toggle span{width:21px;height:1.5px;background:var(--ink);transition:transform .15s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.75px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.75px) rotate(-45deg)}.main-nav:not(.is-open){display:none}.main-nav.is-open{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 8px 14px #122f7314;padding:20px 25px;flex-direction:column;align-items:stretch;max-height:calc(100vh - 85px);overflow-y:auto;gap:3px}.main-nav.is-open>a,.main-nav.is-open .product-menu>summary{padding:11px 0;font-size:16px}.main-nav.is-open .nav-actions{display:flex;justify-content:space-between;margin:12px 0 0;padding:15px 0 3px;gap:20px;border-top:1px solid var(--line)}.main-nav.is-open .product-menu-panel{position:static;width:auto;border:0;padding:12px 0 20px;box-shadow:none}.main-nav.is-open .menu-tools{grid-template-columns:1fr 1fr}.main-nav.is-open .nav-cta{font-size:14px;padding:14px 18px}.main-nav.is-open .nav-signin{font-size:15px}}
