:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #121926;
  --muted: #5b677a;
  --line: rgba(18, 25, 38, 0.1);
  --blue: #2353ff;
  --blue-deep: #1837a5;
  --teal: #13b6b8;
  --green: #1b8f65;
  --amber: #c78412;
  --shadow: 0 22px 55px rgba(18, 25, 38, 0.12);
  --shadow-soft: 0 12px 32px rgba(18, 25, 38, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.page {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, border-color 180ms ease;
}

.nav-shell--scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(18, 25, 38, 0.14);
}

.nav-shell__glow {
  display: none;
}

.nav-bar {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand,
.nav-links a,
.link,
.playstore-link,
.btn {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 800;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 20px rgba(35, 83, 255, 0.1);
}

.brand__text {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  min-width: 0;
}

.nav-links a,
.link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover,
.link:hover {
  color: var(--blue-deep);
}

.nav-actions {
  justify-self: end;
}

.playstore-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 13px 8px 10px;
  border-radius: var(--radius);
  color: #fff;
  background: #101722;
  box-shadow: var(--shadow-soft);
}

.playstore-link__icon,
.playstore-link__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.playstore-link__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.playstore-link__copy small {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.8;
}

.playstore-link__copy strong {
  font-size: 14px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--teal));
  box-shadow: 0 18px 36px rgba(35, 83, 255, 0.24);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn.is-disabled {
  opacity: 0.7;
  pointer-events: none;
}

.page__content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 26px 24px 84px;
}

.hero--visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow);
  background: #101722;
  transform: translateZ(0);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  backface-visibility: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 34, 0.82) 0%, rgba(10, 18, 34, 0.62) 42%, rgba(10, 18, 34, 0.16) 100%),
    linear-gradient(180deg, rgba(10, 18, 34, 0.12), rgba(10, 18, 34, 0.46));
}

.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 620px;
  padding: clamp(36px, 7vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
  gap: 28px;
  align-items: end;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(35, 83, 255, 0.1);
  color: var(--blue-deep);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero--visual .eyebrow {
  color: #e9f8ff;
  background: rgba(255, 255, 255, 0.16);
}

.hero h1 {
  margin: 16px 0 14px;
  color: #fff;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  gap: 12px;
}

.hero-proof > div {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section-stack {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.intro-band,
.process-section,
.trust-section,
.resource-section,
.faq-section,
.cta-section,
.content-card,
.mini-card,
.step-card,
.audience-panel,
.resource-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.process-section,
.trust-section,
.resource-section,
.faq-section,
.cta-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.intro-band {
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: end;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.process-section,
.trust-section,
.resource-section,
.faq-section {
  padding: clamp(24px, 4vw, 40px);
}

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

.step-card {
  padding: 20px;
  box-shadow: none;
  background: #fbfcff;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 800;
}

.step-card h3,
.audience-panel h3,
.resource-card h3,
.mini-card h3,
.content-card h3,
.legal h3,
.trust-item strong {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.step-card p,
.resource-card p,
.mini-card p,
.content-card p,
.legal p,
.legal li,
.trust-item span {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.audience-panel {
  padding: clamp(24px, 4vw, 38px);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.audience-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: linear-gradient(135deg, var(--blue), transparent 45%, var(--teal));
  pointer-events: none;
}

.audience-panel > * {
  position: relative;
}

.audience-panel--student {
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
}

.audience-panel--agent {
  background: linear-gradient(180deg, #ffffff, #f2fbf9);
}

.list-clean {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--blue), var(--teal));
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.trust-grid,
.resource-grid,
.faq-stack {
  display: grid;
  gap: 14px;
}

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

.trust-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcff;
}

.trust-item strong,
.trust-item span {
  display: block;
}

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

.resource-card {
  padding: 20px;
  box-shadow: none;
}

.resource-card .link {
  display: inline-flex;
  margin-top: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cta-section {
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(120deg, #101722, #17233a);
}

.cta-section img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
}

.cta-section .section-title,
.cta-section .section-copy {
  color: #fff;
}

.cta-section .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.cta-section .eyebrow {
  color: #e9f8ff;
  background: rgba(255, 255, 255, 0.12);
}

.content-card,
.mini-card {
  padding: clamp(22px, 4vw, 34px);
}

.legal {
  max-width: 900px;
  margin: 0 auto;
}

.legal h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}

.legal h3 {
  margin-top: 24px;
}

.rich-copy {
  color: var(--muted);
  line-height: 1.8;
}

.rich-copy > *:first-child {
  margin-top: 0;
}

.rich-copy p,
.rich-copy ul,
.rich-copy ol,
.rich-copy blockquote {
  margin: 0 0 14px;
}

.rich-copy a,
.legal a {
  color: var(--blue-deep);
  font-weight: 800;
}

.footer {
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer__bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 980px) {
  .nav-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "links links";
    gap: 12px 18px;
  }

  .brand {
    grid-area: brand;
  }

  .nav-actions {
    grid-area: actions;
  }

  .nav-links {
    grid-area: links;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero-overlay,
  .intro-band,
  .section-heading,
  .split-section,
  .trust-section,
  .resource-grid,
  .cta-section {
    grid-template-columns: 1fr;
  }

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

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

  .cta-section {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .page__content,
  .nav-bar,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "actions"
      "links";
  }

  .nav-actions,
  .playstore-link {
    width: 100%;
  }

  .playstore-link {
    justify-content: center;
  }

  .hero--visual,
  .hero-overlay {
    min-height: 720px;
  }

  .nav-shell {
    background: #fff;
  }

  .nav-shell--scrolled {
    box-shadow: none;
  }

  .hero--visual {
    box-shadow: none;
    border-radius: 0 0 18px 18px;
  }

  .hero-media img {
    image-rendering: auto;
  }

  .intro-band,
  .process-section,
  .trust-section,
  .resource-section,
  .faq-section,
  .cta-section,
  .content-card,
  .mini-card,
  .step-card,
  .audience-panel,
  .resource-card,
  .hero-proof > div {
    box-shadow: 0 8px 20px rgba(18, 25, 38, 0.06);
  }

  .hero-overlay {
    padding: 28px;
  }

  .hero-proof,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .audience-panel {
    min-height: auto;
  }

  .btn {
    width: 100%;
  }
}
