/* EazyCal: a shared visual language for home, discovery and course selection. */
:root {
  --ink: #342333;
  --muted: #766473;
  --brand: #db005c;
  --purple: var(--brand);
  --pink: #ff3390;
  --acid: #ffe354;
  --border: #efdfe7;
  --wrap: 1180px;
}
body {
  background: #fffcfe;
}
::selection {
  background: #ff9fc9;
  color: #50213e;
}
:focus-visible {
  outline-color: #b50c56 !important;
}
.staging-label {
  background: #fff0f6;
  color: #7e5669;
}
.header {
  border-color: #f6e4ed;
}
.header-inner {
  min-height: 82px;
}
.brand span {
  color: #c91e63;
  font-weight: 600;
  letter-spacing: -1.1px;
}
.brand small {
  color: #746371;
  letter-spacing: 1.5px;
}
.brand img {
  border-radius: 13px;
}
.header nav a {
  position: relative;
  padding-block: 12px;
}
.header nav a[aria-current] {
  color: var(--brand);
}
.header nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--brand);
  border-radius: 5px;
}
.header-contact {
  background: #fff;
  border-color: #dfbdcf;
  color: #5c394d;
}
.header-contact:hover {
  background: #fff0f6;
}
.bag-button {
  border-color: var(--border);
}
.button,
.hub-primary {
  border-radius: 14px;
}
.purple-text,
.heading-spark {
  color: var(--brand);
}
.hub {
  margin-block: 26px 14px;
}
.hub-feature {
  grid-template-columns: 1.08fr 1fr;
  background: #ffd6e8;
  border-radius: 30px;
  color: var(--ink);
  min-height: 450px;
  overflow: hidden;
  border: 1px solid #ffa5cb;
}
.hub-copy {
  padding: 40px 0 44px 46px;
  position: relative;
  z-index: 2;
}
.hub-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8d124a;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}
.hub-eyebrow svg {
  width: 19px;
  height: 19px;
  color: #df2870;
}
.hub-copy h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 4.3vw, 3.8rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}
.hub-copy em {
  color: var(--brand);
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hub-copy em::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1%;
  width: 97%;
  height: 7px;
  border-top: 3px solid #ff3390;
  border-radius: 50%;
  transform: rotate(-3deg);
}
.title-dot {
  color: var(--brand);
}
.hub-copy p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 20px 0 24px;
  color: #684157;
  max-width: none;
}
.hub-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hub-primary {
  background: var(--brand);
  color: white;
  min-height: 52px;
  padding: 12px 21px;
  gap: 9px;
  box-shadow: 0 5px 0 #a6154d;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.hub-primary:hover {
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #a6154d;
}
.hub-primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #a6154d;
}
.hub-cta-row svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hub-consult {
  color: #5d3a4d;
  margin: 0;
  gap: 7px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 8px;
}
.hub-consult:hover {
  color: var(--brand);
}
.hub-art {
  position: relative;
  min-width: 0;
  min-height: 450px;
  isolation: isolate;
  background-image: radial-gradient(#ed5a99 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: 0 7px;
}
.hub-art::before {
  content: "";
  position: absolute;
  width: 370px;
  height: 370px;
  background: #ff3390;
  border-radius: 48% 52% 43% 57%;
  inset: 38px auto auto 12%;
  transform: rotate(-16deg);
  z-index: -1;
}
.art-orbit {
  position: absolute;
  width: 380px;
  height: 285px;
  border: 1px solid #c90059;
  border-radius: 50%;
  left: 12%;
  top: 95px;
  transform: rotate(-27deg);
  z-index: -1;
}
.art-word {
  position: absolute;
  right: 24px;
  top: 0;
  font:
    italic 600 5.8rem/1.2 Georgia,
    serif;
  letter-spacing: -6px;
  color: #db005c;
  transform: rotate(9deg);
}
.hub-feature .teacher-sticker {
  position: absolute;
  width: 267px;
  height: 332px;
  left: 24%;
  top: 75px;
  margin: 0;
  padding: 9px 9px 49px;
  background: white;
  border-radius: 19px;
  transform: rotate(7deg);
  box-shadow:
    6px 10px 0 #a423581c,
    0 10px 25px #9a28531a;
  min-height: 0;
  border: 1px solid #eac0d1;
}
.hub-feature .teacher-sticker img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 12px;
}
.hub-feature .teacher-sticker figcaption {
  position: absolute;
  inset: auto 14px 12px;
  padding: 0;
  border-radius: 0;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  color: #523246;
  font-size: 1rem;
}
.teacher-sticker figcaption span {
  color: #c51d61;
  font-size: 0.875rem;
}
.formula-sticker {
  position: absolute;
  top: 62px;
  left: 5%;
  transform: rotate(-10deg);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #4e2c40;
  border-radius: 14px;
  background: #ffe354;
  padding: 6px 13px;
  font:
    3.5rem/1 Georgia,
    serif;
  box-shadow: 3px 4px 0 #4e2c40;
}
.formula-sticker span {
  font:
    0.8rem/1.5 Kanit,
    sans-serif;
}
.hero-calculator {
  position: absolute;
  width: 171px;
  height: 150px;
  left: 1%;
  bottom: 24px;
  transform: rotate(-12deg);
}
.hero-spark {
  position: absolute;
  color: #ffe354;
  width: 57px;
  height: 57px;
  right: 29px;
  top: 156px;
  filter: drop-shadow(2px 2px 0 #7f274c);
}
.hello-sticker {
  position: absolute;
  bottom: 54px;
  right: 20px;
  padding: 8px 16px;
  border: 2px solid #54233e;
  border-radius: 99px;
  background: #fff;
  box-shadow: 3px 4px 0 #54233e;
  transform: rotate(-9deg);
  color: #c61c61;
  font-weight: 600;
}
.hub-links-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 32px 0 15px;
}
.hub-links-heading h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.hub-links-heading > span {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: #8d6e80;
}
.hub-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.hub-links .action-card {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border-radius: 22px;
  padding: 20px;
  text-align: left;
  min-height: 258px;
  overflow: hidden;
  border: 1px solid #f16aa8;
  color: #43273b;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.hub-links a.action-courses {
  background: #ff9fc9;
}
.hub-links a.action-learn {
  background: #c6adff;
  border-color: #a47aea;
}
.hub-links a.action-practice {
  background: #6ce5c4;
  border-color: #35caa3;
}
.hub-links a.action-free {
  background: #ffe354;
  border-color: #efca2b;
}
.hub-links .action-card:hover {
  filter: none;
  transform: translateY(-5px);
  box-shadow: 0 9px 0 #5734470b;
}
.hub-links .action-card:active {
  transform: translateY(-1px);
}
.hub-links .action-card > span {
  display: block;
  height: auto;
  width: auto;
  grid-row: auto;
  padding: 0;
  background: none;
  border-radius: 0;
}
.hub-links .action-tag {
  font-size: 0.6875rem;
  letter-spacing: 1.1px;
  font-weight: 600;
  position: absolute;
  top: 17px;
  left: 20px;
  color: #51304a;
}
.hub-links .action-art {
  width: 142px;
  height: 126px;
  align-self: center;
  margin: 8px 0 6px;
  transition: transform 0.25s;
}
.hub-links .action-card:hover .action-art {
  transform: rotate(-6deg);
}
.hub-links strong {
  font-size: 1.22rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hub-links small {
  font-size: 0.875rem;
  color: #51304a;
  margin-top: 3px;
}
.hub-links .action-caption {
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 14px;
  border-top: 1px solid #6f455523;
  width: 100%;
  padding-top: 10px;
  color: #51304a;
}
.hub-subjects {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 0 18px;
}
.hub-subjects > span {
  color: #715d6a;
  font-size: 0.875rem;
}
.hub-subjects nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.hub-subjects a {
  font-size: 0.875rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #ead8e2;
  border-radius: 99px;
  background: white;
}
.hub-subjects a:hover {
  background: #ffebf3;
  border-color: #e98eb3;
}
.hub-help {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 16px;
  padding: 16px;
  border-top: 1px dashed #e8ccdb;
}
.hub-help > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: #785768;
}
.hub-help svg {
  width: 23px;
  height: 23px;
  stroke: #b62b62;
  fill: none;
  stroke-width: 1.7;
}
.hub-help button {
  border: 0;
  padding: 8px 3px;
  min-height: 44px;
  background: none;
  color: var(--brand);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.spotlight {
  padding-top: 24px;
}
.spotlight-heading {
  color: #8a6176;
  font-size: 0.75rem;
}
.campaign-stage {
  background: #ffadd1;
  border-radius: 24px;
  box-shadow: none;
}
.campaign-slide:not(.custom-creative) {
  background: #ffadd1;
  color: #342333;
}
.campaign-slide:not(.custom-creative) .campaign-copy .eyebrow,
.campaign-slide:not(.custom-creative) .campaign-copy p {
  color: #51304a;
}
.campaign-slide:not(.custom-creative) .campaign-cta {
  color: white;
  background: var(--brand);
  box-shadow: 0 3px 0 #9b1549;
}
.campaign-slide:not(.custom-creative).theme-lime {
  background: #ffe354;
}
.campaign-slide:not(.custom-creative).theme-pink {
  background: #ff82be;
}
.campaign-slide:not(.custom-creative) .slide-decoration {
  color: #db005c;
}
.campaign-slide.is-active:not(.custom-creative) .campaign-art img {
  animation: none;
}
.campaign-copy p {
  font-size: 1rem;
}
.campaign-fallback {
  background: #ffadd1;
  color: #342333;
}
.offers-section {
  background: #fff6fa;
  border-block: 1px solid #f6e4ed;
  margin-top: 28px;
}
.section-heading .eyebrow {
  color: #a4436e;
}
.section-heading .text-button {
  border-color: #eac6d7;
}
.no-promotion {
  color: var(--muted);
}
.teacher-section {
  gap: 58px;
}
.teacher-photo {
  background: #ffadd1;
  border-color: #efcfdd;
}
.teacher-photo > span {
  background: #ffe354;
  color: #552e43;
}
.teacher-facts {
  background: #fff0b1;
}
.play-section {
  background: #ffe1ef;
}
.lab-card {
  background: white;
  border-color: #efd1df;
  box-shadow: 7px 8px 0 #f6dbe7;
}
.lab-insight {
  background: #fff1f7;
}
.lab-head,
.demo-label {
  font-size: 0.875rem;
}
.faq-section .faqs details {
  border-color: #ead9e2;
}
.connection .identity-box {
  border-color: #ead9e2;
  background: white;
}
.footer {
  background: #ffd6e8;
  border-top: 1px solid #f0d6e3;
}
.footer p,
.footer > .wrap > span {
  color: #79586a;
}
/* Discovery and shopping share the same pink controls and generous type. */
.market {
  padding-block: 16px 48px;
}
.market-head {
  background: #ffd6e8;
  border: 1px solid #f4dce7;
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.market-head a {
  color: #a83c6a;
  font-size: 0.875rem;
}
.market-breadcrumb {
  color: #8c7280;
  font-size: 0.875rem;
}
.market-head h1 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin: 6px 0 0;
}
.market-head h1 span {
  color: var(--brand);
}
.market-head .button {
  background: white;
  border-color: #e6bdd0;
  font-size: 0.875rem;
}
.market-layout {
  gap: 24px;
  grid-template-columns: 180px minmax(0, 1fr);
}
#market-nav {
  gap: 8px;
}
#market-nav a {
  background: white;
  border: 1px solid #efdee7;
  color: #715365;
  font-size: 0.9375rem;
}
#market-nav a[aria-current] {
  background: #db005c;
  color: white;
  border-color: #db005c;
  box-shadow: 0 4px 0 #f3cdde;
}
#market-levels button {
  background: #fff1f7;
  color: #8b3b5f;
  border: 1px solid #f4d5e3;
}
#market-levels button[aria-pressed="true"] {
  background: #db005c;
  color: white;
  border-color: #db005c;
}
.market-results input {
  border-color: #e5cad7;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.market-heading {
  margin-block: 16px 12px;
}
.market-heading h2 {
  font-size: 1.4rem;
}
#market-count {
  font-size: 0.875rem;
  color: #7c6371;
}
.shop-card {
  border-color: #eddae4;
  box-shadow: none;
}
.shop-card:hover {
  border-color: #ee8bb5;
  box-shadow: 0 10px 24px #c3396810;
}
.shop-card .cover-link {
  background: #fff1f7;
  aspect-ratio: 1.25;
  padding: 18px;
}
.shop-card-body {
  padding: 18px;
}
.shop-card .card-kicker {
  color: #aa426e;
  font-size: 0.875rem;
}
.shop-card h3 {
  font-size: 1.3rem;
}
.shop-card .card-summary {
  font-size: 1rem;
  line-height: 1.65;
}
.shop-card .card-price strong {
  color: #b91759;
  font-size: 1.4rem;
}
.card-actions .button {
  color: #a91b56;
  border-color: #efc3d6;
  background: #fff4f8;
  font-size: 0.875rem;
  min-height: 44px;
}
.add-cart {
  background: #db005c;
  color: white;
  min-width: 44px;
  min-height: 44px;
  border-radius: 13px;
}
.add-cart.is-added {
  background: #6ce5c4;
  color: #21644f;
  border-color: #b9dfd0;
}
/* A compact presentation of the same card markup used by the course finder.
   Price, selection state and detail actions still have one renderer. */
.course-list {
  --course-cover-size: 80px;
  --course-row-gap: 16px;
  --course-row-padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid #eddae4;
  border-radius: 18px;
  background: white;
  padding-inline: var(--course-row-padding);
}
.course-list .shop-card {
  display: grid;
  grid-template-columns: var(--course-cover-size) minmax(0, 1fr);
  align-items: center;
  gap: var(--course-row-gap);
  padding-block: 12px;
  border: 0;
  border-bottom: 1px solid #f0dce5;
  border-radius: 0;
  overflow: visible;
  transform: none;
  box-shadow: none;
}
.course-list .shop-card:last-child {
  border-bottom: 0;
}
.course-list .shop-card .cover-link {
  width: var(--course-cover-size);
  height: var(--course-cover-size);
  padding: 0;
  aspect-ratio: 1;
  border-radius: 10px;
}
.course-list .shop-card .cover-link img {
  transform: none;
}
.course-list .shop-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(64px, auto);
  grid-template-areas: "title price" "summary price" "details add";
  align-items: center;
  column-gap: var(--course-row-gap);
  padding: 0;
  min-width: 0;
}
.course-list .card-kicker {
  display: none;
}
.course-list .shop-card h3 {
  grid-area: title;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.course-list .shop-card .card-summary {
  grid-area: summary;
  min-height: 0;
  margin: 4px 0;
  font-size: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.course-list .card-price {
  grid-area: price;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  padding: 0;
  margin: 0;
  max-width: 7rem;
  text-align: right;
}
.course-list .shop-card .card-price strong {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}
.course-list .card-price s {
  font-size: 0.875rem;
}
.course-list .card-actions {
  display: contents;
}
.course-list .card-actions .button {
  grid-area: details;
  justify-self: start;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  text-align: left;
  min-height: 44px;
}
.course-list .card-actions .add-cart {
  grid-area: add;
  justify-self: end;
  width: 44px;
  height: 44px;
}
.course-list > p {
  padding-block: 16px;
}
.catalog-meta {
  font-size: 0.875rem;
  color: #7c6371;
}
.course-finder {
  --finder-purple: #db005c;
  --finder-ink: #43273b;
}
.finder-subject {
  background: #ff9fc9;
  border-color: #ed91ba;
}
.finder-subject .finder-choice-copy > span,
.finder-subject .finder-select-mark {
  color: #51304a;
}
.finder-subject:nth-child(2) {
  background: #c6adff;
}
.finder-subject:nth-child(3) {
  background: #6ce5c4;
}
.finder-subject:nth-child(4) {
  background: #ffe354;
}
.finder-subject:hover {
  border-color: #db005c;
  box-shadow: 0 8px 20px #a8185410;
}
.finder-steps li.complete {
  color: #9c3c67;
  border-color: #f1a3c5;
}
.finder-steps li.complete > span {
  color: #973259;
  background: #ffe3ef;
}
.finder-tiny {
  color: var(--brand);
}
.dialog-top .eyebrow {
  color: #a92e61;
}
.selection-summary,
.detail-facts,
.bag-item {
  border-color: #ecd5e0;
}
.mobile-dock {
  border-color: #efd4e2;
}
.mobile-dock .button {
  background: #db005c;
  color: white;
}
@media (max-width: 1000px) {
  .hub-copy {
    padding-left: 30px;
  }
  .hub-art::before {
    left: 4%;
    width: 330px;
    height: 330px;
    top: 70px;
  }
  .hub-feature .teacher-sticker {
    left: 18%;
    width: 240px;
    height: 310px;
  }
  .art-orbit {
    left: 0;
    width: 340px;
  }
  .formula-sticker {
    left: 0;
  }
  .hello-sticker {
    right: 10px;
    bottom: 44px;
  }
  .hub-links {
    gap: 12px;
  }
  .hub-links .action-card {
    padding: 16px;
  }
  .hub-links strong {
    font-size: 1.05rem;
  }
  .hub-links .action-tag {
    left: 16px;
    font-size: 0.625rem;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    min-height: 70px;
    gap: 10px;
  }
  .header nav {
    display: none;
  }
  .header-contact {
    display: none;
  }
  .brand span {
    font-size: 24px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .hub {
    margin-top: 16px;
  }
  .hub-feature {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .hub-copy {
    padding: 26px 22px 8px;
  }
  .hub-copy h1 {
    font-size: clamp(2.35rem, 7.5vw, 3.5rem);
  }
  .hub-copy h1 br:nth-of-type(2) {
    display: initial;
  }
  .hub-copy em {
    margin-right: 0.15em;
  }
  .hub-eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 16px;
  }
  .hub-copy p {
    font-size: 1rem;
    margin: 16px 0 20px;
  }
  .hub-cta-row {
    gap: 8px;
  }
  .hub-primary {
    padding: 11px 16px;
    font-size: 1rem;
  }
  .hub-consult {
    font-size: 0.9375rem;
    padding-inline: 2px;
  }
  .hub-art {
    min-height: 290px;
    width: min(100%, 420px);
    justify-self: center;
    margin-top: 10px;
  }
  .hub-art::before {
    width: 250px;
    height: 235px;
    top: 30px;
    left: 24%;
  }
  .hub-feature .teacher-sticker {
    width: 194px;
    height: 235px;
    top: 35px;
    left: 30%;
    padding: 7px 7px 36px;
    border-radius: 15px;
  }
  .hub-feature .teacher-sticker figcaption {
    font-size: 0.8125rem;
    bottom: 9px;
    inset-inline: 10px;
  }
  .teacher-sticker figcaption span {
    font-size: 0.6875rem;
  }
  .art-word {
    font-size: 4rem;
    right: 24px;
    top: -6px;
  }
  .art-orbit {
    left: 14%;
    top: 50px;
    width: 280px;
    height: 190px;
  }
  .formula-sticker {
    left: 7%;
    top: 30px;
    font-size: 2.4rem;
    padding: 4px 9px;
    gap: 7px;
    border-radius: 10px;
  }
  .formula-sticker span {
    font-size: 0.625rem;
  }
  .hero-calculator {
    width: 128px;
    height: 112px;
    left: 4%;
    bottom: 15px;
  }
  .hero-spark {
    width: 42px;
    height: 42px;
    right: 18px;
    top: 97px;
  }
  .hello-sticker {
    right: 5%;
    bottom: 16px;
    font-size: 0.8125rem;
    padding: 5px 12px;
  }
  .hub-links-heading {
    margin-top: 26px;
  }
  .hub-links-heading h2 {
    font-size: 1.3rem;
  }
  .hub-links-heading > span {
    font-size: 0.625rem;
    letter-spacing: 0.7px;
  }
  .hub-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .hub-links .action-card {
    min-height: 235px;
    padding: 16px;
    align-items: flex-start;
  }
  .hub-links .action-art {
    height: 110px;
    width: 126px;
    margin: 15px 0 6px;
  }
  .hub-links strong {
    font-size: 1.0625rem;
  }
  .hub-links small {
    font-size: 0.875rem;
  }
  .hub-links .action-caption {
    font-size: 0.875rem;
    margin-top: 12px;
    padding-top: 8px;
  }
  .hub-subjects {
    gap: 10px;
    padding-block: 24px 18px;
  }
  .hub-subjects nav {
    gap: 7px;
  }
  .hub-subjects a {
    padding: 8px 12px;
  }
  .hub-help {
    gap: 0;
    padding: 12px 0;
  }
  .hub-help > span {
    font-size: 0.875rem;
  }
  .spotlight {
    padding-top: 18px;
  }
  .season-note {
    display: none;
  }
  .campaign-stage {
    border-radius: 20px;
  }
  .campaign-copy p {
    font-size: 0.9375rem;
  }
  .section-heading h2 {
    font-size: 1.6rem;
  }
  .teacher-section {
    gap: 28px;
  }
  .market {
    padding-top: 16px;
  }
  .market-head {
    padding: 12px 16px;
    gap: 12px;
  }
  .market-head h1 {
    font-size: 1.6rem;
  }
  .market-head .button {
    font-size: 0.875rem;
    min-height: 44px;
  }
  .market-layout {
    display: block;
  }
  .course-list {
    --course-cover-size: 64px;
    --course-row-gap: 10px;
    --course-row-padding: 12px;
  }
  .course-list .card-price {
    max-width: 4.5rem;
  }
  #market-nav {
    display: flex;
    position: static;
    overflow-x: auto;
    padding: 3px 2px 8px;
    gap: 8px;
    margin-bottom: 15px;
  }
  #market-nav a {
    white-space: nowrap;
    font-size: 0.875rem;
  }
  .shop-card .cover-link {
    padding: 12px;
    aspect-ratio: 1;
  }
  .shop-card-body {
    padding: 13px;
  }
  .shop-card .card-kicker {
    font-size: 0.8125rem;
  }
  .shop-card h3 {
    font-size: 1.125rem;
  }
  .shop-card .card-summary {
    font-size: 0.9375rem;
  }
  .card-actions {
    gap: 8px;
  }
  .card-actions .button {
    min-width: 0;
    padding: 9px 4px;
    font-size: 0.875rem;
  }
  .card-actions .add-cart {
    width: 44px;
    height: 44px;
  }
  .shop-card .card-price strong {
    font-size: 1.2rem;
  }
  .lab-card {
    padding: 20px;
    box-shadow: 4px 5px 0 #f6dbe7;
  }
  .mobile-dock {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 370px) {
  .course-list {
    --course-cover-size: 60px;
    --course-row-gap: 8px;
    --course-row-padding: 8px;
  }
  .wrap {
    width: calc(100% - 24px);
  }
  .hub-copy {
    padding: 24px 20px 8px;
  }
  .hub-copy h1 {
    font-size: 2.15rem;
  }
  .hub-primary,
  .hub-consult {
    font-size: 0.875rem;
  }
  .hub-links .action-card {
    padding: 13px;
  }
  .hub-links strong {
    font-size: 1rem;
  }
  .hub-links .action-caption {
    font-size: 0.8125rem;
  }
  .shop-card .cover-link {
    aspect-ratio: 1.45;
  }
  .hub-feature .teacher-sticker {
    left: 28%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hub-links .action-card:hover,
  .hub-links .action-card:hover .action-art,
  .shop-card:hover,
  .shop-card:hover .cover-link img {
    transform: none;
  }
}
.cart-item .cart-price,
.cart-total strong,
.compare-price {
  color: var(--brand);
}
.cart-item,
.cart-total {
  border-color: #ecd5e0;
}
.cart-item .text-button,
.cart-notice {
  color: #795768;
}
.icon-button {
  background: #fff0f6;
}
/* The dialog is a ready-to-use part of the same product, including its states. */
#dialog .notice {
  background: #fff4f8;
  border-color: #f2d3e1;
  color: #755565;
}

.dialog-toast {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #342333;
  color: white;
  padding: 12px 16px;
  margin: 0 0 14px;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 4px 14px #34233325;
}

/* Keep campaign text in the document beside the supplied transparent artwork.
   Overlapping grid cells reserve the tallest slide and prevent carousel jumps. */
.campaign-stage.has-key-visuals {
  display: grid;
  height: auto;
  min-height: 350px;
  overflow: clip;
}
.has-key-visuals > .campaign-slide {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  min-width: 0;
  overflow: clip;
}
.kv-creative {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  padding: 28px 32px 28px 44px;
}
.kv-creative .campaign-copy {
  min-width: 0;
  padding: 0;
}
.kv-creative .campaign-copy h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.kv-creative .campaign-copy .eyebrow {
  letter-spacing: 0.7px;
  line-height: 1.6;
}
.kv-creative .campaign-art {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}
.kv-creative .campaign-art img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  filter: none;
}
.kv-creative .campaign-cta {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.carousel-arrows button,
.slide-dots button {
  width: 44px;
  min-height: 44px;
  height: 44px;
}
.carousel-controls {
  gap: 12px;
  min-height: 58px;
}
@media (max-width: 600px) {
  .campaign-stage.has-key-visuals {
    min-height: 340px;
  }
  .kv-creative {
    grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
    gap: 6px;
    padding: 22px 12px 22px 20px;
  }
  .kv-creative .campaign-copy h2 {
    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.4;
    letter-spacing: -0.4px;
  }
  .kv-creative .campaign-copy .eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .kv-creative .campaign-copy p {
    font-size: 15px;
    line-height: 1.65;
  }
  .kv-creative .campaign-cta {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
  }
  .carousel-controls {
    gap: 6px;
  }
  .slide-dots,
  .carousel-arrows {
    gap: 0;
  }
}

@media (max-width: 370px) {
  .carousel-controls .slide-count {
    display: none;
  }
}
