:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --bg-dark: #0c1a33;
  --bg-darker: #081226;
  --text: #1b2230;
  --text-soft: #4b5566;
  --muted: #7b8499;
  --line: #e6e8ef;
  --brand: #003ea0;
  --brand-600: #002f7d;
  --brand-300: #5b8bd6;
  --accent: #ffd24a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 51, 0.06), 0 2px 8px rgba(12, 26, 51, 0.05);
  --shadow-md: 0 6px 24px rgba(12, 26, 51, 0.10);
  --shadow-lg: 0 18px 60px rgba(12, 26, 51, 0.18);
  --maxw: 1140px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .logo img {
    height: 32px;
  }
}

.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.primary-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}
.primary-nav a:not(.btn):hover {
  color: var(--brand);
  text-decoration: none;
}
.primary-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.primary-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  width: 22px;
  transition: 0.2s ease;
}

@media (max-width: 820px) {
  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .primary-nav a {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav a.btn {
    margin: 12px 24px 0;
    width: calc(100% - 48px);
    text-align: center;
  }
  .primary-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.06s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #ffffff;
}
.btn-primary {
  background: linear-gradient(180deg, #0a52c4, var(--brand));
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 62, 160, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-primary .btn-label {
  color: #ffffff;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #0a52c4, #00368e);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 62, 160, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.btn-sm.btn-primary {
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 62, 160, 0.3);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
.section-light .btn-ghost {
  color: var(--text);
}
.section-light .btn-ghost:hover {
  background: rgba(0, 62, 160, 0.06);
  color: var(--brand);
  border-color: var(--brand);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(
      1200px 500px at 80% -10%,
      rgba(0, 62, 160, 0.35),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  color: #fff;
  padding: 96px 0 120px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
}
.hero .lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin: 0 0 32px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  isolation: isolate;
}
.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 26, 51, 0) 50%, rgba(12, 26, 51, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-art img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

@media (max-width: 820px) {
  .hero {
    padding: 64px 0 72px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-art {
    max-width: 320px;
    justify-self: start;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}
@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }
}
.section-light {
  background: var(--bg);
  color: var(--text);
}
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-accent {
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  color: var(--text);
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 36px;
  font-weight: 700;
}
.section-title.center {
  text-align: center;
}
.section-title em {
  color: var(--brand);
  font-style: italic;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 12px;
  color: var(--brand-300);
  margin: 0 0 12px;
}
.accent {
  color: var(--accent);
  font-style: italic;
}

/* ---------- Video ---------- */
.video-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-facade:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(12, 26, 51, 0.22);
}
.video-facade .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
  transition: filter 0.2s ease, transform 0.5s ease;
}
.video-facade:hover .video-poster {
  filter: brightness(0.85);
  transform: scale(1.02);
}
.video-facade .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 40px rgba(0, 62, 160, 0.55);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-facade .video-play svg {
  margin-left: 4px;
}
.video-facade:hover .video-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: #0a52c4;
}
.video-facade .video-label {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.video-facade.is-playing .video-poster,
.video-facade.is-playing .video-play,
.video-facade.is-playing .video-label {
  display: none;
}
.video-facade iframe,
.video-facade video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.video-facade[data-video-url=''] {
  cursor: default;
}
.video-facade[data-video-url=''] .video-play {
  opacity: 0.6;
}

/* ---------- Course card ---------- */
.course-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  color: var(--text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.course-card-body {
  padding: 56px;
}
.course-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  line-height: 1.1;
}
.course-card .accent {
  color: var(--brand);
}
.course-card .price {
  font-size: 56px;
  font-weight: 800;
  color: var(--bg-dark);
  margin: 0 0 16px;
  letter-spacing: -1px;
}
.course-card .price span {
  font-size: 28px;
  vertical-align: top;
  margin-right: 4px;
  color: var(--brand);
}
.course-stats {
  list-style: none;
  margin: 0;
  padding: 56px;
  background: var(--bg-darker);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.course-stats li strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}
.course-stats li span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 820px) {
  .course-card {
    grid-template-columns: 1fr;
  }
  .course-card-body,
  .course-stats {
    padding: 36px 28px;
  }
}

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 62, 160, 0.2);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--brand);
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--text-soft);
}

/* ---------- Takeaways ---------- */
.takeaways {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.takeaways li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 22px 18px 56px;
  border-radius: var(--radius);
  position: relative;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.takeaways li::before {
  content: '✓';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Quotes ---------- */
.quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  position: relative;
  padding-left: 18px;
  border-left: 3px solid var(--brand);
  font-style: italic;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
}
.quote figcaption strong {
  color: var(--bg-dark);
}
.quote figcaption span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 12px;
}
.contact-list .label {
  color: var(--brand-300);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.contact-list a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.contact-list a:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

.contact-form {
  background: #fff;
  color: var(--text);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.field input,
.field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbff;
  color: var(--text);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 62, 160, 0.15);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: #d04a4a;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.contact-form.is-loading .btn-spinner {
  display: inline-block;
}
.contact-form.is-loading button[type='submit'] {
  pointer-events: none;
  opacity: 0.85;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  margin: 0;
  min-height: 22px;
  font-size: 14px;
  color: var(--muted);
}
.form-status.success {
  color: #1a7f3c;
}
.form-status.error {
  color: #c0392b;
}

@media (max-width: 820px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form {
    padding: 24px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-inner nav a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-inner nav a:hover {
  color: var(--accent);
  text-decoration: none;
}
.logo-footer img {
  height: 32px;
  filter: invert(1) brightness(1.4) contrast(0.85);
  opacity: 0.92;
}
.copy {
  margin: 0;
  font-size: 14px;
}
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
