@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bm-navy: #01164b;
  --bm-ink: #07142f;
  --bm-electric: #026cfb;
  --bm-sky: #0c8ff9;
  --bm-orange: #f87304;
  --bm-ice: #f4f8ff;
  --bm-white: #ffffff;
  --bm-muted: #50617f;
  --bm-line: #d9e5f7;
  --bm-success: #167a52;
  --bm-error: #b42318;
  --bm-font-sans: "Manrope", Arial, sans-serif;
  --bm-font-mono: "IBM Plex Mono", Consolas, monospace;
  --bm-radius-card: 16px;
  --bm-radius-control: 12px;
  --bm-shadow: 0 24px 70px rgba(1, 22, 75, 0.12);
  --bm-focus: 0 0 0 3px rgba(12, 143, 249, 0.36);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--bm-ink);
  background: var(--bm-white);
  font-family: var(--bm-font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(2, 108, 251, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 108, 251, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: none;
  box-shadow: var(--bm-focus);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--bm-navy);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 229, 247, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 252px;
  height: 66px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links > a:not(.button) {
  text-decoration: none;
}

.nav-links > a:not(.button):hover {
  color: var(--bm-electric);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--bm-line);
  border-radius: 12px;
  color: var(--bm-navy);
  background: white;
  cursor: pointer;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.74rem 1.15rem;
  border: 0;
  border-radius: var(--bm-radius-control);
  color: white;
  background: var(--bm-electric);
  box-shadow: 0 10px 28px rgba(2, 108, 251, 0.22);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: #005ddd;
  box-shadow: 0 13px 32px rgba(2, 108, 251, 0.3);
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}

.button-secondary {
  color: var(--bm-navy);
  background: var(--bm-ice);
  box-shadow: none;
}

.button-secondary:hover {
  color: white;
  background: var(--bm-navy);
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bm-electric);
  font-family: var(--bm-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 78px) 0 48px;
  background:
    radial-gradient(circle at 0% 20%, rgba(12, 143, 249, 0.1), transparent 33%),
    linear-gradient(145deg, white 0%, white 62%, var(--bm-ice) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -230px;
  width: 620px;
  height: 360px;
  border: 22px solid rgba(248, 115, 4, 0.16);
  border-left-color: rgba(2, 108, 251, 0.14);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--bm-navy);
  font-size: clamp(2.65rem, 5.9vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--bm-electric);
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #283957;
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--bm-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  margin: 0;
  border: 10px solid white;
  border-radius: 34px 34px 88px 34px;
  background: white;
  box-shadow: var(--bm-shadow);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.05;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-media figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 9px 13px;
  border-radius: 9px;
  color: white;
  background: rgba(1, 22, 75, 0.93);
  font-family: var(--bm-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facts {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-card);
  background: white;
  box-shadow: 0 16px 50px rgba(1, 22, 75, 0.08);
}

.fact {
  padding: 22px 26px;
}

.fact + .fact {
  border-left: 1px solid var(--bm-line);
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  color: var(--bm-navy);
  font-size: 1rem;
}

.fact span {
  margin-top: 4px;
  color: var(--bm-muted);
  font-size: 0.86rem;
}

.outcome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 16px 22px;
  border-left: 4px solid var(--bm-orange);
  border-radius: 0 var(--bm-radius-control) var(--bm-radius-control) 0;
  color: var(--bm-navy);
  background: rgba(244, 248, 255, 0.92);
}

.outcome-bar strong {
  font-size: 0.98rem;
}

.outcome-bar span {
  color: var(--bm-muted);
  font-family: var(--bm-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 7vw, 88px) 0;
}

.section-alt {
  background: var(--bm-ice);
}

.section-dark {
  color: white;
  background: var(--bm-navy);
}

.section-header {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-header h2,
.contact-copy h2 {
  margin: 0;
  color: var(--bm-navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-header p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--bm-muted);
  font-size: 1.06rem;
}

.project-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: stage;
}

.project-rail li {
  position: relative;
  padding: 34px 30px 30px;
  border-top: 4px solid var(--bm-electric);
  counter-increment: stage;
}

.project-rail li::before {
  content: "0" counter(stage);
  position: absolute;
  top: -22px;
  left: 28px;
  min-width: 42px;
  padding: 6px 8px;
  border: 4px solid white;
  border-radius: 9px;
  color: white;
  background: var(--bm-electric);
  font-family: var(--bm-font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
}

.project-rail li:nth-child(2n) {
  border-top-color: var(--bm-sky);
}

.project-rail li:nth-child(4) {
  border-top-color: var(--bm-orange);
}

.project-rail li:nth-child(2n)::before {
  background: var(--bm-sky);
}

.project-rail li:nth-child(4)::before {
  color: var(--bm-navy);
  background: var(--bm-orange);
}

.project-rail li:last-child {
  border-top-color: var(--bm-orange);
}

.project-rail li:last-child::before {
  color: var(--bm-navy);
  background: var(--bm-orange);
}

.project-rail h3 {
  margin: 0 0 10px;
  color: var(--bm-navy);
  font-size: 1.05rem;
}

.project-rail p {
  margin: 0;
  color: var(--bm-muted);
  font-size: 0.92rem;
}

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

.tech-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--bm-radius-card);
  background: rgba(255, 255, 255, 0.06);
}

.tech-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--bm-navy);
  background: var(--bm-orange);
  font-family: var(--bm-font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.tech-card h3 {
  margin: 22px 0 10px;
  font-size: 1.18rem;
}

.tech-card p {
  margin: 0;
  color: #c7d6ef;
  font-size: 0.92rem;
}

.teacher-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--bm-line);
  border-left: 6px solid var(--bm-orange);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 55px rgba(1, 22, 75, 0.08);
}

.teacher-panel h2 {
  margin: 0;
  color: var(--bm-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.teacher-copy p {
  margin: 0;
  color: var(--bm-muted);
}

.teacher-copy p + p {
  margin-top: 14px;
}

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

.teacher-tags li {
  padding: 7px 11px;
  border: 1px solid var(--bm-line);
  border-radius: 999px;
  color: var(--bm-navy);
  background: var(--bm-ice);
  font-family: var(--bm-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.levels-grid,
.evidence-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(38px, 7vw, 90px);
  align-items: start;
}

.level-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.level-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--bm-line);
}

.level-list li:last-child {
  border-bottom: 1px solid var(--bm-line);
}

.level-label {
  color: var(--bm-electric);
  font-family: var(--bm-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.level-list h3 {
  margin: 0 0 8px;
  color: var(--bm-navy);
  font-size: 1.08rem;
}

.level-list p {
  margin: 0;
  color: var(--bm-muted);
}

.feature-panel {
  padding: clamp(30px, 5vw, 48px);
  border-radius: 28px;
  color: white;
  background: var(--bm-navy);
  box-shadow: var(--bm-shadow);
}

.feature-panel h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.feature-panel p {
  color: #c7d6ef;
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--bm-orange);
  border-bottom: 3px solid var(--bm-orange);
  transform: rotate(-45deg);
}

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

.evidence-card {
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--bm-line);
  border-radius: 24px;
  background: white;
}

.evidence-card.accent {
  color: white;
  background: var(--bm-electric);
  border-color: transparent;
}

.evidence-card h3 {
  margin: 0;
  color: var(--bm-navy);
  font-size: 1.55rem;
}

.evidence-card.accent h3 {
  color: white;
}

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

.evidence-card.accent p,
.evidence-card.accent li {
  color: #eaf2ff;
}

.evidence-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  border-top: 1px solid var(--bm-line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--bm-line);
}

.faq summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: var(--bm-navy);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 20px;
  color: var(--bm-electric);
  font-family: var(--bm-font-mono);
  font-size: 1.5rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: -4px 0 26px;
  padding-right: 60px;
  color: var(--bm-muted);
}

.contact {
  background:
    radial-gradient(circle at 100% 0%, rgba(12, 143, 249, 0.18), transparent 32%),
    var(--bm-ice);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr);
}

.contact-copy {
  position: sticky;
  top: 116px;
}

.next-steps {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.next-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.next-step span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--bm-electric);
  font-family: var(--bm-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.next-step strong,
.next-step small {
  display: block;
}

.next-step strong {
  color: var(--bm-navy);
}

.next-step small {
  margin-top: 3px;
  color: var(--bm-muted);
  font-size: 0.85rem;
}

.form-card {
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid white;
  border-radius: 26px;
  background: white;
  box-shadow: var(--bm-shadow);
}

.form-card h3 {
  margin: 0 0 8px;
  color: var(--bm-navy);
  font-size: 1.4rem;
}

.form-intro {
  margin: 0 0 26px;
  color: var(--bm-muted);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  color: var(--bm-navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #b9cae5;
  border-radius: var(--bm-radius-control);
  color: var(--bm-ink);
  background: white;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--bm-sky);
  outline: none;
  box-shadow: var(--bm-focus);
}

.field-hint {
  color: var(--bm-muted);
  font-size: 0.76rem;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 22px 0;
  color: var(--bm-muted);
  font-size: 0.82rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--bm-electric);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-status {
  min-height: 26px;
  margin: 0;
  color: var(--bm-muted);
  font-size: 0.84rem;
}

.form-status[data-state="success"] {
  color: var(--bm-success);
}

.form-status[data-state="error"] {
  color: var(--bm-error);
}

.form-status[data-state="pending"] {
  color: #8a4c00;
}

.site-footer {
  padding: 34px 0;
  color: #c6d4ee;
  background: var(--bm-navy);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: white;
}

.footer-brand span,
.footer-meta {
  font-size: 0.82rem;
}

.footer-meta {
  text-align: right;
}

.review-note {
  margin: 8px 0 0;
  color: #f8c28f;
}

@media (max-width: 980px) {
  .menu-button {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--bm-line);
    background: white;
    box-shadow: 0 18px 30px rgba(1, 22, 75, 0.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.button) {
    padding: 12px 4px;
  }

  .hero-grid,
  .levels-grid,
  .contact-grid,
  .teacher-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    width: min(680px, 100%);
  }

  .hero-media img {
    aspect-ratio: 1.6;
    object-position: 50% 47%;
  }

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

  .outcome-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .fact:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--bm-line);
  }

  .fact:nth-child(4) {
    border-top: 1px solid var(--bm-line);
  }

  .project-rail {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 38px;
  }

  .contact-grid {
    gap: 44px;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand img {
    width: 202px;
    height: 56px;
  }

  .nav-links {
    top: 70px;
  }

  .hero {
    padding: 30px 0 36px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-actions,
  .form-footer,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .form-footer .button {
    width: 100%;
  }

  .hero-media {
    border-width: 7px;
    border-radius: 24px 24px 62px 24px;
  }

  .hero-media img {
    aspect-ratio: 1.6;
    object-position: 50% 47%;
  }

  .tech-grid,
  .project-rail,
  .evidence-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .fact {
    padding: 16px;
  }

  .fact + .fact {
    border-left: 1px solid var(--bm-line);
    border-top: 0;
  }

  .fact:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--bm-line);
  }

  .fact:nth-child(4) {
    border-top: 1px solid var(--bm-line);
  }

  .project-rail {
    gap: 34px;
  }

  .level-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq details p {
    padding-right: 12px;
  }

  .form-card {
    border-radius: 20px;
  }

  .teacher-panel {
    gap: 24px;
    border-left-width: 4px;
  }

  .footer-meta {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
