@font-face {
  font-family: Overpass;
  src: url(overpass-regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Overpass;
  src: url(overpass-bold.woff2) format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
:root {
  --ink: #252d42;
  --blue: #2943a1;
  --paper: #fcfbf7;
  --rule: #d7d9df;
  --muted: #536077;
  --pale: #edf1fa;
  --green: #17614d;
  --lime: #d7e971;
  --yellow: #ffcc49;
  --peach: #ff9a75;
  color: var(--ink);
  background: var(--paper);
  font:
    17px/1.5 Overpass,
    Arial,
    sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  border-bottom: 1px solid var(--rule);
}
.bar,
main,
footer {
  max-width: 1184px;
  margin: auto;
  padding-inline: clamp(18px, 5vw, 64px);
}
.bar,
footer,
.headingrow,
.sectionhead,
.actions,
nav,
.identity,
.filters,
.booktop,
.bookbottom {
  display: flex;
  align-items: center;
  gap: 18px;
}
.bar,
footer,
.headingrow,
.booktop,
.bookbottom {
  justify-content: space-between;
}
.bar {
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.075em;
  color: var(--ink);
  text-decoration: none;
}
.mark {
  position: relative;
  width: 32px;
  height: 30px;
  display: inline-block;
  background: var(--blue);
  clip-path: polygon(
    0 0,
    47% 13%,
    47% 97%,
    0 81%,
    0 0,
    54% 14%,
    100% 0,
    100% 81%,
    54% 97%,
    54% 14%
  );
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
nav a,
.back,
.headingrow a {
  font-weight: 700;
  text-decoration: none;
}
nav {
  font-size: 0.92rem;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
p {
  margin: 0 0 0.6em;
}
h1,
h2,
h3 {
  line-height: 1.09;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
}
h2 {
  font-size: clamp(1.5rem, 3.3vw, 2.4rem);
}
h3 {
  font-size: 1.24rem;
}
p {
  max-width: 74ch;
}
.kicker,
small,
.muted,
.breadcrumb {
  color: var(--muted);
}
.kicker,
small {
  font-size: 0.88rem;
}
.kicker {
  font-weight: bold;
  margin-bottom: 0.8rem;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
}
.intro,
.lead {
  font-size: 1.2rem;
  line-height: 1.5;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  min-height: 46px;
  padding: 11px 19px;
  font:
    700 0.97rem/1.3 Overpass,
    Arial,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover,
button:hover {
  background: #1d327e;
  text-decoration: none;
}
.button:active,
button:active {
  transform: translateY(1px);
}
.small,
.secondary {
  background: transparent;
  color: var(--blue);
  border-color: #a8b3d1;
}
.small:hover,
.secondary:hover {
  color: var(--blue);
  background: var(--pale);
}
.small {
  padding: 7px 13px;
  min-height: 42px;
}
.textbtn {
  background: none;
  color: var(--blue);
  border: 0;
  padding: 8px 2px;
}
.textbtn:hover {
  background: none;
  text-decoration: underline;
}
.actions {
  flex-wrap: wrap;
  gap: 16px;
}
.inline {
  font-weight: 700;
  text-decoration: none;
}
.landinghero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(30px, 7vw, 95px);
  align-items: center;
  min-height: 570px;
  padding-block: clamp(40px, 7vw, 85px);
}
.herocopy h1 {
  font-size: clamp(3.4rem, 6.8vw, 6.2rem);
  letter-spacing: -0.083em;
  line-height: 0.97;
  margin: 0.25em 0;
}
.herocopy .intro {
  max-width: 40ch;
  color: var(--muted);
}
.herocopy .actions {
  margin: 28px 0 12px;
}
.bookcover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 390px;
  width: 100%;
  aspect-ratio: 0.85;
  background: #bcd4f7;
  color: #192f54;
  border: 1px solid #718caa;
  border-radius: 3px 15px 14px 3px;
  transform: rotate(3deg);
  box-shadow:
    2px 3px 0 #eff1df,
    4px 6px 0 #687c94,
    9px 14px 0 #e6e6dc;
  padding: 25px 23px 18px 39px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.binding {
  position: absolute;
  inset: 0 auto 0 0;
  width: 15px;
  background: #314c84;
  border-right: 2px solid #849eca;
}
.booktop,
.bookbottom {
  font-size: 0.77rem;
  font-weight: 700;
}
.booktop {
  padding-bottom: 9px;
  border-bottom: 1px solid #687f9e;
}
.booktitle {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.077em;
  font-weight: 800;
  margin-top: 15px;
  z-index: 1;
}
.bookbottom {
  margin-top: auto;
  background: #bcd4f7;
  border-top: 1px solid #687f9e;
  padding: 8px 0 0;
  z-index: 1;
}
.bookbottom b {
  font-size: 1.1rem;
}
.garden {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 190px;
  isolation: isolate;
  background-image:
    linear-gradient(#ffffff40 1px, transparent 1px),
    linear-gradient(90deg, #ffffff40 1px, transparent 1px);
  background-size: 24px 24px;
}
.garden > div {
  position: absolute;
}
.sun {
  right: 6%;
  top: 8%;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe599;
}
.hill {
  z-index: 0;
  background: #4d9391;
  border-radius: 100% 100% 0 0;
  width: 85%;
  height: 70%;
  left: -20%;
  bottom: -31%;
  transform: rotate(12deg);
}
.hill.second {
  left: 43%;
  bottom: -35%;
  background: #305878;
  transform: rotate(-18deg);
}
.stem {
  width: 5%;
  height: 61%;
  left: 45%;
  bottom: 1%;
  background: #254c55;
}
.leaf {
  width: 20%;
  height: 26%;
  bottom: 9%;
  left: 28%;
  background: #6eaa52;
  border-radius: 0 90% 0 90%;
}
.leaf.two {
  left: 48%;
  bottom: 18%;
  transform: scaleX(-1);
  background: #358571;
}
.flower {
  left: 34%;
  top: 12%;
  width: 27%;
  aspect-ratio: 1;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--yellow);
  clip-path: polygon(
    50% 0,
    60% 17%,
    78% 6%,
    79% 27%,
    99% 25%,
    89% 44%,
    100% 55%,
    81% 61%,
    85% 81%,
    65% 79%,
    56% 99%,
    44% 85%,
    25% 97%,
    24% 76%,
    4% 77%,
    12% 58%,
    0 45%,
    18% 37%,
    15% 17%,
    35% 20%
  );
}
.flower i {
  width: 35%;
  height: 35%;
  border-radius: 50%;
  background: #354461;
}
.section,
.wrap {
  padding-block: clamp(28px, 5vw, 64px);
}
.section {
  border-top: 1px solid var(--rule);
}
.sectionhead {
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.split,
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.columns {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  margin-top: 32px;
}
.feature,
.price,
.panel,
.paper,
.learner,
.planrow {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.feature {
  overflow: hidden;
}
.feature img {
  display: block;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  object-position: top;
  background: var(--pale);
  border-bottom: 1px solid var(--rule);
}
.feature > div,
.price,
.panel,
.paper,
.learner,
.planrow {
  padding: clamp(19px, 2.6vw, 32px);
}
.price h2 {
  font-size: 3.3rem;
  margin: 0.3em 0;
}
.price small {
  font-size: 1.05rem;
  letter-spacing: normal;
}
.annual {
  background: #edf3dc;
}
.demoform {
  margin-top: 22px;
}
.section > .muted {
  margin-top: 18px;
}
.faq {
  max-width: 840px;
}
.faq h2 {
  margin-bottom: 22px;
}
details {
  border-top: 1px solid var(--rule);
  padding: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 34px;
}
details p {
  margin-top: 8px;
}
footer {
  border-top: 1px solid var(--rule);
  font-size: 0.86rem;
  min-height: 84px;
  gap: 12px;
  color: var(--muted);
}
footer b,
.breadcrumb span {
  color: #8496b1;
  padding: 0 8px;
}
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.planhero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 16px;
  background: #dce9f7;
  min-height: 190px;
}
.planhero > div:first-child {
  padding: clamp(22px, 4vw, 48px);
  align-self: center;
  z-index: 1;
  min-width: 58%;
}
.planhero h1,
.sectionhead h1 {
  font-size: clamp(2.7rem, 5vw, 4.2rem);
}
.planhero .garden {
  width: 34%;
  height: auto;
}
.planrow {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-block: 14px;
}
.planrow h3,
.identity h2 {
  margin: 0.2em 0;
}
.badge {
  flex: none;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e3edca;
}
.badge i {
  height: 25px;
  width: 25px;
  background: #478568;
  border-radius: 0 90% 0 90%;
}
.shape1 {
  background: #f9e1ce;
}
.shape1 i {
  border-radius: 50% 50% 0 0;
  background: #ad6139;
}
.shape2 {
  background: #e0e4fa;
}
.shape2 i {
  border-radius: 5px;
  background: #727db7;
  transform: rotate(45deg);
}
.reward {
  background: #edf2dc;
}
.stars {
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  color: #66751f;
}
.panel hr {
  border: 0;
  border-top: 1px solid #c4c9ae;
  margin: 20px 0;
}
.notice,
.example,
.feedback {
  background: #edf2df;
  padding: 15px 20px;
  border: 1px solid #c7d4ad;
  border-radius: 10px;
  margin: 18px 0;
}
.headingrow {
  margin: 28px 0 15px;
}
.headingrow h2 {
  margin: 0;
}
.identity {
  margin-bottom: 16px;
}
.identity h2 {
  overflow-wrap: anywhere;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}
.stats b,
.stats small {
  display: block;
}
.stats b {
  font-size: 1.7rem;
  letter-spacing: -0.05em;
  line-height: 1.25;
}
.learner .actions {
  margin-top: 18px;
}
.panel,
.paper {
  margin-bottom: 18px;
}
.formwrap,
.reading {
  max-width: 755px;
  margin: auto;
  padding-block: clamp(35px, 6vw, 80px);
}
.formwrap {
  max-width: 495px;
}
.reading h1,
.formwrap h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.6rem);
  overflow-wrap: anywhere;
}
.stack,
.filters label,
.stack label:not(.choice),
label:has(> input:not([type="radio"], [type="checkbox"])),
label:has(> select) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stack {
  gap: 15px;
}
.stack button,
.stack .button {
  align-self: start;
}
label,
legend {
  font-weight: 700;
}
input:not([type="radio"], [type="checkbox"], [type="hidden"]),
select {
  border: 1px solid #9da6ba;
  background: white;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 9px 12px;
  width: 100%;
  min-width: 0;
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--blue);
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}
.choice {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 7px;
  padding: 10px 12px;
  margin: 0.35em 0;
  font-weight: 400;
}
.choice:has(:checked) {
  border-color: var(--blue);
  background: var(--pale);
}
fieldset {
  padding: 0;
  margin: 12px 0;
  border: 0;
}
.daygrid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.back {
  display: inline-block;
  margin-bottom: 22px;
}
pre {
  white-space: pre;
  overflow: auto;
  background: #f1f4fa;
  border-radius: 7px;
  padding: 14px;
  font:
    clamp(0.8rem, 2.5vw, 1rem)/1.35 ui-monospace,
    monospace;
}
.steps {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: var(--muted);
}
.steps li {
  padding-bottom: 5px;
  border-bottom: 3px solid var(--rule);
}
.steps [aria-current] {
  color: var(--blue);
  font-weight: 700;
  border-color: var(--blue);
}
.paper h2 {
  font-size: 1.65rem;
  line-height: 1.25;
}
.paper .example {
  background: var(--pale);
  border-color: #c7d3ee;
}
.feedback.retry {
  background: #fff1d6;
  border-color: #e2c38b;
}
.paper button {
  margin-top: 12px;
}
.center {
  text-align: center;
}
.filters {
  flex-wrap: wrap;
  align-items: end;
  margin: 22px 0;
}
.report h2 {
  margin-top: 1.25em;
}
.tablewrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th {
  background: var(--pale);
}
.sample {
  border-left: 3px solid #c9d6a2;
  padding-left: 15px;
  margin: 20px 0;
}
.sample h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}
.narrow {
  max-width: 400px;
}
.skip {
  position: absolute;
  left: -1000px;
}
.skip:focus {
  left: 10px;
  top: 8px;
  background: white;
  padding: 10px;
  z-index: 5;
}
:focus-visible {
  outline: 3px solid #aa4a12;
  outline-offset: 4px;
}
.notice code {
  overflow-wrap: anywhere;
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
@media (max-width: 760px) {
  .landinghero {
    gap: 24px;
    min-height: 0;
  }
  .bookcover {
    padding: 14px 15px 12px 24px;
  }
  .booktitle {
    font-size: 2.7rem;
  }
  .bookcover .garden {
    height: 130px;
  }
  .columns {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 12px;
  }
  .navwide {
    display: none;
  }
  .bar {
    min-height: 64px;
  }
  .split {
    gap: 12px;
  }
  .bar nav {
    gap: 12px;
  }
}
@media (max-width: 620px) {
  :root {
    font-size: 16px;
  }
  .bar {
    flex-wrap: wrap;
    padding-block: 10px;
    gap: 6px;
  }
  .brand {
    font-size: 1.45rem;
  }
  .mark {
    width: 27px;
    height: 26px;
  }
  nav {
    font-size: 0.86rem;
    gap: 10px;
  }
  .bar:has(form) nav {
    flex-wrap: wrap;
  }
  .landinghero {
    grid-template-columns: 1fr;
    padding-block: 36px;
    gap: 32px;
  }
  .bookcover {
    width: min(78%, 325px);
    margin: auto;
    aspect-ratio: 1.05;
    padding: 16px 17px 12px 29px;
  }
  .bookcover .garden {
    height: 120px;
  }
  .booktitle {
    font-size: 2.9rem;
  }
  .herocopy h1 {
    font-size: clamp(3.45rem, 13.5vw, 4.6rem);
  }
  .split,
  .columns {
    grid-template-columns: 1fr;
  }
  .planhero > div:first-child {
    min-width: 67%;
    padding: 20px 0 20px 20px;
  }
  .planhero .garden {
    min-width: 25%;
  }
  .planhero {
    min-height: 148px;
  }
  .planhero .flower {
    width: 53%;
    left: 15%;
    top: 26%;
  }
  .planhero .sun {
    width: 25%;
  }
  .steps {
    gap: 9px;
    font-size: 0.86rem;
  }
  .actions {
    gap: 13px;
  }
  .filters {
    gap: 10px;
  }
  .filters label {
    max-width: 48%;
  }
  .stats b {
    font-size: 1.55rem;
  }
  .planrow {
    gap: 12px;
  }
  .planrow .badge {
    width: 36px;
    height: 36px;
  }
  .demoform small {
    display: block;
    margin-top: 8px;
  }
  .headingrow {
    align-items: end;
  }
  .booktop,
  .bookbottom {
    font-size: 0.7rem;
  }
  footer {
    flex-wrap: wrap;
    padding-block: 18px;
  }
  .report table {
    font-size: 0.85rem;
  }
  .report th,
  .report td {
    padding: 6px;
  }
  .reward {
    margin-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.activitylist {
  padding-left: 1.15em;
  margin: 8px 0 15px;
  color: var(--muted);
}
.planhero h1,
.herocopy h1 {
  letter-spacing: -0.06em;
}
.planhero p {
  overflow-wrap: anywhere;
}
.planhero > div:first-child {
  max-width: 74%;
}
.planrow > div,
.learner,
.panel,
.paper {
  min-width: 0;
  overflow-wrap: anywhere;
}
.report pre {
  break-inside: avoid;
}
.paper fieldset .choice {
  min-height: 48px;
}
.paper:has(.feedback) {
  border-top: 4px solid var(--blue);
}
@media print {
  body {
    background: white;
    font:
      11pt/1.35 Arial,
      sans-serif;
    color: black;
  }
  header,
  footer,
  .noprint,
  .skip,
  .notice {
    display: none !important;
  }
  main,
  .wrap,
  .report {
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .report h1 {
    font-size: 24pt;
  }
  .report h2 {
    font-size: 15pt;
  }
  .report .stats {
    border: 1px solid #888;
  }
  .sample,
  tr,
  .stats {
    break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  .tablewrap {
    overflow: visible;
  }
  @page {
    margin: 16mm;
  }
}
.report h1,
.report h3,
code {
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .planhero h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }
}
@media print {
  :root,
  html {
    background: white;
  }
  .report pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}
.walkthrough { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.walkthrough .feature img { height:auto; aspect-ratio:1.42; object-fit:contain; background:var(--paper); }
@media(max-width:760px){ .walkthrough {grid-template-columns:1fr;} }

/* Light-mode study surfaces */
:root {
  color-scheme: light;
  --ink: #202c37;
  --blue: #294cde;
  --green: #16634f;
  --paper: #fff;
  --muted: #50606c;
  --pale: #eef3ff;
  --rule: #dce3e6;
  --mint: #d5f2df;
  --lavender: #e9e3fe;
}
header { background: #fff; }
.bar, main, footer { max-width: 1270px; }
.bar { min-height: 70px; }
.brand { letter-spacing: -.064em; }
.brand .mark { background: #2547de; }
button, .button { border-radius: 12px; font-weight: 700; }
button:disabled { opacity: .48; cursor: default; }
.landinghero {
  grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  min-height: unset;
  gap: clamp(28px,5vw,72px);
  padding-block: clamp(40px,6vw,88px);
}
.herocopy h1 { max-width: 11ch; color: var(--ink); font-size: clamp(3rem,6.3vw,5.5rem); line-height: 1.01; letter-spacing: -.074em; margin: 12px 0 20px; }
.herocopy .kicker { color: #24479e; }
.fraction-lab { border: 1px solid #ceded6; border-radius: 26px; overflow: hidden; background: #f1fbf5; box-shadow: 0 8px 0 #e5f3ea; }
.lab-head, .model-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; }
.lab-head { color: #164e3d; font-weight: 700; }
.lab-head span:last-child { font-size: .84rem; font-weight: 400; }
.model-canvas { position: relative; display: grid; place-items: center; min-height: 220px; height: clamp(220px,20vw,295px); background: radial-gradient(#8cb6a0 1px,transparent 1px) 0 0/18px 18px; border-block: 1px solid #d7e8dd; }
.quarters { height: 80%; aspect-ratio: 1; display: grid; grid-template: 1fr 1fr/1fr 1fr; gap: 4px; transform: rotate(-13deg); filter: drop-shadow(2px 5px 0 #2b523a25); }
.quarters i { border: 2px solid #263b37; background: #fff; }
.quarters i:nth-child(1) { border-radius: 100% 0 0 0; }
.quarters i:nth-child(2) { border-radius: 0 100% 0 0; }
.quarters i:nth-child(3) { border-radius: 0 0 0 100%; }
.quarters i:nth-child(4) { border-radius: 0 0 100% 0; }
.quarters .filled { background: #f6c64b; }
.quarters .filled:nth-child(2) { background: #9794fc; }
.quarters .filled:nth-child(3) { background: #53bd9e; }
.model-controls { background: #fff; }
.model-controls strong, .model-controls small { display: block; }
.model-controls strong { font-size: 1.25rem; }
.stepper { display: flex; gap: 6px; }
.stepper[hidden] { display: none; }
.stepper button { min-width: 44px; min-height: 44px; padding: 0; background: #fff; color: var(--ink); border: 1px solid #aebdb4; border-radius: 50%; font-size: 1.35rem; }
.stepper button:hover:enabled { background: var(--mint); }
.grade-bands { display: grid; grid-template-columns: 1.15fr .85fr 1.1fr; gap: 12px; }
.grade-bands > div { padding: 20px; border-radius: 16px; background: #f0f7f2; }
.grade-bands > div:nth-child(2) { background: #f0edfc; }
.grade-bands > div:nth-child(3) { background: #fff4d9; }
.grade-links { display: flex; gap: 8px; flex-wrap: wrap; }
.grade-links a { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid #869097; border-radius: 8px; padding: 6px 11px; background: white; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 700; }
.grade-links a:hover { border-color: var(--blue); color: var(--blue); }
.path-heading { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding-bottom: 28px; }
.path-heading h1, .course-list h1 { font-size: clamp(2.8rem,5.8vw,4.5rem); margin: 0 0 6px; }
.path-heading p { margin-bottom: 0; }
.path-heading .kicker { margin-bottom: 10px; }
.streak { white-space: nowrap; display: flex; gap: 6px; align-items: center; font-weight: bold; color: #764410; }
.streak span { font-size: 1.5rem; color: #aa651c; }
.study-layout { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(0,1fr); align-items: start; gap: 20px; }
.next-lesson, .upcoming { display: flex; gap: clamp(12px,2vw,24px); align-items: flex-start; padding: clamp(18px,3vw,36px); border-radius: 20px; }
.next-lesson { background: #e8e6fe; border: 1px solid #cbc5ee; }
.next-lesson h2 { max-width: 25ch; font-size: clamp(1.6rem,3.6vw,2.6rem); }
.next-lesson .kicker { color: #4a4178; }
.next-lesson form { margin-top: 18px; }
.path-marker { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid #594ca9; color: #42358d; font-size: 1.2rem; font-weight: 700; }
.upcoming { margin-top: 12px; border: 1px solid var(--rule); }
.course-meter { background: #f4f8f5; border: 1px solid #dce7df; border-radius: 20px; padding: 24px; }
.course-meter h2 { font-size: 1.55rem; }
.meter-symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #f7d771; color: #4d421c; margin-bottom: 16px; font-size: 1.8rem; }
progress { display: block; width: 100%; height: 10px; border: 0; border-radius: 20px; appearance: none; background: #dbe2e0; margin: 12px 0; color: var(--green); }
progress::-webkit-progress-bar { background: #dbe2e0; border-radius: 20px; }
progress::-webkit-progress-value { background: #2b7659; border-radius: 20px; }
progress::-moz-progress-bar { background: #2b7659; border-radius: 20px; }
.course-fold { border-block: 1px solid var(--rule); padding-block: 16px; margin-top: 26px; }
.course-fold summary { font-size: 1.12rem; }
.course-fold li { margin: 7px 0; }
.course-fold li small { margin-left: 8px; }
.subheading { margin-top: 26px; font-size: 1.5rem; }
.finished-list { list-style: none; padding: 0; }
.finished-list li { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.finished-list small { display: block; }
.syllabus { list-style: none; counter-reset: lesson; padding: 0; max-width: 820px; }
.syllabus > li { counter-increment: lesson; display: grid; grid-template-columns: 2rem 1fr; gap: 14px; border-top: 1px solid var(--rule); padding-block: 16px; }
.syllabus > li::before { content: counter(lesson); border-radius: 50%; background: var(--pale); color: #293e8f; font-weight: bold; width: 2rem; height: 2rem; display: grid; place-items: center; }
.syllabus h2 { font-size: 1.25rem; margin: 3px 0 8px; }
.syllabus summary { font-size: .92rem; color: var(--blue); }
.syllabus details[open] summary { margin-bottom: 12px; }
.teaching-text { white-space: pre-line; overflow-wrap: anywhere; }
.steps { flex-wrap: wrap; }
.steps li { border-radius: 8px; padding: 6px 10px; }
.steps li[aria-current] { background: #e5e9ff; color: #243898; }
.paper { border-radius: 22px; box-shadow: 0 5px 0 #eff2f5; }
.paper .example { background: #edf7ed; border-color: #c5dbc6; border-left: 4px solid #4b8461; }
.paper .choice:has(:checked) { border-color: #294cde; background: #eef1ff; }
.paper .choice { cursor: pointer; min-height: 48px; }
.learner { border-radius: 20px; }
.price.annual { background: #e6f5eb; }
@media (max-width: 780px) {
  .study-layout { grid-template-columns: 1fr; }
  .grade-bands { grid-template-columns: 1fr; }
  .grade-bands > div { padding: 15px; }
}
@media (max-width: 620px) {
  .landinghero { grid-template-columns: 1fr; }
  .herocopy h1 { font-size: clamp(2.85rem,12vw,4rem); }
  .path-heading { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .next-lesson { gap: 12px; padding: 18px 14px; }
  .next-lesson button { min-height: 46px; }
  .path-marker { width: 30px; height: 30px; font-size: 1rem; }
  .lab-head, .model-controls { padding: 13px 17px; }
  .model-canvas { height: 200px; min-height: 180px; }
}
.week-guide { max-width: 860px; margin: auto; }
.week-guide h2 { font-size: 1.5rem; margin: 1.5em 0 .5em; }
.week-guide li { margin: .5em 0; }
.week-guide .answer-guide { margin-block: 1.5rem; padding: 16px; background: var(--pale); border-radius: 12px; }
.work-line { border-bottom: 1px solid #c1cacf; height: 2em; }
@media print {
  .week-guide h2 { break-after: avoid; }
  .week-guide li, .week-guide .example { break-inside: avoid; }
  .portfolio-space { min-height: 2.5in; border-bottom: 1px solid #a4aab0; }
  .week-guide .answer-guide { break-before: page; }
  .week-guide details:not([open]) { display: none; }
}
button[hidden] { display: none; }
.listen { margin-bottom: .75rem; }
.fraction-lab:not(:has(.stepper:not([hidden]))) .model-controls small { display:none; }

.demo-tools { background: #f1f4ff; border-bottom: 1px solid #dbe2fa; }
.demo-tools details { max-width: 1120px; padding: 0 20px; margin: 0 auto; }
.demo-tools summary { width: fit-content; padding: 10px 0; color: #243c92; font-size: .9rem; }
.demo-tools summary span { font-weight: 400; }
.demo-tools form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; padding-bottom: 14px; }
.demo-tools label { margin: 0; }
@media (max-width: 700px) {
  .demo-tools form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-tools select { min-width: 0; width: 100%; }
}
@media (max-width: 390px) {
  .demo-tools form { grid-template-columns: 1fr; }
}
@media print { .demo-tools { display: none; } }

@media (min-width: 1080px) { .demo-learners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
