:root{--paper:#ece6da;--paper-edge:#ddd5c6;--board:#1c2a22;--board-2:#243429;--chalk:#f1ede3;--chalk-dim:#c9c4b8;--yellow:#e2b94c;--blue:#7593bd;--bg:#cfc8bb;--coral:#e88f7d;--sage:#9dbf9a}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);font-family:'Atkinson Hyperlegible',system-ui,sans-serif;color:var(--chalk);min-height:100vh;
 background-image:radial-gradient(rgba(0,0,0,.04) 1px,transparent 1px);background-size:6px 6px}
a{color:var(--yellow)}
.wrap{max-width:1180px;margin:0 auto;padding:18px}
.paper{background:var(--paper);border-radius:18px;padding:14px;box-shadow:0 10px 30px rgba(0,0,0,.18),inset 0 0 0 2px var(--paper-edge)}
.board{background:#22322a url("/chalkboard-dust.webp") 0 0/1600px 1600px repeat scroll;border-radius:12px;padding:26px clamp(16px,4vw,44px);position:relative;overflow:hidden;
 box-shadow:inset 0 0 60px rgba(0,0,0,.45),inset 0 0 0 6px #6b4f33,inset 0 0 0 9px #3f2e1d}
.board>*{position:relative}
header.top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:2px;margin-bottom:6px}
header.top .logo{grid-column:1;grid-row:1;min-width:0}
header.top nav.links{grid-column:2;grid-row:1;justify-self:end}
.logo{font-family:'Cabin Sketch',cursive;font-weight:700;font-size:clamp(28px,4vw,40px);color:var(--chalk);text-decoration:none;letter-spacing:1px}
.logo span{color:var(--yellow)}
nav.links{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
nav.links a{font-family:'Patrick Hand',cursive;font-size:20px;color:var(--chalk);text-decoration:none;padding:4px 12px;border:2px dashed transparent;border-radius:10px}
nav.links a:hover,nav.links a.on{border-color:var(--chalk-dim)}
nav.links a.cta{background:var(--yellow);color:#1c2a22;border:0;box-shadow:0 3px 0 #a9862f;font-weight:700}
h1,h2,h3{font-family:'Cabin Sketch',cursive;font-weight:700;color:var(--chalk);margin:.3em 0}
h1{font-size:clamp(34px,5.5vw,60px);line-height:1.05}
h2{font-size:clamp(28px,3.6vw,40px)}
h3{font-size:24px}
.hand{font-family:'Patrick Hand',cursive}
.lead{font-family:'Patrick Hand',cursive;font-size:clamp(20px,2.4vw,26px);color:var(--chalk-dim);max-width:780px;line-height:1.35}
.hl{color:var(--yellow)}
.underline{background:linear-gradient(transparent 70%,rgba(226,185,76,.45) 70%)}
.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:center;padding:18px 0 8px}
@media(max-width:820px){.hero{grid-template-columns:1fr}}
.promise{border:2px dashed var(--chalk-dim);border-radius:14px;padding:16px 20px;font-family:'Patrick Hand',cursive;font-size:21px;line-height:1.5}
.promise li{list-style:none}.promise ul{padding:0;margin:0}
.go,.ghost,button.go,button.ghost{font-family:'Patrick Hand',cursive;font-size:21px;border-radius:12px;padding:10px 22px;cursor:pointer;text-decoration:none;display:inline-block;text-align:center;border:0}
.go{background:var(--yellow);color:#1c2a22;box-shadow:0 4px 0 #a9862f;font-weight:700}
.go:active{transform:translateY(2px);box-shadow:0 2px 0 #a9862f}
.go[disabled]{opacity:.55;cursor:not-allowed}
.ghost{background:transparent;color:var(--chalk);border:2px solid var(--blue)}
.ghost:hover{background:rgba(117,147,189,.15)}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.searchbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 10px}
.searchbar input{flex:1 1 280px;font:inherit;font-family:'Patrick Hand',cursive;font-size:22px;padding:10px 16px;border-radius:12px;border:2px dashed var(--chalk-dim);background:rgba(0,0,0,.2);color:var(--chalk)}
.searchbar input::placeholder{color:#9c978c}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 18px}
.chip{font-family:'Patrick Hand',cursive;font-size:18px;padding:5px 14px;border-radius:999px;border:2px solid var(--chalk-dim);background:transparent;color:var(--chalk);cursor:pointer}
.chip[aria-pressed=true]{background:var(--chalk);color:var(--board)}
.chip.fav{border-color:var(--yellow)}
.chip.fav[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow);color:var(--board)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.tool{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--chalk);border:2px dashed rgba(241,237,227,.35);border-radius:14px;padding:14px 16px;transition:transform .12s,border-color .12s,background .12s;min-height:132px}
.tool:hover,.tool:focus-visible{transform:translateY(-2px) rotate(-.3deg);border-color:var(--yellow);background:rgba(255,255,255,.04)}
.tool .t{font-family:'Cabin Sketch',cursive;font-weight:700;font-size:22px;line-height:1.1}
.tool .d{font-size:14.5px;color:var(--chalk-dim);line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tool .c{font-family:'Patrick Hand',cursive;font-size:16px;color:var(--sage);margin-top:auto}
.count{font-family:'Patrick Hand',cursive;color:var(--chalk-dim);font-size:19px}
.empty{font-family:'Patrick Hand',cursive;font-size:22px;color:var(--chalk-dim);padding:30px 0;text-align:center}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:16px 0}
@media(max-width:860px){.plans{grid-template-columns:1fr}}
.plan{border:2px dashed var(--chalk-dim);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px;position:relative}
.plan.best{border:3px solid var(--yellow)}
.plan .tag{position:absolute;top:-14px;right:14px;background:var(--yellow);color:#1c2a22;font-family:'Patrick Hand',cursive;font-size:17px;padding:2px 12px;border-radius:999px;transform:rotate(3deg)}
.price{font-family:'Cabin Sketch',cursive;font-size:54px;font-weight:700;line-height:1}
.price small{font-size:22px;color:var(--chalk-dim)}
.plan ul{padding-left:20px;margin:6px 0 12px;line-height:1.55;color:var(--chalk-dim)}
.plan .go,.plan .ghost{margin-top:auto}
.note{font-family:'Patrick Hand',cursive;font-size:19px;color:var(--chalk-dim)}
.card{border:2px dashed var(--chalk-dim);border-radius:16px;padding:22px;max-width:520px;margin:10px auto}
.tabs{display:flex;gap:8px;margin-bottom:12px}
.tabs button{flex:1;font-family:'Patrick Hand',cursive;font-size:22px;padding:8px;border-radius:12px;border:2px solid var(--chalk-dim);background:transparent;color:var(--chalk);cursor:pointer}
.tabs button[aria-selected=true]{background:var(--chalk);color:var(--board)}
form label{display:block;font-family:'Patrick Hand',cursive;font-size:20px;margin:10px 0 4px}
form input,form select{width:100%;font:inherit;font-size:18px;padding:10px 12px;border-radius:10px;border:2px solid var(--chalk-dim);background:rgba(0,0,0,.25);color:var(--chalk)}
form input:focus,form select:focus{outline:3px solid var(--yellow);outline-offset:1px}
form select option{color:#111}
.hint{font-size:14px;color:var(--chalk-dim);margin-top:4px}
.msg{min-height:1.4em;font-family:'Patrick Hand',cursive;font-size:19px;margin:10px 0}
.msg.err{color:var(--coral)}.msg.ok{color:var(--sage)}
.code{font-family:ui-monospace,Menlo,monospace;font-size:24px;letter-spacing:2px;background:rgba(0,0,0,.35);border:2px dashed var(--yellow);padding:10px 14px;border-radius:10px;text-align:center;color:var(--yellow);user-select:all}
.placeholder{border:2px dashed var(--coral);color:var(--coral);border-radius:12px;padding:10px 14px;font-family:'Patrick Hand',cursive;font-size:18px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:760px){.steps{grid-template-columns:1fr}}
.step{border-left:4px solid var(--yellow);padding:4px 14px;font-family:'Patrick Hand',cursive;font-size:20px;color:var(--chalk-dim)}
.step b{display:block;color:var(--chalk);font-family:'Cabin Sketch',cursive;font-size:24px}
footer{font-family:'Patrick Hand',cursive;color:var(--chalk-dim);font-size:18px;margin-top:30px;padding-top:14px;border-top:2px dashed rgba(241,237,227,.25);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
footer a{color:var(--chalk-dim)}
hr.chalk{border:0;border-top:2px dashed rgba(241,237,227,.25);margin:34px 0 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.logo{display:flex;align-items:center;gap:10px}
.logo img{height:52px;width:52px;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.4)}
.stats{font-family:'Patrick Hand',cursive;color:var(--sage);font-size:20px;margin-top:14px}
.why{max-width:860px}
.why p{font-size:19px;line-height:1.55;color:var(--chalk-dim)}
.cathead{margin:26px 0 8px}
.cathead p{margin:0;color:var(--chalk-dim);font-family:'Patrick Hand',cursive;font-size:19px}
.closing{text-align:center;padding:10px 0}
.closing p{max-width:760px;margin:0 auto;font-family:'Patrick Hand',cursive;font-size:22px;color:var(--chalk-dim)}
.plans.two{grid-template-columns:repeat(2,minmax(0,360px));justify-content:center}
@media(max-width:860px){.plans.two{grid-template-columns:1fr}}
.finePrint{font-size:15px;color:var(--chalk-dim)}
[hidden]{display:none!important}
button.ghost{border:2px solid var(--blue)}.logo b{font-weight:700}
.center{text-align:center}
.how3{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;padding:0;margin:4px 0 12px;font-family:'Patrick Hand',cursive;font-size:19px;color:var(--chalk-dim)}
.how3 b{color:var(--chalk)}
.toolbar{position:sticky;top:0;z-index:5;background:rgba(30,45,37,.86);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:10px 0 4px;margin:0 -4px;box-shadow:0 8px 10px -8px rgba(0,0,0,.5)}
.toolbar .searchbar{display:flex;gap:8px;align-items:center}
.toolbar .searchbar input{flex:1}
.toolbar .chips{max-height:none}
.board{overflow:clip}
.toolbar .searchbar{margin:0 0 8px}
.toolbar .chips{margin:0 0 6px}
.toolbar .chip{font-size:17px;padding:3px 11px}
@media(max-width:760px){.toolbar .chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}.toolbar .chip{flex:0 0 auto}}
nav.links [hidden]{display:none!important}
/* dusty chalkboard: one still texture baked into the board, scrolls with the page (no fixed layer, no animation) */
@media(max-width:760px){.board{background-size:1100px 1100px}}
/* Email updates: signup checkbox + homepage list box */
form label.check{display:flex;gap:10px;align-items:center;font-size:19px;cursor:pointer}
form label.check input{width:auto;flex:0 0 auto;margin:0;transform:scale(1.3);accent-color:var(--yellow)}
.newsletter{text-align:center}
.newsletter form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;max-width:560px;margin:12px auto 0}
.newsletter form input[type=email]{flex:1 1 260px;width:auto}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Site slogan (2026-10-29): hand-written chalk line. Masthead copy sits directly under the wordmark at exactly twice the title size. */
/* Masthead slogan: clamp(56px,8vw,80px) is exactly 2x the .logo clamp(28px,4vw,40px) at every viewport width.
   It spans the full header width on its own row so the nav stays on the wordmark line, and wraps instead of pushing the page wide. */
.slogan.hdr{grid-column:1/-1;grid-row:2;justify-self:start;font-size:clamp(56px,8vw,80px);line-height:1.12;margin:2px 0 6px;max-width:100%;text-wrap:balance}
/* Slogan line control: the two spans are inline above 760px so the masthead reads as one continuous sentence
   ("Inspire kids to use their brains"). On phones they become two deliberate lines. NO text-transform: the
   slogan must render as written, in sentence case, at every width (Ryan's wording is exact). */
.slogan.hdr .sl1,.slogan.hdr .sl2{display:inline}
@media(max-width:760px){
  header.top{grid-template-columns:minmax(0,1fr)}
  header.top .logo,header.top nav.links,.slogan.hdr{grid-column:1;grid-row:auto}
  header.top nav.links{justify-self:end}
  /* two lines: "Inspire kids" / "to use their brains". 9.4vw keeps the longest line inside the board's
     text column at 320px (the tightest case: 224px of room), with ~2.5% to spare for font hinting. */
  .slogan.hdr{font-size:clamp(26px,9.4vw,56px);text-wrap:wrap}
  .slogan.hdr .sl1,.slogan.hdr .sl2{display:block}
}
.slogan{font-family:'Patrick Hand',cursive;color:var(--yellow);font-size:clamp(17px,1.7vw,22px);line-height:1.2;margin:6px 0 0;letter-spacing:.2px;transform:rotate(-.4deg);transform-origin:left center;display:block}
.hero .slogan{margin:4px 0 10px}
/* headline: exactly three lines at every width — chalk lettering scales to its own column so no phrase re-wraps */
.hero>div:first-child{container-type:inline-size}
.hero h1 .ln{display:block;white-space:nowrap}
@supports (font-size:1cqw){.hero h1{font-size:clamp(22px,9.8cqw,58px)}}
@supports not (font-size:1cqw){@media(max-width:900px){.hero h1{font-size:clamp(21px,4.4vw,34px)}}}

/* Funnel phase 1: honest proof block on the pricing section (no quotes, no invented numbers) */
.proof{border:2px dashed rgba(241,237,227,.3);border-radius:14px;padding:14px 18px;margin:10px 0 4px;max-width:900px}
.proof p{font-family:'Patrick Hand',cursive;font-size:19px;line-height:1.4;color:var(--chalk-dim);margin:0 0 8px}
.proof b{color:var(--chalk)}
.tickrow{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0!important;color:var(--sage)!important;font-size:18px!important}
/* Funnel pages share a compact "fits one screen" shape; these are the bits style.css doesn't already cover */
html.ft .tcard .go,html.ft .tcard .ghost{font-family:'Patrick Hand',cursive;cursor:pointer}
html.ft .tcard .go[disabled]{opacity:.62;cursor:default;box-shadow:none}
html.tg .item a,html.th .box h2{word-break:break-word}
/* Slim, tidy scrollbars inside the funnel scroll boxes */
html.tg .list,html.tg .side{scrollbar-width:thin;scrollbar-color:rgba(241,237,227,.35) transparent}
html.tg .list::-webkit-scrollbar,html.tg .side::-webkit-scrollbar{width:8px}
html.tg .list::-webkit-scrollbar-thumb,html.tg .side::-webkit-scrollbar-thumb{background:rgba(241,237,227,.3);border-radius:8px}

/* ---- Signed-in members never see the pricing upsell ----
   member.js sets html.auth-hide before the first paint when a login is saved, so the section is
   absent from the very first frame instead of flashing and disappearing. It comes off again when
   /api/me proves the saved login is dead. With JavaScript off nothing is ever hidden. */
html.auth-hide #pricing,html.auth-hide #pricingSep,html.auth-hide #seePricing,html.auth-hide [data-pricing-link]{display:none!important}
/* Buying invitations (not billing fixes) also stay away from members whose plan is live. */
html.access-active .buypath{display:none!important}
.memberBar{border:2px dashed var(--chalk-dim);border-radius:14px;padding:12px 16px;margin:10px 0 14px;
 font-family:'Patrick Hand',cursive;font-size:19px;line-height:1.35;color:var(--chalk-dim);
 display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center}
.memberBar.warn{border-color:var(--yellow)}
.memberBar b{color:var(--chalk)}

/* Same rule on the plan page: a saved login hides the cards and the auto-renew box until /api/me
   says whether this account already has a live plan. */
html.auth-hide-plans #buyArea{display:none!important}
html.auth-hide-plans #memberCard:not([hidden]){display:block!important}
.memberCard{border:2px dashed var(--chalk-dim);border-radius:14px;padding:.7em .95em;margin:.35em 0;
 font-family:'Patrick Hand',cursive;font-size:.95em;line-height:1.3;color:var(--chalk-dim)}
html.sub .memberCard h2{font-size:1.5em;margin:0 0 .15em;line-height:1.05}
html.sub .memberCard p{margin:0 0 .2em}
html.sub .memberCard .row{gap:.5em;flex-wrap:wrap}
html.sub .memberCard .go,html.sub .memberCard .ghost{font-size:.95em;padding:.24em .55em;line-height:1.1;border-radius:.55em}
.memberCard.ok{border-color:var(--sage)}
.memberCard.warn{border-color:var(--yellow)}
.memberCard b{color:var(--chalk)}

/* Q2 2026-11-11: 44px tap targets on the hub pages (main nav, logo, category chips, footer legal links; footer kept) */
nav.links a{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
.logo{min-height:44px}
.chip,.toolbar .chip{min-height:44px;box-sizing:border-box}
footer a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;box-sizing:border-box}

/* Q3 2026-11-11: signup / pricing pages never scroll. The page's fit script sets html.fp-paged when one screen can't
   hold everything at the readable floor: <main> flows into columns (2-3 side by side in landscape) and a 44px
   Back/Next pager in the footer steps through them. html.fp-compact (short screens) tightens the header: smaller
   wordmark, the slogan kept at exactly 2x it and always on screen, the nav behind a 44px Menu toggle. */
.fp-menu-btn,.fp-nav{display:none}
html.fp-paged main{display:block!important;flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important;padding:4px 0 2px!important;
  columns:var(--fp-cols,1);column-gap:var(--fp-gap,20px);column-fill:auto;scrollbar-width:none}
html.fp-paged main::-webkit-scrollbar{display:none}
html.fp-paged main>*{margin:0 0 .5em!important}
html.fp-paged main h1,html.fp-paged main h2,html.fp-paged main h3{break-after:avoid}
html.fp-paged main li,html.fp-paged main a,html.fp-paged main button,html.fp-paged main label,html.fp-paged main input,html.fp-paged main p{break-inside:avoid}
html.fp-paged footer{align-items:center;margin-top:.35em!important;padding-top:.25em!important;row-gap:0}
html.fp-paged.fp-multi footer .fp-nav{display:flex;align-items:center;gap:.5em}
.fp-nav button{min-width:88px;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;font-family:'Patrick Hand',cursive;font-size:18px;
  color:#1c2a22;background:var(--yellow);border:0;border-radius:10px;box-shadow:0 3px 0 #a9862f;cursor:pointer;padding:0 12px}
.fp-nav button:disabled{opacity:.45;cursor:default;box-shadow:none}
.fp-nav .fp-ind{font-family:'Patrick Hand',cursive;font-size:16px;color:var(--chalk);white-space:nowrap}
html.fp-compact header.top{display:flex!important;flex-wrap:wrap;align-items:center;column-gap:.6em;row-gap:.15em;margin:0 0 .35em!important}
html.fp-compact header.top .logo{font-size:.92em;flex:0 0 auto;gap:.35em;line-height:1}
html.fp-compact header.top .logo img{height:44px;width:44px}
html.fp-compact header.top .slogan.hdr{flex:1 1 0;min-width:0;font-size:1.84em;line-height:1.02;margin:0;text-wrap:balance}
html.fp-compact header.top .slogan.hdr .sl1,html.fp-compact header.top .slogan.hdr .sl2{display:block}
html.fp-compact .fp-menu-btn{display:inline-flex;align-items:center;justify-content:center;gap:.3em;min-width:88px;min-height:44px;box-sizing:border-box;margin-left:auto;
  font-family:'Patrick Hand',cursive;font-size:18px;color:var(--chalk);background:transparent;border:2px dashed var(--chalk-dim);border-radius:10px;cursor:pointer;padding:0 12px}
html.fp-compact header.top nav.links{display:none}
html.fp-compact header.top.fp-open nav.links{display:flex;flex-direction:column;align-items:stretch;position:absolute;right:0;top:calc(100% + 4px);z-index:60;gap:6px;
  background:var(--board);border:2px solid var(--chalk-dim);border-radius:12px;padding:8px;box-shadow:0 8px 24px rgba(0,0,0,.45)}
html.fp-compact header.top.fp-open nav.links a{font-size:18px;justify-content:center;min-width:160px}
html.fp-compact body .wrap{padding:4px clamp(4px,1.5vw,10px)!important}
html.fp-compact body .paper{padding:4px!important}
html.fp-compact body .board{padding:8px clamp(10px,2.5vw,24px)!important}
@media (max-width:560px){html.fp-compact header.top .slogan.hdr{order:3;flex:1 0 100%}html.fp-compact .fp-menu-btn{order:2}}
@media (max-height:520px){html.fp-compact footer>span:first-of-type{display:none}}

/* Q9 2026-11-11 (fix option (a), approved): when the PWA build adds nat-fullscreen.js, its 44x44 ⛶ button sits fixed in the
   bottom-right corner (8px from the edges) whenever it is shown (fine pointer, or in full screen). It shows/hides itself with an
   inline display:flex / display:none on body > #natFsBtn, so the footer keeps the links clear of it only while that is the case.
   Without the script (or while the button is hidden) this matches nothing and the footer is unchanged. */
body:has(> #natFsBtn[style*="display: flex"]) footer{padding-right:52px}

/* clone ownership note (readability gates: 12px floor, 16px target) */
.owner-note{font-size:max(13px,min(16px,1em));line-height:1.35;color:var(--chalk,#f1ede3);margin:.5em 0;padding:.45em .7em;border:1px dashed #7593bd;border-radius:10px;background:rgba(0,0,0,.18);text-align:left}
/* clone wordmark is longer than NAT's: shrink it on narrow screens so it never runs under Log in */
header.top .logo b{white-space:nowrap;font-size:min(1em,4.6vw)}
.owner-line{font-size:max(13px,min(16px,.9em));line-height:1.35;color:var(--chalk-dim,#c9c4b8);margin:.3em 0}
