:root {
  --blue-950: #102653;
  --blue-900: #163B8A;
  --blue-800: #2258C4;
  --blue-700: #3D74E0;
  --blue-500: #8FB9FF;
  --lime: #B0FE3F;
  --white: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #e5f1ff;
  --ink: #102653;
  --muted: rgba(247, 251, 255, 0.78);
  --body-text: #2258C4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html {
  scroll-behavior: smooth;
}

#program,
#benefits,
#contact,
#join {
  scroll-margin-top: 28px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 46px 18px;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 400;
  color: var(--body-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 88, 196, 0.12), transparent 18rem),
    radial-gradient(circle at 88% 16%, rgba(34, 88, 196, 0.08), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 255, 0.96) 46%, rgba(224, 238, 255, 0.92) 100%);
}

a {
  color: inherit;
}

.academy-page {
  width: min(100%, 1060px);
}

.academy-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 76% 20%, rgba(61, 116, 224, 0.28), transparent 16rem),
    linear-gradient(145deg, var(--blue-800) 0%, var(--blue-900) 58%, var(--blue-950) 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 36px 90px rgba(16, 38, 83, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.academy-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.brand-pill img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: contain;
  background: var(--blue-800);
  padding: 3px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.nav-links a,
.nav-cta {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.nav-cta {
  min-height: 42px;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  color: var(--ink);
  border-color: transparent;
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--white);
}

.nav-cta img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: contain;
  background: var(--blue-800);
  padding: 3px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 940px;
  margin: 74px auto 0;
  text-align: center;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(58px, 13vw, 152px);
  line-height: 0.78;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 .hash {
  display: inline;
  color: var(--lime);
}

.hero-text {
  max-width: 560px;
  min-height: 48px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  transition: opacity 0.18s ease, transform 0.18s ease;
}


.hero-stamp {
  position: absolute;
  z-index: 5;
  right: 88px;
  top: 392px;
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 16px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transform: rotate(-12deg);
  box-shadow: 0 22px 46px rgba(16, 38, 83, 0.22);
}

.scribble {
  position: absolute;
  z-index: 2;
  color: var(--lime);
  font-size: 128px;
  line-height: 1;
  font-weight: 900;
  opacity: 0.92;
  pointer-events: none;
}

.scribble-a {
  left: 196px;
  top: 338px;
  transform: rotate(-16deg);
}

.scribble-b {
  right: 170px;
  top: 180px;
  transform: rotate(12deg);
}

.academy-panel {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: 26px;
  margin: -148px auto 0;
  width: min(100%, 960px);
  padding: 42px;
  border-radius: 36px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 -26px 70px rgba(16, 38, 83, 0.14);
}

.intro-card,
.program-summary {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(8, 47, 157, 0.08);
  box-shadow: 0 18px 42px rgba(8, 47, 157, 0.1);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, background 0.35s ease;
}

.intro-card {
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 16%, rgba(176, 254, 63, 0.18), transparent 9rem),
    linear-gradient(145deg, var(--blue-800), var(--blue-900) 62%, var(--blue-950));
}

.intro-card::after {
  content: "";
  position: absolute;
  inset: auto -44px -64px auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(176, 254, 63, 0.16);
}

.section-kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.intro-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.intro-card p:not(.section-kicker) {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button-primary,
.button-secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.035em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.format-cta:hover,
.format-cta:focus-visible,
.format-action-button:hover,
.format-action-button:focus-visible,
.academy-footer a:hover,
.academy-footer a:focus-visible,
.form-modal__secondary:hover,
.form-modal__secondary:focus-visible,
.form-modal__primary:hover,
.form-modal__primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 38, 83, 0.16);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
}

.program-summary {
  min-height: 100%;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 26px;
  background:
    radial-gradient(circle at 88% 16%, rgba(176, 254, 63, 0.3), transparent 9rem),
    linear-gradient(145deg, #ffffff, #eef5ff);
}

.summary-head {
  max-width: 440px;
}

.summary-head .section-kicker {
  margin-bottom: 14px;
}

.summary-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.program-list {
  display: grid;
  gap: 12px;
}

.program-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(8, 47, 157, 0.08);
}

.card-number {
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 900;
}

.program-item h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.program-item p {
  margin: 0;
  color: rgba(7, 19, 60, 0.64);
  font-size: 12px;
  line-height: 1.48;
  font-weight: 400;
}

.learning-section,
.class-format,
.format-options,
.academy-footer {
  width: min(100%, 960px);
  margin-inline: auto;
}

.learning-section {
  padding: 70px 0 0;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 24px;
}

.section-heading h2,
.format-copy h2 {
  margin: 0;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.052em;
}

.section-heading h2 {
  color: var(--blue-800);
}

.format-copy h2 {
  color: var(--blue-800);
}

.format-action-card h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.052em;
}

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

.learning-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(176, 254, 63, 0.18), transparent 8rem),
    linear-gradient(145deg, rgba(34, 88, 196, 0.98), rgba(22, 59, 138, 0.96) 62%, rgba(16, 38, 83, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 64px rgba(16, 38, 83, 0.18);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, background 0.35s ease;
}

.learning-card span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.learning-card h3 {
  margin: auto 0 12px;
  font-size: 28px;
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.learning-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.class-format {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  padding: 36px 0 0;
}

.format-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.format-copy,
.format-panel,
.format-action-card {
  border-radius: 28px;
  border: 1px solid rgba(34, 88, 196, 0.18);
  box-shadow: 0 24px 64px rgba(16, 38, 83, 0.16);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, background 0.35s ease;
}

.format-copy,
.format-action-card {
  padding: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(176, 254, 63, 0.14), transparent 10rem),
    linear-gradient(145deg, var(--blue-800), var(--blue-900) 62%, var(--blue-950));
}

.format-copy {
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 88, 196, 0.1), transparent 10rem),
    linear-gradient(145deg, #ffffff 0%, #f3f8ff 48%, #e5f1ff 100%);
}

.format-copy p:not(.section-kicker),
.format-action-card p:not(.section-kicker) {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

.format-copy p:not(.section-kicker) {
  color: var(--blue-800);
}

.format-action-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.format-action-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at 86% 16%, rgba(176, 254, 63, 0.18), transparent 9rem);
}

.branch-action-card > * {
  position: relative;
  z-index: 1;
}

.branch-action-card--lodoyo {
  background:
    linear-gradient(145deg, rgba(34, 88, 196, 0.9), rgba(22, 59, 138, 0.92) 56%, rgba(16, 38, 83, 0.96)),
    url("../images/lodoyo/BACKGROUND LDY.avif") center/cover;
}

.branch-action-card--kanigoro {
  background:
    linear-gradient(145deg, rgba(61, 33, 25, 0.94), rgba(133, 72, 54, 0.92) 56%, rgba(95, 48, 36, 0.96)),
    url("../images/shared/BACKGROUND.avif") center/cover;
  border-color: rgba(255, 178, 44, 0.34);
  box-shadow: 0 24px 64px rgba(61, 33, 25, 0.22);
}

.branch-action-card--kanigoro::after {
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.12), transparent 36%),
    radial-gradient(circle at 86% 16%, rgba(255, 178, 44, 0.2), transparent 9rem);
}

.branch-action-card--kanigoro .section-kicker,
.branch-action-card--kanigoro .format-action-button {
  color: #3d2119;
  background: #ffb22c;
}

.branch-action-card--kanigoro h2 {
  color: #fff7e8;
}

.branch-action-card--kanigoro p:not(.section-kicker) {
  color: #f1dec1;
}

.branch-card-head {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.branch-card-head .section-kicker {
  margin-bottom: 0;
}

.branch-card-head img {
  width: 76px;
  max-height: 42px;
  object-fit: contain;
}

.format-panel {
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  background:
    linear-gradient(145deg, #ffffff 0%, #f3f8ff 48%, #e5f1ff 100%);
}

.format-row {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(8, 47, 157, 0.12);
}

.format-row span {
  color: rgba(7, 19, 60, 0.58);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.format-row strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.format-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.035em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.format-action-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.035em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.branch-action-card p:not(.section-kicker) + .format-action-button {
  margin-top: 24px;
}

.academy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(176, 254, 63, 0.14), transparent 12rem),
    linear-gradient(145deg, var(--blue-950), var(--blue-800) 62%, var(--blue-900));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 64px rgba(16, 38, 83, 0.2);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, background 0.35s ease;
}

.intro-card:hover,
.intro-card:focus-within,
.program-summary:hover,
.program-summary:focus-within,
.learning-card:hover,
.learning-card:focus-within,
.format-copy:hover,
.format-copy:focus-within,
.format-panel:hover,
.format-panel:focus-within,
.format-action-card:hover,
.format-action-card:focus-within,
.academy-footer:hover,
.academy-footer:focus-within {
  transform: translateY(-6px);
  border-color: rgba(34, 88, 196, 0.34);
  box-shadow:
    0 28px 56px rgba(16, 38, 83, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.academy-footer img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.academy-footer div {
  display: grid;
  gap: 4px;
  flex: 1;
}

.academy-footer strong {
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.academy-footer span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 400;
}

.academy-footer small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 500;
}

.academy-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.form-modal[hidden] {
  display: none;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 38, 83, 0.58);
  backdrop-filter: blur(12px);
}

.form-modal__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  border-radius: 28px;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0%, rgba(34, 88, 196, 0.12), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  box-shadow: 0 34px 90px rgba(16, 38, 83, 0.32);
}

.form-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #eef5ff;
  font-size: 24px;
  cursor: pointer;
}

.form-modal__kicker {
  color: var(--blue-800);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.form-modal__header h2 {
  margin: 8px 44px 8px 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.form-modal__header p {
  margin: 0 0 18px;
  color: rgba(7, 19, 60, 0.64);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}

.form-modal__fields {
  display: grid;
  gap: 12px;
}

.form-modal__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-modal label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.form-modal input,
.form-modal select,
.form-modal textarea {
  width: 100%;
  border: 1px solid rgba(8, 47, 157, 0.16);
  border-radius: 14px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f6f9ff;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.form-modal input:focus,
.form-modal select:focus,
.form-modal textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(9, 87, 255, 0.13);
}

.form-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.form-modal__secondary,
.form-modal__primary {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.form-modal__secondary {
  color: var(--ink);
  background: #edf3ff;
}

.form-modal__primary {
  color: var(--ink);
  background: var(--lime);
}

@media (max-width: 900px) {
  body {
    padding: 18px 12px;
  }

  .academy-hero {
    min-height: 670px;
    padding: 18px;
    border-radius: 26px;
  }

  .nav-links {
    display: none;
  }

  .hero-copy {
    margin-top: 82px;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 18vw, 96px);
  }

    .hero-stamp {
    right: 22px;
    top: 432px;
    width: 98px;
    height: 98px;
    font-size: 9px;
  }

  .scribble {
    font-size: 88px;
  }

  .scribble-a {
    left: 30px;
    top: 328px;
  }

  .scribble-b {
    right: 26px;
    top: 175px;
  }

  .academy-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: -92px;
    padding: 24px;
    border-radius: 28px;
  }

  .learning-grid,
  .class-format,
  .format-options {
    grid-template-columns: 1fr;
  }

  .learning-section {
    padding-top: 46px;
  }
}

@media (max-width: 620px) {
  .academy-hero {
    min-height: 640px;
  }

  .brand-pill span {
    display: none;
  }

  .nav-cta {
    padding: 0 12px;
  }

  .program-summary {
    padding: 22px;
  }

  .program-item {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .learning-card {
    min-height: 188px;
  }

  .academy-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-modal__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .academy-hero {
    min-height: 610px;
  }

  .hero-copy {
    margin-top: 74px;
  }

  .academy-panel {
    padding: 18px;
  }
}

.academy-packages {
  width: min(100%, 960px);
  margin: 70px auto 0;
}

.packages-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.packages-heading h2 {
  margin: 0;
  color: var(--blue-800);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.packages-heading p:not(.section-kicker) {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--blue-800);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

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

.package-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(34, 88, 196, 0.18);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #eef5ff);
  box-shadow: 0 18px 42px rgba(16, 38, 83, 0.1);
}

.package-card.is-featured {
  border-color: rgba(176, 254, 63, 0.54);
  color: var(--white);
  background:
    radial-gradient(circle at 86% 14%, rgba(176, 254, 63, 0.2), transparent 8rem),
    linear-gradient(145deg, var(--blue-800), var(--blue-900) 62%, var(--blue-950));
  box-shadow: 0 22px 50px rgba(16, 38, 83, 0.18);
}

.package-name,
.package-price,
.package-meta,
.package-description {
  margin: 0;
}

.package-name {
  color: var(--blue-800);
  font-size: 15px;
  font-weight: 700;
}

.package-price {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.package-meta {
  margin-top: 10px;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 600;
}

.package-description {
  margin-top: 16px;
  color: rgba(16, 38, 83, 0.72);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.package-card.is-featured .package-name,
.package-card.is-featured .package-meta {
  color: var(--lime);
}

.package-card.is-featured .package-price {
  color: var(--white);
}

.package-card.is-featured .package-description {
  color: rgba(255, 255, 255, 0.76);
}

.package-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.package-action:hover,
.package-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 38, 83, 0.16);
}

.academy-faq {
  width: min(100%, 960px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  margin: 70px auto 0;
  padding: 32px;
  border: 1px solid rgba(34, 88, 196, 0.18);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 38, 83, 0.08);
}

.faq-intro h2 {
  margin: 0;
  color: var(--blue-800);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.faq-intro p:not(.section-kicker) {
  margin: 16px 0 0;
  color: rgba(16, 38, 83, 0.74);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

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

.faq-item {
  border-top: 1px solid rgba(34, 88, 196, 0.18);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(34, 88, 196, 0.18);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  color: var(--blue-900);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--blue-700);
  font-size: 22px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 58ch;
  margin: 0 0 18px;
  color: rgba(16, 38, 83, 0.74);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .academy-faq {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 48px;
    padding: 24px 18px;
  }
}

.form-modal__privacy {
  margin: 0;
  color: var(--blue-900);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 900px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: 250px;
  }
}

/* Typography consistency pass: keep body/supporting UI lighter across the site. */
.brand-pill,
.nav-links a,
.nav-cta,
.eyebrow,
.section-kicker,
.hero-stamp,
.button-primary,
.button-secondary,
.learning-card span,
.format-row span,
.format-cta,
.format-action-button,
.academy-footer a,
.form-modal__kicker,
.form-modal label,
.form-modal__secondary,
.form-modal__primary {
  font-weight: 600;
}

.hero-copy p,
.intro-card p:not(.section-kicker),
.program-item p,
.learning-card p,
.format-copy p:not(.section-kicker),
.format-action-card p:not(.section-kicker),
.academy-footer span,
.academy-footer small,
.form-modal input,
.form-modal select,
.form-modal textarea {
  font-weight: 400;
}

.hero-copy h1,
.scribble {
  font-weight: 700;
}

.intro-card h2,
.summary-head h3,
.section-heading h2,
.format-copy h2,
.format-action-card h2 {
  font-weight: 700;
}

.program-item h4,
.learning-card h3,
.format-row strong,
.academy-footer strong {
  font-weight: 600;
}

.card-number {
  font-weight: 500;
}
.form-modal__status { min-height: 18px; margin: 10px 0 0; color: #163b8a; font-size: 12px; line-height: 1.45; font-weight: 600; }
.form-modal__status.is-error { color: #b91c1c; }
.form-modal__status.is-success { color: #166534; }
.form-modal__error { margin-top: 2px; color: #b91c1c; font-size: 11px; font-weight: 700; }
.form-modal [aria-invalid="true"] { border-color: #b91c1c; box-shadow: 0 0 0 3px rgba(185, 28, 28, .14); }
.form-modal__primary.is-loading { opacity: .72; cursor: progress; }
.package-card { min-height: 390px; }
.package-details { display: grid; gap: 12px; margin: 18px 0 22px; }
.package-details div { display: grid; gap: 3px; }
.package-details dt { color: #163b8a; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.package-details dd { margin: 0; color: #102653; font-size: 13px; line-height: 1.45; font-weight: 500; }
.package-card.is-featured .package-details dt { color: #b0fe3f; }
.package-card.is-featured .package-details dd { color: #ffffff; }
.authentic-media { width: min(100%, 960px); margin: 70px auto 0; padding: 32px; border: 1px solid rgba(34,88,196,.2); border-radius: 24px; background: #ffffff; }
.media-heading { max-width: 640px; }
.media-heading h2 { margin: 0; color: #163b8a; font-size: clamp(32px,4vw,50px); line-height: 1; font-weight: 700; }
.media-heading > p:not(.section-kicker) { margin: 14px 0 0; color: #163b8a; font-size: 14px; line-height: 1.6; }
.media-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.media-slot { margin: 0; }
.media-slot__frame { min-height: 196px; border: 2px dashed #2258c4; border-radius: 14px; background: repeating-linear-gradient(135deg,#e5f1ff 0 12px,#f7fbff 12px 24px); }
.media-slot figcaption { margin-top: 10px; color: #102653; font-size: 13px; font-weight: 700; line-height: 1.4; }
.media-slot figcaption span { color: #163b8a; font-size: 12px; font-weight: 500; }
@media (max-width: 900px) { .media-grid { grid-template-columns: 1fr; } .media-slot__frame { min-height: 150px; } .package-card { min-height: 0; } }
/* Hero support row: secondary information stays below the title hierarchy. */
.hero-support {
  position: absolute;
  z-index: 3;
  left: 32px;
  right: 220px;
  bottom: 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.hero-support__item {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.hero-support__item > span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hero-support__item strong {
  color: var(--white);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
}
.hero-support__item small {
  color: rgba(247, 251, 255, 0.68);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 400;
}
@media (max-width: 900px) {
  .hero-support {
    left: 18px;
    right: 150px;
    bottom: 78px;
    gap: 10px;
    padding-top: 12px;
  }
}
@media (max-width: 620px) {
  .hero-support {
    right: 136px;
    bottom: 72px;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .hero-support__item {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 8px;
    align-items: baseline;
  }
  .hero-support__item small {
    grid-column: 2;
  }
}