@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;600;700;800;900&family=Noto+Serif+TC:wght@400;500;600;700;900&display=swap";

/* app/globals.css */
:root {
  --ink:#25483e;
  --green:#4f8a64;
  --deep-green:#285544;
  --cream:#fffdf7;
  --paper:#f8f4e9;
  --yellow:#f7cf58;
  --orange:#efa35d;
  --pink:#eea5a1;
  --leaf:#a9d7a2;
  --line:#d9dfca;
  --muted:#66766d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    "Noto Sans TC",
    "PingFang TC",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
main {
  overflow: hidden;
}
.nav-shell {
  height: 86px;
  max-width: 1230px;
  margin: auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .04em;
}
.brand > span:last-child span {
  color: #78a96a;
  margin-left: 2px;
}
.brand-sprout {
  position: relative;
  width: 33px;
  height: 37px;
  display: inline-block;
  border-bottom: 3px solid var(--deep-green);
  border-radius: 0 0 50% 50%;
  transform: rotate(-4deg);
}
.brand-sprout:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 24px;
  bottom: -1px;
  left: 15px;
  background: var(--deep-green);
  transform: rotate(-7deg);
}
.brand-sprout i {
  position: absolute;
  display: block;
  width: 16px;
  height: 10px;
  background: #91c37d;
  border-radius: 100% 0 100% 0;
}
.brand-sprout i:first-child {
  left: 2px;
  top: 7px;
  transform: rotate(18deg);
}
.brand-sprout i:last-child {
  right: 0;
  top: 0;
  transform: rotate(60deg);
}
.nav-links {
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
  color: #5a7166;
}
.nav-links a {
  transition: .2s;
}
.nav-links a:hover {
  color: var(--deep-green);
}
.nav-cta {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
}
.nav-cta b {
  padding-left: 7px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
  max-width: 1230px;
  min-height: 560px;
  margin: 0 auto;
  border-radius: 0 0 56px 56px;
  padding: 78px 72px 62px;
  background: #d6e7ca;
}
.hero:before {
  content: "";
  position: absolute;
  width: 235px;
  height: 235px;
  left: -98px;
  top: 112px;
  border: 1px solid #f5fcdd;
  border-radius: 50%;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.kicker,
.eyebrow {
  margin: 0 0 14px;
  font: 700 12px "DM Sans", sans-serif;
  letter-spacing: .16em;
  color: #61886a;
}
.kicker span {
  font-size: 10px;
  color: #e98962;
  margin-right: 6px;
}
.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.06em;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.27;
}
.hero h1 span {
  position: relative;
  color: #62955e;
  white-space: nowrap;
}
.hero h1 span:after {
  content: "";
  position: absolute;
  height: 11px;
  left: -4px;
  right: -4px;
  bottom: 0;
  background: #f3d47c99;
  border-radius: 50%;
  z-index: -1;
}
.hero-text {
  max-width: 460px;
  margin: 26px 0 0;
  line-height: 1.95;
  font-size: 16px;
  color: #50685b;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 27px;
  border-radius: 999px;
  padding: 14px 19px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s;
}
.button:hover,
.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px #315c4330;
}
.button-dark {
  background: var(--deep-green);
  color: #fff;
}
.button b {
  font-size: 18px;
}
.text-link {
  font-size: 14px;
  font-weight: 800;
}
.text-link b {
  padding-left: 7px;
}
.hero-note {
  margin: 30px 0 0;
  color: #72887b;
  font-size: 12px;
  font-weight: 700;
}
.hero-art {
  position: relative;
  min-height: 405px;
}
.sun-shape {
  position: absolute;
  top: 1px;
  right: 38px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f6cd55;
}
.cloud {
  position: absolute;
  display: block;
  background: #fffdf5;
  border-radius: 100px;
  width: 109px;
  height: 29px;
}
.cloud:before,
.cloud:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}
.cloud:before {
  width: 44px;
  height: 44px;
  bottom: 0;
  left: 16px;
}
.cloud:after {
  width: 55px;
  height: 55px;
  bottom: 0;
  right: 14px;
}
.cloud-one {
  top: 68px;
  left: 50px;
  transform: scale(.65);
}
.cloud-two {
  top: 31px;
  right: 92px;
  transform: scale(.46);
}
.soil {
  position: absolute;
  left: -78px;
  right: -72px;
  bottom: -62px;
  height: 161px;
  background: #95c581;
  border-radius: 50% 50% 0 0;
}
.soil:before {
  content: "";
  position: absolute;
  width: 89%;
  height: 76px;
  top: -27px;
  left: 5%;
  border-top: 5px dotted #e0ebae;
  border-radius: 50%;
}
.plant {
  position: absolute;
  z-index: 2;
  bottom: 80px;
  width: 48px;
  height: 101px;
  border-bottom: 6px solid #477b54;
  border-radius: 0 0 50% 50%;
}
.plant:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 83px;
  left: 22px;
  top: 16px;
  background: #477b54;
  transform: rotate(-2deg);
}
.plant i {
  position: absolute;
  z-index: 1;
  display: block;
  width: 34px;
  height: 20px;
  background: #73af67;
  border-radius: 100% 0 100% 0;
}
.plant i:first-child {
  left: -4px;
  top: 30px;
  transform: rotate(3deg);
}
.plant i:nth-child(2) {
  right: -4px;
  top: 4px;
  transform: rotate(78deg);
}
.plant b {
  position: absolute;
  z-index: 2;
  top: -5px;
  left: 14px;
  width: 18px;
  height: 18px;
  border: 4px solid #f2be68;
  border-radius: 50%;
  background: #fff3a6;
}
.plant-one {
  left: 21px;
  transform: scale(.68);
  bottom: 66px;
}
.plant-two {
  right: 5px;
  transform: scale(.53);
  bottom: 56px;
}
.plant-three {
  right: 68px;
  transform: scale(.35);
  bottom: 60px;
}
.little-reader {
  position: absolute;
  z-index: 3;
  bottom: 58px;
  left: 50%;
  width: 166px;
  height: 211px;
  transform: translateX(-50%);
}
.little-reader:before {
  content: "";
  position: absolute;
  width: 118px;
  height: 152px;
  bottom: 0;
  left: 26px;
  border-radius: 55% 55% 35% 35%;
  background: #f6ac75;
}
.hair {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 21px;
  width: 123px;
  height: 94px;
  border-radius: 48% 52% 45% 45%;
  background: #4d573d;
}
.hair:after {
  content: "";
  position: absolute;
  left: 18px;
  right: 19px;
  bottom: -30px;
  height: 68px;
  border-radius: 50%;
  background: #ffe2b5;
}
.face {
  position: absolute;
  z-index: 3;
  top: 88px;
  left: 64px;
  font-size: 33px;
  font-weight: 900;
  color: #925e4d;
  transform: rotate(90deg);
}
.book {
  position: absolute;
  z-index: 4;
  bottom: 3px;
  left: 12px;
  width: 144px;
  height: 79px;
  padding: 18px 0 0 43px;
  line-height: 1.55;
  font: 800 20px "DM Sans", sans-serif;
  color: #596f76;
  letter-spacing: .12em;
  background: #f8f4e4;
  border: 4px solid #e7d8b0;
  border-radius: 8px 8px 18px 18px;
  transform: rotate(-3deg);
  box-shadow: 8px 9px 0 #688c69;
}
.floating-card {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff9e8;
  color: #e98962;
  box-shadow: 0 8px 16px #48694a23;
  font-weight: 900;
}
.card-a {
  width: 47px;
  height: 50px;
  top: 131px;
  left: 36px;
  font-size: 29px;
  transform: rotate(-12deg);
}
.card-b {
  width: 70px;
  height: 47px;
  top: 143px;
  right: 23px;
  font-size: 18px;
  transform: rotate(12deg);
}
.floating-star {
  position: absolute;
  top: 98px;
  right: 5px;
  color: #f1a157;
  font-size: 28px;
}
.intro-band {
  padding: 48px 20px;
  background: #315f4b;
  text-align: center;
  color: #f7f3df;
}
.intro-band p {
  max-width: 890px;
  margin: auto;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.7;
}
.intro-band span {
  color: #f5d675;
}
.section {
  max-width: 1170px;
  margin: auto;
  padding: 110px 30px;
}
.split-head {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: end;
}
.section h2 {
  font-size: 39px;
  line-height: 1.38;
}
.split-head > p {
  margin: 0 0 7px;
  line-height: 2;
  font-size: 16px;
  color: var(--muted);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 53px;
}
.benefit {
  position: relative;
  min-height: 246px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fffefa;
  transition: transform .2s, box-shadow .2s;
}
.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px #506c4830;
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 27px;
}
.benefit-index {
  position: absolute;
  right: 21px;
  top: 24px;
  color: #9cae9d;
  font: 600 13px "DM Sans", sans-serif;
}
.benefit h3 {
  margin: 28px 0 9px;
  font-size: 19px;
}
.benefit p {
  margin: 0;
  line-height: 1.75;
  color: #6c7e72;
  font-size: 14px;
}
.benefit-1 .benefit-icon {
  background: #fff0b6;
}
.benefit-2 .benefit-icon {
  background: #e5f2d9;
}
.benefit-3 .benefit-icon {
  background: #f8e1d2;
}
.benefit-4 .benefit-icon {
  background: #dcefeb;
}
.path-section {
  padding-top: 40px;
}
.center-head {
  text-align: center;
}
.center-head > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.path-line {
  position: relative;
  max-width: 720px;
  height: 45px;
  margin: 34px auto 4px;
  border-top: 2px dashed #aec49d;
}
.path-line span {
  position: absolute;
  top: -9px;
  width: 16px;
  height: 16px;
  background: #f8d46b;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--cream);
}
.path-line span:first-child {
  left: 0;
}
.path-line span:nth-child(2) {
  left: 50%;
  transform: translateX(-50%);
  background: #8fc585;
}
.path-line span:last-child {
  right: 0;
  background: #e89e94;
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stage {
  position: relative;
  overflow: hidden;
  min-height: 465px;
  padding: 27px 29px;
  border-radius: 22px;
  background: #fffdfa;
}
.stage:after {
  content: "";
  position: absolute;
  width: 176px;
  height: 176px;
  right: -66px;
  bottom: -87px;
  border-radius: 50%;
  opacity: .36;
}
.stage.sun {
  border: 1px solid #efdaa2;
}
.stage.leaf {
  border: 1px solid #bcd7ac;
}
.stage.bloom {
  border: 1px solid #ecc9c2;
}
.sun:after {
  background: #f8d467;
}
.leaf:after {
  background: #9ecd8b;
}
.bloom:after {
  background: #e59d97;
}
.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stage-number {
  font: 700 12px "DM Sans", sans-serif;
  letter-spacing: .13em;
  color: #758a7b;
}
.stage-seed {
  font-size: 24px;
}
.sun .stage-seed {
  color: #eab65e;
}
.leaf .stage-seed {
  color: #69a66b;
}
.bloom .stage-seed {
  color: #dc8f8a;
}
.stage-range {
  margin: 37px 0 7px;
  font-size: 12px;
  font-weight: 800;
  color: #738a7c;
}
.stage h3 {
  margin: 0;
  font-size: 29px;
}
.stage h4 {
  margin: 13px 0 12px;
  font-size: 16px;
}
.stage-description {
  min-height: 73px;
  margin: 0;
  color: #697a6e;
  font-size: 14px;
  line-height: 1.75;
}
.stage-tag {
  display: inline-block;
  margin-top: 19px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.sun .stage-tag {
  background: #fff0ba;
  color: #976a12;
}
.leaf .stage-tag {
  background: #e5f2dc;
  color: #477f48;
}
.bloom .stage-tag {
  background: #fae3dd;
  color: #a85a55;
}
.stage ul {
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.stage li {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e4e8dc;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 700;
}
.stage li span {
  color: #668f63;
}
.lesson-section {
  background: var(--deep-green);
  color: #fff;
}
.lesson-inner {
  padding-bottom: 112px;
}
.light-head .eyebrow {
  color: #b6d99b;
}
.light-head > p {
  color: #d1e0d3;
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin-top: 52px;
}
.lesson-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 284px;
  padding: 18px;
  border-radius: 16px;
  color: #345044;
}
.lesson-number {
  font: 600 10px "DM Sans", sans-serif;
  letter-spacing: .12em;
}
.lesson-shape {
  display: grid;
  place-items: center;
  align-self: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  font-size: 31px;
  font-weight: 900;
}
.lesson-card p {
  margin: 0;
  color: #557163;
  font-size: 11px;
  font-weight: 800;
}
.lesson-card h3 {
  margin: 8px 0;
  font-size: 19px;
}
.lesson-rule {
  display: block;
  width: 27px;
  border-top: 2px solid #466453;
}
.lesson-description {
  min-height: 53px !important;
  margin-top: 9px !important;
  line-height: 1.55;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.lesson-card-1 {
  background: #f2d06b;
}
.lesson-card-2 {
  background: #efaa8e;
}
.lesson-card-3 {
  background: #a9d79b;
}
.lesson-card-4 {
  background: #b9dce2;
}
.lesson-card-5 {
  background: #f2d6aa;
}
.lesson-card-1 .lesson-shape {
  background: #fff0b4;
}
.lesson-card-2 .lesson-shape {
  background: #f9ddd0;
}
.lesson-card-3 .lesson-shape {
  background: #e9f4d2;
}
.lesson-card-4 .lesson-shape {
  background: #e4f2ef;
}
.lesson-card-5 .lesson-shape {
  background: #fff1c9;
}
.parents {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 95px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}
.parent-illustration {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 46% 46% 24px 24px;
  background: #dce8c9;
}
.parent-sun {
  position: absolute;
  top: 43px;
  right: 58px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5cc5b;
}
.hill {
  position: absolute;
  bottom: -60px;
  border-radius: 50% 50% 0 0;
}
.hill-one {
  left: -80px;
  width: 400px;
  height: 200px;
  background: #94c77c;
}
.hill-two {
  right: -120px;
  width: 370px;
  height: 170px;
  background: #75ae6f;
}
.mom,
.child {
  position: absolute;
  bottom: 55px;
  border-radius: 50% 50% 22px 22px;
}
.mom {
  left: 91px;
  width: 116px;
  height: 214px;
  background: #e79b75;
}
.child {
  right: 77px;
  width: 83px;
  height: 148px;
  background: #f3b684;
}
.mom:before,
.child:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #4a533c;
}
.mom:before {
  width: 119px;
  height: 108px;
  top: -43px;
  left: -2px;
}
.child:before {
  width: 85px;
  height: 76px;
  top: -30px;
  left: -1px;
}
.mom i,
.child i {
  position: absolute;
  z-index: 2;
  top: 59px;
  left: 48px;
  width: 17px;
  height: 10px;
  border-bottom: 3px solid #9d6554;
  border-radius: 50%;
}
.child i {
  top: 38px;
  left: 33px;
  width: 14px;
}
.mom b,
.child b {
  position: absolute;
  z-index: 2;
  right: -38px;
  top: 104px;
  width: 59px;
  height: 16px;
  background: #e79b75;
  transform: rotate(-23deg);
  border-radius: 20px;
}
.child b {
  left: -43px;
  right: auto;
  top: 70px;
  width: 57px;
  height: 13px;
  background: #f3b684;
  transform: rotate(18deg);
}
.heart {
  position: absolute;
  color: #ef9a92;
  font-size: 23px;
}
.heart-one {
  top: 95px;
  left: 86px;
  transform: rotate(-15deg);
}
.heart-two {
  top: 154px;
  right: 46px;
  font-size: 16px;
}
.parent-copy > p:not(.eyebrow) {
  margin: 21px 0 0;
  color: var(--muted);
  line-height: 2;
  font-size: 15px;
}
.parent-points {
  margin: 26px 0;
}
.parent-points p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  font-size: 14px;
  font-weight: 700;
}
.parent-points b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e0efce;
  color: #57845a;
  font: 800 10px "DM Sans", sans-serif;
}
.button-yellow {
  background: #f3cd62;
}
.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  max-width: 1170px;
  margin: 0 auto 82px;
  padding: 52px 64px;
  border-radius: 22px;
  background: #f2d26b;
}
.contact .eyebrow {
  color: #876a26;
}
.contact h2 {
  font-size: 34px;
  line-height: 1.4;
}
.contact-button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-radius: 999px;
  padding: 16px 20px;
  background: var(--deep-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: .2s;
}
.contact-button span {
  font-size: 18px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px max(30px, calc((100% - 1170px)/2));
  border-top: 1px solid #e4e5d8;
  color: #74857b;
  font-size: 12px;
}
footer .brand {
  font-size: 16px;
  color: var(--ink);
}
footer .brand-sprout {
  transform: scale(.75);
  transform-origin: left center;
  margin-right: -7px;
}
footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero {
    margin: 0 18px;
    grid-template-columns: 1fr;
    padding: 58px 44px;
    min-height: 680px;
  }
  .hero-art {
    min-height: 300px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-head {
    gap: 32px;
  }
  .stage-grid {
    grid-template-columns: 1fr;
  }
  .stage {
    min-height: 0;
  }
  .stage-description {
    min-height: 0;
  }
  .lesson-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .parents {
    gap: 50px;
  }
  .contact {
    margin: 0 30px 60px;
  }
}
@media (max-width: 640px) {
  .nav-shell {
    height: 72px;
    padding: 0 20px;
  }
  .brand {
    font-size: 16px;
  }
  .nav-cta {
    padding: 8px 12px;
    font-size: 12px;
  }
  .hero {
    margin: 0;
    min-height: 638px;
    border-radius: 0;
    padding: 48px 25px 0;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -.075em;
  }
  .hero-text {
    font-size: 14px;
    line-height: 1.8;
  }
  .hero-actions {
    gap: 17px;
  }
  .text-link {
    font-size: 12px;
  }
  .hero-art {
    min-height: 270px;
  }
  .little-reader {
    transform: translateX(-50%) scale(.84);
    transform-origin: bottom;
  }
  .card-a {
    left: 9px;
    top: 99px;
  }
  .card-b {
    right: 2px;
    top: 105px;
  }
  .sun-shape {
    right: 6px;
    transform: scale(.7);
  }
  .intro-band {
    padding: 35px 24px;
  }
  .intro-band p {
    font-size: 17px;
  }
  .section {
    padding: 72px 22px;
  }
  .split-head {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .section h2 {
    font-size: 30px;
  }
  .split-head > p {
    font-size: 14px;
    line-height: 1.85;
  }
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 32px;
  }
  .benefit {
    min-height: 215px;
    padding: 18px 15px;
  }
  .benefit-icon {
    width: 43px;
    height: 43px;
    font-size: 21px;
  }
  .benefit-index {
    top: 17px;
    right: 14px;
  }
  .benefit h3 {
    margin: 19px 0 7px;
    font-size: 16px;
  }
  .benefit p {
    font-size: 12px;
  }
  .path-section {
    padding-top: 15px;
  }
  .center-head > p:last-child {
    font-size: 13px;
  }
  .path-line {
    display: none;
  }
  .stage-grid {
    gap: 12px;
    margin-top: 30px;
  }
  .stage {
    padding: 21px;
    min-height: 0;
  }
  .stage-range {
    margin-top: 22px;
  }
  .stage h3 {
    font-size: 25px;
  }
  .stage-description {
    font-size: 13px;
  }
  .lesson-inner {
    padding-bottom: 72px;
  }
  .lesson-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 35px;
  }
  .lesson-card {
    min-height: 250px;
  }
  .lesson-card-5 {
    grid-column: 1/-1;
    min-height: 220px;
  }
  .parents {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .parent-illustration {
    min-height: 330px;
  }
  .mom {
    left: 20%;
    transform: scale(.8);
    transform-origin: bottom;
  }
  .child {
    right: 20%;
    transform: scale(.8);
    transform-origin: bottom;
  }
  .parent-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .contact {
    display: block;
    margin: 0 18px 43px;
    padding: 38px 29px;
  }
  .contact h2 {
    font-size: 28px;
  }
  .contact-button {
    margin-top: 27px;
  }
  .contact .eyebrow {
    margin-bottom: 9px;
  }
  footer {
    padding: 25px 20px;
    flex-wrap: wrap;
    gap: 14px;
  }
  footer p {
    order: 3;
    width: 100%;
  }
  footer > span {
    font-size: 10px;
  }
}
.math-hero .book {
  padding-left: 40px;
  letter-spacing: .16em;
}
.math-reader .book {
  font-size: 22px;
}
.long-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}
.long-copy p:last-child {
  margin: 0;
}
.programs-section {
  padding-top: 35px;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.program-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 23px;
  overflow: hidden;
  background: #fffdfa;
}
.program-card:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -65px;
  bottom: -70px;
  border-radius: 50%;
  opacity: .38;
}
.program-card.mtx {
  border-color: #e8c89b;
}
.program-card.mtx:after {
  background: #f1bd6b;
}
.program-card.mex {
  border-color: #b6d6b1;
}
.program-card.mex:after {
  background: #8fc58a;
}
.program-card.mfc {
  border-color: #bed9e4;
}
.program-card.mfc:after {
  background: #98cddd;
}
.program-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 800 22px "DM Sans", sans-serif;
  letter-spacing: .04em;
}
.program-top b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
}
.mtx .program-top {
  color: #c77b38;
}
.mtx .program-top b {
  background: #ffedc9;
}
.mex .program-top {
  color: #4d9360;
}
.mex .program-top b {
  background: #e3f3db;
}
.mfc .program-top {
  color: #428aa1;
}
.mfc .program-top b {
  background: #e2f2f6;
}
.program-name {
  margin: 34px 0 5px;
  font-size: 20px;
  font-weight: 900;
}
.program-card h3 {
  margin: 0;
  color: #60776a;
  font: 600 13px "DM Sans", sans-serif;
  letter-spacing: .04em;
}
.program-line {
  margin: 17px 0 14px;
  font-size: 14px;
  font-weight: 800;
}
.program-rule {
  display: block;
  width: 35px;
  border-top: 2px solid #b7c3b2;
}
.program-description {
  min-height: 93px;
  margin: 15px 0;
  color: #64766b;
  font-size: 14px;
  line-height: 1.8;
}
.program-grade {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 6px 9px;
  border-radius: 5px;
  background: #f1f5ea;
  color: #5c7461;
  font-size: 11px;
  font-weight: 800;
}
.program-card a {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 27px;
  font-size: 13px;
  font-weight: 800;
}
.program-card a span {
  padding-left: 7px;
}
.course-section {
  background: #f6f4eb;
}
.course-inner {
  padding-top: 85px;
  padding-bottom: 96px;
}
.course-block {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: 34px 78px;
  padding: 68px 0;
  border-top: 1px solid #dce0d3;
}
.course-block:first-child {
  border-top: 0;
  padding-top: 17px;
}
.course-heading {
  align-self: start;
  position: sticky;
  top: 26px;
}
.course-heading .eyebrow {
  margin-bottom: 12px;
}
.course-heading h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.3;
  letter-spacing: -.06em;
}
.course-english {
  margin: 14px 0 0;
  color: #698174;
  font: 600 13px "DM Sans", sans-serif;
  letter-spacing: .04em;
}
.course-line {
  display: inline-block;
  margin: 20px 0 0;
  padding: 7px 10px;
  border-radius: 5px;
  background: #dfeecd;
  color: #4f844e;
  font-size: 12px;
  font-weight: 800;
}
.mex-block .course-line {
  background: #def0e2;
  color: #3f8051;
}
.mfc-block .course-line {
  background: #dcecef;
  color: #3d7f91;
}
.course-summary {
  font-size: 15px;
  line-height: 2;
  color: #56695e;
}
.course-summary > p {
  margin: 0 0 17px;
}
.fit-note {
  padding: 12px 15px;
  background: #fff8df;
  border-radius: 8px;
  color: #806527;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}
.mex-block .fit-note {
  background: #e9f5e5;
  color: #4b854e;
}
.mfc-block .fit-note {
  background: #e6f3f5;
  color: #417c8d;
}
.entry-note {
  color: #506f59;
  font-size: 14px;
}
.entry-note b {
  color: var(--ink);
}
.focus-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
  margin-top: 9px;
}
.focus-list h3 {
  grid-column: 1/-1;
  margin: 0 0 17px;
  font-size: 20px;
}
.focus-list article {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid #dfe3d7;
}
.focus-list article > span {
  color: #d28b48;
  font: 800 12px "DM Sans", sans-serif;
  letter-spacing: .06em;
}
.focus-list h4 {
  margin: 0 0 4px;
  font-size: 14px;
}
.focus-list p {
  margin: 0;
  color: #637469;
  font-size: 13px;
  line-height: 1.7;
}
.detail-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 7px;
}
.detail-card {
  padding: 26px;
  border: 1px solid #dfdfd5;
  border-radius: 16px;
  background: #fffefa;
}
.detail-label {
  margin: 0;
  color: #c77b38;
  font: 800 12px "DM Sans", sans-serif;
  letter-spacing: .12em;
}
.detail-card h4 {
  margin: 9px 0 15px;
  font-size: 21px;
}
.detail-card > div p {
  margin: 0 0 13px;
  color: #627368;
  font-size: 13px;
  line-height: 1.8;
}
.detail-card > div p:last-child {
  margin-bottom: 0;
}
.ratio {
  display: inline-block;
  margin: -2px 0 16px;
  padding: 6px 9px;
  border-radius: 5px;
  background: #e4f2dc;
  color: #528555;
  font-size: 11px;
  font-weight: 800;
}
.mex-block .detail-label {
  color: #4d9360;
}
.mfc-focus {
  margin-top: 0;
}
.mfc-focus article > span {
  color: #43869b;
}
.mfc-closing {
  grid-column: 2;
  margin: 4px 0 0;
  padding: 19px 21px;
  border-left: 4px solid #7ab6c1;
  background: #e7f2f2;
  color: #416771;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
}
.ace-path {
  padding-top: 96px;
}
.framework {
  display: grid;
  grid-template-columns: 1fr 90px 1fr 90px 1fr;
  align-items: center;
  margin-top: 48px;
}
.framework-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 20px;
  text-align: center;
  background: #fffdfa;
  border: 1px solid var(--line);
}
.framework-card > span {
  display: inline-grid;
  place-items: center;
  width: 59px;
  height: 34px;
  border-radius: 6px;
  font: 800 15px "DM Sans", sans-serif;
}
.foundation > span {
  background: #ddebeb;
  color: #3b8091;
}
.extension > span {
  background: #e2f0d9;
  color: #4b8d54;
}
.thinking > span {
  background: #ffebc9;
  color: #bd7432;
}
.framework-card h3 {
  margin: 17px 0 8px;
  font-size: 22px;
}
.framework-card p {
  min-height: 44px;
  margin: 0;
  color: #63756b;
  font-size: 12px;
  line-height: 1.7;
}
.framework-card b {
  display: inline-block;
  margin-top: 15px;
  font-size: 12px;
}
.framework-arrow {
  text-align: center;
  color: #63945e;
  font-size: 35px;
  line-height: 1;
}
.framework-arrow small {
  display: block;
  margin-top: 7px;
  color: #74877a;
  font-size: 10px;
  line-height: 1.5;
}
.closing-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 85px;
  max-width: 1170px;
  margin: auto;
  padding: 100px 30px;
}
.closing-section h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.55;
  letter-spacing: -.06em;
}
.closing-section h2 span {
  color: #5c9858;
}
.closing-section > p {
  margin: 5px 0 0;
  color: #64766b;
  font-size: 15px;
  line-height: 2;
}
.closing-section .eyebrow {
  margin-bottom: 15px;
}
@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
  .program-card {
    min-height: 330px;
  }
  .course-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .course-heading {
    position: static;
  }
  .focus-list,
  .detail-grid,
  .mfc-closing {
    grid-column: 1;
  }
  .framework {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .framework-arrow {
    transform: rotate(90deg);
    margin: 5px 0;
  }
  .framework-arrow small {
    transform: rotate(-90deg);
    white-space: nowrap;
  }
  .closing-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .closing-section > p {
    margin: 0;
  }
}
@media (max-width: 640px) {
  .long-copy p {
    font-size: 14px;
  }
  .program-grid {
    margin-top: 32px;
  }
  .program-card {
    padding: 22px;
  }
  .program-description {
    min-height: 0;
  }
  .course-inner {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  .course-block {
    padding: 52px 0;
  }
  .course-block:first-child {
    padding-top: 0;
  }
  .course-heading h2 {
    font-size: 29px;
  }
  .course-summary {
    font-size: 14px;
  }
  .focus-list {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-card {
    padding: 21px;
  }
  .ace-path {
    padding-top: 62px;
  }
  .framework {
    margin-top: 31px;
  }
  .framework-card {
    min-height: 0;
    padding: 22px;
  }
  .closing-section {
    padding: 68px 22px;
  }
  .closing-section h2 {
    font-size: 27px;
  }
  .closing-section > p {
    font-size: 14px;
  }
}
:root {
  --ink:#172f3c;
  --deep-green:#16323d;
  --green:#476a74;
  --cream:#fbfaf7;
  --paper:#f4f2ec;
  --yellow:#c6a15b;
  --orange:#b47744;
  --pink:#b88279;
  --leaf:#aebdc0;
  --line:#d9ddd9;
  --muted:#60717a;
}
body,
button,
input,
textarea {
  font-family:
    "Noto Serif TC",
    "Source Han Serif TC",
    "Source Han Serif",
    serif;
}
.kicker,
.eyebrow,
.program-top,
.program-card h3,
.course-english,
.detail-label,
.stage-number,
.lesson-number,
.benefit-index,
.framework-card > span,
.brand {
  font-family:
    "Noto Serif TC",
    "Source Han Serif TC",
    "Source Han Serif",
    serif;
}
.nav-shell {
  height: 88px;
}
.brand {
  letter-spacing: .06em;
}
.brand > span:last-child span {
  color: #9a7642;
}
.brand-sprout {
  width: 37px;
  height: 37px;
  border: 1px solid #9a7642;
  border-radius: 2px;
  transform: none;
}
.brand-sprout:before {
  content: "A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9a7642;
  font-size: 18px;
  font-weight: 900;
}
.brand-sprout:after,
.brand-sprout i {
  display: none;
}
.nav-links {
  gap: 39px;
  color: #435963;
}
.nav-cta {
  border-color: #254653;
  border-radius: 2px;
  padding: 10px 17px;
}
.hero.math-hero {
  min-height: 615px;
  grid-template-columns: .95fr 1.05fr;
  gap: 35px;
  border-radius: 0;
  padding: 92px 72px 82px;
  background: #f3f1ea;
}
.hero.math-hero:before {
  display: none;
}
.hero h1 {
  font-size: 49px;
  letter-spacing: -.08em;
}
.hero h1 span {
  color: #9a7642;
}
.hero h1 span:after {
  height: 7px;
  background: #dec99788;
}
.hero-text {
  font-size: 17px;
  color: #485b63;
}
.button,
.nav-cta,
.contact-button {
  border-radius: 2px;
}
.button-dark {
  background: #16323d;
}
.math-hero .hero-art {
  min-height: 440px;
  background:
    linear-gradient(
      90deg,
      #16323d22,
      #16323d00),
    url(/ace-math-hero.jpg) center/cover no-repeat;
  filter: saturate(.72);
  box-shadow: 0 15px 30px #17323d20;
}
.math-hero .sun-shape,
.math-hero .cloud,
.math-hero .soil,
.math-hero .plant,
.math-hero .little-reader {
  display: none;
}
.math-hero .floating-card {
  border: 1px solid #ffffff80;
  border-radius: 0;
  background: #193846e8;
  color: #f5efe4;
  box-shadow: none;
  font-family: "Noto Serif TC", serif;
}
.math-hero .card-a {
  top: auto;
  bottom: 24px;
  left: 23px;
  width: 84px;
  height: 60px;
  font-size: 19px;
}
.math-hero .card-b {
  top: 24px;
  right: 23px;
  width: 89px;
  height: 51px;
  font-size: 15px;
}
.math-hero .floating-star {
  display: none;
}
.intro-band {
  background: #193641;
  padding: 54px 20px;
}
.intro-band p {
  font-size: 22px;
  letter-spacing: .03em;
}
.intro-band span {
  color: #d6bc81;
}
.section {
  padding-top: 118px;
  padding-bottom: 118px;
}
.section h2,
.course-heading h2,
.closing-section h2,
.contact h2 {
  letter-spacing: -.08em;
}
.purpose {
  border-bottom: 1px solid #e1e2dc;
}
.long-copy {
  border-left: 2px solid #c3a36d;
  padding-left: 28px;
}
.programs-section {
  background: #f8f7f3;
}
.program-card,
.detail-card,
.framework-card {
  border-radius: 0;
  background: #fff;
  border-color: #d9dcd6;
}
.program-card {
  min-height: 405px;
  padding: 31px;
}
.program-card:after {
  display: none;
}
.program-card.mtx {
  border-top: 4px solid #a77345;
}
.program-card.mex {
  border-top: 4px solid #66818a;
}
.program-card.mfc {
  border-top: 4px solid #9b895b;
}
.program-top {
  color: #283e48 !important;
  font-size: 21px;
}
.program-top b {
  border-radius: 0;
  background: transparent !important;
  color: #af864d !important;
}
.program-name {
  font-size: 20px;
}
.program-line {
  color: #9a7642;
}
.program-rule {
  border-color: #b99a62;
}
.program-grade {
  border-radius: 0;
  background: #f3f0e8;
  color: #647379;
}
.course-section {
  background: #fff;
}
.course-block {
  border-color: #dce0de;
}
.course-heading {
  top: 35px;
}
.course-line {
  border-radius: 0;
  background: #f2ead9;
  color: #876533;
}
.mex-block .course-line {
  background: #e6eceb;
  color: #446c73;
}
.mfc-block .course-line {
  background: #eef0e6;
  color: #74734f;
}
.fit-note {
  border-left: 3px solid #b78f53;
  border-radius: 0;
  background: #f7f4ed;
  color: #52636a;
}
.mex-block .fit-note {
  border-color: #65808a;
  background: #f1f5f4;
  color: #496e76;
}
.mfc-block .fit-note {
  border-color: #a0956c;
  background: #f3f4ec;
  color: #6c6b4e;
}
.focus-list article {
  border-color: #e2e4e0;
}
.focus-list article > span {
  color: #a97a46;
}
.detail-card {
  padding: 30px;
}
.detail-label {
  color: #986a3c !important;
}
.ratio {
  border-radius: 0;
  background: #edf1ef;
  color: #476b72;
}
.mfc-closing {
  border-left-color: #8b9fa4;
  border-radius: 0;
  background: #eef3f2;
  color: #425d65;
}
.ace-path {
  background: #f5f4ef;
}
.framework-card {
  box-shadow: none;
}
.framework-card > span {
  border-radius: 0;
  background: #edf0ed !important;
  color: #263f49 !important;
}
.framework-card h3 {
  font-size: 21px;
}
.framework-card b {
  color: #8a6b3c;
}
.framework-arrow {
  color: #9a7743;
}
.closing-section {
  padding-top: 120px;
  padding-bottom: 120px;
}
.closing-section h2 span {
  color: #9a7742;
}
.contact {
  border-radius: 0;
  background: #d9c396;
}
.contact .eyebrow {
  color: #67532f;
}
.contact-button {
  background: #183642;
}
footer {
  background: #f7f6f1;
  border-top: 1px solid #deded6;
}
.math-hero + .intro-band {
  margin-top: 0;
}
@media (max-width: 900px) {
  .hero.math-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 70px 48px 52px;
  }
  .math-hero .hero-art {
    min-height: 330px;
  }
  .course-heading {
    position: static;
  }
}
@media (max-width: 640px) {
  .hero.math-hero {
    padding: 55px 24px 30px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 35px;
  }
  .math-hero .hero-art {
    min-height: 260px;
  }
  .math-hero .card-a {
    bottom: 15px;
    left: 15px;
  }
  .math-hero .card-b {
    top: 15px;
    right: 15px;
  }
  .nav-cta {
    border-radius: 2px;
  }
  .long-copy {
    padding-left: 17px;
  }
  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }
  .program-card {
    min-height: 340px;
  }
  .contact {
    border-radius: 0;
  }
}
.framework-arrow small {
  display: none;
}
.nav-shell {
  height: 94px;
  background: #fbfaf7;
  border-bottom: 1px solid #e4e6e3;
}
.brand-logo {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}
.brand-logo img {
  display: block;
  width: 69px;
  height: 69px;
  object-fit: contain;
}
.footer-logo img {
  width: 61px;
  height: 61px;
}
.hero.math-hero {
  position: relative;
  display: block;
  isolation: isolate;
  min-height: 670px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f7f8f7;
}
.math-hero .hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  min-height: 0;
  background: url(/ace-hero-studio.png) center center/cover no-repeat;
  filter: none;
  box-shadow: none;
}
.math-hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .97) 0%,
      rgba(255, 255, 255, .88) 31%,
      rgba(255, 255, 255, .31) 57%,
      rgba(255, 255, 255, .03) 76%);
}
.math-hero .hero-copy {
  width: min(50vw, 610px);
  padding: 70px 0 65px max(7vw, 72px);
}
.ace-logo-hero {
  display: block;
  width: 142px;
  height: 142px;
  object-fit: contain;
  margin: -25px 0 -33px -20px;
  filter: drop-shadow(0 7px 13px rgba(19, 54, 75, .12));
}
.math-hero .kicker {
  margin: 0 0 19px;
  color: #2d6176;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}
.math-hero .kicker span {
  color: #c49649;
}
.math-hero h1 {
  max-width: 580px;
  margin: 0;
  color: #183542;
  font-size: 52px;
  line-height: 1.32;
  letter-spacing: -.095em;
}
.math-hero h1 span {
  color: #175c83;
}
.math-hero h1 span:after {
  height: 8px;
  background: #5db9d14a;
}
.math-hero .hero-text {
  max-width: 500px;
  margin: 23px 0 0;
  color: #3e5964;
  font-size: 16px;
  line-height: 2;
}
.math-hero .hero-actions {
  margin-top: 28px;
}
.math-hero .button-dark {
  background: #133d58;
}
.math-hero .text-link {
  color: #284e60;
}
.math-hero .hero-note {
  color: #52707a;
  font-size: 12px;
}
.intro-band {
  background: #143d58;
}
.intro-band p {
  color: #eef5f6;
}
.intro-band span {
  color: #9edce4;
}
.section .eyebrow {
  color: #2e7791;
}
.purpose .long-copy {
  border-left-color: #56a8be;
}
.program-card.mtx {
  border-top-color: #1e688a;
}
.program-card.mex {
  border-top-color: #5192a4;
}
.program-card.mfc {
  border-top-color: #9a7b43;
}
.program-top b {
  color: #1f6d90 !important;
}
.program-line,
.program-card a,
.course-line {
  color: #286f89;
}
.program-rule {
  border-color: #5aa9bf;
}
.course-line {
  background: #e6f1f3;
}
.mex-block .course-line {
  background: #e9f2f1;
  color: #417f8c;
}
.mfc-block .course-line {
  background: #f4f0e4;
  color: #877243;
}
.fit-note {
  border-left-color: #3e91a9;
}
.ace-path {
  background: #f3f5f4;
}
.framework-arrow {
  color: #438da3;
}
.contact {
  background: #dcecf0;
}
.contact .eyebrow {
  color: #316a7c;
}
.contact-button {
  background: #143d58;
}
@media (max-width: 900px) {
  .nav-shell {
    height: 86px;
  }
  .brand-logo img {
    width: 62px;
    height: 62px;
  }
  .hero.math-hero {
    min-height: 640px;
  }
  .math-hero .hero-copy {
    width: min(68vw, 580px);
    padding: 68px 0 55px 48px;
  }
  .math-hero h1 {
    font-size: 46px;
  }
  .math-hero:after {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, .97) 0%,
        rgba(255, 255, 255, .86) 49%,
        rgba(255, 255, 255, .2) 84%);
  }
}
@media (max-width: 640px) {
  .nav-shell {
    height: 76px;
  }
  .brand-logo img {
    width: 57px;
    height: 57px;
  }
  .nav-cta {
    font-size: 11px;
  }
  .hero.math-hero {
    min-height: 620px;
  }
  .math-hero .hero-art {
    background-position: 63% center;
  }
  .math-hero:after {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, .97) 0%,
        rgba(255, 255, 255, .92) 64%,
        rgba(255, 255, 255, .42) 100%);
  }
  .math-hero .hero-copy {
    box-sizing: border-box;
    width: 100%;
    padding: 53px 25px 38px;
  }
  .ace-logo-hero {
    width: 122px;
    height: 122px;
    margin: -20px 0 -28px -17px;
  }
  .math-hero h1 {
    font-size: 36px;
    line-height: 1.42;
  }
  .math-hero .hero-text {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.9;
  }
  .math-hero .hero-actions {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    flex-wrap: wrap;
  }
  .math-hero .hero-note {
    font-size: 11px;
    line-height: 1.8;
  }
  .footer-logo img {
    width: 55px;
    height: 55px;
  }
}
.nav-cta {
  border-color: #9ed9eb;
  background: #d9f0f7;
  color: #17445b;
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: #164e72;
  background: #164e72;
  color: #fff;
}
.nav-cta:hover b,
.nav-cta:focus-visible b {
  color: #fff;
}
.math-hero .hero-art {
  background-image: url(/ace-math-teaching.png);
}
.ace-logo-hero {
  margin: 0 0 12px -6px;
}
@media (max-width: 640px) {
  .ace-logo-hero {
    margin: 0 0 10px -5px;
  }
}
.brand-logo {
  gap: 13px;
}
.brand-wordmark {
  white-space: nowrap;
  color: #1b455c;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .055em;
}
.footer-logo {
  gap: 0;
}
.footer-logo .brand-wordmark {
  display: none;
}
@media (max-width: 640px) {
  .brand-logo {
    gap: 9px;
  }
  .brand-wordmark {
    font-size: 15px;
    letter-spacing: .035em;
  }
}
.math-hero .hero-art {
  background-image: url(/ace-math-studio-tools.png);
}
.math-hero:after {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .82) 0%,
      rgba(255, 255, 255, .69) 44%,
      rgba(255, 255, 255, .62) 100%);
}
.math-hero .hero-copy {
  box-sizing: border-box;
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 56px 30px 52px;
  text-align: center;
}
.math-hero .ace-logo-hero {
  margin: 0 auto 7px;
}
.math-hero .kicker {
  margin-bottom: 13px;
}
.math-hero h1 {
  max-width: none;
  font-size: 54px;
  line-height: 1.28;
}
.hero-subtitle {
  display: inline-block;
  margin: 20px 0 0;
  padding: 8px 27px;
  border: 1px solid #66abc0;
  background: rgba(229, 245, 248, .8);
  color: #1e6680;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .14em;
}
.math-hero .hero-text {
  max-width: 650px;
  margin: 22px auto 0;
}
.math-hero .hero-actions {
  justify-content: center;
}
.math-hero .hero-note {
  text-align: center;
}
@media (max-width: 640px) {
  .math-hero .hero-copy {
    padding: 44px 22px 38px;
  }
  .math-hero h1 {
    font-size: 37px;
  }
  .hero-subtitle {
    margin-top: 15px;
    padding: 7px 17px;
    font-size: 15px;
    letter-spacing: .08em;
  }
  .math-hero .hero-actions {
    justify-content: center;
  }
  .math-hero .hero-note {
    text-align: center;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.math-lesson-board {
  position: absolute;
  right: 7%;
  top: 15%;
  width: 340px;
  height: 250px;
  border: 1px solid rgba(205, 165, 99, .45);
  background: rgba(8, 35, 51, .34);
  box-shadow: 0 22px 48px rgba(0, 9, 16, .18);
  transform: rotate(1deg);
}
.math-lesson-board:before {
  content: "";
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(
      90deg,
      transparent 49.7%,
      rgba(139, 190, 198, .12) 50%,
      transparent 50.3%),
    linear-gradient(
      0deg,
      transparent 49.7%,
      rgba(139, 190, 198, .1) 50%,
      transparent 50.3%);
  background-size: 42px 42px;
}
.axis,
.axis-dot,
.lesson-triangle,
.lesson-angle {
  position: absolute;
  display: block;
}
.axis {
  background: rgba(183, 222, 222, .78);
}
.axis-x {
  left: 40px;
  right: 38px;
  top: 106px;
  height: 1px;
}
.axis-x:after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border-left: 6px solid rgba(183, 222, 222, .78);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.axis-y {
  top: 36px;
  bottom: 44px;
  left: 95px;
  width: 1px;
}
.axis-y:after {
  content: "";
  position: absolute;
  left: -3px;
  top: -1px;
  border-bottom: 6px solid rgba(183, 222, 222, .78);
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
}
.axis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2a668;
  box-shadow: 0 0 0 4px rgba(210, 166, 104, .13);
}
.dot-a {
  left: 151px;
  top: 102px;
}
.dot-b {
  left: 223px;
  top: 102px;
}
.lesson-triangle {
  right: 45px;
  top: 43px;
  width: 96px;
  height: 80px;
  background: rgba(211, 164, 100, .9);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.lesson-triangle:after {
  content: "";
  position: absolute;
  inset: 3px 4px 3px;
  background: #113447;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.lesson-angle {
  right: 56px;
  bottom: 43px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(174, 216, 221, .8);
  border-radius: 50%;
  border-left-color: transparent;
  transform: rotate(-36deg);
}
.lesson-angle:after {
  content: "";
  position: absolute;
  left: 25px;
  top: -12px;
  width: 1px;
  height: 39px;
  background: rgba(174, 216, 221, .8);
  transform: rotate(35deg);
  transform-origin: bottom;
}
.fraction-strip {
  position: absolute;
  bottom: 36px;
  left: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  width: 168px;
}
.fraction-strip i {
  height: 18px;
  border: 1px solid rgba(175, 215, 220, .8);
}
.fraction-strip i:nth-child(-n+3) {
  background: rgba(205, 157, 92, .82);
}
.learning-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 24px auto 0;
  color: #f1dfc9;
  font-size: 13px;
  letter-spacing: .04em;
}
.learning-steps span {
  padding: 7px 9px;
  border-bottom: 1px solid rgba(205, 165, 99, .45);
  white-space: nowrap;
}
.learning-steps b {
  margin-right: 5px;
  color: #d4a362;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
}
.learning-steps i {
  font-style: normal;
  color: #a1c2c4;
}
@media (max-width: 760px) {
  .math-lesson-board {
    right: -130px;
    top: 7%;
    opacity: .45;
    transform: scale(.8) rotate(1deg);
  }
  .learning-steps {
    gap: 5px;
    font-size: 11px;
  }
  .learning-steps span {
    padding: 5px 4px;
  }
  .learning-steps b {
    display: none;
  }
}
:root {
  --ink:#163345;
  --deep-green:#0d2b3c;
  --green:#355f70;
  --cream:#e9e0d4;
  --paper:#f2eadf;
  --yellow:#c7955d;
  --orange:#a96d4f;
  --pink:#9d6a65;
  --leaf:#7795a0;
  --line:#cbbba6;
  --muted:#536875;
}
body {
  background: #e9e0d4;
  color: #163345;
}
.nav-shell {
  max-width: none;
  height: 94px;
  padding: 0 max(30px, calc((100% - 1170px)/2));
  background: #0c2b3d;
  border-bottom: 1px solid #345365;
}
.brand-wordmark {
  color: #f4eadc;
}
.nav-links {
  color: #d6e3e3;
}
.nav-links a:hover {
  color: #dfb47c;
}
.nav-cta {
  border-color: #8fc1cf;
  background: #a9d6de;
  color: #103247;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: #d7aa71;
  background: #173f55;
  color: #fff;
}
.hero.math-hero {
  min-height: 655px;
  background: #0d2b3c;
}
.math-hero .hero-art {
  background-color: #0d2b3c;
  background-image:
    linear-gradient(
      135deg,
      rgba(16, 51, 69, .15),
      rgba(4, 18, 28, .15)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 71px,
      rgba(201, 174, 130, .13) 72px,
      transparent 73px),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 71px,
      rgba(201, 174, 130, .1) 72px,
      transparent 73px);
}
.math-hero .hero-art:before {
  content: "";
  position: absolute;
  right: 12%;
  top: 13%;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(213, 180, 121, .55);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(213, 180, 121, .05), 0 0 0 144px rgba(213, 180, 121, .035);
}
.math-hero .hero-art:after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 13%;
  width: 230px;
  height: 120px;
  border-left: 1px solid rgba(148, 201, 210, .75);
  border-top: 1px solid rgba(148, 201, 210, .75);
  transform: skewX(-28deg);
}
.math-hero:after {
  background:
    radial-gradient(
      circle at 50% 34%,
      rgba(42, 86, 104, .48),
      rgba(9, 31, 45, .36) 45%,
      rgba(6, 22, 33, .4) 100%);
}
.math-hero .hero-copy {
  padding-top: 82px;
  color: #fff;
}
.math-hero .ace-logo-hero {
  filter: drop-shadow(0 9px 16px rgba(0, 0, 0, .32));
}
.math-hero .kicker {
  color: #d9c39c;
}
.math-hero .kicker span {
  color: #d8a461;
}
.hero-subtitle {
  border-color: #bc8d59;
  background: rgba(9, 31, 44, .42);
  color: #f0d3a7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
.math-hero .hero-text {
  color: #dce8e7;
}
.math-hero .button-dark {
  background: #c28d58;
  color: #112d3e;
}
.math-hero .text-link {
  color: #f3e8d8;
}
.math-hero .hero-note {
  color: #b8cbcc;
}
.intro-band {
  background: #173e52;
}
.intro-band p {
  color: #f1e8db;
}
.intro-band span {
  color: #d8b477;
}
.purpose {
  background: #e9e0d4;
  border-color: #cfbea9;
}
.section .eyebrow {
  color: #8a583f;
}
.long-copy {
  border-left-color: #a56f4b;
}
.programs-section {
  background: #ded2c1;
}
.program-card,
.detail-card,
.framework-card {
  background: #f5ede2;
  border-color: #c8b69f;
}
.program-card {
  box-shadow: 0 10px 24px rgba(27, 45, 51, .08);
}
.program-card.mtx {
  border-top-color: #a66d48;
}
.program-card.mex {
  border-top-color: #42758a;
}
.program-card.mfc {
  border-top-color: #897a4d;
}
.program-top {
  color: #193b4b !important;
}
.program-top b {
  color: #a46942 !important;
}
.program-line,
.program-card a,
.course-line {
  color: #2f6c82;
}
.program-grade {
  background: #e5d6c4;
  color: #415d66;
}
.course-section {
  background: #123548;
  color: #edf1ec;
}
.course-block {
  border-color: #315466;
}
.course-heading h2,
.course-heading .eyebrow,
.course-english {
  color: #f4eadc;
}
.course-line {
  background: #365d6d;
  color: #f4eadc;
}
.mex-block .course-line {
  background: #365f65;
  color: #f4eadc;
}
.mfc-block .course-line {
  background: #645f47;
  color: #f4eadc;
}
.course-summary {
  color: #d7e2e1;
}
.fit-note,
.mex-block .fit-note,
.mfc-block .fit-note {
  background: #1d4558;
  color: #f4eadc;
  border-left-color: #d2a066;
}
.entry-note,
.entry-note b {
  color: #e5eee9;
}
.focus-list h3,
.focus-list h4 {
  color: #f4eadc;
}
.focus-list article {
  border-color: #36596a;
}
.focus-list article > span {
  color: #d5a96d;
}
.focus-list p {
  color: #c4d4d5;
}
.detail-card {
  background: #1b4153;
  border-color: #416474;
}
.detail-card h4 {
  color: #f4eadc;
}
.detail-card > div p {
  color: #cfdddd;
}
.detail-label {
  color: #e0ad70 !important;
}
.ratio {
  background: #355c68;
  color: #f3eadc;
}
.mfc-closing {
  background: #244c5b;
  color: #e1eae5;
  border-left-color: #d2a066;
}
.ace-path {
  background: #d8ccbb;
}
.framework-card {
  background: #f4ebdf;
}
.framework-card > span {
  background: #d7c1a4 !important;
  color: #183849 !important;
}
.framework-arrow {
  color: #855739;
}
.closing-section {
  background: #0e2b3b;
  color: #f3eadc;
}
.closing-section > p {
  color: #cfdbd7;
}
.closing-section h2 span {
  color: #d6a66e;
}
.contact {
  background: #b9845a;
  color: #122d3c;
}
.contact .eyebrow {
  color: #583c2f;
}
.contact-button {
  background: #123548;
}
footer {
  background: #0c2b3d;
  border-color: #345365;
  color: #bbced0;
}
footer .brand {
  color: #f3eadc;
}
@media (max-width: 640px) {
  .nav-shell {
    height: 76px;
    padding: 0 20px;
  }
  .brand-wordmark {
    color: #f4eadc;
  }
  .math-hero .hero-copy {
    padding-top: 62px;
  }
  .hero-subtitle {
    background: rgba(9, 31, 44, .55);
  }
}
