/* Rebuilt Learn BI Online styles */

:root {
  --blue: #12355b;
  --blue-dark: #0b223d;
  --yellow: #f4c542;
  --text: #1f2933;
  --muted: #667085;
  --background: #f7f9fc;
  --card: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 6vw;
  background: var(--blue-dark);
  color: white;
}

.site-logo {
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.article-page {
  padding: 56px 20px;
}

.article {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.article-header {
  margin-bottom: 40px;
}

.article-meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.article h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.article-content {
  font-size: 1.08rem;
}

.article-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  color: var(--blue-dark);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.article-content h3 {
  margin-top: 1.8em;
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.25;
}

.article-content p {
  margin: 0 0 1.2em;
}

.article-content a {
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  border-radius: 18px;
}

.article-content figure {
  margin: 36px 0;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}

.article-content li {
  margin-bottom: 0.5em;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  border-left: 5px solid var(--yellow);
  background: #fff8dd;
  border-radius: 12px;
  color: var(--blue-dark);
  font-weight: 600;
}

.sqs-row,
.sqs-col-12,
.sqs-col-6,
.sqs-col-4,
.sqs-col-3,
.sqs-block,
.html-block,
.sqs-block-content {
  max-width: 100%;
}

.sqs-layout .sqs-row {
  margin-left: 0;
  margin-right: 0;
}

.site-footer {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .article-page {
    padding: 24px 12px;
  }

  .article {
    border-radius: 18px;
  }
}
/* Remove leftover Squarespace spacing/layout artefacts */
.article-content .sqs-block-spacer,
.article-content .spacer-block,
.article-content .sqs-block-spacer .sqs-block-content,
.article-content .sqs-block-spacer .sqs-block-content > div {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Neutralise old Squarespace layout rows inside rebuilt articles */
.article-content .sqs-layout,
.article-content .sqs-row,
.article-content [class*="sqs-col"] {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* Prevent old image blocks from creating oversized vertical areas */
.article-content .sqs-block-image,
.article-content .image-block-wrapper,
.article-content .image-block-outer-wrapper,
.article-content .intrinsic {
  max-width: 100%;
  min-height: 0 !important;
}

/* Tighten spacing around images */
.article-content .sqs-block-image {
  margin: 28px 0 !important;
}

.article-content .sqs-block-image + .sqs-block-image {
  margin-top: 16px !important;
}
/* Article polish pass */

body {
  background:
    radial-gradient(circle at top left, rgba(18, 53, 91, 0.08), transparent 32rem),
    #f6f8fb;
}

.article-page {
  padding: clamp(36px, 6vw, 80px) 20px;
}

.article {
  max-width: 820px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 28px;
}

.article-header {
  margin-bottom: 44px;
}

.article-meta {
  color: #64748b;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.article h1 {
  max-width: 720px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.98;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.2vw, 1.16rem);
  line-height: 1.78;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content p {
  margin-bottom: 1.35em;
}

.article-content h2 {
  margin-top: 2.6em;
  margin-bottom: 0.75em;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
}

.article-content h3 {
  margin-top: 2.1em;
  margin-bottom: 0.7em;
  font-size: 1.45rem;
}

.article-content img {
  width: 100%;
  border-radius: 20px;
  margin: 42px auto;
}

.article-content blockquote {
  margin: 42px 0;
  padding: 26px 32px;
  font-size: 1.08rem;
}

.article-content .sqs-block {
  margin-top: 0;
  margin-bottom: 0;
}

.article-content .sqs-block-html {
  margin-bottom: 0;
}

.article-content .sqs-block-image {
  margin: 42px 0 !important;
}

@media (max-width: 720px) {
  .article {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .article h1 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .article-content {
    font-size: 1.03rem;
  }
}
/* Stronger article visual design pass */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
}

.article-page {
  background:
    linear-gradient(180deg, #0b223d 0, #0b223d 260px, transparent 260px),
    radial-gradient(circle at top right, rgba(244, 197, 66, 0.18), transparent 28rem),
    #f6f8fb;
}

.article {
  border: 0;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.article-header {
  padding-bottom: 34px;
  border-bottom: 1px solid #e5e7eb;
}

.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #12355b;
  font-size: 0.85rem;
  font-weight: 800;
}

.article h1 {
  color: #0b223d;
}

.article-content h2 {
  padding-top: 0.2em;
  border-top: 3px solid #f4c542;
}

.article-content a {
  color: #12355b;
}

.article-content a:hover {
  color: #0b223d;
}

.article-content blockquote {
  border-left: 0;
  border-top: 5px solid #f4c542;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.article-content img {
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.site-footer {
  background: #0b223d;
  color: rgba(255, 255, 255, 0.72);
}
/* Article hero layout */

.article-header {
  position: relative;
  margin-bottom: 52px;
  padding-bottom: 38px;
}

.article-back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #12355b;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.article-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff4c7;
  color: #0b223d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-header .article-meta {
  margin-top: 22px;
  margin-bottom: 0;
  background: transparent;
  padding: 0;
  color: #64748b;
}
/* Site logo lockup */

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f4c542;
  color: #0b223d;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo-text strong {
  color: #ffffff;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.site-logo-text small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Real logo image */

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-image {
  display: block;
  width: 180px;
  max-width: 42vw;
  height: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 720px) {
  .site-logo-image {
    width: 150px;
  }
}
/* White branded site header */

.site-header {
  background: #ffffff;
  color: #0b223d;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.site-nav a {
  color: #0b223d;
}

.site-logo-image {
  filter: none;
}

/* Inline BIASP promo card */

.article-promo {
  position: relative;
  margin: 54px 0;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, #0b223d 0%, #12355b 62%, #17456f 100%);
  color: #ffffff;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.article-promo::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.22);
}

.article-promo-label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4c542;
  color: #0b223d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-promo h2 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.article-promo p {
  max-width: 620px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
}

.article-promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b223d !important;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.article-promo-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .article-promo {
    margin: 38px 0;
    border-radius: 20px;
  }

  .article-promo-button {
    width: 100%;
    text-align: center;
  }
}

/* Blog index page */

.blog-index-page {
  padding: clamp(42px, 6vw, 86px) 20px;
  background:
    radial-gradient(circle at top left, rgba(18, 53, 91, 0.1), transparent 34rem),
    #f6f8fb;
}

.blog-hero,
.blog-promo,
.blog-filters,
.article-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero {
  margin-bottom: 34px;
}

.blog-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff4c7;
  color: #0b223d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: #0b223d;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.blog-hero p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.blog-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 36px;
  margin-bottom: 34px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  background: linear-gradient(135deg, #0b223d 0%, #12355b 65%, #17456f 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.blog-promo-label {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4c542;
  color: #0b223d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-promo h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.blog-promo p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.blog-promo a {
  flex: 0 0 auto;
  display: inline-flex;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b223d;
  font-weight: 900;
  text-decoration: none;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-button {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #0b223d;
  padding: 9px 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  background: #0b223d;
  border-color: #0b223d;
  color: #ffffff;
}

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

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.article-card-image-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.article-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.article-card-category {
  margin: 0 0 10px;
  color: #12355b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-card h2 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.article-card h2 a {
  color: #0b223d;
  text-decoration: none;
}

.article-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-card-excerpt {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.55;
}

.article-card-meta {
  margin-top: auto;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-promo {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .blog-index-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .blog-promo a {
    width: 100%;
    text-align: center;
  }
}

/* About page */

.about-page {
  padding: clamp(42px, 6vw, 86px) 20px;
  background:
    radial-gradient(circle at top left, rgba(18, 53, 91, 0.1), transparent 34rem),
    #f6f8fb;
}

.about-hero,
.about-section,
.about-academy-cta {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  margin-bottom: clamp(54px, 8vw, 96px);
}

.about-kicker,
.about-section-label,
.about-academy-label {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff4c7;
  color: #0b223d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 780px;
  margin: 0 0 22px;
  color: #0b223d;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.about-hero p {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.about-hero-image-wrap {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.about-hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.about-section {
  margin-bottom: clamp(48px, 7vw, 86px);
}

.about-two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 62px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.about-section h2,
.about-academy-cta h2 {
  margin: 0 0 18px;
  color: #0b223d;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about-section p,
.about-academy-cta p {
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.72;
}

.about-section p {
  margin-top: 0;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.about-card {
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.about-card h3 {
  margin: 0 0 10px;
  color: #0b223d;
  font-size: 1.25rem;
}

.about-card p {
  margin: 0;
  font-size: 1rem;
}

.about-academy-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(48px, 7vw, 86px);
  padding: clamp(28px, 5vw, 44px);
  border-radius: 30px;
  background: linear-gradient(135deg, #0b223d 0%, #12355b 65%, #17456f 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.about-academy-cta h2 {
  color: #ffffff;
}

.about-academy-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.about-academy-cta a,
.about-link-row a {
  display: inline-flex;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.about-academy-cta a {
  flex: 0 0 auto;
  background: #ffffff;
  color: #0b223d;
}

.about-final-links {
  text-align: center;
}

.about-final-links p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-link-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.about-link-row a {
  background: #0b223d;
  color: #ffffff;
}

.about-link-row a:nth-child(2) {
  background: #f4c542;
  color: #0b223d;
}

@media (max-width: 860px) {
  .about-hero,
  .about-two-column,
  .about-academy-cta {
    grid-template-columns: 1fr;
  }

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

  .about-academy-cta a {
    width: 100%;
    text-align: center;
  }

  .about-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix CTA pill contrast */

.about-academy-label,
.blog-promo-label,
.article-promo-label {
  color: #0b223d !important;
}

/* Fix CTA pill contrast and spacing */

.about-academy-label,
.blog-promo-label,
.article-promo-label {
  color: #0b223d !important;
  margin-bottom: 34px !important;
}

/* Foundations index page */

.foundations-index-page {
  padding: clamp(42px, 6vw, 86px) 20px;
  background:
    radial-gradient(circle at top left, rgba(18, 53, 91, 0.1), transparent 34rem),
    #f6f8fb;
}

.foundations-hero,
.foundations-promo,
.foundation-card-grid {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.foundations-hero {
  margin-bottom: 34px;
}

.foundations-kicker,
.foundations-promo-label,
.foundation-card-label {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff4c7;
  color: #0b223d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.foundations-hero h1 {
  max-width: 880px;
  margin: 0 0 22px;
  color: #0b223d;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.foundations-hero p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.foundations-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 36px;
  margin-bottom: 34px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 30px;
  background: linear-gradient(135deg, #0b223d 0%, #12355b 65%, #17456f 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.foundations-promo-label {
  margin-bottom: 34px !important;
}

.foundations-promo h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.foundations-promo p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.foundations-promo a {
  flex: 0 0 auto;
  display: inline-flex;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b223d;
  font-weight: 900;
  text-decoration: none;
}

.foundation-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.foundation-card {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.foundation-card h2 {
  margin: 0 0 14px;
  color: #0b223d;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.foundation-card h2 a {
  color: #0b223d;
  text-decoration: none;
}

.foundation-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.foundation-card p {
  margin: 0 0 20px;
  color: #475569;
  line-height: 1.65;
}

.foundation-card-link {
  color: #12355b;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .foundations-promo {
    align-items: flex-start;
    flex-direction: column;
  }

  .foundations-promo a {
    width: 100%;
    text-align: center;
  }

  .foundation-card-grid {
    grid-template-columns: 1fr;
  }
}
/* Fix all promo pill contrast */

.about-academy-cta .about-academy-label,
.blog-promo .blog-promo-label,
.article-promo .article-promo-label,
.foundations-promo .foundations-promo-label {
  color: #0b223d !important;
  margin-bottom: 34px !important;
}

/* Homepage */

.home-page {
  padding: clamp(42px, 6vw, 86px) 20px;
  background:
    radial-gradient(circle at top left, rgba(18, 53, 91, 0.1), transparent 34rem),
    #f6f8fb;
}

.home-hero,
.home-section,
.home-academy-cta,
.home-about-strip {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  margin-bottom: clamp(58px, 8vw, 104px);
}

.home-kicker,
.home-section-label,
.home-card-label,
.home-academy-label,
.home-panel-label {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff4c7;
  color: #0b223d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  color: #0b223d;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.home-hero-copy > p:not(.home-kicker) {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.home-primary-button,
.home-secondary-button,
.home-path-card a,
.home-academy-cta a,
.home-about-strip a {
  display: inline-flex;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.home-primary-button {
  background: #0b223d;
  color: #ffffff;
}

.home-secondary-button {
  background: #ffffff;
  color: #0b223d;
  border: 1px solid #cbd5e1;
}

.home-hero-panel {
  padding: clamp(26px, 4vw, 38px);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
  border: 1px solid #e5e7eb;
}

.home-panel-label {
  margin-bottom: 28px;
}

.home-panel-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #e5e7eb;
}

.home-panel-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.home-panel-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #0b223d;
  color: #ffffff;
  font-weight: 900;
}

.home-panel-item h2 {
  margin: 0 0 6px;
  color: #0b223d;
  font-size: 1.18rem;
}

.home-panel-item p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

.home-section {
  margin-bottom: clamp(58px, 8vw, 104px);
}

.home-section > h2,
.home-academy-cta h2,
.home-about-strip h2 {
  max-width: 840px;
  margin: 0 0 28px;
  color: #0b223d;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.home-path-grid,
.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-path-card,
.home-feature-card {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.home-path-card h3,
.home-feature-card h3 {
  margin: 0 0 14px;
  color: #0b223d;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-path-card p,
.home-feature-card p,
.home-about-strip p,
.home-academy-cta p {
  color: #475569;
  line-height: 1.65;
}

.home-path-card a {
  margin-top: 10px;
  background: #0b223d;
  color: #ffffff;
}

.home-path-card-dark {
  background: linear-gradient(135deg, #0b223d 0%, #12355b 65%, #17456f 100%);
  color: #ffffff;
}

.home-path-card-dark .home-card-label {
  background: #f4c542;
}

.home-path-card-dark h3,
.home-path-card-dark p {
  color: #ffffff;
}

.home-path-card-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.home-path-card-dark a {
  background: #ffffff;
  color: #0b223d;
}

.home-academy-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(58px, 8vw, 104px);
  padding: clamp(28px, 5vw, 44px);
  border-radius: 30px;
  background: linear-gradient(135deg, #0b223d 0%, #12355b 65%, #17456f 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.home-academy-label {
  color: #0b223d !important;
  margin-bottom: 34px !important;
}

.home-academy-cta h2 {
  color: #ffffff;
}

.home-academy-cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.home-academy-cta a {
  flex: 0 0 auto;
  background: #ffffff;
  color: #0b223d;
}

.home-feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-feature-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #12355b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-feature-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-about-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.home-about-strip p {
  max-width: 720px;
  margin: 0;
}

.home-about-strip a {
  flex: 0 0 auto;
  background: #f4c542;
  color: #0b223d;
}

@media (max-width: 940px) {
  .home-hero,
  .home-academy-cta,
  .home-about-strip {
    grid-template-columns: 1fr;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-path-grid,
  .home-featured-grid {
    grid-template-columns: 1fr;
  }

  .home-academy-cta a,
  .home-about-strip a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .home-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-hero-actions a {
    width: 100%;
  }

  .home-panel-item {
    grid-template-columns: 1fr;
  }
}
/* Homepage image sizing fixes */

.home-hero {
  overflow: hidden;
}

.home-hero-visual {
  display: none;
}

.home-path-card {
  overflow: hidden;
  padding: 0;
}

.home-path-card > img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px 26px 0 0;
}

.home-path-card-body {
  padding: clamp(24px, 4vw, 34px);
}

.home-path-card-dark > img {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 940px) {
  .home-path-card > img {
    height: 220px;
  }
}
/* Homepage hero image card and controlled homepage images */

.home-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  overflow: hidden;
}

.home-hero-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #0b223d;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.home-hero-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-visual {
  display: none;
}

.home-path-card {
  overflow: hidden;
  padding: 0;
}

.home-path-card > img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px 26px 0 0;
}

.home-path-card-body {
  padding: clamp(24px, 4vw, 34px);
}

.home-path-card-dark > img {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

  .home-hero-image-card {
    max-width: 720px;
  }

  .home-path-card > img {
    height: 220px;
  }
}
/* Homepage full-width banner hero */

.home-page {
  padding-top: 0 !important;
}

.home-hero.home-hero-banner {
  position: relative !important;
  display: block !important;
  max-width: none !important;
  min-height: clamp(540px, 68vh, 760px);
  margin: 0 -20px clamp(58px, 8vw, 104px) !important;
  padding: clamp(72px, 10vw, 132px) 20px !important;
  overflow: hidden;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center right;
  color: #ffffff;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 45, 0.94) 0%, rgba(7, 24, 45, 0.82) 38%, rgba(7, 24, 45, 0.42) 68%, rgba(7, 24, 45, 0.18) 100%),
    radial-gradient(circle at 18% 28%, rgba(244, 197, 66, 0.22), transparent 18rem);
  z-index: 1;
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.home-hero-inner .home-kicker {
  background: #f4c542;
  color: #0b223d;
}

.home-hero-inner h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.home-hero-inner > p:not(.home-kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.home-hero-inner .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-hero-inner .home-primary-button {
  background: #f4c542;
  color: #0b223d;
  box-shadow: 0 14px 34px rgba(244, 197, 66, 0.24);
}

.home-hero-inner .home-secondary-button {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.home-hero-image-card,
.home-hero-panel,
.home-hero-visual {
  display: none !important;
}

/* Homepage card image controls */

.home-path-card {
  overflow: hidden;
  padding: 0;
}

.home-path-card > img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px 26px 0 0;
}

.home-path-card-body {
  padding: clamp(24px, 4vw, 34px);
}

.home-path-card-dark > img {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 940px) {
  .home-hero.home-hero-banner {
    min-height: auto;
    background-position: center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 45, 0.94) 0%, rgba(7, 24, 45, 0.86) 100%),
      radial-gradient(circle at 18% 28%, rgba(244, 197, 66, 0.22), transparent 18rem);
  }

  .home-hero-inner h1 {
    max-width: 760px;
  }

  .home-path-card > img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .home-hero.home-hero-banner {
    margin-left: -14px !important;
    margin-right: -14px !important;
    padding-top: 64px !important;
    padding-bottom: 72px !important;
  }

  .home-hero-inner h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .home-hero-inner .home-hero-actions a {
    width: 100%;
  }
}
/* Full site footer */

.site-footer {
  margin-top: 0;
  padding: 52px 20px;
  background: #07182d;
  color: #ffffff;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr) minmax(220px, 0.7fr);
  gap: 34px;
  align-items: start;
}

.site-footer-brand h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-footer-brand p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.site-footer-column h3 {
  margin: 0 0 14px;
  color: #f3c63f;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer-links {
  display: grid;
  gap: 10px;
}

.site-footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer-bottom {
  max-width: 1180px;
  margin: 38px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}

.article-video {
  margin: 34px 0 42px;
}

.article-video-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #0b223d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #0b223d;
  box-shadow: 0 24px 60px rgba(11, 34, 61, 0.18);
}

.article-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-content pre,
.article-body pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: #0b223d;
  color: #f8fafc;
  font-size: 0.92rem;
  line-height: 1.65;
  box-shadow: 0 18px 45px rgba(11, 34, 61, 0.16);
}

.article-content code,
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.article-content pre code,
.article-body pre code {
  display: block;
  white-space: pre;
}

.contact-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.contact-hero {
  max-width: 760px;
  margin-bottom: 42px;
}

.contact-kicker {
  color: #2f80ed;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-hero h1 {
  color: #0b223d;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0 0 22px;
}

.contact-hero p {
  color: #526173;
  font-size: 1.12rem;
  line-height: 1.75;
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(11, 34, 61, 0.1);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(11, 34, 61, 0.08);
  padding: 34px;
}

.contact-card h2 {
  color: #0b223d;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.contact-card p {
  color: #526173;
  line-height: 1.75;
  margin: 0 0 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #0b223d;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(11, 34, 61, 0.16);
  border-radius: 14px;
  padding: 14px 16px;
  color: #0b223d;
  font: inherit;
  line-height: 1.5;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2f80ed;
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
  background: #ffffff;
}

.contact-form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: #0b223d;
  color: #ffffff;
  font-weight: 800;
  padding: 14px 22px;
  cursor: pointer;
}

.contact-form button:hover {
  transform: translateY(-1px);
}

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

.contact-link-list a {
  display: block;
  color: #0b223d;
  font-weight: 800;
  text-decoration: none;
  background: #f3f7fb;
  border-radius: 16px;
  padding: 16px 18px;
}

.contact-link-list a:hover {
  background: #e8f1fb;
}

@media (max-width: 820px) {
  .contact-page {
    padding: 52px 18px 72px;
  }

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

  .contact-card {
    padding: 26px;
    border-radius: 24px;
  }
}
