:root {
  --blue: #0527d5;
  --blue-dark: #06165e;
  --blue-soft: #e9edff;
  --ink: #17182a;
  --muted: #5b6276;
  --paper: #fbfaf6;
  --white: #fff;
  --line: #dfe2ec;
  --gold: #bc8d36;
  --aion: #6f52d9;
  --aion-soft: #eee8ff;
  --shadow: 0 18px 55px rgba(21, 31, 77, .11);
  --radius: 1.2rem;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 24rem;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(5, 39, 213, .16), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(188, 141, 54, .12), transparent 25%);
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .65rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(23, 24, 42, .08);
  background: rgba(251, 250, 246, .94);
  backdrop-filter: blur(16px);
}
.nav-shell,
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}
.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.02em;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: .7rem;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(5, 39, 213, .2);
}
.brand span small {
  display: block;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.program-link,
.contact-link {
  padding: .58rem .95rem;
  border-radius: .6rem;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}
.program-link {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
}
.contact-link {
  background: var(--blue);
  color: #fff;
}
.program-link:hover,
.program-link:focus-visible { border-color: var(--blue); color: var(--blue); }
.contact-link:hover,
.contact-link:focus-visible { background: var(--blue-dark); }

.hero { padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(4.5rem, 8vw, 7rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 4rem;
  align-items: center;
}
.hero-grid > *,
.section-head > * { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 1.65rem;
  height: 2px;
  background: currentColor;
}
h1 {
  max-width: 930px;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .98;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
h1 em { color: var(--blue); font-weight: 500; }
.lead {
  max-width: 720px;
  margin-bottom: 1.6rem;
  color: #4d5368;
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}
.status-note {
  max-width: 700px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.status-note span {
  width: .62rem;
  height: .62rem;
  margin-top: .43rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(188, 141, 54, .12);
}
.status-note p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.status-note strong { color: var(--ink); }

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 2rem;
  background: var(--blue);
  box-shadow: var(--shadow);
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
}
.hero-visual::before { width: 300px; height: 300px; right: -100px; top: -80px; }
.hero-visual::after { width: 170px; height: 170px; left: -55px; bottom: -30px; }
.signal {
  position: absolute;
  inset: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.signal p {
  margin-bottom: .65rem;
  color: #cbd4ff;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.signal strong {
  display: block;
  max-width: 270px;
  font: 700 2.2rem/1.04 Georgia, serif;
}
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.signal-grid span {
  padding: .8rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .1);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.agents-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #f0f2fb;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 3rem;
  margin-bottom: 2.6rem;
  align-items: end;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.agent-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  min-height: 230px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 18px rgba(21, 31, 77, .04);
}
.agent-card:nth-child(4) { grid-column: 2 / span 2; }
.agent-card--feature {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.agent-card--aion {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: var(--aion);
  background: var(--aion);
  box-shadow: 0 12px 30px rgba(73, 49, 166, .22);
}
.agent-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: .8rem;
  color: var(--blue);
  background: var(--blue-soft);
  font: 700 1.35rem/1 Georgia, serif;
}
.agent-card--feature .agent-mark {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}
.agent-card--aion .agent-mark {
  color: #fff;
  background: rgba(255, 255, 255, .17);
}
.agent-copy { display: flex; flex-direction: column; }
.agent-role {
  margin-bottom: .55rem;
  color: var(--blue);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.agent-card--feature .agent-role { color: #cbd4ff; }
.agent-card--aion .agent-role { color: var(--aion-soft); }
.agent-card h3 {
  margin-bottom: .45rem;
  font: 700 1.55rem/1.08 Georgia, serif;
}
.agent-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.agent-card--feature p:last-child { color: #dfe5ff; }
.agent-card--aion p:last-child { color: #f1edff; }

.contact-section { padding: clamp(4rem, 7vw, 6rem) 0; }
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.6rem);
  border-radius: 1.6rem;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.eyebrow--light { color: #aebaff; }
.contact-card h2 {
  margin-bottom: .4rem;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.contact-card p:not(.eyebrow) { margin: 0; color: #c5c8d4; }
.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 50px;
  padding: .78rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: .65rem;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}
.email-button:hover,
.email-button:focus-visible { background: var(--blue); border-color: var(--blue); }

.site-footer {
  padding: 2.7rem 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer-grid p {
  max-width: 600px;
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .84rem;
}
.footer-grid .footer-status { margin-top: 0; white-space: nowrap; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: 330px; }
  .agents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-card,
  .agent-card:nth-child(4) { grid-column: auto; }
  .agent-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-shell { min-height: 64px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: .88rem; }
  .hero { padding-top: 3.5rem; }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid .footer-status { white-space: normal; }
}

@media (max-width: 560px) {
  .container,
  .nav-shell { width: min(calc(100% - 1.25rem), var(--max)); }
  .primary-nav { gap: .3rem; }
  .program-link,
  .contact-link { padding: .48rem .58rem; font-size: .72rem; }
  h1 { font-size: clamp(2.75rem, 13vw, 3.3rem); line-height: 1.01; }
  .hero-visual { min-height: 265px; border-radius: 1.25rem; }
  .signal { inset: 1rem; }
  .signal strong { font-size: 1.75rem; }
  .signal-grid span { padding: .58rem; font-size: .62rem; }
  .agents-grid { grid-template-columns: 1fr; }
  .agent-card,
  .agent-card:last-child { grid-column: auto; min-height: 0; }
  .contact-card { border-radius: 1.2rem; }
  .email-button { width: 100%; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
