/* Original KIDS entry system. The scope keeps activity and classroom layouts intact. */
.brand-entry {
  --brand-violet: #462783;
  --brand-cream: #fff9ef;
  --brand-pink: #f9b4ec;
  --brand-teal: #18bfca;
  --brand-yellow: #ffdc58;
  --brand-muted: #675d80;
  min-height: 100svh;
  color: var(--brand-violet);
  background: var(--brand-cream);
  overflow: clip;
}
.brand-entry a { color: inherit; }
.brand-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.kids-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-block: 22px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo img { width: 45px; height: 45px; }
.brand-name { font-size: 25px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.brand-name em { color: #a340a1; font-style: normal; margin-left: 4px; }
.brand-name small { display: block; margin-top: 7px; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.brand-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.brand-nav a {
  padding: 11px 16px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #ded3ed;
  background: #fff;
}
.brand-nav a:hover { border-color: var(--brand-violet); }
.brand-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  padding-block: 30px 46px;
}
.brand-story { min-width: 0; }
.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #eee5ff;
  font-size: 12px;
  font-weight: 800;
}
.brand-kicker::before { content: '✦'; font-size: 16px; }
.brand-title {
  font-size: clamp(38px, 4.3vw, 61px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -2.6px;
  margin: 0 0 20px;
  word-break: keep-all;
}
.brand-title em { font-style: normal; color: #a340a1; position: relative; z-index: 0; }
.brand-title em::after {
  content: '';
  height: .18em;
  position: absolute;
  inset: auto -.035em .035em;
  background: var(--brand-yellow);
  z-index: -1;
  border-radius: 9px;
  transform: rotate(-2deg);
}
.brand-lead { font-size: clamp(15px, 1.65vw, 18px); line-height: 1.65; margin: 0; color: var(--brand-muted); word-break: keep-all; }
.brand-buddy-stage {
  margin-top: 25px;
  min-height: 265px;
  height: clamp(265px, 25vw, 310px);
  background: #f2d9f5;
  border-radius: 48% 43% 30% 31% / 37% 39% 29% 29%;
  position: relative;
  isolation: isolate;
}
.brand-buddy-stage::before {
  content: '';
  position: absolute;
  width: 85%;
  height: 15%;
  left: 8%;
  bottom: 3%;
  background: #c7a9ec;
  border-radius: 50%;
  z-index: -1;
}
.brand-buddy-stage img {
  position: absolute;
  height: 91%;
  bottom: 3%;
  object-fit: contain;
  width: 46%;
  filter: drop-shadow(0 9px 9px #7a43ae16);
}
.brand-buddy-stage .brand-ted { left: 4%; }
.brand-buddy-stage .brand-blanca { right: 5%; height: 96%; }
.brand-buddy-hello {
  position: absolute;
  top: 5%;
  left: 35%;
  transform: rotate(-7deg);
  padding: 8px 16px;
  border-radius: 15px 15px 15px 3px;
  background: var(--brand-yellow);
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 5px 0 #46278312;
  z-index: 1;
}
.brand-buddy-star { position: absolute; color: #a340a1; font-size: 29px; right: 4%; top: 3%; transform: rotate(15deg); }
.brand-login {
  min-width: 0;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 30px;
  background: white;
  border: 1px solid #ded3ed;
  box-shadow: 0 14px 40px #4627830d, 0 6px 0 #eadfec;
}
.brand-login .brand-eyebrow { display: inline-block; font-weight: 800; font-size: 11px; letter-spacing: .9px; color: #8a609b; }
.brand-login-title { font-size: 29px; line-height: 1.2; font-weight: 900; letter-spacing: -1px; margin: 14px 0 12px; }
.brand-login-copy { color: var(--brand-muted); font-size: 14px; line-height: 1.65; margin: 0 0 22px; }
.brand-field { display: block; font-size: 13px; font-weight: 800; margin-top: 15px; }
.brand-field input {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 13px 15px;
  background: #fbf9fd;
  border: 1.5px solid #ded5e9;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  color: var(--brand-violet);
  text-align: left;
}
.brand-field input::placeholder { color: #a59bae; font-weight: 400; }
.brand-entry :is(button, a, input):focus-visible { outline: 3px solid #5b3bb9; outline-offset: 4px; }
.brand-entry .brand-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  min-height: 54px;
  padding: 14px 20px;
  width: 100%;
  background: var(--brand-violet);
  color: white;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 #2e195a;
  transition: transform .15s, box-shadow .15s;
}
.brand-entry .brand-button:hover { background: #553195; }
.brand-entry .brand-button:active { transform: translateY(3px); box-shadow: 0 2px 0 #2e195a; }
.brand-entry .brand-button:disabled { opacity: .5; cursor: default; }
.brand-entry .brand-button.teal { background: #077d87; box-shadow: 0 5px 0 #08616a; }
.brand-login form > .brand-button { margin-top: 23px; }
.brand-entry-note { margin: 20px 0 0; color: var(--brand-muted); font-size: 12px; line-height: 1.65; }
.brand-entry-note a { text-underline-offset: 3px; color: var(--brand-violet); font-weight: 800; }
.brand-error { font-size: 13px; color: #b3354d; font-weight: 700; margin: 14px 0 0; line-height: 1.5; }
.brand-error:empty { display: none; }
.brand-entry .brand-forgot { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 700; color: var(--brand-violet); }
.brand-guide { border-top: 1px solid #e6daeb; padding-block: 27px 42px; }
.brand-guide h2 { font-size: 21px; font-weight: 900; letter-spacing: -.5px; margin: 0 0 17px; }
.brand-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.brand-guide-card { padding: 20px 22px; border-radius: 22px; background: #eee5ff; position: relative; min-width: 0; }
.brand-guide-card:nth-child(2) { background: #d9f3ed; }
.brand-guide-card:nth-child(3) { background: #ffe9b0; }
.brand-guide-card .brand-step {
  display: grid;
  place-items: center;
  height: 34px;
  width: 34px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
}
.brand-guide-card h3 { font-size: 16px; margin: 0 0 7px; font-weight: 900; }
.brand-guide-card p { font-size: 13px; line-height: 1.6; margin: 0; color: #5e5472; word-break: keep-all; }
.brand-footer { border-top: 1px solid #e6daeb; padding: 20px 0 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--brand-muted); }
@media (max-width: 760px) {
  .brand-wrap { width: min(540px, calc(100% - 36px)); }
  .kids-brand-bar { padding-block: 18px; gap: 10px; }
  .brand-name { font-size: 22px; }
  .brand-logo img { width: 38px; height: 38px; }
  .brand-name small { font-size: 8px; letter-spacing: 1.3px; }
  .brand-nav a { font-size: 11px; padding: 10px 12px; }
  .brand-home-hero { grid-template-columns: 1fr; gap: 22px; padding-block: 13px 32px; }
  .brand-kicker { margin-bottom: 13px; padding: 7px 10px; font-size: 10px; }
  .brand-title { font-size: clamp(36px, 9.8vw, 48px); letter-spacing: -1.9px; margin-bottom: 13px; }
  .brand-lead { font-size: 14px; }
  .brand-buddy-stage { height: 190px; min-height: 190px; margin-top: 19px; max-width: 385px; margin-inline: auto; }
  .brand-buddy-stage .brand-buddy-hello { font-size: 18px; }
  .brand-login { padding: 25px; }
  .brand-login-title { font-size: 25px; }
  .brand-guide { padding-block: 25px 32px; }
  .brand-guide h2 { font-size: 19px; }
  .brand-guide-grid { grid-template-columns: 1fr; gap: 11px; }
  .brand-guide-card { display: grid; grid-template-columns: 34px 1fr; column-gap: 13px; padding: 18px; }
  .brand-guide-card .brand-step { grid-row: 1 / span 2; margin: 0; }
  .brand-guide-card h3 { margin-bottom: 4px; }
  .brand-guide-card p { grid-column: 2; }
}
@media (max-width: 359px) {
  .brand-wrap { width: calc(100% - 28px); }
  .brand-nav a { font-size: 10px; padding: 10px; }
  .brand-logo { gap: 8px; }
  .brand-name { font-size: 20px; }
  .brand-title { font-size: 34px; }
  .brand-login { padding: 22px; }
}
