.landing-home {
  --home-paper: #fff;
  --home-text: var(--ink);
  color: var(--home-text);
}
.home-hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 64px;
}
.hero-eyebrow,
.home-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  display: block;
}
.hero-eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 25px;
}
.hero-eyebrow > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d967e;
}
.hero-copy h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  letter-spacing: -3.8px;
  line-height: 1.06;
  font-weight: 800;
  margin-bottom: 25px;
}
.hero-copy h1 em {
  font-style: normal;
  color: #3263e9;
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hero-copy h1 em:after {
  content: "";
  position: absolute;
  background: #d8e7ff;
  bottom: 2px;
  height: 13px;
  left: 0;
  right: 0;
  z-index: -1;
  border-radius: 60%;
}
.hero-copy > p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 490px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.hero-actions .btn {
  padding: 15px 23px;
}
.home-text-link {
  font-weight: 650;
  font-size: 14px;
  color: var(--ink);
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.hero-footnote {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin-top: 25px;
}
.study-collage {
  position: relative;
  min-height: 430px;
  isolation: isolate;
}
.study-collage:before {
  content: "";
  background: #e6eafd;
  position: absolute;
  inset: 15px 0 0 20px;
  border-radius: 45% 45% 42% 50%;
  z-index: -2;
}
.study-note {
  position: absolute;
  left: 4%;
  top: 14%;
  width: 60%;
  background: #e4edbd;
  color: #233d33;
  padding: 30px 24px 24px;
  border-radius: 12px;
  transform: rotate(-9deg);
  box-shadow: 0 18px 25px #152a4412;
}
.study-note > span {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 750;
}
.study-note > strong {
  display: block;
  font-size: 29px;
  line-height: 1.12;
  margin: 16px 0;
}
.note-line {
  height: 2px;
  background: #a3b97555;
  margin: 15px 0;
}
.note-line.short {
  width: 70%;
}
.note-check {
  font-size: 12px;
  margin-top: 30px;
  display: flex;
  gap: 8px;
}
.study-math {
  position: absolute;
  right: 1%;
  top: 27%;
  width: 53%;
  border-radius: 15px;
  background: #7260c8;
  color: white;
  padding: 26px;
  transform: rotate(7deg);
  box-shadow: 0 20px 30px #26325c20;
}
.study-math > span {
  font-size: 9px;
  letter-spacing: 1.6px;
}
.study-math > strong {
  display: block;
  font-size: 66px;
  line-height: 0.96;
  letter-spacing: -3px;
  margin: 20px 0;
}
.math-scribble {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #ece5ff;
  border-top: 1px solid #a295dc;
  padding-top: 14px;
}
.study-tag {
  position: absolute;
  bottom: 0;
  left: 10%;
  background: white;
  color: #253d57;
  box-shadow: 0 10px 30px #152a4410;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 12px;
  transform: rotate(-3deg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.study-tag .bi {
  color: #e69645;
  font-size: 22px;
}
.collage-spark {
  position: absolute;
  right: 5%;
  top: -10px;
  color: #ef9872;
  font-size: 105px;
  line-height: 1;
  transform: rotate(15deg);
}
.collage-orbit {
  position: absolute;
  left: 0;
  bottom: 15%;
  width: 43px;
  height: 43px;
  border: 10px solid #467be5;
  border-radius: 50%;
  z-index: 2;
}
.home-subjects {
  border-block: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
}
.home-subjects > span {
  max-width: 170px;
  font-size: 12px;
  color: var(--muted);
}
.home-subjects a {
  font-size: 13px;
  color: var(--ink);
  font-weight: 650;
  display: flex;
  gap: 8px;
}
.home-subjects a:last-child {
  color: var(--blue);
}
.home-section {
  padding-top: 75px;
}
.home-section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 27px;
}
.home-kicker {
  color: var(--blue);
  margin-bottom: 12px;
}
.landing-home h2 {
  font-size: clamp(27px, 3vw, 37px);
  letter-spacing: -1.3px;
  line-height: 1.18;
  font-weight: 750;
}
.home-section-top p,
.home-faq > div > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.section-aside {
  max-width: 310px;
}
.news-controls {
  display: flex;
  gap: 8px;
}
.news-controls button {
  width: 43px;
  height: 43px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.news-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 3px 0 14px;
  scrollbar-width: thin;
  scrollbar-color: #c6d3e7 transparent;
}
.news-card {
  background: var(--home-paper, #fff);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
}
.news-track > .news-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
.news-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #dce7fb;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-art {
  position: relative;
  height: 100%;
  background: #c9deff;
  color: #26498c;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  overflow: hidden;
}
.news-art > span {
  font-size: 28px;
  z-index: 1;
}
.news-art b {
  font-size: 27px;
  letter-spacing: -1px;
  z-index: 1;
}
.news-art > i {
  position: absolute;
  right: -35px;
  top: -30px;
  width: 160px;
  height: 160px;
  border: 28px solid #ffffff44;
  border-radius: 50%;
}
.tone-purple .news-art {
  background: #e3d7fa;
  color: #634495;
}
.tone-green .news-art {
  background: #dceabb;
  color: #446c44;
}
.tone-orange .news-art {
  background: #f9d7ba;
  color: #8e5038;
}
.news-copy {
  padding: 23px;
}
.news-copy .home-kicker {
  font-size: 9px;
  margin-bottom: 10px;
}
.news-copy h3 {
  font-size: 21px;
  letter-spacing: -0.6px;
  line-height: 1.25;
}
.news-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.news-copy a {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  gap: 12px;
  margin-top: 7px;
}
.news-hint {
  font-size: 11px;
  text-align: right;
  color: var(--muted);
  margin-top: 8px;
}
.home-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.home-benefits article {
  padding: 20px 0;
}
.benefit-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 23px;
  margin-bottom: 19px;
}
.lilac {
  background: #e8e1ff;
  color: #7860c3;
}
.mint {
  background: #d9eee4;
  color: #298067;
}
.peach {
  background: #f9e4cf;
  color: #b47939;
}
.home-benefits h3,
.home-path h3 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
.home-benefits p,
.home-path p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 350px;
}
.home-path {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  margin-top: 50px;
  padding: 45px;
  background: #e8edf8;
  border-radius: 22px;
}
.home-path .home-text-link {
  margin-top: 22px;
}
.home-path ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-path li {
  display: flex;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid #cad5e5;
}
.home-path li:last-child {
  border: 0;
}
.home-path li > span {
  font:
    italic 28px Georgia,
    serif;
  color: #748eb4;
}
.home-path p {
  margin-bottom: 0;
}
.home-faq {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
.home-faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.home-faq summary {
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}
.home-faq details p {
  font-size: 14px;
  line-height: 1.8;
  margin: 15px 0 0;
  color: var(--muted);
}
.home-final {
  position: relative;
  overflow: hidden;
  background: #173652;
  color: #fff;
  text-align: center;
  padding: 55px 20px;
  border-radius: 22px;
  margin: 70px 0 25px;
}
.home-final .home-kicker {
  color: #bacee7;
  font-size: 10px;
}
.home-final h2 {
  color: #fff;
  font-size: clamp(29px, 4vw, 46px);
  position: relative;
  z-index: 1;
}
.home-final .btn {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.final-spark {
  position: absolute;
  right: 3%;
  bottom: -40px;
  font-size: 205px;
  color: #324f69;
  line-height: 1;
}
.home-admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.home-admin-list .news-art {
  padding: 15px;
}
.home-admin-list .news-art b {
  font-size: 22px;
}
.home-admin-list .news-copy {
  padding: 17px;
}
.home-admin-list .news-copy h3 {
  font-size: 18px;
}
.portal-header {
  flex-wrap: wrap;
  gap: 15px;
}
.portal-nav {
  flex-wrap: wrap;
}
.landing-home a:focus-visible,
.landing-home button:focus-visible,
.news-track:focus-visible {
  outline: 3px solid #e79d59;
  outline-offset: 4px;
}
[data-bs-theme="dark"] .landing-home {
  --home-paper: #1b2c43;
}
[data-bs-theme="dark"] .hero-copy h1 em {
  color: #92b3ff;
}
[data-bs-theme="dark"] .hero-copy h1 em:after {
  background: #2c4268;
}
[data-bs-theme="dark"] .home-path {
  background: #1b2c43;
}
[data-bs-theme="dark"] .study-collage:before {
  background: #263650;
}
[data-bs-theme="dark"] .home-admin-list {
  --home-paper: #1b2c43;
}
@media (min-width: 1450px) {
  .home-hero {
    gap: 80px;
  }
  .study-collage {
    max-width: 510px;
  }
}
@media (max-width: 1000px) {
  .hero-copy h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .home-hero {
    gap: 25px;
  }
  .study-collage {
    min-height: 380px;
  }
  .study-note {
    padding: 23px 18px;
  }
  .study-note > strong {
    font-size: 24px;
  }
  .study-math {
    padding: 22px;
  }
  .study-math > strong {
    font-size: 53px;
  }
  .news-track > .news-card {
    flex-basis: calc((100% - 24px) / 2);
  }
  .home-subjects > span {
    max-width: none;
    width: 100%;
  }
  .home-path {
    gap: 30px;
    padding: 30px;
  }
  .home-admin-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding: 22px 0 35px;
    gap: 25px;
  }
  .hero-copy h1 {
    font-size: clamp(39px, 9.7vw, 57px);
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-eyebrow {
    font-size: 9px;
  }
  .study-collage {
    max-width: 380px;
    width: 100%;
    margin: auto;
    min-height: 365px;
  }
  .study-tag {
    font-size: 11px;
    padding: 12px;
  }
  .home-subjects {
    justify-content: flex-start;
    gap: 15px 25px;
  }
  .home-section {
    padding-top: 48px;
  }
  .home-section-top {
    align-items: start;
    gap: 16px;
  }
  .home-section-top .section-aside {
    display: none;
  }
  .home-section-top h2 {
    font-size: 27px;
  }
  .news-controls {
    flex-shrink: 0;
    gap: 5px;
  }
  .news-controls button {
    width: 34px;
    height: 34px;
  }
  .news-track > .news-card {
    flex-basis: 87%;
  }
  .home-benefits {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-benefits article {
    border-bottom: 1px solid var(--line);
  }
  .home-path {
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding: 25px;
    gap: 15px;
  }
  .home-path h2 br {
    display: none;
  }
  .home-faq {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .home-final {
    margin-top: 45px;
  }
  .final-spark {
    font-size: 140px;
    right: -35px;
  }
  .hero-actions {
    gap: 18px;
  }
  .home-admin-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .home-admin-list {
    grid-template-columns: 1fr;
  }
  .home-section-top {
    flex-wrap: wrap;
  }
  .news-controls {
    margin-left: auto;
  }
  .portal-nav a {
    padding: 8px 10px;
  }
}
