.editorial-page {
  --ed-sky: #1ce1ee;
  --ed-deep: #061a35;
  --ed-body: #3a566e;
  background: #f5f9fc;
}
.editorial-page main [id] { scroll-margin-top: 110px; }
.ed-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: clamp(510px, 76svh, 780px);
  background: #071932;
  color: white;
}
.ed-hero > img, .ed-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.ed-hero > img { z-index: -2; object-fit: cover; object-position: var(--ed-focus, 65% 50%); }
.ed-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #04162cf7 2%, #071c35e0 32%, #071d3660 65%, #071c3520 100%),
              linear-gradient(0deg, #061a35b0 0%, transparent 53%);
}
.ed-hero-inner { padding-block: 146px clamp(54px, 8vw, 105px); }
.ed-hero-mission { --ed-focus: 79% 50%; }
.ed-hero-experience { --ed-focus: 65% 54%; }
.ed-hero-learning { --ed-focus: 65% 53%; }
.ed-kicker {
  margin: 0 0 12px;
  color: #146388;
  font: 600 11px/1.55 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ed-hero .ed-kicker, .ed-class-screen .ed-kicker { color: #98e8ff; }
.ed-hero h1, .ed-section h2, .ed-next h2 {
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.ed-hero h1 { font-size: clamp(50px, 6.3vw, 94px); max-width: 1050px; }
.ed-hero h1 em, .ed-next h2 em { color: var(--ed-sky); font-style: normal; }
.ed-hero-lead { margin-top: 21px; max-width: 53ch; color: #edf7ff; font-size: clamp(14px, 1.35vw, 17px); }
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 24px; margin-top: 25px; }
.ed-actions .ed-link, .ed-next .ed-link { color: #b5f3ff; }
.ed-button { min-height: 48px; width: fit-content; }
.ed-link { min-height: 42px; display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: #006592; font-weight: 700; font-size: 13px; }
.ed-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ed-link .icon { width: 17px; height: 17px; flex: none; }
.ed-section { padding-block: clamp(54px, 8.3vw, 108px); }
.ed-section h2, .ed-next h2 { font-size: clamp(32px, 4.25vw, 56px); }
.ed-section h2 em { color: #007bb8; font-style: normal; }
.ed-heading { margin-bottom: clamp(24px, 4.1vw, 48px); max-width: 820px; }
.ed-heading > p:not(.ed-kicker), .ed-feature > div > p:not(.ed-kicker) { margin-top: 16px; color: var(--ed-body); max-width: 64ch; font-size: 15px; }
.ed-tint { background: #e9f4fa; border-block: 1px solid #cbdfea; }
.ed-manifesto, .ed-path { display: grid; }
.ed-manifesto { grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #ccdfe9; }
.ed-manifesto > article { padding: 27px clamp(15px, 3vw, 40px); }
.ed-manifesto > article:first-child { padding-left: 0; }
.ed-manifesto > article + article { border-left: 1px solid #ccdfe9; }
.ed-manifesto article span, .ed-path article span { display: block; font: 600 11px/1.5 var(--mono); color: #146388; margin-bottom: 11px; }
.ed-manifesto h3, .ed-path h3 { font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -.04em; line-height: 1.18; }
.ed-manifesto p, .ed-path p { color: var(--ed-body); font-size: 14px; margin-top: 10px; }
.ed-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 7vw, 96px); }
.ed-split .ed-heading { margin-bottom: 0; }
.ed-path { gap: 14px; }
.ed-path article { padding: 22px 25px; background: #fff; border: 1px solid #c9dfe9; border-radius: 17px; }
.ed-path .ed-link, .ed-feature .ed-link { margin-top: 7px; }
.ed-feature > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; box-shadow: 0 15px 45px #153c6120; background: var(--ed-deep); }
.ed-next { padding-block: clamp(38px, 5.5vw, 76px); background: radial-gradient(ellipse at 89% 0%, #123b63, #071c37 66%); color: white; }
.ed-next-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 23px; }
.ed-next h2 { font-size: clamp(29px, 3.2vw, 47px); }
.ed-next p { margin-top: 12px; max-width: 64ch; color: #d1e9f6; font-size: 14px; }

.ed-deck {
  overflow: hidden;
  background: #fff;
  border: 1px solid #c8e0eb;
  border-radius: 22px;
  box-shadow: 0 21px 48px #123d6317;
}
.ed-deck-controls { padding: 12px 16px; border-bottom: 1px solid #d6e7ef; background: #f0f8fc; align-items: center; justify-content: space-between; gap: 10px; }
.ed-deck-controls:not([hidden]) { display: flex; }
.ed-tabs, .ed-deck-arrows { display: flex; gap: 5px; }
.ed-tabs button, .ed-deck-arrows button {
  min-width: 42px;
  min-height: 42px;
  padding: 6px clamp(10px, 1.55vw, 24px);
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.ed-tabs button:hover, .ed-deck-arrows button:hover { background: #dbeef9; }
.ed-tabs button[aria-selected=true] { background: #0a3351; color: #fff; border-color: #0a3351; }
.ed-deck-arrows button { display: grid; place-items: center; padding: 8px; border-color: #bdd5e4; }
.ed-deck-arrows button .icon { width: 18px; height: 18px; }
.ed-deck-arrows button:first-child .icon { transform: rotate(180deg); }
.ed-slide:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 320px;
}
.ed-slide + .ed-slide { border-top: 1px solid #d6e7ef; }
.ed-deck:focus-within { outline-offset: 3px; }
.ed-slide-copy { align-self: center; padding: clamp(24px, 4vw, 52px); }
.ed-slide-copy h3 { font-size: clamp(24px, 3.05vw, 40px); line-height: 1.15; letter-spacing: -.05em; text-wrap: balance; }
.ed-slide-copy p { color: var(--ed-body); font-size: 14px; margin-top: 12px; max-width: 49ch; }
.ed-slide-copy .ed-link { margin-top: 8px; }
.ed-display, .ed-route-art, .ed-class-screen {
  color: #fff;
  background: radial-gradient(ellipse at 80% 0%, #124865, #081b33 72%);
  padding: clamp(24px, 4vw, 55px);
}
.ed-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.ed-display > div:first-child { flex: 1; }
.ed-display > div > span, .ed-route-art span { color: #ade8fb; font: 12px/1.5 var(--mono); }
.ed-display strong, .ed-route-art strong, .ed-calc output {
  display: block;
  margin-top: 13px;
  font: 600 clamp(29px, 5.5vw, 74px)/1.08 var(--mono);
  color: #64edf6;
  white-space: nowrap;
}
.ed-display strong small { font-size: .39em; color: #e0f5ff; }
.ed-meter { display: grid; min-width: 78px; text-align: center; gap: 8px; padding: 12px; border: 1px solid #668da5; border-radius: 10px; }
.ed-meter b { font: 17px var(--mono); border-block: 1px solid #77e5ef; padding: 5px; }
.ed-route-art {
  display: grid;
  align-content: center;
  gap: 19px;
  background-image: linear-gradient(120deg,#071c35dd,#062a49a8), url("assets/v23/navigation-planning.webp");
  background-position: center;
  background-size: cover;
}
.ed-route-art div {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px dashed #65dfec;
  padding-bottom: 10px;
}
.ed-route-art strong { margin: 0; text-align: center; font-size: clamp(29px, 5vw, 54px); }
.ed-calc { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 19px; font-size: 13px; }
.ed-calc select, .ed-quiz button { min-height: 40px; border-radius: 8px; padding: 6px 11px; border: 1px solid #a9cadc; color: var(--ink); background: #eef7fb; font: inherit; font-weight: 700; }
.ed-calc output { margin: 0; font-size: 18px; color: #096385; }
.ed-quiz fieldset { margin: 10px 0; padding: 0; border: 0; font-size: 13px; }
.ed-quiz legend { color: var(--ed-body); margin-bottom: 7px; }
.ed-quiz label { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding-right: 11px; }
.ed-quiz button { cursor: pointer; background: #0c3454; color: #fff; }
.ed-quiz [role=status]:empty { margin: 0; }
.ed-quiz [data-result=correct] { color: #0f6444; }
.ed-quiz [data-result=review] { color: #78450d; }
.ed-source { color: var(--ed-body); margin-top: 18px; font-size: 12px; }
.ed-source a { text-decoration: underline; text-underline-offset: 3px; }
.ed-class-screen { display: grid; align-content: center; gap: 11px; }
.ed-class-screen strong { font-size: clamp(22px, 3vw, 39px); letter-spacing: -.045em; line-height: 1.2; }
.ed-class-screen > p:last-child { font-size: 13px; color: #d2f3fa; }
.ed-flow-demo { display: grid; gap: 7px; padding-block: 4px; }
.ed-flow-demo span { border-top: 1px solid #71e8f588; border-radius: 40%; height: 3px; }
.ed-flow-demo i { display: block; width: 70%; height: 30px; margin: 0 auto; border-radius: 75% 8% 56% 37%; background: linear-gradient(180deg,#daeffa,#8bc0db); clip-path: polygon(0 43%, 11% 10%,32% 0,56% 18%,81% 40%,100% 66%,65% 76%,32% 91%,15% 95%,3% 75%); }
.ed-demo-options, .ed-demo-results { list-style: none; display: grid; gap: 9px; padding: 0; margin: 3px 0 0; font-size: 12px; }
.ed-demo-options li { border: 1px solid #5a8ba755; border-radius: 7px; padding: 7px 10px; }
.ed-demo-results li { display: grid; grid-template-columns: 115px minmax(60px, 1fr) 20px; align-items: center; gap: 8px; }
.ed-demo-results meter { width: 100%; }
.ed-demo-results meter::-webkit-meter-optimum-value { background: #61e6eb; }
.ed-topic-grid article { transition: box-shadow .25s, border-color .25s; }
.ed-topic-grid article:hover { border-color: #82bfda; box-shadow: 0 13px 32px #1e56731a; }

.editorial-page .edu-hero { min-height: clamp(580px, 80svh, 760px); }
.editorial-page .edu-hero h1 { font-size: clamp(46px, 6vw, 86px); line-height: 1.04; letter-spacing: -.052em; font-weight: 800; }
.ed-footer { padding: 29px 0; color: #d7eafa; background: #06182f; }
.ed-footer .brand strong { color: #fff; }
.ed-footer-links, .ed-footer-meta, .ed-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 26px; }
.ed-footer-links, .ed-footer-meta { justify-content: space-between; }
.ed-footer-meta { margin-top: 22px; padding-top: 14px; border-top: 1px solid #85bade40; }
.ed-footer a, .ed-footer span, .ed-footer button { font-size: 12px; }
.ed-footer button { background: transparent; color: inherit; padding: 5px; }
.ed-footer a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .ed-hero { min-height: 560px; }
  .ed-hero::after { background: linear-gradient(0deg,#061a35f9 8%,#061a35e8 40%,#061a3560 85%,#061a3520); }
  .ed-hero h1 { font-size: clamp(37px, 8.8vw, 60px); }
  .ed-hero-inner { padding-block: 180px 43px; }
  .ed-split, .ed-manifesto, .ed-slide:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
  .ed-manifesto > article, .ed-manifesto > article:first-child { padding: 22px 0; }
  .ed-manifesto > article + article { border-left: 0; border-top: 1px solid #ccdfe9; }
  .ed-deck-controls { padding-inline: 9px; }
  .ed-display, .ed-route-art, .ed-class-screen { min-height: 170px; }
}
@media (max-width: 420px) {
  .ed-tabs { flex: 1; }
  .ed-tabs button { flex: 1; padding-inline: 6px; font-size: 11px; }
  .ed-deck-controls { gap: 5px; }
  .ed-deck-arrows button { min-width: 34px; width: 34px; }
}
@media (prefers-reduced-motion: no-preference) {
  html.enhanced:not(.reduced-motion) .ed-hero h1,
  html.enhanced:not(.reduced-motion) .ed-hero-lead,
  html.enhanced:not(.reduced-motion) .ed-actions { animation: ed-arrive .65s ease-out both; }
  html.enhanced:not(.reduced-motion) .ed-hero-lead { animation-delay: .09s; }
  html.enhanced:not(.reduced-motion) .ed-actions { animation-delay: .16s; }
  html.enhanced:not(.reduced-motion) .ed-deck:has(.ed-deck-controls:not([hidden])) .ed-slide:not([hidden]) { animation: ed-arrive .3s ease-out both; }
}
@keyframes ed-arrive {
  from { opacity: .25; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
