/* Classroom fieldbook: paper surfaces, pencil marks, real product screens.
   Bree Serif and DM Sans are self-hosted Google Fonts; see FONT-LICENSES.txt. */
@font-face {
  font-family: 'Bree Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('./bree-serif-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('./dm-sans-latin.woff2') format('woff2');
}
:root {
  color-scheme: light dark;
  --paper: #fffaf2; --sheet: #fffdf8; --ink: #2d3748; --muted: #59606c;
  --pink: #f48fb1; --pink-soft: #fce4ec; --pink-strong: #f06292;
  --yellow: #fff59d; --yellow-warm: #ffe082; --yellow-soft: #fff3cb;
  --raspberry: #913452; --rule: #b9aca7; --pencil: #e4d9d0;
  --grain: #715d4b12; --shadow: #6b4b3b18; --focus: #913452;
  --display: 'Bree Serif', Georgia, serif; --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 7rem; }
body {
  margin: 0; color: var(--ink); background-color: var(--paper);
  background-image: radial-gradient(var(--grain) .65px, transparent .65px);
  background-size: 7px 7px; font: 400 1rem/1.65 var(--body);
}
h1, h2, h3, p, figure, ul, ol { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.2vw, 4.6rem); line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(2.1rem, 3.25vw, 3.2rem); line-height: 1.13; letter-spacing: -.025em; }
h3 { font-size: 1.7rem; line-height: 1.2; letter-spacing: -.015em; }
p { text-wrap: pretty; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 96px; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 30; padding: 12px 20px; background: var(--sheet); transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--pencil); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.5rem; font-weight: 700; letter-spacing: -.04em; }
.brand img { width: 40px; height: 40px; }
.header-inner nav { display: flex; gap: 26px; }
.header-inner nav a { padding-block: 12px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 13px 22px; background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 8px; text-decoration: none;
  font: 700 .92rem/1.4 var(--body); min-height: 48px;
}
.button-small { padding: 10px 17px; min-height: 44px; font-size: .85rem; }
.button-outline { background: transparent; color: var(--ink); }
.button:hover { text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 36px; align-items: center; padding-block: 42px 40px; }
.hero-copy { padding-bottom: 20px; }
.product-credit { color: var(--raspberry); font-size: .83rem; font-weight: 700; margin-bottom: 24px; }
.hero h1 { max-width: 10ch; }
.pencil-underline { position: relative; z-index: 0; white-space: nowrap; }
.pencil-underline::after { content: ''; position: absolute; left: 0; right: -3px; bottom: .04em; height: .14em; background: var(--pink); border-radius: 60% 30% 45% 20%; transform: rotate(-2deg); z-index: -1; }
.hero-description { color: var(--muted); max-width: 43ch; margin-top: 25px; font-size: 1.08rem; }
.hero-showcase { position: relative; height: 510px; min-width: 0; }
.world { position: absolute; width: 100%; height: 85%; top: 6%; object-fit: cover; object-position: 70% center; border-radius: 48% 48% 20px 20px; }
.browser-frame { position: absolute; top: 106px; left: 0; width: 82%; background: #fff; border: 2px solid #2d3748; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 28px var(--shadow); transform: rotate(-3deg); }
.browser-bar { display: flex; align-items: center; gap: 20px; padding: 9px 12px; background: #f8f3ea; color: #2d3748; border-bottom: 1px solid #d8d1c7; font-size: .62rem; }
.window-dots { width: 5px; height: 5px; border-radius: 50%; background: #9b7780; box-shadow: 8px 0 #9b7780, 16px 0 #9b7780; margin-right: 10px; }
.phone { position: relative; background: #2d3748; padding: 8px; border: 1px solid #636a73; border-radius: 28px; box-shadow: 0 14px 26px var(--shadow); }
.phone img { border-radius: 4px 4px 20px 20px; }
.phone-speaker { width: 26%; height: 4px; background: #c5c9cf; border-radius: 5px; margin: 1px auto 8px; }
.hero-phone { position: absolute; width: 34%; right: 6px; top: 6px; transform: rotate(5deg); }
.paper-label { position: absolute; left: 7%; bottom: 8px; padding: 15px 22px; background: var(--yellow-soft); border: 1px solid var(--pencil); box-shadow: 3px 4px 0 var(--shadow); transform: rotate(-4deg); font-family: var(--display); font-size: 1.1rem; }
.paper-label::before { content: ''; position: absolute; width: 62px; height: 17px; background: var(--pink); top: -10px; left: 30%; opacity: .75; transform: rotate(7deg); }
.paper-label span { display: block; font: 500 .78rem/1.6 var(--body); color: var(--muted); }
.pilot-strip { border-block: 1px solid var(--rule); background: var(--yellow-soft); }
.pilot-strip p { padding-block: 25px; font-size: 1.15rem; line-height: 1.8; }
.pilot-strip strong { font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--raspberry); padding-bottom: 3px; }
.section-heading { max-width: 670px; margin-bottom: 42px; }
.section-note { color: var(--raspberry); font-size: .82rem; font-weight: 700; letter-spacing: .035em; margin-bottom: 14px; }
.section-heading > p:last-child { max-width: 54ch; margin-top: 22px; color: var(--muted); }
.classroom-spread { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 68px; align-items: center; }
.student-note { position: relative; padding: 46px 42px 44px; border: 1px solid var(--rule); border-radius: 3px 18px 18px 3px; background: var(--pink-soft); box-shadow: 6px 6px 0 var(--paper), 7px 7px 0 var(--rule); }
.note-tab { position: absolute; top: -15px; left: 30px; padding: 5px 16px; background: var(--yellow-warm); color: #2d3748; font-weight: 700; font-size: .82rem; transform: rotate(-3deg); }
.student-note h3 { max-width: 17ch; font-size: 2.05rem; }
.student-note p { margin-top: 20px; max-width: 48ch; }
.text-link { display: inline-block; font-weight: 700; font-size: .9rem; margin-top: 26px; padding-bottom: 2px; max-width: calc(100% - 40px); }
.pencil-flower { width: 68px; height: 68px; position: absolute; bottom: 19px; right: 14px; color: var(--raspberry); opacity: .6; pointer-events: none; }
.teaching-notes { padding-block: 10px; }
.role-label { font-size: .83rem; font-weight: 700; color: var(--raspberry); margin-bottom: 12px; }
.teaching-notes p:last-child { margin-top: 18px; color: var(--muted); max-width: 40ch; }
.parent-note { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--rule); }
.action-section { padding-top: 74px; padding-bottom: 76px; background: var(--yellow-soft); border-block: 1px solid var(--pencil); }
.gallery-heading p { color: var(--muted); margin-top: 15px; }
.phone-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 52px; padding: 40px 22px 15px; margin-top: 15px; }
.screen-shot { min-width: 0; max-width: 290px; justify-self: center; }
.screen-shot:nth-child(2) { padding-top: 38px; }
.screen-shot:nth-child(3) { padding-top: 12px; }
.screen-shot .phone { max-width: 270px; margin-inline: auto; }
.screen-shot figcaption { margin-top: 24px; }
.screen-shot figcaption strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.screen-shot figcaption span { display: block; color: var(--muted); font-size: .88rem; margin-top: 9px; }
.swipe-hint { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.workflow { padding-bottom: 92px; }
.workflow h2 { max-width: 22ch; }
.learning-loop { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; list-style: none; padding: 0; margin-top: 36px; }
.learning-loop li { position: relative; padding-top: 24px; border-top: 2px dashed var(--rule); }
.learning-loop li::before { content: ''; position: absolute; width: 11px; height: 11px; background: var(--pink); border: 2px solid var(--raspberry); border-radius: 50%; top: -7px; left: 0; }
.learning-loop h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; }
.learning-loop p { color: var(--muted); margin-top: 12px; font-size: .92rem; }
.roadmap-section { background: var(--pink-soft); }
.roadmap-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 80px; }
.roadmap-heading h2 { max-width: 15ch; }
.roadmap-heading > p:not(.section-note) { margin-top: 24px; max-width: 37ch; }
.planned-label { display: inline-block; padding: 8px 12px; border: 1px solid var(--raspberry); color: var(--raspberry); font-weight: 700; font-size: .83rem; transform: rotate(-2deg); }
.planned-list { list-style: none; padding: 0; }
.planned-list li { padding: 15px 0 15px 28px; border-bottom: 1px solid var(--rule); position: relative; font-weight: 600; }
.planned-list li:first-child { padding-top: 0; }
.planned-list li::before { content: '↗'; color: var(--raspberry); position: absolute; left: 0; }
.claude-note { background: var(--sheet); padding: 30px; margin-top: 34px; border-left: 3px solid var(--raspberry); }
.claude-note h3 { font-size: 1.5rem; }
.claude-note p { margin-top: 18px; color: var(--muted); }
.claude-note .human-review { padding-top: 16px; border-top: 1px dashed var(--rule); color: var(--ink); font-size: .85rem; }
.about-section { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 85px; align-items: start; }
.about-title > img { width: 64px; height: 64px; margin-bottom: 20px; }
.about-title .about-art { margin-top: 26px; width: 240px; height: 175px; object-fit: cover; object-position: right bottom; border-radius: 55% 45% 4px 4px; }
.about-copy { max-width: 58ch; }
.about-copy p + p { margin-top: 22px; color: var(--muted); }
.founder-line { font-size: 1.35rem; font-weight: 500; line-height: 1.5; }
.about-copy a { overflow-wrap: anywhere; }
.faq-section { border-block: 1px solid var(--pencil); background: var(--sheet); }
.faq-layout { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 85px; }
.faq-layout > div > p { color: var(--muted); margin-top: 18px; }
.faq-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary { padding: 20px 10px 20px 0; cursor: pointer; font-weight: 600; }
summary::marker { color: var(--raspberry); }
details[open] summary { color: var(--raspberry); }
details p { padding-bottom: 22px; color: var(--muted); }
.contact-section { padding-block: 80px; }
.contact-paper { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 44px; align-items: center; padding: 48px; border: 1px solid var(--rule); background: var(--yellow-soft); border-radius: 4px; box-shadow: 6px 6px 0 var(--paper), 7px 7px 0 var(--rule); }
.contact-paper::before { content: ''; position: absolute; width: 90px; height: 22px; top: -10px; left: 40px; background: var(--pink); opacity: .85; transform: rotate(-5deg); }
.contact-paper h2 { max-width: 19ch; }
.contact-paper p:not(.section-note) { margin-top: 20px; max-width: 46ch; }
.contact-email { display: inline-block; margin-top: 18px; font-weight: 700; overflow-wrap: anywhere; }
.contact-actions { display: grid; gap: 12px; min-width: 175px; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 32px; }
.footer-inner > p { font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; color: var(--muted); font-size: .85rem; margin-top: 16px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
@media (prefers-color-scheme: dark) {
  :root { --paper: #22232b; --sheet: #292a32; --ink: #f4eee7; --muted: #c9c1bb; --pink-soft: #3b2b36; --yellow-soft: #353124; --raspberry: #f5abc6; --rule: #796a6f; --pencil: #53484c; --grain: #f0dac40b; --shadow: #00000026; --focus: #ffe082; }
  .pencil-underline::after { background: #8c405c; }
  .world, .about-art { filter: brightness(.85); }
}
@media (hover: hover) and (pointer: fine) {
  .button:hover { box-shadow: 3px 3px 0 var(--pink-strong); }
  .button-outline:hover { background: var(--pink-soft); }
}
/* Progressive enhancement: unsupported browsers keep all content visible. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: transform 160ms cubic-bezier(.23,1,.32,1), box-shadow 160ms ease; }
  .button:active { transform: translateY(2px); box-shadow: none; }
  @supports (animation-timeline: view()) {
    .reveal { animation: paper-arrives linear both; animation-timeline: view(); animation-range: entry 0% entry 24%; }
    .reveal:focus-within { animation: none; }
    @keyframes paper-arrives { from { opacity: .6; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  }
}
@media (max-width: 1100px) {
  .header-inner nav { gap: 18px; }
  .hero { gap: 24px; }
  .hero-showcase { height: 460px; }
  .hero-phone { width: 39%; top: 10px; }
  .browser-frame { top: 116px; width: 85%; }
  .paper-label { left: 5%; bottom: 3px; font-size: 1rem; padding: 12px 18px; }
  .classroom-spread, .roadmap-layout { gap: 44px; }
  .student-note { padding: 40px 30px; }
  .phone-gallery { gap: 35px; padding-inline: 10px; }
  .about-section, .faq-layout { gap: 50px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 10rem; }
  .header-inner { flex-wrap: wrap; padding-block: 12px 8px; gap: 4px 16px; }
  .header-inner nav { width: 100%; order: 3; justify-content: space-between; gap: 12px; }
  .header-inner nav a { padding-block: 8px; }
  .hero h1 { font-size: 3.1rem; }
  .hero-description { font-size: 1rem; }
  .hero-showcase { height: 430px; }
  .hero-phone { width: 45%; right: 2px; }
  .browser-frame { top: 135px; width: 90%; }
  .paper-label { max-width: 85%; font-size: .95rem; }
  .hero .actions { gap: 10px; }
  .hero .button { padding-inline: 15px; font-size: .85rem; }
  .learning-loop { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 36px; }
  .contact-paper { padding: 36px; gap: 30px; }
}
@media (max-width: 767px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 60px; }
  .hero { grid-template-columns: minmax(0,1fr); padding-block: 32px 30px; gap: 30px; }
  .hero-copy { padding: 0; }
  .product-credit { margin-bottom: 17px; }
  .hero h1 { font-size: clamp(3rem,8.3vw,4rem); max-width: 13ch; }
  .hero-description { max-width: 52ch; margin-top: 20px; }
  .hero-showcase { width: min(100%,540px); justify-self: center; height: 470px; }
  .hero-phone { width: 36%; right: 9px; }
  .browser-frame { top: 105px; width: 80%; }
  .paper-label { bottom: 10px; }
  .pilot-strip p { font-size: 1rem; padding-block: 22px; }
  .classroom-spread { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .section-heading { margin-bottom: 36px; }
  .student-note { padding: 38px 28px; }
  .student-note h3 { max-width: 22ch; }
  .teaching-notes { padding: 0 4px; }
  .teaching-notes p:last-child { max-width: none; }
  .swipe-hint { position: static; width: auto; height: auto; clip-path: none; white-space: normal; margin-top: 20px; color: var(--muted); font-size: .8rem; }
  .phone-gallery { display: flex; gap: 28px; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 24px 10px 24px; margin-top: 10px; scrollbar-color: var(--raspberry) var(--yellow-soft); }
  .screen-shot { flex: 0 0 254px; scroll-snap-align: start; max-width: none; }
  .screen-shot:nth-child(n) { padding-top: 0; }
  .screen-shot .phone { width: 244px; }
  .screen-shot figcaption { margin-top: 20px; padding-inline: 5px; }
  .roadmap-layout, .about-section, .faq-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .roadmap-heading h2 { max-width: 23ch; }
  .roadmap-heading > p:not(.section-note) { max-width: none; }
  .claude-note { padding: 24px; }
  .about-title { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
  .about-title > img { margin-bottom: 0; width: 52px; height: 52px; }
  .about-title .about-art { display: none; }
  .founder-line { font-size: 1.2rem; }
  .contact-paper { grid-template-columns: minmax(0,1fr); padding: 34px 26px; gap: 26px; }
  .contact-actions { display: flex; flex-wrap: wrap; min-width: 0; }
  .contact-actions .button { flex: 1 1 150px; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 1.35rem; }
  .brand img { width: 34px; height: 34px; }
  .header-inner nav { gap: 7px; }
  .header-inner nav a { font-size: .73rem; }
  .hero-showcase { height: 330px; }
  .hero-phone { width: 39%; right: 7px; top: 0; border-radius: 18px; padding: 5px; }
  .hero-phone img { border-radius: 3px 3px 12px 12px; }
  .hero-phone .phone-speaker { margin-bottom: 5px; height: 3px; }
  .browser-frame { top: 70px; width: 86%; }
  .browser-bar { padding: 6px 8px; font-size: .5rem; }
  .paper-label { bottom: 3px; left: 7px; padding: 10px 14px; font-size: .9rem; }
  .paper-label span { font-size: .7rem; }
  .hero .button { padding: 12px 13px; }
  .student-note { padding: 36px 23px; }
  .student-note h3 { font-size: 1.8rem; }
  .text-link { max-width: calc(100% - 34px); }
  .pencil-flower { width: 48px; height: 48px; right: 6px; }
  .learning-loop { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .learning-loop li { border-top: none; border-left: 2px dashed var(--rule); padding: 0 0 4px 22px; }
  .learning-loop li::before { left: -7px; top: 6px; }
  .contact-paper { padding-inline: 22px; }
  .footer-bottom nav { gap: 16px; }
}
@media (forced-colors: active) {
  .button, .phone, .student-note, .contact-paper, .paper-label { border: 1px solid CanvasText; }
  .pencil-underline::after, .paper-label::before, .contact-paper::before { display: none; }
}
