@font-face {
  font-family: Inter;
  src: url('assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
h1, h2, h3 { line-height: 1.07; }
p { max-width: 68ch; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus, #1473d2); outline-offset: 4px; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 6rem, 78rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; inset: .75rem auto auto .75rem; background: #fff; color: #101010; padding: .75rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kicker { font-size: .875rem; font-weight: 720; letter-spacing: .1em; line-height: 1.4; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.5rem; gap: 1.75rem; }
.site-logo { flex-shrink: 0; width: fit-content; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); }
.site-nav a { font-size: .9375rem; font-weight: 620; text-decoration: none; padding-block: .45rem; }
.site-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-nav .nav-action { padding: .65rem 1rem; }
.menu-toggle { display: none; background: transparent; border: 1px solid currentColor; padding: .54rem .75rem; min-height: 44px; border-radius: .35rem; cursor: pointer; font-weight: 650; }
.action { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3.25rem; padding: .74rem 1.15rem; font-weight: 720; line-height: 1.35; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.footer-inner { min-height: 8.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; }
.footer-links a { font-size: .9375rem; text-decoration: none; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 3rem); }
  .header-inner { min-height: 4.75rem; }
}
@media (max-width: 700px) {
  .header-inner { flex-wrap: wrap; gap: 0 1rem; padding-block: .7rem; }
  .js .menu-toggle { display: block; }
  .site-nav { flex-basis: 100%; flex-wrap: wrap; gap: .3rem 1.4rem; padding: .8rem 0 .25rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; padding-top: .85rem; }
  .js .site-nav a { padding: .65rem .25rem; }
  .js .site-nav .nav-action { margin-top: .25rem; padding: .65rem .8rem; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 1.8rem; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 2.25rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

:root {
  --ink: #173354;
  --paper: #fffdf8;
  --cream: #fff8e8;
  --butter: #ffcf40;
  --blue: #105f9d;
  --blue-ink: #104c7b;
  --mist: #e7f4fd;
}
.site-header, .hero, .site-footer { background: var(--cream); }
.site-header { border-bottom: 1px solid #e6dbbe; }
.site-logo img { width: 6.55rem; }
.site-nav .nav-action { border: 1px solid #bdab7b; border-radius: 30rem; padding-inline: 1.15rem; }
.site-nav .nav-action:hover { background: #ffe697; text-decoration: none; }
.hero { overflow: hidden; padding-block: 1.8rem 3.6rem; }
.hero-layout { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(1.25rem, 3vw, 3rem); align-items: center; }
.hero-copy { padding-block: clamp(2rem, 6vw, 6rem); position: relative; z-index: 2; }
.hero .kicker { display: flex; align-items: center; gap: .72rem; color: var(--blue-ink); margin-bottom: 1.2rem; letter-spacing: .075em; }
.hero .kicker::before { content: ''; display: block; width: 1.3rem; height: .35rem; border-radius: 50rem; background: #e2a920; }
.hero h1 { font-size: clamp(3rem, 5.85vw, 5.75rem); line-height: .98; font-weight: 850; letter-spacing: -.063em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p:not(.kicker) { max-width: 36ch; margin-block: 1.35rem 1.55rem; font-size: 1.0625rem; color: #40556a; }
.hero .action { border-radius: 30rem; background: var(--butter); padding-inline: 1.25rem; }
.hero .action:hover { background: #ffdd74; }
.play-stage { position: relative; isolation: isolate; display: flex; align-items: flex-end; border-radius: 12rem 12rem 1.75rem 1.75rem; background: #dfedfb; overflow: hidden; min-height: 29.5rem; }
.play-stage::before { content: ''; position: absolute; z-index: -1; width: 77%; aspect-ratio: 1; background: #ffd456; border-radius: 50%; top: 9%; left: 11%; }
.play-stage::after { content: ''; position: absolute; z-index: -1; width: 86%; height: 38%; top: 24%; left: 7%; border: 2px solid #8cb9e2; border-radius: 50%; transform: rotate(-13deg); }
.play-stage img { width: 100%; }

.kits, .play-flow, .use { padding-block: clamp(3.6rem, 7.4vw, 6.8rem); }
.kits-intro { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(1.5rem, 5.8vw, 5.5rem); margin-bottom: 2.5rem; }
.kits h2, .play-flow h2, .use h2 { font-size: clamp(2.6rem, 5.2vw, 4.75rem); letter-spacing: -.075em; font-weight: 830; line-height: 1; }
.kits-intro p { margin-top: 1rem; color: #40556a; }
.kits-intro img { width: 100%; max-height: 16rem; object-fit: contain; }
.kits-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.kit { --kit-tone: #2e7e86; --kit-paper: #ebf4f3; background: var(--kit-paper); padding: clamp(1.2rem, 2.75vw, 2.3rem); border-top: .32rem solid var(--kit-tone); border-radius: .7rem .7rem 1.05rem 1.05rem; }
.kit-language { --kit-tone: #40835d; --kit-paper: #edf5e9; }
.kit-science { --kit-tone: #76982e; --kit-paper: #f1f5dd; }
.kit h3 { font-size: clamp(1.4rem, 2.55vw, 2.15rem); letter-spacing: -.06em; margin-bottom: .65rem; }
.kit p { color: #3a5160; }
.kit ul { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin-top: 1rem; padding: .9rem 0 0; border-top: 1px solid #b9cebd; list-style: none; }
.kit li { font-size: .875rem; font-weight: 670; }

.play-flow { background: var(--mist); }
.flow-intro { display: grid; grid-template-columns: 1fr .6fr; align-items: end; gap: 1.25rem 3rem; margin-bottom: 2rem; }
.flow-intro p, .play-steps p, .accordion p { color: #40556a; }
.play-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2.25rem); padding: 0; list-style: none; }
.play-steps li { position: relative; border-top: 1px solid #a5c9e7; padding-top: 1.25rem; }
.step-number { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--butter); border-radius: 50%; font-size: 1.25rem; line-height: 1; font-weight: 800; margin-bottom: .9rem; }
.play-steps li:nth-child(even) .step-number { background: #c2ddf5; }
.play-steps h3 { font-size: 1.65rem; letter-spacing: -.055em; margin-bottom: .6rem; }

.use-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.6rem, 5vw, 5.25rem); }
.use h2 { font-size: clamp(2.55rem, 4.4vw, 4.1rem); margin-bottom: 1.4rem; }
.use-layout > img { width: 100%; min-height: 23rem; object-fit: cover; object-position: 43% center; border-radius: 1.35rem; }
.accordion { border-top: 1px solid #c8d1dc; }
.accordion details { border-bottom: 1px solid #c8d1dc; }
.accordion summary { min-height: 3.55rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; list-style: none; padding-block: .6rem; font-size: 1.12rem; font-weight: 730; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.4em; color: var(--blue); font-weight: 500; line-height: 1; }
.accordion details[open] summary::after { content: '−'; }
.accordion p { padding: 0 1.5rem 1.05rem 0; }
.site-footer { border-top: 1px solid #e6dbbe; }

@media (max-width: 1000px) {
  .play-stage { min-height: 23rem; }
}
@media (max-width: 850px) {
  .hero { padding-block: 1.1rem 2.4rem; }
  .play-stage { min-height: 19rem; border-top-left-radius: 8rem; border-top-right-radius: 8rem; }
}
@media (max-width: 700px) {
  .hero-layout, .kits-intro, .use-layout, .flow-intro { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: .4rem 2rem; }
  .hero-copy { padding-block: 2rem .4rem; }
  .hero h1 { font-size: clamp(2.62rem, 10.7vw, 5.1rem); }
  .hero-copy > p:not(.kicker) { margin-block: 1.05rem 1.2rem; }
  .play-stage { min-height: 0; width: 100%; max-width: 36rem; }
  .play-stage img { padding-top: 1.4rem; }
  .kits-intro { margin-bottom: 1.7rem; }
  .kits-intro img { max-height: 13rem; }
  .kits-list { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .play-steps { grid-template-columns: 1fr 1fr; }
  .use-layout > img { min-height: 0; aspect-ratio: 1.42; }
}

.home-games, .play-guide { padding-block: clamp(3.7rem, 7.25vw, 6.8rem); }
.home-games { background: #fffbf0; }
.games-intro, .guide-layout { display: grid; grid-template-columns: 1fr .82fr; align-items: end; gap: clamp(1.3rem, 5.9vw, 5.5rem); }
.games-intro { margin-bottom: 2rem; }
.games-intro h2, .guide-intro h2, .questions h2 { font-size: clamp(2.55rem, 5.05vw, 4.65rem); letter-spacing: -.073em; font-weight: 820; line-height: 1; }
.games-intro p, .home-game > p, .guide-intro > p:not(.kicker), .guide-prompts dd { color: #40556a; }
.games-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #dacfaf; }
.home-game { display: grid; align-content: start; grid-template-rows: auto 1fr auto; gap: .75rem; border-left: 1px solid #dacfaf; padding: 1.45rem clamp(.85rem, 2.3vw, 2.05rem); }
.home-game:first-child { border-left: 0; padding-left: 0; }
.game-math { --theme-bg: #daeef2; --theme-ink: #155961; }
.game-language { --theme-bg: #e3f0da; --theme-ink: #365b39; }
.game-science { --theme-bg: #eef1d6; --theme-ink: #4b5c2c; }
.game-theme { color: var(--theme-ink); font-size: .9375rem; font-weight: 730; margin-bottom: .65rem; }
.home-game h3 { font-size: clamp(1.5rem, 2.55vw, 2.15rem); letter-spacing: -.058em; }
.home-game blockquote { border-radius: .7rem; padding: .85rem 1rem; margin: .1rem 0 0; background: var(--theme-bg); color: var(--theme-ink); font-weight: 670; }
.play-guide { background: #ffedb4; }
.guide-layout { align-items: start; }
.guide-intro .kicker { color: var(--blue-ink); margin-bottom: .85rem; }
.guide-intro > p:not(.kicker) { margin-top: 1.1rem; }
.guide-prompts { border-top: 1px solid #c0ae70; }
.guide-prompts > div { padding-block: .9rem 1.05rem; border-bottom: 1px solid #c0ae70; }
.guide-prompts dt { font-size: 1.23rem; font-weight: 760; letter-spacing: -.035em; }
.guide-prompts dd { margin-top: .3rem; }
.questions { --questions-rule: #cfc5a8; --questions-copy: #40556a; }

@media (max-width: 700px) {
  .games-intro, .guide-layout, .games-list { grid-template-columns: minmax(0, 1fr); }
  .home-game:nth-child(n) { border-left: 0; padding-inline: 0; }
  .home-game + .home-game { border-top: 1px solid #dacfaf; }
}

.questions { padding-block: clamp(3.6rem, 7.2vw, 6.8rem); }
.questions-layout { display: grid; grid-template-columns: .66fr 1.34fr; align-items: start; gap: clamp(1.6rem, 5.5vw, 5.4rem); }
.questions-list { border-top: 1px solid var(--questions-rule); }
.questions-list details { border-bottom: 1px solid var(--questions-rule); }
.questions-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 3.75rem; gap: 1rem; padding-block: .8rem; cursor: pointer; list-style: none; line-height: 1.35; font-size: 1.0625rem; font-weight: 700; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after { content: '+'; font-size: 1.35em; font-weight: 450; line-height: 1; flex: none; }
.questions-list details[open] summary::after { content: '−'; }
.questions-list details p { padding: 0 1.5rem 1rem 0; color: var(--questions-copy); }

@media (max-width: 700px) {
  .questions-layout { grid-template-columns: minmax(0, 1fr); }
}
