:root {
  --bg: #f5f8fb;
  --panel: #ffffff;
  --panel-2: #eef5f1;
  --line: #d7e2dc;
  --text: #08223d;
  --muted: #52667a;
  --navy: #00284d;
  --navy-dark: #eaf1f7;
  --green: #00843d;
  --green-dark: #006b32;
  --gold: #d89b08;
  --gold-dark: #a97700;
  --accent: var(--green);
  --accent-dark: var(--green-dark);
  --shadow: 0 18px 50px rgba(0, 40, 77, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

body {
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 26, 51, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand > span:last-child {
  display: none;
}

.brand span span {
  color: var(--green);
}

.brand small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.brand-logo {
  width: 190px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  border-radius: 4px;
}

.nav-panel,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-panel a,
.link-muted {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.nav-panel a.active,
.nav-panel a:hover {
  background: #0f2f4d;
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 132, 61, 0.25);
}

.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-dark {
  background: #122a43;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d2740;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 74% 18%, rgba(216, 155, 8, 0.18), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(0, 132, 61, 0.18), transparent 28%),
    linear-gradient(180deg, #03101f 0%, #071b2f 78%, #0b2238 100%);
  overflow: hidden;
}

.hero-grid,
.intro-grid,
.split,
.certificate-box,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 610px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.94;
  text-transform: uppercase;
}

h1 span,
.intro h2 span {
  color: var(--green);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
}

.hero-copy p {
  max-width: 640px;
  color: var(--muted);
}

.badges,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.badges span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #0d2a45;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.badges span:nth-child(2) {
  background: var(--gold);
  color: #201500;
}

.hero-media {
  align-self: end;
  position: relative;
}

.hero-media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 0 180px 180px;
  filter: saturate(1.05) contrast(1.02);
}

.intro {
  background: var(--panel);
}

.intro h2 {
  max-width: 620px;
  text-transform: uppercase;
}

.intro h2::first-line {
  color: #fff;
}

.intro-copy > p,
.section-lead {
  color: var(--muted);
}

.course-checklist {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.check-item,
.faq-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d2740;
  color: #dce5f2;
  text-align: left;
  cursor: pointer;
}

.check-item {
  padding: 14px 16px;
}

.check-item::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border: 2px solid #53647d;
  border-radius: 50%;
}

.check-item.active {
  border-color: rgba(0, 132, 61, 0.9);
  background: #0f2d45;
}

.check-item.active::before {
  background: var(--green);
  border-color: var(--green);
}

.portrait-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.portrait {
  width: 100%;
  min-height: 220px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.portrait.tall {
  grid-row: span 2;
  min-height: 470px;
}

.portrait.wide {
  min-height: 170px;
}

.masterclass {
  background: #030717;
}

.poster-card {
  min-height: 450px;
  padding: 38px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(2, 5, 12, 0.1), rgba(2, 5, 12, 0.9)),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=820&q=80") center/cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}

.tag,
.feature-list span,
.course-card span {
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(216, 155, 8, 0.16);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.poster-card h3 {
  font-size: 42px;
  line-height: 1;
  text-transform: uppercase;
}

.poster-card p {
  color: #c3ccdb;
}

.poster-card strong {
  color: #ffd15c;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin: 26px 0;
}

.feature-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
}

.feature-list span {
  grid-row: span 2;
}

.feature-list p,
.course-card p,
.article-grid p,
.footer-grid p,
.faq-answer {
  color: var(--muted);
}

.founder,
.faq {
  background: var(--panel);
}

.center {
  text-align: center;
}

.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.video-frame {
  position: relative;
  width: min(820px, 100%);
  margin: 28px auto 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.video-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.play-button.small {
  width: 46px;
  height: 46px;
}

.play-button.small::after {
  left: 19px;
  top: 14px;
  border-left-width: 13px;
  border-top-width: 9px;
  border-bottom-width: 9px;
}

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

.section-head a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.curriculum .eyebrow,
.curriculum .section-head a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #201500;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.curriculum .section-head a {
  min-height: 44px;
  padding: 0 22px;
  text-transform: none;
}

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

.course-card,
.article-grid article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  overflow: hidden;
}

.article-card-link {
  display: block;
  height: 100%;
}

.article-card-link article {
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.article-card-link:hover article,
.article-card-link:focus-visible article {
  border-color: rgba(0, 132, 61, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.course-card img,
.article-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.course-card h3,
.course-card p,
.article-grid h3,
.article-grid p {
  padding: 0 18px;
}

.course-card h3,
.article-grid h3 {
  margin-top: 16px;
}

.read-more {
  display: inline-flex;
  margin: 0 18px 20px;
  color: var(--green);
  font-weight: 900;
}

.course-card span {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--gold);
  color: var(--navy-dark);
}

.course-card span.free {
  background: var(--green);
  color: #052113;
}

.course-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 36px);
  margin: 8px 18px 18px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a1d31;
  color: #fff;
  cursor: pointer;
}

.courses .center {
  margin-top: 28px;
}

.home-hero {
  min-height: 680px;
}

.hero-photo-card {
  position: relative;
  width: min(100%, 560px);
  justify-self: end;
  border-radius: 8px 8px 150px 150px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  animation: heroPhotoFloat 5s ease-in-out infinite;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 16, 31, 0) 46%, rgba(3, 16, 31, 0.38) 100%),
    linear-gradient(135deg, rgba(0, 132, 61, 0.16), transparent 44%);
  pointer-events: none;
  z-index: 1;
}

.hero-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
  transition: transform 360ms ease;
}

.hero-photo-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.hero-photo-card:hover img {
  transform: scale(1.06);
}

.photo-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.badge-green {
  left: 22px;
  bottom: 58px;
  background: var(--green);
}

.badge-gold {
  right: 24px;
  top: 26px;
  background: var(--gold);
  color: #201500;
}

.hero-photo-card:hover .badge-green {
  transform: translate(8px, -4px);
}

.hero-photo-card:hover .badge-gold {
  transform: translate(-8px, 5px);
}

.photo-badge,
.hero-photo-card:hover .photo-badge {
  transition: transform 260ms ease;
}

@keyframes heroPhotoFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

.trade-board {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(216, 155, 8, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 132, 61, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(11, 34, 56, 0.94), rgba(0, 26, 51, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trade-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(167, 182, 198, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

.board-top,
.route-card,
.board-grid,
.market-tags {
  position: relative;
  z-index: 1;
}

.board-top,
.route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.board-top {
  margin-bottom: 22px;
  color: var(--muted);
}

.board-top strong {
  color: var(--gold);
  font-size: 42px;
  line-height: 1;
}

.route-card {
  padding: 20px;
  border-radius: 8px;
  background: rgba(3, 16, 31, 0.82);
}

.route-card small,
.board-grid small {
  display: block;
  color: var(--muted);
}

.port-dot {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.port-dot.gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.route-line {
  flex: 1;
  height: 2px;
  min-width: 42px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.board-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 39, 64, 0.86);
}

.board-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}

.market-tags,
.founder-points,
.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-tags {
  margin-top: 18px;
}

.market-tags span,
.founder-points span,
.resource-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 27, 47, 0.86);
  color: #dce5f2;
  font-size: 13px;
  font-weight: 800;
}

.home-stats {
  padding: 26px 0;
  background: var(--navy-dark);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

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

.pathway-steps {
  margin-top: 52px;
}

.pathway-steps-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.pathway-steps-head h2 {
  margin-bottom: 0;
}

.pathway-steps .pathway-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pathway-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 132, 61, 0.08), transparent),
    #0d2740;
}

.pathway-grid span {
  color: var(--gold);
  font-weight: 900;
}

.pathway-grid p {
  color: var(--muted);
}

.market-map {
  min-height: 430px;
  padding: 34px;
  border: 1px solid rgba(216, 155, 8, 0.3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 64% 28%, rgba(216, 155, 8, 0.2), transparent 18%),
    radial-gradient(circle at 35% 66%, rgba(0, 132, 61, 0.22), transparent 21%),
    linear-gradient(135deg, #0d2740, #03101f);
  box-shadow: var(--shadow);
}

.country-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.country-list span {
  padding: 13px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(3, 16, 31, 0.72);
  font-weight: 800;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 44px;
}

.founder-points {
  margin-top: 22px;
}

.resource-box {
  grid-template-columns: 1fr 0.85fr;
}

.resource-list {
  align-content: center;
}

.resource-list span {
  border-color: rgba(216, 155, 8, 0.34);
  background: rgba(0, 26, 51, 0.62);
}

.course-hero {
  background:
    radial-gradient(circle at 70% 18%, rgba(216, 155, 8, 0.18), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(0, 132, 61, 0.16), transparent 28%),
    linear-gradient(180deg, #03101f 0%, #0b2238 100%);
}

.page-hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 72% 18%, rgba(216, 155, 8, 0.18), transparent 30%),
    radial-gradient(circle at 16% 78%, rgba(0, 132, 61, 0.18), transparent 28%),
    linear-gradient(180deg, #03101f 0%, #071b2f 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 54px;
}

.page-hero p {
  color: var(--muted);
}

.page-visual {
  overflow: hidden;
  border: 1px solid rgba(216, 155, 8, 0.28);
  border-radius: 8px;
  background: #0d2740;
  box-shadow: var(--shadow);
}

.page-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.info-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 132, 61, 0.08), transparent),
    var(--panel-2);
  box-shadow: var(--shadow);
}

.info-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(216, 155, 8, 0.16);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-card h2 {
  font-size: 26px;
}

.info-card p {
  color: var(--muted);
}

.info-card a {
  color: var(--gold);
  font-weight: 800;
}

.page-poster {
  min-height: 430px;
}

.page-poster {
  display: grid;
  grid-template-rows: 190px auto;
  padding: 0;
  overflow: hidden;
  background: #0d2740;
}

.page-poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-card-content {
  display: grid;
  gap: 12px;
  padding: 32px;
}

.poster-card-content .tag {
  margin-bottom: 0;
}

.poster-card-content h3,
.poster-card-content p {
  margin-bottom: 0;
}

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

.blog-hero {
  background: linear-gradient(180deg, #edf5f9, #f7fbfd);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 42px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.blog-post h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.blog-post h2 {
  margin: 38px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.blog-post h3 {
  margin-bottom: 8px;
}

.blog-content {
  width: min(820px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
}

.blog-content h2,
.blog-content h3 {
  color: var(--text);
}

.interactive-figure {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #dfe8ef;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.interactive-figure.wide {
  margin: 34px 0;
}

.interactive-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.interactive-figure:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.interactive-figure figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(3, 16, 31, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.blog-callout {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid rgba(0, 132, 61, 0.22);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  background: #eef8f2;
}

.blog-callout p:last-child {
  margin-bottom: 0;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 0;
  background: rgba(2, 10, 24, 0.84);
  cursor: zoom-out;
}

.image-lightbox img {
  width: min(1100px, 100%);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.community-page {
  background: #020a18;
}

.community-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 70px;
}

.community-head h1 {
  margin-bottom: 6px;
  font-size: clamp(34px, 5vw, 48px);
}

.community-head p {
  color: var(--muted);
}

.community-join {
  margin: 22px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  text-align: center;
  box-shadow: var(--shadow);
}

.community-join p {
  max-width: 560px;
  margin: 0 auto 18px;
  color: var(--muted);
}

.community-join {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: center;
  gap: 22px;
  text-align: left;
}

.community-join img {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
}

.community-join p {
  margin-left: 0;
  margin-right: 0;
}

.community-search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #061528;
  color: var(--muted);
}

.community-search span {
  font-size: 13px;
  font-weight: 800;
}

.community-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.community-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}

.community-tabs button {
  position: relative;
  padding: 0 0 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.community-tabs button.active {
  color: var(--text);
}

.community-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--green);
}

.post-feed {
  display: grid;
  gap: 14px;
}

.post-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b172b;
}

.post-card.is-hidden {
  display: none;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.avatar.red {
  background: #c0392b;
}

.avatar.gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.avatar.blue {
  background: #276c9f;
}

.avatar.green {
  background: var(--green);
}

.post-author strong,
.post-author small {
  display: block;
}

.post-author small {
  color: var(--muted);
}

.post-author em,
.comment-preview em {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.post-card h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.post-card p {
  color: var(--muted);
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 13px;
}

.post-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #101f35;
  color: var(--muted);
  padding: 5px 10px;
  cursor: pointer;
}

.post-empty {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #6f7f92;
  font-size: 13px;
}

.comment-preview {
  margin-top: 12px;
  padding: 13px;
  border-radius: 8px;
  background: #101d33;
}

.comment-preview p {
  margin: 5px 0;
}

.comment-preview small {
  color: #6f7f92;
}

.signin-note {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.pagination a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #071b2f;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pagination a.active {
  background: var(--green);
  color: #fff;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: #d7e2dc;
}

.nav-panel a.active,
.nav-panel a:hover {
  background: #e1f1e8;
  color: var(--green);
}

.nav-toggle,
.btn-dark,
.course-link,
.course-card button {
  background: #e8f0f7;
  color: var(--navy);
}

.nav-toggle span {
  background: var(--navy);
}

.hero,
.course-hero,
.page-hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(216, 155, 8, 0.16), transparent 30%),
    radial-gradient(circle at 16% 78%, rgba(0, 132, 61, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef5f1 100%);
}

.masterclass,
.community-page,
.site-footer,
.course-strip,
.home-stats {
  background: #edf4f8;
}

.trade-board,
.market-map,
.course-preview,
.sticky-card,
.module-card,
.review-grid article,
.info-card,
.post-card,
.community-join,
.page-visual,
.certificate-box,
.testimonial,
.course-card,
.article-grid article {
  background: #ffffff;
}

.route-card,
.board-grid article,
.outcome-grid article,
.instructor-card,
.final-cta-box,
.faq-item,
.faq-answer,
.check-item,
.comment-preview,
.community-search,
.pagination a,
.stats-grid div {
  background: #f4f8fb;
}

.market-tags span,
.founder-points span,
.resource-list span,
.course-meta span,
.included-list span,
.instructor-points span {
  background: #edf6f1;
  color: var(--navy);
}

.post-actions button {
  background: #eef5f1;
  color: var(--navy);
}

.socials a {
  background: #edf6f1;
}

.nav-panel {
  background: #ffffff;
}

.course-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 54px;
}

.course-hero p {
  color: var(--muted);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 4px;
}

.course-meta span,
.included-list span,
.instructor-points span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 27, 47, 0.84);
  color: #dce5f2;
  font-size: 13px;
  font-weight: 800;
}

.course-preview,
.sticky-card,
.module-card,
.review-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  box-shadow: var(--shadow);
}

.course-preview {
  overflow: hidden;
}

.preview-media {
  position: relative;
}

.preview-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.preview-body {
  padding: 24px;
}

.price {
  display: inline-block;
  margin-right: 8px;
  font-size: 38px;
  font-weight: 900;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
}

.preview-body .btn {
  width: 100%;
  margin: 16px 0;
}

.preview-body ul,
.module-lessons ul {
  padding-left: 20px;
  color: var(--muted);
}

.course-strip {
  padding: 26px 0;
  background: #001a33;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

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

.stats-grid div {
  padding: 20px;
  border-radius: 8px;
  background: #071b2f;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  font-size: 22px;
}

.stats-grid span {
  color: var(--muted);
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 36px;
}

.course-overview {
  background: var(--panel);
}

.course-overview p {
  color: var(--muted);
}

.outcome-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.outcome-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d2740;
}

.outcome-grid span {
  color: var(--gold);
  font-weight: 900;
}

.sticky-card {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.included-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.sticky-card .btn {
  width: 100%;
}

.module-list {
  display: grid;
  gap: 14px;
}

.module-card {
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.module-card.locked {
  border-color: rgba(216, 155, 8, 0.38);
  background: #092239;
}

.module-card.locked .module-toggle {
  color: rgba(255, 255, 255, 0.72);
}

.module-card.locked .module-toggle::after {
  content: "Lock";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(216, 155, 8, 0.16);
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.module-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
}

.module-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #201500;
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

.module-toggle::after {
  content: "+";
  margin-left: auto;
  color: var(--green);
  font-size: 24px;
}

.module-card.open .module-toggle::after {
  content: "-";
}

.module-lessons {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.module-card.open .module-lessons {
  display: block;
}

.module-lock {
  display: none;
  margin: 0 22px 22px;
  padding: 18px;
  border: 1px solid rgba(216, 155, 8, 0.35);
  border-radius: 8px;
  background: rgba(3, 16, 31, 0.72);
  color: #fff;
}

.module-card.locked.open .module-lessons {
  display: none;
}

.module-card.locked.open .module-lock,
.module-card.locked .module-lock {
  display: grid;
  gap: 10px;
}

.module-lock strong::before,
.locked-resource h2::before {
  content: "Lock";
  display: inline-flex;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #201500;
  font-size: 11px;
  text-transform: uppercase;
}

.module-lock p {
  margin: 0;
  color: #d7e2dc;
}

.locked-resource {
  border-color: rgba(216, 155, 8, 0.45);
}

.locked-resource .btn {
  margin: 0 18px 20px;
}

.signin-note {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.signin-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 16, 31, 0.72);
  backdrop-filter: blur(8px);
}

.signin-modal.open {
  display: flex;
}

.signin-dialog {
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.signin-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.signin-dialog h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.signin-dialog p {
  margin: 0;
  color: var(--muted);
}

.signin-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  color: var(--text);
  cursor: pointer;
}

.signin-form {
  display: grid;
  gap: 14px;
}

.signin-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.signin-form input,
.signin-form select,
.signin-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.signin-form textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.signin-form small {
  color: var(--muted);
  text-align: center;
}

.instructor-section,
.final-cta {
  background: var(--panel);
}

.instructor-card,
.final-cta-box {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: center;
  gap: 36px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d2740;
}

.instructor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.instructor-card p,
.review-grid p {
  color: var(--muted);
}

.instructor-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid article {
  padding: 24px;
  box-shadow: none;
}

.final-cta-box {
  grid-template-columns: 1fr auto;
}

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

.video-card {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.video-card img,
.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #03101f;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(0, 40, 77, 0.12);
}

.video-card strong {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.certificate-box {
  padding: 42px;
  border-radius: 8px;
  background: #121d30;
  box-shadow: var(--shadow);
}

.certificate-box img {
  width: 100%;
  max-height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.testimonial-slider {
  position: relative;
  max-width: 760px;
  margin: 28px auto 0;
  min-height: 210px;
}

.testimonial {
  display: none;
  padding: 38px 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.testimonial.active {
  display: block;
}

.testimonial p {
  font-size: 21px;
}

.testimonial span {
  display: block;
  color: var(--muted);
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #111a2a;
  color: #fff;
  cursor: pointer;
}

.slider-btn.prev {
  left: 14px;
}

.slider-btn.next {
  right: 14px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.faq-grid h3 {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 14px 16px;
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #0d2740;
}

.faq-item.open {
  border-radius: 8px 8px 0 0;
}

.faq-item.open + .faq-answer {
  display: block;
}

.site-footer {
  padding: 58px 0 24px;
  background: #001a33;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  align-items: start;
}

.footer-grid h3 {
  font-size: 14px;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0d2740;
}

.social-link::before {
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.social-facebook::before {
  content: "f";
}

.social-twitter::before {
  content: "x";
}

.social-linkedin::before {
  content: "in";
}

.social-instagram::before {
  content: "ig";
}

.social-youtube::before {
  content: "yt";
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #68758a;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0b1425;
  }

  .nav-panel.open {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .intro-grid,
  .split,
  .certificate-box,
  .footer-grid,
  .faq-grid,
  .course-hero-grid,
  .page-hero-grid,
  .course-layout,
  .instructor-card,
  .final-cta-box,
  .founder-grid,
  .resource-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-media img {
    max-height: 440px;
  }

  .hero-photo-card {
    justify-self: center;
    width: min(100%, 520px);
  }

  .course-grid,
  .article-grid,
  .video-row,
  .stats-grid,
  .review-grid,
  .pathway-grid,
  .page-card-grid,
  .article-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pathway-steps .pathway-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 54px 0;
  }

  .nav {
    gap: 8px;
  }

  .brand {
    max-width: 150px;
    font-size: 13px;
  }

  .brand-logo {
    width: 146px;
    height: 42px;
  }

  .nav-actions .btn-small {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .nav-actions .link-muted {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions,
  .badges,
  .section-head,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .course-grid,
  .article-grid,
  .video-row,
  .portrait-stack,
  .stats-grid,
  .outcome-grid,
  .review-grid,
  .pathway-grid,
  .board-grid,
  .page-card-grid,
  .article-page-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
  }

  .pathway-steps .pathway-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

  .community-shell {
    padding-top: 14px;
  }

  .community-join {
    padding: 22px;
  }

  .community-join {
    grid-template-columns: 1fr;
  }

  .community-join img {
    height: 170px;
  }

  .community-tabs {
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .post-card {
    padding: 15px;
  }

  .post-actions,
  .pagination {
    flex-wrap: wrap;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-photo-card {
    border-radius: 8px 8px 96px 96px;
  }

  .photo-badge {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .badge-green {
    left: 14px;
    bottom: 34px;
  }

  .badge-gold {
    right: 14px;
    top: 16px;
  }

  .trade-board,
  .market-map {
    padding: 22px;
  }

  .board-top strong {
    font-size: 34px;
  }

  .route-card {
    align-items: stretch;
    flex-direction: column;
  }

  .route-line {
    width: 2px;
    height: 34px;
    min-width: 0;
    margin-left: 23px;
    background: linear-gradient(180deg, var(--green), var(--gold));
  }

  .module-toggle {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 52px;
    font-size: 17px;
  }

  .module-toggle::after {
    position: absolute;
    right: 20px;
  }

  .instructor-card,
  .final-cta-box {
    padding: 24px;
  }

  .portrait.tall,
  .portrait,
  .portrait.wide {
    min-height: 240px;
  }

  .poster-card {
    min-height: 380px;
    padding: 26px;
  }

  .certificate-box {
    padding: 24px;
  }

  .testimonial {
    padding: 30px 54px;
  }

  .testimonial p {
    font-size: 18px;
  }
}

/* Final light-mode corrections. Kept at the end so they win over older dark component rules. */
body {
  background: var(--bg);
  color: var(--text);
}

.site-header,
.nav-panel,
.site-footer,
.community-page,
.masterclass,
.founder,
.faq,
.intro,
.instructor-section,
.final-cta,
.course-overview,
.course-strip,
.home-stats {
  background: #f5f8fb;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: #d7e2dc;
}

.nav-panel a.active,
.nav-panel a:hover {
  background: #e1f1e8;
  color: var(--green);
}

.link-muted {
  color: #52667a;
}

.hero,
.home-hero,
.course-hero,
.page-hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(216, 155, 8, 0.16), transparent 30%),
    radial-gradient(circle at 16% 78%, rgba(0, 132, 61, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef5f1 100%);
}

.intro,
.founder,
.faq,
.instructor-section,
.final-cta,
.course-overview {
  background: #ffffff;
}

.masterclass,
.community-page,
.course-strip,
.home-stats,
.site-footer {
  background: #edf4f8;
}

.trade-board,
.market-map,
.route-card,
.board-grid article,
.pathway-grid article,
.course-preview,
.sticky-card,
.module-card,
.review-grid article,
.info-card,
.post-card,
.community-join,
.community-search,
.comment-preview,
.page-visual,
.certificate-box,
.testimonial,
.course-card,
.article-grid article,
.outcome-grid article,
.instructor-card,
.final-cta-box,
.faq-item,
.faq-answer,
.check-item,
.stats-grid div,
.pagination a {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(0, 40, 77, 0.08);
}

.trade-board::before {
  border-color: rgba(0, 40, 77, 0.16);
}

.route-card,
.board-grid article,
.comment-preview,
.faq-answer,
.stats-grid div,
.community-search,
.pagination a {
  background: #f1f6fa;
}

.poster-card,
.page-poster {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 40, 77, 0.76)),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=820&q=80") center/cover;
}

.market-tags span,
.founder-points span,
.resource-list span,
.course-meta span,
.included-list span,
.instructor-points span,
.badges span {
  background: #edf6f1;
  color: var(--navy);
  border-color: #cfe5d7;
}

.badges span:nth-child(2),
.course-card span.free {
  background: var(--green);
  color: #ffffff;
}

.course-card span,
.tag,
.feature-list span,
.info-card span {
  background: #fff2cf;
  color: #7a5300;
}

.btn-dark,
.course-link,
.post-actions button {
  background: #e8f0f7;
  color: var(--navy);
  border-color: #cfdde8;
}

.module-toggle,
.video-card,
.community-tabs button {
  color: var(--text);
}

.nav-toggle {
  background: #edf6f1;
}

.nav-toggle span {
  background: var(--navy);
}

.post-empty,
.comment-preview small,
.footer-bottom {
  color: #64758a;
}

.socials a {
  background: #edf6f1;
  color: var(--navy);
}

/* Homepage hero treatment */
.home-hero {
  min-height: auto;
  padding: clamp(44px, 6vw, 78px) 0 clamp(42px, 5vw, 72px);
  background:
    radial-gradient(circle at 84% 34%, rgba(255, 113, 79, 0.12), transparent 24%),
    linear-gradient(180deg, #070d1d 0%, #0b1224 100%);
  color: #f7f8fb;
}

.home-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  min-height: auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.home-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.hero-languages {
  margin-bottom: clamp(20px, 2.8vw, 34px);
  color: #97a4b8;
  font-size: clamp(13px, 1.3vw, 20px);
  font-weight: 800;
  letter-spacing: clamp(1.4px, 0.22vw, 3px);
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding: 0 22px;
  border: 1px solid rgba(239, 68, 68, 0.48);
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.16);
  color: #ff7f7f;
  font-size: clamp(14px, 1.2vw, 19px);
  font-weight: 800;
}

.home-hero h1 {
  max-width: 900px;
  margin-bottom: clamp(22px, 2.7vw, 30px);
  color: #f8fafc;
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

.home-hero h1 span {
  display: block;
  max-width: 100%;
  background: linear-gradient(90deg, #ff3b30 0%, #ff8a1f 26%, #ffd11f 51%, #ff8b55 76%, #ff6b7a 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 860px;
  margin-bottom: clamp(28px, 3.2vw, 42px);
  color: #d8deea;
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.46;
}

.certified-block {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 50px);
}

.certified-block strong {
  color: #f7f8fb;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1;
}

.home-hero .badges {
  margin-top: 0;
  gap: 12px;
}

.home-hero .badges span {
  min-height: 37px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: #172234;
  color: #e5e7eb;
  font-size: 16px;
  font-weight: 800;
}

.home-hero .badges span:nth-child(2) {
  border-color: transparent;
  background: #ea2929;
  color: #ffffff;
}

.home-hero .badges span:nth-child(3) {
  border-color: transparent;
  background: linear-gradient(90deg, #ef2929, #ff6464);
  color: #ffffff;
}

.home-hero .badges span:nth-child(4) {
  border-color: transparent;
  background: #25c68a;
  color: #ffffff;
}

.home-hero .hero-actions {
  gap: 18px;
  margin-top: 0;
}

.home-hero .btn {
  min-width: min(276px, 100%);
  min-height: 58px;
  border-radius: 12px;
  font-size: clamp(18px, 1.6vw, 23px);
}

.hero-primary {
  gap: 14px;
  background: linear-gradient(90deg, #ef2929, #ff424f);
  box-shadow: 0 18px 34px rgba(239, 41, 41, 0.28);
}

.hero-primary span {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #ffffff;
}

.home-hero .hero-secondary {
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  color: #e5e7eb;
  box-shadow: none;
}

.hero-edge-visual {
  width: min(100%, 420px);
  justify-self: end;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px 24px 120px 120px;
  background: transparent;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-edge-visual::after {
  background: linear-gradient(90deg, rgba(7, 13, 29, 0.18), transparent 44%);
}

.hero-edge-visual img {
  aspect-ratio: 4 / 5;
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
}

@media (max-width: 1180px) {
  .home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  }

  .home-hero h1 {
    font-size: clamp(44px, 6.2vw, 78px);
  }
}

@media (max-width: 900px) {
  .home-hero .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-edge-visual {
    width: min(100%, 460px);
    margin: 0 auto;
    justify-self: center;
    border-radius: 8px 8px 96px 96px;
  }

  .home-hero .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 34px;
  }

  .hero-languages,
  .hero-kicker {
    margin-bottom: 22px;
  }

  .home-hero h1 {
    font-size: clamp(38px, 13vw, 54px);
    line-height: 0.98;
  }

  .hero-lead {
    font-size: 18px;
  }

  .home-hero .btn {
    width: 100%;
    min-width: 0;
    font-size: 20px;
  }

  .home-hero .badges span {
    min-height: 34px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero-edge-visual {
    width: min(100%, 360px);
  }
}

/* Final responsive hero/header pass */
.site-header {
  background: #070d1d;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.nav.shell {
  width: min(1800px, calc(100% - 96px));
  min-height: 100px;
}

.brand {
  min-height: 70px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: #0b1325;
}

.brand-logo {
  width: 230px;
  height: 58px;
  object-position: center;
}

.nav-panel {
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: #0b1325;
}

.nav-panel a,
.link-muted {
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 700;
}

.nav-panel a {
  padding: 10px 20px;
}

.nav-panel a.active,
.nav-panel a:hover {
  background: rgba(239, 68, 68, 0.13);
  color: #ff7777;
}

.nav-actions .link-muted {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: #0b1325;
}

.nav-actions .btn-small {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  background: #ef2929;
  box-shadow: none;
}

.home-hero {
  min-height: calc(100vh - 100px);
  padding: 24px 0 0;
}

.home-hero .shell {
  width: min(1800px, calc(100% - 96px));
}

.home-hero .hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 0.9fr);
  min-height: calc(100vh - 124px);
  gap: clamp(36px, 4vw, 76px);
}

.home-hero .hero-copy {
  align-self: center;
  max-width: 900px;
  padding-bottom: 24px;
}

.hero-languages {
  margin-bottom: 32px;
  font-size: clamp(14px, 1.15vw, 22px);
}

.hero-kicker {
  min-height: 44px;
  margin-bottom: 44px;
  padding: 0 24px;
  font-size: clamp(15px, 1.05vw, 20px);
}

.home-hero h1 {
  max-width: 880px;
  margin-bottom: 28px;
  font-size: clamp(52px, 4.9vw, 92px);
  line-height: 0.98;
}

.hero-lead {
  max-width: 850px;
  margin-bottom: 34px;
  font-size: clamp(17px, 1.35vw, 24px);
}

.certified-block {
  margin-bottom: 34px;
}

.certified-block strong {
  font-size: clamp(19px, 1.55vw, 28px);
}

.home-hero .badges span {
  min-height: 36px;
  padding: 0 17px;
  font-size: 15px;
}

.home-hero .btn {
  min-width: 220px;
  min-height: 56px;
  font-size: clamp(17px, 1.22vw, 22px);
}

.hero-edge-visual {
  align-self: end;
  width: 100%;
  max-width: 690px;
  height: clamp(520px, 70vh, 720px);
  justify-self: end;
  border-radius: 34px 34px 0 0;
}

.hero-edge-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1300px) {
  .nav.shell,
  .home-hero .shell {
    width: min(1180px, calc(100% - 48px));
  }

  .brand-logo {
    width: 180px;
  }

  .nav-panel a {
    padding: 9px 13px;
    font-size: 14px;
  }

  .home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  }

  .home-hero h1 {
    font-size: clamp(46px, 5.2vw, 72px);
  }

  .hero-edge-visual {
    height: clamp(430px, 58vh, 580px);
  }
}

@media (max-width: 980px) {
  .nav.shell {
    width: min(100% - 32px, 760px);
    min-height: 78px;
  }

  .brand {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-panel {
    border-radius: 18px;
    background: #0b1325;
  }

  .home-hero .shell {
    width: min(100% - 32px, 760px);
  }

  .home-hero .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
  }

  .home-hero .hero-copy {
    padding-bottom: 0;
  }

  .hero-edge-visual {
    width: min(100%, 620px);
    height: clamp(360px, 58vw, 520px);
    justify-self: center;
    border-radius: 26px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 28px;
  }

  .hero-languages {
    margin-bottom: 20px;
  }

  .hero-kicker {
    min-height: 40px;
    margin-bottom: 28px;
    padding: 0 16px;
  }

  .home-hero h1 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(38px, 11.5vw, 52px);
  }

  .hero-lead {
    margin-bottom: 26px;
    font-size: 17px;
  }

  .certified-block {
    margin-bottom: 28px;
  }

  .home-hero .hero-actions {
    gap: 12px;
  }

  .hero-edge-visual {
    height: 340px;
  }
}

/* Final competitor-proportion rebuild with Pakistan School of Exports colors */
.site-header {
  background: #001a33;
  border-bottom: 1px solid rgba(216, 155, 8, 0.18);
}

.nav.shell {
  width: min(1800px, calc(100% - 96px));
  min-height: 86px;
}

.brand {
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid rgba(216, 155, 8, 0.2);
  border-radius: 999px;
  background: #ffffff;
}

.brand-logo {
  width: 210px;
  height: 54px;
}

.nav-panel {
  padding: 7px;
  border: 1px solid rgba(216, 155, 8, 0.18);
  border-radius: 999px;
  background: #06223d;
}

.nav-panel a,
.link-muted {
  color: #c7d4e2;
  font-size: 15px;
  font-weight: 700;
}

.nav-panel a {
  padding: 9px 18px;
}

.nav-panel a.active,
.nav-panel a:hover {
  background: rgba(0, 132, 61, 0.2);
  color: #ffffff;
}

.nav-actions .link-muted {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(216, 155, 8, 0.16);
  border-radius: 12px;
  background: #06223d;
}

.nav-actions .btn-small {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
}

.home-hero {
  position: relative;
  min-height: calc(100svh - 86px);
  padding: clamp(24px, 3.2vw, 46px) 0 0;
  background:
    radial-gradient(circle at 82% 34%, rgba(216, 155, 8, 0.14), transparent 26%),
    radial-gradient(circle at 12% 82%, rgba(0, 132, 61, 0.16), transparent 28%),
    linear-gradient(180deg, #001a33 0%, #03101f 100%);
  color: #f7f8fb;
}

.home-hero .shell {
  width: min(1800px, calc(100% - 96px));
}

.home-hero .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 0.78fr);
  min-height: calc(100svh - 112px);
  gap: clamp(28px, 3.6vw, 68px);
  align-items: center;
}

.home-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-bottom: clamp(18px, 3vh, 32px);
}

.hero-languages {
  margin-bottom: clamp(18px, 2.1vh, 26px);
  color: #8ca2b9;
  font-size: clamp(13px, 1vw, 20px);
  font-weight: 900;
  letter-spacing: clamp(2px, 0.22vw, 4px);
}

.hero-kicker {
  min-height: 42px;
  margin-bottom: clamp(26px, 3.2vh, 42px);
  padding: 0 22px;
  border-color: rgba(216, 155, 8, 0.45);
  background: rgba(216, 155, 8, 0.12);
  color: #e6bd55;
  font-size: clamp(14px, 1vw, 19px);
}

.home-hero h1 {
  max-width: 820px;
  margin-bottom: clamp(20px, 2.6vh, 30px);
  font-size: clamp(50px, 4.65vw, 88px);
  line-height: 0.98;
}

.home-hero h1 span {
  background: linear-gradient(90deg, #00843d 0%, #15a85b 28%, #d89b08 62%, #f3c14e 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: clamp(24px, 3vh, 34px);
  color: #a9bbce;
  font-size: clamp(16px, 1.22vw, 23px);
  line-height: 1.48;
}

.certified-block {
  gap: 13px;
  margin-bottom: clamp(24px, 3.5vh, 38px);
}

.certified-block strong {
  font-size: clamp(18px, 1.45vw, 27px);
}

.home-hero .badges {
  gap: 12px;
}

.home-hero .badges span {
  min-height: 34px;
  padding: 0 16px;
  border-color: rgba(167, 182, 198, 0.35);
  background: #102943;
  color: #eaf1f7;
  font-size: clamp(13px, 0.9vw, 16px);
}

.home-hero .badges span:nth-child(2) {
  background: var(--green);
}

.home-hero .badges span:nth-child(3) {
  background: linear-gradient(90deg, var(--green), #13a158);
}

.home-hero .badges span:nth-child(4) {
  background: var(--gold);
  color: #231800;
}

.home-hero .hero-actions {
  gap: 16px;
}

.home-hero .btn {
  min-width: 210px;
  min-height: 54px;
  font-size: clamp(17px, 1.15vw, 22px);
}

.hero-primary {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: 0 18px 34px rgba(0, 132, 61, 0.28);
}

.home-hero .hero-secondary {
  border-color: rgba(216, 155, 8, 0.38);
  color: #f4d178;
}

.hero-edge-visual {
  align-self: center;
  width: 100%;
  max-width: 720px;
  height: min(76svh, 720px);
  min-height: 520px;
  justify-self: end;
  border: 0;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.hero-edge-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1360px) {
  .nav.shell,
  .home-hero .shell {
    width: min(1240px, calc(100% - 48px));
  }

  .brand-logo {
    width: 170px;
  }

  .nav-panel a {
    padding: 9px 12px;
    font-size: 14px;
  }

  .home-hero .hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(390px, 0.72fr);
    gap: 36px;
  }

  .home-hero h1 {
    font-size: clamp(44px, 5vw, 72px);
  }

  .hero-edge-visual {
    height: min(70svh, 620px);
    min-height: 440px;
  }
}

@media (max-width: 1040px) {
  .home-hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .home-hero .shell {
    width: min(100% - 32px, 820px);
  }

  .home-hero .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
  }

  .hero-edge-visual {
    width: min(100%, 640px);
    height: clamp(360px, 55vw, 500px);
    min-height: 0;
    justify-self: center;
    border-radius: 28px;
  }
}

@media (max-width: 760px) {
  .nav.shell {
    width: min(100% - 24px, 680px);
    min-height: 72px;
  }

  .brand {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .brand-logo {
    width: 142px;
    height: 42px;
  }

  .home-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1;
  }

  .hero-lead {
    font-size: 16px;
  }

  .home-hero .badges span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .home-hero .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-edge-visual {
    height: 330px;
  }
}

/* Light-mode readability and alignment fixes */
.home-hero {
  background:
    radial-gradient(circle at 82% 34%, rgba(216, 155, 8, 0.12), transparent 26%),
    radial-gradient(circle at 12% 82%, rgba(0, 132, 61, 0.12), transparent 28%),
    linear-gradient(180deg, #06213b 0%, #073047 100%);
}

.hero-languages {
  color: #ffffff;
}

.hero-kicker {
  color: #ffffff;
}

.hero-lead {
  color: #d9e5ef;
}

.home-hero .btn,
.home-hero .badges span,
.check-item,
.country-list span,
.market-tags span,
.founder-points span,
.resource-list span,
.course-meta span,
.included-list span,
.instructor-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-hero .btn {
  gap: 12px;
  line-height: 1;
}

.home-hero .badges span {
  line-height: 1;
}

.check-item {
  justify-content: flex-start;
  gap: 10px;
  background: #ffffff;
  color: #08223d;
  border-color: #cfdde8;
}

.check-item::before {
  flex: 0 0 auto;
  margin-right: 0;
  border-color: #52667a;
}

.check-item.active {
  background: #e9f7ef;
  color: #08223d;
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(0, 132, 61, 0.12);
}

.check-item.active::before {
  background: var(--green);
  border-color: var(--green);
}

.market-map {
  background: #ffffff;
  color: #08223d;
  border-color: #d7e2dc;
}

.country-list span {
  justify-content: flex-start;
  min-height: 76px;
  padding: 0 28px;
  border: 1px solid #d7e2dc;
  border-left: 5px solid var(--gold);
  background: #f5f8fb;
  color: #08223d;
  box-shadow: none;
}

.feature-list span {
  display: grid;
  place-items: center;
  min-width: 50px;
  min-height: 50px;
  padding: 0;
  background: #fff2cf;
  color: #7a5300;
  line-height: 1;
  text-align: center;
}

.feature-list h3,
.feature-list p,
.pathway-grid article,
.pathway-grid h3,
.pathway-grid p {
  color: #08223d;
}

.pathway-grid article {
  background: #ffffff;
  border-color: #d7e2dc;
}

.pathway-grid span {
  color: var(--gold);
}

.home-hero .hero-languages,
.home-hero .hero-kicker,
.home-hero .hero-lead,
.home-hero .certified-block strong {
  color: #ffffff !important;
  opacity: 1;
}

/* Distinct export opportunity and difference sections */
.masterclass {
  background:
    linear-gradient(90deg, #eaf3f8 0%, #f7fbfd 48%, #eef7f1 100%);
}

.masterclass .split {
  align-items: stretch;
}

.masterclass .market-map {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(216, 155, 8, 0.26), transparent 18%),
    radial-gradient(circle at 20% 86%, rgba(0, 132, 61, 0.32), transparent 20%),
    linear-gradient(145deg, #06213b 0%, #03101f 100%);
  color: #ffffff;
  box-shadow: 0 26px 70px rgba(0, 40, 77, 0.18);
}

.masterclass .market-map {
  min-height: auto;
}

.masterclass .market-map::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.masterclass .market-map h2 {
  color: #ffffff;
}

.masterclass .country-list {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.masterclass .country-list span {
  justify-content: flex-start;
  min-height: 76px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.masterclass .country-list span:first-child {
  background: rgba(0, 132, 61, 0.28);
}

.masterclass .country-list span:last-child {
  border-color: rgba(216, 155, 8, 0.82);
  border-left-color: var(--gold);
  background: linear-gradient(135deg, rgba(216, 155, 8, 0.95), rgba(0, 132, 61, 0.78));
  color: #061423;
  box-shadow: 0 16px 36px rgba(216, 155, 8, 0.18);
}

.masterclass .country-list span:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 155, 8, 0.72);
  background: rgba(255, 255, 255, 0.14);
}

.masterclass .country-list span:last-child:hover {
  border-color: rgba(216, 155, 8, 0.95);
  background: linear-gradient(135deg, rgba(216, 155, 8, 1), rgba(0, 132, 61, 0.92));
  color: #ffffff;
}

.masterclass .market-note {
  position: relative;
  max-width: 780px;
  margin: 18px 0 0;
  color: #c9d8e7;
  font-size: 16px;
  line-height: 1.6;
}

.export-difference-section {
  background: #ffffff;
}

.export-difference-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 56px;
}

.export-difference {
  padding: 0;
}

.export-difference h2 {
  max-width: 780px;
}

.export-difference .feature-list {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0;
}

.export-difference .feature-list div {
  position: relative;
  grid-template-columns: 1fr;
  gap: 6px 18px;
  padding: 20px 22px;
  border: 1px solid #cfe5d7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 40, 77, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.export-difference .feature-list div:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 20px 46px rgba(0, 132, 61, 0.14);
}

.export-difference .feature-list span {
  min-width: 54px;
  min-height: 54px;
  width: 54px;
  border-radius: 8px;
  background: #00843d;
  color: #ffffff;
}

.export-difference .feature-list h3,
.export-difference .feature-list p {
  color: #08223d;
}

.export-difference .feature-list p {
  margin-bottom: 0;
}

.comparison-section {
  background: #ffffff;
}

.comparison-head {
  max-width: 850px;
  margin: 0 auto 42px;
}

.comparison-head h2 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 56px);
  text-transform: uppercase;
}

.comparison-head .section-lead {
  margin: 0 auto;
  color: #52667a;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.comparison-card {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid #dbe5ee;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 22px 70px rgba(0, 40, 77, 0.08);
}

.comparison-card.comparison-primary {
  border-color: rgba(0, 132, 61, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 155, 8, 0.18), transparent 28%),
    linear-gradient(145deg, #061a32 0%, #102052 100%);
  color: #ffffff;
}

.comparison-title {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(0, 40, 77, 0.12);
}

.comparison-primary .comparison-title {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.comparison-title small {
  display: block;
  margin-bottom: 6px;
  color: #6a7d91;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-primary .comparison-title small {
  color: #b8c8dc;
}

.comparison-title h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.comparison-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 40, 77, 0.1);
  color: #17314d;
  font-size: 17px;
  line-height: 1.5;
}

.comparison-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.comparison-primary li {
  border-bottom-color: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.compare-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #33407c;
  background-repeat: no-repeat;
  background-position: center;
}

.comparison-title > .compare-icon {
  width: 50px;
  height: 50px;
}

.compare-icon.check {
  background: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M7.4 14.3 12 18.9 20.8 9.5' stroke='%23006b32' stroke-width='3.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 78% 78%;
}

.comparison-card:not(.comparison-primary) .compare-icon.check {
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M7.4 14.3 12 18.9 20.8 9.5' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 78% 78%;
}

.compare-icon.cross {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='m9 9 10 10M19 9 9 19' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 64% 64%;
}

.difference-visual {
  position: relative;
  display: grid;
  gap: 16px;
}

.difference-visual img {
  width: 100%;
  height: 430px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 26px 70px rgba(0, 40, 77, 0.16);
  transition: transform 0.25s ease;
}

.difference-visual:hover img {
  transform: scale(1.015);
}

.difference-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.difference-stats div,
.workflow-card {
  border: 1px solid #cfe5d7;
  border-radius: 8px;
  background: #f5f8fb;
  box-shadow: 0 14px 34px rgba(0, 40, 77, 0.08);
}

.difference-stats div {
  display: grid;
  gap: 2px;
  min-height: 94px;
  padding: 16px;
  place-items: center;
  text-align: center;
}

.difference-stats .signin-trigger {
  cursor: pointer;
}

.difference-stats strong {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.difference-stats span,
.workflow-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.workflow-card {
  padding: 18px 20px;
}

.workflow-card strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 18px;
}

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

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .export-difference {
    padding-left: 0;
  }

  .masterclass .country-list,
  .export-difference .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .masterclass .market-map {
    padding: 28px;
  }

  .comparison-card {
    padding: 24px;
  }

  .comparison-title {
    align-items: flex-start;
  }

  .comparison-card li {
    font-size: 16px;
  }

  .masterclass .country-list {
    grid-template-columns: 1fr;
  }

  .masterclass .country-list span:first-child {
    grid-column: auto;
  }

  .export-difference .feature-list,
  .difference-stats {
    grid-template-columns: 1fr;
  }

  .difference-visual img {
    height: 320px;
  }
}

/* Homepage stats strip */
.home-hero h1 {
  font-size: clamp(48px, 4.55vw, 85px);
}

.home-stats {
  padding: 26px 0;
  background: #edf4f8;
  border-block: 1px solid rgba(0, 40, 77, 0.08);
}

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

.home-stats .stats-grid div {
  min-height: 150px;
  padding: 28px 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.home-stats .stats-grid strong {
  display: block;
  color: var(--navy);
  font-size: 32px;
  line-height: 1;
}

.home-stats .stats-grid div:first-child strong {
  color: var(--navy);
  font-size: 32px;
}

.home-stats .stats-grid span {
  display: block;
  margin-top: 12px;
  color: #52667a;
  font-size: 18px;
  font-weight: 500;
}

/* Completed learning roadmap showcase */
.pathway-steps {
  margin-top: clamp(28px, 4vw, 48px);
}

.pathway-steps-head {
  max-width: 840px;
  margin-bottom: 18px;
}

.pathway-steps-head h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.roadmap-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.roadmap-visual,
.roadmap-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 40, 77, 0.1);
}

.roadmap-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 0;
  overflow: hidden;
}

.roadmap-visual img {
  grid-column: 1 / -1;
  width: 100%;
  height: 360px;
  min-height: 0;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}

.roadmap-visual::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 360px;
  background:
    linear-gradient(180deg, rgba(8, 34, 61, 0) 32%, rgba(8, 34, 61, 0.46) 100%),
    linear-gradient(90deg, rgba(8, 34, 61, 0.18), transparent 45%);
  pointer-events: none;
}

.roadmap-track {
  display: none;
}

.roadmap-point {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 124px;
  padding: 26px 28px;
  border: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.roadmap-point:nth-of-type(1) {
  left: auto;
}

.roadmap-point:nth-of-type(2) {
  left: auto;
}

.roadmap-point:nth-of-type(3) {
  left: auto;
}

.roadmap-point:nth-of-type(4) {
  left: auto;
  border-right: 0;
}

.roadmap-point:hover,
.roadmap-point.active {
  transform: translateY(-4px);
  background: #f9fbfc;
}

.roadmap-point.active {
  border-top: 4px solid var(--gold);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(216, 155, 8, 0.18);
}

.roadmap-point span {
  color: var(--gold);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.roadmap-point strong {
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.15;
}

.roadmap-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: clamp(28px, 4vw, 46px);
}

.roadmap-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #fff2cf;
  color: var(--gold-dark);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.roadmap-detail h3 {
  color: var(--navy);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

.roadmap-detail p:not(.eyebrow) {
  margin-bottom: 24px;
  color: #52667a;
  font-size: 20px;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roadmap-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #cfe5d7;
  border-radius: 999px;
  background: #f5f8fb;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

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

  .roadmap-showcase {
    grid-template-columns: 1fr;
  }

  .roadmap-visual {
    min-height: 0;
  }

  .roadmap-visual img {
    height: 340px;
    min-height: 0;
  }

  .roadmap-detail {
    min-height: 460px;
  }

  .roadmap-visual::after {
    height: 340px;
  }

  .roadmap-detail {
    justify-content: flex-start;
  }
}

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

  .pathway-steps-head h2 {
    font-size: 38px;
  }

  .roadmap-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding: 0;
  }

  .roadmap-visual img {
    height: 280px;
    min-height: 280px;
  }

  .roadmap-visual::after,
  .roadmap-track {
    display: none;
  }

  .roadmap-point {
    position: static;
    width: 100%;
    min-height: 68px;
    margin: 0;
    grid-template-columns: 44px 1fr;
    align-items: center;
    border-right: 0;
    box-shadow: none;
  }

  .roadmap-point:hover,
  .roadmap-point.active {
    transform: none;
  }

  .roadmap-detail {
    min-height: auto;
    padding: 26px;
  }

  .roadmap-detail p:not(.eyebrow) {
    font-size: 18px;
  }
}

/* Founder video showcase */
.founder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 132, 61, 0.16) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #001a33 0%, #06213b 58%, #03101f 100%);
  color: #ffffff;
}

.founder-showcase {
  display: grid;
  justify-items: center;
  gap: clamp(30px, 4vw, 48px);
}

.founder-head {
  max-width: 960px;
}

.founder-head .eyebrow {
  color: var(--gold);
}

.founder-head h2 {
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.04;
}

.founder-head h2 span {
  display: block;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--green) 0%, #19a85e 36%, var(--gold) 78%, #f3c14e 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.founder-head .section-lead {
  color: #c9d8e7;
}

.founder-video-card {
  position: relative;
  width: min(940px, 100%);
  overflow: hidden;
  border: 1px solid rgba(216, 155, 8, 0.42);
  border-radius: 8px;
  background: #03101f;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    0 0 0 8px rgba(0, 132, 61, 0.08);
}

.founder-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.founder-vimeo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* Final header light theme */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d7e2dc;
  box-shadow: 0 8px 24px rgba(0, 40, 77, 0.06);
}

.nav-panel {
  border: 1px solid #d7e2dc;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 40, 77, 0.08);
}

.nav-panel a {
  color: #08223d;
}

.nav-panel a.active,
.nav-panel a:hover {
  background: #e1f1e8;
  color: var(--green);
}

.nav-actions .link-muted {
  border: 1px solid #d7e2dc;
  background: #ffffff;
  color: #08223d;
}

.nav-toggle {
  border-color: #d7e2dc;
  background: #ffffff;
}

.nav-toggle span {
  background: #08223d;
}

/* Final shared dark hero theme */
.hero,
.home-hero,
.course-hero,
.page-hero {
  background:
    radial-gradient(circle at 74% 18%, rgba(216, 155, 8, 0.18), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(0, 132, 61, 0.18), transparent 28%),
    linear-gradient(180deg, #03101f 0%, #071b2f 78%, #0b2238 100%);
  color: #ffffff;
}

.hero h1,
.hero h2,
.course-hero h1,
.course-hero h2,
.page-hero h1,
.page-hero h2,
.home-hero h1 {
  color: #ffffff;
}

.hero h1 span,
.course-hero h1 span,
.page-hero h1 span,
.home-hero h1 span {
  color: #ffffff;
}

.hero-copy p,
.hero-lead,
.hero-kicker,
.course-hero p,
.page-hero p,
.certified-block strong {
  color: #c9d8e7;
}

.hero .eyebrow,
.course-hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

.hero .btn-dark,
.course-hero .btn-dark,
.page-hero .btn-dark {
  background: #122a43;
  color: #ffffff;
}

.page-visual,
.course-preview {
  border-color: rgba(216, 155, 8, 0.28);
  background: #0d2740;
}

/* Final contrast fixes for dark hero surfaces */
.course-hero .course-preview,
.page-hero .poster-card,
.page-hero .page-visual {
  color: #ffffff;
  border-color: rgba(216, 155, 8, 0.34);
  background-color: #0d2740;
}

.course-hero .preview-body,
.course-hero .preview-body li,
.course-hero .old-price,
.page-hero .poster-card p {
  color: #d8e4ef;
}

.course-hero .price,
.course-hero .preview-body strong,
.page-hero .poster-card h3,
.page-hero .poster-card strong {
  color: #ffffff;
}

.course-hero .course-meta span {
  border-color: rgba(255, 255, 255, 0.18);
  background: #effaf4;
  color: var(--navy);
}

.course-hero .preview-body ul {
  color: #d8e4ef;
}

.course-hero .preview-body li::marker {
  color: #9fb3c8;
}

.course-hero .old-price {
  text-decoration: none;
}

.hero .btn-dark,
.course-hero .btn-dark,
.page-hero .btn-dark {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Masterclasses page */
.masterclass-strip {
  padding: 26px 0;
  background: #edf4f8;
}

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

.masterclass-strip-grid div {
  min-height: 126px;
  padding: 24px;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 40, 77, 0.08);
}

.masterclass-strip-grid strong {
  display: block;
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.masterclass-strip-grid span {
  display: block;
  margin-top: 10px;
  color: #52667a;
  font-size: 17px;
}

.masterclass-card-grid .info-card {
  min-height: 380px;
  overflow: hidden;
}

.masterclass-card-grid .info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.masterclass-card-grid .info-card span,
.masterclass-card-grid .info-card h2,
.masterclass-card-grid .info-card p,
.masterclass-card-grid .info-card a {
  margin-left: 18px;
  margin-right: 18px;
}

.masterclass-method {
  background: #ffffff;
}

.masterclass-method-grid,
.masterclass-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 28px;
}

.masterclass-method-grid > div:first-child,
.tool-panel {
  padding: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 12%, rgba(216, 155, 8, 0.15), transparent 28%),
    linear-gradient(180deg, #03101f 0%, #0b2238 100%);
  color: #ffffff;
}

.masterclass-method-grid h2,
.tool-panel h2 {
  color: #ffffff;
}

.masterclass-method-grid > div:first-child p:not(.eyebrow) {
  color: #c9d8e7;
}

.method-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.method-visual {
  overflow: hidden;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 40, 77, 0.1);
}

.method-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.method-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 22px;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  background: #f5f8fb;
}

.method-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff2cf;
  color: var(--gold-dark);
  font-weight: 900;
}

.method-list p {
  margin-bottom: 0;
  color: #52667a;
}

.masterclass-tools {
  background: #edf4f8;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tool-list span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 18px;
  border: 1px solid #cfe5d7;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 40, 77, 0.06);
}

.visual-card-grid .info-card {
  overflow: hidden;
}

.visual-card-grid .info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.visual-card-grid .info-card span,
.visual-card-grid .info-card h2,
.visual-card-grid .info-card p {
  margin-left: 18px;
  margin-right: 18px;
}

@media (max-width: 900px) {
  .masterclass-strip-grid,
  .masterclass-method-grid,
  .masterclass-tools-grid {
    grid-template-columns: 1fr 1fr;
  }

  .masterclass-method-grid > div:first-child,
  .method-visual,
  .tool-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .masterclass-strip-grid,
  .masterclass-method-grid,
  .masterclass-tools-grid,
  .method-list,
  .tool-list {
    grid-template-columns: 1fr;
  }

  .masterclass-method-grid > div:first-child,
  .tool-panel {
    padding: 26px;
  }
}

.legal-page {
  background: #f5f8fb;
}

.legal-hero {
  min-height: 320px;
  display: grid;
  align-items: end;
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 155, 8, 0.2), transparent 30%),
    linear-gradient(180deg, #03101f 0%, #0b2238 100%);
  color: #ffffff;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(42px, 7vw, 72px);
}

.legal-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #c9d8e7;
}

.legal-section {
  padding-top: 56px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.legal-summary {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 40, 77, 0.08);
}

.legal-summary strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
}

.legal-summary p {
  color: var(--muted);
}

.legal-summary a,
.legal-content a {
  color: var(--green);
  font-weight: 800;
}

.legal-content {
  padding: 34px;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  background: #ffffff;
}

.legal-content h2 {
  margin: 34px 0 10px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.18;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 17px;
}

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

  .blog-hero-grid .interactive-figure {
    order: -1;
  }
}

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

  .legal-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .legal-content,
  .legal-summary {
    padding: 22px;
  }
}

.site-header .brand {
  min-height: 82px;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-header .nav.shell {
  width: min(1860px, calc(100% - 72px));
}

.site-header .brand-logo {
  width: 300px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.site-header .nav-panel {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .site-header .brand-logo {
    width: 188px;
    height: 50px;
  }
}

.site-footer .brand {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-footer .brand-logo {
  width: 300px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.site-footer .socials {
  gap: 14px;
}

.site-footer .social-link {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 50%;
  background-color: #52667a;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px 19px;
  color: #ffffff;
}

.site-footer .social-link::before {
  content: none;
}

.site-footer .social-facebook {
  background-color: #1877f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 8.5V6.8c0-.8.6-1 1-1h2V2.2c-.9-.1-1.8-.2-2.7-.2-2.8 0-4.7 1.7-4.7 4.8v1.7H6.5v3.9h3.1V22H14v-9.6h3.1l.5-3.9H14Z'/%3E%3C/svg%3E");
}

.site-footer .social-twitter {
  background-color: #000000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M13.9 10.5 21.2 2h-1.7l-6.4 7.4L8.1 2H2.3l7.7 11.1L2.3 22h1.7l6.7-7.8 5.3 7.8h5.8l-8-11.5Zm-2.4 2.8-.8-1.1L4.5 3.3h2.8l5 7.2.8 1.1 6.5 9.3h-2.8l-5.3-7.6Z'/%3E%3C/svg%3E");
}

.site-footer .social-linkedin {
  background-color: #0a66c2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.7 8.7H2.9V21h3.8V8.7ZM4.8 7.1A2.2 2.2 0 1 0 4.8 2.7a2.2 2.2 0 0 0 0 4.4ZM21.1 14.3c0-3.8-2-5.9-4.8-5.9-2.2 0-3.2 1.2-3.8 2.1V8.7H8.9V21h3.8v-6.1c0-1.6.3-3.2 2.3-3.2s2 1.8 2 3.3v6h3.8v-6.7Z'/%3E%3C/svg%3E");
}

.site-footer .social-instagram {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Crect x='7' y='7' width='18' height='18' rx='5.5' stroke='%23fff' stroke-width='3'/%3E%3Ccircle cx='16' cy='16' r='4.8' stroke='%23fff' stroke-width='3'/%3E%3Ccircle cx='21.8' cy='10.6' r='1.8' fill='%23fff'/%3E%3C/svg%3E"),
    radial-gradient(circle at 30% 107%, #fdf497 0 12%, #fdf497 13%, #fd5949 45%, #d6249f 65%, #285aeb 100%);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 22px 22px, 100%;
}

.site-footer .social-youtube {
  background-color: #ff0000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21.6 7.2a3 3 0 0 0-2.1-2.1C17.7 4.6 12 4.6 12 4.6s-5.7 0-7.5.5a3 3 0 0 0-2.1 2.1C1.9 9 1.9 12 1.9 12s0 3 .5 4.8a3 3 0 0 0 2.1 2.1c1.8.5 7.5.5 7.5.5s5.7 0 7.5-.5a3 3 0 0 0 2.1-2.1c.5-1.8.5-4.8.5-4.8s0-3-.5-4.8ZM10 15.5v-7l6 3.5-6 3.5Z'/%3E%3C/svg%3E");
}

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

  .blog-post h1 {
    font-size: 40px;
  }

  .blog-content {
    font-size: 17px;
  }

  .interactive-figure figcaption {
    position: static;
    max-width: none;
    border-radius: 0;
  }

  .site-footer .brand-logo {
    width: 220px;
    height: 52px;
  }
}

.mobile-menu-actions {
  display: none;
}

@media (max-width: 980px) {
  .site-header .nav.shell {
    position: relative;
    width: min(100% - 28px, 760px);
    min-height: 86px;
    gap: 12px;
  }

  .site-header .brand {
    min-height: 0;
    max-width: none;
  }

  .site-header .brand-logo {
    width: 220px;
    height: 58px;
  }

  .site-header .nav-actions {
    display: none;
  }

  .site-header .nav-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin-left: auto;
    border-radius: 10px;
  }

  .site-header .nav-toggle span {
    width: 22px;
  }

  .site-header .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
  }

  .site-header .nav-panel.open {
    display: flex;
  }

  .site-header .nav-panel > a {
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

  .site-header .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #d7e2dc;
  }

  .site-header .mobile-menu-actions a,
  .site-header .mobile-menu-actions span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
  }

  .site-header .mobile-login {
    border: 1px solid #d7e2dc;
    background: #ffffff;
    color: #08223d;
  }

  .site-header .mobile-enroll {
    background: linear-gradient(180deg, var(--green), var(--green-dark));
    color: #ffffff;
  }
}

@media (max-width: 420px) {
  .site-header .nav.shell {
    width: min(100% - 24px, 380px);
  }

  .site-header .brand-logo {
    width: 188px;
    height: 50px;
  }

  .site-header .nav-toggle {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
}

