:root {
  --navy: #05183a;
  --navy-2: #082554;
  --navy-3: #020b1f;
  --ink: #071331;
  --muted: #5c667b;
  --gold: #f3af2d;
  --gold-2: #ffd46a;
  --line: #d9e0eb;
  --paper: #f6f8fb;
  --white: #ffffff;
  --teal: #1c8c8f;
  --shadow: 0 20px 48px rgba(5, 24, 58, 0.16);
  --shadow-sm: 0 4px 14px rgba(5, 24, 58, 0.08);
  --shadow-md: 0 12px 32px rgba(5, 24, 58, 0.12);
  --shadow-lg: 0 24px 56px rgba(5, 24, 58, 0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container-wide: 1440px;
  --container-narrow: 1180px;
  --header-height: 84px;
  --section-padding-x: clamp(16px, 4vw, 42px);
  --section-padding-y: clamp(48px, 7vw, 88px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 160ms;
  --duration-normal: 260ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  color: var(--white);
  background: rgba(5, 24, 58, 0.88);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: 0;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
  padding: 10px clamp(18px, 4vw, 42px);
  color: var(--white);
  background: rgba(4, 17, 42, 0.94);
  border-bottom: 1px solid rgba(243, 175, 45, 0.22);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition:
    box-shadow var(--duration-normal) var(--ease-out),
    background var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(2, 11, 31, 0.98);
  border-bottom-color: rgba(243, 175, 45, 0.34);
  box-shadow: var(--shadow-md);
}

.brand img {
  width: min(240px, 46vw);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 34px);
}

.main-nav a {
  position: relative;
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--gold);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-2);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.primary-button {
  color: #071331;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 24px rgba(243, 175, 45, 0.26);
}

.secondary-button {
  color: var(--white);
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.18);
}

.ghost-button {
  color: var(--white);
  background: rgba(5, 24, 58, 0.2);
  border-color: var(--gold);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 24, 58, 0.18);
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active {
  transform: translateY(0);
}

.button-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.menu-button {
  display: none;
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: clamp(364px, 26vw, 396px);
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-top: 2px solid var(--gold);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(20px, 3vw, 32px);
  align-items: end;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 5vw, 72px) clamp(48px, 6vw, 88px);
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 24, 58, 0.98) 0%, rgba(5, 24, 58, 0.9) 29%, rgba(5, 24, 58, 0.42) 47%, rgba(5, 24, 58, 0.02) 70%),
    linear-gradient(180deg, rgba(5, 24, 58, 0.18), rgba(5, 24, 58, 0.06));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-content,
.hero-callout {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
  align-self: start;
}

.hero .eyebrow {
  margin-bottom: 8px;
  font-size: clamp(0.86rem, 1vw, 1rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  text-transform: uppercase;
}

h1::first-line {
  color: var(--white);
}

.hero h1 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(1.9rem, 2.55vw, 2.55rem);
  line-height: 1.04;
}

.hero h1 span {
  display: block;
}

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

.hero-copy {
  max-width: 630px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 590px;
  margin: 12px 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(3, 13, 34, 0.62);
  box-shadow: 0 12px 34px rgba(3, 13, 34, 0.28);
  overflow: hidden;
}

.hero-metrics div {
  display: grid;
  place-items: center;
  align-content: center;
  height: 91px;
  min-height: 91px;
  padding: 8px 7px 7px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics svg {
  width: 31px;
  height: 31px;
  margin-bottom: 7px;
  color: var(--gold);
}

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 0.64rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-metrics span {
  display: block;
  margin-top: 2px;
  color: var(--white);
  font-size: 0.6rem;
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 14px;
}

.hero-actions .primary-button {
  min-width: 190px;
}

.hero-callout {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  width: 100%;
  min-height: 86px;
  padding: 14px 18px;
  color: var(--white);
  background: rgba(5, 24, 58, 0.94);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(2, 8, 23, 0.32);
}

.hero-callout p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.hero-callout-title {
  margin-bottom: 4px !important;
  color: var(--gold-2) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cap-icon {
  display: grid;
  place-items: center;
  align-self: center;
  width: 60px;
  height: 60px;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
}

.cap-icon svg {
  width: 34px;
  height: 34px;
}

.section,
.site-footer {
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
}

.home-page main .home-section,
.home-page main .home-section.section,
.home-page main .feature-band,
.home-page main .stats-band--full,
.home-page .home-footer,
.home-page .site-header {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.section {
  padding: clamp(56px, 7vw, 86px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2,
.split-section h2,
.about-section h2,
.contact-section h2,
.enroll-form h2,
.student-hub h2 {
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.section-heading p,
.split-section p,
.about-section p,
.contact-section p {
  max-width: 660px;
  color: var(--muted);
}

.courses-section {
  width: min(100% - 14px, 1440px);
  padding: 10px 0 0;
}

.courses-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 20px;
  align-items: stretch;
}

.courses-main {
  min-width: 0;
}

.courses-section .section-heading {
  align-items: center;
  gap: 16px;
  min-height: 31px;
  margin-bottom: 7px;
}

.courses-section .section-heading h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: none;
  color: var(--navy);
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.courses-section .section-heading h2::after {
  display: inline-block;
  width: min(134px, 16vw);
  height: 1px;
  content: "";
  background: var(--gold);
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.course-card {
  position: relative;
  display: grid;
  grid-template-rows: 82px minmax(0, 1fr);
  height: 272px;
  min-height: 272px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(243, 175, 45, 0.42);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out);
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 175, 45, 0.72);
  box-shadow: var(--shadow-md);
}

.course-art {
  position: relative;
  min-height: 82px;
  background-image: linear-gradient(90deg, rgba(5, 24, 58, 0.18), rgba(255, 255, 255, 0.08)), var(--art);
  background-size: 1380px auto;
  background-position: var(--pos);
}

.course-art::after {
  display: none;
}

.course-art-icon {
  position: absolute;
  inset: auto auto -26px 28px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(5, 24, 58, 0.22);
}

.course-art-icon svg {
  width: 31px;
  height: 31px;
}

.course-body {
  display: block;
  min-height: 0;
  padding: 31px 23px 50px;
}

.course-number {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-body h3 {
  color: var(--navy);
  font-size: clamp(0.98rem, 1.08vw, 1.16rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.course-body p {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.35;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
  padding-right: 116px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(243, 175, 45, 0.5);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.course-actions {
  position: absolute;
  right: 23px;
  bottom: 13px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

.course-actions button,
.course-actions a {
  flex: 0 0 auto;
  min-width: 105px;
  min-height: 34px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.course-actions button::after {
  margin-left: 12px;
  content: "->";
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 13px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-band {
  width: 100%;
  margin-top: clamp(20px, 3vw, 32px);
  padding-block: clamp(18px, 2.5vw, 28px);
  background: rgba(255, 255, 255, 0.94);
  border-block: 1px solid var(--line);
}

.feature-strip div {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  column-gap: 15px;
  min-height: 62px;
  padding: 8px 32px;
  border-right: 1px solid var(--line);
}

.feature-strip div:last-child {
  border-right: 0;
}

.feature-strip svg {
  grid-row: 1 / 3;
  align-self: center;
  width: 47px;
  height: 47px;
  color: var(--navy);
}

.feature-strip strong {
  color: var(--navy);
  font-size: 0.93rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.feature-strip span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.bottom-cta,
.bottom-cta-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) auto repeat(3, minmax(120px, 0.5fr));
  align-items: center;
  gap: clamp(14px, 1.7vw, 24px);
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0;
  padding: clamp(16px, 2vw, 24px) 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.bottom-cta-main {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.bottom-cta-cap {
  width: 52px;
  height: 52px;
  color: var(--gold);
  stroke-width: 1.8;
}

.bottom-cta h2 {
  color: var(--gold);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.bottom-cta p {
  margin: 5px 0 0;
  color: var(--white);
  font-size: clamp(0.82rem, 0.98vw, 0.95rem);
}

.bottom-cta > .primary-button,
.bottom-cta-buttons .primary-button {
  justify-self: center;
  min-width: 162px;
  min-height: 40px;
  gap: 14px;
}

.bottom-cta-buttons {
  display: grid;
  gap: 10px;
  min-width: 170px;
}

.bottom-cta-buttons .ghost-button {
  min-height: 40px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.bottom-cta .eyebrow {
  margin-bottom: 6px;
}

.bottom-cta-stat {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.bottom-cta-stat svg {
  width: 38px;
  height: 38px;
  color: var(--white);
  stroke-width: 1.6;
}

.bottom-cta-stat span {
  color: var(--white);
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.subpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(243, 175, 45, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(246, 248, 251, 0) 0, var(--paper) 520px),
    var(--paper);
}

.subpage main {
  padding-bottom: 12px;
}

.page-hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 24, 58, 0.98) 0%, rgba(5, 24, 58, 0.86) 42%, rgba(5, 24, 58, 0.38) 78%),
    linear-gradient(180deg, rgba(5, 24, 58, 0.1), rgba(5, 24, 58, 0.72));
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(100% - 40px, 1180px);
  min-height: 350px;
  margin: 0 auto;
  padding: 54px 0;
}

.page-hero h1 {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.page-shell {
  width: min(100% - 40px, 1180px);
  margin: -54px auto 42px;
  position: relative;
  z-index: 2;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 22px;
  align-items: start;
}

.content-card,
.page-side-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition:
    box-shadow var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.content-card:hover,
.page-side-card:hover {
  box-shadow: var(--shadow-lg);
}

.content-card {
  padding: clamp(26px, 4vw, 44px);
}

.content-card h2,
.page-side-card h2,
.contact-panel h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
}

.content-card p,
.page-side-card p,
.contact-panel p {
  color: var(--muted);
  font-size: 1rem;
}

.lead-copy {
  margin: 0;
  color: var(--ink) !important;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem) !important;
  line-height: 1.65;
}

.content-card .lead-copy + .lead-copy {
  margin-top: 18px;
}

.page-side-card {
  padding: 24px;
  border-top: 4px solid var(--gold);
}

.side-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.side-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.side-list svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.side-list strong {
  display: block;
  color: var(--navy);
  text-transform: uppercase;
}

.side-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.process-card,
.value-card {
  padding: 22px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out);
}

.process-card:hover,
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 175, 45, 0.45);
  box-shadow: var(--shadow-sm);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: 6px;
  font-weight: 900;
}

.process-card strong,
.value-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.process-card p,
.value-card p {
  margin: 8px 0 0;
  font-size: 0.94rem;
}

.value-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--gold);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 22px;
}

.contact-panel {
  padding: clamp(24px, 4vw, 38px);
}

.page-contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-method {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-method svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.contact-method strong {
  display: block;
  color: var(--navy);
  text-transform: uppercase;
}

.contact-method span {
  color: var(--muted);
  font-size: 0.94rem;
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-footer {
  width: min(100% - 40px, var(--container-narrow));
  margin: 0 auto 30px;
  padding: 18px 0;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
}

.site-footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color var(--duration-fast) var(--ease-out);
}

.site-footer-nav a:hover,
.site-footer-nav a.active {
  color: var(--gold-2);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li,
.why-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--navy);
  background: #eaf6f6;
  border-radius: 6px;
  font-weight: 900;
}

.steps strong,
.why-grid strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
}

.steps p,
.why-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.why-section {
  border-top: 1px solid var(--line);
}

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

.about-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(20px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-card img {
  width: 100%;
  max-height: 470px;
  object-fit: contain;
}

.student-hub {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 304px;
  padding: 14px 16px 10px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #020b1f);
  border: 1px solid rgba(243, 175, 45, 0.55);
  border-radius: 8px;
  box-shadow: 0 15px 32px rgba(5, 24, 58, 0.16);
}

.student-hub h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hub-actions {
  display: grid;
  gap: 6px;
  margin: 0;
}

.hub-actions button {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 20px;
  padding: 0;
  color: var(--white);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 0.78rem;
}

.hub-actions svg {
  width: 19px;
  height: 19px;
}

.hub-actions button:hover {
  color: var(--gold-2);
}

.hub-access-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 42px;
  margin-top: 10px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: 5px;
  font-weight: 900;
}

.hub-status {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.45;
}

.enroll-section {
  display: grid;
  place-items: start center;
}

.enroll-section .enroll-form {
  width: min(100%, 960px);
}

.enroll-form,
.contact-form,
.login-dialog form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(5, 24, 58, 0.08);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: 0;
  transition:
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(5, 24, 58, 0.18);
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 122px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(28, 140, 143, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  width: min(100% - 40px, var(--container-wide));
  min-height: 110px;
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--white);
}

.site-footer::before {
  position: fixed;
  z-index: -1;
  inset: auto 0 0;
  height: 220px;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 24, 58, 0) 0%, rgba(5, 24, 58, 0.72) 28%, var(--navy) 100%),
    var(--navy);
}

.site-footer img {
  width: min(210px, 42vw);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.site-footer-tagline {
  margin: 0 0 10px;
  color: var(--gold-2);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

.site-footer-center {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.site-footer-cta {
  justify-self: end;
  min-height: 40px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

dialog {
  width: min(760px, calc(100% - 32px));
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

dialog::backdrop {
  background: rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

dialog[open] {
  animation: dialog-in var(--duration-normal) var(--ease-out);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.course-dialog [data-dialog-content] {
  padding: clamp(22px, 4vw, 34px);
}

.dialog-hero {
  display: grid;
  gap: 14px;
}

.dialog-hero h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.dialog-section {
  margin-top: 24px;
}

.dialog-section h3 {
  margin-bottom: 10px;
  color: var(--navy);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  padding: 8px 10px;
  background: #f0f4f9;
  border-radius: 6px;
}

.close-dialog {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  color: var(--navy);
  background: var(--white);
}

.login-dialog {
  width: min(460px, calc(100% - 32px));
}

.login-dialog form {
  box-shadow: none;
  border: 0;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: inline-block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-actions {
    display: flex;
  }

  .site-header.menu-open {
    background: rgba(2, 11, 31, 0.98);
    box-shadow: var(--shadow-md);
  }

  .site-header.menu-open .main-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a {
    padding: 12px 0;
  }

  .main-nav a::after {
    bottom: 4px;
  }

  .course-grid,
  .feature-strip,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-shell {
    grid-template-columns: 1fr;
  }

  .student-hub {
    min-height: 0;
  }

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

  .feature-strip div:nth-child(2) {
    border-right: 0;
  }

  .feature-strip div {
    border-bottom: 1px solid var(--line);
  }

  .feature-strip div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .bottom-cta {
    grid-template-columns: 1fr 220px;
  }

  .bottom-cta-main {
    grid-column: 1 / -1;
  }

  .bottom-cta-stat {
    grid-template-columns: 42px 1fr;
  }

  .bottom-cta-stat svg {
    width: 40px;
    height: 40px;
  }

  .page-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 28px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero-inner {
    padding-bottom: 34px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(5, 24, 58, 0.98) 0%, rgba(5, 24, 58, 0.88) 46%, rgba(5, 24, 58, 0.28) 100%),
      linear-gradient(180deg, rgba(5, 24, 58, 0.22), rgba(5, 24, 58, 0.18));
  }

  .hero-callout {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 780px) {
  .brand img {
    width: 220px;
  }

  .section,
  .site-footer {
    width: min(100% - 28px, var(--container-wide));
  }

  .home-page main .home-section,
  .home-page main .home-section.section,
  .home-page main .feature-band,
  .home-page main .stats-band--full,
  .home-page .home-footer,
  .home-page .site-header {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .section-heading,
  .split-section,
  .about-card,
  .enroll-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .course-grid,
  .feature-strip,
  .why-grid,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip div,
  .feature-strip div:nth-child(2),
  .feature-strip div:nth-child(n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-strip div:last-child {
    border-bottom: 0;
  }

  .bottom-cta,
  .bottom-cta-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  .bottom-cta-main {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .bottom-cta-cap {
    width: 50px;
    height: 50px;
  }

  .bottom-cta > .primary-button {
    justify-self: stretch;
  }

  .bottom-cta-buttons {
    grid-column: 1 / -1;
    width: 100%;
  }

  .bottom-cta-buttons .primary-button,
  .bottom-cta-buttons .ghost-button {
    width: 100%;
  }

  .bottom-cta-stat {
    grid-template-columns: 40px 1fr;
  }

  .page-hero,
  .page-hero-content {
    min-height: 310px;
  }

  .page-hero-content,
  .page-shell {
    width: min(100% - 28px, var(--container-narrow));
  }

  .page-shell {
    margin-top: -34px;
  }

  .process-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .page-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .page-cta a,
  .page-cta button {
    width: 100%;
  }

  .courses-section {
    width: 100%;
  }

  .courses-section .section-heading {
    align-items: start;
  }

  .courses-section .section-heading h2::after {
    width: 72px;
  }

  .view-all-link {
    justify-self: start;
  }

  .hub-actions {
    grid-template-columns: 1fr;
  }

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

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

  .hero-metrics div,
  .hero-metrics div:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-metrics div:nth-child(2n) {
    border-right: 0;
  }

  .hero-metrics div:last-child {
    border-right: 0;
    border-bottom: 0;
    grid-column: 1 / -1;
  }

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

  .hero-actions a,
  .header-actions a,
  .header-actions button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer-cta {
    justify-self: center;
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 460px) {
  .site-header {
    min-height: 72px;
    padding-inline: 14px;
  }

  .brand img {
    width: 190px;
    max-height: 50px;
  }

  .hero {
    padding-inline: 0;
  }

  .hero-inner {
    padding-inline: var(--section-padding-x);
  }

  .course-actions {
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .hero-metrics div:nth-child(2),
  .hero-metrics div:nth-child(2n),
  .hero-metrics div:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }
}

/* Creative features */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.course-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.search-field {
  position: relative;
  display: block;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field input {
  min-height: 48px;
  padding-left: 42px;
  background: var(--white);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.chip:hover,
.chip.is-active {
  color: var(--navy);
  background: rgba(243, 175, 45, 0.16);
  border-color: rgba(243, 175, 45, 0.72);
}

.quiz-trigger {
  min-height: 48px;
  color: var(--navy);
  background: var(--white);
  border-color: rgba(243, 175, 45, 0.55);
}

.quiz-trigger svg {
  width: 18px;
  height: 18px;
}

.course-results {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.compare-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

.compare-toggle input {
  width: auto;
  min-height: 0;
  margin: 0;
}

.course-actions .ghost-button {
  min-width: 88px;
  min-height: 34px;
  padding: 0 12px;
  color: var(--navy);
  background: rgba(5, 24, 58, 0.04);
  border-color: rgba(5, 24, 58, 0.16);
  font-size: 0.78rem;
}

.course-card-empty .course-body {
  padding-top: 42px;
}

.stats-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

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

.stat-card {
  padding: 24px 20px;
  text-align: center;
  background: linear-gradient(145deg, var(--white), #f3f7fc);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.testimonials-section .section-heading {
  align-items: center;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.testimonial-carousel {
  position: relative;
}

.testimonial-track {
  display: grid;
}

.testimonial-card {
  grid-area: 1 / 1;
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
  pointer-events: none;
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.testimonial-card footer {
  margin-top: 18px;
}

.testimonial-card footer strong {
  display: block;
  color: var(--navy);
}

.testimonial-card footer span {
  color: var(--muted);
  font-size: 0.92rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(5, 24, 58, 0.18);
  border: 0;
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.faq-intro p:last-of-type {
  color: var(--muted);
}

.faq-item {
  padding: 0 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item summary {
  padding: 18px 0;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  float: right;
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
}

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

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
}

.compare-bar {
  position: fixed;
  right: var(--section-padding-x);
  bottom: 20px;
  left: var(--section-padding-x);
  z-index: 24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 18px;
  color: var(--white);
  background: rgba(5, 24, 58, 0.96);
  border: 1px solid rgba(243, 175, 45, 0.42);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.compare-bar-actions {
  display: flex;
  gap: 10px;
}

.floating-actions {
  position: fixed;
  right: var(--section-padding-x);
  bottom: 18px;
  z-index: 23;
  display: grid;
  gap: 10px;
}

.floating-action,
.back-to-top {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-fast) var(--ease-out);
}

.floating-action svg,
.back-to-top svg {
  width: 22px;
  height: 22px;
}

.floating-action-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
}

.floating-action:hover,
.back-to-top:hover {
  transform: translateY(-2px);
}

.toast-stack {
  position: fixed;
  top: calc(var(--header-height) + 12px);
  right: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 36px));
}

.toast {
  padding: 14px 16px;
  color: var(--white);
  background: rgba(5, 24, 58, 0.96);
  border: 1px solid rgba(243, 175, 45, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-info {
  background: rgba(28, 140, 143, 0.96);
  border-color: rgba(255, 255, 255, 0.22);
}

.enroll-dialog,
.quiz-dialog,
.compare-dialog {
  width: min(760px, calc(100% - 32px));
}

.quiz-shell {
  padding: clamp(22px, 4vw, 34px);
}

.quiz-progress {
  height: 6px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #edf1f7;
  border-radius: var(--radius-full);
}

.quiz-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: inherit;
  transition: width 400ms var(--ease-out);
}

.quiz-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.quiz-option {
  min-height: 54px;
  padding: 14px 16px;
  color: var(--navy);
  text-align: left;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 700;
  transition:
    border-color var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.quiz-option:hover {
  background: rgba(243, 175, 45, 0.12);
  border-color: rgba(243, 175, 45, 0.55);
  transform: translateX(4px);
}

.quiz-result p {
  color: var(--muted);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.compare-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare-table th {
  color: var(--navy);
  background: #f7f9fc;
}

.compare-content {
  padding: clamp(22px, 4vw, 34px);
}

@media (max-width: 1100px) {
  .course-toolbar {
    grid-template-columns: 1fr;
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
  }
}

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

  .compare-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .compare-bar-actions {
    flex-direction: column;
  }

  .compare-bar-actions button {
    width: 100%;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .toast-stack {
    right: 14px;
    left: 14px;
    width: auto;
  }
}

/* Homepage styles live in home.css */

.stats-band--full {
  width: 100%;
  padding-block: var(--section-padding-y);
  color: var(--white);
  border: 0;
  border-block: 1px solid rgba(243, 175, 45, 0.22);
  border-radius: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  box-shadow: none;
}

.faq-contact-btn {
  margin-left: 10px;
  color: var(--navy);
  background: transparent;
  border-color: var(--line);
}
