@font-face {
  font-family: Nunito;
  src: url("/assets/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/poppins-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/poppins-700-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --ink: #565d6b;
  --soft: #506579;
  --green: #467cbb;
  --cream: #fafbff;
  --line: #dce4ee;
  --tint: #eaf2fc;
  --primary: #568bce;
  --blue-ink: #3269aa;
  --heading: Poppins, Arial, sans-serif;
  font-family: Nunito, Arial, sans-serif;
}
body {
  background: #fbfcff;
}
h1,
h2,
h3,
.feature-card h3 {
  font-family: var(--heading);
  letter-spacing: -0.028em;
  font-weight: 700;
  color: var(--ink);
}
h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}
h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
}
h3 {
  letter-spacing: -0.02em;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline-color: #285fa6;
}
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fafbfffa;
  box-shadow: 0 1px 3px #4566850e;
  border-color: #dae2ef;
}
.headwrap,
.ref-container {
  max-width: 1400px;
  padding: 0 1rem;
  margin: 0 auto;
}
.headwrap {
  height: 65px;
  min-height: 65px;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}
.brand {
  gap: 0.23rem;
  letter-spacing: normal;
  margin: 0;
}
.brand-symbol {
  width: 43px;
  height: 47px;
  object-fit: contain;
}
.wordmark {
  font-family: var(--heading);
  display: grid;
  line-height: 0.94;
  font-size: 1rem;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: #477cc5;
}
.wordmark > span:nth-child(2) {
  font-size: 1.35rem;
}
.wordmark b:nth-child(1) {
  color: #eb8564;
}
.wordmark b:nth-child(2) {
  color: #e6ad47;
}
.wordmark b:nth-child(3) {
  color: #69a985;
}
.wordmark b:nth-child(4) {
  color: #9676bf;
}
.authlinks {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}
.authlinks a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}
.authlinks > #signinlink {
  padding: 0.6rem 0.5rem;
}
.topstudio {
  border-radius: 12px;
  padding: 0.62rem 1.1rem;
  background: var(--primary);
}
#navigation {
  margin: 0;
  gap: 2px;
}
.navgroup summary {
  padding: 0.57rem 0.84rem;
  font-weight: 700;
  color: #646977;
  font-size: 0.98rem;
  border-radius: 8px;
}
.navgroup[open] summary,
.navgroup summary:hover {
  color: var(--blue-ink);
  background: #eff4fc;
}
.navpanel {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  width: min(900px, calc(100vw - 32px));
  left: 50%;
  transform: translateX(-50%);
  padding: 22px 24px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 38px #4249572c;
  max-height: calc(100dvh - 87px);
  overflow: auto;
  color: var(--ink);
  background: white;
  z-index: 5;
}
.navgroup:not([open]) .navpanel {
  display: none;
}
.megagrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.megagrid h3,
.supportitem {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.megagrid h3 {
  font-size: 0.9rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 0 0.7rem;
}
.navpanel a {
  border: 0;
  color: inherit;
  font-weight: 600;
  border-radius: 8px;
}
.navpanel a:hover,
.navpanel a:focus-visible {
  background: #f1f5fc;
  color: var(--blue-ink);
}
.megaentry {
  display: block;
  text-decoration: none;
  padding: 8px 10px;
}
.megaentry span {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.35;
}
.megaentry small,
.supportitem small {
  display: block;
  margin-top: 3px;
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--soft);
  font-weight: 500;
}
.megaentry em {
  font-size: 0.57rem;
  padding: 0.12rem 0.3rem;
  border-radius: 99px;
  background: #fff3d9;
  color: #8a5b0b;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.navgroup:nth-child(2) .megaentry em {
  background: #e5effe;
  color: #3868ab;
}
.navpanel .megafoot {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 12px 0 6px;
  border-top: 1px solid #e6eaf0;
  color: var(--blue-ink);
  border-radius: 0;
  text-decoration: none;
  font-size: 0.85rem;
}
.smallmenu {
  left: auto;
  right: max(12%, 2rem);
  transform: none;
  width: 310px;
  padding: 14px;
}
.supportitem {
  text-decoration: none;
  padding: 11px;
}
.supportitem b {
  font-size: 0.92rem;
}
.glyph {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  vertical-align: -0.13em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ref-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #e9f1fc;
  color: #5089ca;
  flex: none;
}
.ref-icon .glyph {
  width: 18px;
  height: 18px;
}
.ref-icon.mint {
  background: #ebf6eb;
  color: #568e53;
}
.ref-icon.purple {
  background: #f0ebf8;
  color: #8c71b3;
}
.ref-icon.gold {
  background: #fff4df;
  color: #b58029;
}
.ref-icon.rose {
  background: #fbeaf0;
  color: #b46483;
}
.ref-primary,
.ref-outline,
.ref-white,
.secondary-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.68rem 1.95rem;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  font-size: 0.94rem;
}
.ref-primary {
  background: var(--primary);
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 3px 8px #346eaf22;
}
.ref-primary:hover,
.topstudio:hover {
  background: #3e75b8;
}
.ref-outline {
  border: 1px solid #6995c7;
  color: var(--blue-ink);
  background: transparent;
}
.ref-outline:hover {
  background: #edf4fd;
}
.ref-white {
  background: white;
  color: var(--blue-ink);
  border-radius: 9px;
  min-height: 36px;
  padding: 0.5rem 1.15rem;
}
.ref-text,
.auth-inner small a {
  color: var(--blue-ink);
}
.ref-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #eff6ff 0%, #fff 51%, #f9f5ff 100%);
  padding: clamp(70px, 8.8vw, 128px) 0;
}
.hero-grid,
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
  position: relative;
}
.ref-copy {
  max-width: 576px;
}
.hero-kicker,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 99px;
  background: #e7f0fa;
  color: #3c72b0;
  font-weight: 700;
  font-size: 0.83rem;
  padding: 0.36rem 0.8rem;
  text-decoration: none;
}
.hero-kicker .glyph,
.photo-note .ref-icon .glyph {
  fill: currentColor;
}
.ref-copy h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.75rem);
  line-height: 1.03;
  margin: 1.3rem 0 1.55rem;
  letter-spacing: -0.036em;
}
.mind-accent,
.page-intro h1 span {
  color: #568bce;
}
.mind-accent {
  position: relative;
  display: inline-block;
}
.mind-accent:after {
  content: "";
  position: absolute;
  bottom: -0.11em;
  left: 0;
  right: 0;
  height: 0.13em;
  border-radius: 50%;
  background: linear-gradient(90deg, #508dd3, #eda935, #83b980, #9774c3);
  clip-path: polygon(
    0 52%,
    22% 12%,
    49% 0,
    73% 11%,
    100% 46%,
    100% 100%,
    73% 62%,
    49% 51%,
    23% 64%,
    0 100%
  );
}
.ref-copy > p {
  color: var(--soft);
  font-size: 1.16rem;
  line-height: 1.62;
  max-width: 574px;
}
.ref-chips,
.hero-actions,
.hero-checks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.ref-chips {
  margin: 1.75rem 0;
}
.chip {
  padding: 0.49rem 0.95rem;
}
.amber,
.mathcard .chip {
  background: #fff4df;
  color: #936522;
}
.hero-actions {
  gap: 1rem;
}
.hero-checks {
  border-top: 1px solid #dce5ed;
  margin-top: 2rem;
  padding-top: 1.6rem;
  gap: 0.95rem 1.15rem;
  font-size: 0.87rem;
  color: var(--soft);
}
.hero-checks span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-checks .glyph {
  color: #5288ba;
}
.hero-visual,
.how-photo {
  position: relative;
}
.hero-visual > img,
.how-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 22px 34px -12px #4b46584a;
}
.photo-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #fffffff7;
  padding: 0.68rem 0.95rem;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  box-shadow: 0 4px 14px #30304017;
}
.photo-note b,
.photo-note small {
  display: block;
  line-height: 1.35;
  font-size: 0.74rem;
}
.photo-note small {
  color: var(--soft);
}
.photo-note .ref-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.bubble-a {
  width: 288px;
  height: 288px;
  left: -80px;
  top: -80px;
  background: #578bc92e;
}
.bubble-b {
  width: 192px;
  height: 192px;
  right: 40px;
  top: 40px;
  background: #f0ad5029;
}
.bubble-c {
  width: 224px;
  height: 224px;
  bottom: 0;
  left: 33%;
  background: #a7cf9d22;
}
.ref-strip {
  padding: 15px 0;
  background: #eff4fc;
  border-block: 1px solid #e1e8f4;
}
.ref-strip .ref-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.ref-strip span {
  font-size: 0.84rem;
  color: #53687d;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.ref-strip span:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #e9b04a;
}
.ref-section {
  padding: clamp(64px, 6.8vw, 96px) 1rem;
  background: white;
  scroll-margin-top: 66px;
}
.ref-heading,
.center {
  text-align: center;
}
.ref-label {
  font-weight: 800;
  color: #9e681e;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}
.ref-label:empty {
  display: none;
}
.ref-heading h2,
.impact-band h2,
.signup-band h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.18;
  max-width: 920px;
  margin: 0 auto 1rem;
}
.ref-heading p,
.page-intro p,
.mission > p {
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--soft);
  max-width: 680px;
  margin: 0 auto;
}
.ref-heading {
  margin: 0 auto 3rem;
}
.programs-area {
  background:
    radial-gradient(ellipse at 4% 15%, #effaf241, transparent 28%),
    linear-gradient(white, #f8fbff 60%, white);
}
.ref-programs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1024px;
  margin: auto;
}
.ref-program {
  display: block;
  border: 1px solid var(--line);
  background: white;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 14px #344a6510;
  color: var(--ink);
}
.ref-photo {
  position: relative;
}
.ref-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 2.2;
  object-fit: cover;
}
.ref-photo i {
  position: absolute;
  bottom: 14px;
  left: 16px;
  width: 41px;
  height: 41px;
  border-radius: 10px;
  background: #4b88ce;
  color: white;
  display: grid;
  place-items: center;
}
.mathcard .ref-photo i {
  background: #dfa03c;
}
.ref-card-body {
  padding: 1.45rem;
}
.ref-card-body .chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
}
.ref-card-body h3 {
  font-size: 1.45rem;
  margin: 0.6rem 0;
}
.ref-card-body p,
.feature-card p,
.how-step p {
  color: var(--soft);
  line-height: 1.6;
}
.ref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.8rem 0;
}
.ref-tags > span {
  font-size: 0.78rem;
  background: #f4f6fa;
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
}
.ref-card-body strong {
  font-size: 0.89rem;
  color: var(--blue-ink);
}
.mathcard .ref-card-body strong {
  color: #936522;
}
.programs-area .center {
  margin-top: 2rem;
}
.feature-row,
.ref-three,
.about-tiles,
.how-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1152px;
  margin: auto;
}
.feature-row,
.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.45rem;
  text-decoration: none;
  box-shadow: 0 2px 7px #344b6007;
}
.feature-card h3,
.how-step h3 {
  font-size: 1.04rem;
  margin: 0.85rem 0 0.45rem;
  line-height: 1.35;
}
.feature-card p,
.how-step p {
  font-size: 0.94rem;
}
.feature-card:hover,
.ref-program:hover {
  border-color: #99b8dc;
}
.adapt-area,
.family-area,
.community {
  background: linear-gradient(140deg, #fbf9ff, #fff 50%, #f5f9ff);
}
.feature-row .feature-card:after {
  content: "";
  position: absolute;
  right: -18px;
  top: -21px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #668dd314;
}
.feature-card.gold:after {
  background: #f4b65713;
}
.feature-card.mint:after {
  background: #82ae7714;
}
.impact-band,
.signup-band {
  padding: clamp(58px, 6vw, 80px) 0;
  background: linear-gradient(115deg, #4a7ee5, #7958de 77%, #9862e3);
  color: white;
}
.impact-band h2,
.signup-band h2 {
  color: white;
  margin: 0 0 0.8rem;
}
.impact-band .ref-label {
  color: #e4eaff;
}
.impact-band p,
.signup-band p {
  margin-bottom: 1.2rem;
  max-width: 550px;
}
.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.impact-stats div {
  background: #ffffff24;
  border: 1px solid #ffffff38;
  border-radius: 14px;
  text-align: center;
  padding: 1.35rem;
}
.impact-stats strong {
  font: 700 clamp(1.5rem, 2.5vw, 2.3rem) var(--heading);
  display: block;
}
.impact-stats span {
  font-size: 0.9rem;
}
.how-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1152px;
  gap: 3rem;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  margin: 1.5rem 0;
}
.how-step .ref-label,
.how-step h3 {
  margin: 0 0 0.35rem;
}
.how-photo img {
  aspect-ratio: 1.5;
}
.ref-three,
.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.signup-band {
  background: #e9a634;
}
.signup-card {
  background: white;
  color: var(--ink);
  border-radius: 18px;
  padding: 1.65rem;
  box-shadow: 0 11px 23px #8e64272a;
}
.signup-card h3 {
  font-size: 1.35rem;
}
.signup-card p {
  color: var(--soft);
  margin: 0.4rem 0 1rem;
}
.signup-card .ref-primary {
  width: 100%;
  border-radius: 9px;
}
.signup-card small {
  display: block;
  text-align: center;
  margin-top: 0.8rem;
}
.page-intro,
.auth-view {
  background: linear-gradient(135deg, #eff5fe, white 58%, #f9f6ff);
  text-align: center;
}
.page-intro {
  padding: clamp(64px, 7vw, 104px) 1rem;
}
.page-intro h1 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  margin: 0.7rem auto 1.1rem;
  line-height: 1.12;
}
.page-intro p {
  max-width: 720px;
}
.tintblock {
  background: #f0f5fc;
}
.mission {
  text-align: center;
}
.mission > .ref-icon {
  margin-bottom: 1.2rem;
}
.mission .ref-heading {
  margin-bottom: 1rem;
}
.mission .ref-text,
.mission .ref-outline,
.mission .ref-primary {
  display: inline-flex;
  margin-top: 1.3rem;
}
.cols-2 {
  grid-template-columns: 1fr 1fr;
  max-width: 990px;
}
.cols-3 {
  max-width: 1050px;
}
.community .feature-card,
.tintblock .cols-4 .feature-card {
  text-align: center;
}
.about-tiles ul {
  padding-left: 1.2rem;
}
.about-tiles li {
  padding: 0.24rem 0;
}
.about-tiles li a {
  color: var(--soft);
  text-decoration: none;
}
.about-tiles li a:hover {
  text-decoration: underline;
}
.help-search,
.input-with-icon {
  display: flex;
  align-items: center;
  border: 1px solid #cbd9e8;
  border-radius: 9px;
  padding: 0 0.8rem;
  background: #f8fbff;
  color: #647b92;
}
.help-search {
  max-width: 580px;
  margin: 1.4rem auto 0;
  background: white;
}
.help-search input,
.input-with-icon input {
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0.6rem;
  outline-offset: 0;
}
.input-with-icon button {
  border: 0;
  background: none;
  color: #5c7690;
  padding: 0.4rem;
}
.ref-form label {
  display: block;
  font-weight: 700;
  font-size: 0.91rem;
}
.ref-form label > input,
.ref-form textarea,
.ref-form select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem;
  border: 1px solid #cbd9e8;
  border-radius: 8px;
  background: #fafcff;
  min-height: 44px;
}
.ref-form textarea {
  resize: vertical;
}
.contact-form {
  max-width: 580px;
  margin: auto;
  display: grid;
  gap: 1rem;
}
.contact-form label > span {
  color: #995c53;
}
.ref-form small,
.auth-inner small {
  color: var(--soft);
}
.ref-form .ref-primary {
  border-radius: 9px;
  width: 100%;
  min-height: 44px;
}
.auth-view {
  min-height: calc(100svh - 65px);
  display: grid;
  place-items: center;
  padding: 64px 1rem;
}
.auth-inner {
  width: min(100%, 448px);
}
.auth-inner h1 {
  font-size: 1.93rem;
  margin: 0;
}
.auth-sub {
  color: var(--soft);
  margin: 0.6rem 0 1.8rem;
}
.authcard {
  border: 1px solid var(--line);
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 5px 11px #42546d15;
  display: grid;
  gap: 1rem;
}
.authcard h2 {
  font-size: 1.43rem;
  margin: 0 0 0.35rem;
}
.authcard .input-with-icon {
  margin-top: 0.4rem;
}
.auth-inner > small {
  display: block;
  margin-top: 1.3rem;
  font-size: 0.8rem;
}
.authcard a {
  text-decoration: none;
  color: var(--blue-ink);
}
.forgot {
  text-align: right;
  font-size: 0.87rem;
}
.divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--soft);
  white-space: nowrap;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.secondary-auth {
  background: #eaf2fc;
  color: #47596e !important;
  border-radius: 8px;
}
.auth-back {
  text-align: center;
  font-size: 0.88rem;
}
.ref-form #accountstatus:empty {
  display: none;
}
.role-select {
  padding: 0;
  border: 0;
  margin: 0;
}
.role-select > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.role-select input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.role-select span {
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 0.4rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.role-select :checked + span,
.role-select :focus-visible + span {
  background: #f0f6fd;
  border-color: #568bce;
  color: #376baa;
}
.ref-guide-copy {
  max-width: 900px;
  margin: 1.4rem auto;
  padding: 0 1rem;
}
.ref-guide-copy > details > summary {
  cursor: pointer;
  color: var(--blue-ink);
}
footer {
  padding: clamp(45px, 5vw, 74px) 0 24px;
  background: #5386c9;
  border: 0;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
}
.footer-grid a,
.foot-legal a {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 0.87rem;
  margin: 0.35rem 0;
}
.footer-grid a:hover,
.foot-legal a:hover {
  text-decoration: underline;
}
.footer-grid h2 {
  font-family: Nunito, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.79rem;
  font-weight: 800;
  color: white;
  margin: 0 0 0.8rem;
}
.footer-grid p {
  font-size: 0.86rem;
  max-width: 240px;
  line-height: 1.6;
}
.footer-grid a.footer-brand {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 0.7rem;
}
.foot-legal {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff40;
  margin-top: 2.3rem;
  padding-top: 1.2rem;
  font-size: 0.78rem;
}
.foot-legal a {
  display: inline;
}
.wrap {
  max-width: 1250px;
}
.pagehead h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}
.paper,
.panel,
.lessoncard,
.tile {
  border-radius: 14px;
  background: white;
  border-color: var(--line);
  box-shadow: 0 3px 10px #5063810b;
}
.eyebrow,
.under,
.paper a,
.panel a:not(.primary):not(.buttonlink),
.breadcrumb a {
  color: var(--blue-ink);
}
.iconbox,
.pill,
.steps .active,
.context,
.feedback,
.chosen,
.notice,
.token.earned {
  color: #375d91;
  background: #edf3fc;
}
.timerface {
  color: #4779ae;
  background: #f0f5fd;
}
.choiceicon {
  color: #4f76a6;
}
.paper pre {
  background: #f3f7fc;
}
.primary {
  background: var(--blue-ink);
}
.buttonlink,
.secondary {
  color: var(--blue-ink);
  border-color: #b2c9e2;
}
.secondary:hover,
.buttonlink:hover {
  background: #edf4fc;
}
.quiet .bubble,
.quiet .hero-visual,
.quiet .how-photo,
.quiet .ref-photo,
.quiet .feature-card:after {
  display: none;
}
.quiet .hero-grid,
.quiet .how-grid {
  grid-template-columns: 1fr;
}
.quiet .ref-hero,
.quiet .adapt-area,
.quiet .how-area,
.quiet .family-area {
  background: white;
}
.contrast {
  --ink: #19283a;
  --soft: #29394c;
  --line: #718397;
  --primary: #305f9a;
  --blue-ink: #1b477d;
}
.contrast .ref-label {
  color: #724c14;
}
.contrast .impact-band,
.contrast .signup-band,
.contrast footer {
  background: #304f77;
}
.contrast .authlinks .topstudio,
.contrast .ref-primary {
  background: #305f9a;
}
@media (min-width: 1024px) {
  .headwrap #navigation,
  .headwrap #navigation.show {
    display: flex;
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    background: transparent;
    padding: 0;
    border: 0;
  }
  .headwrap #menutoggle {
    display: none;
  }
  .headwrap .brand {
    margin-right: 0;
  }
  .navpanel {
    position: absolute;
  }
  .navgroup[open] summary {
    background: #edf3fb;
  }
}
@media (max-width: 1023px) {
  .headwrap {
    height: 65px;
    min-height: 65px;
  }
  .headwrap .brand {
    margin-right: auto;
  }
  .headwrap #menutoggle {
    display: block;
    font-size: 0.85rem;
  }
  .headwrap #navigation {
    display: none;
  }
  .headwrap #navigation.show {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 68px);
    background: white;
    overflow: auto;
    padding: 1rem;
  }
  .navpanel,
  .smallmenu {
    position: static;
    width: auto;
    left: auto;
    right: auto;
    transform: none;
    padding: 0.6rem;
    max-height: none;
    border: 0;
    box-shadow: none;
  }
  .megagrid {
    grid-template-columns: 1fr 1fr;
  }
  .navgroup summary {
    padding: 0.7rem;
  }
  .authlinks {
    margin: 0;
  }
  .feature-row,
  .cols-4 {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid {
    gap: 2rem;
  }
}
@media (max-width: 767px) {
  .headwrap {
    gap: 0.38rem;
  }
  .brand-symbol {
    width: 34px;
    height: 40px;
  }
  .wordmark {
    font-size: 0.82rem;
  }
  .wordmark > span:nth-child(2) {
    font-size: 1.12rem;
  }
  .authlinks {
    gap: 0.1rem;
  }
  .authlinks a {
    font-size: 0.78rem;
  }
  .authlinks .topstudio {
    padding: 0.53rem 0.65rem;
  }
  .headwrap #menutoggle {
    padding: 0.53rem 0.55rem;
  }
  .hero-grid,
  .split,
  .ref-programs,
  .how-grid,
  .ref-three,
  .cols-2,
  .cols-3 {
    grid-template-columns: 1fr;
  }
  .ref-hero {
    padding: 4rem 0;
  }
  .ref-copy h1 {
    font-size: 2.55rem;
  }
  .ref-copy > p {
    font-size: 1.06rem;
  }
  .hero-grid {
    gap: 2.1rem;
  }
  .hero-checks {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
  }
  .bubble-a {
    width: 210px;
    height: 210px;
  }
  .bubble-b {
    width: 120px;
    height: 120px;
    right: -10px;
  }
  .bubble-c {
    left: 4%;
  }
  .ref-chips {
    margin: 1.35rem 0;
  }
  .ref-strip .ref-container {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .ref-programs,
  .how-grid {
    gap: 1.25rem;
  }
  .ref-heading {
    margin-bottom: 2rem;
  }
  .ref-section {
    padding: 3.8rem 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .foot-legal {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .authcard {
    padding: 1.35rem;
  }
  .ref-outline,
  .ref-primary {
    padding: 0.65rem 1.25rem;
  }
  .page-intro {
    padding: 3.7rem 1rem;
  }
  .auth-view {
    padding: 3rem 1rem;
  }
  .impact-band,
  .signup-band {
    padding: 3.5rem 0;
  }
}
@media (max-width: 490px) {
  .megagrid,
  .feature-row,
  .cols-4 {
    grid-template-columns: 1fr;
  }
  .feature-row .feature-card,
  .cols-4 .feature-card {
    padding: 1.2rem;
  }
  .headwrap {
    padding: 0 0.65rem;
  }
  .hero-actions {
    gap: 0.55rem;
  }
  .ref-chips,
  .hero-checks {
    gap: 0.65rem;
  }
  .ref-section .ref-heading h2 {
    font-size: 1.6rem;
  }
  .ref-heading p {
    font-size: 1rem;
  }
}
@media print {
  header,
  footer,
  .authlinks,
  .bubble {
    display: none;
  }
  body,
  .ref-section {
    background: white !important;
    color: black;
  }
  .wrap {
    max-width: 100%;
  }
}
/* Reading and teaching resources share the public site typography and colors. */
.guide-view {
  margin-block: 0 1rem;
}
.guide-hero {
  padding: clamp(1.5rem, 4vw, 3.6rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(115deg, #eaf3ff 0%, #f6f5fd 78%, #fff8ec);
  margin: 0 0 1.8rem;
}
.guide-hero.with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(200px, 0.8fr);
  gap: 2rem;
  align-items: center;
}
.guide-hero img {
  width: 100%;
  max-height: 224px;
  object-fit: cover;
  aspect-ratio: 1.6;
  border-radius: 14px;
}
.guide-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--soft);
  margin: 0 0 1.4rem;
}
.guide-crumb a {
  color: var(--blue-ink);
}
.guide-type,
.resource-action > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-ink);
  font-size: 0.875rem;
  font-weight: 750;
}
.guide-type .glyph {
  width: 19px;
  height: 19px;
}
.guide-hero h1,
.guide-hero h2 {
  font-size: clamp(1.9rem, 3.35vw, 3.1rem);
  line-height: 1.18;
  margin: 0.55rem 0 0.85rem;
  max-width: 27ch;
}
.guide-hero p {
  font-size: 1.12rem;
  color: #495d73;
  max-width: 70ch;
  line-height: 1.65;
  margin: 0;
}
.guide-body {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(245px, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}
.guide-body article {
  min-width: 0;
}
.guide-body > aside {
  background: #f0f5fd;
  border: 1px solid #dce6f1;
  border-radius: 16px;
  padding: 1.3rem;
}
.guide-body > aside h2 {
  font-size: 1.15rem;
}
.action-list {
  display: grid;
  gap: 0.55rem;
}
.resource-action {
  display: grid;
  text-decoration: none;
  gap: 0.18rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  color: var(--ink);
}
.resource-action > span {
  font-size: 0.78rem;
}
.resource-action b {
  font-size: 0.96rem;
  line-height: 1.38;
}
.resource-action:hover {
  border-color: #789bc5;
}
.resource-action svg {
  width: 14px;
  height: 14px;
}
.download-guide {
  font-size: 0.92rem;
  gap: 0.45rem;
  margin: 0.8rem 0;
}
.collection-link {
  display: block;
  color: var(--blue-ink);
  font-weight: 700;
  font-size: 0.94rem;
}
.guide-section,
.guide-practice,
.guide-handout {
  padding: 0.3rem 0 1.4rem;
  margin: 0 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.guide-section h2,
.guide-practice h2,
.resource-module h2 {
  font-size: clamp(1.35rem, 2.25vw, 1.85rem);
  line-height: 1.27;
  margin: 0 0 0.65rem;
}
.guide-section p,
.guide-practice p,
.guide-practice li,
.resource-module > p,
.class-board .board-heading p {
  line-height: 1.75;
  max-width: 73ch;
  color: #425467;
  margin: 0.4rem 0;
}
.guide-practice h3,
.practice-reading h3 {
  font-size: 1.13rem;
  margin: 1.15rem 0 0.45rem;
}
.practice-reading a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.guide-practice ol {
  padding-left: 1.45rem;
}
.guide-handout summary,
.teaching-drawer summary,
.class-slide summary {
  cursor: pointer;
  color: var(--blue-ink);
  padding: 0.6rem 0;
  font-weight: 750;
}
.guide-handout .record-lines {
  white-space: pre-wrap;
  background: #f0f4fc;
  padding: 1.1rem;
  margin: 0.6rem 0;
  border-radius: 10px;
}
.guide-handout a {
  overflow-wrap: anywhere;
}
.resource-module {
  margin-bottom: 2.45rem;
}
.subject-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  margin: 0.6rem 0;
}
.subject-filter select {
  width: auto;
  min-height: 42px;
}
.path-grid,
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.path-card,
.directory-grid > section {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.path-card > .learning-photo {
  margin: -1.25rem -1.25rem 1rem;
  aspect-ratio: 508 / 252;
  border-radius: 14px 14px 0 0;
}
.directory-grid > section {
  padding: 0;
  overflow: hidden;
}
.directory-grid > section > .learning-photo {
  aspect-ratio: 508 / 220;
  border-radius: 14px 14px 0 0;
}
.directory-copy {
  padding: 1.15rem 1.25rem 1.25rem;
}
.path-card h3,
.directory-grid h3 {
  font-size: 1.12rem;
  margin: 0.55rem 0;
}
.path-card p,
.path-card li,
.directory-grid li {
  line-height: 1.6;
}
.path-card li,
.directory-grid li {
  margin-bottom: 0.5rem;
}
.path-card ol,
.directory-grid ul {
  padding-left: 1.25rem;
}
.path-card a,
.directory-grid a,
.print-list a {
  color: var(--blue-ink);
  text-underline-offset: 3px;
}
.directory-grid h3,
.board-heading {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.directory-grid .ref-icon,
.board-heading .ref-icon {
  flex-shrink: 0;
}
.board-heading h2,
.board-heading p {
  margin: 0;
}
.class-slide {
  border: 1px solid #c9d8ec;
  border-radius: 16px;
  padding: clamp(1.15rem, 3vw, 2rem);
  background: #f3f7fe;
  margin-top: 1rem;
}
.class-slide h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.05rem);
  max-width: 42ch;
  margin: 1rem 0;
}
.class-slide details {
  padding: 0.2rem 0;
}
.class-slide .actions {
  margin-top: 0.9rem;
}
.counter-array {
  display: grid;
  gap: 0.36rem;
  margin: 0.5rem 0;
}
.counter-array > div {
  display: flex;
  gap: 0.36rem;
}
.counter-array i {
  width: clamp(13px, 3.2vw, 27px);
  height: clamp(13px, 3.2vw, 27px);
  border-radius: 100%;
  background: #497cb6;
  border: 1px solid #28578a;
}
.print-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  gap: 0.5rem 1rem;
}
.print-list a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}
.print-list span {
  font-size: 0.78rem;
}
.teaching-drawer {
  border-top: 1px solid var(--line);
  padding: 0.45rem 0;
}
.teaching-drawer p {
  line-height: 1.7;
}
.lesson-model {
  background: #f2f6fd;
  border-left: 4px solid #7098cd;
  padding: 1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 0.8rem 0 1.15rem;
}
.lesson-model h3 {
  margin: 0 0 0.3rem;
}
.lesson-model p {
  margin: 0.4rem 0;
}
.ref-guide-copy .guide-body {
  grid-template-columns: 1fr;
}
.ref-guide-copy .guide-hero {
  margin-top: 1rem;
}
.ref-guide-copy .guide-crumb {
  display: none;
}
.ref-primary,
.authlinks .topstudio {
  background: #3f72ae;
}
.ref-label {
  color: #8a5a14;
}
.quiet .guide-hero img {
  display: none;
}
.quiet .guide-hero {
  background: #f4f7fc;
  grid-template-columns: 1fr;
}
.contrast .guide-hero,
.contrast .guide-body aside,
.contrast .class-slide {
  background: white;
  border-color: #718397;
}
.contrast .guide-body p,
.contrast .guide-hero p {
  color: #23364a;
}
@media (max-width: 950px) {
  .path-grid,
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-body {
    grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr);
    gap: 1.35rem;
  }
}
@media (max-width: 720px) {
  .guide-hero.with-photo,
  .guide-body,
  .path-grid,
  .directory-grid,
  .print-list {
    grid-template-columns: 1fr;
  }
  .guide-hero.with-photo {
    gap: 1rem;
  }
  .guide-hero img {
    max-height: 160px;
    object-position: center 40%;
  }
  .guide-hero {
    padding: 1.3rem;
  }
  .guide-crumb {
    margin-bottom: 0.75rem;
  }
  .guide-body > aside {
    order: initial;
  }
  .class-slide .actions {
    flex-wrap: wrap;
  }
}
.directory-grid h2 {
  font-size: 1.18rem;
  margin: 0.65rem 0 0.45rem;
}
.directory-grid p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--soft);
}
.grade-shelf,
.foundation-links {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.grade-shelf .chip,
.foundation-links .chip {
  min-height: 38px;
  border: 1px solid #cad9ea;
  text-decoration: none;
}
.foundation-links {
  max-width: 760px;
  margin: 1.25rem auto;
  justify-content: center;
}
.guide-section.story-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 1.1rem;
}
.story-section img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 12px;
}
.quiet .story-section img {
  display: none;
}
.quiet .guide-section.story-section {
  grid-template-columns: 1fr;
}
@media (max-width: 720px) {
  .guide-section.story-section {
    grid-template-columns: 1fr;
  }
  .story-section img {
    max-height: 180px;
  }
}
@media (max-width: 360px) {
  .headwrap {
    gap: 0.24rem;
    padding-inline: 0.4rem;
  }
  .headwrap .brand {
    gap: 0.12rem;
  }
  .headwrap .brand-symbol {
    width: 26px;
  }
  .headwrap .wordmark {
    font-size: 0.73rem;
  }
  .headwrap .wordmark > span:nth-child(2) {
    font-size: 0.96rem;
  }
  .authlinks > #signinlink {
    padding-inline: 0.18rem;
  }
  .authlinks .topstudio {
    padding-inline: 0.42rem;
  }
  .headwrap #menutoggle {
    padding-inline: 0.32rem;
  }
  .ref-copy h1 {
    font-size: 2.24rem;
  }
}
@media (max-width: 620px) {
  .larger .headwrap {
    height: auto;
    min-height: 65px;
    flex-wrap: wrap;
    padding-block: 0.4rem;
  }
  .larger .authlinks {
    flex-wrap: wrap;
  }
}
.class-launch {
  margin-bottom: 1rem;
}
.projected-class {
  max-width: 1100px;
  margin: 0 auto;
}
.projected-class .class-slide h3 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}
.projected-class .class-slide {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.projected-class .counter-array i {
  width: clamp(16px, 4vw, 42px);
  height: clamp(16px, 4vw, 42px);
}
.listening-cue {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  margin: 0.85rem 0;
}
.listening-cue details {
  font-size: 0.92rem;
}
.listening-cue summary {
  cursor: pointer;
  color: var(--blue-ink);
}
