:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #536171;
  --line: #d9e1e8;
  --paper: #f7fafc;
  --white: #ffffff;
  --aws: #ff9900;
  --blue: #0e5cad;
  --teal: #008c8c;
  --green: #1d7f52;
  --charcoal: #0c1b2a;
  --shadow: 0 20px 60px rgba(12, 27, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 252, 0.92);
  border-bottom: 1px solid rgba(217, 225, 232, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
.metrics,
.mini-video {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 32px;
  border-radius: 6px;
  color: #16191f;
  background: var(--aws);
  font-size: 0.78rem;
}

nav {
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta,
.primary-button,
.secondary-button,
.whatsapp-button {
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.nav-cta {
  padding: 0 16px;
  color: var(--white);
  background: var(--charcoal);
}

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 7vw, 88px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(120deg, rgba(255, 153, 0, 0.18), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eef6f8 56%, #e8f1ff 100%);
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 0.93;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  padding: 0 22px;
}

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

.secondary-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.whatsapp-button {
  gap: 10px;
  width: fit-content;
  margin-top: 26px;
  padding: 0 22px;
  color: #063c27;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.2);
}

.whatsapp-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.whatsapp-button:hover {
  background: #36e476;
}

.metrics {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.metrics div {
  min-width: 156px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.metrics dt {
  font-size: 1.7rem;
  font-weight: 900;
}

.metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.hero-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.panel-label {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-weight: 900;
}

.mini-video {
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.mini-video img {
  width: 168px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 6px;
  background: #05080c;
}

.mini-video span {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.mini-video strong {
  color: var(--ink);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

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

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

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

.track-card,
.minicourse-card,
.video-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.track-card {
  min-height: 220px;
  padding: 22px;
}

.track-card span {
  color: var(--aws);
  font-weight: 900;
}

.track-card h3 {
  margin-top: 24px;
}

.track-card p,
.video-content p,
details p,
.career-band p,
.career-list {
  color: var(--muted);
  line-height: 1.62;
}

.videos-section {
  background: var(--white);
}

.minicourses-section {
  background: #eef6f8;
}

.minicourse-grid {
  grid-template-columns: minmax(0, 0.72fr);
}

.minicourse-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
}

.minicourse-media {
  background: #05080c;
}

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

.minicourse-content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
}

.minicourse-content span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.minicourse-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.minicourse-content .primary-button {
  width: fit-content;
  margin-top: 8px;
}

.video-card {
  overflow: hidden;
}

.video-embed {
  background: #05080c;
}

.video-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
}

.video-content {
  padding: 18px;
}

.video-content span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.video-content h3 {
  margin-top: 8px;
}

.video-content p {
  margin: 12px 0 0;
}

.career-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--charcoal);
}

.career-band .eyebrow {
  color: var(--aws);
}

.career-band p,
.career-list {
  color: #c7d5e2;
}

.career-list {
  margin: 0;
  padding-left: 20px;
  font-size: 1.06rem;
}

.career-list li + li {
  margin-top: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #d8e4ee;
  background: #07111c;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--aws);
  font-weight: 900;
}

@media (max-width: 1120px) {
  .track-grid,
  .minicourse-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .minicourse-card {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.25rem);
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .hero-panel {
    padding: 14px;
  }

  .mini-video img {
    width: 96px;
  }

  .track-grid,
  .minicourse-grid,
  .video-grid,
  .career-band {
    grid-template-columns: 1fr;
  }

  .metrics div {
    width: 100%;
  }
}

.course-shell {
  min-height: calc(100svh - 74px);
  background: #f7fafc;
}

.access-shell {
  min-height: calc(100svh - 74px);
  background:
    linear-gradient(120deg, rgba(255, 153, 0, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eef6f8 62%, #e8f1ff 100%);
}

.access-hero {
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.access-hero h1 {
  max-width: 14ch;
}

.access-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.access-form h2 {
  font-size: 1.65rem;
}

.access-form label {
  color: var(--ink);
  font-weight: 900;
}

.access-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.access-form button {
  min-height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.access-form p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.course-hero {
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(120deg, rgba(255, 153, 0, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eef6f8 62%, #e8f1ff 100%);
}

.course-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 56px) clamp(56px, 7vw, 92px);
}

.course-player,
.lesson-sidebar,
.lesson-notes {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.course-player {
  overflow: hidden;
}

.course-player iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #05080c;
  aspect-ratio: 16 / 9;
}

.lesson-notes {
  margin-top: 16px;
  padding: 22px;
}

.lesson-notes h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.lesson-notes p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.lesson-sidebar {
  overflow: hidden;
}

.lesson-sidebar header {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.lesson-sidebar h2 {
  font-size: 1.15rem;
}

.lesson-list {
  display: grid;
  max-height: 72svh;
  overflow-y: auto;
}

.lesson-button {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.lesson-button:hover,
.lesson-button[aria-current="true"] {
  background: #eef6f8;
}

.lesson-button img {
  width: 72px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.lesson-button span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.lesson-button strong {
  display: block;
  margin-top: 4px;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .access-hero,
  .course-layout {
    grid-template-columns: 1fr;
  }

  .lesson-list {
    max-height: none;
  }
}
