:root {
  --blue: #075b91;
  --navy: #041f35;
  --orange: #f27b21;
  --lime: #b7cf69;
  --ink: #102233;
  --muted: #667787;
  --line: #dce6ed;
  --soft: #f4f8fb;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(6, 45, 73, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.topbar {
  height: 34px;
  background: var(--navy);
  color: #cfe0ed;
  font-size: 11px;
}

.topbar .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  height: 78px;
  border-bottom: 1px solid rgba(220, 230, 237, 0.8);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  margin-right: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-mark {
  width: 39px;
  height: 39px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font: 700 19px "Space Grotesk";
  position: relative;
}

.logo-mark:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  right: -5px;
  bottom: -5px;
}

.logo-text {
  font: 700 17px "Space Grotesk";
  line-height: 1;
  color: #053c63;
}

.logo-text small {
  display: block;
  color: var(--orange);
  font-size: 8px;
  letter-spacing: 2.2px;
  margin-top: 5px;
}

.links {
  display: flex;
  gap: 27px;
  font-size: 13px;
  font-weight: 700;
  color: #486071;
}

.links a:hover,
.links a.active {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 11px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 13px;
  transition: 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 25px rgba(7, 91, 145, 0.18);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: #b9cad6;
  color: var(--blue);
}

.btn-outline:hover {
  border-color: var(--blue);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-lg {
  padding: 15px 22px;
}

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
}

.hero {
  background: linear-gradient(135deg, #f8fbfd, #edf5fa);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(7, 91, 145, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 91, 145, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}

.hero-inner {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 50px;
  align-items: center;
  position: relative;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 17px;
}

.eyebrow.light {
  color: #9cc3da;
}

.hero h1,
.section-title h1,
.section-title h2,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin: 0;
  color: var(--navy);
}

.hero h1 span,
h1 span,
h2 span {
  color: var(--orange);
}

.hero p {
  max-width: 650px;
  font-size: 17px;
  color: #5b7080;
  margin: 24px 0 30px;
}

.actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.hero-visual {
  height: 470px;
  display: grid;
  place-items: center;
  position: relative;
}

.terminal {
  width: min(480px, 100%);
  background: #071d2f;
  border-radius: 22px;
  box-shadow: 0 35px 80px rgba(4, 31, 53, 0.25);
  overflow: hidden;
  z-index: 2;
}

.terminal-head {
  height: 43px;
  border-bottom: 1px solid #173348;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #718b9e;
  font-size: 10px;
}

.terminal-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #597587;
}

.terminal-head span {
  margin-left: auto;
}

.code {
  padding: 27px;
  font: 13px/2.2 "Space Grotesk", monospace;
  color: #c7d7e2;
}

.code b {
  display: inline-block;
  width: 32px;
  color: #486476;
}

.purple {
  color: #c594ff;
}

.blue {
  color: #68c5ff;
}

.orange {
  color: #ff9a5d;
}

.green {
  color: #b7cf69;
}

.terminal-card {
  margin: 0 22px 22px;
  padding: 14px 16px;
  background: #102b40;
  border-radius: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-card strong,
.terminal-card small {
  display: block;
}

.terminal-card strong {
  font-size: 12px;
}

.terminal-card small {
  font-size: 9px;
  color: #8da5b5;
}

.dot {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 11px 15px;
  z-index: 3;
}

.float strong {
  font: 700 16px "Space Grotesk";
  display: block;
  color: var(--blue);
}

.float small {
  font-size: 10px;
  color: var(--muted);
}

.f1 {
  left: 0;
  top: 17%;
}

.f2 {
  right: 0;
  top: 43%;
}

.f3 {
  left: 7%;
  bottom: 12%;
}

.section {
  padding: 100px 0;
}

.section-title {
  max-width: 720px;
}

.section-title.center {
  text-align: center;
  margin: 0 auto 50px;
}

.section-title h2 {
  font-size: clamp(38px, 4vw, 57px);
  line-height: 1.05;
  letter-spacing: -1.7px;
  margin: 0;
  color: var(--navy);
}

.section-title p {
  color: var(--muted);
  font-size: 15px;
}

.center p {
  max-width: 680px;
  margin: 18px auto 0;
}

.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 45px;
}

.split p {
  max-width: 410px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.panel {
  border-radius: var(--radius);
  padding: 38px;
  min-height: 350px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.panel.blue {
  background: #eff7fb;
}

.panel.dark {
  background: var(--navy);
  color: #fff;
  border: 0;
}

.panel-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font: 700 20px "Space Grotesk";
  margin-bottom: 30px;
}

.dark .panel-icon {
  background: #102f45;
  color: var(--orange);
}

.panel .kicker {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 900;
  color: var(--blue);
}

.dark .kicker {
  color: #9dc6dd;
}

.panel h3 {
  font-size: 31px;
  line-height: 1.1;
  margin: 11px 0 14px;
}

.panel p {
  font-size: 14px;
  color: #647887;
  max-width: 520px;
}

.dark p {
  color: #a8bdca;
}

.link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.dark .link {
  color: #fff;
}

.pathways {
  background: var(--soft);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 18px;
}

.path {
  background: #fff;
  padding: 29px;
  min-height: 180px;
}

.path span {
  font: 800 10px "Space Grotesk";
  color: var(--orange);
}

.path h3 {
  font-size: 21px;
  margin: 14px 0 6px;
}

.path p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.course {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
  background: #fff;
}

.course:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 11px "Space Grotesk";
}

.duration {
  font: 800 9px "Space Grotesk";
  letter-spacing: 1.5px;
  color: var(--blue);
}

.course h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 23px 0 9px;
}

.course p {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}

.course .meta {
  font-size: 10px;
  color: #728795;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 16px;
}

.course a {
  font-size: 12px;
  color: var(--blue);
  font-weight: 800;
  margin-top: 13px;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.method-box {
  height: 420px;
  border-radius: 27px;
  background: var(--soft);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
      rgba(7, 91, 145, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(7, 91, 145, 0.055) 1px, transparent 1px);
  background-size: 40px 40px;
}

.method-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 27px "Space Grotesk";
  box-shadow: 0 0 0 15px rgba(7, 91, 145, 0.08),
    0 0 0 30px rgba(7, 91, 145, 0.035);
}

.node {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 15px;
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(6, 45, 73, 0.08);
}

.node b {
  display: block;
  color: var(--orange);
  font: 700 10px "Space Grotesk";
}

.node span {
  font: 700 12px "Space Grotesk";
  color: var(--navy);
}

.n1 {
  left: 15%;
  top: 23%;
}

.n2 {
  right: 13%;
  top: 20%;
}

.n3 {
  right: 12%;
  bottom: 22%;
}

.n4 {
  left: 16%;
  bottom: 18%;
}

.method-copy h2 {
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -1.7px;
  color: var(--navy);
  margin: 0;
}

.method-copy > p {
  color: var(--muted);
  margin: 20px 0 27px;
}

.checks {
  display: grid;
  gap: 15px;
}

.check {
  display: flex;
  gap: 12px;
}

.check i {
  font-style: normal;
  width: 25px;
  height: 25px;
  background: #e9f3f8;
  color: var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex: none;
}

.check p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.check strong {
  color: var(--navy);
}

.dark-band {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dark-band h2 {
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: -1.8px;
  margin: 0;
}

.dark-band p {
  color: #a8bdca;
  font-size: 14px;
  max-width: 500px;
  margin: 20px 0 26px;
}

.stack {
  display: grid;
  gap: 9px;
}

.stack div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 10px;
}

.stack span {
  color: var(--orange);
  font: 700 10px "Space Grotesk";
}

.stack strong {
  font: 600 14px "Space Grotesk";
}

.stack small {
  display: block;
  color: #7f97a7;
  font-size: 10px;
}

.page-hero {
  padding: 90px 0;
  background: linear-gradient(135deg, #f8fbfd, #edf5fa);
}

.crumb {
  font-size: 11px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 17px;
}

.page-hero h1 {
  font: 700 clamp(44px, 5vw, 68px) / 1.03 "Space Grotesk";
  letter-spacing: -2px;
  color: var(--navy);
  margin: 0;
}

.page-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  margin: 20px 0 0;
}

.footer {
  background: #041b2d;
  color: #9db4c3;
  padding: 55px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 35px;
  padding-bottom: 45px;
}

.footer h4 {
  color: #fff;
  font: 700 11px "Space Grotesk";
  letter-spacing: 1.4px;
}

.footer a {
  display: block;
  font-size: 12px;
  margin: 8px 0;
}

.footer p {
  font-size: 12px;
  max-width: 270px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label {
  font-size: 11px;
  font-weight: 800;
  color: #526b7b;
}

.form label.full,
.form button {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid #c8d8e2;
  border-radius: 10px;
  font: 14px "DM Sans";
  outline: 0;
}

.form textarea {
  resize: vertical;
}

.form-msg {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--blue);
}

.course-detail {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 40px;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.detail-card p,
.detail-card li {
  font-size: 13px;
  color: var(--muted);
}

.side-card {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  align-self: start;
}

.side-card h3 {
  font-size: 24px;
}

.side-stat {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.side-stat small {
  display: block;
  color: #7f97a7;
  font-size: 9px;
}

.side-stat strong {
  font-size: 14px;
}

@media (max-width: 900px) {
  .links,
  .nav > .nav-btn {
    display: none;
  }

  .menu {
    display: block;
  }

  .links.open {
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner,
  .method-grid,
  .dark-band,
  .course-detail,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 60px 0;
  }

  .hero-visual {
    min-height: 400px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .path-grid,
  .course-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }

  .topbar span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .terminal {
    transform: scale(0.88);
    width: 112%;
  }

  .float {
    display: none;
  }

  .section {
    padding: 75px 0;
  }

  .path-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 28px;
  }

  .dark-band {
    padding: 35px 25px;
  }

  .dark-band h2 {
    font-size: 43px;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .form label.full,
  .form button {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin: 5px 0;
  }
}