:root {
  color-scheme: light;
  --navy: #0d1b27;
  --navy-soft: #162a3b;
  --red: #e30620;
  --red-dark: #b7071d;
  --blue: #2f79b9;
  --ice: #eef6fb;
  --text: #172033;
  --muted: #5d6a7f;
  --line: #dde6ef;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 31, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui,
    -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(221, 230, 239, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-logo {
  width: 88px;
  height: 42px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a:hover {
  color: var(--navy);
}

.header-cta,
.button,
.contact-form button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--red);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 18, 29, 0.96) 0%, rgba(10, 26, 43, 0.9) 33%, rgba(10, 26, 43, 0.42) 60%, rgba(10, 26, 43, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 26, 51, 0.34), rgba(8, 26, 51, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  padding: 98px 0 76px;
  margin-left: clamp(20px, 6vw, 88px);
  color: var(--white);
}

.hero-brand-line {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff6a78;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

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

.button {
  padding: 0 22px;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover,
.header-cta:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 48px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats dt {
  margin-bottom: 6px;
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-strip a {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 14px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  text-align: center;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.trust-strip a:hover,
.trust-strip a:focus {
  color: var(--white);
  background: var(--red);
  transform: translateY(-2px);
  outline: none;
}

.section,
.feature-band,
.contact-section,
.pathway-section,
.faq-section,
.program-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section,
.pathway-section,
.faq-section,
.program-section {
  padding: 86px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.feature-content h2,
.contact-section h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.18;
}

.intro-copy p,
.feature-content p,
.contact-section > div p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(10, 31, 58, 0.06);
}

.card-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card h3,
.timeline h3,
.pathway-grid h3 {
  color: var(--navy);
  font-size: 1.2rem;
}

.service-card p,
.timeline p,
.audience-grid p,
.form-note,
.pathway-grid p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.72;
}

.service-card ul {
  display: grid;
  gap: 8px;
  padding: 16px 0 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.92rem;
  list-style: none;
}

.service-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--red);
}

.program-section {
  padding-top: 16px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  scroll-margin-top: 110px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.program-card:target {
  border-color: rgba(227, 6, 32, 0.6);
  box-shadow: 0 0 0 4px rgba(227, 6, 32, 0.1);
}

.program-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 800;
}

.program-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
}

.program-card p {
  color: var(--muted);
  line-height: 1.72;
}

.program-card ul {
  display: grid;
  gap: 8px;
  padding: 16px 0 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.92rem;
  list-style: none;
}

.program-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--red);
}

.pathway-section {
  padding-top: 14px;
}

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

.pathway-grid article {
  padding: 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbfd, #ffffff);
  border: 1px solid var(--line);
}

.pathway-grid span {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  gap: 44px;
  align-items: center;
  padding: 56px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 27, 39, 0.98), rgba(22, 42, 59, 0.94)),
    var(--navy);
  box-shadow: var(--shadow);
}

.feature-content h2,
.feature-content p {
  color: var(--white);
}

.feature-content p {
  color: rgba(255, 255, 255, 0.76);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  padding: 26px;
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--ice);
}

.timeline span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.audience {
  padding-top: 22px;
}

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

.audience-grid p {
  margin: 0;
  padding: 22px 24px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #f8fbfd;
}

.faq-section {
  padding-top: 18px;
}

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

.faq-grid details {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(10, 31, 58, 0.05);
}

.faq-grid summary {
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.faq-grid p {
  margin: 14px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: 56px;
  align-items: start;
  padding: 66px;
  margin-bottom: 76px;
  border-radius: 8px;
  background: #f6f9fc;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-points span {
  display: block;
  padding: 13px 14px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 700;
}

.direct-contact {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.direct-contact h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.direct-contact p {
  margin: 7px 0;
  color: var(--muted);
  line-height: 1.5;
}

.hidden-field {
  display: none;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  color: var(--white);
  background: var(--navy);
  font-size: 1rem;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
}

.footer-brand img {
  width: 86px;
  height: 38px;
  object-fit: contain;
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(13, 27, 39, 0.96), rgba(22, 42, 59, 0.9)),
    var(--navy);
}

.thanks-card {
  width: min(620px, 100%);
  padding: 52px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card img {
  width: 170px;
  height: auto;
  margin-bottom: 30px;
}

.thanks-card h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.thanks-card p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.8;
}

.thanks-card .button {
  margin-top: 16px;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .service-grid,
  .program-grid,
  .pathway-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-header {
    align-items: center;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 20, 40, 0.96), rgba(8, 26, 51, 0.64));
  }

  .intro,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 82px;
    height: 36px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 790px;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 72px;
    margin-left: 16px;
  }

  .hero-brand-line {
    margin-bottom: 22px;
    font-size: 0.78rem;
  }

  .hero-stats,
  .service-grid,
  .program-grid,
  .timeline,
  .pathway-grid,
  .audience-grid,
  .faq-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section,
  .pathway-section,
  .faq-section,
  .program-section {
    padding: 60px 0;
  }

  .section,
  .feature-band,
  .contact-section,
  .pathway-section,
  .faq-section,
  .program-section,
  .trust-strip {
    width: calc(100% - 32px);
  }

  .feature-band,
  .contact-section,
  .thanks-card {
    padding: 28px 20px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}
