:root {
  font-family: "DM Sans", sans-serif;
  color: #0b2455;
  background: #f8fbff;
  font-synthesis: none;
  --ink: #0b2455;
  --accent: #0052ff;
  --accent-hover: #003fc7;
  --muted: #526684;
  --sky: #dcecff;
  --line: #dce8f7;
  --accent-tint: #eaf2ff;
  --sky-soft: #d4e4ff; --sky-ink: #1d47c4;
  /* Two accent colors: brand blue and vivid yellow, with navy text. */
  --sun: #ffe600;
  --sun-ink: var(--ink);
  --sun-tint: #fff9bd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #148eff; outline-offset: 5px; }
::selection { background: var(--sky); }
h1, h2, h3, p { margin: 0; }
.page-width { width: min(1216px, calc(100% - 96px)); margin-inline: auto; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: white; padding: 14px 20px; border-radius: 12px; opacity: 0; pointer-events: none; }
.skip-link:focus { top: 12px; opacity: 1; pointer-events: auto; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; padding: 17px 25px; border-radius: 100px; font-size: 16px; font-weight: 650; line-height: 1.3; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-small { padding: 13px 21px; font-size: 14px; }
.text-link { padding: 6px 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #97b8e1; font-size: 16px; font-weight: 600; background: none; border: 0; }
.text-link:hover { text-decoration-color: currentColor; }
.eyebrow { display: block; font-size: 14px; line-height: 1.5; font-weight: 700; letter-spacing: 1.35px; }
.site-header { height: 96px; border-bottom: 1px solid var(--line); }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 35px; font-weight: 750; letter-spacing: -1.8px; line-height: 1; text-decoration: none; }
.brand svg { width: 35px; height: 35px; }
.brand > span { color: #0052ff; margin-left: -8px; }
.desktop-nav { display: flex; gap: 32px; margin-left: 70px; }
.desktop-nav a { font-size: 14px; font-weight: 550; text-decoration: none; }
.desktop-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-actions { display: flex; gap: 14px; align-items: center; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; padding: 10px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 22px; height: 2px; display: block; background: var(--ink); margin-block: 5px; }
.mobile-menu nav { position: absolute; right: 0; top: 45px; width: 220px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px #0b245514; z-index: 10; }
.mobile-menu nav a { display: block; padding: 12px; font-size: 16px; text-decoration: none; }
.play-icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.section-heading { text-align: center; }
.section-heading h2 { margin-top: 15px; }
h2 { font-size: clamp(36px, 3.4vw, 48px); line-height: 1.16; letter-spacing: -1.9px; font-weight: 550; }
.section-heading > p { font-size: 17px; line-height: 1.7; color: var(--muted); margin-top: 19px; }
.simulation-section { padding-block: 60px 40px; background: #eaf4ff; border-block: 1px solid var(--line); }
.simulation-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.simulation-intro h2 { margin-top: 13px; }
.simulation-intro p { margin-top: 15px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.lesson-tag { font-size: 12px; font-weight: 650; letter-spacing: .7px; border: 1px solid #c5dcf9; border-radius: 100px; padding: 10px 15px; white-space: nowrap; margin-bottom: 4px; }
.simulation-frame { border: 1px solid #cddff5; border-radius: 24px; background: #fff; box-shadow: 0 12px 40px #1647a010; overflow: hidden; }
.simulation-toolbar { min-height: 74px; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 12px; }
.simulation-toolbar > div { display: flex; align-items: center; gap: 10px; }
.simulation-toolbar strong { font-size: 18px; letter-spacing: -.5px; font-weight: 650; }
.kitchen-icon { color: #148eff; font-size: 30px; line-height: 1; transform: rotate(-25deg); }
.sample-label { font-size: 12px; font-weight: 650; letter-spacing: .7px; padding: 6px 8px; background: #edf6ff; border-radius: 5px; color: #406ba3; margin-left: 8px; }
.reset-button { display: flex; gap: 8px; align-items: center; border: 0; background: none; color: var(--muted); font-size: 14px; padding: 10px 0; }
.reset-button .icon { width: 17px; height: 17px; }
.reset-button:hover { color: var(--ink); }
.simulation-layout { display: grid; grid-template-columns: 1.1fr 1fr; }
.pizza-workspace { position: relative; background: #f7fbff; padding: 28px 36px 24px; text-align: center; background-image: radial-gradient(#c8def8 1px, transparent 1px); background-size: 18px 18px; }
.pizza-instruction { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #526684; background: #f7fbff; }
.pizza-instruction > span { font-size: 18px; }
.pizza { display: block; width: min(100%, 320px); margin: 18px auto 10px; filter: drop-shadow(0 13px 8px #7c552b18); overflow: visible; }
.pizza-slice { cursor: pointer; stroke: #fffaf0; stroke-width: 3; stroke-linejoin: round; transition: fill .15s; }
.pizza-slice:hover { filter: brightness(1.07); }
.pizza-slice:focus-visible { outline: none; stroke: var(--ink); stroke-width: 5; }
.pizza-topping { pointer-events: none; }
.fraction-readout { display: flex; gap: 17px; align-items: center; justify-content: center; text-align: left; min-height: 64px; background: #f7fbff; }
.stacked-fraction { display: inline-flex; flex-direction: column; font-size: 27px; font-weight: 700; line-height: 1.1; min-width: 34px; align-items: stretch; text-align: center; }
.stacked-fraction > span:first-child { border-bottom: 2px solid var(--ink); padding-bottom: 3px; margin-bottom: 3px; }
.fraction-readout > div { display: flex; flex-direction: column; gap: 5px; max-width: 310px; }
.fraction-readout strong { font-weight: 600; font-size: 16px; }
.fraction-readout > div > span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.cut-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; font-size: 14px; background: #f7fbff; }
.segmented-control { display: flex; border: 1px solid #cddff5; border-radius: 8px; overflow: hidden; background: #fff; }
.segmented-control button { width: 35px; min-height: 42px; background: none; border: 0; color: var(--ink); font-size: 14px; }
.segmented-control button + button { border-left: 1px solid #dce8f7; }
.segmented-control button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.segmented-control button:focus-visible { outline-offset: -4px; }
.lesson-panel { padding: 37px 40px; background: #fff; }
.lesson-panel > .eyebrow { font-size: 12px; color: #617a9c; }
.lesson-panel h3 { font-size: 32px; line-height: 1.2; letter-spacing: -1px; font-weight: 550; margin-top: 13px; }
.lesson-panel h3 span { white-space: nowrap; }
.lesson-panel > p:not(.simulation-feedback) { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 15px; }
.lesson-panel p strong { font-weight: 600; color: var(--ink); }
.goal-card { display: flex; align-items: center; gap: 15px; background: #edf6ff; border: 1px solid #d5e7fc; border-radius: 12px; padding: 15px 18px; margin-top: 22px; }
.goal-card > span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .8px; color: #526f96; }
.goal-card > strong { font-size: 48px; font-weight: 500; line-height: 1; }
.goal-card > span:last-child { font-size: 14px; color: var(--muted); }
.check-answer { width: 100%; margin-top: 20px; padding: 15px 20px; }
.simulation-feedback { font-size: 14px; line-height: 1.6; min-height: 46px; margin-top: 16px; color: var(--muted); }
.simulation-feedback[data-tone="success"] { color: var(--accent); font-weight: 550; }
.simulation-feedback[data-tone="try"] { color: var(--ink); }
.another-challenge { margin-top: 6px; font-size: 14px; }
.hint { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 16px; }
.hint summary { font-size: 14px; font-weight: 550; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.hint summary::after { content: "+"; font-size: 19px; line-height: 1; }
.hint[open] summary::after { content: "−"; }
.hint p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.waitlist-section { padding-block: 104px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.waitlist-copy h2 { font-size: 58px; letter-spacing: -2.6px; margin-top: 20px; }
.waitlist-copy > p { max-width: 420px; font-size: 17px; line-height: 1.75; color: var(--muted); margin-top: 24px; }
.waitlist-copy > p + p { margin-top: 15px; }
.waitlist-card { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 15px 50px #0b245508; position: relative; }
.waitlist-card h3 { font-size: 28px; font-weight: 550; letter-spacing: -1px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; min-width: 0; }
.form-field label { font-size: 14px; font-weight: 550; }
.form-field input, .form-field select { width: 100%; height: 48px; border: 1px solid #cddff5; border-radius: 9px; background: #f8fbff; color: var(--ink); padding: 11px 13px; font-size: 16px; min-width: 0; }
.form-field input::placeholder { color: #6d819f; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23526684' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 35px; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 22px; }
.consent-label input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.submit-button { width: 100%; margin-top: 22px; padding-block: 15px; }
.form-status { font-size: 14px; line-height: 1.6; color: var(--ink); }
.form-status:not(:empty) { margin-top: 14px; padding: 10px 12px; border-left: 3px solid var(--sun); border-radius: 6px; background: var(--sun-tint); }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-success { padding: 60px 0; text-align: center; }
.success-icon { display: grid; place-items: center; background: var(--sun); color: var(--ink); width: 64px; height: 64px; margin: 0 auto 25px; border-radius: 50%; }
.success-icon .icon { width: 30px; height: 30px; }
.waitlist-success > .eyebrow { font-size: 12px; margin-bottom: 16px; }
.waitlist-success h3 { font-size: 36px; }
.waitlist-success p { font-size: 16px; line-height: 1.7; color: var(--muted); margin-top: 20px; overflow-wrap: anywhere; }
.waitlist-success strong { color: var(--ink); }
.waitlist-success .button { margin-top: 27px; }
.faq-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding-block: 24px 100px; }
.faq-section h2 { margin-top: 17px; }
.faq-section .eyebrow { font-size: 12px; }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 21px; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 16px; font-weight: 550; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker, .hint summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; font-weight: 400; color: #6488b7; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { font-size: 16px; line-height: 1.75; color: var(--muted); margin-top: 16px; padding-right: 20px; }
.site-footer { display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line); padding-block: 31px; }
.site-footer .brand { font-size: 28px; }
.site-footer .brand svg { width: 28px; height: 28px; }
.site-footer p, .site-footer > span { font-size: 13px; color: var(--muted); }
.site-footer > span { margin-left: auto; }
.noscript-message { background: #e1f0ff; padding: 20px; font-size: 16px; line-height: 1.6; }
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 64px); }
  .desktop-nav { margin-left: 0; gap: 24px; }
  .simulation-intro { align-items: start; }
  .lesson-tag { margin-top: 28px; }
  .lesson-panel { padding: 30px; }
  .pizza-workspace { padding-inline: 24px; }
  .cut-controls { font-size: 12px; gap: 8px; }
  .segmented-control button { width: 30px; }
  .waitlist-section { gap: 60px; }
  .waitlist-copy h2 { font-size: 51px; }
  .waitlist-card { padding: 28px; }
  .form-row { gap: 10px; }
  .faq-section { gap: 50px; }
}
@media (max-width: 800px) {
  .page-width { width: calc(100% - 48px); }
  .site-header { height: 80px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .brand { font-size: 31px; }
  .brand svg { width: 31px; height: 31px; }
  .simulation-section { padding-block: 60px 40px; }
  .simulation-intro { flex-direction: column; gap: 16px; }
  .simulation-intro p { font-size: 16px; }
  .lesson-tag { margin: 0; }
  .simulation-layout { grid-template-columns: 1fr 1fr; }
  .simulation-toolbar { padding-inline: 22px; }
  .lesson-panel { padding: 27px 23px; }
  .lesson-panel h3 { font-size: 27px; }
  .lesson-panel > p:not(.simulation-feedback) { font-size: 16px; }
  .pizza-workspace { padding-inline: 17px; }
  .pizza-instruction { font-size: 12px; gap: 5px; }
  .pizza { margin-top: 32px; }
  .fraction-readout { gap: 12px; }
  .fraction-readout strong, .fraction-readout > div > span { font-size: 14px; }
  .stacked-fraction { font-size: 24px; }
  .cut-controls { flex-wrap: wrap; gap: 10px; }
  .cut-controls > span:last-child { display: none; }
  .goal-card { gap: 12px; padding-inline: 12px; flex-wrap: wrap; }
  .goal-card > span:first-child { font-size: 12px; }
  .goal-card > span:last-child { font-size: 14px; }
  .waitlist-section { gap: 35px; padding-block: 75px; }
  .waitlist-copy h2 { font-size: 45px; }
  .waitlist-copy > .eyebrow { font-size: 12px; }
  .waitlist-copy > p { font-size: 16px; }
  .waitlist-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .faq-section { grid-template-columns: .8fr 1.2fr; gap: 35px; padding-bottom: 70px; }
  .faq-section h2 { font-size: 35px; }
  .faq-list summary { font-size: 16px; }
}
@media (max-width: 600px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { height: 74px; }
  .nav-shell { gap: 12px; }
  .nav-actions { gap: 6px; }
  .brand { font-size: 29px; gap: 6px; }
  .brand svg { width: 28px; height: 28px; }
  .button-small { font-size: 12px; padding: 12px 15px; }
  .eyebrow { font-size: 12px; letter-spacing: 1.1px; }
  h2 { font-size: 34px; letter-spacing: -1.5px; }
  .section-heading > p { font-size: 16px; padding-inline: 6px; margin-top: 15px; }
  .simulation-section { padding-block: 49px 32px; }
  .simulation-intro h2 { font-size: 34px; margin-top: 13px; }
  .simulation-intro p { font-size: 16px; margin-top: 12px; }
  .lesson-tag { font-size: 12px; padding: 8px 12px; }
  .simulation-intro { margin-bottom: 24px; }
  .simulation-frame { border-radius: 18px; }
  .simulation-toolbar { min-height: 65px; padding-inline: 17px; }
  .simulation-toolbar strong { font-size: 16px; }
  .simulation-toolbar > div { gap: 7px; }
  .sample-label { display: none; }
  .reset-button { font-size: 14px; gap: 5px; }
  .reset-button .icon { width: 15px; height: 15px; }
  .simulation-layout { grid-template-columns: 1fr; }
  .pizza-workspace { padding: 23px 20px 22px; }
  .pizza-instruction { font-size: 14px; }
  .pizza { width: min(100%, 285px); margin-top: 12px; margin-bottom: 8px; }
  .fraction-readout { gap: 15px; min-height: 65px; }
  .fraction-readout strong { font-size: 15px; }
  .fraction-readout > div > span { font-size: 14px; max-width: 240px; }
  .cut-controls { gap: 10px; margin-top: 18px; font-size: 14px; }
  .cut-controls > span:last-child { display: inline; }
  .segmented-control button { width: 34px; min-height: 42px; font-size: 14px; }
  .lesson-panel { border-top: 1px solid var(--line); padding: 28px 24px; }
  .lesson-panel > .eyebrow { font-size: 12px; }
  .lesson-panel h3 { font-size: 29px; }
  .goal-card { padding: 15px; gap: 18px; }
  .goal-card > span:first-child { font-size: 12px; }
  .goal-card > span:last-child { font-size: 14px; }
  .simulation-feedback { min-height: 0; font-size: 14px; }
  .waitlist-section { grid-template-columns: 1fr; padding-block: 61px; gap: 30px; }
  .waitlist-copy h2 { font-size: 48px; margin-top: 16px; }
  .waitlist-copy > p { font-size: 16px; margin-top: 20px; }
  .waitlist-copy > p + p { margin-top: 12px; }
  .waitlist-card { padding: 25px 22px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-field input, .form-field select { font-size: 16px; height: 50px; }
  .form-field select { padding-left: 11px; padding-right: 29px; background-position: right 11px center; }
  .faq-section { grid-template-columns: 1fr; gap: 25px; padding-block: 0 52px; }
  .faq-section h2 { font-size: 34px; margin-top: 13px; }
  .faq-section h2 br { display: none; }
  .faq-list summary { font-size: 16px; }
  .faq-list details { padding-block: 18px; }
  .faq-list details p { font-size: 16px; padding-right: 0; }
  .site-footer { gap: 16px; flex-wrap: wrap; padding-block: 26px; }
  .site-footer .brand { font-size: 27px; }
  .site-footer p { font-size: 12px; margin-left: auto; }
  .site-footer > span { width: 100%; margin-left: 0; text-align: center; font-size: 12px; }
  .waitlist-success { padding-block: 40px; }
  .waitlist-success h3 { font-size: 32px; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 32px); }
  .brand { font-size: 26px; }
  .brand svg { width: 25px; height: 25px; }
  .button-small { font-size: 12px; padding-inline: 11px; }
  .mobile-menu summary { padding-inline: 7px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cut-controls { gap: 8px; }
  .cut-controls > span:last-child { display: none; }
  .lesson-panel { padding-inline: 20px; }
  .goal-card { gap: 12px; }
  .fraction-readout strong { font-size: 14px; }
  .site-footer p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover { transform: none; }
}
