:root {
  color-scheme: light dark;
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-soft: #e8efeb;
  --surface-muted: #d8e2dd;
  --text: #1c2521;
  --muted: #52615b;
  --line: #cbd8d2;
  --accent: #0f5c45;
  --accent-strong: #0b4937;
  --accent-soft: #d6ebe3;
  --radius: 18px;
  --shadow: 0 24px 70px rgb(31 48 41 / 0.12);
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111815;
    --surface: #18231f;
    --surface-soft: #1f2d28;
    --surface-muted: #263831;
    --text: #edf4f0;
    --muted: #b8c8c1;
    --line: #334941;
    --accent: #6fd0a8;
    --accent-strong: #94dfbf;
    --accent-soft: #173a2e;
    --shadow: 0 24px 70px rgb(0 0 0 / 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent-soft) 54%, transparent), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1rem;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}

.nav-shell,
.hero-shell,
.proof-shell,
.intro-shell,
.course-grid,
.path-shell,
.strength-grid,
.faq-shell,
.contact-section,
.footer-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

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

.brand strong {
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.nav-cta,
.primary-cta,
.text-link {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-strong);
}

.nav-cta,
.primary-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #ffffff;
  font-weight: 750;
  line-height: 1;
  padding: 0 1.15rem;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover,
.primary-cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.nav-cta:active,
.primary-cta:active {
  transform: translateY(1px) scale(0.98);
}

.hero-section {
  min-height: calc(100dvh - 72px);
  display: grid;
  align-items: center;
  padding: 3.5rem 0 3rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 690px;
}

.hero-label {
  margin: 0 0 1.2rem;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 7vw, 5.1rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-media {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: inherit;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 58% 48%;
}

.proof-strip {
  padding: 1rem 0 4rem;
}

.proof-shell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-shell article {
  display: grid;
  gap: 0.35rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  padding: 1.25rem;
}

.proof-shell strong {
  font-size: 1.02rem;
}

.proof-shell span,
.section-copy p,
.intro-panel p,
.course-card p,
.path-list p,
.strength-card p,
.faq-list p,
.contact-card p,
.site-footer p {
  color: var(--muted);
}

.section-pad {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.section-copy h2,
.contact-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.section-copy p {
  max-width: 680px;
  font-size: 1.06rem;
}

.centered-copy {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto 2.3rem;
  text-align: center;
}

.centered-copy p {
  margin-inline: auto;
}

.intro-panel {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2rem);
}

.intro-panel p {
  font-size: 1.05rem;
}

.text-link {
  color: var(--accent-strong);
  font-size: 1.7rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.course-section {
  background: color-mix(in srgb, var(--surface-soft) 70%, transparent);
}

.course-grid {
  display: grid;
  gap: 1rem;
}

.course-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(1.2rem, 4vw, 2.5rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.course-card-b2 {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

.course-card div {
  padding: clamp(1rem, 4vw, 2.25rem);
}

.course-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 1.15rem;
  font-weight: 900;
}

.course-card h3,
.strength-card h3,
.path-list h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.course-card img {
  width: 100%;
  height: 360px;
  border-radius: calc(var(--radius) - 4px);
  object-fit: cover;
}

.path-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
}

.path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.path-list article,
.strength-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.path-list article,
.strength-card {
  padding: 1.35rem;
}

.strength-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 1rem;
}

.wide-card {
  grid-row: span 2;
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.accent-card {
  background: var(--accent-soft);
}

.dark-card {
  background: var(--text);
  color: var(--bg);
}

.dark-card p {
  color: color-mix(in srgb, var(--bg) 74%, transparent);
}

.faq-section {
  background: color-mix(in srgb, var(--surface-soft) 72%, transparent);
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1.15rem 1.25rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 0.75rem 0 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  border-radius: calc(var(--radius) + 8px);
  background: var(--accent);
  color: #ffffff;
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: var(--shadow);
}

.contact-card p {
  max-width: 580px;
  color: rgb(255 255 255 / 0.82);
}

.light-cta {
  background: #ffffff;
  color: #0b4937;
}

.light-cta:hover {
  background: #ecf7f2;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .hero-shell,
  .intro-shell,
  .path-shell,
  .faq-shell,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 420px;
  }

  .proof-shell,
  .path-list,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  .course-card-b2 {
    grid-template-columns: 1fr;
  }

  .course-card-b2 img {
    order: 2;
  }

  .course-card-b2 div {
    order: 1;
  }

  .wide-card {
    grid-row: auto;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .hero-shell,
  .proof-shell,
  .intro-shell,
  .course-grid,
  .path-shell,
  .strength-grid,
  .faq-shell,
  .contact-section,
  .footer-shell {
    width: min(100% - 1rem, 1120px);
  }

  .brand small {
    display: none;
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    min-height: 42px;
    padding-inline: 0.95rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-media,
  .hero-media img {
    min-height: 380px;
  }

  .section-pad {
    padding: 3.7rem 0;
  }

  .course-card img {
    height: 270px;
  }
}
