:root {
  color-scheme: light;
  --paper: #f7f6ee;
  --ink: #1a2a43;
  --night: #172941;
  --white: #fffdf7;
  --blue: #245184;
  --mist: #e9eff6;
  --steel: #c3d1e4;
  --muted: #45566b;
  --line: #ccd3d7;
  --measure: #e1ec7d;
  --display: "Space Grotesk", Arial, sans-serif;
  --body: "Onest", Arial, sans-serif;
  --side: clamp(18px, 5.56vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--body); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a:hover, button:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.032em; }
h2 { font-size: clamp(32px, 3.65vw, 52px); line-height: 1.04; }
h3 { font-size: 27px; line-height: 1.18; }
.wrap { width: min(calc(100% - 2 * var(--side)), 1280px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 6px; left: 8px; padding: 9px 14px; transform: translateY(-150%); background: var(--measure); }
.skip:focus { transform: none; }
.mast { background: var(--white); }
.top, .nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top { min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(24px, 2.45vw, 34px)/1.05 var(--display); letter-spacing: -.06em; white-space: nowrap; }
.mark { display: grid; place-content: center; grid-template-columns: repeat(3, 5px); gap: 2px; flex: none; width: 31px; height: 31px; background: var(--blue); border-radius: 3px; }
.mark i { display: block; height: 16px; background: var(--measure); border-radius: 1px; }
.mark i:nth-child(2) { height: 11px; align-self: end; }
.mark i:nth-child(3) { height: 7px; align-self: end; }
.topic-nav, .nav-row nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); }
.topic-nav a, .nav-row nav a, .nav-row nav button { display: flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.25; font-weight: 600; }
.nav-band { border-block: 1px solid var(--line); }
.nav-row { min-height: 51px; }
.nav-row nav .current { box-shadow: inset 0 -3px var(--blue); }
.nav-row button, .hero-copy button, .support button, .article-link, .footer button { border: 0; padding: 0; background: transparent; text-align: left; }
.search, .jump-button {
  display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 44px;
  padding: 0 18px; border: 1px solid var(--blue); border-radius: 3px; color: var(--blue);
  background: transparent; font-size: 14px; line-height: 1.2; font-weight: 700;
}
.compare-link, .inline-link { padding-block: 10px; font-weight: 700; color: var(--blue); }
.opening { padding-block: 42px 56px; }
.title-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
h1 { max-width: 900px; font-size: clamp(48px, 5.65vw, 81px); line-height: 1; font-weight: 700; }
.intro { margin-top: 16px; max-width: 630px; color: var(--muted); font-size: 18px; line-height: 1.48; }
.title-row .jump-button { background: var(--blue); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.61fr) minmax(0, 1fr); gap: clamp(21px, 3.15vw, 46px); }
.hero-story { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 5px; }
.hero-photo { aspect-ratio: 1.94; }
.hero-copy { position: relative; padding: 22px 27px 24px; }
.label { color: var(--blue); font: 700 14px/1.25 var(--body); }
.label.accent { display: inline-block; padding: 5px 9px; background: var(--measure); color: var(--ink); border-radius: 2px; }
.hero-copy h2 { margin-top: 9px; font-size: clamp(29px, 2.9vw, 42px); }
.hero-copy h2 button, .support h2 button { font: inherit; letter-spacing: inherit; line-height: inherit; }
.hero-excerpt, .support-excerpt { margin-top: 11px; max-width: 625px; color: var(--muted); }
.byline { margin-top: 16px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.4; }
.support { display: grid; align-content: start; gap: 24px; }
.support-primary { padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.profile-photo { aspect-ratio: 1.86; border-radius: 5px; }
.support-copy { margin-top: 15px; }
.support h2 { margin-top: 5px; font-size: clamp(24px, 2.45vw, 35px); line-height: 1.04; }
.support-secondary { display: grid; grid-template-columns: minmax(94px, 40%) minmax(0, 1fr); align-items: center; gap: 15px; }
.led-thumb { aspect-ratio: 1.62; border-radius: 4px; }
.support-secondary h2 { font-size: clamp(19px, 1.9vw, 28px); }
.workbench { background: var(--night); color: var(--white); }
.workbench :focus-visible, .footer :focus-visible { outline-color: var(--measure); }
.work-grid { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 1.5fr); align-items: start; gap: clamp(24px, 5vw, 78px); padding-block: 40px 44px; }
.on-dark { color: var(--measure); }
.work-grid h2 { margin-top: 12px; max-width: 430px; }
.work-excerpt { margin-top: 13px; max-width: 340px; color: var(--steel); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.scenario {
  display: flex; align-items: center; justify-content: center; min-height: 43px; padding: 8px 15px;
  background: transparent; border: 1px solid var(--steel); border-radius: 3px; color: var(--white); font-size: 14px; font-weight: 600;
}
.scenario[aria-selected="true"] { border-color: var(--measure); background: var(--measure); color: var(--night); }
.outcome { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--steel); }
.outcome p { margin-top: 8px; max-width: 610px; color: var(--steel); }
.inverse { margin-top: 16px; border-color: var(--steel); color: var(--white); }
.topics { padding-block: 54px 62px; }
.topic-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.topic-card {
  display: flex; flex-direction: column; gap: 4px; min-height: 104px; padding: 16px 13px 12px;
  background: var(--white); border-top: 3px solid var(--blue); border-bottom: 1px solid var(--line);
}
.topic-name { font: 700 24px/1.14 var(--display); letter-spacing: -.028em; }
.topic-detail, .reading-detail { color: var(--muted); font-size: 13px; line-height: 1.45; }
.comparison { background: var(--mist); }
.compare-grid { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.45fr); align-items: start; gap: clamp(24px, 5vw, 74px); padding-block: 48px 59px; }
.compare-grid h2 { margin-top: 10px; }
.compare-copy { margin-top: 10px; max-width: 360px; color: var(--muted); }
.inline-link { display: inline-flex; margin-top: 9px; min-height: 44px; }
.table { border-top: 2px solid var(--blue); }
.compare-row { display: grid; grid-template-columns: .65fr 1fr 1fr; gap: 12px; align-items: start; padding-block: 12px; border-bottom: 1px solid var(--steel); }
.table-head { padding-top: 14px; font-size: 17px; font-weight: 700; }
.criteria { font-size: 14px; font-weight: 700; }
.cell { font-size: 14px; line-height: 1.45; }
.library { padding-block: 54px 65px; }
.library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 42px; margin-top: 23px; }
.reading { padding-top: 17px; border-top: 2px solid var(--line); }
.reading h3 { color: var(--blue); font-size: 32px; }
.reading-detail { margin-top: 3px; }
.reading ul { list-style: none; margin: 12px 0 0; padding: 0; }
.reading li { border-bottom: 1px solid var(--line); }
.reading .article-link { width: 100%; min-height: 44px; padding: 8px 2px 8px 0; font-size: 15px; line-height: 1.35; font-weight: 600; }
.reading-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: 40px; }
.reading-photo { aspect-ratio: 2.25; border-radius: 4px; object-position: 50% 50%; }
.footer { padding-block: 34px 43px; background: var(--night); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 30px; }
.footer nav { display: grid; align-content: start; grid-template-columns: 1fr 1fr; gap: 3px 11px; }
.footer nav:last-child { grid-template-columns: 1fr; }
.footer nav a, .footer nav button { display: flex; align-items: center; min-height: 36px; font-size: 14px; color: var(--white); font-weight: 600; }
.footer-note { margin-top: 13px; color: var(--steel); font-size: 14px; }
dialog { width: min(560px, calc(100% - 28px)); max-height: 85vh; padding: 22px; border: 1px solid var(--blue); border-radius: 6px; background: var(--white); }
dialog::backdrop { background: #172941aa; }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.panel-head h2 { font-size: 32px; }
.panel-head button, .panel-action { border: 1px solid var(--blue); border-radius: 3px; background: var(--white); padding: 6px 9px; min-height: 42px; }
#panel-body { display: grid; gap: 13px; }
#panel-body input { width: 100%; padding: 9px; border: 1px solid var(--blue); border-radius: 3px; }
.panel-list { padding: 0; margin: 0; list-style: none; }
.panel-list button { padding: 9px 0; width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.panel-source { color: var(--blue); text-decoration: underline; }
@media(max-width: 930px) {
  .topic-nav { display: none; }
  .top { min-height: 65px; }
  .nav-row { min-height: 46px; }
}
@media(max-width: 680px) {
  .top, .nav-row { gap: 8px; }
  .top { min-height: 59px; }
  .brand { gap: 6px; }
  .mark { width: 24px; height: 24px; grid-template-columns: repeat(3, 4px); gap: 2px; }
  .mark i { height: 13px; }
  .mark i:nth-child(2) { height: 9px; }
  .mark i:nth-child(3) { height: 5px; }
  .search { min-height: 44px; padding-inline: 10px; font-size: 13px; }
  .compare-link, .title-row .jump-button { display: none; }
  .nav-row nav { width: 100%; justify-content: space-between; gap: 6px; }
  .nav-row nav a, .nav-row nav button { font-size: 13px; }
  .opening { padding-block: 26px 37px; }
  h1 { font-size: clamp(42px, 10.4vw, 52px); }
  .intro { margin-top: 11px; font-size: 16px; line-height: 1.42; }
  .title-row { margin-bottom: 21px; }
  .hero-grid { display: block; }
  .hero-photo { aspect-ratio: 1.55; }
  .hero-copy { padding: 16px 15px 17px; }
  .hero-copy h2 { font-size: 30px; }
  .hero-excerpt { margin-top: 8px; font-size: 15px; line-height: 1.42; }
  .byline { margin-top: 11px; }
  .support { margin-top: 18px; gap: 11px; }
  .support-primary, .support-secondary { display: grid; grid-template-columns: minmax(91px, 37%) minmax(0, 1fr); gap: 12px; padding: 0 0 11px; align-items: center; }
  .support-copy { margin-top: 0; }
  .support h2 { font-size: 23px; }
  .profile-photo, .led-thumb { aspect-ratio: 1.45; }
  .support-excerpt { display: none; }
  .work-grid, .compare-grid { grid-template-columns: 1fr; gap: 23px; padding-block: 32px 37px; }
  .work-grid h2, .compare-grid h2 { margin-top: 8px; }
  .work-excerpt { margin-top: 8px; }
  .options { gap: 7px; }
  .scenario { padding-inline: 10px; }
  .outcome { margin-top: 14px; }
  .outcome h3 { font-size: 24px; }
  .topics, .library { padding-block: 36px 42px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
  .topic-card { min-height: 77px; padding: 9px 8px; }
  .topic-name { font-size: 20px; }
  .compare-row { gap: 8px; grid-template-columns: .7fr 1fr 1fr; }
  .criteria, .cell { font-size: 13px; }
  .library-grid, .reading-wide { display: grid; grid-template-columns: 1fr; gap: 19px; }
  .library-grid { margin-top: 14px; }
  .reading { padding-top: 12px; }
  .reading h3 { font-size: 28px; }
  .reading-photo { aspect-ratio: 1.75; }
  .footer { padding-block: 27px 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .footer nav { grid-template-columns: 1fr; }
}
@media(max-width: 359px) {
  .brand { font-size: 22px; }
  .search { padding-inline: 8px; }
  .nav-row nav { gap: 3px; }
  .hero-copy h2 { font-size: 27px; }
}
