:root {
  --ink: #142322;
  --muted: #5d6d69;
  --paper: #fbfaf7;
  --mist: #eef5f0;
  --teal: #0b5f58;
  --teal-deep: #083f3b;
  --clay: #b86148;
  --gold: #d7ad63;
  --line: rgba(20, 35, 34, 0.12);
  --shadow: 0 24px 80px rgba(11, 54, 51, 0.18);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(20, 35, 34, 0.08);
  backdrop-filter: blur(12px);
}

section,
footer,
.program-list article {
  scroll-margin-top: 92px;
}

.brand,
.nav-links,
.hero-actions,
.hero-facts,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 136px;
}

.brand-logo {
  width: 136px;
  height: auto;
}

.nav-links {
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  font-size: 14px;
}

.nav-links a,
.header-cta,
.header-contacts a {
  opacity: 0.9;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.header-cta:hover,
.header-contacts a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-contacts {
  display: grid;
  gap: 2px;
  justify-items: end;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}

.header-contacts a:first-child {
  color: #0f5b3e;
  font-weight: 800;
}

.header-contacts a:last-child {
  color: rgba(8, 29, 27, 0.72);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(0, 166, 80, 0.42);
  border-radius: 999px;
  color: #00a650;
  font-weight: 700;
  background: rgba(0, 166, 80, 0.08);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 88svh;
  padding: clamp(110px, 14vh, 170px) clamp(20px, 6vw, 76px) 52px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 22%, rgba(215, 173, 99, 0.28), transparent 24rem),
    linear-gradient(135deg, #072321 0%, #0b5f58 50%, #153330 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  pointer-events: none;
}

.hero-media img {
  width: min(62vw, 760px);
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.96;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 24, 23, 0.96) 0%, rgba(5, 24, 23, 0.74) 40%, rgba(5, 24, 23, 0.02) 100%),
    linear-gradient(0deg, rgba(5, 24, 23, 0.32), rgba(5, 24, 23, 0) 48%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  color: var(--gold);
}

h1 {
  max-width: 760px;
  margin: 0;
  overflow-wrap: normal;
  hyphens: manual;
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  overflow-wrap: normal;
  hyphens: manual;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  overflow-wrap: normal;
  hyphens: manual;
  font-size: 21px;
  line-height: 1.18;
}

p {
  margin: 0;
  overflow-wrap: break-word;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.hero-lead {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: var(--clay);
  box-shadow: 0 18px 38px rgba(184, 97, 72, 0.28);
}

.button.primary:hover {
  background: #a9513b;
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-facts {
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: clamp(36px, 7vh, 74px) 0 0;
}

.hero-facts div {
  min-width: 132px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-facts dt {
  font-size: 26px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: clamp(70px, 10vw, 124px) clamp(20px, 6vw, 76px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.intro {
  background: #ffffff;
}

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

.intro-grid p {
  max-width: 650px;
  padding-top: 8px;
  font-size: 19px;
}

.audience {
  background:
    linear-gradient(180deg, var(--paper), var(--mist));
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.audience-grid article {
  min-height: 280px;
  padding: 30px;
  background: #ffffff;
}

.card-number {
  display: block;
  margin-bottom: 58px;
  color: var(--clay);
  font-weight: 900;
}

.audience-grid p {
  margin-top: 16px;
}

.results {
  background: var(--teal-deep);
}

.results-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  color: #ffffff;
}

.results-panel h2 {
  color: #ffffff;
}

.result-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.result-list li {
  position: relative;
  padding: 20px 20px 20px 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  line-height: 1.55;
}

.result-list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.course-topics {
  background: #ffffff;
}

.course-topics .section-heading {
  max-width: 960px;
}

.course-topics .section-heading p:last-child {
  margin-top: 18px;
  font-size: 18px;
}

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

.topic-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(238, 245, 240, 0.74), rgba(255, 255, 255, 0.96));
}

.topic-grid h3 {
  color: var(--teal-deep);
}

.topic-grid p {
  margin-top: 14px;
  font-size: 16px;
}

.program {
  background: #ffffff;
}

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

.program-list article {
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
}

.program-list span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.program-list p {
  margin-top: 14px;
  font-size: 16px;
}

.lesson-more {
  display: inline;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--teal);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lesson-more:hover {
  color: var(--clay);
}

.author {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(280px, 0.84fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(238, 245, 240, 0.92), rgba(255, 255, 255, 0.98));
}

.author-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--mist);
}

.author-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  object-position: center;
}

.author-copy {
  max-width: 760px;
}

.author-lead {
  margin-top: 20px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.48;
}

.author-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}

.author-facts div {
  padding: 18px;
  border-radius: var(--radius);
  background: #ffffff;
}

.author-facts strong,
.author-facts span {
  display: block;
}

.author-facts strong {
  color: var(--teal);
  font-size: 22px;
}

.author-facts span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.price {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 7vw, 82px);
  align-items: center;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 35, 33, 0.96), rgba(11, 95, 88, 0.95)),
    var(--teal-deep);
}

.price h2,
.price p {
  color: #ffffff;
}

.price-copy p {
  max-width: 670px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
}

.price-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.price-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-card strong {
  display: block;
  margin: 8px 0 26px;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1;
}

.price-card p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 24, 23, 0.72);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(720px, calc(100svh - 36px));
  overflow: auto;
  padding: clamp(24px, 5vw, 34px);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.modal-card h2 {
  font-size: clamp(30px, 5vw, 42px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  background: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.modal-copy {
  margin: 14px 0 22px;
}

.lesson-modal {
  position: fixed;
  z-index: 55;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lesson-modal[aria-hidden="false"] {
  display: flex;
}

.lesson-modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  padding: clamp(24px, 5vw, 38px);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.lesson-modal-card h2 {
  max-width: 560px;
  font-size: clamp(28px, 5vw, 44px);
}

#lesson-modal-description {
  margin-top: 18px;
  color: var(--ink);
  font-size: 18px;
}

#lesson-modal-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

#lesson-modal-list li {
  position: relative;
  padding: 14px 16px 14px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--paper);
  line-height: 1.5;
}

#lesson-modal-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
}

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

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.lead-form input:focus {
  outline: 2px solid rgba(184, 97, 72, 0.28);
  outline-offset: 2px;
}

.checkbox-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 500;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--clay);
}

.checkbox-row span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.checkbox-row a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 22px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

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

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

details p {
  padding: 0 24px 24px;
}

.license-trust {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  background: #ffffff;
}

.license-copy {
  max-width: 560px;
}

.license-copy p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.license-badge {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(20, 35, 34, 0.12);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.license-badge-wrap {
  position: relative;
}

.license-icon {
  position: absolute;
  z-index: 2;
  top: -18px;
  left: -18px;
  width: 58px;
  height: 58px;
  border: 6px solid #ffffff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 35, 34, 0.16);
}

.license-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(20, 35, 34, 0.16);
}

.license-badge img {
  width: 100%;
  aspect-ratio: 1264 / 965;
  object-fit: cover;
  object-position: top left;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(220px, 1fr);
  gap: 28px;
  padding: 40px clamp(20px, 6vw, 76px);
  color: rgba(255, 255, 255, 0.86);
  background: #071918;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.footer-links {
  align-content: start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-legal {
  display: grid;
  gap: 4px;
}

.footer-contact-card {
  display: grid;
  gap: 8px;
  align-items: start;
  max-width: 360px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-contact-card strong,
.footer-contact-card a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  margin-top: 2px;
  padding: 0 16px;
  border-radius: 8px;
  color: #071918 !important;
  background: #ccf0dd;
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.social-icon:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.social-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 940px;
}

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

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

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

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

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 12px 16px;
  }

  .header-contacts {
    display: none;
  }

  .brand {
    min-width: 112px;
  }

  .brand-logo {
    width: 112px;
  }

  .hero {
    min-height: 86svh;
    padding: 96px 18px 34px;
  }

  .hero-media {
    justify-content: center;
  }

  .hero-media img {
    width: 100%;
    opacity: 0.72;
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 24, 23, 0.9), rgba(5, 24, 23, 0.58)),
      linear-gradient(0deg, rgba(5, 24, 23, 0.48), rgba(5, 24, 23, 0.02) 48%);
  }

  h1 {
    font-size: clamp(30px, 8.7vw, 34px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-lead {
    margin-top: 20px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero-facts div {
    min-width: 0;
    padding: 12px 10px;
  }

  .hero-facts dt {
    font-size: 20px;
  }

  .intro-grid,
  .results-panel,
  .author,
  .price,
  .license-trust,
  .footer {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .topic-grid,
  .program-list,
  .author-facts {
    grid-template-columns: 1fr;
  }

  .audience-grid article,
  .program-list article {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 32px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }

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