:root {
  --bg: #f4f2ff;
  --ink: #f8f8ff;
  --text: #20184c;
  --muted: #706897;
  --primary: #6e4cf5;
  --primary-deep: #251667;
  --mint: #56e8d0;
  --yellow: #ffc935;
  --card: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(25, 17, 72, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(86, 232, 208, 0.12), transparent 20%),
    linear-gradient(180deg, #f5f3ff 0%, #eeecff 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

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

.site-wrap {
  width: min(1320px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 64px;
}

.hero-carousel {
  margin-top: 22px;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 22, 103, 0.08);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 10px;
  z-index: 20;
}

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

.brand-mark {
  color: var(--primary-deep);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.brand-text {
  max-width: 72px;
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.05;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-links a {
  font-weight: 600;
}

.topbar-cta,
.primary-btn,
.submit-btn,
.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.topbar-cta,
.submit-btn,
.support-btn,
.primary-btn {
  color: #181235;
  background: linear-gradient(135deg, var(--mint), #8affdf);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 42px;
  margin-top: 22px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 25% 70%, rgba(129, 61, 255, 0.42), transparent 26%),
    radial-gradient(circle at 80% 35%, rgba(94, 66, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #020615 0%, #090d24 44%, #12173d 100%);
  box-shadow: var(--shadow);
}

.poster-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 78%, rgba(109, 72, 255, 0.3), transparent 15%),
    radial-gradient(circle at 80% 80%, rgba(109, 72, 255, 0.26), transparent 14%),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  pointer-events: none;
}

.poster-copy,
.hero-side {
  position: relative;
  z-index: 1;
}

.poster-brandline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.hero-brand-text,
.poster-brandline p {
  color: rgba(255, 255, 255, 0.94);
}

.poster-brandline p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: right;
}

.poster-brandline p span,
.poster-kicker,
.support-card .accent,
.contract-copy {
  color: var(--primary);
}

.poster-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.poster-badge-row span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
}

.poster-badge-row span {
  background: #fff;
  color: var(--primary-deep);
}

.poster-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.hero-poster h1,
.hero-poster h2 {
  margin: 0;
  color: #fff;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-poster h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.hero-poster h1 span {
  color: #8a5dff;
  text-shadow: 0 0 18px rgba(138, 93, 255, 0.35);
}

.hero-poster h2 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  letter-spacing: 0.18em;
}

.hero-poster h2 span {
  color: var(--yellow);
}

.hero-slide-support .support-panels {
  margin: 0;
}

.top-panels .support-card {
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.poster-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.poster-trust-row article {
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.poster-trust-row strong,
.poster-trust-row span {
  display: block;
  color: #fff;
}

.poster-trust-row strong {
  font-size: 1rem;
}

.poster-trust-row span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-side {
  display: grid;
  gap: 20px;
}

.hero-form-card {
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.mini-label,
.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-form-card h3,
.section-heading h2,
.support-card h2,
.tutor-copy h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-form-card h3 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.lead-form input,
.lead-form select {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(37, 22, 103, 0.12);
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(110, 76, 245, 0.2);
  border-color: var(--primary);
}

.form-note,
.form-status,
.section-heading p,
.support-copy,
.dark-copy,
.office-card p,
.tutor-copy p,
.tutor-copy li {
  line-height: 1.65;
  color: var(--muted);
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.94rem;
}

.form-status {
  color: var(--primary-deep);
  font-weight: 700;
}

.hero-people-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-people-strip article {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.hero-people-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-people-strip h4 {
  margin: 0;
  padding: 12px 10px 14px;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
}

.support-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 34px 0 80px;
}

.support-card {
  padding: 34px;
  border-radius: 34px;
  min-height: 660px;
  position: relative;
  overflow: hidden;
}

.support-light {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 213, 68, 0.28), transparent 18%),
    radial-gradient(circle at 80% 90%, rgba(86, 232, 208, 0.25), transparent 18%),
    linear-gradient(180deg, #fffdf5 0%, #f9fff9 100%);
}

.support-dark {
  color: #fff;
  background:
    radial-gradient(circle at 75% 85%, rgba(160, 95, 255, 0.24), transparent 20%),
    linear-gradient(180deg, #26206f 0%, #2e217e 100%);
}

.tag {
  background: #241c65;
  color: #fff;
}

.tag.aqua {
  background: var(--mint);
  color: #19173b;
}

.support-intro {
  margin: 48px 0 18px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
}

.support-card h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.support-light h2 {
  color: var(--primary-deep);
}

.support-light h2 span {
  color: var(--primary);
}

.underline {
  text-decoration: underline 6px solid var(--mint);
  text-underline-offset: 4px;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 24px;
  display: grid;
  gap: 18px;
}

.offer-list li {
  padding-left: 18px;
  border-left: 4px solid var(--primary);
  color: var(--primary-deep);
}

.offer-list li:nth-child(2) {
  border-left-color: #24245d;
}

.offer-list li:nth-child(3) {
  border-left-color: var(--mint);
}

.offer-list strong {
  display: inline-block;
  margin-right: 6px;
}

.support-footer {
  margin: 0 0 28px;
  color: var(--primary-deep);
  font-weight: 800;
}

.support-dark h2 span,
.support-btn-yellow {
  color: #1d183a;
  background: var(--yellow);
}

.dark-copy {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.45rem;
  max-width: 300px;
}

.contract-copy {
  margin: 24px 0 36px;
  font-size: 2rem;
  font-weight: 800;
  max-width: 320px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 26px;
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.tutor-showcase {
  margin-bottom: 80px;
}

.tutor-carousel {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 16px;
  align-items: center;
}

.carousel-btn {
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-deep);
  font-size: 2rem;
  box-shadow: 0 12px 30px rgba(37, 22, 103, 0.12);
  cursor: pointer;
}

.tutor-stage {
  position: relative;
  min-height: 520px;
}

.tutor-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 85% 18%, rgba(110, 76, 245, 0.18), transparent 18%),
    linear-gradient(135deg, #ffffff 0%, #f6f2ff 100%);
  box-shadow: 0 18px 60px rgba(37, 22, 103, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.tutor-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tutor-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
}

.tutor-copy h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 16px;
}

.tutor-copy ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(37, 22, 103, 0.18);
  cursor: pointer;
}

.dot.is-active {
  background: var(--primary);
}

.thank-you-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 8, 26, 0.56);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.thank-you-modal.is-open {
  display: flex;
}

.thank-you-card {
  width: min(520px, 100%);
  position: relative;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f2ff 100%);
  box-shadow: 0 24px 70px rgba(25, 17, 72, 0.24);
  text-align: center;
}

.thank-you-card h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  color: var(--primary-deep);
}

.thank-you-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.thank-you-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(37, 22, 103, 0.08);
  color: var(--primary-deep);
  font-size: 1.8rem;
  cursor: pointer;
}

.floating-call-btn {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 45;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1fd0a9, #56e8d0);
  color: #151333;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(23, 128, 106, 0.28);
}

.floating-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.proof-strip,
.offices-section {
  margin-bottom: 80px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-strip article,
.office-card {
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(37, 22, 103, 0.1);
}

.stats-strip article {
  text-align: center;
}

.stats-strip strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.6rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.office-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.office-card a {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.map-link {
  display: inline-flex;
  align-items: center;
  margin-left: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-deep);
}

@media (max-width: 1180px) {
  .hero-poster,
  .support-panels {
    grid-template-columns: 1fr;
  }

  .poster-trust-row,
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .topbar,
  .top-links {
    flex-direction: column;
    align-items: stretch;
  }

  .poster-brandline,
  .tutor-panel,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .poster-brandline p {
    text-align: left;
  }

  .tutor-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .tutor-stage {
    min-height: 760px;
  }

  .hero-poster {
    padding: 24px;
    gap: 20px;
  }

  .hero-form-card {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .site-wrap {
    width: min(100% - 16px, 1320px);
  }

  .hero-poster,
  .support-card,
  .hero-form-card,
  .tutor-panel,
  .stats-strip article,
  .office-card {
    padding: 18px;
  }

  .poster-trust-row,
  .stats-strip,
  .hero-people-strip {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: auto;
  }

  .support-card h2,
  .hero-poster h1 {
    font-size: 2.6rem;
  }

  .tutor-stage {
    min-height: 820px;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-btn,
  .secondary-btn,
  .submit-btn,
  .support-btn,
  .topbar-cta {
    width: 100%;
    padding: 0 18px;
    min-height: 50px;
  }

  .poster-brandline p {
    font-size: 1.05rem;
  }

  .hero-form-card h3,
  .thank-you-card h3 {
    font-size: 1.65rem;
  }

  .lead-form {
    gap: 12px;
  }

  .lead-form input,
  .lead-form select {
    min-height: 48px;
  }

  .floating-call-btn {
    display: inline-flex;
  }

  .map-link {
    display: flex;
    margin-left: 0;
    margin-top: 10px;
  }
}
