@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Vazirmatn-VF.woff2") format("woff2");
}


:root {
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  color: #121226;
  background: #fbfbfd;
  font-synthesis: none;
  --blue: #4438f2;
  --deep-blue: #3126d7;
  --ink: #121226;
  --muted: #68687a;
  --line: #e8e8ee;
  --cream: #fff4cf;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #fbfbfd;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.aj-main {
  overflow-x: clip;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  right: 50%;
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(35, 31, 111, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--blue);
  color: white;
  font-size: 22px;
  font-weight: 900;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.12);
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 15px;
  font-weight: 800;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #4d4d5e;
  font-size: 14px;
  font-weight: 600;
}

.site-header nav a:not(.nav-cta) {
  transition: color 180ms ease;
}

.site-header nav a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta {
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
}

.hero {
  min-height: 790px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  padding: 150px max(5vw, calc((100vw - 1180px) / 2)) 80px;
  background:
    radial-gradient(circle at 13% 86%, rgba(255, 173, 138, 0.26), transparent 23%),
    radial-gradient(circle at 88% 15%, rgba(131, 202, 255, 0.28), transparent 26%),
    #f8f8fd;
}

.eyebrow-pill {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid #deddf0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #555569;
  font-size: 13px;
  font-weight: 600;
}

.eyebrow-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff754e;
  box-shadow: 0 0 0 4px #ffe1d8;
}

.hero h1 {
  max-width: 700px;
  margin: 26px 0 22px;
  font-size: clamp(44px, 5.2vw, 77px);
  line-height: 1.32;
  letter-spacing: -3.6px;
  font-weight: 900;
}

.hero h1 em,
.section-heading em,
.about-copy em,
.coaching-copy em,
.consultation-copy em,
.portal-intro em,
.page-hero em {
  color: var(--blue);
  font-style: normal;
}

.hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 24px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 28px rgba(68, 56, 242, 0.24);
}

.button-primary:hover {
  background: var(--deep-blue);
  box-shadow: 0 18px 34px rgba(68, 56, 242, 0.3);
}

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 55px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  padding-right: 14px;
  border-right: 2px solid #dbd9ff;
}

.hero-stats strong {
  font-size: 14px;
}

.hero-stats span {
  margin-top: 3px;
  color: #8a8998;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  position: absolute;
  width: 84%;
  height: 88%;
  border-radius: 48% 48% 20% 20%;
  background: var(--blue);
  content: "";
  transform: rotate(-4deg);
}

.photo-frame {
  position: relative;
  z-index: 2;
  width: 76%;
  height: 460px;
  overflow: hidden;
  border: 7px solid white;
  border-radius: 110px 22px 110px 22px;
  box-shadow: 0 35px 60px rgba(23, 20, 101, 0.3);
}

.photo-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 21, 91, 0.62), transparent 48%);
  content: "";
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  left: 28px;
  color: white;
}

.photo-caption small {
  display: block;
  opacity: 0.75;
}

.photo-caption strong {
  display: block;
  margin: 2px 0 8px;
  font-size: 21px;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.progress-track span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: #ffcc65;
}

.floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 45px rgba(19, 16, 81, 0.2);
  backdrop-filter: blur(12px);
}

.floating-card-top {
  top: 62px;
  right: -12px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border-radius: 17px;
}

.floating-card-top > span:last-child {
  display: flex;
  flex-direction: column;
}

.floating-card-top small {
  color: #898897;
  font-size: 10px;
}

.floating-card-top strong {
  font-size: 13px;
}

.check-circle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d9f7e9;
  color: #19865a;
}

.floating-card-bottom {
  bottom: 33px;
  left: -2px;
  display: flex;
  flex-direction: column;
  padding: 17px 20px;
  border-radius: 17px;
}

.floating-card-bottom strong {
  color: var(--blue);
  font-size: 25px;
}

.floating-card-bottom span {
  color: #777687;
  font-size: 11px;
}

.hero-orbit {
  position: absolute;
  z-index: 4;
  border-radius: 50%;
}

.orbit-one {
  top: 42px;
  left: 11px;
  width: 22px;
  height: 22px;
  background: #ffca5c;
}

.orbit-two {
  right: -5px;
  bottom: 85px;
  width: 13px;
  height: 13px;
  background: #ff7652;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  min-height: 84px;
  padding: 20px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.trust-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6d63ff;
}

.rank-ribbon {
  position: relative;
  height: 88px;
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid #e1d768;
  background: #ffe674;
  color: #252118;
}

.rank-ribbon-label {
  position: relative;
  z-index: 3;
  width: 245px;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  padding-left: 25px;
  background: #ffd63f;
  font-size: 14px;
  font-weight: 900;
  box-shadow: -16px 0 30px rgba(78, 65, 8, 0.15);
}

.rank-ribbon-label::after {
  position: absolute;
  top: 0;
  left: -25px;
  width: 50px;
  height: 100%;
  background: #ffd63f;
  content: "";
  transform: skewX(-16deg);
}

.rank-ribbon-label span {
  color: #8a7000;
  font-size: 9px;
  letter-spacing: 1px;
}

.rank-track {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.rank-content {
  width: max-content;
  display: flex;
  align-items: center;
  animation: rankScroll 28s linear infinite;
}

.rank-ribbon:hover .rank-content {
  animation-play-state: paused;
}

.rank-item {
  min-width: 230px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 14px;
  padding-inline: 28px;
  border-left: 1px solid rgba(72, 61, 10, 0.17);
}

.rank-item strong {
  grid-row: 1 / 3;
  font-size: 24px;
  font-weight: 900;
}

.rank-item span {
  font-size: 12px;
  font-weight: 800;
}

.rank-item small {
  color: #736527;
  font-size: 10px;
}

@keyframes rankScroll {
  to {
    transform: translateX(50%);
  }
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.services-section,
.articles-section {
  padding-block: 130px;
}

.section-heading {
  max-width: 690px;
}

.section-heading > span,
.section-kicker {
  display: block;
  margin-bottom: 15px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.section-heading h2,
.about-copy h2,
.consultation-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.4;
  letter-spacing: -2px;
  font-weight: 900;
}

.section-heading p {
  max-width: 570px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 62px;
}

.service-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 24px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(39, 35, 104, 0.12);
}

.service-card.blue {
  background: var(--blue);
  color: white;
}

.service-card.cream {
  background: #fff1c7;
}

.service-card.sky {
  background: #dcecff;
}

.service-card.coral {
  background: #ffe2d7;
}

.service-card.mint {
  background: #d8f1e8;
}

.service-card.lavender {
  background: #e6e2ff;
}

.service-number {
  color: currentColor;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.62;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.service-card p {
  max-width: 310px;
  margin: 0;
  color: currentColor;
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.72;
}

.service-arrow {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.about-section {
  padding-bottom: 130px;
}

.about-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 80px;
  padding: 70px;
  border-radius: 36px;
  background: #f0efff;
}

.about-graphic {
  position: relative;
  min-height: 470px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    var(--blue);
}

.about-graphic::before,
.about-graphic::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  content: "";
}

.about-graphic::before {
  inset: 45px;
}

.about-graphic::after {
  inset: 100px;
}

.quote-card {
  position: absolute;
  z-index: 2;
  top: 72px;
  right: 42px;
  width: 68%;
  padding: 24px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 25px 45px rgba(18, 14, 106, 0.25);
}

.quote-card span {
  color: #ff7955;
  font-size: 42px;
  font-weight: 900;
  line-height: 0.7;
}

.quote-card p {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.65;
  font-weight: 800;
}

.mini-calendar {
  position: absolute;
  z-index: 3;
  bottom: 50px;
  left: 35px;
  width: 58%;
  padding: 20px;
  border-radius: 20px;
  background: #ffd769;
  box-shadow: 0 22px 38px rgba(17, 15, 91, 0.24);
  transform: rotate(-4deg);
}

.mini-calendar small {
  font-weight: 800;
}

.mini-calendar div {
  height: 90px;
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 14px;
}

.mini-calendar i {
  flex: 1;
  min-height: 12px;
  border-radius: 5px 5px 2px 2px;
  background: var(--blue);
}

.about-copy > p {
  margin: 18px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.about-copy ul {
  display: grid;
  gap: 12px;
  margin: 27px 0 32px;
  padding: 0;
  list-style: none;
}

.about-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.about-copy li svg {
  padding: 3px;
  border-radius: 50%;
  background: #d9d5ff;
  color: var(--blue);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--blue);
}

.coaching-section {
  padding: 125px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 214, 107, 0.22), transparent 25%),
    #f7f7fc;
}

.coaching-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 80px;
}

.coaching-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 40px;
  background: var(--blue);
}

.coaching-visual::before {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  content: "";
}

.coaching-visual::after {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.student-characters {
  position: relative;
  z-index: 2;
  width: 106%;
  height: auto;
  transform-origin: bottom center;
  animation: characterScene 5s ease-in-out infinite;
}

.character-one {
  transform-origin: 200px 370px;
  animation: characterWave 3.5s ease-in-out infinite;
}

.character-two {
  transform-origin: 450px 370px;
  animation: characterWave 3.5s 0.4s ease-in-out infinite reverse;
}

.character-book {
  transform-origin: 198px 320px;
  animation: bookFloat 2.5s ease-in-out infinite;
}

.character-hand {
  animation: handPulse 1.8s ease-in-out infinite;
}

.floating-note {
  filter: drop-shadow(0 14px 18px rgba(29, 22, 130, 0.3));
  animation: noteFloat 2.8s ease-in-out infinite;
}

@keyframes characterScene {
  50% {
    transform: translateY(-6px);
  }
}

@keyframes characterWave {
  50% {
    transform: rotate(1.4deg);
  }
}

@keyframes bookFloat {
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
}

@keyframes handPulse {
  50% {
    transform: translateY(-7px);
  }
}

@keyframes noteFloat {
  50% {
    transform: translateY(-16px) rotate(4deg);
  }
}

.coaching-badge {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  padding: 15px 19px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 35px rgba(23, 17, 114, 0.22);
}

.coaching-badge strong {
  color: var(--blue);
  font-size: 26px;
}

.coaching-badge span {
  color: #6f6e7d;
  font-size: 10px;
}

.coaching-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.45;
  letter-spacing: -2px;
  font-weight: 900;
}

.coaching-copy > p {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.coaching-features {
  display: grid;
  gap: 2px;
  margin-bottom: 30px;
}

.coaching-features article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.coaching-features article > span {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #ebe9ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.coaching-features h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.coaching-features p {
  margin: 0;
  color: #848392;
  font-size: 12px;
}

.audience-section {
  padding-block: 120px;
  background: var(--ink);
  color: white;
}

.audience-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 80px;
}

.audience-section .section-heading > span {
  color: #9c94ff;
}

.audience-section .section-heading em {
  color: #9c94ff;
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.audience-cards article {
  min-height: 300px;
  padding: 22px;
  border: 1px solid #373747;
  border-radius: 20px;
  background: #1b1b2e;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.audience-cards article:hover {
  border-color: #7168ff;
  transform: translateY(-5px);
}

.audience-cards span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #2d2d45;
  color: #b9b6d0;
  font-size: 11px;
}

.audience-cards h3 {
  margin: 100px 0 12px;
  font-size: 20px;
}

.audience-cards p {
  margin: 0;
  color: #a7a6b7;
  font-size: 13px;
  line-height: 1.9;
}

.teachers-section {
  padding-block: 130px 40px;
}

.teachers-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 55px;
}

.teacher-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.teacher-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 50px rgba(36, 32, 103, 0.13);
}

.teacher-photo {
  position: relative;
  height: 315px;
  overflow: hidden;
  background: #e9e7f3;
}

.teacher-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(17, 16, 35, 0.35));
  content: "";
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition:
    transform 350ms ease,
    filter 350ms ease;
}

.teacher-card:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

.teacher-photo > span {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 14px;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.teacher-info {
  padding: 20px;
}

.teacher-info h3 {
  margin: 0 0 5px;
  font-size: 19px;
}

.teacher-info p {
  min-height: 24px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 12px;
}

.teacher-info small {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 99px;
  background: #efedff;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.articles-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.article-count {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.article-list {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.article-row {
  width: 100%;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 25px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: right;
  cursor: pointer;
  transition:
    padding 180ms ease,
    background 180ms ease;
}

.article-row:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: #f3f2ff;
}

.article-number {
  color: #aaa9b5;
  font-size: 14px;
}

.article-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.article-title small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.article-title strong {
  font-size: clamp(17px, 2vw, 23px);
}

.article-read {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.student-portal-section {
  padding: 120px 0;
  background:
    radial-gradient(circle at 90% 12%, rgba(125, 115, 255, 0.45), transparent 26%),
    #171629;
  color: white;
}

.student-portal-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 85px;
}

.portal-intro h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.4;
  letter-spacing: -2px;
  font-weight: 900;
}

.portal-intro h2 em {
  color: #ffd66b;
}

.portal-intro > p {
  max-width: 440px;
  margin: 20px 0 32px;
  color: #b9b7cb;
  font-size: 15px;
  line-height: 2;
}

.portal-mini-stats {
  display: flex;
  gap: 12px;
}

.portal-mini-stats div {
  min-width: 145px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #39374f;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.portal-mini-stats strong {
  color: #ffd66b;
  font-size: 23px;
}

.portal-mini-stats span {
  color: #9290a5;
  font-size: 10px;
}

.portal-window {
  min-height: 565px;
  overflow: hidden;
  border: 7px solid #28263c;
  border-radius: 24px;
  background: #f7f7fb;
  color: var(--ink);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.38);
}

.portal-browser {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  border-bottom: 1px solid #e3e2e8;
  background: #eeedf3;
  direction: ltr;
}

.portal-browser > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff7961;
}

.portal-browser > span:nth-child(2) {
  background: #ffc95c;
}

.portal-browser > span:nth-child(3) {
  background: #56c991;
}

.portal-browser small {
  margin-inline: auto;
  color: #9b99a7;
  font-size: 9px;
}

.student-login-form {
  width: min(370px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  margin: 48px auto;
}

.login-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  font-size: 24px;
  font-weight: 900;
}

.student-login-form h3 {
  margin: 0 0 7px;
  font-size: 24px;
}

.student-login-form > p {
  margin: 0 0 24px;
  color: #858391;
  font-size: 12px;
}

.student-login-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
  color: #595868;
  font-size: 11px;
  font-weight: 700;
}

.student-login-form input {
  height: 48px;
  padding: 0 13px;
  border: 1px solid #dddae7;
  outline: none;
  border-radius: 11px;
  background: white;
}

.student-login-form input:focus {
  border-color: var(--blue);
}

.portal-login-button {
  margin-top: 5px;
  background: var(--blue);
  color: white;
}

.student-login-form > small {
  margin-top: 13px;
  color: #aaa8b3;
  font-size: 9px;
  text-align: center;
}

.student-dashboard {
  padding: 30px;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-head small {
  color: #81808e;
  font-size: 10px;
}

.dashboard-head h3 {
  margin: 3px 0 0;
  font-size: 23px;
}

.dashboard-head button {
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: #eae8f5;
  color: #6e6b7f;
  font-size: 10px;
  cursor: pointer;
}

.dashboard-progress {
  margin: 24px 0 18px;
  padding: 17px;
  border-radius: 14px;
  background: #ebe9ff;
}

.dashboard-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.dashboard-progress strong {
  color: var(--blue);
}

.dashboard-progress-track {
  height: 6px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 10px;
  background: #d1cdf7;
}

.dashboard-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 350ms ease;
}

.assignment-list {
  display: grid;
  gap: 9px;
}

.assignment {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid #e8e6ee;
  border-radius: 13px;
  background: white;
  color: inherit;
  text-align: right;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    opacity 180ms ease;
}

.assignment:hover {
  border-color: #bcb7f5;
}

.assignment.completed {
  opacity: 0.57;
}

.assignment.completed strong {
  text-decoration: line-through;
}

.assignment-check {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
}

.assignment-check.green {
  background: #dff6eb;
  color: #22815e;
}

.assignment-check.blue {
  background: #e2e7ff;
  color: #4157c9;
}

.assignment-check.orange {
  background: #ffe8da;
  color: #d76b3d;
}

.assignment > span:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.assignment small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.assignment strong {
  margin: 2px 0;
  font-size: 12px;
}

.assignment em {
  color: #9a98a4;
  font-size: 9px;
}

.consultation-section {
  padding-bottom: 110px;
}

.consultation-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  padding: 70px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 0 100%, rgba(136, 126, 255, 0.5), transparent 32%),
    var(--blue);
  color: white;
}

.section-kicker.light {
  color: #c5c0ff;
}

.consultation-copy h2 em {
  color: #ffd66b;
}

.consultation-copy p {
  max-width: 450px;
  margin: 20px 0 0;
  color: #d6d3ff;
  font-size: 15px;
  line-height: 2;
}

.consultation-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.consultation-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #eeeefe;
  font-size: 11px;
  font-weight: 600;
}

.consultation-card label.is-wide,
.consultation-card label:nth-child(3),
.button-submit {
  grid-column: 1 / -1;
}

.consultation-card input,
.consultation-card select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  outline: none;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.11);
  color: white;
  transition: border-color 180ms ease;
}

.consultation-card input:focus,
.consultation-card select:focus {
  border-color: #ffd66b;
}

.consultation-card input::placeholder {
  color: #c6c2f2;
}

.consultation-card option {
  color: var(--ink);
}

.button-submit {
  margin-top: 5px;
  background: #ffd66b;
  color: #29231a;
}

.success-message {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 230px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
}

.success-message > span {
  width: 54px;
  height: 54px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #dff9ed;
  color: #147752;
}

.success-message strong {
  font-size: 22px;
}

.success-message p {
  margin: 7px 0 0;
  color: #dcd9ff;
  font-size: 13px;
}

.site-footer {
  padding: 55px max(5vw, calc((100vw - 1180px) / 2)) 28px;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 42px;
}

.footer-links {
  display: flex;
  gap: 28px;
  color: #5f5e6f;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #9b9aa7;
  font-size: 10px;
}

.article-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  justify-content: flex-start;
  background: rgba(10, 9, 25, 0.56);
  backdrop-filter: blur(5px);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.article-reader {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 70px clamp(25px, 6vw, 80px);
  background: #fff;
  box-shadow: 20px 0 70px rgba(0, 0, 0, 0.3);
  animation: slideIn 320ms ease both;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
}

.modal-close {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.article-reader header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-reader header > span {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #efedff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.article-reader h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.5;
  letter-spacing: -1.5px;
}

.article-reader p,
.article-reader li {
  color: #59586a;
  font-size: 15px;
  line-height: 2.05;
}

.article-body {
  padding-top: 20px;
}

.article-body section {
  padding: 24px 0;
  border-bottom: 1px solid #efeff3;
}

.article-body h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.article-body p {
  margin: 8px 0;
}

.article-body ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-right: 20px;
}

.article-body li::marker {
  color: var(--blue);
}

.article-conclusion {
  margin: 28px 0;
  padding: 24px;
  border-radius: 17px;
  background: #f1efff;
}

.article-conclusion h3 {
  color: var(--blue);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 135px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-copy > p {
    margin-inline: auto;
  }

  .eyebrow-pill,
  .hero-actions,
  .hero-stats {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-visual {
    width: min(610px, 100%);
    margin-inline: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-panel,
  .consultation-card {
    grid-template-columns: 1fr;
  }

  .coaching-inner,
  .student-portal-inner {
    grid-template-columns: 1fr;
  }

  .coaching-visual {
    width: min(650px, 100%);
    margin-inline: auto;
  }

  .audience-inner {
    grid-template-columns: 1fr;
  }

  .audience-cards h3 {
    margin-top: 65px;
  }

  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal-intro {
    text-align: center;
  }

  .portal-intro > p {
    margin-inline: auto;
  }

  .portal-mini-stats {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    height: 64px;
    padding: 8px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .site-header nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: 0 20px 40px rgba(23, 20, 76, 0.15);
  }

  .site-header nav.nav-open {
    display: flex;
  }

  .site-header nav a {
    padding: 13px;
  }

  .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 12px;
    background: #f1f0f7;
  }

  .menu-button span {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .hero {
    min-height: auto;
    padding: 115px 20px 70px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: 42px;
    line-height: 1.4;
    letter-spacing: -2px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 18px;
  }

  .hero-stats {
    gap: 14px;
  }

  .hero-stats div {
    padding-right: 8px;
  }

  .hero-stats strong {
    font-size: 11px;
  }

  .hero-stats span {
    display: none;
  }

  .hero-visual {
    min-height: 450px;
  }

  .photo-frame {
    width: 82%;
    height: 390px;
    border-radius: 75px 18px 75px 18px;
  }

  .floating-card-top {
    top: 35px;
    right: 0;
  }

  .floating-card-bottom {
    bottom: 10px;
    left: 0;
  }

  .trust-strip {
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: 24px;
    white-space: nowrap;
  }

  .rank-ribbon {
    height: 76px;
  }

  .rank-ribbon-label {
    width: 135px;
    padding-right: 16px;
    padding-left: 10px;
    font-size: 11px;
  }

  .rank-item {
    min-width: 190px;
    padding-inline: 20px;
  }

  .rank-item strong {
    font-size: 19px;
  }

  .services-section,
  .articles-section {
    padding-block: 85px;
  }

  .section-heading h2,
  .about-copy h2,
  .consultation-copy h2 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .service-card {
    min-height: 240px;
  }

  .about-section {
    width: 100%;
    padding-bottom: 85px;
  }

  .about-panel {
    gap: 48px;
    padding: 50px 20px;
    border-radius: 0;
  }

  .about-graphic {
    min-height: 400px;
  }

  .coaching-section {
    padding: 85px 0;
  }

  .coaching-inner {
    width: 100%;
    gap: 45px;
  }

  .coaching-visual {
    min-height: 420px;
    border-radius: 0;
  }

  .coaching-copy {
    padding-inline: 20px;
  }

  .coaching-copy h2 {
    font-size: 36px;
  }

  .quote-card {
    top: 55px;
    right: 25px;
    width: 75%;
  }

  .quote-card p {
    font-size: 19px;
  }

  .audience-section {
    padding-block: 85px;
  }

  .audience-cards {
    grid-template-columns: 1fr;
  }

  .audience-cards article {
    min-height: 220px;
  }

  .audience-cards h3 {
    margin-top: 48px;
  }

  .teachers-section {
    padding-block: 85px 20px;
  }

  .teachers-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .teachers-grid {
    grid-template-columns: 1fr;
  }

  .teacher-photo {
    height: 400px;
  }

  .articles-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .article-row {
    grid-template-columns: 42px 1fr 34px;
    gap: 10px;
  }

  .article-read {
    font-size: 0;
  }

  .student-portal-section {
    padding: 85px 0;
  }

  .student-portal-inner {
    width: calc(100% - 24px);
    gap: 48px;
  }

  .portal-intro h2 {
    font-size: 38px;
  }

  .portal-intro > p {
    font-size: 13px;
  }

  .portal-mini-stats div {
    min-width: 0;
    flex: 1;
  }

  .portal-window {
    min-height: 555px;
  }

  .student-dashboard {
    padding: 22px 14px;
  }

  .assignment {
    padding: 11px;
  }

  .consultation-section {
    width: 100%;
    padding-bottom: 0;
  }

  .consultation-card {
    gap: 40px;
    padding: 55px 20px;
    border-radius: 0;
  }

  .consultation-card form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .consultation-card label,
  .consultation-card label.is-wide,
.consultation-card label:nth-child(3),
  .button-submit {
    grid-column: 1;
  }

  .site-footer {
    padding-inline: 20px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .article-reader {
    padding: 65px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
