.homepage {
  --water-blue: #006aab;
  --deep-blue: #0b3156;
  --water-light: #cae9fa;
  --width: 1260px;
}
.homepage .top {
  display: block;
  background: var(--deep-blue);
}
.homepage .top .wrap { padding-block: 11px; }
.homepage .header {
  position: relative;
  z-index: 2;
  padding-inline: clamp(16px, 3vw, 44px);
  border-radius: 0 0 18px 18px;
  background: white;
  box-shadow: 0 9px 0 -3px #8dcaeb;
}
.homepage .hero.home {
  position: relative;
  margin-top: -87px;
  isolation: isolate;
  border: 0;
  color: white;
  background:
    radial-gradient(ellipse at 82% 34%, #1c83c4 0%, transparent 46%),
    linear-gradient(130deg, #092e56 15%, #09598e 78%, #12689d);
}
.homepage .hero.home::after {
  content: "";
  position: absolute;
  inset: auto -12% -105px;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: white;
  z-index: -1;
}
.homepage .hero.home .wrap {
  min-height: 660px;
  padding-top: clamp(140px, 14vw, 198px);
  padding-bottom: 106px;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 22px;
}
.homepage .hero.home h1 { color: white; font-size: clamp(2.75rem, 5vw, 5.15rem); }
.homepage .hero.home .eyebrow, .homepage .hero.home h1 strong { color: var(--water-light); }
.homepage .hero.home p { color: #eef7ff; max-width: 44ch; }
.homepage .hero.home img {
  position: relative;
  width: 100%;
  padding: clamp(16px, 4vw, 50px);
  border-radius: 100px 18px 100px 18px;
  background: linear-gradient(145deg, #f8fcff, #cee8f7);
  box-shadow: 18px 18px 0 #92d6f445;
}
.homepage .hero.home .button:not(.secondary) {
  background: var(--water-light);
  color: var(--deep-blue);
}
.homepage .hero.home .button.secondary {
  border-color: #e6f4ff;
  color: white;
  background: transparent;
}
.homepage .journey {
  position: relative;
  z-index: 1;
  margin-top: -31px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px #12365716;
}
.homepage .journey a { padding: 20px 24px; border-radius: 12px; }
.homepage .journey a span { color: var(--water-blue); }
.homepage #loop { background: #f2f5f8; }
.homepage #loop h2, .homepage #loop > .wrap > .eyebrow,
.homepage #axioms h2, .homepage #briefing h2,
.homepage #briefing > .wrap > .eyebrow { text-align: center; }
.homepage #loop .lede { margin-inline: auto; text-align: center; }
.homepage .state-list { gap: 20px; }
.homepage .state {
  border: 0;
  border-radius: 60px 60px 12px 12px;
  box-shadow: 0 6px 24px #183c6110;
  text-align: center;
  padding: 22px;
}
.homepage .state img { background: #edf5fa; border-radius: 50px 50px 7px 7px; padding: 14px; }
.homepage #axioms .row-list { grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.homepage #axioms .row {
  display: grid;
  grid-template-columns: 1fr 38px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.homepage #axioms .row:hover { background: #f2f6fa; }
.homepage .agenda-art img { border-radius: 16px; }
.homepage #road .tile { border-radius: 0 28px 0 28px; border-top: 3px solid var(--water-blue); }
@media (max-width: 820px) {
  .homepage .hero.home .wrap { grid-template-columns: 1fr; min-height: auto; padding-top: 125px; }
  .homepage .hero.home img { margin: 10px 0 0; max-width: 530px; }
}
@media (max-width: 570px) {
  .homepage .hero.home .wrap { padding-top: 145px; }
  .homepage #axioms .row-list { grid-template-columns: 1fr; }
  .homepage .journey a { padding: 13px 16px; }
}

.homepage .journey {
  background: #075487;
  color: white;
  border-color: #72b8e0;
  box-shadow: 0 12px 30px #0b315643;
}
.homepage .journey a { border-color: #ffffff40; min-height: 64px; }
.homepage .journey a:hover, .homepage .journey a:focus-visible { background: #0b385d; }
.homepage .journey a span { color: #bee9ff; font-size: 1.15rem; }
.homepage #about { background: #fff; padding-block: clamp(34px, 5vw, 62px); }
.homepage #about .paired { border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 38px); gap: 26px; }
.homepage #about .feature { margin: 0; overflow: hidden; border-radius: 12px; }
.homepage #about h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.homepage #about .team-logos { display: flex; justify-content: flex-start; align-items: center; gap: 20px; }
.homepage #about .team-logos img { height: 40px; width: auto; margin: 0; }

.homepage #axioms { background: #f2f6fa; }
.homepage #axioms .agenda-heading { margin: 0; }
.homepage #axioms .row-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.homepage #axioms .row {
  grid-template-columns: 34px 1fr;
  align-content: start;
  align-items: start;
  border: 1px solid #d2deea;
  border-radius: 12px;
  padding: 20px;
}
.homepage #axioms .row:last-child { background: #e4f1fb; }
.homepage #axioms .num { display: grid; place-items: center; background: #e5f1fa; width: 32px; height: 32px; border-radius: 50%; }
.homepage #axioms .row .eyebrow { display: none; }
.homepage #axioms .row .arrow { grid-column: 2; border: 0; width: auto; justify-self: end; }

.homepage #road .tile { background: #fff; border: 1px solid #d5e2ee; border-radius: 16px; padding: 20px; }
.module-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 135px;
  margin-bottom: 17px;
  padding: 16px;
  border-radius: 10px;
  background: #edf5fb;
}
.module-art img { width: min(100%, 180px); height: 103px; margin: 0; object-fit: contain; }
.module-art img + img { width: min(42%, 160px); }
.module-art img:has(+img) { width: min(42%, 160px); }
.route-line { color: #006aab; font-size: clamp(1.3rem, 4vw, 2.8rem); letter-spacing: .05em; }

.homepage #perspectives .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 4vw, 52px); }
.homepage #perspectives .perspectives-art { float: none; width: 100%; margin: 0; }
.perspectives-copy .lede { margin-bottom: 1em; }
.perspectives-copy ul { padding-left: 1.2em; }
.homepage #start-reading { background: white; }
.homepage #start-reading .wrap {
  padding: clamp(25px, 6vw, 70px);
  border-radius: 22px;
  text-align: center;
  background: radial-gradient(ellipse at 85% 0%, #1574a9, transparent 65%), #0c2e50;
}
#start-reading .lede { margin-inline: auto; }
#start-reading .reading-start { color: #b9e4ff; margin-top: 23px; font-weight: 650; }
#start-reading .actions { justify-content: center; margin-top: 13px; }
#start-reading .button { background: white; color: #0c2e50; min-height: 50px; }
#start-reading .button:hover { background: #d5edff; }

.homepage .briefing-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 18px #10283e12;
}
.homepage .briefing-card img { height: auto; aspect-ratio: 16/9; margin: 0; }
.briefing-copy { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.briefing-copy time { color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
.briefing-read { color: var(--water-blue); font-size: .88rem; font-weight: 700; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.briefing-read span { float: right; }
.briefing-card:hover .briefing-read { text-decoration: underline; }
.homepage .foot { padding-top: clamp(38px, 6vw, 70px); }
.homepage .footer-top { display: grid; grid-template-columns: 1.35fr 1fr 1.2fr 1fr; gap: 28px; align-items: start; }
.homepage .footer-top h3 { font-size: 1rem; color: white; margin-bottom: 12px; }
.homepage .footer-top nav a { display: block; font-size: .9rem; margin: 6px 0; }
.homepage .footer-top .brand { margin-bottom: 12px; }
@media(max-width: 900px) {
  .homepage #axioms .row-list, .homepage .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homepage #perspectives .wrap { grid-template-columns: 1fr; }
}
@media(max-width: 570px) {
  .homepage #axioms .row-list, .homepage .footer-top { grid-template-columns: 1fr; }
}

.homepage .journey a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
}
.homepage .journey .journey-label { color: white; font-size: inherit; }
.journey-icon { width: 23px; height: 23px; color: #bce9ff; }

.homepage #axioms { background: #e3eef8; }
.homepage #axioms .row {
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: 12px 16px;
  align-content: stretch;
  background: white;
}
.homepage #axioms .row:hover { background: #f3f8fd; }
.homepage #axioms .row:last-child { background: #10385a; border-color: #10385a; color: white; }
.homepage #axioms .row:last-child p { color: #e0edf8; }
.homepage #axioms .row:last-child:hover { background: #174a72; }
.homepage #axioms .axiom-art { position: relative; grid-row: 1 / 3; align-self: start; }
.homepage #axioms .axiom-art img {
  width: 100%;
  padding: 0;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
}
.homepage #axioms .num {
  position: absolute;
  inset: auto auto -8px -4px;
  width: 24px;
  height: 24px;
  font-size: .67rem;
}
.homepage #axioms .row .arrow {
  align-self: end;
  width: 32px;
  height: 32px;
  border: 1px solid #c5d9e9;
  border-radius: 50%;
  color: var(--water-blue);
  background: transparent;
  transition: transform .18s ease;
}
.homepage #axioms .row:last-child .arrow { color: white; border-color: #ffffff66; }
.homepage #axioms .row:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .homepage #axioms .row .arrow { transition: none; }
}

.homepage #road .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.homepage #road .tile { min-width: 0; }
.homepage #road .tile h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.16; }
.homepage #road .module-art { min-height: 112px; padding: 10px; }
.homepage #road .module-art img { height: 92px; }
.homepage #road .route-line { white-space: nowrap; font-size: clamp(1rem, 2.1vw, 1.8rem); }

.homepage #perspectives .wrap { display: block; text-align: center; }
.homepage #perspectives .perspectives-art {
  width: min(100%, 620px);
  max-height: 360px;
  object-fit: contain;
  margin: 18px auto;
}
.perspectives-prose {
  width: min(100%, 68ch);
  margin-inline: auto;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.72;
}
.homepage #perspectives .perspectives-prose .lede {
  max-width: none;
  margin: 0 0 1.1em;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
}
.perspectives-prose ul {
  margin-block: 1.25em;
  padding: 1em 1.25em 1em 2.35em;
  border-left: 3px solid var(--water-blue);
  border-radius: 0 8px 8px 0;
  background: #e6eff7;
}
.perspectives-prose li + li { margin-top: .45em; }
.perspectives-copy .actions { justify-content: center; }

@media (max-width: 980px) {
  .homepage #road .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .homepage #road .grid { grid-template-columns: minmax(0, 1fr); }
}

/* Present the axioms as a single chapter index. */
.homepage #axioms { background: #e8f0f7; }
.homepage #axioms .agenda-heading { text-align: left; max-width: 24ch; }
.homepage #axioms .row-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: white;
  border-top: 2px solid var(--deep-blue);
}
.homepage #axioms .row,
.homepage #axioms .row:last-child {
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) 36px;
  align-items: center;
  align-content: center;
  gap: 14px;
  padding: clamp(14px, 2vw, 24px);
  border: 0;
  border-bottom: 1px solid #d3e0ec;
  border-radius: 0;
}
.homepage #axioms .row:nth-child(odd) { border-right: 1px solid #d3e0ec; }
.homepage #axioms .axiom-art { grid-row: auto; align-self: center; }
.homepage #axioms .axiom-art img { border: 0; }
.homepage #axioms .num { display: none; }
.homepage #axioms .row .eyebrow {
  display: block;
  font-size: .67rem;
  margin-bottom: 7px;
}
.homepage #axioms .row .arrow { grid-column: 3; align-self: center; }
.homepage #axioms .row:last-child .eyebrow { color: #b9e4ff; }
.homepage #axioms .row:last-child .axiom-art img { background: white; }
.homepage #axioms .row p { line-height: 1.5; }
.perspectives-prose { width: 100%; }
.homepage #start-reading { padding-bottom: 22px; }
.homepage #briefing { padding-top: clamp(22px, 4vw, 45px); }

@media (max-width: 740px) {
  .homepage #axioms .row-list { grid-template-columns: 1fr; }
  .homepage #axioms .row:nth-child(odd) { border-right: 0; }
  .homepage #axioms .row, .homepage #axioms .row:last-child { gap: 10px; }
}
.roadmap-steps li {
  padding: 5px;
  text-align: center;
  background: white;
  border-radius: 4px;
  color: var(--deep-blue);
  font-size: .82rem;
  font-weight: 700;
}

.agenda-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
.agenda-menu summary::-webkit-details-marker { display: none; }
.agenda-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.agenda-menu[open] summary { color: var(--water-blue); }
.agenda-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.agenda-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(820px, 100%);
  max-height: min(65vh, 520px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(180px, .85fr) minmax(0, 2fr);
  background: white;
  border: 1px solid #d3e3ef;
  border-radius: 16px;
  box-shadow: 0 20px 48px #071e3f40;
}
.agenda-menu-intro { padding: 24px; background: #edf6fc; }
.agenda-menu-intro strong { font-size: 1.25rem; }
.agenda-menu-intro p { margin: 8px 0 14px; font-weight: 400; }
.agenda-menu-intro a { color: var(--water-blue); }
.agenda-menu-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 14px;
}
.agenda-menu-chapters a {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
}
.agenda-menu-chapters a:hover,
.agenda-menu-chapters a:focus-visible { background: #edf6fc; color: var(--deep-blue); }
@media (max-width: 620px) {
  .agenda-panel, .agenda-menu-chapters { grid-template-columns: 1fr; }
  .agenda-menu-intro { padding: 16px; }
}
