/* Pencyl field notes — distinct chapter diagrams, one quiet visual language. */
.wordmark img{display:block;width:147px;height:37px;object-fit:contain}
.signature-section{--chapter:#edc854;--chapter-wash:#fbf3d8;display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:38px;align-items:center;background:linear-gradient(100deg,#fffdf655,transparent);overflow:hidden}
.signature-learn{--chapter:#8dbda2;--chapter-wash:#e7f1e9}.signature-build{--chapter:#e0a280;--chapter-wash:#fbede4}.signature-compete{--chapter:#aaa5cc;--chapter-wash:#eeecf5}.signature-study{--chapter:#e7b2b7;--chapter-wash:#f9edef}.signature-schools{--chapter:#a7bfce;--chapter-wash:#ebf2f4}.signature-pricing{--chapter:#d7bb85;--chapter-wash:#f6efdf}
.signature-number{font-size:12px;letter-spacing:2.2px;font-weight:700;display:inline-flex;align-items:center;gap:12px;margin-bottom:24px;color:#716953}
.signature-number::before{content:'';width:24px;height:2px;background:var(--ink)}
.signature-copy .chapter__num{font-size:21px;color:#726049;margin-bottom:10px}
.signature-copy .h2{font-size:clamp(36px,3.8vw,49px);line-height:1.05;max-width:15ch;margin-bottom:21px}
.signature-copy>p:not([class]){font-size:16px;line-height:1.7;color:var(--graphite);margin-bottom:24px;max-width:34ch}
.signature-options{display:flex;flex-wrap:wrap;gap:7px;max-width:340px}
.signature-options button{cursor:pointer;min-height:42px;border:1px solid #aaa18f;padding:8px 13px;border-radius:5px;background:var(--paper);color:var(--ink);font:700 12px var(--body);transition:background .18s,box-shadow .18s,transform .18s}
.signature-options button:hover{background:var(--chapter-wash);transform:translateY(-2px)}
.signature-options button[aria-pressed=true]{background:var(--chapter);border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}
.signature-margin-note{display:flex;align-items:center;gap:8px;font:22px/1.15 var(--display);color:#77694f;margin:27px 0 0;max-width:240px;transform:rotate(-3deg)}
.signature-margin-note svg{width:65px;min-width:40px;fill:none;stroke:#77694f;stroke-width:1.5}
.signature-figure{margin:0;background:var(--card);border:1px solid #a39984;border-radius:4px 12px 8px 4px;box-shadow:4px 5px 0 #e3ded0;min-width:0;position:relative}
.signature-figure::before{content:'';position:absolute;width:64px;height:19px;top:-10px;right:25px;transform:rotate(6deg);background:var(--chapter);opacity:.45;border-left:2px dotted #b9a879;border-right:2px dotted #b9a879;pointer-events:none}
.signature-figure-head{padding:19px 20px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e4dece;font-size:12px;font-weight:700;letter-spacing:.2px}
.signature-ink-note{font:17px var(--display);color:#7e735e;white-space:nowrap}
.signature-graph{background-image:radial-gradient(#d5cdbc .7px,transparent .7px);background-size:16px 16px;padding:5px 4px 0}
.signature-svg{width:100%;height:auto;display:block;overflow:visible;font:16px var(--body);fill:var(--ink)}
.signature-svg text{stroke:none}.signature-svg .graph-small{font:12px var(--body);letter-spacing:.7px;fill:#6e6452}.signature-svg .graph-hand{font:25px var(--display)}
.signature-svg .graph-grid{fill:none;stroke:#ded8cb;stroke-width:1;stroke-dasharray:3 4}
.signature-svg .graph-orbit{fill:none;stroke:#d9d0ba;stroke-dasharray:3 7;stroke-width:1.5}
.signature-svg .graph-thread{fill:none;stroke:#cdc3b1;stroke-width:1.5}.signature-svg .graph-thread.is-selected{stroke:var(--ink);stroke-width:2.5;stroke-dasharray:1;stroke-dashoffset:0}
.signature-svg .node-disc{fill:var(--card);stroke:#b0a58e;stroke-width:1.5}.signature-svg .is-selected .node-disc{fill:var(--chapter);stroke:var(--ink)}
.signature-svg .node-name{font-weight:700;font-size:16px}.signature-svg .node-name--backed{paint-order:stroke;stroke:var(--card);stroke-width:10px;stroke-linejoin:round}.signature-svg .graph-center{fill:#fff8e2;stroke:var(--ink);stroke-width:1.5}
.signature-svg .graph-point{fill:var(--ink);stroke:var(--card);stroke-width:2}
.signature-svg .graph-ink{fill:none;stroke:var(--ink);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1}
.signature-svg .graph-route{fill:none;stroke:#ddd2c0;stroke-width:2;stroke-dasharray:5 7;stroke-linejoin:round}
.signature-svg .graph-bridge{stroke:var(--chapter);stroke-width:3;stroke-dasharray:1;fill:none}
.signature-svg .clock-face{fill:var(--card);stroke:var(--ink);stroke-width:1.5}.signature-svg .clock-tick{stroke:#a1947c;stroke-width:1.5}.signature-svg .hour-hand{stroke:var(--ink);stroke-width:4;stroke-linecap:round}.signature-svg .minute-hand{stroke:#958a77;stroke-width:2;stroke-linecap:round}.signature-svg .clock-time{font:700 30px var(--display)}
.signature-svg .phase-bar{fill:#e7e6e0;stroke:#b4b3a8;stroke-width:1}.signature-svg .phase-bar.is-selected{fill:var(--chapter);stroke:var(--ink)}
.signature-figure figcaption{padding:17px 22px;background:var(--chapter-wash);border-top:1px solid #ded6c5}
.signature-reading{display:block;font-size:14px;line-height:1.5;font-weight:700}
.signature-detail{font-size:13px;line-height:1.6;color:#514c40;margin:8px 0 12px}
.signature-note{display:block;font-size:12px;line-height:1.6;letter-spacing:.25px;color:var(--fine)}
.signature-data{padding:11px 22px;border-top:1px solid #e4dece;font-size:12px}.signature-data summary{cursor:pointer;min-height:24px}.signature-data table{width:100%;margin:12px 0;border-collapse:collapse;text-align:left;font-size:12px}.signature-data caption{text-align:left;font-size:12px;margin-bottom:9px;color:#706653}.signature-data td,.signature-data th{padding:8px 6px;border-top:1px solid #ded6c5}.signature-data th{font-weight:700}
.signature-clock-controls{max-width:280px}.signature-clock-controls label{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;gap:10px}.signature-clock-controls output{font-size:12px;font-variant-numeric:tabular-nums}.signature-clock-controls input{width:100%;accent-color:#716b9b;min-height:44px;margin:4px 0 10px;cursor:pointer}.signature-clock-controls select{min-height:40px;max-width:180px;border:1px solid #aaa18f;border-radius:4px;padding:5px;color:var(--ink);background:var(--paper);font:12px var(--body)}
@keyframes ink-trace{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes radar-grow{from{opacity:.15;transform:scale(.83)}to{opacity:1;transform:scale(1)}}
@keyframes cell-settle{from{opacity:.3;translate:0 4px}to{opacity:1;translate:0 0}}
@keyframes phase-focus{from{fill-opacity:.2}to{fill-opacity:1}}
@media(prefers-reduced-motion:no-preference){
 .signature-section.in-view .graph-draw,.signature-section.in-view .graph-thread.is-selected{animation:ink-trace .7s var(--ease-out) both}
 .signature-section.in-view .phase-bar.is-selected{animation:phase-focus .55s ease both}
 .signature-section.in-view .graph-node.is-selected .node-disc{animation:phase-focus .4s ease both}
}
@media(max-width:1100px){.signature-section{grid-template-columns:1fr;gap:32px}.signature-copy{max-width:640px}.signature-copy>p:not([class]){max-width:56ch}.signature-copy .h2 br{display:none}.signature-copy .h2{max-width:22ch}.signature-margin-note{display:none}.signature-figure{max-width:630px;width:100%}.signature-options{max-width:none}}
@media(max-width:760px){.wordmark img{width:127px;height:32px}.signature-section{gap:26px}.signature-number{margin-bottom:18px}.signature-copy .h2{font-size:39px}.signature-copy>p:not([class]){font-size:15px}.signature-figure-head{padding:17px 13px 12px;font-size:12px}.signature-ink-note{font-size:14px}.signature-figure figcaption{padding:15px}.signature-data{padding:11px 15px}.signature-svg text{font-size:19px}.signature-svg .graph-small{font-size:15px;letter-spacing:0}.signature-svg .node-name{font-size:18px}.signature-svg .graph-hand{font-size:27px}.signature-note{font-size:12px}.signature-options button{min-height:44px;padding:8px 12px}.signature-graph{padding:9px 0}.signature-clock-controls{max-width:100%}}
@media(prefers-reduced-motion:reduce){.signature-options button:hover{transform:none}.signature-margin-note{transform:none}}

/* Colour-coded folder tabs: an uncluttered logo and a bold school palette. */
.band{background:var(--sun);padding:0;border-top:0;border-bottom:2px solid var(--ink);isolation:isolate}
.band::before{display:none}
.band__in{position:relative;padding:25px 34px;max-width:1240px;gap:44px;min-height:98px}
.band .wordmark{flex:none;display:block;padding:0;line-height:0}
.band .wordmark img{width:147px;height:37px}
.band__edge{display:none}
.band__nav{display:flex;align-items:center;gap:7px;font-size:14px;flex:none}
.band__nav>a:not(.btn){--nav-colour:#edb6c4;position:relative;display:flex;align-items:center;justify-content:center;min-height:45px;padding:11px 15px;background:var(--nav-colour);border:1.5px solid #1e2b4870;border-radius:7px 7px 2px 2px;text-decoration:none;white-space:nowrap;box-shadow:0 3px 0 #1e2b481c;transition:transform .18s var(--ease-out),box-shadow .18s,border-color .18s;isolation:isolate}
.band__nav>a:nth-child(2){--nav-colour:#efad83}.band__nav>a:nth-child(3){--nav-colour:#b4d7bc}.band__nav>a:nth-child(4){--nav-colour:#b5d2e7}.band__nav>a:nth-child(5){--nav-colour:#cbc0e1}.band__nav>a:nth-child(6){--nav-colour:#f8edc9}
.band__nav>a:not(.btn)::before{display:none}
.band__nav>a:not(.btn)::after{content:'';position:absolute;right:3px;top:3px;width:6px;height:6px;border-top:1px solid #ffffffaa;border-right:1px solid #ffffffaa;border-radius:0 3px 0 0;background:transparent}
.band__nav>a:not(.btn):is(:hover,:focus-visible){transform:translateY(-3px);border-color:var(--ink);box-shadow:0 5px 0 #1e2b4826;text-decoration:none}
.band__nav>a[aria-current=page]:not(.btn){border-color:var(--ink);box-shadow:0 4px 0 var(--ink);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1.5px;transform:translateY(-2px)}
.band__nav .nav-join{display:flex;align-items:center;justify-content:center;gap:12px;border:1.5px solid var(--ink);border-radius:5px;min-height:45px;padding:11px 17px;background:var(--ink);color:var(--paper);box-shadow:3px 3px 0 #af8735;font-size:13px;white-space:nowrap;margin-left:9px;transition:transform .18s,box-shadow .18s}
.band__nav .nav-join:hover{transform:translate(1px,1px);box-shadow:2px 2px 0 #af8735}
.nav-join svg{width:16px;height:16px;fill:none;stroke:#f5cd61;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tabs{top:172px;right:0;gap:12px;filter:drop-shadow(-2px 3px 2px #51442f18)}
.tab{--bookmark:#f1ce68;position:relative;display:flex;align-items:center;justify-content:flex-start;gap:9px;writing-mode:horizontal-tb;width:154px;min-height:58px;padding:16px 10px 16px 25px;border:0;border-radius:0;background:var(--bookmark);color:var(--ink);box-shadow:none;transform:translateX(8px);transition:transform .2s var(--ease-out),background .2s;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,10px 50%);isolation:isolate}
.tab::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#ffffff35,transparent 45%),repeating-linear-gradient(0deg,transparent 0 3px,#7b643808 3px 4px);z-index:-1}
.tab::after{content:'';position:absolute;right:4px;top:0;bottom:0;width:6px;background:#6e582d15;border-left:1px solid #6e582d18}
.tab--eraser{--bookmark:#eab7b7}.tab--wood{--bookmark:#dfc49f}.tab--mint{--bookmark:#bbd9c5}.tab--rule{--bookmark:#c1d4e2}.tab--lilac{--bookmark:#cfc4e6}
.tab__label{font:700 23px/1 var(--display);white-space:nowrap}
.tab__icon{width:17px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.tab__number{position:absolute;left:23px;top:5px;font:700 9px var(--body);letter-spacing:1px;opacity:.55}
.tab__stitch{position:absolute;inset:5px 13px 5px 16px;border-top:1px dashed #71614755;border-bottom:1px dashed #71614755;pointer-events:none}
.tab:is(:hover,:focus-visible,.is-active,[aria-current=page]){transform:translateX(0);box-shadow:none}
.tab:is(.is-active,[aria-current=page]) .tab__label{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
.tab:is(.is-active,[aria-current=page]) .tab__number{opacity:1}
.tab:focus-visible{outline:none}
.tab:focus-visible .tab__stitch{border:2px solid var(--ink);border-radius:2px}
@media(min-width:761px){.notebook{width:calc(100% - 190px);max-width:1180px;margin-left:max(28px,calc((100% - 1180px)/2 - 42px));margin-right:150px}}
@media(min-width:1001px) and (max-width:1200px){.band__in{padding:23px 28px;gap:25px}.band__nav{gap:6px}.band__nav>a:not(.btn){padding:11px 10px;font-size:13px}.band__nav .nav-join{padding:11px 12px;margin-left:5px}.band .wordmark img{width:135px;height:34px}}
@media(min-width:761px) and (max-width:1000px){.band__in{padding:22px 28px;flex-wrap:wrap;gap:22px}.band__nav{width:100%;justify-content:space-between;gap:6px}.band__nav>a:not(.btn){padding:10px 13px;font-size:13px}.band__nav .nav-join{padding:11px 14px;margin-left:5px}.tabs{top:210px}}
@media(min-width:761px) and (max-height:690px){.tabs{top:125px;gap:7px}.tab{min-height:48px;padding-top:12px;padding-bottom:12px}}
@media(min-width:761px) and (max-height:460px){.tabs{top:24px;gap:5px}.tab{min-height:44px;padding-top:10px;padding-bottom:10px}}
@media(max-width:760px){
 .band__in{padding:19px 21px;gap:20px;min-height:83px}.band .wordmark img{width:130px;height:33px}
 .menu-toggle:not([hidden]){border-radius:5px;background:var(--ink);color:var(--paper);border:1.5px solid var(--ink);box-shadow:2px 2px 0 #af8735;transform:none;padding:8px 13px;gap:12px}
 .menu-toggle svg{width:19px;height:19px;fill:none;stroke:#f5cd61;stroke-width:1.5;stroke-linecap:round}
 .band__nav{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:transparent;border:0;padding:6px 0 5px;box-shadow:none;position:relative}
 .band__nav::before{display:none}
 .band__nav>a:not(.btn){display:flex;min-width:0;min-height:48px;padding:11px 12px;font-size:14px}
 .band__nav .nav-join{grid-column:1/-1;min-height:48px;margin:3px 0 0;font-size:14px}
 .tabs{top:auto;bottom:0;left:0;right:0;padding:10px 8px calc(6px + env(safe-area-inset-bottom));gap:4px;background:var(--paper);border-top:1px solid #c8bda8;filter:none;box-shadow:0 -4px 16px #51442f12;justify-content:space-between}
 .tab{width:auto;min-width:0;min-height:55px;flex:1;padding:7px 2px 11px;gap:4px;flex-direction:column;justify-content:center;clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 5px),0 100%);transform:translateY(3px);border:0;border-radius:2px 2px 0 0}
 .tab__label{font:700 12px/1.2 var(--body)}.tab__icon{width:16px;height:16px}.tab__number{display:none}.tab__stitch{inset:3px 3px 8px;border-top:1px dashed #71614755;border-bottom:0}.tab::after{display:none}
 .tab:is(:hover,:focus-visible,.is-active,[aria-current=page]){transform:translateY(-3px)}.tab:is(.is-active,[aria-current=page]) .tab__label{text-decoration:none}.tab:is(.is-active,[aria-current=page]) .tab__stitch{border-top:2px solid var(--ink)}
 body{padding-bottom:0}.notebook{width:auto}
}
@media(prefers-reduced-motion:reduce){.tab,.tab:is(:hover,:focus-visible,.is-active,[aria-current=page]),.menu-toggle:not([hidden]){transform:none}}

@media(prefers-reduced-motion:reduce){.band__nav>a:not(.btn):is(:hover,:focus-visible,[aria-current=page]),.band__nav .nav-join:hover{transform:none}}

/* Season 1 information and the legal notebook. */
.page>.h2{margin-bottom:24px}.page>.claim+.claim{margin-top:-8px}
.season-empty{padding:38px 28px;border:1.5px dashed #b2a487;border-radius:8px;background:#fffaf0;text-align:center;max-width:720px}.season-empty p{max-width:47ch;margin:10px auto 20px}.season-empty-mark{font-size:45px;color:#94712a}
.signature-svg .report-paper{fill:var(--card);stroke:#96866a;stroke-width:1.5}.signature-svg .report-label{font-size:17px}
.contact .consent-line{display:flex;flex-direction:row;align-items:flex-start;gap:12px;font-weight:400;font-size:14px;line-height:1.6}.consent-line input{flex:none;width:19px;height:19px;margin:3px 0 0;accent-color:var(--ink)}
.legal-hero .h1{max-width:16ch}.legal-version{font-size:13px;color:#6d6353}.legal-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.legal-tabs a{font-size:14px;padding:10px 14px;background:#f3dc91;border:1px solid #b29e68;border-radius:5px;text-decoration:none;min-height:44px}.legal-tabs a:hover{background:#f5cd61}
.legal-notice{max-width:760px;background:#f8eccd;border-left:3px solid #b18c28;padding:18px 22px;margin:20px 0}.legal-notice p{font-size:15px;line-height:1.7;margin:8px 0 0}.legal-table{max-width:800px;overflow-x:auto;margin:20px 0 24px}.legal-table table{width:100%;border-collapse:collapse;font-size:16px;text-align:left;background:var(--paper)}.legal-table td,.legal-table th{padding:14px;border:1px solid #d0c7b4;vertical-align:top}.legal-table th{background:#efe3bd}
.season-footer{background:var(--sun);border-top:2px solid var(--ink);margin-top:65px;padding:52px max(28px,calc((100% - 1180px)/2)) 24px;color:var(--ink)}
.footer-grid{display:grid;grid-template-columns:1.1fr 1.3fr 1.2fr .9fr;gap:36px;padding-right:50px}.footer-grid .footer-logo{align-self:start;justify-self:start}.footer-grid nav{display:flex;flex-direction:column;align-items:flex-start;gap:9px;font-size:14px}.footer-grid h2{font:700 25px var(--display);margin:0 0 5px}.footer-grid a{text-decoration:none}.footer-grid nav a:hover{text-decoration:underline;text-underline-offset:4px}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:38px;padding-top:22px;padding-right:50px;border-top:1px solid #8f713954;font-size:12px}
.pencyl-signature{position:relative;display:flex;flex-direction:column;align-items:center;transform:rotate(-7deg);padding:0 10px}.pencyl-signature span{font:700 52px/.9 var(--display);letter-spacing:-2px}.pencyl-signature svg{width:142px;height:23px;stroke:var(--ink);stroke-width:1.8;fill:none;stroke-linecap:round}
@media(max-width:1000px){.band__nav>a:not(.btn){padding-left:9px;padding-right:9px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px}.footer-grid .footer-logo{grid-column:1/-1}.footer-grid,.footer-bottom{padding-right:110px}}
@media(max-width:760px){.footer-grid,.footer-bottom{padding-right:0}.season-footer{padding:36px 24px 20px}.footer-grid{gap:26px 20px}.footer-grid nav{font-size:13px}.footer-bottom{align-items:flex-start;flex-direction:column}.pencyl-signature{align-self:flex-end}.legal-table td,.legal-table th{padding:10px;font-size:14px}.signature-svg .report-label{font-size:20px}}

/* Student edition: one desktop navigation, one mobile bookmark dock. */
@media(min-width:761px){
 .tabs{display:none}.notebook{width:calc(100% - 64px);max-width:1180px;margin:38px auto 0}
 .footer-grid,.footer-bottom{padding-right:0}
}
.home .page{padding-top:42px;padding-bottom:42px}.home .page--hero{padding-top:60px;padding-bottom:45px}
.home .hero__grid{grid-template-columns:1.05fr 1fr;gap:50px;align-items:center}
.season-label{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700;letter-spacing:.3px;margin:0 0 22px}
.season-label>span{width:7px;height:7px;background:#b36a26;border-radius:50%}
.home .hero__grid .h1{font-size:clamp(55px,5.8vw,78px);max-width:14ch;letter-spacing:-2px;line-height:1.03;margin:0 0 22px}
.hero-question{color:#6c705c}.home .hero__grid .lead{font-size:19px;margin-bottom:12px}.hero-points{list-style:none;padding:0;margin:0 0 21px;font-size:15px;line-height:1.75}
.hero-points li::before{content:'→';display:inline-block;width:22px;color:#8d6920}.course-ticket{display:flex;align-items:center;gap:0;margin-bottom:24px;width:fit-content;border:1px solid #b5a67e;background:#f4e3a5;border-radius:3px;transform:rotate(-1deg)}
.course-ticket>span{padding:9px 15px;font-size:12px}.course-ticket>span+span{border-left:1px dashed #9b8753}.course-ticket b{font:700 25px var(--display);margin-right:4px}
.hero-course-link,.text-link{font-size:14px;font-weight:700;text-underline-offset:5px}
.hero-lab-wrap{position:relative;min-width:0}.hero-lab-note{position:absolute;top:-36px;right:18px;font:20px var(--display);color:#7b6845;display:flex;align-items:center;gap:9px;transform:rotate(2deg)}.hero-lab-note svg{height:30px;width:49px;fill:none;stroke:currentColor;stroke-width:1.5}
/* Penny preview: a small app window. It is its own container, so the same markup is a compact card in the home hero and a wide sidebar + split-pane window on the Penny page. */
.penny-lab{container-type:inline-size;position:relative;width:100%;max-width:580px}#penny-preview .penny-lab{max-width:1080px}
.penny-lab__window{background:var(--card);border:1.5px solid var(--ink);border-radius:12px;box-shadow:7px 7px 0 #e4c55d;overflow:hidden}
.penny-lab__bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:8px 14px;background:#f5d56e;border-bottom:1.5px solid var(--ink)}
.penny-lab__dots{display:flex;gap:7px}.penny-lab__dots i{width:12px;height:12px;border-radius:50%;border:1.5px solid var(--ink);background:#efb3b9}.penny-lab__dots i+i{background:var(--card)}.penny-lab__dots i+i+i{background:#bfd8bd}
.penny-lab__title{font:700 22px/1 var(--display)}.penny-lab__badge{justify-self:end;font-size:12px;font-weight:700;letter-spacing:1px;border:1px solid #796940;border-radius:3px;padding:3px 6px;transform:rotate(3deg)}
.penny-lab__head{grid-area:head;display:flex;align-items:center;gap:12px;padding:14px 18px 6px;background:#f6f0e1}.penny-avatar{width:38px;height:46px;flex:none;transform-origin:50% 90%}.penny-avatar svg{width:100%;height:100%}
.penny-lab__head strong{display:block;font:700 30px/1 var(--display)}.penny-lab__head div>span{font-size:12px;color:#554a33}
.penny-lab__modes{grid-area:modes;display:flex;gap:4px;padding:8px 14px 12px;background:#f6f0e1}.penny-lab__modes button{flex:1;border:1px solid transparent;background:transparent;border-radius:6px;min-height:42px;padding:7px 6px;font:700 13px var(--body);color:var(--ink);cursor:pointer}
.penny-lab__modes button:hover{border-color:#b8a98a}.penny-lab__modes button[aria-pressed=true]{background:var(--ink);color:#fbf8f1}
.penny-lab__work{grid-area:work;padding:20px 22px;position:relative;background:var(--ink);color:#fff9e8;overflow:hidden}.penny-lab__eyebrow,.penny-lab__answer-label{display:block;font:700 20px/1 var(--display)}.penny-lab__eyebrow{color:#f3d369}.penny-lab__answer-label{color:#77632a}
.penny-lab__question{font-size:17px;margin:9px 0 12px;font-weight:700;line-height:1.4}.penny-lab__code{font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#d8e5d7}
.penny-lab__thought{display:none;align-items:center;gap:4px;font-size:12px;margin-top:12px;color:#f3d369}.penny-lab__thought i{width:4px;height:4px;border-radius:50%;background:currentColor}.penny-lab__thought span{margin-left:5px}
.penny-lab[data-state=thinking] .penny-lab__thought{display:flex}.penny-lab__answer{grid-area:answer;padding:20px 22px 10px;min-height:170px}
.penny-lab__reply{font-size:15px;line-height:1.6;margin:9px 0 11px}.penny-lab__fix{font-size:13px;line-height:1.6;background:#e4efdf;display:block;padding:9px 11px;border-left:2px solid #739c70;white-space:pre-wrap;overflow-wrap:anywhere}
.penny-lab__actions{grid-area:actions;display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;padding:4px 22px 14px}.penny-lab__actions .btn{font-size:14px;padding:10px 15px;min-height:44px;border-width:1.5px;white-space:nowrap}.penny-lab__hint{border:0;background:none;color:var(--ink);font:700 14px var(--body);text-decoration:underline;text-underline-offset:4px;min-height:44px;cursor:pointer;padding:4px}
.penny-lab__note{grid-area:note;font-size:12px;color:#6b6353;text-align:center;margin:0;padding:10px 12px;border-top:1px dashed #d7cbb0}
/* Phone width: the title bar already names Penny, so the head row goes and the panes tighten to keep the home page short. */
@container (max-width:400px){.penny-lab__head{display:none}.penny-lab__modes{padding:8px}.penny-lab__modes button{font-size:12px;padding-inline:2px;min-height:40px}.penny-lab__work{padding:14px 16px}.penny-lab__question{font-size:15px;margin:6px 0 8px}.penny-lab__code{font-size:12px}.penny-lab__answer{padding:14px 16px 6px;min-height:118px}.penny-lab__reply{font-size:14px;margin:6px 0 8px}.penny-lab__actions{padding:0 16px 8px}.penny-lab__actions .btn,.penny-lab__hint{font-size:13px}.penny-lab__note{padding:8px}}
@container (min-width:720px){
 .penny-lab__window{display:grid;grid-template-columns:230px 1fr 1fr;grid-template-rows:auto auto 1fr auto auto;grid-template-areas:"bar bar bar" "head work answer" "modes work answer" "modes work actions" "note note note";min-height:clamp(440px,50cqw,540px)}
 .penny-lab__bar{grid-area:bar;padding:11px 18px}.penny-lab__dots i{width:13px;height:13px}.penny-lab__title{font-size:25px}
 .penny-lab__head{padding:24px 20px 14px}.penny-lab__modes{flex-direction:column;justify-content:flex-start;gap:6px;padding:8px 12px 20px}.penny-lab__modes button{flex:none;text-align:left;padding:10px 14px;font-size:15px}
 .penny-lab__work{padding:38px 36px}.penny-lab__question{font-size:23px;line-height:1.3;margin:12px 0 18px}.penny-lab__code{font-size:15px}.penny-lab__eyebrow,.penny-lab__answer-label{font-size:24px}
 .penny-lab__answer{padding:38px 36px 10px}.penny-lab__reply{font-size:17px;margin:12px 0 16px}.penny-lab__fix{font-size:15px}.penny-lab__actions{padding:4px 36px 30px}.penny-lab__note{font-size:12px}
}
@keyframes penny-nod{0%,100%{transform:rotate(0)}40%{transform:rotate(-10deg)}70%{transform:rotate(5deg)}}
@keyframes pencil-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.penny-lab[data-state=thinking] .penny-avatar{animation:penny-nod .52s ease}.penny-lab[data-state=complete] .penny-lab__answer{animation:pencil-reveal .25s ease-out}}
.course-outline{list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 30px;counter-reset:step}
.course-outline li{display:flex;align-items:flex-start;gap:15px;padding:20px 0;border-top:1px solid #c7bdab}.course-outline li>span{font:700 25px var(--display);background:#ecd068;min-width:37px;height:37px;display:grid;place-items:center;transform:rotate(-4deg);border-radius:2px}
.course-outline li:nth-child(2)>span{background:#e8b4b9}.course-outline li:nth-child(3)>span{background:#bfd8bd}.course-outline li:nth-child(4)>span{background:#bfd3e2}.course-outline h3{font:700 22px/1.15 var(--display);margin:0 0 5px}.course-outline p{font-size:14px;line-height:1.5;margin:0;max-width:34ch}
.opportunity-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.opportunity{padding:24px;border:1px solid #a39880;border-radius:6px;position:relative}.opportunity--world{background:#e6eddf}.opportunity--idea{background:#f5e2bf}.opportunity-tag{display:block;font:700 21px/1 var(--display);color:#5d5340}.opportunity h3{font:700 34px/1.05 var(--display);margin:15px 0}.student-points{padding-left:18px;margin:14px 0;font-size:15px;line-height:1.6}.student-points li+li{margin-top:7px}.opportunity a{font-size:13px;font-weight:700;text-underline-offset:4px}.opportunity-fineprint{font-size:12px;line-height:1.5;max-width:85ch;color:var(--fine);margin:15px 0 0}
.family-strip{display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0}.family-strip p{flex:1;margin:0}.family-strip b{font:700 25px var(--display);display:block}.family-strip span{font-size:14px;line-height:1.5;display:block}.family-strip a{font-size:13px;font-weight:700;white-space:nowrap}
.home-map{padding:0;margin:0;border-top:2px dashed var(--rule)}.home-map>summary{padding:21px 40px 21px calc(var(--gutter) + 28px);font-size:14px;font-weight:700;cursor:pointer}.home-map>summary>span{margin-left:15px}.home-map .signature-section{border-top:1px solid #d5c9af}
.card-points{padding-left:18px;margin:8px 0 0;font-size:16px;line-height:1.6}.card-points li::marker{color:#9e7836}.home #next .h2{max-width:none}.home #next .claim{font-size:16px;margin-bottom:20px}
@media(min-width:761px) and (max-width:1000px){.home .hero__grid{grid-template-columns:1fr 1fr;gap:25px}.home .page--hero{padding-left:46px;padding-right:26px}.home .hero__grid .h1{font-size:56px}.home .hero__grid .lead{font-size:17px}.hero-lab-note{font-size:16px;right:0}}
@media(max-width:760px){
 .home .notebook{margin-top:20px}.home .page{padding:29px 20px 29px 31px}.home .page--hero{padding-top:29px;padding-bottom:32px}.home .hero__grid{grid-template-columns:1fr;gap:30px}.home .hero__grid .h1{font-size:clamp(44px,12.5vw,62px);letter-spacing:-1px;max-width:14ch;margin-bottom:17px}.season-label{margin-bottom:17px}.home .hero__grid .lead{font-size:17px;margin-bottom:7px}.hero-points{font-size:15px;line-height:1.7;margin-bottom:15px}.course-ticket{margin-bottom:18px}.course-ticket>span{font-size:14px;padding:6px 10px}.course-ticket b{font-size:22px}.home .hero__grid .cta-row{gap:16px;margin-bottom:10px}.home .hero__grid .btn--big{font-size:15px;padding:12px 19px}.hero-course-link{font-size:14px}.hero-lab-note{display:none}
 .penny-lab__window{box-shadow:4px 5px 0 #e4c55d}
 .home .page>.h2{font-size:36px;max-width:20ch;margin-bottom:19px}.home .chapter__num{font-size:18px;margin-bottom:7px}.course-outline{grid-template-columns:1fr;gap:0;margin-bottom:13px}.course-outline li{padding:12px 0;gap:12px}.course-outline li>span{min-width:30px;height:30px;font-size:21px}.course-outline h3{font-size:21px;margin-bottom:3px}.course-outline p{font-size:14px;max-width:none;line-height:1.5}.text-link{font-size:14px}
 .opportunity-grid{grid-template-columns:1fr;gap:13px}.opportunity{padding:18px 19px}.opportunity h3{font-size:29px;margin:10px 0}.opportunity h3 br{display:none}.opportunity-tag{font-size:19px}.student-points{font-size:15px;line-height:1.5;margin:10px 0 13px}.student-points li+li{margin-top:5px}.opportunity a{font-size:14px}.opportunity-fineprint{font-size:14px;line-height:1.6;margin:12px 0 0}
 .family-strip{flex-wrap:wrap;gap:13px;padding:15px 0}.family-strip p{flex:1 1 40%;min-width:0}.family-strip b{font-size:23px}.family-strip span{font-size:14px}.family-strip a{font-size:14px;flex-basis:100%}.home-map>summary{font-size:14px;padding:18px 20px 18px 31px}.home-map>summary>span{margin-left:3px}.home #next .h2{font-size:35px}.home #next .claim{font-size:14px;line-height:1.6}.home #next .btn{font-size:15px;padding:12px 20px}
 .season-footer{margin-top:30px;padding:28px 23px 18px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-grid .footer-logo img{width:116px;height:auto}.footer-grid nav{gap:6px;font-size:14px}.footer-grid h2{font-size:22px;margin-bottom:3px}.footer-bottom{flex-direction:row;align-items:center;margin-top:23px;padding-top:17px;gap:12px}.pencyl-signature{flex:none;padding:0}.pencyl-signature span{font-size:40px}.pencyl-signature svg{width:95px}
}

/* Real tool marks, collected like a tidy pencil case. */
.toolbox-strip{margin-top:24px;padding-top:17px;border-top:1px dashed #bdad8b}
.toolbox-strip h3{font:700 24px var(--display);margin:0 0 10px}
.toolbox-strip ul{display:flex;gap:8px;list-style:none;padding:0 0 9px;margin:0 0 6px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b6a272 transparent}
.toolbox-strip li{flex:1;min-width:105px;scroll-snap-align:start}.toolbox-strip li a{display:flex;align-items:center;gap:8px;padding:11px 10px;background:var(--card);border:1px solid #c2b69d;border-radius:5px;text-decoration:none;font-size:12px;font-weight:700;min-height:49px}
.toolbox-strip img{width:24px;height:24px;object-fit:contain;flex:none}.toolbox-strip a:hover{border-color:var(--ink)}
.toolbox-filters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 24px}.toolbox-filters button{min-height:44px;border:1px solid #b5a88e;border-radius:4px;padding:10px 14px;background:var(--paper);color:var(--ink);font:700 13px var(--body);cursor:pointer}.toolbox-filters button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.toolbox-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.toolbox-card{display:flex;flex-direction:column;align-items:flex-start;padding:20px;background:var(--card);border:1px solid #b7a98d;border-radius:5px 10px 5px 5px;box-shadow:3px 3px 0 #ded4bf;min-width:0}
.toolbox-card__head{display:flex;align-items:center;gap:12px;min-height:48px;width:100%}.toolbox-logo{flex:none;width:43px;height:43px;display:grid;place-items:center;border:1px solid #e1d8c7;background:#fff;border-radius:9px}.toolbox-logo img{width:29px;height:29px;object-fit:contain}
.toolbox-card h3{font:700 17px/1.2 var(--body);margin:0 0 3px}.toolbox-card__head div>span{font-size:12px;color:#746a56}.toolbox-card>p{font-size:14px;line-height:1.6;margin:15px 0 12px}.toolbox-card>a{margin-top:auto;font-size:12px;font-weight:700;text-underline-offset:4px;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:38px}
.toolbox-notes{border-top:1px dashed #bdad8b;margin-top:25px;padding-top:14px;max-width:80ch}.toolbox-notes p{font-size:12px;line-height:1.6;color:var(--fine);margin:0 0 9px}
@media(max-width:1000px){.toolbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.toolbox-strip{margin-top:18px;padding-top:12px}.toolbox-strip h3{font-size:21px;margin-bottom:8px}.toolbox-strip li{min-width:101px}.toolbox-strip li a{font-size:12px;padding:8px;min-height:43px}.toolbox-strip img{width:22px;height:22px}.toolbox-strip ul{padding-bottom:6px;margin-bottom:5px}.toolbox-strip>.text-link{font-size:12px}.toolbox-grid{gap:12px}.toolbox-card{padding:15px}.toolbox-card__head{flex-direction:column;align-items:flex-start;gap:10px}.toolbox-card h3{font-size:15px}.toolbox-card>p{font-size:12px;margin-top:12px}.toolbox-card>a{font-size:12px}.toolbox-notes p{font-size:12px}.toolbox-filters{gap:6px;margin-bottom:18px}.toolbox-filters button{font-size:12px;padding:9px 11px}}

/* Project notebook: real interface examples, drawn with accessible HTML. */
.project-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0}
.project-example{padding:22px;background:var(--card);border:1px solid #bbaa89;border-radius:8px;box-shadow:4px 4px 0 #ded3bb;color:var(--ink)}
.project-example__label{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:800;letter-spacing:.05em;margin-bottom:16px}
.project-example__label span:first-child{background:var(--sun);padding:3px 9px;border-radius:3px}
.project-mock{margin:0 0 22px;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#f5f0e4;min-height:235px}
.project-mock figcaption{padding:9px 12px;font-size:12px;background:#e9e1d1;border-bottom:1px solid var(--line)}
.project-mock figcaption span{letter-spacing:2px;margin-right:8px;color:#8a7c62}
.project-mock>div{padding:16px;font-size:13px;line-height:1.5}
.project-mock small{display:block;font-size:12px;line-height:1.5;color:#554d3e}
.mock-chat>span{display:block;text-align:right;font-size:12px}.mock-chat p{background:#d4e5db;padding:8px 12px;border-radius:8px;margin:8px 0;width:90%}
.mock-planner p{display:flex;align-items:center;gap:8px;margin:8px 0;padding:7px;background:var(--card);border-bottom:1px solid #d8cbaa}.mock-planner p>span{color:#7a6444}.mock-planner b{margin-left:auto;font-size:12px}
.mock-sorter>div{display:flex;justify-content:space-around;font-size:45px;color:var(--ink)}.mock-sorter>p{display:flex;justify-content:space-around;gap:12px}.mock-sorter b{background:#c7dbeb;padding:8px 12px;font-size:12px;border:1px dashed #6f8ba2;border-radius:5px}
.mock-story>div{display:flex;gap:8px}.mock-story>div span{flex:1;background:#efc1bd;padding:15px 4px;text-align:center;border-radius:4px;font-size:12px}.mock-story>div span:nth-child(2){background:var(--sun)}.mock-story>div span:nth-child(3){background:#c5dfcf}.mock-story p{font-weight:700}
.project-example h3{font-size:22px;line-height:1.2;margin:0 0 10px}.project-example>p{font-size:14px;line-height:1.65}.project-skills{display:block;font-size:12px;color:#655b49;margin:16px 0}.project-example>a{font-size:12px;font-weight:800;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}
.toolbox-month{display:block;margin-top:14px;font-size:12px;font-weight:800;color:#695437}.toolbox-card .toolbox-activity{font-size:12px;justify-content:flex-start}
.fee-note .launch-details{margin:16px 0}.page.launch-note{padding-top:0;padding-bottom:30px;border-top:0}.launch-details{margin:0;border-left:3px solid #e2b834;padding:8px 16px;font-size:14px;line-height:1.7;color:#5d5340;max-width:80ch}
.fee-note{background:var(--card);border:2px solid var(--ink);box-shadow:5px 5px 0 var(--sun);padding:24px;max-width:650px}.fee-note h3{font-size:28px;margin:0 0 12px}.fee-note p{line-height:1.7}
@media(max-width:600px){.project-examples{grid-template-columns:1fr;gap:20px}.project-example{padding:16px}.project-mock{min-height:220px}.project-example h3{font-size:21px}}

@font-face{font-family:'Pencyl Letter';src:url('assets/fonts/Kalam-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
/* Handwritten founder's letter: ink on ruled paper, re-read with a pencil. Every block is a multiple of --lh so the writing stays on the rules. */
.founder-intro{padding-bottom:24px}.founder-page{padding-top:12px}.founder-ink{position:absolute}
.founder-paper{--lh:38px;--fs:22px;--margin-x:39px;--rule-y:-1px;--ink:#2f4468;--pencil:#5f6a7f;position:relative;max-width:800px;margin:0 auto;padding:48px 64px 54px 72px;background:linear-gradient(90deg,transparent var(--margin-x),#e9bab4 var(--margin-x),#e9bab4 calc(var(--margin-x) + 1px),transparent calc(var(--margin-x) + 1px)),repeating-linear-gradient(0deg,transparent 0,transparent calc(var(--lh) - 1px),#b8c9d566 calc(var(--lh) - 1px),#b8c9d566 var(--lh)) 0 var(--rule-y),#fffdf5;border:1px solid #d7ccb5;border-radius:3px 3px 20px 3px;box-shadow:5px 6px 0 #e8dfcb,6px 7px 0 #c8bda7;color:var(--ink);rotate:-.4deg;animation:letter-open .5s ease-out both;transform-origin:top center}
.founder-seal{display:block;width:var(--lh);height:var(--lh);margin-bottom:var(--lh)}.founder-pencil{position:absolute;right:30px;top:28px;width:150px;height:90px}
/* The ink filter nudges every glyph a little differently, so repeated letters stop looking typeset. */
.founder-paper :is(p,h2,blockquote,a){font-family:'Pencyl Letter',var(--display);font-size:var(--fs);line-height:var(--lh);font-weight:400;letter-spacing:0;margin:0 0 var(--lh);padding:0;border:0;background:none;color:var(--ink);filter:url(#founder-ink);text-shadow:0 0 .3px currentColor;transform-origin:left center}
.founder-paper h2{font-size:calc(var(--fs)*1.27);rotate:-.5deg}.founder-paper blockquote{font-size:calc(var(--fs)*1.12);rotate:-.3deg}
.founder-paper .founder-dateline{color:var(--pencil)}
.founder-paper>p:nth-of-type(odd){rotate:-.25deg;margin-left:3px}
.founder-paper>p:nth-of-type(3n){rotate:.2deg;margin-left:-2px;word-spacing:.03em;color:#2a3d60}
.founder-paper>p:nth-of-type(4n){word-spacing:-.02em;letter-spacing:.01em}
.founder-paper s{text-decoration:line-through 2px;opacity:.75}.founder-paper u{text-decoration:underline 1.5px var(--pencil);text-underline-offset:5px}
.founder-paper mark{color:inherit;padding:0 6px;margin:0 -6px;border-radius:8px 3px 10px 4px;background:linear-gradient(transparent 20%,#f3cb5799 20%,#f3cb5799 88%,transparent 88%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* Pencil notes sit in the blank rule between paragraphs. */
.founder-paper .founder-note{font-family:var(--display);font-size:calc(var(--fs)*1.3);color:var(--pencil);text-align:right;margin:calc(var(--lh)*-1) 8px 0 0;rotate:-1.5deg;transform-origin:right center;text-shadow:none}
.founder-arrow{width:40px;height:28px;margin-right:6px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.founder-signoff{position:relative}.founder-paper .founder-signoff :is(p,a){margin:0}.founder-signoff a{display:inline-block}
.founder-paper .founder-signature{font-family:var(--display);font-weight:700;font-size:calc(var(--fs)*2.2);line-height:calc(var(--lh)*2);rotate:-3deg;translate:0 9px}
.founder-ink-line{position:absolute;left:0;top:calc(var(--lh)*3 - 15px);width:195px;height:17px;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round}
.founder-paper .founder-signoff+p{margin:var(--lh) 0 0}
.founder-next{max-width:800px;margin:36px auto 0}.legal-tabs a[aria-current=page]{background:var(--sun);color:var(--ink);border-color:var(--ink);box-shadow:2px 2px 0 var(--ink);font-weight:700}
@keyframes letter-open{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.founder-paper{--lh:34px;--fs:20px;--margin-x:9px;--rule-y:-13px;padding:30px 14px 36px 22px;rotate:none}.founder-pencil{right:12px;top:15px;width:110px;height:75px}}
@media(prefers-reduced-motion:reduce){.founder-paper{animation:none}}
/* Analytics consent banner and footer link */
.consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:40;max-width:720px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:14px 18px;background:var(--paper);color:var(--ink);border:2px solid var(--ink);border-radius:12px;box-shadow:4px 4px 0 var(--ink);font-size:15px}
.consent p{margin:0}.consent div{display:flex;gap:8px;flex:none}
@media(max-width:560px){.consent{flex-direction:column;align-items:stretch}.consent div>*{flex:1}}
.footer-link{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}.footer-link:hover{text-decoration:underline;text-underline-offset:4px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Shared rules from the September 2026 UI pass. Yellow buttons mean "join"; demo actions are paper. */
.penny-lab__actions .btn{background:var(--paper)}.penny-lab__actions .btn:hover{background:var(--paper-2)}
.cta-row{align-items:stretch}.cta-row .btn{display:inline-flex;align-items:center;justify-content:center;text-align:center}
@media(max-width:760px){
 .cta-row .btn{flex:1 1 100%}.btn--big{font-size:18px;padding:14px 20px}
 .footer-grid nav{gap:0;font-size:14px}.footer-grid nav :is(a,.footer-link){display:flex;align-items:center;min-height:44px}.footer-bottom{font-size:12px}
 body .season-footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
}

/* Legal pages read as one document: quiet headings, a contents list, one measure, text on the rules. */
.legal-doc{--measure:720px;display:grid;grid-template-columns:minmax(0,var(--measure)) minmax(200px,1fr);gap:0 56px;align-items:start}
.legal-body{grid-column:1;grid-row:1;min-width:0}.legal-toc{grid-column:2;grid-row:1;position:sticky;top:24px;padding:14px 18px 16px;background:#f8eccd;border-left:3px solid #b18c28;rotate:.4deg}
.legal-toc h2{font:700 24px/1.1 var(--display);margin:0 0 8px}.legal-toc ul{list-style:none;margin:0;padding:0}.legal-toc a{display:block;padding:6px 0;font-size:14px;line-height:1.4;text-underline-offset:4px}
.legal-clause{scroll-margin-top:20px}.legal-clause+.legal-clause{margin-top:40px}.legal-h{font:700 32px/1.15 var(--display);margin:0 0 12px;text-wrap:balance}
.legal-clause p,.legal-clause .claim{max-width:none;font-size:17px;line-height:32px;margin:0 0 16px}.legal-clause .legal-table{max-width:none}
.legal-hero .legal-notice{max-width:720px;margin:18px 0 0}.legal-hero .lead{max-width:720px}
.legal-docs{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:8px}.legal-doc-link{display:flex;flex-direction:column;gap:8px;padding:20px 22px;border:2px solid var(--ink);border-radius:var(--sketch);background:var(--card);text-decoration:none;box-shadow:3px 4px 0 var(--ink);transition:transform .16s,box-shadow .16s}
.legal-doc-link:hover{transform:translate(2px,2px);box-shadow:1px 2px 0 var(--ink)}.legal-doc-link strong{font:700 30px/1.1 var(--display)}.legal-doc-link span{font-size:15px;line-height:1.6}.legal-doc-link b{font-size:15px;text-decoration:underline;text-underline-offset:5px}
@media(max-width:1000px){.legal-doc{display:block}.legal-toc{position:static;rotate:none;margin-bottom:32px}.legal-toc a{padding:9px 0;font-size:15px}}
@media(max-width:600px){.legal-docs{grid-template-columns:1fr}.legal-h{font-size:28px}.legal-clause p,.legal-clause .claim{font-size:16px}
 .legal-table thead{display:none}.legal-table table,.legal-table tbody,.legal-table tr,.legal-table th,.legal-table td{display:block;width:auto}.legal-table tr{padding:12px 0;border-bottom:1px solid #d0c7b4}.legal-table :is(th,td){border:0;padding:2px 0;font-size:15px}.legal-table td:first-child{font-weight:700}}
@media(prefers-reduced-motion:reduce){.legal-doc-link{transition:none}}

/* Page components from the UI pass. They sit last so they win over the earlier card-grid rules at every width. */
.card-text{margin:8px 0 0;font-size:16px;line-height:1.6}
/* Build: a checklist rather than the shared numbered cards */
.check-list{list-style:none;margin:0;padding:0;max-width:760px}.check-list li{position:relative;padding:14px 0 14px 44px;border-top:1px solid var(--line)}.check-list li:last-child{border-bottom:1px solid var(--line)}
.check-list li::before{content:'';position:absolute;left:4px;top:17px;width:22px;height:22px;border:2px solid var(--ink);border-radius:4px 6px 5px 7px;background:var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M4 11l5 5 9-12' fill='none' stroke='%231e2b48' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.check-list h3{font:700 27px/1.1 var(--display);margin:0 0 4px}.check-list p{margin:0;font-size:16px;line-height:1.6;max-width:62ch}
/* A taped note for the message a page must not bury */
.taped-note{position:relative;max-width:640px;margin:34px 0 0;padding:24px 26px 20px;background:#f8eccd;border:1px solid #d9c58c;box-shadow:3px 4px 0 #e3d7b6;rotate:-.5deg}
.taped-note::before{content:'';position:absolute;top:-11px;left:50%;width:92px;height:22px;translate:-50% 0;rotate:-2deg;background:#e9bab499;border-left:1px dashed #c99;border-right:1px dashed #c99}
.taped-note strong{display:block;font:700 27px/1.1 var(--display);margin-bottom:6px}.taped-note p{margin:0;font-size:16px;line-height:1.65}
/* Families: the monthly report as one sheet */
.report-sheet{max-width:760px;padding:22px 28px 18px;background:var(--card);border:1.5px solid var(--ink);border-radius:3px 3px 18px 3px;box-shadow:5px 6px 0 #d9e2ea;rotate:.3deg}
.report-sheet__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 6px;padding-bottom:10px;border-bottom:2px solid var(--ink);font:700 28px/1 var(--display)}.report-sheet__head span+span{font:400 13px var(--body);color:var(--fine)}
.report-row{display:grid;grid-template-columns:40px 1fr;gap:0 10px;padding:13px 0;border-bottom:1px dashed var(--line)}.report-row span{grid-row:span 2;font:700 22px/1.2 var(--display);color:#5d7a96}.report-row h3{font:700 17px/1.3 var(--body);margin:0}.report-row p{margin:2px 0 0;font-size:15px;line-height:1.6}
.report-sheet__foot{margin:14px 0 0;font:500 22px/1.3 var(--display);color:#5d5340}
/* Learn: the toolbox is a notebook list, not twelve cards */
.toolbox-grid{display:block;border-top:1px solid var(--line);margin-bottom:14px}
.toolbox-card{display:grid;grid-template-columns:minmax(0,250px) 84px minmax(0,1fr);align-items:center;gap:4px 22px;padding:11px 4px;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}
.toolbox-card[hidden]{display:none}.toolbox-card__head{min-height:0;flex-direction:row;align-items:center;gap:12px}.toolbox-logo{width:38px;height:38px}
.toolbox-card h3{font-size:16px;margin:0}.toolbox-card__head div>span{font-size:13px}.toolbox-month{margin:0;font:700 21px/1 var(--display);color:#695437}.toolbox-card>p{margin:0;font-size:15px;line-height:1.55}
.toolbox-roadmap{display:inline-flex;align-items:center;min-height:44px}
/* Home */
.opportunity{border:1.5px solid var(--ink);border-radius:3px 12px 4px 10px;box-shadow:4px 5px 0 #d8cfbb}.opportunity--world{rotate:-.4deg}.opportunity--idea{rotate:.35deg}
.family-strip{display:grid;grid-template-columns:1fr 1fr;gap:16px 30px;align-items:start}.family-strip a{grid-column:1/-1;justify-self:start}
.toolbox-strip li{flex:none}.toolbox-strip li a{padding-right:16px}
.penny-lab__answer{min-height:136px}
.opportunity-fineprint,.toolbox-notes p{font-size:13px;line-height:1.6}
/* Together */
.season-empty{text-align:left}.season-empty p{margin-left:0}
/* Build */
.project-example h3{font:700 30px/1.1 var(--display)}.project-example__label span:first-child{background:none;padding:0;font:700 22px/1 var(--display);letter-spacing:0}
.project-mock{min-height:0;height:250px}.project-example>p{font-size:15px}.project-example>a{font-size:14px}
/* Founder's Plan: the letter is the only ruled surface */
.founder-page{background:var(--paper)}
@container (min-width:720px){.penny-lab__window{min-height:0}.penny-lab__work{padding-block:32px}.penny-lab__answer{padding-top:32px;min-height:200px}}
@media(max-width:760px){
 .toolbox-card{grid-template-columns:minmax(0,1fr) auto;padding:12px 2px}.toolbox-card>p{grid-column:1/-1;font-size:14px}.toolbox-month{font-size:19px}
 .check-list h3,.taped-note strong{font-size:24px}.report-sheet{padding:18px 16px 14px}.report-sheet__head{font-size:24px}
 .project-mock{height:240px}.taped-note{padding:22px 18px 16px}
}
/* Diagrams on phones: the 560-unit drawing renders at about half size, so labels are set large enough to land at 12px. */
@media(max-width:760px){.signature-svg text{font-size:22px}.signature-svg .graph-small{font-size:21px;letter-spacing:0}.signature-svg .node-name{font-size:20px}.signature-svg .graph-hand{font-size:27px}.signature-svg .report-label{font-size:22px}}
/* One selected style for in-page toggles */
.signature-options button{font-size:14px}.toolbox-filters button{font-size:14px;border-radius:5px}.toolbox-filters button[aria-pressed=true]{background:var(--sun);color:var(--ink);border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}
/* 404: something has actually been rubbed out */
.lost-page{position:relative;min-height:46vh}.rubbed-out{position:absolute;right:9%;top:50%;translate:0 -50%;width:min(300px,26vw);fill:#e6b7bb;stroke:var(--ink);stroke-width:2;stroke-linejoin:round}.rubbed-out__smudge{fill:none;stroke:#b9b3a6;stroke-width:9;stroke-linecap:round;opacity:.55}.rubbed-out circle{stroke:none}.rubbed-out__sleeve{fill:#c8d8ea}
@media(max-width:760px){.lost-page{min-height:0}.rubbed-out{position:static;translate:none;display:block;width:170px;margin:0 0 8px}}
/* Print: legal pages and the founder letter are the ones people keep */
@media print{.band,.tabs,.rings,.season-footer,.consent,.skip-link,.legal-toc,.legal-tabs,.cta-row,.launch-note{display:none!important}body,.notebook,.page{background:#fff!important;box-shadow:none!important}.notebook{margin:0;border:0;max-width:none}.page{padding:0 0 18pt}.legal-doc{display:block}.legal-clause{break-inside:avoid}.founder-paper{rotate:none;box-shadow:none;border:0;animation:none}.founder-paper :is(p,h2,blockquote,a){filter:none}a{text-decoration:none}}
