/* BENEFITS' editorial ledger, translated to a quiet white history surface. */
body[data-site-page=about] #history { scroll-margin-top: var(--site-header-height,76px); padding-top: 64px; }
.history-years { display:flex; flex-wrap:wrap; gap:8px 24px; margin:0 0 32px; }
.history-years a { display:inline-flex; align-items:center; min-height:44px; padding:0 4px; color:var(--asap-ink); font-size:15px; text-decoration:underline; text-decoration-color:rgba(5,5,5,.34); text-underline-offset:5px; }
.history-years a:hover { color:var(--asap-ink); text-decoration-color:var(--asap-signal); }
.history-years a:focus-visible { outline:2px solid var(--asap-signal); outline-offset:4px; }
.about-history__year[id] { scroll-margin-top:calc(var(--site-header-height,76px) + 24px); }
body[data-site-page=about] #history.about-history,
body[data-site-page=history] { background: var(--ui-light); color: var(--asap-ink); }
body[data-site-page] :is(.about-history__year,.history-year) {
  position: relative;
  display: grid;
  grid-template-columns: 37% minmax(0,1fr);
  gap: 0;
  padding: 36px 0;
  border-top: 1px solid #dce4eb;
  border-bottom: 0;
}
body[data-site-page] :is(.about-history__year,.history-year)::before {
  content: ''; position: absolute; left: 37%; top: 0; bottom: 0;
  width: 1px; background: #dce4eb;
}
body[data-site-page] :is(.about-history__year,.history-year)::after {
  content: ''; position: absolute; left: 37%; top: 53px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--asap-signal); border: 4px solid var(--ui-light); transform: translateX(-50%);
  box-sizing: content-box;
  transition:box-shadow 380ms ease-in-out,background-color 380ms ease-in-out;
}
body[data-site-page] :is(.about-history__year h3,.history-year h2) {
  margin: 0; padding-right: 24px; color: var(--asap-ink);
  font-size: clamp(28px,2.45vw,36px); line-height: 1.3;
  position:relative;align-self:start;
  transition:transform 380ms ease-in-out,color 380ms ease-in-out;
}
body[data-site-page] :is(.about-history__year h3,.history-year h2)::after {
  content:'';position:absolute;left:0;right:30px;bottom:-14px;height:1px;
  background:var(--asap-tonal-gradient);
  transform:scaleX(0);transform-origin:left;
  transition:transform 380ms ease-in-out;
}
body[data-site-page] :is(.about-history__year,.history-year):target :is(h2,h3) {color:var(--asap-ink);}
body[data-site-page] :is(.about-history__year,.history-year):target :is(h2,h3)::after {transform:scaleX(1);}
@media(hover:hover) and (pointer:fine) {
  body[data-site-page] :is(.about-history__year,.history-year):hover :is(h2,h3) {transform:translateX(6px);color:var(--asap-ink);}
  body[data-site-page] :is(.about-history__year,.history-year):hover :is(h2,h3)::after {transform:scaleX(1);}
  body[data-site-page] :is(.about-history__year,.history-year):hover::after {box-shadow:0 0 0 5px rgba(134,220,255,.1),0 0 18px rgba(134,220,255,.42);}
}
@media(prefers-reduced-motion:reduce) {
  body[data-site-page] :is(.about-history__year,.history-year) :is(h2,h3),
  body[data-site-page] :is(.about-history__year,.history-year) :is(h2,h3)::after,
  body[data-site-page] :is(.about-history__year,.history-year)::after {transition:none;}
  body[data-site-page] :is(.about-history__year,.history-year):hover :is(h2,h3) {transform:none;}
}
body[data-site-page] :is(.about-history__year,.history-year) ul {
  display: block; padding: 0 0 0 40px; margin: 0; list-style: none;
}
body[data-site-page] :is(.about-history__year,.history-year) li {
  display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 16px;
  padding: 14px 0; border-bottom: 1px solid #e6ebf0;
  font-size: 16px; line-height: 1.7; color: var(--asap-ink);
}
body[data-site-page] :is(.about-history__year,.history-year) li:last-child { border-bottom: 0; }
body[data-site-page] :is(.about-history__year,.history-year) time { color: var(--asap-muted); }
@media(max-width:650px) {
  body[data-site-page] :is(.about-history__year,.history-year) { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  body[data-site-page] :is(.about-history__year,.history-year)::before,
  body[data-site-page] :is(.about-history__year,.history-year)::after { display: none; }
  body[data-site-page] :is(.about-history__year,.history-year) ul { padding-left: 0; }
  body[data-site-page] :is(.about-history__year,.history-year) li { font-size: 15px; gap: 12px; }
}
