:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --white: #fff;
  --ink: #11152a;
  --muted: #4b5064;
  --blue: #173bff;
  --blue-dark: #0b26ce;
  --tint: #e9edff;
  --line: #dfe1e7;
  --radius: 22px;
  font-family: Geist, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3153ff; outline-offset: 5px; }
[id] { scroll-margin-top: 96px; }

.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 16px;
  padding: 12px 16px;
  background: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-layout {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; letter-spacing: -.075em; white-space: nowrap; }
.brand-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.06em;
}
.wordmark-accent { color: var(--blue); }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.desktop-nav a, .footer-layout > a:last-child { font-size: 14px; font-weight: 650; }
.desktop-nav a:hover, .footer-layout > a:last-child:hover { color: var(--blue); }
.mobile-nav { display: none; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.button span[aria-hidden="true"] { flex: none; font-size: 18px; line-height: 1; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { background: transparent; color: var(--ink); border-color: #ccd0db; }
.button-outline:hover, .button-nav:hover { color: var(--blue-dark); border-color: #a7b2fc; background: var(--tint); }
.button-nav { min-height: 42px; padding: 8px 13px; border-color: var(--line); background: var(--white); gap: 11px; }
.button-light { background: var(--white); color: var(--blue-dark); }
.button-light:hover { background: var(--tint); }
.button-light:focus-visible { outline-color: var(--white); }

.hero {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  align-items: center;
  gap: clamp(32px, 4vw, 68px);
  padding-block: 58px 40px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.indicator { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 2px; background: var(--blue); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.064em; text-wrap: balance; }
h1 {
  margin-top: 21px;
  font-size: clamp(48px, 5.7vw, 86px);
  line-height: .99;
  text-wrap: initial;
}
h1 span { display: block; color: var(--blue); }
.hero-lead {
  max-width: 535px;
  margin-top: 25px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--muted);
}
.hero-lead strong { font-weight: 750; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero-art {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #c3d7ff;
  background: #c8ddff;
}
.hero-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  padding-block: 18px;
}
.highlight { display: flex; align-items: center; gap: 14px; padding-inline: 24px; }
.highlight:first-child { padding-left: 0; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight strong { display: block; font-size: 16px; font-weight: 750; }
.highlight div span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.mini-icon, .card-icon, .lesson-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: var(--blue-dark);
  background: var(--tint);
  border-radius: 10px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1;
}
.mini-icon { width: 42px; height: 42px; }
.code-icon { font-size: 15px; font-weight: 800; letter-spacing: -.07em; }

.section { padding-block: 90px; }
.section-heading { max-width: 680px; }
.section-heading h2 {
  margin-top: 13px;
  font-size: clamp(37px, 4.2vw, 60px);
  line-height: 1.04;
}
.section-heading > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.offer-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.offer-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.card-icon { width: 52px; height: 52px; font-size: 24px; }
.card-icon.code-icon { font-size: 20px; }
.offer-label {
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #dce1f5;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.offer-card h3 {
  margin-top: 22px;
  font-size: clamp(31px, 3.35vw, 49px);
  line-height: 1.04;
}
.offer-card > p:not(.included) { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.offer-card > .offer-price:not(.included) { margin-top: 18px; color: var(--ink); font-size: 24px; font-weight: 800; }
.academy-card > .offer-price:not(.included) { color: var(--white); }
.offer-cadence { margin-inline-start: 5px; font-size: 14px; font-weight: 650; }
.catalog-inline { text-decoration: underline; text-underline-offset: 3px; }
.catalog-inline:hover { color: var(--blue-dark); }
.catalog-section { background: #fff; border-block: 1px solid var(--line); }
.catalog-section + .curriculum { border-top: 0; }
.checklist { display: grid; gap: 13px; padding: 0; margin: 24px 0 28px; list-style: none; }
.checklist li { display: flex; align-items: start; gap: 11px; font-size: 15px; line-height: 1.45; }
.checklist li::before { content: "✓"; color: var(--blue-dark); flex: none; font-weight: 800; }
.offer-button { width: 100%; justify-content: space-between; margin-top: auto; }
.academy-card {
  border-color: var(--blue);
  color: var(--white);
  background: radial-gradient(ellipse at 92% 7%, #4961ff, transparent 58%), var(--blue-dark);
}
.academy-card .card-icon { color: var(--white); background: rgb(255 255 255 / .16); }
.academy-card .offer-label { border-color: rgb(255 255 255 / .5); color: var(--white); }
.academy-card > p:not(.included) { color: #f1f3ff; }
.academy-card .checklist li::before { color: #f1f3ff; }
.included {
  margin: 0 0 15px;
  padding: 11px 13px;
  width: 100%;
  border: 1px solid rgb(255 255 255 / .48);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}
.included span { margin-right: 4px; }

.curriculum { background: #edf0ff; border-block: 1px solid #e1e5fc; }
.curriculum-layout, .faq {
  display: grid;
  grid-template-columns: .83fr 1fr;
  align-items: start;
  gap: clamp(28px, 6vw, 90px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 750;
  color: var(--blue-dark);
}
.text-link:hover { text-decoration: underline; }
.syllabus { display: grid; gap: 10px; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
.syllabus details { background: var(--white); border: 1px solid #dce2f6; border-radius: 13px; }
.syllabus summary, .faq-list summary { display: flex; align-items: center; gap: 13px; font-weight: 750; line-height: 1.45; }
.syllabus summary { min-height: 63px; padding: 11px 16px; }
.syllabus summary:hover, .faq-list summary:hover { color: var(--blue-dark); }
.lesson-icon { width: 37px; height: 37px; border-radius: 8px; }
.toggle { position: relative; margin-left: auto; width: 16px; height: 16px; flex: none; color: var(--blue-dark); }
.toggle::before, .toggle::after { position: absolute; content: ""; background: currentColor; border-radius: 2px; }
.toggle::before { width: 14px; height: 2px; top: 7px; left: 1px; }
.toggle::after { width: 2px; height: 14px; top: 1px; left: 7px; }
details[open] > summary .toggle::after { opacity: 0; }
.syllabus details p, .faq-list details p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.syllabus details p { padding: 0 34px 16px 66px; }

.student-section { padding-bottom: 0; }
.student-card {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(22px, 4vw, 52px);
  border: 1px solid #dbe1f4;
  border-radius: var(--radius);
  background: #f0f2fb;
}
.student-card .section-heading h2 { font-size: clamp(35px, 3.7vw, 54px); }
.student-card .button { margin-top: 22px; }
.library-preview {
  background: var(--white);
  border: 1px solid #dbe0ed;
  border-radius: 15px;
  box-shadow: 0 16px 37px -28px #334d9c;
  padding: 17px;
}
.library-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 3px 0 13px; }
.library-top strong { font-size: 15px; }
.library-top span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.library-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-block: 12px;
}
.library-row:last-child { padding-bottom: 3px; }
.library-row strong, .library-row small { display: block; }
.library-row strong { font-size: 14px; line-height: 1.3; }
.library-row small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.3; }
.library-tag { padding: 4px 7px; color: var(--blue-dark); background: var(--tint); border-radius: 4px; font-size: 10px; font-weight: 750; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 65px; padding-block: 12px; }
.faq-list details p { padding: 0 30px 18px 0; }
.last-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(22px, 4vw, 48px);
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
}
.last-call p { font-size: clamp(26px, 3.2vw, 41px); font-weight: 800; letter-spacing: -.06em; line-height: 1.05; }
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); }
.footer-layout { display: flex; min-height: 86px; gap: 18px; align-items: center; justify-content: space-between; }
.footer-layout > span { font-size: 13px; color: var(--muted); }

.checkout-panel {
  max-width: 700px;
  margin: 22px auto 0;
  padding: clamp(20px, 4vw, 35px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cdd6ff;
  border-radius: var(--radius);
}
.checkout-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.checkout-close {
  flex: none;
  border: 1px solid #dce2f6;
  height: 40px;
  padding-inline: 12px;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
}
.checkout-close:hover { background: var(--tint); }
.checkout-close:disabled { opacity: .65; cursor: wait; }
#checkout-title { margin: 12px 0 9px; font-size: clamp(27px, 4vw, 39px); line-height: 1.08; text-wrap: initial; }
#checkout-description, #checkout-status { font-size: 15px; line-height: 1.55; color: var(--muted); }
#checkout-billing { margin-top: 8px; font-size: 14px; font-weight: 700; }
#checkout-status:not(:empty) { margin-top: 16px; padding: 10px 13px; border-radius: 8px; background: var(--tint); }
#checkout-contact:not(:empty) { margin-top: 14px; }
#payment-element:not(:empty) { margin-top: 14px; }
#checkout-confirm { width: 100%; margin-top: 14px; }
#checkout-confirm:disabled { opacity: .65; cursor: wait; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  h1 { font-size: clamp(44px, 6.2vw, 69px); }
  .highlight { padding-inline: 15px; gap: 10px; }
}

@media (max-width: 760px) {
  [id] { scroll-margin-top: 72px; }
  .shell { width: calc(100% - 40px); }
  .header-layout { min-height: 60px; }
  .desktop-nav, .desktop-access { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-weight: 700;
    font-size: 14px;
  }
  .mobile-nav summary span { font-size: 22px; line-height: 1; color: var(--blue-dark); }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(245px, 85vw);
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 15px 25px #18265518;
    background: var(--white);
  }
  .mobile-nav nav a { display: block; padding: 11px; border-radius: 6px; font-size: 15px; font-weight: 650; }
  .mobile-nav nav a:hover { background: var(--tint); }
  .hero { grid-template-columns: 1fr; padding-block: 42px 25px; gap: 24px; }
  h1 { max-width: 560px; font-size: clamp(43px, 9vw, 70px); margin-top: 16px; }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .hero-art img { aspect-ratio: 1.18; }
  .highlights { grid-template-columns: 1fr; padding: 0; }
  .highlight, .highlight:first-child { padding: 13px 0; gap: 13px; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-block: 57px; }
  .offer-grid, .curriculum-layout, .student-card, .faq { grid-template-columns: 1fr; gap: 22px; }
  .offer-grid { margin-top: 23px; gap: 13px; }
  .offer-card h3 { margin-top: 16px; }
  .student-section { padding-bottom: 0; }
  .site-footer { margin-top: 45px; }
  .footer-layout { flex-wrap: wrap; justify-content: flex-start; padding-block: 20px; }
  .footer-layout > span { order: 1; width: 100%; }
  .last-call { flex-wrap: wrap; }
}

@media (max-width: 370px) {
  .shell { width: calc(100% - 28px); }
  h1 { font-size: 37px; }
  .hero-actions > .button { width: 100%; justify-content: space-between; }
  .library-preview { padding: 10px; }
  .library-row { gap: 6px; }
  .library-row .mini-icon { width: 29px; height: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
