:root {
  color-scheme: light;
  --paper: hsl(0 0% 100%);
  --sky: hsl(212 58% 96%);
  --ink: hsl(216 55% 15%);
  --body: hsl(215 25% 31%);
  --blue: hsl(215 75% 32%);
  --navy: hsl(216 67% 20%);
  --rule: hsl(212 34% 87%);
  --blue-mist: hsl(212 60% 95%);
  --gold: hsl(43 94% 65%);
  --gold-ink: hsl(37 83% 34%);
  --clock-text: hsl(211 53% 86%);
  --clock-line: hsl(213 42% 46%);
  --focus: hsl(215 84% 39%);
  --gutter: clamp(1rem, 5.5vw, 5rem);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.45;
  overflow-wrap: anywhere;
  container: page / inline-size;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul { margin: 0; }
a { color: var(--blue); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.frame { width: min(76rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: .5rem;
  left: var(--gutter);
  z-index: 5;
  padding: .65rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
}
.skip-link:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner {
  display: flex;
  min-height: clamp(3.5rem, 8svh, 4.75rem);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1rem;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(6.8rem, 11vw, 9rem); }
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: .55rem;
  padding: .45rem 1rem;
  border-radius: .65rem;
  background: var(--blue);
  color: var(--paper);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
}
.contact-button:hover { background: hsl(216 76% 24%); }
.contact-button svg { flex: none; }
.contact-short { display: none; }

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.65svh, 1.65rem);
  padding: clamp(.8rem, 1.8svh, 1.3rem) 0 clamp(.9rem, 2.3svh, 1.5rem);
  background: linear-gradient(to bottom, var(--paper) 4%, var(--sky) 100%);
}
.hero { flex: 1 0 auto; display: grid; align-items: center; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  grid-template-areas: "copy art" "strategy art";
  grid-template-rows: auto auto;
  gap: clamp(.75rem, 2svh, 1.4rem) clamp(1rem, 3vw, 3rem);
  align-items: center;
}
.hero-copy { grid-area: copy; align-self: end; min-width: 0; }
.announcement {
  display: inline-block;
  padding: .29rem .78rem .34rem;
  border: 1px solid var(--rule);
  border-radius: 2rem;
  background: var(--blue-mist);
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 650;
}
.bullet { color: var(--gold-ink); padding-inline: .16em; }
.announcement time { white-space: nowrap; }
h1 {
  margin-top: clamp(.65rem, 1.7svh, 1.15rem);
  font-size: clamp(2.7rem, 5.25vw, 4.8rem);
  font-weight: 740;
  line-height: 1.03;
  letter-spacing: -.055em;
}
h1 > span { display: block; color: var(--blue); }
h1 em { position: relative; display: inline-block; font-style: normal; }
h1 em::after {
  content: "";
  position: absolute;
  inset: auto 1% -.06em 3%;
  height: .065em;
  border-radius: 65% 40% 70% 50%;
  background: var(--gold);
  transform: rotate(-2deg);
}
.hero-art { grid-area: art; position: relative; min-width: 0; isolation: isolate; }
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1% 0 5% 12%;
  background: radial-gradient(circle, hsl(212 65% 70% / .43) 1px, transparent 1.4px);
  background-size: 1rem 1rem;
  mask-image: radial-gradient(ellipse, hsl(0 0% 0%) 20%, transparent 72%);
}
.hero-art img {
  width: 100%;
  height: clamp(9rem, min(44svh, calc(100svh - 25rem)), 28rem);
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: multiply;
}
.teaching-line {
  grid-area: strategy;
  align-self: start;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--body);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.35;
}
.teaching-line img { width: clamp(1.8rem, 2.9vw, 2.75rem); flex: none; }

.launch-panel {
  display: grid;
  row-gap: inherit;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.65rem, 1.45vw, 1.2rem);
  list-style: none;
  padding: 0 .25rem .35rem 0;
}
.feature {
  --tint: hsl(210 78% 95%);
  --rim: hsl(211 47% 82%);
  --edge: hsl(214 44% 74%);
  position: relative;
  min-width: 0;
}
.feature details { height: 100%; }
.feature-face {
  position: relative;
  display: grid;
  grid-template-areas: "art" "heading" "detail";
  align-content: start;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(.65rem, 1.3vw, 1rem) clamp(.75rem, 1.5vw, 1.25rem);
  border: 1px solid var(--rim);
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--paper) 8%, var(--tint));
  font: inherit;
  color: var(--ink);
  text-align: left;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: inset 0 2px 0 var(--paper), 1px 2px 0 var(--rim), 2px 4px 0 var(--rim),
              3px 5px 0 var(--edge), 4px 6px 0 var(--edge), 5px 10px 12px -6px hsl(217 53% 24% / .26);
}
.feature-face::-webkit-details-marker { display: none; }
.feature-face:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.feature-face:is(:hover, :focus-visible), .feature details[open] > summary { border-color: var(--edge); }
.feature-quizzes, [data-benefits="quiz-benefits"] { --tint: hsl(176 43% 94%); --rim: hsl(175 30% 79%); --edge: hsl(180 27% 67%); }
.feature-enrollment, [data-benefits="enrollment-benefits"] { --tint: hsl(228 62% 96%); --rim: hsl(226 40% 84%); --edge: hsl(223 34% 73%); }
.feature-certificates, [data-benefits="certificate-benefits"] { --tint: hsl(43 78% 94%); --rim: hsl(42 49% 80%); --edge: hsl(41 42% 68%); }
.feature-art {
  grid-area: art;
  width: clamp(2.5rem, 6.5svh, 3.9rem);
  aspect-ratio: 1;
  margin-bottom: .25rem;
  background-image: url("classroom-objects.webp");
  background-size: 200% 200%;
  background-repeat: no-repeat;
}
.feature-quizzes .feature-art { background-position: right top; }
.feature-enrollment .feature-art { background-position: left bottom; }
.feature-certificates .feature-art { background-position: right bottom; }
.feature-title { grid-area: heading; font-weight: 700; color: var(--ink); font-size: clamp(1.05rem, 1.55vw, 1.3rem); line-height: 1.17; letter-spacing: -.035em; }
.feature-detail { grid-area: detail; margin-top: .3rem; color: var(--body); font-size: .96875rem; line-height: 1.33; }
.benefits {
  position: absolute;
  z-index: 3;
  inset: auto 0 100%;
  width: max-content;
  max-width: 100%;
  max-height: min(17rem, 32svh);
  overflow-y: auto;
  margin: 0;
  padding: .5rem .7rem;
  border: 1px solid var(--edge);
  border-radius: .6rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 14px hsl(216 55% 15% / .18);
  font-size: .875rem;
  line-height: 1.4;
  list-style: none;
}
.benefits li + li { margin-top: .15rem; }
button.feature-face { display: none; isolation: isolate; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .feature.has-spray > details { display: none; }
  .feature.has-spray > button { display: grid; transition: transform .18s ease-out; }
  .feature-face.sprinkling { transform: translateY(-2px); }
}
.spray-stage {
  position: fixed;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.spray-stage:empty { display: none; }
.spray-word {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  max-width: calc(100% - 1rem);
  padding: .25em .83em .32em;
  border: 1px solid var(--edge, hsl(211 38% 72%));
  border-radius: 1.2em;
  background: linear-gradient(150deg, white 30%, var(--tint, hsl(210 70% 94%)));
  box-shadow: inset 0 1px white, 0 3px 8px hsl(216 50% 20% / .17);
  color: var(--navy);
  font-size: clamp(.83rem, 1.05vw, .98rem);
  font-weight: 650;
  line-height: 1.2;
  opacity: 0;
}
.card-shimmer {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background-image: linear-gradient(110deg, transparent 41%, hsl(210 75% 75% / .2) 46%, hsl(43 95% 81% / .55) 49%, hsl(0 0% 100% / .9) 51%, hsl(212 80% 83% / .2) 54%, transparent 59%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: 100% 0;
}
@media (prefers-reduced-motion: reduce) { .spray-stage { display: none; } }

.countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(.85rem, 2.5svh, 1.55rem) clamp(1.2rem, 3.5vw, 3.25rem);
  border-radius: 1.1rem;
  background: var(--navy);
  color: var(--paper);
}
.countdown-intro { display: flex; gap: 1rem; align-items: center; }
.calendar-icon { flex: none; color: var(--gold); }
.countdown h2 { font-size: clamp(1.3rem, 2.25vw, 1.95rem); line-height: 1.16; letter-spacing: -.035em; }
.countdown-intro p { margin-top: .22rem; color: var(--clock-text); font-size: 1rem; }
.clock { --digit-size: clamp(2rem, 3.6vw, 3.25rem); display: flex; align-items: stretch; }
.unit {
  display: grid;
  grid-template-rows: var(--digit-size) auto;
  align-items: end;
  min-width: clamp(3.6rem, 6.8vw, 6.4rem);
  padding-inline: .55rem;
  text-align: center;
}
.unit + .unit { border-left: 1px solid var(--clock-line); }
.value { font-size: var(--digit-size); font-weight: 650; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.unit-seconds .value { color: var(--clock-text); font-size: calc(var(--digit-size) * .76); }
.unit-name { margin-top: .26rem; color: var(--clock-text); font-size: .875rem; }
.calendar-date { font-size: clamp(1.3rem, 2.6vw, 2.15rem); font-weight: 650; }

@media (max-width: 55rem) {
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-face { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "art heading" "art detail"; column-gap: .7rem; }
  .feature-art { margin: 0; }
  .calendar-icon { width: 1.7rem; height: 1.7rem; }
  .countdown-intro { gap: .6rem; }
}
@media (max-width: 37.99rem) {
  :root { --gutter: clamp(.8rem, 4vw, 1.35rem); }
  .masthead-inner { min-height: 3.35rem; }
  .brand img { width: 6.35rem; }
  .contact-address { display: none; }
  .contact-short { display: inline; }
  .contact-button { padding-inline: .8rem; }
  main { gap: clamp(.7rem, 1.65svh, 1rem); padding-block: .65rem .8rem; }
  .hero-layout { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); grid-template-areas: "copy art" "strategy strategy"; gap: .6rem .4rem; }
  .hero-copy { align-self: center; }
  .announcement { padding: .22rem .52rem .27rem; font-size: .875rem; }
  h1 { margin-top: .5rem; font-size: clamp(1.85rem, 8.8vw, 3.05rem); line-height: 1.02; }
  .hero-art img { height: auto; }
  .teaching-line { gap: .5rem; font-size: 1rem; }
  .teaching-line img { width: 1.65rem; }
  .feature-list { gap: .65rem .7rem; }
  .feature-face { grid-template-columns: 2rem minmax(0, 1fr); grid-template-areas: "art heading" "detail detail"; gap: .18rem .35rem; padding: .52rem .65rem .6rem; border-radius: .8rem; }
  .feature-art { width: 2rem; }
  .feature-title { font-size: 1rem; }
  .feature-detail { margin: 0; font-size: .875rem; line-height: 1.28; }
  .countdown { flex-direction: column; gap: .62rem; padding: .75rem .65rem; border-radius: .9rem; }
  .countdown-intro { gap: .45rem; text-align: center; }
  .calendar-icon { width: 1.45rem; height: 1.45rem; }
  .countdown h2 { font-size: 1.18rem; }
  .countdown-intro p { margin-top: .1rem; font-size: .875rem; }
  .clock { --digit-size: 1.95rem; justify-content: center; }
  .unit { min-width: clamp(3.45rem, 16vw, 5rem); padding-inline: .25rem; }
  .unit-name { margin-top: .12rem; }
}
@media (max-width: 37.99rem) and (min-height: 45.5rem) {
  .hero-layout { grid-template-columns: 1fr; grid-template-areas: "copy" "art" "strategy"; gap: clamp(.4rem, 1.1svh, .8rem); text-align: center; }
  h1 { font-size: clamp(2.3rem, 9.4vw, 3rem); }
  .hero-art img { height: clamp(4rem, calc(100svh - 43rem), 14.5rem); object-position: center; }
  .teaching-line { justify-self: center; text-align: left; }
}
@media (orientation: portrait) and (max-width: 37.99rem) and (max-height: 46rem),
       (orientation: portrait) and (max-width: 22rem) {
  .masthead-inner { min-height: 44px; }
  .brand img { width: 5.7rem; }
  main { padding-block: .35rem .5rem; gap: .55rem; }
  .hero-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); grid-template-areas: "badge badge" "title art" "strategy strategy"; gap: .2rem .45rem; text-align: left; }
  .hero-copy { display: contents; }
  .announcement { grid-area: badge; justify-self: start; padding: .12rem .44rem .16rem; }
  h1 { grid-area: title; margin-top: 0; font-size: clamp(1.6rem, 7.8vw, 2.2rem); }
  .hero-art img { height: clamp(3rem, calc(100svh - 32.5rem), 6rem); object-position: center; }
  .teaching-line { gap: .35rem; font-size: .9375rem; }
  .teaching-line img { width: 1.3rem; }
  .feature-list { gap: .52rem .6rem; }
  .feature-face { grid-template-columns: 1.45rem minmax(0, 1fr); padding: .35rem .45rem .45rem; gap: .15rem .25rem; }
  .feature-art { width: 1.45rem; }
  .countdown { gap: .36rem; padding: .5rem .45rem; }
  .countdown-intro { justify-content: center; }
  .countdown-intro > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .08rem .5rem; }
  .countdown h2 { font-size: 1rem; }
  .countdown-intro p { margin: 0; }
  .calendar-icon { display: none; }
  .clock { --digit-size: 1.75rem; }
}
@media (orientation: landscape) and (min-width: 38rem) and (min-height: 30.01rem) and (max-height: 40rem) {
  .masthead-inner { min-height: 3rem; }
  main { gap: .7rem; padding-block: .5rem .65rem; }
  .hero-layout { gap: .6rem 1rem; }
  .hero-art img { height: clamp(8rem, min(37svh, calc(100svh - 18.5rem)), 14rem); }
  .announcement { font-size: .875rem; padding: .17rem .6rem; }
  h1 { font-size: clamp(2rem, 4.3vw, 3.3rem); margin-top: .45rem; }
  .teaching-line { gap: .45rem; font-size: 1rem; }
  .teaching-line img { width: 1.65rem; }
  .feature-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-face { grid-template-columns: 2.15rem minmax(0, 1fr); grid-template-areas: "art heading" "detail detail"; gap: .22rem .45rem; padding: .55rem .65rem; }
  .feature-art { width: 2.15rem; margin: 0; }
  .feature-title { font-size: 1.05rem; }
  .feature-detail { margin: 0; font-size: .9375rem; line-height: 1.25; }
  .countdown { padding: .7rem 1.25rem; }
  .clock { --digit-size: 2rem; }
}
@media (min-width: 38rem) and (max-width: 46rem) and (max-height: 55rem) {
  .hero-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); grid-template-areas: "copy art" "strategy strategy"; row-gap: .6rem; }
  h1 { font-size: clamp(2rem, 4.8vw, 2.35rem); margin-top: .5rem; }
  .hero-art img { height: clamp(6rem, 16svh, 8.5rem); }
  .teaching-line { font-size: 1rem; }
}
@media (orientation: landscape) and (max-height: 30rem) and (min-width: 32rem) {
  :root { --gutter: clamp(.8rem, 3vw, 2rem); }
  main { gap: .4rem; padding-block: .2rem .35rem; }
  .masthead-inner { min-height: 44px; }
  .brand img { width: 5.5rem; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 24%; grid-template-areas: "copy art" "strategy art"; gap: .2rem .7rem; }
  .hero-art img { height: clamp(3.5rem, 24svh, 6.5rem); }
  .announcement { padding: .08rem .5rem .12rem; font-size: .875rem; }
  h1 { margin-top: .18rem; font-size: clamp(1.45rem, 3.9vw, 2.4rem); }
  h1 > span { display: inline; }
  .teaching-line { gap: .4rem; font-size: .875rem; }
  .teaching-line img { width: 1.2rem; }
  .feature-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
  .feature-face { grid-template-columns: 1.3rem minmax(0, 1fr); grid-template-areas: "art heading" "detail detail"; gap: .15rem .22rem; padding: .28rem .38rem .38rem; border-radius: .65rem; }
  .feature-art { width: 1.3rem; margin: 0; }
  .feature-title { font-size: .975rem; }
  .feature-detail { margin: 0; font-size: .875rem; line-height: 1.18; }
  .countdown { flex-direction: row; gap: .6rem; padding: .55rem .85rem; }
  .countdown h2 { font-size: 1.1rem; }
  .countdown-intro { gap: .5rem; text-align: left; }
  .countdown-intro p { font-size: .875rem; }
  .calendar-icon { width: 1.4rem; height: 1.4rem; }
  .clock { --digit-size: 1.65rem; }
  .unit { min-width: 3.15rem; padding-inline: .3rem; }
  .unit-name { margin-top: .1rem; }
}
@media (orientation: landscape) and (max-height: 22rem) and (min-width: 32rem) {
  main { gap: .28rem; }
  .hero-layout { grid-template-areas: "copy art" "strategy strategy"; row-gap: .12rem; }
  .hero-art img { height: 3rem; }
  .feature-face { grid-template-columns: 1.1rem minmax(0, 1fr); }
  .feature-art { width: 1.1rem; }
  .feature-title { font-size: .91rem; }
  .countdown { padding-block: .32rem; }
  .unit-name { line-height: 1.2; }
}

/* Very large type reflows into a reading layout with natural scrolling. */
@container page (max-width: 19em) {
  .frame { --gutter: .8rem; }
  .hero-layout { display: flex; flex-direction: column; gap: .7rem; text-align: center; }
  .hero-art img { width: 6rem; height: auto; }
  .teaching-line { align-self: center; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .feature details[open], .feature details[open] > summary { height: auto; }
  .benefits { inset: auto; width: auto; max-height: none; overflow: visible; position: relative; margin-top: .2rem; }
  .countdown { display: grid; justify-items: center; }
  .clock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .4rem; }
  .unit:nth-child(3) { border-left: 0; }
}
@media (max-height: 30rem) {
  .feature details[open], .feature details[open] > summary { height: auto; }
  .benefits { position: relative; inset: auto; width: auto; max-height: none; overflow: visible; margin-top: .35rem; }
}
