:root {
  --blue: #0012fd;
  --blue-deep: #0400bc;
  --blue-light: #4232ff;
  --yellow: #ffe400;
  --ink: #11111a;
  --black: #0a0a0a;
  --dark: #121214;
  --dark-card: #18181b;
  --light: #ffffff;
  --light-soft: #f4f4f2;
  --border-light: #e2e2de;
  --border-dark: #28282d;
  --text-soft: #63636b;
  --text-dark-soft: #9c9ca5;
  --max: 1200px;
  --pad: clamp(20px, 4vw, 32px);

  /* Escala de espaciado - base 4px */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 48px;
  --s-10: 64px;
  --s-11: 80px;
  --s-12: 96px;
  --s-13: 128px;
  --section-y: clamp(72px, 9vw, 128px);
  --section-y-sm: clamp(56px, 7vw, 96px);
  --gutter: clamp(24px, 4vw, 56px);

  /* Roles tipograficos */
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

::selection {
  background: var(--blue);
  color: var(--light);
}

.wrap {
  width: min(100% - calc(var(--pad) * 2), var(--max));
  margin-inline: auto;
}

main,
section,
.wrap,
.hero-grid > *,
.intro-grid > *,
.about-grid > *,
.programs-head > *,
.quiz-grid > *,
.classes-grid > *,
.faq-grid > * {
  min-width: 0;
}

.section-yellow {
  background:
    radial-gradient(95% 64% at 52% -8%, rgba(255,255,255,.58), transparent 62%),
    linear-gradient(180deg, var(--yellow) 0%, #ffdf00 100%);
}

.hero.section-yellow {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, var(--yellow) 0%, #ffdf00 100%);
}

.section-light {
  background: var(--light);
}

.section-dark {
  background:
    radial-gradient(78% 48% at 72% 0%, rgba(0,18,253,.18), transparent 62%),
    linear-gradient(180deg, var(--black) 0%, #050505 100%);
  color: var(--light);
}

.section-blue {
  background:
    radial-gradient(85% 70% at 15% 0%, rgba(255,255,255,.22), transparent 58%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000;
  color: var(--light);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.wordmark {
  flex: 0 0 auto;
}

.wordmark img {
  width: clamp(104px, 12vw, 128px);
  height: auto;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 28px);
}

.nav a,
.login-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255,255,255,.88);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 260ms var(--ease), color 220ms ease;
}

.nav a:hover,
.login-link:hover {
  color: var(--light);
  background-size: 100% 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: var(--s-4) var(--s-6);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .002em;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), filter 240ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 26px -16px rgba(120,92,0,.75), inset 0 1px 0 rgba(255,255,255,.6);
}

.btn-dark {
  background: var(--ink);
  color: var(--light);
  box-shadow: 0 16px 28px -18px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.1);
}

.btn-blue {
  background: var(--blue);
  color: var(--light);
  box-shadow: 0 16px 34px -20px rgba(0,18,253,.74), inset 0 1px 0 rgba(255,255,255,.18);
}

.btn-light {
  background: var(--light);
  color: var(--ink);
}

.btn-outline-light {
  border-color: rgba(255,255,255,.22);
  color: var(--light);
}

.hero {
  padding: clamp(44px, 5vw, 76px) 0 clamp(46px, 6vw, 74px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .72fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.hero h1,
.final-cta h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 7.2vw, 96px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: .012em;
  overflow-wrap: anywhere;
}

.hero-side {
  display: grid;
  gap: 28px;
  padding-top: clamp(12px, 1.8vw, 28px);
}

.hero-side p {
  width: 100%;
  max-width: 420px;
  margin: 0;
  color: rgba(17,17,26,.74);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(17,17,26,.28);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.hero-meta-detail {
  color: rgba(17,17,26,.62);
  text-align: right;
}

.hero-flags {
  display: inline-flex;
  gap: 6px;
}

.hero-flags i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 22px;
  border: 1px solid rgba(17,17,26,.2);
  border-radius: 4px;
  background: linear-gradient(#f6d64a 0 50%, #1f55a6 50% 75%, #d92c36 75%);
  color: var(--ink);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-flags i:nth-child(2) {
  background: linear-gradient(90deg, #1b4f9c 0 33%, #f5f5f5 33% 66%, #d74445 66%);
}

.hero-flags i:nth-child(3) {
  background: linear-gradient(#d33b3b 0 33%, #f5f5f5 33% 66%, #2f8c5b 66%);
}

.hero-media {
  grid-column: 1 / -1;
  margin: clamp(20px, 3.5vw, 46px) 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--ink);
  box-shadow: 0 24px 60px -44px rgba(0,0,0,.7);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1136 / 462;
  object-fit: cover;
}

.hero-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.hero-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(17,17,26,.24);
}

.hero-dots .is-active {
  width: 11px;
  height: 11px;
  background: var(--blue);
}

.trust {
  position: relative;
  overflow: hidden;
  padding: var(--section-y-sm) 0;
}

.trust::before,
.trust::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.trust::before {
  left: -52px;
  top: 42%;
  width: 150px;
  height: 190px;
  border-radius: 52% 48% 46% 54%;
  background: #0201ff;
  transform: rotate(-18deg);
}

.trust::after {
  right: -28px;
  top: 48%;
  width: 150px;
  height: 150px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 62% 33%, 100% 22%, 72% 50%, 100% 78%, 61% 67%, 50% 100%, 38% 67%, 0 78%, 28% 50%, 0 22%, 39% 33%);
}

.trust-inner {
  display: grid;
  gap: var(--s-8);
  justify-items: center;
  text-align: center;
}

.academy-proof {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.36;
  letter-spacing: -.025em;
}

.trust p {
  max-width: 850px;
  margin: 0;
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.34;
  letter-spacing: -.028em;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  opacity: .9;
}

.trust-logos img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

.academy-summary {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  justify-items: start;
  width: 100%;
  text-align: left;
}

.academy-proof {
  max-width: 46ch;
  margin-inline: auto;
}

.academy-heading {
  max-width: 780px;
}

.academy-heading h2 {
  margin: var(--s-4) 0 var(--s-5);
  font-size: clamp(34px, 4.2vw, 58px);
}

.academy-heading p {
  max-width: 68ch;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
}

.academy-claim {
  display: block;
  max-width: 60ch;
  margin-top: var(--s-6);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
}

.academy-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  text-align: left;
}

.academy-notes article {
  min-height: 112px;
  padding: 0 var(--s-6);
  border-left: 1px solid var(--border-light);
}

.academy-notes article:first-child {
  padding-left: 0;
  border-left: 0;
}

.academy-notes strong {
  display: block;
  margin-bottom: var(--s-3);
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.4;
}

.academy-notes p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.academy-lab {
  padding: var(--s-9) 0 var(--section-y);
  overflow: hidden;
}

.lab-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 330px));
  gap: var(--s-6);
  justify-content: center;
  margin-bottom: var(--s-6);
}

.lab-badge {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: 24px;
  color: var(--light);
}

.lab-badge strong {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}

.lab-badge span {
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  color: var(--light);
}

.lab-badge-blue { background: #3100ff; }
.lab-badge-yellow { background: var(--yellow); color: var(--ink); }
.lab-badge-yellow strong { color: var(--light); }
.lab-badge-black { background: var(--black); }
.lab-badge-black strong { background: #4900ff; }

.lab-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 330px));
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
}

.lab-feature-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: 24px;
  background: #ececec;
  overflow: visible;
}

.lab-feature-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -72px;
  width: 137px;
  height: 130px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: #2700ff;
}

.lab-feature-card:nth-child(2)::after {
  background: #fde713;
}

.lab-feature-card:nth-child(3)::after {
  background: #3b20ff;
}

.lab-feature-card h2,
.lab-feature-card span {
  position: relative;
  z-index: 1;
}

.lab-feature-card h2 {
  max-width: 260px;
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.lab-feature-card span {
  align-self: flex-start;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(174,174,174,.56);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}

.lab-media-grid {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(0, 1.1fr) minmax(240px, .58fr);
  gap: var(--s-6);
  align-items: stretch;
}

.lab-media-copy,
.lab-media-grid aside {
  min-height: 320px;
  padding: 20px 24px;
  border-radius: 24px;
  background: #ececec;
  color: var(--ink);
}

.lab-media-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.lab-media-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.34;
}

.lab-media-grid img {
  width: 100%;
  min-height: 300px;
  height: 100%;
  object-fit: cover;
  border: 4px solid #899394;
  border-radius: 20px;
}

.lab-media-grid aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ececec;
}

.lab-media-grid aside h3 {
  max-width: 280px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.32;
}

.lab-media-grid aside span {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

.intro,
.about,
.programs,
.faq {
  padding: var(--section-y) 0;
}

.programs.section-light {
  padding: var(--section-y-sm) 0 var(--section-y);
  background: var(--black);
  color: var(--light);
}

.intro-grid,
.about-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(300px, .78fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.032em;
  overflow-wrap: anywhere;
}

h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.022em;
}

h3,
h4,
p {
  margin-top: 0;
}

.intro-copy p,
.about-copy p,
.section-head p,
.program-feature p,
.solution-grid p,
.quiz p,
.faq p,
.site-footer p {
  color: var(--text-soft);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
}

.intro-copy h2,
.about-copy h2,
.faq-copy h2,
.quiz h2 {
  margin-bottom: var(--s-5);
}

.intro-copy p,
.about-copy p {
  max-width: 68ch;
  margin-bottom: var(--s-5);
}

.about-copy > .btn,
.intro-copy > .btn {
  margin-top: var(--s-4);
}

.intro-copy strong {
  display: block;
  margin: 24px 0 6px;
  font-size: clamp(17px, 1.6vw, 20px);
}

.intro-notes {
  display: grid;
  gap: 16px;
}

.intro-notes article,
.case-card,
.solution-grid article,
.story-card,
.faq details {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--light);
  box-shadow: 0 1px 2px rgba(11,11,15,.04), 0 16px 42px -32px rgba(11,11,15,.5);
}

.intro-notes article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: var(--s-7);
}

.intro-notes span {
  color: var(--blue);
}

.path,
.why,
.stories,
.final-cta {
  padding: clamp(78px, 10vw, 128px) 0;
}

.section-head {
  max-width: 760px;
  margin-inline: 0;
  margin-bottom: var(--s-9);
  text-align: left;
}

.section-head > * + * {
  margin-top: var(--s-5);
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head .eyebrow + h2 {
  margin-top: var(--s-4);
}

.section-head p {
  max-width: 68ch;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center p {
  margin-inline: auto;
}

.center {
  text-align: center;
}

.section-dark .section-head p,
.section-dark p {
  color: var(--text-dark-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: var(--s-4);
  padding: var(--s-7);
  border: 1px solid rgba(255,255,255,.84);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.steps span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.step-visual {
  min-height: 132px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 70% 28%, rgba(255,228,0,.92) 0 12px, transparent 13px),
    linear-gradient(135deg, rgba(0,18,253,.75), rgba(8,10,19,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  position: relative;
}

.step-visual::before,
.route-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.22);
  background:
    linear-gradient(90deg, rgba(255,255,255,.22) 0 32%, transparent 32% 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.22) 0 2px, transparent 2px 13px);
}

.step-visual::after,
.route-visual::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: var(--yellow);
}

.step-visual-learn {
  background:
    radial-gradient(circle at 25% 26%, rgba(255,228,0,.95) 0 16px, transparent 17px),
    linear-gradient(135deg, #16161f, var(--blue));
}

.step-visual-profile {
  background:
    linear-gradient(90deg, rgba(255,228,0,.95) 0 24%, transparent 24%),
    linear-gradient(135deg, #121214, #23233a);
}

.step-visual-connect {
  background:
    radial-gradient(circle at 78% 22%, rgba(255,228,0,.95) 0 14px, transparent 15px),
    radial-gradient(circle at 24% 72%, rgba(0,18,253,.85) 0 34px, transparent 35px),
    linear-gradient(135deg, #11111a, #0400bc);
}

.steps h3 {
  margin: 0;
  color: var(--light);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.steps p {
  margin: 0;
}

.about-grid {
  align-items: center;
}

.about-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--light-soft);
}

.about-media img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
}

.case-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
}

.case-card {
  padding: var(--s-7);
}

.case-card small {
  color: var(--blue);
  font-weight: 700;
}

.case-card h3 {
  margin: var(--s-4) 0 var(--s-3);
}

.why-list {
  display: grid;
  border-top: 1px solid rgba(255,255,255,.16);
}

.why-list article {
  display: grid;
  grid-template-columns: 70px minmax(220px, .45fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.why-list span {
  color: var(--yellow);
  font-size: 15px;
  font-weight: 850;
}

.why-list strong {
  display: block;
  margin: 0;
  color: var(--light);
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.22;
  letter-spacing: -.03em;
}

.why-list p {
  max-width: 560px;
  margin: 0;
}

.programs-explorer {
  display: grid;
  grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  margin-bottom: 0;
  padding: var(--gutter);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.78) 48%, rgba(10,10,10,.88) 100%),
    url("assets/programs-backdrop.png") center / cover;
  color: var(--light);
  overflow: hidden;
  position: relative;
}

.programs-explorer > * {
  position: relative;
  z-index: 1;
}

.programs > .wrap {
  background: var(--black);
  border-radius: 24px;
  overflow: hidden;
}

.programs-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 2vw, 32px) 0;
}

.programs-lead h2 {
  margin: var(--s-4) 0 var(--s-5);
  font-size: clamp(34px, 4vw, 58px);
}

.programs-lead p {
  margin: 0 0 28px;
  color: var(--text-dark-soft);
  font-size: 16px;
  line-height: 1.6;
}

.route-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
  align-items: stretch;
}

.route-option {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: space-between;
  gap: var(--s-7);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(244,244,242,.88)),
    var(--light);
  box-shadow: 0 18px 48px -34px rgba(11,11,15,.55);
  overflow: hidden;
  position: relative;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.programs-explorer .route-option {
  min-height: 360px;
  padding: 24px;
  border: 0;
  border-radius: 20px;
  background: #3c3d6d;
  box-shadow: none;
}

.programs-explorer .route-option-primary {
  background: #3c3d6d;
  border: 0;
}

.programs-explorer .route-option > span {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--yellow);
  font-size: 0;
}

.programs-explorer .route-option:nth-child(2) > span {
  background: var(--ink);
}

.programs-explorer .route-option:nth-child(3) > span {
  background: #4900ff;
}

.programs-explorer .route-option h3 {
  color: var(--light);
  font-size: clamp(22px, 2vw, 28px);
}

.programs-explorer .route-option p {
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.programs-explorer .route-visual {
  display: none;
}

.programs-explorer .route-option > a:not(.btn) {
  color: var(--yellow);
}

.programs-workbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 14px 20px;
  border-radius: 16px;
  background: #3c3d6d;
}

.programs-workbar > a:not(.work-start) {
  color: var(--light);
  font-weight: 700;
}

.work-dots {
  display: inline-flex;
  gap: 2px;
}

.work-dots i {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ddd;
}

.work-start {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: var(--light);
  color: var(--ink);
  font-size: 13px;
}

.work-start span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--light);
  font-size: 20px;
  line-height: 1;
}

.route-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px -38px rgba(11,11,15,.7);
}

.route-option-primary {
  background:
    radial-gradient(80% 70% at 0% 0%, rgba(255,228,0,.42), transparent 58%),
    repeating-linear-gradient(90deg, rgba(255,228,0,.15) 0 1px, transparent 1px 14px),
    var(--ink);
  color: var(--light);
  border-color: rgba(0,18,253,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 22px 58px -36px rgba(0,0,0,.75);
}

.route-option > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 850;
  position: relative;
  z-index: 1;
}

.route-visual {
  min-height: 142px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 24%, rgba(255,228,0,.9) 0 18px, transparent 19px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 16px),
    linear-gradient(135deg, var(--blue), #080a13);
  border: 1px solid rgba(255,255,255,.16);
  overflow: hidden;
  position: relative;
}

.route-option:not(.route-option-primary) .route-visual {
  background:
    radial-gradient(circle at 78% 24%, rgba(0,18,253,.88) 0 18px, transparent 19px),
    repeating-linear-gradient(90deg, rgba(17,17,26,.1) 0 1px, transparent 1px 16px),
    linear-gradient(135deg, #f6f6f8, #dce5e4);
  border-color: var(--border-light);
}

.route-visual-specialty::before {
  background:
    linear-gradient(90deg, rgba(17,17,26,.18) 0 34%, transparent 34%),
    repeating-linear-gradient(0deg, rgba(17,17,26,.18) 0 2px, transparent 2px 12px);
}

.route-visual-work::after {
  right: auto;
  left: 18px;
  background: var(--blue);
}

.route-option > * {
  min-width: 0;
}

.route-option p,
.route-option h3 {
  overflow-wrap: break-word;
}

.route-option h3 {
  margin-bottom: 12px;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.route-option p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.58;
}

.route-option-primary p {
  color: var(--text-dark-soft);
}

.route-option > a:not(.btn),
.text-link {
  color: var(--blue);
  font-weight: 800;
}

.route-option-primary > a:not(.btn) {
  color: var(--yellow);
}

.programs-subhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: var(--s-7) var(--gutter) var(--s-6);
  margin-bottom: 0;
  border-top: 1px solid rgba(255,255,255,.18);
  color: var(--light);
}

.programs-subhead h3 {
  margin-bottom: var(--s-3);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.programs-subhead p {
  margin: 0;
  color: var(--text-dark-soft);
}

.program-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0 clamp(28px, 4vw, 56px) 56px;
}

.program-card {
  min-height: 410px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(90deg, rgba(255,228,0,.16) 0 1px, transparent 1px 13px),
    var(--dark-card);
  color: var(--light);
  border: 1px solid rgba(0,18,253,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 58px -38px rgba(0,0,0,.8);
}

.program-card.featured {
  background:
    radial-gradient(95% 65% at 50% 0%, rgba(255,255,255,.18), transparent 64%),
    var(--blue);
}

.program-icon {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 16px;
  background: var(--yellow);
  margin-bottom: var(--s-8);
}

.program-card img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: var(--s-8);
}

.program-card h3 {
  font-size: clamp(25px, 2.25vw, 34px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.program-card h4 {
  font-size: 18px;
  line-height: 1.35;
  color: rgba(255,255,255,.8);
}

.program-card p,
.program-card li {
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.55;
}

.program-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.quiz {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 18px),
    var(--light-soft);
  color: var(--ink);
  padding: clamp(70px, 8vw, 112px) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.quiz-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.quiz .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  margin-left: 0;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.3;
}

.stories-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.carousel-controls {
  display: flex;
  gap: 12px;
}

.carousel-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: transparent;
  color: var(--light);
  font-size: 28px;
  cursor: pointer;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
  margin-bottom: var(--s-8);
}

.story-card {
  padding: 20px;
  background: var(--dark-card);
  border-color: rgba(255,255,255,.12);
  color: var(--light);
}

.video-box {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--blue) 0%, #080a13 100%);
  margin-bottom: 22px;
}

.video-box span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
}

.story-card h3,
.story-card p {
  margin-bottom: 8px;
  color: var(--light);
}

.classes {
  padding: clamp(72px, 9vw, 122px) 0;
}

.classes-lined {
  background:
    radial-gradient(80% 70% at 5% 0%, rgba(255,255,255,.44), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 1px, transparent 1px 18px),
    var(--yellow);
  color: var(--ink);
}

.classes-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(320px, .74fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.classes-copy {
  display: grid;
  gap: 28px;
  justify-items: start;
}

.classes-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -38px rgba(0,0,0,.75);
}

.classes-media img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
}

.class-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.class-list li {
  min-height: 118px;
  padding: var(--s-6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  font-weight: 700;
  line-height: 1.36;
}

.classes-lined .class-list li {
  border-color: rgba(17,17,26,.2);
  background: rgba(255,255,255,.42);
}

.faq-grid {
  grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr);
}

.faq-copy {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 24px;
  justify-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 0 24px;
}

.faq summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: var(--s-6) 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "↗";
  justify-self: end;
  color: var(--text-soft);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: -8px 0 24px;
  max-width: 640px;
}

.final-cta {
  text-align: center;
  padding-block: clamp(72px, 8vw, 104px);
}

.final-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 28px;
}

.final-cta h2 {
  color: var(--light);
  max-width: 900px;
}

.floating-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #292d4a;
  color: #5e72ff;
  font-size: 12px;
  font-weight: 700;
  z-index: 0;
  opacity: .82;
}

.floating-tag::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #69739f;
}

.floating-tag-portfolio { top: -10%; left: 28%; }
.floating-tag-flex { top: 40%; left: 2%; }
.floating-tag-remote { bottom: 8%; left: 16%; }
.floating-tag-freelance { top: 22%; right: 10%; }
.floating-tag-experience { bottom: 8%; right: 16%; }
.floating-tag-freelance::before { background: var(--yellow); }
.floating-tag-portfolio::before { background: #5300ff; }

.final-cta h2,
.final-actions {
  position: relative;
  z-index: 1;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer {
  padding: var(--s-11) 0 var(--s-8);
  background: var(--dark);
  color: var(--light);
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, .75fr));
  gap: 40px;
}

.site-footer h2 {
  font-size: 28px;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer strong {
  margin-bottom: 6px;
  color: var(--text-dark-soft);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  margin-top: 60px;
  border-top: 1px solid var(--border-dark);
}

.footer-bottom p {
  max-width: 620px;
  margin: 0;
  color: #7a7a82;
  font-size: 13px;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
  color: var(--text-dark-soft);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms ease, transform 720ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .intro-grid,
  .about-grid,
  .programs-head,
  .programs-explorer,
  .academy-summary,
  .lab-media-grid,
  .quiz-grid,
  .classes-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    max-width: 620px;
  }

  .academy-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lab-media-grid {
    grid-template-columns: 1fr 1.3fr;
  }

  .lab-badges,
  .lab-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lab-media-grid aside {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .steps,
  .program-card-grid,
  .class-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-copy {
    position: static;
  }

  .route-options {
    grid-template-columns: 1fr;
  }

  .route-option {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .nav {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    row-gap: 10px;
  }

  .why-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    gap: 14px;
  }

  .header-actions {
    margin-left: auto;
    gap: 12px;
  }

  .header-actions .btn {
    display: none;
  }

  .login-link {
    display: none;
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1,
  .final-cta h2 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 52px);
    line-height: .96;
    letter-spacing: .014em;
  }

  .hero-side p {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-meta-detail {
    text-align: left;
  }

  .hero-flags {
    align-self: flex-start;
  }

  .hero-media {
    border-radius: 18px;
  }

  .hero-media img {
    aspect-ratio: 1.1 / 1;
    object-position: 54% 50%;
  }

  h2 {
    font-size: clamp(29px, 8.4vw, 38px);
    letter-spacing: -.035em;
  }

  .steps,
  .why-grid,
  .program-card-grid,
  .story-grid,
  .class-list,
  .case-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .academy-notes {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lab-badges,
  .lab-feature-grid,
  .lab-media-grid {
    grid-template-columns: 1fr;
  }

  .lab-feature-card::after {
    display: none;
  }

  .lab-media-grid aside {
    grid-column: auto;
  }

  .programs-explorer {
    padding: 24px 18px;
  }

  .programs-workbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .work-start {
    margin-left: 0;
  }

  .floating-tag {
    display: none;
  }

  .academy-notes article,
  .academy-notes article:first-child {
    min-height: auto;
    padding: 20px 0 0;
    border-top: 1px solid var(--border-light);
    border-left: 0;
  }

  .academy-notes article:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .steps li,
  .program-card {
    min-height: auto;
  }

  .stories-head,
  .footer-bottom {
    display: grid;
  }

  .carousel-controls {
    display: none;
  }

  .quiz .text-link {
    display: flex;
    margin: 16px 0 0;
  }

  .faq summary {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .faq summary span {
    grid-column: 1 / -1;
  }

  .faq details p {
    margin-left: 0;
  }

  .footer-bottom div {
    display: grid;
  }
}

@media (max-width: 420px) {
  .wordmark img {
    width: 88px;
  }

  .trust-logos img {
    max-height: 34px;
  }

  .intro-notes article {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive corrections for the Paper layout. */
.trust::before,
.trust::after {
  z-index: 0;
  opacity: .9;
}

.trust-inner {
  position: relative;
  z-index: 1;
}

.lab-badge {
  position: relative;
  overflow: hidden;
}

.lab-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lab-badge-trigger {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lab-badge-trigger:focus-visible {
  outline-color: var(--light);
}

.lab-feature-card {
  min-width: 0;
}

.lab-media-grid {
  grid-template-columns: minmax(0, 1fr);
}

.lab-media-grid img,
.lab-media-copy {
  min-width: 0;
}

.lab-media-copy {
  justify-content: center;
}

.lab-media-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lab-media-list li {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.34;
}

.programs-logo {
  width: min(190px, 60%);
  height: auto;
  margin-bottom: 4px;
  object-fit: contain;
  object-position: left center;
}

.work-start span {
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  text-align: center;
}

.programs-explorer .route-option,
.programs-explorer .route-option-primary,
.programs-workbar {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 16px),
    #3c3d6d;
}

@media (max-width: 720px) {
  .trust::before {
    left: -60px;
    top: 31%;
    width: 118px;
    height: 150px;
    opacity: .2;
  }

  .trust::after {
    right: -54px;
    top: 38%;
    width: 126px;
    height: 126px;
    opacity: .22;
  }

  .academy-heading,
  .academy-heading h2,
  .academy-heading p,
  .academy-claim,
  .academy-proof,
  .academy-notes {
    position: relative;
    z-index: 1;
  }

  .lab-feature-card:not(.is-open) {
    display: none;
  }

  .lab-feature-card.is-open {
    display: flex;
  }

  .lab-feature-card::after {
    display: none;
  }

  .lab-media-grid {
    grid-template-columns: 1fr;
  }

  .lab-media-grid img {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .lab-media-copy {
    min-height: 260px;
  }

  .programs-explorer .route-option,
  .programs-explorer .route-option-primary {
    min-height: 300px;
  }

  .programs-workbar {
    min-height: 0;
  }

  .final-inner {
    isolation: isolate;
    overflow: hidden;
  }

  .floating-tag {
    display: inline-flex;
    z-index: 0;
    opacity: .2;
    pointer-events: none;
    transform: scale(.86);
  }

  .floating-tag-portfolio { top: 2%; left: 0; }
  .floating-tag-flex { top: 42%; left: 4%; }
  .floating-tag-remote { bottom: 3%; left: 8%; }
  .floating-tag-freelance { top: 18%; right: 0; }
  .floating-tag-experience { bottom: 8%; right: 4%; }
}

@media (max-width: 420px) {
  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .lab-badge {
    min-height: 96px;
    padding: 16px 18px;
  }

  .lab-badge strong {
    padding: 8px 12px;
    font-size: 16px;
  }

  .lab-badge span {
    font-size: 34px;
  }

  .lab-feature-card,
  .lab-media-copy {
    padding: 20px;
  }

  .lab-feature-card h2 {
    max-width: 100%;
    font-size: clamp(28px, 9vw, 36px);
  }

  .lab-feature-card span {
    font-size: 16px;
  }
}
