/* LabCauldron: one header and one footer for every page (home, FAQ, About, Terms, Privacy and the signed-in app). Loaded last. */
header.lc-head{position:sticky;top:0;z-index:30;background:rgba(251,248,241,.94);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid #E8E1D2;border-top:0;padding:0}
header.lc-head.brand{position:relative;background:rgba(251,248,241,.94);background-image:none}
header.lc-head .wrap{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px;max-width:1080px;margin:0 auto;padding:8px max(16px,env(safe-area-inset-left,0px));min-height:0}
header.lc-head .brandgrp{display:grid;gap:0;min-width:0;margin:0}
header.lc-head .mark{display:inline-flex;align-items:center;gap:6px;margin:0;padding:0;font:650 1.4rem/1.1 var(--f-display,Lora,Georgia,serif);letter-spacing:-.025em;text-decoration:none;color:#4334A3}
header.lc-head h1.lc-h1{margin:0;padding:0;font:inherit;line-height:1}
header.lc-head .lc-word{font-weight:inherit}
header.lc-head .lc-word span{color:#C2386E}
header.lc-head .lc-mark{width:1.3em;height:1.3em;flex:none}
header.lc-head .credit{display:block;flex-basis:auto;margin:0;font:400 .72rem/1.25 var(--f-body,Inter,system-ui,sans-serif);color:#6B6582;letter-spacing:0}
header.lc-head .credit a{color:inherit}
header.lc-head .lc-usp{border-top:1px solid #E8E1D2;text-align:center;font:600 .8rem/1.35 var(--f-body,Inter,system-ui,sans-serif);letter-spacing:.02em;color:#4334A3;padding:6px 16px}
header.lc-head .lc-usp b{color:#C2386E;font-weight:700}
.lc-foot-contact{margin:10px 0 0;font:400 .92rem/1.5 var(--f-body,Inter,system-ui,sans-serif);color:#6B6582}
.lc-foot-contact a{color:#4334A3;font-weight:700;text-decoration:none}
.lc-foot-contact a:hover{text-decoration:underline}
.lc-share-btn{display:inline-flex;align-items:center;gap:7px;border:0;cursor:pointer;background:#C2386E;color:#fff;font:700 .9rem/1 var(--f-body,Inter,system-ui,sans-serif);padding:10px 16px;border-radius:999px;box-shadow:0 2px 10px rgba(194,56,110,.35);transition:transform .15s ease,background .15s ease;white-space:nowrap}
.lc-share-btn:hover{background:#A92C5C;transform:translateY(-1px)}
.lc-share-btn svg{width:16px;height:16px;flex:none}
.lc-share-btn .lc-share-btn-t{letter-spacing:.01em}
@media (max-width:700px){.lc-share-btn{padding:9px 12px}.lc-share-btn .lc-share-btn-t{display:none}}
.lc-share-overlay{position:fixed;inset:0;z-index:100000;background:rgba(39,33,63,.48);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;transition:opacity .18s ease}
.lc-share-overlay[hidden]{display:none}
.lc-share-overlay.open{opacity:1}
.lc-share-card{background:#FBF8F1;border:1px solid #E8E1D2;border-radius:20px;max-width:440px;width:100%;padding:22px 22px 16px;box-shadow:0 24px 60px rgba(39,33,63,.35);transform:translateY(10px) scale(.98);transition:transform .22s ease}
.lc-share-overlay.open .lc-share-card{transform:none}
.lc-share-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.lc-share-head h2{font:700 1.35rem/1.15 var(--f-display,Lora,Georgia,serif);color:#27213F;margin:0}
.lc-share-head p{font:400 .86rem/1.45 var(--f-body,Inter,system-ui,sans-serif);color:#6B6582;margin:6px 0 0}
.lc-share-close{border:0;background:#EFEBFB;color:#4334A3;width:34px;height:34px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;flex:none}
.lc-share-close:hover{background:#E0D8F8}
.lc-share-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.lc-share-tile{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid #E8E1D2;background:#fff;border-radius:14px;padding:14px 6px 12px;cursor:pointer;font:600 .82rem/1.2 var(--f-body,Inter,system-ui,sans-serif);color:#27213F;transition:transform .13s ease,box-shadow .13s ease}
.lc-share-tile:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(39,33,63,.12)}
.lc-share-badge{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.lc-share-ig{background:linear-gradient(45deg,#FEDA75,#FA7E1E,#D62976,#962FBF,#4F5BD5);color:#fff}
.lc-share-note{margin:14px 0 0;text-align:center;font:600 .86rem/1.4 var(--f-body,Inter,system-ui,sans-serif);color:#4334A3;background:#EFEBFB;border-radius:10px;padding:9px 12px}
.lc-share-more{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin-top:14px;border:0;cursor:pointer;background:#4334A3;color:#fff;font:700 .92rem/1 var(--f-body,Inter,system-ui,sans-serif);padding:14px;border-radius:999px}
.lc-share-more:hover{background:#372A85}
.lc-share-more svg{width:18px;height:18px}
.lc-share-url{margin:12px 0 2px;text-align:center;font:600 .8rem/1 var(--f-body,Inter,system-ui,sans-serif);color:#6B6582;letter-spacing:.04em}
@media (max-width:560px){.lc-share-overlay{align-items:flex-end;padding:0}.lc-share-card{border-radius:20px 20px 0 0;max-width:none;transform:translateY(24px)}.lc-share-overlay.open .lc-share-card{transform:none}}
@media (prefers-reduced-motion:reduce){.lc-share-overlay,.lc-share-card,.lc-share-tile,.lc-share-btn{transition:none}}
header.lc-head .lc-nav{display:flex;align-items:center;gap:14px;flex:none}
header.lc-head .lc-nav a{font:700 .9rem/1 var(--f-body,Inter,system-ui,sans-serif);text-decoration:none;color:#6B6582}
header.lc-head .lc-nav a:hover,header.lc-head .lc-nav a[aria-current=page]{color:#4334A3}
header.lc-head .lc-nav a.lc-signin{padding:9px 16px;border-radius:999px;background:#4334A3;color:#fff;box-shadow:0 8px 18px -10px rgba(67,52,163,.8)}
body[data-role="teacher"] header.lc-head .lc-signin,body[data-role="student"] header.lc-head .lc-signin{display:none}
header.lc-head .who:empty{display:none}
@media (max-width:700px){header.lc-head .lc-nav a:not(.lc-signin){display:none}}
@media (max-width:700px){body[data-role="teacher"] header.lc-head .wrap,body[data-role="student"] header.lc-head .wrap{flex-wrap:wrap}body[data-role="teacher"] header.lc-head .who,body[data-role="student"] header.lc-head .who{flex:1 1 100%;margin-left:0}}
header.lc-head .lc-nav a.lc-signin:hover{background:#372A8C;color:#fff}
header.lc-head .who{display:flex;align-items:center;flex-wrap:nowrap;justify-content:flex-end;gap:8px;margin-left:auto;min-width:0;flex:1 1 0}
header.lc-head .who label,header.lc-head .who select{min-width:0;flex:0 1 auto}
header.lc-head .who select{max-width:100%;text-overflow:ellipsis}
header.lc-head .who>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
header.lc-head .who .btn,header.lc-head .who button{flex:none;white-space:nowrap}
header.lc-head .brandgrp{flex:0 0 auto}
header.lc-head .who .name{display:inline}
@media (max-width:520px){header.lc-head .lc-nav{gap:11px}header.lc-head .lc-nav a{font-size:.85rem}header.lc-head .lc-nav a.lc-signin{padding:8px 13px}header.lc-head .mark{font-size:1.3rem}header.lc-head .who .name{display:none}header.lc-head .who .name.who-first{display:inline}header.lc-head .who .muted{display:none}header.lc-head .who select{max-width:100%}}
footer.lc-foot{margin:0;padding:14px 0 18px;border-top:1px solid #E8E1D2;background:transparent;color:#6B6582;font:400 .78rem/1.45 var(--f-body,Inter,system-ui,sans-serif)}
footer.lc-foot .wrap{max-width:1080px;margin:0 auto;padding:0 max(16px,env(safe-area-inset-left,0px));display:grid;gap:8px}
footer.lc-foot .lc-foot-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 18px}
footer.lc-foot .lc-foot-brew{display:inline-flex;align-items:center;gap:8px;margin:0;font:italic 500 .95rem/1.2 var(--f-display,Lora,Georgia,serif);color:#6B6582}
footer.lc-foot .lc-foot-brew img{width:24px;height:24px}
footer.lc-foot .lc-foot-links{display:flex;flex-wrap:wrap;gap:4px 16px}
footer.lc-foot .lc-foot-links a{font-weight:700;text-decoration:none;color:#4334A3}
footer.lc-foot .lc-foot-credit{margin:0}
footer.lc-foot a.lc-wt{color:#4334A3;font-weight:700;text-decoration:none;border-bottom:1.5px solid #C2386E}

/* tiny wizardly icons */
.ic{display:inline-block;width:1.15em;height:1.15em;flex:none;vertical-align:-.2em;color:#4334A3}
.ic.pink{color:#C2386E}
.lc-tabbar button .ic{margin-right:6px;width:1.05em;height:1.05em}
.lc-tabbar button[aria-selected=true] .ic{color:#fff}
.lc-ico-h{display:flex;align-items:center;gap:8px}
.lc-ico-h .ic{width:1.3em;height:1.3em}
h3>.ic,.feature>h3>.ic{margin-right:.45em;color:#C2386E}
.lc-magic{position:fixed;left:0;top:0;pointer-events:none;z-index:70}
.faq h1,.faq h1 .ic{font-size:1.9rem}
.eyebrow>.ic{margin-right:.4em;width:1.2em;height:1.2em;color:#C2386E;vertical-align:-.28em}

/* long reading pages fold into short sections */
article{padding-block:22px 28px!important}
.lc-fold{border:1px solid #E8E1D2;border-radius:14px;background:#fff;margin:0 0 8px;box-shadow:0 1px 2px rgba(39,33,63,.04)}
.lc-fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.lc-fold>summary::-webkit-details-marker{display:none}
.lc-fold>summary h2{margin:0!important;padding:0!important;border:0!important;font-size:1.05rem!important}
.lc-fold>summary::after{content:"+";flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#EFEBFB;color:#4334A3;font-weight:700}
.lc-fold[open]>summary::after{content:"\2212";background:#4334A3;color:#fff}
.lc-fold-body{padding:0 16px 6px;font-size:.95rem;line-height:1.6}
.lc-fold-bar{margin:0 0 10px;text-align:right}
.lc-fold-all{border:0;background:transparent;color:#4334A3;font:700 .85rem/1 Inter,system-ui,sans-serif;cursor:pointer;text-decoration:underline}
article h1{margin-bottom:4px!important;font-size:clamp(1.7rem,6vw,2.3rem)!important}
article .meta{margin-bottom:12px!important}
article .summary{padding:12px 14px!important;margin-bottom:10px!important}
header.lc-head.brand .wrap,#main ~ footer.lc-foot .wrap{max-width:1120px}
/* signed in: the footer's "Sign in" link would be wrong */
body[data-role="teacher"] .lc-foot a[href="/app/"],body[data-role="student"] .lc-foot a[href="/app/"]{display:none}
/* very small phones: the header keeps the logo and the one button that matters; About and FAQ are in the footer */
@media (max-width:360px){header.lc-head .lc-nav a:not(.lc-signin){display:none}header.lc-head .mark{font-size:1.2rem}}
/* account avatar (signed-in header on every page, profile editor, teacher's student view) */
.lc-av{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;overflow:hidden;font:700 .82rem/1 var(--f-body,Inter,system-ui,sans-serif);flex:none;box-shadow:0 0 0 2px #fff,0 0 0 3px #E8E1D2;vertical-align:middle}
.lc-av img{width:100%;height:100%;object-fit:cover;display:block}
.lc-av-e{font-size:1.25rem;line-height:1}
.lc-av-sm{width:28px;height:28px;font-size:.7rem}.lc-av-sm .lc-av-e{font-size:1rem}
.lc-av-lg{width:76px;height:76px;font-size:1.4rem}.lc-av-lg .lc-av-e{font-size:2.5rem}
a.who-acct,a.lc-acct{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:inherit;flex:none}
a.lc-acct .lc-acct-n{font:700 .9rem/1 var(--f-body,Inter,system-ui,sans-serif);color:#2B2467;max-width:9ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:400px){header.lc-head .who .name,header.lc-head .who .name.who-first{display:none}a.lc-acct .lc-acct-n{display:none}}
/* signed in: no join or sign-up prompts on the public pages */
html.lc-in .lc-joinbar,html.lc-in .lc-rise-go,html.lc-in .lc-pitch-cta{display:none !important}
@media (max-width:520px){header.lc-head .lc-nav a[href="/about/"]{display:none}}
