:root {
  --base: #071b33;
  --panel: #0c2747;
  --accent: #28c7d7;
  --gold: #f2c84b;
  --soft: #eef6fb;
  --wash: #d6f6fb;
  --ink: #172033;
  --muted: #667482;
  --line: #d8e4ec;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.58;
  background: #f7fafc;
  overflow-x: hidden;
}

a { color: #087a90; text-underline-offset: 3px; }
a:hover { color: #045166; }

h1, h2, h3 { letter-spacing: 0; line-height: 1.14; }
h1 { font-size: clamp(1.72rem, 2.55vw, 2.1rem); font-weight: 860; }
h2 { font-size: clamp(1.3rem, 1.75vw, 1.62rem); font-weight: 820; }
h3 { font-size: 1.04rem; font-weight: 780; }
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(7, 27, 51, .98);
  border-bottom: 1px solid rgba(40,199,215,.28);
  box-shadow: 0 14px 34px rgba(2,9,20,.18);
  backdrop-filter: blur(12px);
}
.navbar { padding: .55rem 0; }
.navbar-brand img {
  width: auto;
  height: 40px;
  border-radius: 6px;
}
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.nav-link {
  color: rgba(235,248,255,.78) !important;
  font-size: .86rem;
  font-weight: 760;
  padding-inline: .48rem !important;
}
.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: rgba(40,199,215,.12);
  border-radius: 999px;
}

.btn {
  border-radius: 4px;
  font-weight: 820;
  letter-spacing: 0;
}
.btn-lg { font-size: .98rem; padding: .72rem 1.05rem; }
.btn-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: #07111f;
}
.btn-cta:hover { background: #d9ae31; border-color: #d9ae31; color: #07111f; }
.btn-main {
  background: var(--accent);
  border-color: var(--accent);
  color: #061826;
}
.btn-main:hover { background: #0aa7ba; border-color: #0aa7ba; color: #061826; }
.btn-outline-light {
  color: #fff;
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.05);
}
.btn-outline-light:hover { background: #fff; color: var(--base); }

.eyebrow {
  color: var(--accent);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,27,51,.98), rgba(7,27,51,.88) 48%, rgba(7,27,51,.52)),
    var(--hero) center/cover no-repeat;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background:
    linear-gradient(90deg, transparent 0 49px, rgba(40,199,215,.65) 50px, transparent 51px),
    linear-gradient(180deg, transparent 0 49px, rgba(242,200,75,.42) 50px, transparent 51px);
  background-size: 50px 50px;
}
.hero:after {
  content: "";
  position: absolute;
  right: 7%;
  top: 20%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(40,199,215,.45);
  border-radius: 50%;
  box-shadow: inset 0 0 0 38px rgba(40,199,215,.04), 0 0 70px rgba(40,199,215,.2);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 840px; }
.hero .lead {
  max-width: 720px;
  color: rgba(235,248,255,.82);
  font-size: 1.06rem !important;
}
.hero-panel {
  background: rgba(5,17,32,.82);
  border: 1px solid rgba(40,199,215,.35);
  border-radius: var(--radius);
  padding: 20px;
  color: #fff;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}
.hero-panel strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--gold);
  font-size: 1.28rem;
}
.hero-panel span { color: rgba(235,248,255,.72); }
.hero-panel hr { border-color: rgba(40,199,215,.32); opacity: 1; }

.trust-strip {
  background: var(--base);
  color: rgba(235,248,255,.82);
  border-top: 1px solid rgba(40,199,215,.24);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
}
.trust-strip span {
  padding-left: 16px;
  position: relative;
}
.trust-strip span:before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.section { padding: 60px 0; }
.section-alt {
  background:
    linear-gradient(90deg, rgba(40,199,215,.08) 0 1px, transparent 1px),
    #eef6fb;
  background-size: 44px 44px;
  border-block: 1px solid var(--line);
}
.section-dark {
  background: var(--base);
  color: #fff;
  border-bottom: 4px solid var(--accent);
}
.section-dark p { color: rgba(235,248,255,.78); }
.section-dark .feature-card { color: var(--ink); }
.section-dark .feature-card p,
.section-dark .post-card p { color: var(--muted); }
.layout-ribbon { border-top: 4px solid var(--accent); }

.feature-card,
.post-card,
.stat-card,
.path-card,
.locator-panel,
.faq details {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-card,
.post-card,
.path-card,
.locator-panel { padding: 22px; }
.feature-card,
.post-card {
  border-top: 3px solid var(--accent);
  box-shadow: 0 10px 28px rgba(7,27,51,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover,
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(7,27,51,.12);
}

.stat-card {
  padding: 18px;
  background: #071b33;
  color: #fff;
  border-color: rgba(40,199,215,.35);
}
.stat-card strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--gold);
  font-size: 1.45rem;
  line-height: 1;
}
.stat-card span { color: rgba(235,248,255,.74); }

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.path-card {
  background: linear-gradient(180deg, #fff, #f8fcff);
  position: relative;
}
.path-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}
.path-card span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 4px;
  background: var(--base);
  color: var(--gold);
  font-weight: 900;
}

.academy-band {
  background: #071b33;
  color: #fff;
}
.academy-band p { color: rgba(235,248,255,.78); }
.academy-band .path-card { color: var(--ink); }
.academy-band .path-card p { color: var(--muted); }
.split-band {
  background: linear-gradient(90deg, var(--base), #0a3d5b);
  color: #fff;
  padding: 44px 0;
  border-top: 1px solid rgba(40,199,215,.32);
}
.split-band p { color: rgba(235,248,255,.78); }

.faq details {
  padding: 16px 18px;
  margin-bottom: 12px;
  border-left: 4px solid var(--accent);
}
.faq summary {
  color: var(--base);
  cursor: pointer;
  font-weight: 820;
}

label { color: #10243b; font-weight: 700; }
.form-control,
.form-select {
  border-radius: 4px;
  border-color: var(--line);
  padding: .72rem .85rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(40,199,215,.16);
}

.article-body { max-width: 850px; }
.article-body h2 { margin-top: 2rem; }

.site-footer {
  background: #061121;
  color: rgba(235,248,255,.72);
  padding: 52px 0;
  border-top: 4px solid var(--accent);
}
.site-footer img { border-radius: 6px; }
.site-footer a {
  display: block;
  color: rgba(235,248,255,.88);
  text-decoration: none;
  margin: .38rem 0;
}
.site-footer a:hover { color: var(--gold); }
.footer-title {
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.mobile-cta { display: none; }

@media (max-width: 1199px) {
  .nav-link { padding-block: .42rem !important; }
}

@media (max-width: 991px) {
  body { padding-bottom: 76px; }
  .site-header .container,
  .hero .container {
    max-width: 100%;
    width: 100%;
  }
  .navbar-brand img { max-width: 172px; }
  .navbar-toggler { margin-left: auto; }
  .hero .row {
    --bs-gutter-x: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .hero .row > * {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .hero h1,
  .hero .lead {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .section { padding: 46px 0; }
  .hero {
    min-height: auto;
    padding: 58px 0 42px;
  }
  .hero:after { display: none; }
  .hero-panel { margin-top: 18px; }
  .path-grid { grid-template-columns: 1fr; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1040;
  }
}

@media (max-width: 575px) {
  .navbar-brand img { height: 36px; max-width: 210px; }
  h1 { font-size: 1.66rem; }
  .hero .lead { font-size: 1rem !important; }
}
