/* The Learning Forest website. The app is at /app/. Same palette and font as the app. */
@font-face{font-family:'Fredoka';font-style:normal;font-display:swap;font-weight:300 700;
  src:url(/app/fonts/fredoka-latin-wght-normal.woff2) format('woff2-variations')}
:root{
  --bg:#F1F6E6; --surface:#FCFEF6; --ink:#1D2A17; --muted:#56664C; --line:#D5E3C3;
  --leaf:#2F8F46; --leaf-dark:#21683A; --canopy:#3E9A3E; --canopy-2:#7CC35A; --bark:#7A4E2D; --soil:#C9B48E;
  --fruit:#E0303A; --fruit-2:#FF8A7A; --sprout:#3F9A4D; --sprout-2:#8FD07C; --snow:transparent;
  --display:'Fredoka',ui-rounded,'SF Pro Rounded','Segoe UI',system-ui,sans-serif;
  --body:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.6}
a{color:var(--leaf-dark)}
:focus-visible{outline:3px solid #E5962A;outline-offset:2px}
.wrap{max-width:1040px;margin:0 auto;padding-inline:20px}
h1,h2,h3{font-family:var(--display);line-height:1.15;text-wrap:balance;margin:0}
h1{font-size:clamp(36px,6vw,58px);font-weight:700;letter-spacing:-.01em}
h2{font-size:clamp(28px,4vw,38px);font-weight:600;margin-bottom:12px}
h3{font-size:21px;font-weight:600;margin-bottom:4px}
p{margin:0 0 12px}

.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:14px;background:var(--leaf);color:#fff;
  font-family:var(--display);font-weight:600;font-size:18px;text-decoration:none;box-shadow:0 3px 0 var(--leaf-dark);white-space:nowrap}
.btn:hover{background:var(--leaf-dark)}
.btn.quiet{background:var(--surface);color:var(--ink);box-shadow:0 3px 0 var(--line)}
.btn.small{padding:8px 14px;font-size:16px}

/* hero */
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-block:56px 48px}
.hero .lead{font-size:20px;color:var(--muted);margin:18px 0 26px;max-width:34em}
.hero .ctas{display:flex;flex-wrap:wrap;gap:12px}
.badges{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:22px;color:var(--muted);font-size:15px;list-style:none;padding:0}
.badges li::before{content:'✓ ';color:var(--leaf);font-weight:700}
.grove{background:var(--surface);border-radius:28px;padding:18px;box-shadow:0 10px 30px rgba(30,60,20,.08)}
.grove-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.grove-grid span{aspect-ratio:1;display:grid;place-items:center}
.grove-grid svg{width:100%;height:100%}
.grove p{text-align:center;color:var(--muted);font-size:14px;margin:10px 0 0}
@media (max-width:820px){.hero .wrap{grid-template-columns:1fr;padding-block:36px}}

/* sections */
section.band{padding-block:56px}
section.band.alt{background:var(--surface)}
.intro{max-width:40em;color:var(--muted);font-size:18px;margin-bottom:28px}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.card{background:var(--surface);border-radius:20px;padding:20px 22px;min-width:0}
.alt .card{background:var(--bg)}
a.card{text-decoration:none;color:var(--ink)}
a.card:hover h3{text-decoration:underline}
.card p{color:var(--muted);margin:0}
.card .emo{font-size:30px;line-height:1;display:block;margin-bottom:8px}
.steps{counter-reset:step;list-style:none;padding:0;margin:0;display:grid;gap:14px;max-width:46em}
.steps li{counter-increment:step;display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start}
.steps li::before{content:counter(step);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--leaf);color:#fff;font-family:var(--display);font-weight:600;font-size:20px}
.steps b{font-family:var(--display);font-weight:600;font-size:19px;display:block}
.split{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
@media (max-width:820px){.split{grid-template-columns:1fr}}
.ticks{list-style:none;padding:0;margin:0}
.ticks li{padding-left:28px;position:relative;margin-bottom:8px}
.ticks li::before{content:'✓';position:absolute;left:0;color:var(--leaf);font-weight:700}
.note{background:var(--surface);border-left:6px solid var(--leaf);border-radius:12px;padding:14px 18px;color:var(--muted)}

/* school pack documents */
.doc{max-width:46em;padding-block:36px 56px}
.doc h1{font-size:clamp(32px,5vw,44px);margin-bottom:8px}
.doc h2{font-size:26px;margin:30px 0 10px}
.doc h3{margin-top:18px}
.doc .meta{color:var(--muted);margin-bottom:20px}
.draft{background:#FFF2CC;border:2px solid #E5B700;border-radius:12px;padding:12px 16px;margin:16px 0 22px}
.fill{background:#FFF2CC;padding:0 4px;border-radius:4px}
.doc table{width:100%;border-collapse:collapse;font-size:15px;margin:8px 0 16px}
.doc th,.doc td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:8px 10px 8px 0}
.doc th{font-family:var(--display);font-weight:600;font-size:16px}
.tablewrap{overflow-x:auto}
.doc ol,.doc ul{padding-left:22px}
.doc li{margin-bottom:6px}
.sign{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:20px}
.sign div{border-top:1px solid var(--ink);padding-top:6px;color:var(--muted);font-size:15px}
@media print{
  .no-print{display:none}
  body{background:#fff;font-size:12pt}
  .draft{border-width:1px}
  a{color:inherit;text-decoration:none}
}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
.modules .card h3{font-size:23px}
.card.soon{opacity:.6}
.byline{font-family:var(--display);font-weight:500;font-size:22px;color:var(--leaf-dark);margin:6px 0 0}
.card-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px !important}

/* modules: expandable rows */
.modlist{display:grid;gap:12px}
.module{background:var(--surface);border-radius:20px;overflow:hidden}
.module summary,.module .summary{display:flex;align-items:center;gap:16px;padding:18px 22px;list-style:none}
.module summary{cursor:pointer}
.module summary::-webkit-details-marker{display:none}
.module summary::after{content:'';flex:none;width:11px;height:11px;margin:0 4px 4px auto;border-right:3px solid var(--muted);border-bottom:3px solid var(--muted);transform:rotate(45deg);transition:transform .2s}
.module[open] summary::after{transform:rotate(-135deg);margin-bottom:-4px}
.module summary:hover b{text-decoration:underline}
.module .emo{font-size:34px;line-height:1;flex:none}
.mt{min-width:0}
.mt b{display:block;font-family:var(--display);font-weight:600;font-size:22px;line-height:1.2}
.mt small{display:block;color:var(--muted);font-size:16px}
.module-body{padding:4px 22px 22px;border-top:1px solid var(--line)}
.module-body > p:first-child{margin-top:16px}
.module-body h3{margin:24px 0 6px}
.module-body h4{font-family:var(--display);font-weight:600;font-size:19px;margin:0 0 4px}
.module-body .card{background:var(--bg)}
.module-body .intro{margin-bottom:16px}
.module.soon{opacity:.6}
.module-body .cards{margin-bottom:22px}
/* school pack: four cards as a 2 × 2 grid, one column on phones */
.cards.pack-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:640px){.cards.pack-cards{grid-template-columns:1fr}}
