/* === TOKENS === */
:root {
  --color-primary: #002c73;
  --color-primary-dark: #001f52;
  --color-cta: #f20061;
  --color-cta-dark: #d4004f;
  --color-accent: #33568f;
  --color-text: #364153;
  --color-text-muted: #4a5565;
  --color-bg: #ffffff;
  --color-bg-alt: #e8ecf2;
  --color-bg-card: #f3f3f3;
  --color-divider: #cdcdcd;
  --color-star: #f59e0b;
  --radius-btn: 8px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --container: 1440px;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Phudu', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* === LAYOUT === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 110px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--color-cta-dark); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 28px;
  border-radius: var(--radius-btn);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* === SECTION HEADER === */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: var(--color-primary);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 0;
  border-bottom: 1px solid rgba(102, 128, 171, 0.2);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: auto;
}
.nav-logo img { display: block; }
.nav-menu {
  display: flex;
  gap: 24px;
  margin: 0 auto;
}
.nav-menu a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s;
}
.nav-menu a:hover { color: rgba(255,255,255,0.75); }
.nav-cta {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  padding: 4px 16px;
  height: 32px;
  border-radius: var(--radius-btn);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.9; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* === HERO === */
.hero {
  background: var(--color-primary);
  height: 778px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  position: relative;
  width: 1440px;
  height: 100%;
  margin: 0 auto;
}
/* Background overlay (198:391): large logo watermark */
.hero-overlay {
  position: absolute;
  left: 543px;
  top: 50%;
  transform: translateY(-50%);
  width: 1099px;
  height: 879px;
  pointer-events: none;
  opacity: 0.12;
  z-index: 1;
}
.hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
/* Hero image (198:133): absolute position matching Figma */
.hero-image-container {
  position: absolute;
  left: 592px;
  top: 145px;
  z-index: 2;
  width: 958px;
  height: 653px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-image-inner {
  flex-shrink: 0;
}
.hero-image {
  width: 941px;
  height: 627px;
  object-fit: cover;
  display: block;
}
/* Hero content column (197:111): absolute position matching Figma */
.hero-content {
  position: absolute;
  left: 110px;
  top: 126px;
  width: 674px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #33568f;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 48px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
  width: 701px;
}
.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: #f3f3f3;
  line-height: 1.5;
  width: 518px;
  margin-bottom: 48px;
}
.hero-cta { font-size: 16px; font-weight: 600; padding: 12px 32px; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 32px;
}
.hero-stat {
  border-left: 2px solid #33568f;
  padding-left: 18px;
}
.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 16px; color: #cdcdcd; }

.hero-image-wrap {
  flex: 1;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.hero-image {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 630px;
}
/* Float card wrapper — absolutely positioned within .hero (1440px ref) */
.hero-float-wrap {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 191px;
  z-index: 3;
}
.hero-float-wrap--top {
  top: 194px;
  left: 1065px;
  align-items: center;
}
.hero-float-wrap--bottom {
  top: 435px;
  left: 649px;
  align-items: flex-end;
}
.hero-float {
  background: #33568f;
  border-radius: 16px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  padding: 8px 20px 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 191px;
  height: 69px;
  border-bottom: 3px solid #99abc7;
  border-left: 3px solid #99abc7;
  flex-shrink: 0;
}
.hero-float-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: #f3f3f3;
  line-height: 1.1;
}
.hero-float-txt { font-size: 14px; color: #f3f3f3; line-height: 1.2; }
.hero-float-connector { display: block; flex-shrink: 0; overflow: visible; }
.hero-float-connector--vertical { margin: 0 auto; }
.hero-float-connector--corner { margin-right: -4px; }

@media (max-width: 1200px) {
  .hero { height: auto; min-height: 640px; padding: 100px 0 60px; }
  .hero-inner { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-content { position: static; width: auto; max-width: 560px; margin: 0 auto; padding: 0 24px; }
  .hero-image-container { display: none; }
  .hero-float-wrap { display: none; }
  .hero-overlay { display: none; }
  .hero-title { font-size: 52px; width: auto; }
}
@media (max-width: 768px) {
  .hero { min-height: 500px; padding: 90px 0 48px; }
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 16px; }
  .hero-stat-number { font-size: 28px; }
}

/* === FEATURES === */
.features {
  background: var(--color-bg-alt);
  padding: 100px 0;
}
.features .container { max-width: 1440px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 500px;
}
.feature-bar-main {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 73px;
  background: var(--color-cta);
  pointer-events: none;
}
.feature-bar-strip {
  position: absolute;
  bottom: 79px;
  left: 0;
  right: 0;
  height: 13px;
  background: var(--color-cta);
  pointer-events: none;
}
.feature-icon-wrap {
  border-top: 5px solid var(--color-cta);
  border-bottom: 5px solid var(--color-cta);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  align-self: flex-start;
}
.feature-icon-box {
  width: 56px;
  height: 40px;
  background: var(--color-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
}
.feature-card p {
  font-size: 20px;
  color: var(--color-text);
  line-height: 1.5;
}
.feature-img {
  position: absolute;
  pointer-events: none;
}
.feature-img--1 { left: 50%; top: 240px; transform: translateX(-50%); width: 110%; }
.feature-img--2 { left: 50%; top: 240px; transform: translateX(-50%); width: 90%; }
.feature-img--3 { left: 21px; top: 245px; width: 476px; }
.section-cta { text-align: center; margin-top: 40px; }

/* === HOW IT WORKS === */
.how-it-works { padding: 100px 0; background: var(--color-bg); }

.hiw-header { text-align: center; margin-bottom: 80px; }
.hiw-header h2 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.hiw-header p { font-size: 20px; font-weight: 400; color: var(--color-text-muted); line-height: 1.5; }

.hiw-inner { display: flex; gap: 24px; align-items: center; }
.hiw-left { flex: 1; min-width: 0; }
.hiw-steps { display: flex; flex-direction: column; }
.hiw-step { display: flex; gap: 24px; align-items: flex-start; }
.hiw-step-num { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; align-self: stretch; }

/* Outer ring */
.hiw-step-circle {
  border: 4px solid var(--color-accent);
  border-radius: 999px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Inner filled circle */
.hiw-step-circle-inner {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hiw-step-circle-inner span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hiw-step-line {
  width: 0;
  border-left: 1px solid #ccd5e3;
  flex: 1;
  min-height: 0;
}
.hiw-step-body { padding-bottom: 64px; padding-top: 8px; padding-right: 24px; flex: 1; }
.hiw-step-body--last { padding-bottom: 0; }
.hiw-step-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 8px;
}
.hiw-step-body p { font-size: 20px; font-weight: 400; color: var(--color-text); line-height: 1.5; }

/* Right column */
.hiw-right { position: relative; flex-shrink: 0; width: 598px; }
.hiw-image-wrap {
  position: relative;
  width: 100%;
  height: 530px;
  border-radius: var(--radius-md);
  background: #fcccdf;
  overflow: hidden;
}
.hiw-image {
  position: absolute;
  left: -125px;
  top: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 2070 / 1380;
  object-fit: cover;
  max-width: none;
}
/* Leaderboard card */
.hiw-leaderboard {
  position: absolute;
  left: 304px;
  top: 412px;
  width: 328px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 16px;
}
.hiw-lb-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hiw-lb-title { font-size: 16px; font-weight: 600; color: #000; line-height: 1.5; }
.hiw-lb-rows { display: flex; flex-direction: column; }
.hiw-lb-row { display: flex; align-items: center; gap: 8px; padding: 8px 0 16px; }
.hiw-lb-avatar-wrap { position: relative; flex-shrink: 0; }
.hiw-lb-avatar-circle {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ccd5e3;
  overflow: hidden;
  flex-shrink: 0;
}
.hiw-lb-avatar {
  position: absolute;
  width: 121px;
  height: 80px;
  left: -56px;
  top: 1px;
  max-width: none;
  display: block;
  object-fit: cover;
}
.hiw-lb-rank {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--color-cta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: var(--radius-pill);
  line-height: 1.5;
}
.hiw-lb-info { flex: 1; min-width: 0; }
.hiw-lb-name { font-size: 14px; font-weight: 600; color: var(--color-primary); line-height: 1.4; }
.hiw-lb-role { font-size: 12px; color: rgba(74,74,74,0.7); line-height: 1.5; }
.hiw-lb-score { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--color-cta); white-space: nowrap; }

@media (max-width: 1200px) {
  .hiw-right { width: 480px; }
  .hiw-leaderboard { left: auto; right: -16px; top: auto; bottom: -24px; }
}
@media (max-width: 1024px) {
  .hiw-inner { flex-direction: column; gap: 48px; }
  .hiw-right { width: 100%; }
  .hiw-image-wrap { height: 400px; }
  .hiw-leaderboard { right: 16px; bottom: -24px; left: auto; top: auto; }
}
@media (max-width: 768px) {
  .how-it-works { padding: 60px 0; }
  .hiw-header h2 { font-size: 40px; }
  .hiw-leaderboard { display: none; }
  .hiw-image { left: -60px; aspect-ratio: 2070 / 1380; }
}

/* === MEDIA QUERIES placeholder — filled per task === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 40px; }
}
@media (max-width: 768px) {
  .section-header h2 { font-size: 28px; }
  .features { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-img { width: calc(100% + 48px); margin-left: -24px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--color-divider);
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-menu.open { display: flex; }
  .container { padding: 0 24px; }
}

/* === TESTIMONIALS === */
.testimonials { background: #fff; padding: 100px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 1px 6px -1px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}
.testimonial-photo {
  width: 100%;
  aspect-ratio: 343/226;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonial-stars { display: flex; gap: 4px; align-items: center; }
.testimonial-quote {
  font-size: 20px;
  color: var(--color-text);
  line-height: 1.5;
  font-style: italic;
}
.testimonial-name { font-size: 20px; font-weight: 600; color: #101828; }
.testimonial-role { font-size: 16px; color: var(--color-text-muted); }

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonials { padding: 60px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* === PARTNERS === */
.partners { background: #fff; padding: 50px 0; }

.partners-card {
  position: relative;
  background: #002c73;
  border-radius: 24px;
  height: 500px;
  padding: 40px 392px 40px 40px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.02), 0 2px 2px rgba(0,0,0,0.02);
}

.partners-pills-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 287px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  opacity: 0.45;
}

.partners-pills {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1262px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.partners-pills-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, transparent 55%, rgba(0,44,115,0.45) 78%, #002c73 96%);
}

.partners-left {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 788px;
}

.partners-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0;
}

.partners-bottom { display: flex; flex-direction: column; gap: 24px; }

.partners-social { display: flex; align-items: center; gap: 8px; }

.partners-avatars { display: flex; }
.partners-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ccd5e3;
  margin-left: -8px;
  object-fit: cover;
  background: #ccd5e3;
  flex-shrink: 0;
}
.partners-avatars img:first-child { margin-left: 0; }

.partners-trust { display: flex; flex-direction: column; gap: 4px; }
.partners-stars { display: flex; gap: 4px; }
.partners-trust-txt { font-size: 14px; color: #f3f3f3; line-height: 22px; white-space: nowrap; }

.partners-cta { align-self: flex-start; }

.partners-student {
  position: absolute;
  left: 717px;
  top: -78px;
  width: 460px;
  height: 578px;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  z-index: 3;
}

.pill {
  border-radius: 107px;
  padding: 19px 45px;
  font-family: var(--font-body);
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pill--bright {
  background: #6680ab;
  box-shadow: 0 1px 1px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.02), 0 2px 2px rgba(0,0,0,0.02);
}
.pill--blank { background: #113d83; height: 108px; padding: 0; }
.pill--blank-sm { width: 234px; }
.pill--ghost { background: #113d83; color: rgba(51,86,143,0.1); }
.pill--faded { background: #6680ab; opacity: 0.5; width: 277px; height: 108px; padding: 0; }

/* === FOOTER === */
.footer { background: var(--color-primary); color: #99a1af; }

.footer-inner {
  display: flex;
  gap: 80px;
  padding-top: 72px;
  padding-bottom: 60px;
}
.footer-brand { flex: 0 0 560px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-logo img { display: block; }
.footer-desc {
  font-size: 20px;
  line-height: 1.6;
  color: #99a1af;
  margin-bottom: 28px;
  max-width: 560px;
}
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: #cdcdcd;
}
.footer-contact-icon { flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; }

.footer-links { flex: 0 0 220px; }
.footer-links h4 {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 24px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 14px; }
.footer-links a {
  font-size: 16px;
  color: #99a1af;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom { padding: 20px 0; border-top: 1px solid #4a4a4a; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 14px; color: #99a1af; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4a4a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-social:hover { background: #5a5a5a; }
.footer-social img { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
}

/* === RESPONSIVE ADDITIONS === */

/* --- Nav menu text color on mobile (white bg) --- */
@media (max-width: 768px) {
  .nav-menu a { color: var(--color-primary); }
}

/* --- Hero: fix subtitle/title fixed widths --- */
@media (max-width: 1200px) {
  .hero-title { width: auto; }
  .hero-subtitle { width: auto; }
}

/* --- Features: fluid cards on small screens --- */
@media (max-width: 1024px) {
  .feature-card { height: auto; min-height: 360px; }
  .feature-img { position: static; transform: none; width: calc(100% + 48px); margin: 0 -24px -24px; }
  .feature-img--1, .feature-img--2, .feature-img--3 { left: auto; top: auto; width: calc(100% + 48px); }
  .feature-card h3 { font-size: 20px; }
  .feature-card p { font-size: 16px; }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
}

/* --- Partners: reflow on tablet/mobile --- */
@media (max-width: 1200px) {
  .partners-card {
    height: auto;
    padding: 40px;
    overflow: hidden;
  }
  .partners-left {
    width: 100%;
    height: auto;
    gap: 32px;
  }
  .partners-title { font-size: 48px; }
  .partners-student {
    position: static;
    width: 100%;
    height: auto;
    max-width: 360px;
    margin: 0 auto;
    display: block;
  }
  .partners-pills-wrap { display: none; }
}
@media (max-width: 768px) {
  .partners { padding: 32px 0; }
  .partners-title { font-size: 36px; }
  .partners-student { max-width: 260px; }
  .partners-trust-txt { white-space: normal; }
}

/* --- Testimonials font scale --- */
@media (max-width: 768px) {
  .testimonial-quote { font-size: 16px; }
  .testimonial-name { font-size: 16px; }
}

/* --- How it works header --- */
@media (max-width: 768px) {
  .hiw-header h2 { font-size: 32px; }
}
