:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --ink: #151923;
  --muted: #5d6575;
  --line: #dfe4ed;
  --panel: #ffffff;
  --red: #d82233;
  --red-dark: #ad1423;
  --blue: #1565c0;
  --cyan: #1d9bb5;
  --green: #228b62;
  --graphite: #242a36;
  --shadow: 0 18px 50px rgba(21, 25, 35, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(247, 248, 251, 0.92);
  border-bottom: 1px solid rgba(223, 228, 237, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 0.86rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.96rem;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
}

.header-cta {
  color: #fff;
  background: var(--graphite);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: 7vw 5vw 4vw;
  overflow: hidden;
  background: #11151f;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 19, 0.88) 0%, rgba(10, 13, 19, 0.68) 46%, rgba(10, 13, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 13, 19, 0.72) 0%, rgba(10, 13, 19, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff5a66;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 6.5vw, 5.6rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

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

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

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(720px, 100%);
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-size: 1.65rem;
  font-weight: 850;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: 84px 5vw;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.strip-item {
  min-height: 170px;
  padding: 32px;
  background: var(--panel);
}

.strip-item span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 850;
}

.strip-item p,
.split p,
.course-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 56px;
  align-items: start;
}

.module-tabs {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.tab-button,
.billing-button {
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active,
.billing-button.active {
  color: #fff;
  background: var(--graphite);
}

.tab-panel {
  display: none;
  padding: 34px;
}

.tab-panel.active {
  display: block;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  text-align: center;
  margin-inline: auto;
}

.cards {
  display: grid;
  gap: 18px;
}

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

.course-card,
.price-card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 850;
}

.course-card:nth-child(2) .card-icon {
  background: var(--red);
}

.course-card:nth-child(3) .card-icon {
  background: var(--green);
}

.pricing {
  background: #edf1f6;
}

.billing-toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.billing-button {
  padding: 0 18px;
  border-radius: 6px;
}

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

.price-card {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
}

.price-card.featured {
  color: #fff;
  background: var(--graphite);
  border-color: var(--graphite);
  box-shadow: var(--shadow);
}

.price-card.featured ul {
  color: rgba(255, 255, 255, 0.8);
}

.price {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 10px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 50px;
  align-items: start;
  background: #fff;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
}

.contact-points span {
  padding-left: 18px;
  border-left: 4px solid var(--cyan);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd6e2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.faq {
  background: var(--bg);
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 66px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-answer.open {
  display: block;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 5vw;
  color: rgba(255, 255, 255, 0.75);
  background: #11151f;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .three,
  .pricing-grid,
  .intro-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding-inline: 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero {
    min-height: calc(100vh - 64px);
    padding: 96px 18px 28px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 18px;
  }

  .intro-strip {
    padding: 0;
  }

  .strip-item,
  .tab-panel,
  .course-card,
  .price-card,
  .lead-form {
    padding: 22px;
  }

  .tab-button {
    font-size: 0.9rem;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-button {
    flex: 1;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .site-footer {
    flex-direction: column;
  }
}
