/* The Fold public pages. Built by scripts/seo/build.ts; do not edit here. */
@font-face{font-family:"Fraunces";font-style:normal;font-display:swap;font-weight:400;src:url(/site/fonts/fraunces-latin-400-normal.woff2) format("woff2");}
@font-face{font-family:"Fraunces";font-style:normal;font-display:swap;font-weight:600;src:url(/site/fonts/fraunces-latin-600-normal.woff2) format("woff2");}
@font-face{font-family:"Andika";font-style:normal;font-display:swap;font-weight:400;src:url(/site/fonts/andika-latin-400-normal.woff2) format("woff2");}
@font-face{font-family:"Andika";font-style:normal;font-display:swap;font-weight:700;src:url(/site/fonts/andika-latin-700-normal.woff2) format("woff2");}
:root {
  --bg: #f1e9da;
  --card: #fcf9f3;
  --card-2: #f6efe3;
  --ink: #2b2721;
  --ink-soft: #5d554a;
  --ink-faint: #8a8172;
  --line: #d9cdb8;
  --line-soft: #e8dfcf;

  --stone: #c8bca8;
  --sand: #ead6b2;
  --bark: #8a603f;
  --moss: #4f6f3c;
  --moss-soft: #b5c690;
  --moss-wash: #e2ead0;
  --ochre: #c98e2b;
  --ochre-soft: #ecd193;
  --clay: #b4532f;
  --clay-wash: #f4dccd;
  --sky: #3e788a;
  --sky-soft: #bcd7dc;
  --sky-softer: #dce9eb;
  --sky-shade: #a9c6cc;
  --gold: #dcb75a;
  --silver: #d6d2c8;

  --words: #3e788a;
  --numbers: #c3862a;
  --nature: #4f6f3c;
  --world: #b4532f;
  --stories: #7d5370;
  --wonder: #4b5f8c;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-read: "Andika", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(46, 43, 37, 0.04), 0 8px 24px -12px rgba(46, 43, 37, 0.18);
  --gutter: clamp(16px, 4vw, 40px);

  color-scheme: light;
}
:root {
  --hair: rgba(43, 39, 33, 0.08);
  --hair-strong: rgba(43, 39, 33, 0.15);
  --shadow: 0 1px 2px rgba(43, 39, 33, 0.04), 0 12px 30px -18px rgba(43, 39, 33, 0.26);
  --shadow-lift: 0 2px 4px rgba(43, 39, 33, 0.04), 0 22px 44px -22px rgba(43, 39, 33, 0.34);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* =====================================================================
   Landing and Welcome (src/pages/Landing.tsx, src/pages/Welcome.tsx)
   The front door, for grown-ups. Paper, ink and the bush, lots of air,
   Fraunces for display and Andika for reading. Motion is slow and quiet,
   and with reduced motion everything simply shows.
   ===================================================================== */

.lp {
  --lp-max: 1160px;
  overflow-x: clip;
}
.wrap.lp-wrap { max-width: var(--lp-max, 1160px); }

.lp h1, .lp h2, .lp h3 { font-family: var(--font-display); font-weight: 400; }

.lp-eyebrow {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

/* Header: the brand, and a quiet way in */
.lp-top .wrap { min-height: 60px; }
.lp-top .mark { overflow: visible; }
.lp-top-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 16.5px;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.lp-top-link:hover { background: var(--card); }
.lp-top-link:active { transform: scale(0.97); background: var(--card); }

/* Calls to action */
.lp-calls { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-calls.is-center { justify-content: center; width: 100%; max-width: 380px; }
.lp-call { white-space: nowrap; }
.lp-call { min-width: 150px; }
@media (max-width: 420px) {
  .lp-calls .lp-call { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; }
}

/* ---------- Hero ---------- */
.lp-hero { padding: clamp(18px, 5vw, 72px) 0 0; }
.lp-hero-in { display: grid; gap: 28px; align-items: center; }
.lp-hero-text { display: grid; gap: 18px; }
.lp-hero h1 {
  font-size: clamp(42px, 11.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 9.5em;
}
.lp-lede {
  font-family: var(--font-display);
  font-size: clamp(22px, 5.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 18em;
}
.lp-invite { margin-top: 14px; font-size: 14.5px; color: var(--ink-faint); max-width: 32em; }
.lp-hero-scene { display: grid; gap: 12px; justify-items: center; }
.lp-scene-note { font-size: 14px; color: var(--ink-faint); text-align: center; }

@media (min-width: 900px) {
  .lp-hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 72px); }
  .lp-hero h1 { font-size: clamp(56px, 6.2vw, 78px); max-width: 8.4em; }
  .lp-hero-text { gap: 22px; }
}

/* Load-in for the hero: a gentle rise, one line after another */
.lp-rise { animation: lp-rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes lp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.lp-section { padding: clamp(8px, 2vw, 24px) 0 clamp(16px, 3vw, 32px); }
.lp-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 5vw, 52px); max-width: 44em; }
.lp-head h2, .lp-end h2 {
  font-size: clamp(34px, 7.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14em;
}
.lp-sub { font-size: clamp(17.5px, 2vw, 20px); line-height: 1.5; color: var(--ink-soft); max-width: 34em; }

/* Reveal as it arrives */
.lp-motion [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.lp-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- For grown-ups ---------- */
.lp-week {
  position: relative;
  margin: 0;
  padding: 22px 22px 18px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-lift);
}
.lp-week-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--card-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.lp-week h3 { font-size: 22px; letter-spacing: -0.015em; padding-right: 90px; }
.lp-prog { display: grid; gap: 10px; margin: 14px 0 0; }
.lp-prog div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--hair); }
.lp-prog dt { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; }
.lp-prog dt i { width: 10px; height: 10px; border-radius: 50%; }
.lp-prog dt i.is-secure { background: var(--moss); }
.lp-prog dt i.is-growing { background: var(--ochre); }
.lp-prog dt i.is-due { background: transparent; box-shadow: inset 0 0 0 2px var(--sky); }
.lp-prog dd { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
/* ---------- The end ---------- */
.lp-end { padding: clamp(72px, 12vw, 140px) 0 clamp(48px, 8vw, 96px); }
.lp-end-in { display: grid; justify-items: center; gap: 18px; text-align: center; }
.lp-end-mark { width: 88px; height: 88px; margin-bottom: 4px; }
.lp-end .lp-sub { max-width: 26em; }
.lp-end .lp-calls { margin-top: 10px; }

.lp-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 24px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  background: linear-gradient(var(--hair), var(--hair)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px;
  font-size: 14px;
  color: var(--ink-faint);
}
.lp-foot a { color: var(--ink-soft); }

/* Under a finger: nothing selects, everything gives */
.lp-top-link { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

@media (prefers-reduced-motion: reduce) {
  .lp-rise { animation: none !important; }
  .lp [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Welcome: the first screen once signed in, before a child is added ---------- */
.wl-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair-strong); }
.wl-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.wl-steps h3 { font-size: 21px; letter-spacing: -0.015em; }
.wl-steps p { margin-top: 3px; font-size: 16.5px; color: var(--ink-soft); }
.wl-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
}
.wl-steps li:last-child .wl-n { border-color: transparent; background: var(--moss-wash); }
@media (min-width: 900px) {
  .wl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; border-top: 0; }
  .wl-steps li { grid-template-columns: 1fr; gap: 14px; border-bottom: 0; border-top: 1px solid var(--hair-strong); padding-top: 22px; }
}
.lp-foot a { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* Air between sections */
.lp-section + .lp-section { padding-top: clamp(72px, 10vw, 128px); }

/* The cartoons are <svg class="scene">; keep the read-page scene card style (src/engage.css) off them here */
.lp svg.scene { min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; display: block; isolation: auto; }

/* ---------- Quiet tags (the sample question's "Sample · not saved", the public pages) ---------- */
.lp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 9px;
  border-radius: 999px;
  font-family: var(--font-read);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: middle;
}
.lp-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lp-tag.is-ready { background: var(--moss-wash); color: var(--moss); }
.lp-tag.is-growing { background: color-mix(in srgb, var(--ochre-soft) 45%, var(--card)); color: #8a5f18; }
.lp-tag.is-coming { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.lp-tag.is-coming::before { background: transparent; box-shadow: inset 0 0 0 1.4px currentColor; }
.lp-tag.is-demo { background: var(--sky-softer); color: var(--sky); }


/* =====================================================================
   The landing page (src/pages/Landing.tsx): one offer, said plainly.
   Lots of air, big quiet type, hairlines between sections, nothing that
   opens or closes.
   ===================================================================== */
.ln-eyebrow { margin: 0; font-family: var(--font-read); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }
.ln-sub { font-size: clamp(17.5px, 2vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 34em; }
.ln-small { font-size: 14.5px; line-height: 1.5; color: var(--ink-faint); }

/* Hero */
.ln-hero { padding: clamp(28px, 7vw, 104px) 0 clamp(64px, 10vw, 128px); }
.ln-hero-in { display: grid; gap: clamp(36px, 6vw, 56px); align-items: center; }
.ln-hero-text { display: grid; gap: 22px; }
.ln-hero h1 { font-size: clamp(42px, 10vw, 76px); line-height: 0.98; letter-spacing: -0.035em; max-width: 10.5em; }
.ln-lede { font-size: clamp(18px, 2.3vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 31em; }
.ln-invite { margin-top: 14px; }
@media (min-width: 960px) {
  .ln-hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: clamp(48px, 6vw, 88px); }
}

/* Sections: a hairline, then plenty of room */
.ln-section { padding: clamp(64px, 10vw, 128px) 0; }
.ln-section .lp-wrap { position: relative; }
.ln-section .lp-wrap::before { content: ""; position: absolute; top: calc(-1 * clamp(64px, 10vw, 128px)); left: var(--gutter); right: var(--gutter); height: 1px; background: var(--hair-strong); }
.ln-hero + .ln-section .lp-wrap::before { display: none; }
.ln-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 44em; }
.ln-head h2, .ln .lp-end h2 { font-size: clamp(34px, 6.2vw, 56px); line-height: 1.02; letter-spacing: -0.03em; max-width: 14em; }

/* What we stand for */
.ln-stand .ln-eyebrow { margin-bottom: clamp(28px, 4vw, 44px); }
.ln-pillars { display: grid; gap: clamp(32px, 5vw, 56px); margin: 0; padding: 0; list-style: none; }
.ln-pillars li { display: grid; gap: 10px; align-content: start; }
.ln-n { font-family: var(--font-display); font-size: 15px; color: var(--clay); letter-spacing: 0.04em; }
.ln-pillars h3 { font-size: clamp(28px, 4.2vw, 36px); line-height: 1.05; letter-spacing: -0.025em; }
.ln-pillars p { font-size: 17.5px; line-height: 1.55; color: var(--ink-soft); max-width: 24em; }
@media (min-width: 860px) { .ln-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The curriculum at a glance */
.ln-stats { display: grid; grid-template-columns: repeat(3, max-content); gap: 20px clamp(24px, 6vw, 72px); margin: 0 0 clamp(32px, 5vw, 48px); }
.ln-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.ln-stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 8vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.ln-stats dt { font-size: clamp(11px, 2.6vw, 12.5px); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.ln-years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ln-year { display: grid; gap: 2px; align-content: start; min-height: 100px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--hair); text-decoration: none; color: var(--ink); transition: transform 0.08s, background-color 0.2s; }
.ln-year:hover { background: var(--card-2); }
.ln-year:active { transform: scale(0.97); }
.ln-year-n { font-family: var(--font-display); font-size: clamp(30px, 7vw, 38px); line-height: 1.05; }
.ln-year-name { font-size: clamp(13px, 3.4vw, 15px); }
.ln-year-state { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: clamp(10.5px, 2.6vw, 12.5px); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--moss); }
.ln-year-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ln-year.is-growing .ln-year-state { color: #8a5f18; }
.ln-year.is-coming { background: transparent; border-style: dashed; border-color: var(--hair-strong); }
.ln-year.is-coming .ln-year-state { color: var(--ink-faint); }
.ln-year.is-coming .ln-year-state::before { background: transparent; box-shadow: inset 0 0 0 1.4px currentColor; }
@media (min-width: 960px) { .ln-years { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.ln-more { margin-top: 20px; font-size: 17px; }
.ln-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-underline-offset: 4px; }

/* For grown-ups */
.ln-grown-in { display: grid; gap: clamp(32px, 5vw, 48px); align-items: center; }
.ln-grown .ln-head { margin-bottom: 0; }
.ln-grown .ln-small { margin-top: 6px; }
@media (min-width: 960px) { .ln-grown-in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); column-gap: clamp(48px, 6vw, 88px); } }

/* The end and the foot */
.ln .lp-end { padding-bottom: clamp(56px, 8vw, 96px); }
.ln-foot { display: grid; gap: 4px; }
.ln-foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.ln-foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.ln-credit { font-size: 13px; }
@media (min-width: 760px) { .ln-foot { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; } .ln-foot-links { justify-content: center; } }

/* Header: on the smallest phones, the curriculum link waits on the page itself */
.ln .lp-top-link { white-space: nowrap; }
@media (max-width: 430px) { .ln-top-extra { display: none; } }
.ln-foot-links a { margin: 0; padding: 0; }

/* The folded lamb is wider than tall: give it a little more room in the header */
.ln .lp-top .brand .mark { width: 42px; height: 42px; }


/* =====================================================================
   Type and balance for grown-ups. Fraunces carries the headings (with an
   italic word in clay for a little warmth); Figtree, a clean modern sans,
   carries everything parents read. Andika stays inside the app's own
   frames (the tour and the sample question), where children read it.
   Headings are kept in proportion with the text; every paragraph is short
   and set at a comfortable measure; sections have air, not acres.
   ===================================================================== */
.ln {
  --font-ui: "Figtree Variable", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--font-ui);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
.ln .tr-device,
.ln .dm-frame { font-family: var(--font-read); }
.ln .btn,
.ln .lp-tag,
.ln .ln-eyebrow { font-family: var(--font-ui); }

.ln h1 em,
.ln h2 em { font-style: italic; color: var(--clay); letter-spacing: -0.02em; }

.ln .ln-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; }

/* Hero */
.ln .ln-hero { padding: clamp(28px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.ln .ln-hero-text { gap: 20px; }
.ln .ln-hero h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -0.03em; max-width: 10em; }
.ln .ln-lede { font-size: clamp(17.5px, 1.7vw, 19.5px); line-height: 1.6; max-width: 27em; }
.ln .ln-invite { margin-top: 12px; }

/* Sections */
.ln .ln-section { padding: clamp(56px, 8vw, 104px) 0; }
.ln .ln-section .lp-wrap::before { top: calc(-1 * clamp(56px, 8vw, 104px)); background: var(--hair); }
.ln .ln-head { gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 40em; }
.ln .ln-head h2,
.ln .lp-end h2 { font-size: clamp(30px, 3.9vw, 46px); line-height: 1.08; letter-spacing: -0.025em; max-width: 16em; }
.ln .ln-sub { font-size: clamp(16.5px, 1.5vw, 18px); line-height: 1.6; max-width: 32em; }
.ln .ln-small { font-size: 14px; }

/* Fundamentals and pillars: smaller titles, one short line beneath */
.ln .ln-fund-text h3,
.ln .ln-pillars h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.015em; }
.ln .ln-fund-text p,
.ln .ln-pillars p { font-size: 16px; line-height: 1.6; max-width: 26em; }
.ln .ln-fund-text a { font-size: 15px; font-weight: 600; }
.ln .ln-pillars li { gap: 8px; }

/* Numbers a touch quieter */
.ln .ln-stats dd { font-size: clamp(36px, 5vw, 56px); }

/* The end */
.ln .lp-end { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); }
.ln .lp-end-mark { width: 72px; height: 72px; }
.ln .ln-hero + .ln-section { padding-top: clamp(24px, 4vw, 48px); }

/* ---------- The curriculum explorer (src/pages/landing/Explorer.tsx) ---------- */

.cx { display: grid; gap: 12px; align-content: start; min-width: 0; }

/* Year: F to 6 */
.cx-years {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px solid var(--hair);
}
.cx-year {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.08s;
}
.cx-year:active { transform: scale(0.95); }
.cx-year i { position: absolute; bottom: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }
.cx-year.is-growing i { background: linear-gradient(90deg, var(--ochre) 50%, transparent 50%); box-shadow: inset 0 0 0 1.4px var(--ochre); }
.cx-year.is-coming i { background: transparent; box-shadow: inset 0 0 0 1.4px var(--ink-faint); }
.cx-year.is-coming { color: var(--ink-soft); }
.cx-year.is-on { background: var(--ink); color: var(--card); }
.cx-year.is-on i { background: var(--card); box-shadow: none; opacity: 0.8; }
.cx-year.is-on.is-coming i { background: transparent; box-shadow: inset 0 0 0 1.4px var(--card); }
.cx-year-n { transform: translateY(-3px); }
.cx-year-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 2px 4px 4px; font-size: 16px; color: var(--ink); min-height: 30px; }
.cx-year-line span { color: var(--ink-faint); }
.cx-year-line .lp-tag { margin-left: 4px; }

/* Subjects: a quiet list, one open at a time */
.cx-areas { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair-strong); }
.cx-area { border-bottom: 1px solid var(--hair); }
.cx-area-btn {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 14px;
  transition: background-color 0.2s, transform 0.08s;
}
.cx-area-btn:active { transform: scale(0.98); background: color-mix(in srgb, var(--card) 70%, transparent); }
.cx-area-pic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.cx-area-name { font-family: var(--font-display); font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; }
.cx-area-name small { font-family: var(--font-read); font-size: 13px; color: var(--ink-faint); }
.cx-area-count { font-size: 14px; color: var(--ink-faint); white-space: nowrap; }
.cx-chev { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
[aria-expanded="true"] > .cx-chev { transform: rotate(180deg); }

.cx-area-body { display: grid; gap: 14px; padding: 2px 0 22px; animation: cx-in 0.5s var(--ease) both; }
@keyframes cx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cx-ac { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }

/* Units */
.cx-units { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cx-unit {
  display: grid;
  gap: 8px;
  padding: 16px 16px 12px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--hair);
  box-shadow: 0 1px 2px rgba(43, 39, 33, 0.04), 0 14px 30px -26px rgba(43, 39, 33, 0.5);
}
.cx-unit-top { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.cx-unit-top .pic { margin-top: 4px; }
.cx-unit-n { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.lp .cx-unit h4 { margin: 2px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.15; letter-spacing: -0.015em; }
.cx-blurb { margin-top: 3px; font-size: 15px; color: var(--ink-soft); }
.cx-more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.08s;
}
.cx-more:active { transform: scale(0.97); background: var(--bg); }
.cx-more .cx-chev { width: 18px; height: 18px; }
.cx-detail { display: grid; gap: 12px; animation: cx-in 0.5s var(--ease) both; }
.cx-outcomes { display: grid; gap: 8px; margin: 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--hair); }
.cx-outcomes li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.cx-outcomes li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; border: 1.6px solid var(--accent); }
.cx-code {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
  color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  vertical-align: 1px;
}
.cx-strand { display: inline-block; margin-left: 6px; font-size: 13px; color: var(--ink-faint); }
.cx-strand::before { content: "· "; }
.cx-lessons { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: cxl; }
.cx-lessons li {
  counter-increment: cxl;
  display: grid;
  grid-template-columns: 22px 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--bg);
  font-size: 15px;
}
.cx-lessons li::before { content: counter(cxl); font-size: 12.5px; font-weight: 700; color: var(--ink-faint); text-align: right; }
.cx-lessons li em { grid-column: 3; margin-top: -4px; font-style: normal; font-size: 13px; color: var(--ink-faint); }
.cx-lessons li.is-check { background: transparent; box-shadow: inset 0 0 0 1px var(--hair-strong); }
.cx-all { justify-self: center; }

/* Coming: the plan */
.cx-planned {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  border: 1.5px dashed var(--hair-strong);
  background: color-mix(in srgb, var(--card) 45%, transparent);
}
.cx-planned-note { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.cx-plan { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cx-plan li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.4; color: var(--ink); }
.cx-plan li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px var(--accent); }
.cx-plan-empty { color: var(--ink-faint); }

.cx-total { padding: 6px 4px 0; font-size: 14px; color: var(--ink-faint); }
.cx-pages { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
.cx-pages:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  .cx-area-body, .cx-detail { animation: none; }
}
.cx-year, .cx-area-btn, .cx-more { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* =====================================================================
   The public curriculum pages (src/seo/pages.tsx), written at build time
   by scripts/seo/build.ts. Served as /site/site.css, after the colour
   tokens (read from src/styles.css), the fonts, and the landing page's own
   rules (landing.css and explorer.css), so they look like the front door.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-read);
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.018em; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ochre-soft); }
.pic { display: inline-block; flex: none; vertical-align: middle; }

.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.lp-wrap { max-width: 1160px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.topbar .wrap { display: flex; align-items: center; gap: 4px; min-height: 60px; }
.topbar .spacer { flex: 1; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--font-display); font-size: 22px; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; }
.brand:active { transform: scale(0.98); }
.lp-top-link { padding: 0 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-read);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.08s;
}
.btn:hover { background: var(--card-2); }
.btn:active { transform: scale(0.98); }
.btn-go { background: var(--ink); color: var(--card); }
.btn-go:hover { background: #45413a; }
.btn-quiet { border-color: var(--line); font-weight: 400; }

/* Skip link: hidden until focused from the keyboard */
.sp-skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--card); }
.sp-skip:focus { top: 10px; }

.sp-main { padding-top: 18px; padding-bottom: 56px; }
.sp-head { margin-top: 22px; margin-bottom: 28px; }
.sp-head h1 { font-size: clamp(38px, 9vw, 64px); line-height: 1.02; letter-spacing: -0.03em; max-width: 14em; }
.sp-head .lp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sp-note { font-size: 15px; color: var(--ink-faint); max-width: 40em; }
.sp-quiet { color: var(--ink-soft); font-weight: 400; }

/* Where you are */
.sp-crumbs ol { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-faint); }
.sp-crumbs li { display: flex; align-items: center; min-height: 44px; }
.sp-crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; }
.sp-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); }

/* Years F to 6, as on the landing page's explorer */
.sp-years { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-top: 8px; border-radius: 20px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--hair); max-width: 560px; }
.sp-year { display: grid; place-items: center; min-height: 48px; border-radius: 16px; font-family: var(--font-display); font-size: 21px; text-decoration: none; transition: background-color 0.2s, transform 0.08s; }
.sp-year:active { transform: scale(0.95); }
.sp-year.is-coming { color: var(--ink-soft); }
.sp-year[aria-current="page"] { background: var(--ink); color: var(--card); }

/* The hub: one card a year */
.sp-year-cards { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; max-width: 760px; }
.sp-year-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.08s;
}
.sp-year-card:active { transform: scale(0.98); }
.sp-year-big { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--bg); font-family: var(--font-display); font-size: 26px; }
.sp-year-text { display: grid; gap: 2px; font-size: 15.5px; line-height: 1.35; }
.sp-year-text strong { font-family: var(--font-display); font-weight: 400; font-size: 21px; }
@media (max-width: 520px) {
  .sp-year-card { grid-template-columns: 44px minmax(0, 1fr); }
  .sp-year-big { width: 44px; height: 44px; font-size: 22px; }
  .sp-year-card .lp-tag { grid-column: 2; justify-self: start; }
}

/* A year: one block a subject */
.sp-areas { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; max-width: 820px; }
.sp-area { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--hair); }
.sp-area-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.sp-area h2 { font-size: 23px; }
.sp-area h2 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sp-area h2 small { font-family: var(--font-read); font-size: 13px; color: var(--ink-faint); }
.sp-area-covers { font-size: 14.5px; color: var(--ink-faint); }
.sp-unit-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sp-unit-list a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 44px; padding: 10px; border-radius: 12px; font-size: 15.5px; line-height: 1.4; text-decoration: none; }
.sp-unit-list a .pic { margin-top: 1px; }
.sp-unit-list a:active { background: var(--bg); transform: scale(0.99); }
.sp-unit-list strong { font-weight: 700; }
.sp-see { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 15px; font-weight: 700; }

/* A subject: every unit, open */
.sp-units { display: grid; gap: 14px; max-width: 820px; }
.sp-unit h2 { margin: 2px 0 0; font-size: 25px; line-height: 1.15; letter-spacing: -0.015em; }
.sp-unit { scroll-margin-top: 80px; }
.sp-unit-body { display: grid; gap: 10px; padding-left: 42px; }
.sp-unit-body h3 { margin-top: 8px; font-family: var(--font-read); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.sp-unit-body .cx-outcomes { border-top: 0; padding-top: 0; }
.sp-codes { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-soft); }
.sp-codes .cx-code { margin-left: 0; margin-right: 6px; }
.sp-vic { font-size: 14px; color: var(--ink-faint); line-height: 1.8; }
.sp-vic .cx-code { margin-left: 0; }
.sp-extend { display: grid; gap: 6px; margin: 0; padding-left: 20px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 520px) { .sp-unit-body { padding-left: 0; } }

.sp-more { margin-top: 36px; max-width: 820px; }
.sp-more h2 { font-size: 26px; margin-bottom: 10px; }
.sp-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sp-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--hair); text-decoration: none; font-size: 16px; }
.sp-links a:active { transform: scale(0.97); }

.sp-about { margin-top: 40px; max-width: 760px; }
.sp-about h2 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 12px; }
.sp-about ul { display: grid; gap: 8px; margin: 0; padding-left: 22px; font-size: 17px; color: var(--ink-soft); }

/* The end: one way in */
.sp-join { display: grid; justify-items: center; gap: 14px; margin: 56px auto 0; max-width: 560px; text-align: center; }
.sp-join h2 { font-size: clamp(32px, 7vw, 48px); letter-spacing: -0.03em; }
.sp-join-mark { width: 64px; height: 64px; }
.sp-calls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
.sp-calls .btn { min-width: 150px; }
@media (max-width: 420px) { .sp-calls .btn { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; } }

.lp-foot { margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Guides (src/seo/guides.tsx) ---------- */
.sp-article { max-width: 760px; }
.sp-prose { display: grid; gap: 14px; font-size: 18px; line-height: 1.6; }
.sp-prose h2, .sp-h2 { margin-top: 18px; font-size: clamp(26px, 5.4vw, 34px); letter-spacing: -0.02em; }
.sp-h2 { margin-top: 36px; margin-bottom: 6px; }
.sp-prose ul { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.sp-prose a, .sp-gap a, .sp-note a { text-underline-offset: 3px; }
.sp-gap { margin-bottom: 14px; font-size: 16px; }
.sp-hw-year { display: grid; gap: 12px; margin-top: 22px; }
.sp-hw-year h3 { font-size: 23px; }
.sp-hw-year h4 { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 4px 0 6px; }
.sp-po-unit ul { display: grid; gap: 4px; margin: 0; padding-left: 22px; font-size: 16px; color: var(--ink-soft); }

.sp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--hair); background: var(--card); }
.hw-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.hw-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hw-table th, .hw-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.hw-table tr:last-child > * { border-bottom: 0; }
.hw-table thead th { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); background: var(--card-2); }
.hw-table tbody th { font-family: var(--font-display); font-weight: 400; font-size: 21px; white-space: nowrap; }
.hw-word { display: inline-flex; gap: 2px; white-space: nowrap; font-size: 19px; }
.hw-part { padding: 0 4px; border-radius: 6px; background: var(--bg); }
.hw-part.is-heart { background: var(--clay-wash); color: var(--ink); box-shadow: inset 0 -2px 0 var(--clay); }
.hw-part.is-heart::after { content: "♥"; margin-left: 2px; font-size: 0.6em; color: var(--clay); vertical-align: super; }
@media (max-width: 520px) {
  .hw-table thead th:nth-child(3), .hw-table td:nth-child(3) { display: none; }
}

.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chip { padding: 2px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--hair); font-size: 16px; }
.sp-groups { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sp-group { padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--hair); }
.sp-group-n { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.sp-letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px 12px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.sp-letters li { display: flex; align-items: center; gap: 8px; }
.sp-letter { font-family: var(--font-display); font-size: 24px; min-width: 18px; }

.sp-guide-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; max-width: 760px; }
.sp-guide-list a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 64px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--hair); text-decoration: none; transition: transform 0.08s; }
.sp-guide-list a:active { transform: scale(0.98); }
.sp-guide-list a > span { display: grid; gap: 2px; font-size: 15.5px; line-height: 1.4; }
.sp-guide-list strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; }

/* Three links in the header: on a phone the mark stands in for the name (the link is still labelled "The Fold, home") */
.lp-top-link { white-space: nowrap; }
@media (max-width: 480px) {
  .topbar .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar .lp-top-link { padding: 0 10px; font-size: 16px; }
}
