:root {
  color-scheme: light;
  --navy: #071a35;
  --ink: #102747;
  --muted: #415777;
  --blue: #1462df;
  --line: #d4e0ef;
  --surface: #f1f6fc;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #ed9d33; outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-weight: 740; letter-spacing: -.045em; line-height: 1.07; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.35vw, 3rem); }
p { line-height: 1.65; color: var(--muted); }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.masthead { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav, .hero-layout { width: min(90rem, calc(100% - 2.75rem)); margin-inline: 1.375rem auto; }
.nav { display: flex; min-height: 3.25rem; align-items: center; justify-content: space-between; gap: 1rem; }
.nav a { text-decoration: none; font-size: .875rem; }
.nav a:hover { text-decoration: underline; }
.wordmark { font-weight: 800; letter-spacing: .19em; }
.wordmark span { color: var(--blue); margin-right: .35rem; font-size: 1.2em; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: 65% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fff 36%, #ffffffeb 40%, #ffffff5e 48%, transparent 57%); }
.hero-layout { min-height: clamp(25rem, 37vw, 32rem); display: flex; align-items: center; padding-block: 2.75rem; }
.hero-copy { width: min(54%, 43rem); }
.eyebrow { font-weight: 750; letter-spacing: .15em; font-size: .875rem; text-transform: uppercase; color: #165bb8; margin-bottom: 1rem; }
.hero .eyebrow { color: var(--ink); letter-spacing: .19em; }
.hero h1 { font-size: clamp(2.125rem, 3.45vw, 3.25rem); letter-spacing: -.035em; text-wrap: wrap; }
.hero h1 span { color: var(--blue); }
.hero-copy > p:not(.eyebrow) { max-width: 35rem; margin-top: 1rem; }
.hero-copy strong { color: #1256b1; }
.actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.hero .actions { margin-top: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.875rem; padding: .65rem 1.12rem; border: 1px solid transparent; border-radius: .4rem; font-size: .9rem; font-weight: 680; text-decoration: none; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #255ec1; }
.outline { color: #fff; border-color: #8baaca; background: #071a357a; }
.outline:hover { background: #214b77; }
.hero .outline { color: #1256b1; border-color: var(--blue); background: #fff; }
.hero .outline:hover { background: var(--surface); }
.section { padding-block: clamp(2.8rem, 6vw, 5rem); }
.why, .capabilities { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.why h2 + p, .capabilities h2 + p { margin-top: 1rem; }
.cycle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cycle > div { border-left: 1px solid var(--line); padding: .5rem clamp(.85rem, 1.7vw, 1.4rem); }
.cycle dt { font-size: 1.22rem; font-weight: 750; color: #154b94; }
.cycle dd, .module-list dd, .principle-list dd { margin-top: .45rem; line-height: 1.5; }
.cycle dd, .module-list dd { color: var(--muted); }
.architecture { background: var(--surface); }
.intro { margin-top: .85rem; max-width: 50rem; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.comparison section { overflow: hidden; background: #fff; border-radius: .6rem; border: 1px solid var(--line); }
.comparison h3 { background: #e1ebf7; font-size: 1.02rem; padding: .9rem 1.15rem; }
.comparison .athena-column h3 { background: #144e9c; color: #fff; }
.comparison ul { list-style: none; padding: 0; margin: 0; }
.comparison li { padding: .8rem 1.15rem; line-height: 1.48; }
.comparison li + li { border-top: 1px solid var(--line); }
.principles { background: #0b2546; color: #f7fbff; }
.principle-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.principle-list > div { border-top: 2px solid #668fbf; padding-top: .95rem; }
.principle-list dt, .module-list dt { font-weight: 720; line-height: 1.3; }
.principle-list dd { color: #cddff3; }
.module-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 1.2rem; }
.module-list > div { padding-block: .65rem; border-top: 1px solid var(--line); }
.module-list dd { font-size: .9rem; }
.closing { background: var(--navy); color: #fff; padding-block: 2.25rem; }
.closing-layout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.closing h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
@media (max-width: 60rem) {
  .why, .capabilities { grid-template-columns: 1fr; }
  .principle-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .nav, .hero-layout { margin-inline: auto; }
  .hero-layout { min-height: 0; padding-block: 10.5rem 2rem; }
  .hero-copy { width: 100%; }
  .hero-art { width: 100%; height: 13rem; object-position: 69% 47%; }
  .hero::after { background: linear-gradient(180deg, transparent 6rem, #ffffff95 8.5rem, #fff 11.5rem); }
  .comparison { grid-template-columns: 1fr; }
  .principle-list, .module-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle { grid-template-columns: 1fr; gap: .85rem; }
}

/* Preserve the width of the art band and fit the full portrait inside it. */
@media (min-width: 42.001rem) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 20% 0 auto auto;
    z-index: -3;
    width: 66%;
    height: 60%;
    background: linear-gradient(90deg, #fff, #eaf5ff 68%, #dcefff);
    mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  }
  .hero-art {
    inset: 20% 0 auto auto;
    width: auto;
    max-width: 66%;
    height: 60%;
    object-fit: contain;
    object-position: right center;
    mask-image: linear-gradient(90deg, transparent, #000 14%);
  }
}
@media (max-width: 42rem) {
  .hero-art { height: 7.8rem; object-fit: contain; object-position: center; }
  .hero-layout { padding-block-start: 8rem; }
  .hero::after { content: none; }
}
