:root {
  --bg: #eef3f8;
  --bg-soft: #e3ebf4;
  --surface: #f9fcff;
  --surface-muted: #f2f7fc;
  --text: #0e233f;
  --text-soft: #41556f;
  --text-faint: #60748b;
  --line: #ccd9e7;
  --brand: #0c2d57;
  --brand-strong: #081f3f;
  --brand-soft: #d7e4f4;
  --accent: #1dbf8a;
  --accent-strong: #14966b;
  --accent-soft: #d6f5ea;
  --success: #1ea672;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --shadow-sm: 0 2px 12px rgba(12, 35, 63, 0.06);
  --shadow-md: 0 12px 32px rgba(12, 35, 63, 0.10);
  --shadow-lg: 0 26px 58px rgba(12, 35, 63, 0.14);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(980px 460px at 12% -16%, rgba(29, 191, 138, 0.14), transparent 60%),
    radial-gradient(1050px 520px at 90% -35%, rgba(12, 45, 87, 0.13), transparent 62%),
    linear-gradient(180deg, #f6fafe 0%, #f2f7fc 34%, var(--bg) 100%);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -100px;
  z-index: 1000;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus-visible {
  top: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(204, 217, 231, 0.95);
  background: rgba(242, 247, 252, 0.9);
  backdrop-filter: blur(10px);
  transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.site-header.is-scrolled {
  background: rgba(249, 252, 255, 0.96);
  border-bottom-color: rgba(190, 208, 227, 0.95);
  box-shadow: 0 10px 24px rgba(12, 35, 63, 0.10);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
}

.brand img {
  width: auto;
  height: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  margin-right: 6px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 9px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 20px;
}

.section {
  padding: 60px 0;
}

.section-sm {
  padding: var(--space-5) 0;
}

.alt {
  background: linear-gradient(180deg, #edf4fb 0%, #e9f1f8 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-top: 44px;
}

.hero-grid,
.scholamp-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-2);
  font-family: "Sora", "Manrope", sans-serif;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.65rem);
}

h3 {
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

p {
  margin: 0 0 var(--space-2);
  color: var(--text-soft);
}

.lede {
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: var(--space-4) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  padding: 12px 18px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(138deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 12px 24px rgba(10, 33, 66, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 30px rgba(10, 33, 66, 0.30);
}

.btn-secondary {
  background: linear-gradient(180deg, #fcfeff 0%, var(--surface-muted) 100%);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: #afc2d8;
  background: linear-gradient(180deg, #f8fcff 0%, #ecf4fb 100%);
}

.btn-sm {
  padding: 10px 14px;
}

.kpi-list {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kpi-list li {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f9fcff 0%, #f3f8fd 100%);
  box-shadow: var(--shadow-sm);
}

.kpi-list strong {
  display: block;
  color: var(--brand-strong);
  font-size: 1.32rem;
  margin-bottom: 2px;
  font-variant-numeric: tabular-nums;
}

.kpi-list span {
  color: var(--text-faint);
  font-size: 0.88rem;
}

.hero-visual {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid #c4d5e9;
  box-shadow: var(--shadow-lg);
  transition: transform .35s ease, box-shadow .35s ease;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fc 100%);
  padding: 10px;
}

.hero-visual:hover img {
  transform: translateY(-2px);
  box-shadow: 0 30px 70px rgba(10, 33, 66, 0.20);
}

.hero-card {
  border-radius: var(--radius-md);
  border: 1px solid #bfd2e7;
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fd 100%);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.hero-card h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.hero-card li {
  margin-bottom: 8px;
}

.trust-title {
  text-align: center;
  color: var(--text);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.trust-logos img {
  width: 100%;
  max-height: 44px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px;
  filter: grayscale(1);
  opacity: 0.84;
  transition: transform .25s ease, opacity .25s ease, filter .25s ease;
}

.trust-logos img:hover {
  transform: translateY(-2px);
  filter: grayscale(.3);
  opacity: 1;
}

.section-head {
  max-width: 66ch;
  margin-bottom: var(--space-5);
}

.card-grid {
  display: grid;
  gap: var(--space-3);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fafdff 0%, #f4f9fe 100%);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b9ccdf;
  box-shadow: 0 18px 36px rgba(12, 35, 63, 0.14);
}

.card ul {
  margin: var(--space-2) 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.card ul li {
  margin-bottom: 7px;
}

.feature-pills {
  margin: var(--space-3) 0 var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #bde6d7;
  background: var(--accent-soft);
  color: #13684d;
  font-size: 0.86rem;
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.timeline-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.card-media {
  margin: -6px -6px 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #cadef0;
  background: #eff6fd;
  box-shadow: 0 10px 24px rgba(12, 35, 63, 0.10);
}

.card-media img {
  width: 100%;
  height: 168px;
  object-fit: contain;
  background: linear-gradient(180deg, #f8fcff 0%, #eef5fb 100%);
  padding: 8px;
  transition: transform .35s ease;
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-media-tight img {
  height: 132px;
}

.timeline-item span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.table-wrap {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow-x: auto;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
  background: #edf5fc;
  color: var(--text);
  font-weight: 700;
}

.comparison-table tbody th {
  color: var(--text);
  width: 32%;
}

.pricing-controls {
  margin-bottom: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pricing-controls label {
  margin-right: 2px;
}

.pricing-controls select {
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.pricing-controls p {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-faint);
}

.pricing-card .plan {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.price {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-variant-numeric: tabular-nums;
}

.price-desc {
  min-height: 54px;
}

.pricing-card.highlight {
  border-color: #b6decf;
  background: linear-gradient(180deg, #effaf5 0%, #e8f6f0 100%);
}

.fine-print {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  color: var(--text-faint);
}

.quote p {
  color: var(--brand-strong);
  font-size: 1rem;
}

.quote-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.quote-head img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #c1d3e7;
}

.scholamp-grid .reveal img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #c4d5e8;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fc 100%);
  padding: 10px;
}

.quote-head strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.15;
}

.quote-head span {
  color: var(--text-faint);
  font-size: 0.82rem;
  line-height: 1.15;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 14px 16px;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

details[open] {
  border-color: #b8d0e8;
  box-shadow: 0 10px 24px rgba(12, 35, 63, 0.10);
}

summary {
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin-top: 10px;
  margin-bottom: 0;
}

.contact-section {
  background: linear-gradient(180deg, #edf4fb 0%, #e7f1f9 100%);
}

.contact-points {
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  margin-bottom: 8px;
  color: var(--text-soft);
}

.lead-form {
  border-radius: var(--radius-lg);
  border: 1px solid #bfd1e4;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
  display: grid;
  gap: 10px;
}

label {
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-faint);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #eaf2f9;
  padding: var(--space-6) 0 var(--space-3);
}

.footer-shell {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-shell p {
  margin-top: 10px;
  max-width: 35ch;
}

.footer-shell h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-shell ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-shell li {
  margin-bottom: 8px;
}

.footer-shell a {
  text-decoration: none;
  color: var(--text-soft);
}

.footer-shell a:hover {
  color: var(--text);
}

.copyright {
  margin: var(--space-4) 0 0;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

:focus-visible {
  outline: 3px solid rgba(29, 191, 138, 0.45);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-grid,
  .scholamp-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 18ch;
  }

  .trust-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 70px;
  }

  .section {
    padding: 44px 0;
  }

  .site-nav {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: var(--space-3);
  }

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

  .menu-toggle {
    display: inline-block;
    justify-self: end;
    margin-left: 0;
  }

  .nav-actions {
    display: none;
  }

  .grid-3,
  .kpi-list,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: var(--space-3);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-cta .btn {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .card-media img {
    height: 158px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
