/* Abacus Behavioral — all colors come from tokens.css custom properties. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink-900);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-6);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--step-4);
  line-height: 1.15;
  font-weight: 600;
}

h3 {
  font-size: var(--step-2);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

strong {
  font-weight: 600;
  color: var(--ink-900);
}

p {
  margin: 0 0 var(--space-3);
  max-width: var(--measure);
  text-wrap: pretty;
}

ul,
ol,
dl {
  margin: 0 0 var(--space-3);
}

a {
  color: var(--teal-700);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--teal-700) 40%, transparent);
  transition: color 0.16s var(--ease-out), text-decoration-color 0.16s var(--ease-out);
}

a:hover {
  color: var(--teal-800);
  text-decoration-color: currentColor;
}

img {
  max-width: 100%;
  height: auto;
}

/* Two-tone ring so focus stays visible on white, teal, and near-black
   surfaces alike — the apricot alone is too light on light backgrounds. */
:focus-visible {
  outline: 2px solid var(--ink-900);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--apricot-300);
  border-radius: 3px;
}

.site-footer :focus-visible,
.cta-band :focus-visible,
.contact-details :focus-visible,
.viz :focus-visible,
.hero__panel :focus-visible,
.section--abacus :focus-visible,
.site-header__utility :focus-visible {
  outline-color: var(--apricot-300);
  box-shadow: 0 0 0 5px rgba(6, 40, 46, 0.7);
}

.container {
  width: min(100% - 2 * var(--page-gutter), var(--container));
  margin-inline: auto;
}

.prose > * {
  max-width: var(--container-narrow);
}

.prose > h1,
.prose > h2 {
  max-width: 24ch;
}

.prose > p > a,
.prose > ul a,
.prose > ol a {
  font-weight: 600;
  text-decoration: underline;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--teal-700);
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--apricot-500);
  box-shadow: 0 0 0 1px var(--apricot-600);
}

.section {
  padding-block: var(--section-y);
}

@media (min-width: 960px) {
  .section {
    padding-block: var(--section-y-lg);
  }
}

/* Alternating bands. Hairlines rather than a colour jump do most of the
   separating, so stacked sections read as one continuous document. */
.section--mist {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.section--sand {
  background: var(--sand);
  border-block: 1px solid color-mix(in srgb, var(--apricot-600) 18%, transparent);
}

.section--tight {
  padding-block: var(--space-6);
}

@media (min-width: 960px) {
  .section--tight {
    padding-block: var(--space-7);
  }
}

/* Page header. Every inner route opens the same way the homepage hero does:
   the sand horizon artwork, a kicker, a large title, one lead sentence, an
   optional quieter note, then a primary button beside a text link.

   .hero and .page-head share --band-height exactly, at every width, so the
   page below always starts in the same place. Copy is centred inside the band.

   The artwork is inlined (see partials/horizon-art.ejs) so each page can frame
   the same abacus scene from a different angle. ::after lays a sand wash over
   the left side so the copy always sits on a calm surface. */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: var(--band-height);
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 3.2vw, 3rem);
}

@media (min-width: 720px) {
  :root { --band-height: 50rem; }
}

@media (min-width: 900px) {
  :root { --band-height: 38.5rem; }
}

/* Horizon artwork, inlined by partials/horizon-art.ejs. Each page picks its own
   camera angle on the same abacus scene (see the partial for the mapping).
   The SVGs carry preserveAspectRatio="xMidYMid slice", so they behave like
   background-size: cover, and their beads drift along the rails via CSS
   animations that only run because the SVG is inline. */
.horizon-art,
.page-head::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.horizon-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-head[data-view="quiet"] .horizon-art {
  opacity: 0.5;
}

/* Bead drift. Each bead group rotates a few degrees around its scene's rail
   centre, so it slides along the rail. Slow, alternating, staggered. The
   custom properties let a scene tune amplitude and pace. */
@keyframes horizon-drift-a { to { transform: rotate(var(--drift-a, 5deg)); } }
@keyframes horizon-drift-b { to { transform: rotate(var(--drift-b, -4deg)); } }

.horizon-art .drift {
  animation: horizon-drift-a calc(80s * var(--drift-pace, 1)) ease-in-out infinite alternate;
}

.horizon-art .drift--b {
  animation-name: horizon-drift-b;
  animation-duration: calc(100s * var(--drift-pace, 1));
  animation-delay: -35s;
}

.horizon-art .drift--c {
  animation-duration: calc(65s * var(--drift-pace, 1));
  animation-delay: -15s;
}

/* Rail centres, in each scene's 1600x900 viewBox units. */
.horizon-art--hero-abstract .drift    { transform-origin: 1500px 1050px; --drift-pace: 1.35; }
.horizon-art--horizon-rise .drift     { transform-origin: 1000px 1050px; }
.horizon-art--horizon-close .drift    { transform-origin: 1750px 1150px; --drift-a: 4deg; --drift-b: -3deg; --drift-pace: 1.15; }
.horizon-art--horizon-overhead .drift { transform-origin: 1150px -250px; }
.horizon-art--horizon-cascade .drift  { transform-origin: 1550px -120px; }
.horizon-art--horizon-low .drift      { transform-origin: 2000px 1700px; --drift-a: 3deg; --drift-b: -2.5deg; --drift-pace: 1.2; }
.horizon-art--horizon-sweep .drift    { transform-origin: 1800px 420px; }
.horizon-art--horizon-dawn .drift     { transform-origin: 1450px 1200px; --drift-pace: 1.1; }
.horizon-art--horizon-ascent .drift   { transform-origin: 300px 1250px; --drift-a: 3deg; --drift-b: -2.5deg; --drift-pace: 1.2; }

@media (prefers-reduced-motion: reduce) {
  .horizon-art .drift { animation: none; }
}

/* Sand wash so the copy always sits on a calm surface. */
.page-head::after {
  content: '';
  background: linear-gradient(90deg, var(--sand) 0%, var(--sand) 38%, rgba(251, 244, 234, 0) 70%);
}

@media (max-width: 959.98px) {
  /* Copy spans the full width on small screens, so wash more of the art. */
  .page-head::after {
    background: linear-gradient(90deg, var(--sand) 0%, rgba(251, 244, 234, 0.85) 55%, rgba(251, 244, 234, 0.35) 100%);
  }
}

.page-head__inner {
  display: grid;
  gap: 1.25rem;
  width: min(100% - 2 * var(--page-gutter), var(--container));
}

.page-head__title .eyebrow {
  margin-bottom: 0.9rem;
}

.page-head h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2.25rem, 1.4rem + 2.3vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}

.page-head__body {
  display: grid;
  gap: 0.85rem;
}

.page-head__lead {
  margin: 0;
  color: var(--ink-700);
  font-size: var(--step-2);
  line-height: 1.6;
  max-width: 52ch;
}

.page-head__note,
.page-head__lead + .page-head__lead {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-500);
  max-width: 58ch;
}

.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

/* Text link that pairs with the primary button, shared with the hero. */
.page-head__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}

.page-head__secondary:hover {
  color: var(--teal-700);
}

@media (min-width: 960px) {
  .page-head__inner {
    gap: 1.5rem;
  }
}

/* Editorial split: a section label column beside its content. Used wherever
   a heading would otherwise sit alone above a narrow column of text. */
.split {
  display: grid;
  gap: var(--space-4);
}

.split__label h2,
.split__label h3 {
  margin-bottom: var(--space-3);
  max-width: 18ch;
}

.split__label > :last-child {
  margin-bottom: 0;
}

.split__body > :last-child {
  margin-bottom: 0;
}

.split__body p {
  max-width: 60ch;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: var(--space-7);
    align-items: start;
  }

}

/* Trust strip: short, verifiable claims on one line under the hero. */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: 1.5rem;
}

.trust-bar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  padding: 1.1rem 1.25rem 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

/* Icon and title sit on one line; the description runs the full card width below. */
.trust-bar__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.trust-bar__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 11px;
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(0, 134, 149, 0.6);
}

.trust-bar__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.trust-bar__title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-900);
}

.trust-bar__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-700);
}

@media (min-width: 640px) {
  .trust-bar__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1080px) {
  .trust-bar {
    padding-block: 1.75rem;
  }

  .trust-bar__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* Callout: a bordered aside for closing notes and caveats. */
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: var(--space-4) var(--space-5);
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout__heading {
  display: block;
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: var(--space-2);
}

/* Source note: publication provenance, styled so it reads as a citation. */
.source-note {
  display: grid;
  gap: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--ink-700);
}

.source-note p {
  margin: 0;
  max-width: 72ch;
}

.source-note > div {
  display: grid;
  gap: 0.15rem;
}

.source-note > div + div {
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.source-note dt {
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ink-500);
}

.source-note dd {
  margin: 0;
  color: var(--ink-800);
}

/* Anchor nav for long single-page indexes. Scrolls sideways on small screens
   rather than stacking into a wall of links. */
.jump-nav {
  position: sticky;
  top: var(--header-primary);
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.jump-nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 52px;
}

.jump-nav__label {
  flex: none;
  display: none;
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ink-500);
}

.jump-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.jump-nav__list::-webkit-scrollbar {
  display: none;
}

.jump-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  scroll-snap-align: start;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  transition: background 0.16s var(--ease-out), border-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.jump-nav__list a:hover {
  background: var(--teal-100);
  border-color: var(--teal-500);
  color: var(--teal-800);
}

@media (min-width: 860px) {
  .jump-nav__label {
    display: inline;
  }
}

@media (max-width: 1079.98px) {
  .jump-nav {
    position: static;
  }
}

.section__head {
  margin-bottom: var(--space-6);
  max-width: 40rem;
}

.section__head h2 {
  max-width: 26ch;
}

.section__head h2,
.section__head .section__lead {
  margin-bottom: 0;
}

.section__head h2 + .section__lead {
  margin-top: var(--space-3);
}

.section__head--split,
.section__head--row {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.section__head--split > div h2,
.section__head--row > div h2 {
  margin-bottom: 0;
}

@media (min-width: 860px) {
  .section__head--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-7);
  }

  .section__head--split > div {
    flex: 0 1 auto;
  }

  /* Sits the lead's last line on the heading's baseline. */
  .section__head--split .section__lead {
    flex: 0 1 44ch;
    max-width: 44ch;
    padding-bottom: 0.3rem;
  }

  .section__head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-5);
  }

  .section__head--row .button {
    margin-bottom: 0.2rem;
  }
}

.section__lead {
  color: var(--ink-700);
  font-size: var(--step-1);
  line-height: 1.55;
  max-width: var(--measure-lead);
}

/* Short factual note opposite a section heading, e.g. "1 of 5 planned centers". */
.section__aside {
  margin: 0;
  padding-bottom: 0.3rem;
  color: var(--ink-500);
  font-size: var(--step--1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.section__more {
  margin: var(--space-4) 0 0;
}

/* A band that follows the page header shouldn't repeat its hairline. */
.page-head + .section--mist,
.page-head + .section--sand,
.trust-bar + .section--mist {
  border-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.js-only {
  display: none;
}

html.js .js-only {
  display: block;
}

html.js .hide-if-js {
  display: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-3);
  z-index: 100;
  background: var(--ink-900);
  color: var(--surface);
  padding: var(--space-2) var(--space-3);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.skip-link:focus {
  top: 0;
  color: var(--surface);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s var(--ease-out), color 0.16s var(--ease-out), border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), transform 0.16s var(--ease-out);
}

.button:active {
  transform: translateY(1px);
}

.button--lg {
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  border-radius: 8px;
}

.button--primary {
  background: var(--color-primary);
  color: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, var(--shadow-xs);
}

.button--primary:hover {
  background: var(--color-primary-hover);
  color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.button--secondary,
.button--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--teal-700);
}

.button--secondary:hover,
.button--ghost:hover {
  background: var(--teal-100);
  color: var(--teal-800);
  border-color: var(--teal-500);
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.lockup__icon {
  flex: none;
  display: block;
}

/* Both words share one measure; flexible spaces align their outer letters.
   A single scale keeps the header and footer consistent as fonts load. */
.lockup__text {
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  width: 6em;
  font-family: var(--font-lockup);
  font-size: 1.1rem;
  line-height: 1;
}

.lockup__name,
.lockup__descriptor {
  display: flex;
  justify-content: space-between;
  width: 100%;
  letter-spacing: 0;
  color: var(--logo-light);
}

.lockup__name { font-weight: 700; }
.lockup__descriptor { font-size: .625em; font-weight: 600; }
.lockup__aba { color: var(--logo-dark); }

.lockup--inline .lockup__icon {
  width: 34px;
  height: 34px;
}

@media (min-width: 480px) {
  .lockup--inline .lockup__icon {
    width: 40px;
    height: 40px;
  }
}

.lockup--stacked {
  align-items: center;
  gap: 0.9rem;
}

.lockup--stacked .lockup__icon {
  width: 40px;
  height: 40px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__utility {
  background: var(--teal-900);
  color: var(--teal-200);
}

.site-header__utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-utility);
}

.site-header__utility-text {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--teal-300);
}

.site-header__utility-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  line-height: 1;
}

.site-header__hours {
  display: none;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--teal-300);
}

@media (min-width: 860px) {
  .site-header__hours {
    display: inline;
  }
}

.site-header__phone {
  color: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.site-header__phone:hover {
  color: var(--apricot-300);
}

.site-header__primary {
  background: var(--surface);
  border-bottom: 1px solid var(--color-border);
}

.site-header--compact .site-header__primary {
  box-shadow: var(--shadow-xs);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-primary);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  min-width: 40px;
  padding: 0.4rem 0.75rem;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-toggle__bars {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--ink-900);
  box-shadow: 0 -5px 0 var(--ink-900), 0 5px 0 var(--ink-900);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.15rem;
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.9375rem;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  height: 2px;
  border-radius: 1px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s var(--ease-out);
}

.site-nav__link:hover {
  color: var(--ink-900);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current='page'] {
  color: var(--ink-900);
}

.site-nav__link[aria-current='page']::after {
  background: var(--apricot-500);
  transform: scaleX(1);
}

.site-nav__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding-top: var(--space-3);
}

.site-nav__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1079.98px) {
  .site-nav {
    display: none;
    flex-basis: 100%;
    padding: 0;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav--open {
    display: block;
    border-top: 1px solid var(--color-border);
    padding: var(--space-3) 0 var(--space-4);
  }

  .site-nav__link {
    width: 100%;
    padding-block: 0.55rem;
  }

  .site-nav__actions {
    width: 100%;
  }

  .site-nav__cta {
    width: 100%;
  }
}

@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }

  .site-header__inner {
    flex-wrap: nowrap;
    gap: var(--space-6);
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    margin-left: auto;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem 0.15rem;
  }

  .site-nav__link {
    padding: 0.25rem 0.7rem;
    min-height: 40px;
  }

  .site-nav__link::after {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.35rem;
  }

  .site-nav__actions {
    flex-direction: row;
    align-items: center;
    padding-top: 0;
  }

  .site-nav__cta {
    min-height: 40px;
    padding: 0.5rem 1.05rem;
    white-space: nowrap;
  }
}

.bead-field {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.bead-field .bead,
.counting-abacus__bead,
.abacus-backdrop__bead {
  transform-box: fill-box;
  transform-origin: center;
}

html.js .bead-field[data-bead-animate]:not(.bead-field--go) .bead {
  opacity: 0;
  transform: scale(0.35);
}

.bead-field--go .bead {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 18ms);
}

.bead-field--go .bead--highlight {
  transition-delay: calc(var(--i, 0) * 18ms + 0.28s);
}

.bead-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-500);
}

.bead-legend--dark {
  color: var(--viz-muted);
}

.bead-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bead-legend__swatch {
  width: 10px;
  height: 10px;
  border-radius: 2.5px;
  background: var(--viz-cell);
}

.bead-legend--dark .bead-legend__swatch {
  background: var(--viz-cell);
}

.bead-legend__swatch--hi,
.bead-legend--dark .bead-legend__swatch--hi {
  background: var(--viz-cell-hi);
}

/* Shared graph shell. Pair tiles, charts, and session counts all sit in this
   dark plate so a graph reads as one object in the page, not a one-off card. */
.viz {
  display: grid;
  gap: var(--space-4);
  margin-block: 0;
  padding: var(--space-4);
  background: var(--viz-bg);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  color: var(--viz-muted);
  min-width: 0;
}

.viz--inset {
  padding: 0;
  background: transparent;
  border: 0;
}

.viz--pair {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.viz--band {
  align-items: center;
}

.viz__copy {
  min-width: 0;
}

.viz__copy .eyebrow {
  color: var(--viz-muted);
}

.viz__copy h2 {
  margin-bottom: var(--space-3);
  color: var(--surface);
}

.viz--band > .viz__copy .viz__lead {
  color: var(--viz-muted);
  margin-bottom: 0;
}

.viz__copy .button--ghost {
  background: transparent;
  border-color: var(--teal-300);
  color: var(--surface);
}

.viz__copy .button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--surface);
  color: var(--surface);
}

.viz__copy .section__more {
  margin-top: var(--space-4);
}

.viz__read {
  margin: var(--space-4) 0 0;
  color: var(--surface);
  font-size: var(--step-1);
  max-width: 36ch;
}

.viz__read strong {
  color: var(--apricot-300);
  font-weight: 600;
}

.viz__tile {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: var(--space-4);
  background: var(--viz-tile);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  min-width: 0;
}

.viz__tile--now {
  border-color: color-mix(in srgb, var(--apricot-500) 40%, transparent);
  background: rgba(242, 166, 90, 0.06);
}

.viz__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
}

.viz__kicker {
  display: block;
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--viz-muted);
}

.viz__tile--now .viz__kicker {
  color: var(--apricot-300);
}

.viz__rate {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--surface);
  letter-spacing: -0.02em;
}

.viz__n {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2.1rem + 2vw, 4rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--surface);
}

.viz__tile--now .viz__n,
.viz__n--hi,
.viz--chart > .viz__head .viz__n {
  color: var(--apricot-300);
}

.viz__tile .bead-field {
  width: 100%;
  max-width: 18.5rem;
  margin-inline: auto;
  margin-top: auto;
}

.viz__note {
  margin: 0;
  font-size: var(--step--1);
  color: var(--viz-muted);
  max-width: none;
}

.viz__note strong {
  color: var(--apricot-300);
  font-weight: 600;
}

.viz .bead-legend {
  margin: 0;
}

.viz__metrics {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-dark);
}

.viz__metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.viz__metric dt,
.viz__metric .stat__label {
  order: 2;
  margin: 0;
  color: var(--viz-muted);
  font-size: var(--step--1);
  font-weight: 500;
}

.viz__metric dd,
.viz__metric .stat__value {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--surface);
}

@media (min-width: 720px) {
  .viz {
    padding: var(--space-5);
    gap: var(--space-4);
  }

  .viz--pair {
    grid-template-columns: 1fr 1fr;
  }

  .viz--pair > .bead-legend,
  .viz--pair > .viz__note,
  .viz--pair > .viz__metrics {
    grid-column: 1 / -1;
  }

  .viz__metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4) var(--space-5);
  }

  .viz--inset {
    padding: 0;
  }
}

@media (min-width: 960px) {
  .viz--band {
    grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.2fr);
    gap: var(--space-6) var(--space-7);
    padding: var(--space-6) var(--space-7);
    align-items: center;
  }

  .viz--band > .viz__copy {
    padding-block: var(--space-2);
  }

  .viz--band > .viz--pair,
  .viz--band > .viz__tile {
    min-width: 0;
  }

  .viz--band > .viz__metrics {
    grid-column: 1 / -1;
  }
}

/* Family-first introduction. Same exact band as .page-head. The puzzle video
   fills the leftover height of that band so the piece stays whole — the
   caption sits under it and never covers a knob or socket. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  height: var(--band-height);
  background: var(--sand);
  padding-block: clamp(2rem, 3.2vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  height: 100%;
  min-height: 0;
}
.hero__copy { min-width: 0; }
.hero__title { font-size: clamp(2.35rem, 1.35rem + 2.4vw, 3.65rem); line-height: 1.08; font-weight: 500; letter-spacing: -0.04em; margin: 0; max-width: none; }
.hero__title span { color: var(--teal-700); }
.hero__subhead { margin: 1rem 0 0; max-width: 42ch; font-size: var(--step-2); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.35rem; }
.hero__secondary { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; font-weight: 600; text-decoration: underline; }
.hero__reassurance { margin: .75rem 0 0; max-width: none; color: var(--ink-500); font-size: var(--step--1); }
.hero__figure {
  margin: 0;
  min-width: 0;
  min-height: 0;
  width: min(100%, 22rem);
  height: 100%;
  justify-self: center;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.hero__port {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  container-type: size;
  filter:
    drop-shadow(0.7px 0 0 rgba(15, 38, 43, 0.22))
    drop-shadow(-0.7px 0 0 rgba(15, 38, 43, 0.22))
    drop-shadow(0 0.7px 0 rgba(15, 38, 43, 0.22))
    drop-shadow(0 -0.7px 0 rgba(15, 38, 43, 0.22))
    drop-shadow(0 10px 22px rgba(15, 38, 43, 0.1));
}
.hero__media {
  position: relative;
  aspect-ratio: 1;
  width: min(100cqw, 100cqh);
  height: min(100cqw, 100cqh);
  max-width: 100%;
  overflow: hidden;
  background: var(--teal-100);
  -webkit-mask-image: url("/assets/puzzle-port.svg?v=10");
  mask-image: url("/assets/puzzle-port.svg?v=10");
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 28% center; }
.hero__caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: none;
  width: min(100% - 1.5rem, 20.5rem);
  margin: -.85rem 0 0;
  padding: 1.15rem .75rem .6rem;
  border: 1px solid rgba(213, 230, 234, 0.65);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(15, 38, 43, 0.04), 0 8px 16px rgba(15, 38, 43, 0.05);
  color: var(--ink-700);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.hero__caption strong { display: block; font-size: 0.9375rem; margin-bottom: .05rem; }
.hero__caption-mark { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(228, 242, 245, 0.9); }
.hero__caption-mark img { display: block; width: 20px; height: 20px; }
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    grid-template-rows: minmax(0, 1fr);
    column-gap: clamp(3rem, 5vw, 5.5rem);
    align-items: center;
  }
  .hero__copy {
    justify-self: stretch;
    align-self: center;
    width: 100%;
  }
  .hero__figure {
    justify-self: end;
    align-self: center;
    width: min(100%, 26rem);
    height: auto;
    justify-content: center;
  }
  .hero__port {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    container-type: normal;
  }
  .hero__media {
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 899.98px) {
  .hero__title { max-width: 16ch; }
  .hero__subhead { margin-top: .75rem; }
  .hero__actions { margin-top: 1rem; }
  .hero__grid {
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
  }
  .hero__figure {
    width: min(100%, 16.5rem);
    height: auto;
  }
  .hero__port {
    container-type: normal;
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .hero__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}
@media (max-width: 559.98px) {
  .hero__actions, .page-head__actions, .cta-band__actions { display: grid; gap: .75rem; width: 100%; }
  .hero__actions .button, .page-head__actions .button, .cta-band__actions .button { width: 100%; }
  .hero__secondary, .page-head__secondary { justify-content: center; }
  .hero__title { font-size: clamp(2.05rem, 8vw, 2.6rem); }
  .hero__caption { width: min(100% - 1rem, 18.5rem); padding: 1rem .65rem .55rem; gap: .5rem; }
  .hero__caption-mark { width: 30px; height: 30px; }
}

/* Services: an editorial index. The intro and the "not sure?" invitation sit
   in a sticky left column; the seven services read as numbered rows on the
   right, each a single large link to its section on /services. */
.services-home__grid {
  display: grid;
  gap: var(--space-6);
}

.services-home__intro h2 {
  margin-bottom: 1rem;
}

.services-home__intro .section__lead {
  margin: 0;
}

.services-home__note {
  margin: 1.25rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--apricot-500);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-700);
  max-width: 34ch;
}

.services-home__cta {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding: 1.75rem 1.75rem 1.85rem;
  border-radius: var(--radius-card);
  background: var(--teal-800);
  background-image:
    radial-gradient(circle at 88% 10%, rgba(242, 166, 90, 0.38), transparent 40%),
    radial-gradient(circle at 8% 100%, rgba(143, 206, 215, 0.22), transparent 55%);
  color: var(--teal-100);
}

.services-home__cta-eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--apricot-300);
}

.services-home__cta-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.services-home__cta-body {
  margin: 0 0 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--teal-200);
  max-width: 36ch;
}

.services-home__cta-button {
  background: #fff;
  color: var(--teal-800);
  border-color: #fff;
}

.services-home__cta-button:hover {
  background: var(--apricot-300);
  border-color: var(--apricot-300);
  color: var(--ink-900);
}

.service-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.service-row {
  border-bottom: 1px solid var(--line);
}

.service-row__link {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.85rem;
  align-items: start;
  padding: 1.35rem 0.75rem;
  margin-inline: -0.75rem;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.18s var(--ease-out);
}

.service-row__link:hover {
  background: var(--surface-2);
}

.service-row__link:focus-visible {
  outline: 2px solid var(--teal-700);
  outline-offset: 2px;
}

.service-row__num {
  padding-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--apricot-600);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.service-row__icon {
  display: none;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-700);
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

.service-row__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.service-row__link:hover .service-row__icon {
  background: var(--teal-600);
  color: #fff;
}

.service-row__body {
  min-width: 0;
}

.service-row__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  transition: color 0.16s var(--ease-out);
}

.service-row__link:hover .service-row__name {
  color: var(--teal-700);
}

.service-row__arrow {
  display: inline-block;
  margin-left: 0.15rem;
  color: var(--teal-600);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.service-row__link:hover .service-row__arrow,
.service-row__link:focus-visible .service-row__arrow {
  opacity: 1;
  transform: none;
}

.service-row__what {
  margin: 0.4rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 54ch;
}

.service-row__where {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.service-row__where svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--teal-600);
}

@media (min-width: 640px) {
  .service-row__link {
    grid-template-columns: 2.5rem 3rem minmax(0, 1fr) auto;
    column-gap: 1.25rem;
    padding: 1.5rem 1rem;
    margin-inline: -1rem;
  }

  .service-row__icon {
    display: grid;
  }

  .service-row__where {
    grid-column: 4;
    margin-top: 0.35rem;
  }
}

@media (min-width: 960px) {
  .services-home__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-8);
    /* The intro column stretches to the full row height so its sticky child
       has room to travel alongside the list. */
  }

  .services-home__sticky {
    position: sticky;
    top: calc(var(--header-primary) + var(--header-utility) + 2rem);
  }

  .service-row__link {
    padding: 1.65rem 1.25rem;
    margin-inline: -1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-row__arrow { transition: none; transform: none; }
}


.proof-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  counter-reset: proof;
}

.proof-point {
  position: relative;
  counter-increment: proof;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4) var(--space-4);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), transform 0.16s var(--ease-out);
}

.proof-point:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.proof-point::before {
  content: counter(proof, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--teal-500);
  font-variant-numeric: tabular-nums;
}

.proof-point::after {
  content: '';
  position: absolute;
  top: calc(var(--space-5) + 1.9rem);
  left: var(--space-4);
  width: 28px;
  height: 2px;
  background: var(--apricot-500);
}

.proof-point h3 {
  margin-bottom: 0.6rem;
  font-size: var(--step-2);
}

.proof-point p {
  margin-bottom: 0;
  color: var(--ink-700);
}

@media (min-width: 800px) {
  .proof-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-point {
    padding: var(--space-5);
  }
}

.steps-preview,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.steps-preview {
  display: grid;
  gap: var(--space-3);
  align-items: stretch;
}

.steps-preview__item,
.steps__item {
  display: flex;
  gap: var(--space-3);
  position: relative;
}

.steps-preview__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.steps-preview__item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.steps-preview__item:last-child .step-bead {
  background: var(--apricot-500);
  border-color: var(--ink-900);
}

.steps__item {
  padding-bottom: var(--space-5);
}

.steps__item::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--teal-200);
}

.steps__item:last-child::before {
  display: none;
}

.step-bead {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--teal-100);
  border: 1.5px solid var(--teal-500);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.steps__item:last-child .step-bead {
  background: var(--apricot-500);
  border-color: var(--ink-900);
}

.steps-preview__title,
.steps__title {
  margin-bottom: 0.35rem;
  font-size: var(--step-1);
}

.steps-preview__body,
.steps__body p {
  color: var(--ink-700);
  margin-bottom: 0;
  max-width: 54ch;
}

@media (min-width: 800px) {
  .steps-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

@media (min-width: 1100px) {
  .steps-preview {
    grid-template-columns: repeat(3, 1fr);
  }
}

.state-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: var(--space-3);
}

.state-list > li {
  display: flex;
}

.state-card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 96px;
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--ink-900);
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), transform 0.16s var(--ease-out);
}

.state-card::after {
  content: '→';
  position: absolute;
  right: var(--space-3);
  top: var(--space-3);
  font-size: 1rem;
  color: var(--teal-500);
  transition: transform 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.state-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: var(--ink-900);
}

.state-card:hover::after {
  transform: translateX(3px);
  color: var(--teal-700);
}

.state-card__beads {
  position: relative;
  display: flex;
  gap: 0.28rem;
  margin-bottom: 0.55rem;
}

.state-card__beads::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0.4rem;
  top: 50%;
  height: 1.5px;
  background: var(--teal-200);
  transform: translateY(-50%);
}

.state-card__bead {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 2.5px;
  background: var(--viz-cell);
}

.state-card__bead:last-child {
  background: var(--viz-cell-hi);
}

.state-card__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: auto;
  padding-right: 1.25rem;
}

.state-card__count {
  color: var(--ink-500);
  font-size: var(--step--1);
  font-weight: 500;
}

.testimonials {
  display: grid;
  gap: var(--space-4);
  align-items: stretch;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-6) var(--space-5) var(--space-5);
  box-shadow: var(--shadow-xs);
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.6rem;
  left: var(--space-5);
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 600;
  color: var(--apricot-500);
  pointer-events: none;
}

.testimonial__quote {
  margin: 0 0 var(--space-4);
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}

.testimonial__quote p {
  margin: 0;
  max-width: none;
}

.testimonial__source {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--ink-700);
  font-size: var(--step--1);
  font-weight: 600;
}

@media (min-width: 860px) {
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-band {
  position: relative;
  background: var(--teal-700);
  border-top: 2px solid var(--apricot-500);
  padding-block: var(--space-6);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.cta-band__heading {
  color: var(--surface);
  margin-bottom: 0.5rem;
  font-size: var(--step-5);
  max-width: 24ch;
}

.cta-band__note {
  color: var(--teal-100);
  margin-bottom: 0;
  font-size: var(--step-1);
  max-width: 42ch;
}

@media (min-width: 960px) {
  .cta-band {
    padding-block: var(--space-7);
  }
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-band .button--primary {
  background: var(--surface);
  color: var(--teal-800);
  box-shadow: var(--shadow-sm);
}

.cta-band .button--primary:hover {
  background: var(--teal-100);
  color: var(--ink-900);
}

.cta-band .button--secondary,
.cta-band .button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--surface);
}

.cta-band .button--secondary:hover,
.cta-band .button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--surface);
  color: var(--surface);
}

.site-footer {
  --logo-dark: #ffffff;
  --logo-light: var(--teal-200);
  background: var(--teal-900);
  color: var(--teal-200);
  padding-block: var(--space-7) var(--space-5);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 860px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

@media (min-width: 1080px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
    gap: var(--space-7) var(--space-6);
  }

  .site-footer__brand {
    padding-right: var(--space-5);
  }
}

.site-footer__tagline {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  color: var(--surface);
  max-width: 18ch;
}

.site-footer__descriptor {
  color: var(--teal-300);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: var(--space-3);
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li {
  margin-bottom: 0.1rem;
}

.site-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-block: 0.15rem;
  color: var(--teal-100);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.16s var(--ease-out);
}

.site-footer__col a:hover {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--apricot-500);
}

.site-footer__hours {
  color: var(--teal-300);
  font-size: var(--step--1);
  margin-top: var(--space-2);
}

.site-footer__legal {
  margin-top: var(--space-6);
  border-top: 1px solid var(--line-dark);
  padding-top: var(--space-4);
}

.site-footer__legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
}

.site-footer__legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.site-footer__legal-links a {
  color: var(--teal-200);
  text-decoration: none;
  font-size: var(--step--1);
}

.site-footer__legal-links a:hover {
  color: var(--surface);
}

.site-footer__copyright {
  color: var(--teal-300);
  font-size: var(--step--1);
  margin-bottom: 0;
}

.sample-badge {
  display: inline-block;
  background: var(--apricot-100);
  color: var(--ink-900);
  border: 1px solid var(--apricot-300);
  border-radius: var(--radius-pill);
  padding: 0.05rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.review-note {
  background: var(--apricot-100);
  border-left: 4px solid var(--apricot-500);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: var(--space-2) var(--space-3);
  font-weight: 600;
}

.gradient-block {
  background: var(--teal-900);
  border-radius: var(--radius-image);
  padding: var(--space-6) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
}

.gradient-block .bead-rail__rail {
  stroke: var(--teal-800);
}

.gradient-block .bead {
  fill: var(--teal-800);
  stroke: var(--teal-500);
}

.gradient-block .bead--highlight {
  fill: var(--apricot-500);
  stroke: var(--surface);
}

.section--abacus {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(10, 76, 85, 0.55), transparent 55%),
    var(--teal-900);
  color: var(--teal-200);
  overflow: hidden;
  padding-block: 128px;
}

.section--abacus__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.abacus-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(104%, 1400px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.16) 38%, rgba(0, 0, 0, 0.7) 55%, #000 70%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.16) 38%, rgba(0, 0, 0, 0.7) 55%, #000 70%);
}

.abacus-backdrop__frame {
  fill: var(--teal-800);
}

.abacus-backdrop__rail {
  stroke: var(--teal-700);
  stroke-width: 3;
  stroke-linecap: round;
}

.abacus-backdrop__bead path {
  fill: var(--teal-800);
  stroke: var(--teal-600);
  stroke-width: 1.2;
}

.abacus-backdrop__bead--hi {
  transform-box: fill-box;
  transform-origin: center;
  animation: bead-pulse 2.8s ease-in-out infinite;
}

.abacus-backdrop__bead--hi path {
  fill: var(--apricot-500);
  stroke: var(--apricot-300);
}

.section--abacus .viz,
.viz--abacus {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--viz-bg);
  isolation: isolate;
}

.section--abacus__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.section--abacus__copy {
  position: relative;
  max-width: none;
}

.section--abacus .eyebrow {
  color: var(--teal-300);
}

.section--abacus .eyebrow::before {
  border-color: var(--surface);
}

.section--abacus h2 {
  color: var(--surface);
  font-size: var(--step-5);
  max-width: 14ch;
}

.section--abacus p:not(.eyebrow) {
  color: var(--teal-100);
  font-size: var(--step-1);
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .section--abacus__layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.95fr);
    gap: var(--space-7);
  }
}

@media (max-width: 859.98px) {
  .section--abacus {
    padding-block: 72px 128px;
  }

  /* On narrow screens the abacus sits whole under the copy rather than being
     cropped beside it — a single readable strip instead of a slice of beads. */
  .abacus-backdrop {
    top: auto;
    bottom: 26px;
    width: 116%;
    transform: translate(-50%, 0);
    opacity: 0.75;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, #000 26%, #000 74%, rgba(0, 0, 0, 0.45) 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, #000 26%, #000 74%, rgba(0, 0, 0, 0.45) 100%);
  }
}

.about-abacus,
.families-session {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 960px) {
  .about-abacus,
  .families-session {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-7);
  }
}

.values {
  display: grid;
  gap: var(--space-4);
}

.value {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4) var(--space-4);
  box-shadow: var(--shadow-xs);
}

.value::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: var(--space-3);
  background: var(--apricot-500);
}

.value h3 {
  margin-bottom: 0.5rem;
}

.value p {
  margin-bottom: 0;
  color: var(--ink-700);
}

@media (min-width: 720px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  counter-reset: service;
}

.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  scroll-margin-top: 140px;
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.service:hover,
.service:target {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.service:target {
  border-left: 3px solid var(--apricot-500);
}

.service__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: var(--space-3);
  row-gap: 0.4rem;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.service__num {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--teal-500);
  font-variant-numeric: tabular-nums;
}

.service__name {
  margin: 0;
  font-size: var(--step-3);
}

.service__where-tag {
  grid-column: 2;
  justify-self: start;
  margin: 0;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.service__details {
  display: grid;
  gap: var(--space-4);
  margin: 0;
}

.service__detail dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.4rem;
}

.service__detail dt::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--teal-500);
}

.service__detail dd {
  margin: 0;
  color: var(--ink-700);
  max-width: 46ch;
}

@media (min-width: 860px) {
  .service {
    padding: var(--space-6);
  }

  .service__head {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .service__where-tag {
    grid-column: 3;
    justify-self: end;
  }

  .service__details {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5) var(--space-6);
  }
}

/* Term-and-definition rows: a label column beside its explanation. */
.definition-list {
  margin: 0;
  display: grid;
}

.definition-list__row {
  display: grid;
  gap: 0.2rem var(--space-5);
  padding-block: var(--space-4);
  border-top: 1px solid var(--line);
}

.definition-list__row:last-child {
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.definition-list dd {
  margin: 0;
  color: var(--ink-700);
  max-width: 58ch;
}

@media (min-width: 720px) {
  .definition-list__row {
    grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
    align-items: baseline;
  }
}

/* Insurance plans: name plus an optional qualifying note. */
.plan-list__heading {
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: var(--space-3);
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.plan-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem var(--space-4);
  padding-block: var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--apricot-600) 20%, transparent);
}

.plan-list li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--apricot-600) 20%, transparent);
}

.plan-list__name {
  font-weight: 600;
  color: var(--ink-900);
}

.plan-list__note {
  color: var(--ink-700);
  font-size: var(--step--1);
}

/* Name above a sentence-length note, rather than a short note opposite. */
.plan-list--detailed li {
  display: grid;
  gap: .25rem;
}

.plan-list--detailed .plan-list__note {
  max-width: 60ch;
  font-size: var(--step-0);
  line-height: 1.6;
}

.stats__heading {
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ink-500);
  margin: var(--space-6) 0 var(--space-3);
}

.stats {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
}

.stat {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-600);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-xs);
}

.stat__label {
  order: 2;
  color: var(--ink-700);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.4;
  margin: var(--space-2) 0 0;
}

.stat__value {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--teal-700);
  font-variant-numeric: tabular-nums;
  text-wrap: balance;
}

.chart-hint {
  color: var(--ink-500);
  font-size: var(--step--1);
  margin: var(--space-3) 0 var(--space-5);
}

.table-scroll {
  overflow-x: auto;
  margin-top: 0;
}

.data-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 34rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.data-table caption {
  text-align: left;
  font-weight: 600;
  padding-bottom: var(--space-3);
  color: var(--ink-900);
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:nth-child(even) {
  background: var(--surface-2);
}

.data-table thead th {
  background: var(--mist);
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink-900);
}

/* Values are short and read as single units — "1 in 150" should never break. */
.data-table tbody th,
.data-table tbody td {
  white-space: nowrap;
}

/* Tighten the cells enough that the table usually fits a phone outright; the
   scroll wrapper stays as the fallback for the narrowest screens. */
@media (max-width: 559.98px) {
  .data-table {
    min-width: 20rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.7rem 0.6rem;
  }

  .data-table thead th {
    letter-spacing: 0.06em;
  }
}

.bead-list {
  list-style: none;
  padding: 0;
}

.bead-list li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
  max-width: var(--measure);
}

.bead-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--viz-cell);
}

/* Filter toolbar: reads as one control rather than three loose elements. */
.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.filter__label {
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ink-500);
}

.filter__control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.filter__select {
  min-height: 44px;
  min-width: 14rem;
  padding: var(--space-2) 2.5rem var(--space-2) var(--space-3);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  background: var(--surface);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-700) 50%), linear-gradient(135deg, var(--ink-700) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.filter__select:hover {
  border-color: var(--teal-500);
}

.state-group {
  margin-bottom: var(--space-7);
}

.state-group:last-child {
  margin-bottom: 0;
}

.state-group__name {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-size: var(--step-3);
  margin-bottom: 0;
}

.state-group__name::before {
  content: '';
  align-self: center;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--teal-500);
}

.state-group__count {
  order: 3;
  flex: none;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-500);
}

.state-group__name > span:first-of-type {
  flex: none;
}

.state-group__name::after {
  content: '';
  order: 2;
  flex: 1;
  height: 1px;
  align-self: center;
  background: var(--line-strong);
}

/* Center directory. Each center is a full-width record so a state with one
   location doesn't leave half the grid empty. */
.center-list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.center-item {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.center-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.center-item__name {
  margin-bottom: var(--space-2);
  font-size: var(--step-2);
}

.center-item__address {
  margin: 0;
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.55;
}

.center-item__label {
  margin: 0 0 var(--space-2);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.center-item__col p {
  margin: 0 0 0.35rem;
  max-width: none;
}

.center-item__phone {
  font-size: var(--step-1);
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.center-item__hours {
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.55;
}

.center-item__services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.center-item__services li {
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--ink-700);
  font-size: var(--step--2);
  font-weight: 600;
}

.center-item__actions {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

@media (min-width: 900px) {
  .center-item {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.4fr) auto;
    gap: var(--space-5);
    align-items: start;
    padding: var(--space-5) var(--space-6);
  }

  .center-item__actions {
    min-width: 11rem;
  }
}

.center-item__status {
  margin: 0 0 var(--space-2);
}

.center-item__note {
  color: var(--ink-500);
  font-size: var(--step--1);
  font-weight: 500;
}

/* Status pills: "Open now" in teal, "Coming soon" in apricot. Same shape as
   .sample-badge so they read as one family of labels. */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill--open {
  color: var(--teal-800);
  background: var(--teal-100);
  border-color: var(--teal-200);
}

.status-pill--soon {
  color: var(--ink-900);
  background: var(--apricot-100);
  border-color: var(--apricot-300);
}

.status-pill--soon::before {
  background: var(--apricot-500);
}

/* Coming-soon regions on /locations: numbered cards in announcement order. */
.upcoming-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: upcoming;
}

.upcoming-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  scroll-margin-top: 1rem;
}

.upcoming-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: 0.4rem;
}

/* Same bead as the numbered steps on /families and the homepage. */
.upcoming-card__step {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-100);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}

.upcoming-card__name {
  margin: 0;
  font-size: var(--step-2);
}

.upcoming-card__area {
  margin: 0;
  color: var(--ink-500);
  font-size: var(--step--1);
  font-weight: 600;
}

.upcoming-card__note {
  margin: 0.25rem 0 0;
  color: var(--ink-700);
  font-size: var(--step-0);
  line-height: 1.6;
  max-width: none;
}

.upcoming-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: var(--space-3);
  min-height: 44px;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}

.upcoming-card__link:hover {
  color: var(--teal-700);
}

@media (min-width: 720px) {
  .upcoming-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

@media (min-width: 1100px) {
  .upcoming-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Home overview: open center vs. coming-soon regions share one card shape. */
.state-card__status {
  margin-bottom: 0.55rem;
}

.state-card--soon {
  border-style: dashed;
  background: var(--surface-2);
  color: var(--ink-700);
}

.state-card--soon .state-card__name {
  color: var(--ink-900);
}

.state-card--soon::after {
  color: var(--ink-500);
}

.state-card--soon:hover::after {
  color: var(--teal-700);
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  position: relative;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: var(--step-1);
  padding: var(--space-3) 2.5rem var(--space-3) 0;
  min-height: 44px;
  color: var(--ink-900);
  transition: color 0.16s var(--ease-out);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal-700);
  border-bottom: 2px solid var(--teal-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease-out);
}

.faq__item[open] .faq__question::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq__question:hover {
  color: var(--teal-700);
}

.faq__answer {
  padding: 0 2.5rem var(--space-4) 0;
  color: var(--ink-700);
}

.faq__answer p {
  margin: 0;
  max-width: 62ch;
}

.glossary {
  display: grid;
  gap: 0 var(--space-6);
  margin: 0;
}

.glossary dt {
  font-weight: 600;
  font-family: var(--font-body);
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.glossary dd {
  margin: 0;
  padding: var(--space-1) 0 var(--space-4);
  max-width: var(--measure);
  color: var(--ink-700);
}

@media (min-width: 860px) {
  .glossary {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  }

  .glossary dd {
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
  }
}

.role-list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
}

.role {
  display: grid;
  gap: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  margin-bottom: var(--space-3);
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.role:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.role:last-child {
  margin-bottom: 0;
}

.role__title {
  margin-bottom: var(--space-2);
  font-size: var(--step-2);
}

.role__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: var(--space-3);
}

.role__meta span {
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.role__description {
  color: var(--ink-700);
  margin-bottom: 0;
  max-width: 58ch;
}

.role__apply {
  display: flex;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .role {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
    align-items: start;
    gap: var(--space-6);
    padding: var(--space-5) var(--space-6);
  }

  .role__meta {
    margin-bottom: 0;
  }
}

.contact-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-4);
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
}

@media (min-width: 720px) {
  .contact-form {
    padding: var(--space-6);
  }
}

.contact-form h2 {
  font-size: var(--step-3);
}

/* Grouped fields. The legend acts as a section label inside the form so a
   nine-field request doesn't read as one undifferentiated stack. */
.fieldset {
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
}

.fieldset__legend {
  width: 100%;
  padding: 0 0 var(--space-3);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--teal-700);
}

.field-row {
  display: grid;
  gap: 0 var(--space-4);
}

@media (min-width: 620px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.contact-form__reassurance {
  flex: 1 1 16rem;
  margin: 0;
  max-width: 44ch;
  font-size: var(--step--1);
  color: var(--ink-500);
}

.contact-form__notice {
  display: flex;
  gap: 0.75rem;
  background: var(--mist);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-3) var(--space-4);
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--ink-800);
  max-width: none;
  margin-bottom: var(--space-5);
}

.form-errors {
  border: 1.5px solid var(--error);
  background: var(--error-bg);
  border-radius: var(--radius-card);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
}

.form-errors__heading {
  color: var(--error);
  margin-bottom: var(--space-2);
}

.form-errors__list {
  margin: 0;
  padding-left: var(--space-4);
}

.form-errors__list a {
  color: var(--error);
  font-weight: 600;
}

.field {
  margin-bottom: var(--space-4);
}

.field label {
  display: block;
  font-weight: 600;
  font-size: var(--step--1);
  margin-bottom: 0.4rem;
  color: var(--ink-900);
}

.field__required,
.field__optional {
  font-weight: 400;
  color: var(--ink-500);
  font-size: 0.9em;
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--surface);
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--teal-500);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px var(--teal-100);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-700) 50%), linear-gradient(135deg, var(--ink-700) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.field textarea {
  resize: vertical;
}

.field input[aria-invalid='true'], .field select[aria-invalid='true'], .field textarea[aria-invalid='true'] {
  border-color: var(--error);
}

.field__error {
  color: var(--error);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.field--website {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.field__checkbox {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-weight: 400;
  max-width: var(--measure);
}

.field__checkbox input[type='checkbox'] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--teal-700);
}

.contact-details {
  background: var(--teal-900);
  color: var(--teal-200);
  border-radius: var(--radius-card);
  padding: var(--space-5);
}

@media (min-width: 960px) {
  .contact-details {
    position: sticky;
    top: 120px;
  }
}

.contact-details h2 {
  font-size: var(--step-3);
  color: var(--surface);
  margin-bottom: var(--space-4);
}

.contact-details h3 {
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--teal-300);
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

.contact-details a {
  color: var(--surface);
  font-weight: 600;
  text-decoration-color: var(--teal-500);
}

.contact-details a:hover {
  color: var(--apricot-300);
  text-decoration-color: var(--apricot-300);
}

.contact-details__direct {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.contact-details__direct li {
  display: grid;
  gap: 0.1rem;
  padding-block: var(--space-3);
  border-top: 1px solid var(--line-dark);
}

.contact-details__direct li:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-details__label {
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--teal-300);
}

.contact-details__value {
  font-size: var(--step-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.contact-details__value--plain {
  font-size: var(--step-0);
  font-weight: 400;
  color: var(--teal-100);
}

.contact-details__centers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
  color: var(--teal-100);
}

.contact-details__centers li {
  display: grid;
  gap: 0.05rem;
  font-weight: 600;
  font-size: var(--step--1);
}

.contact-details__centers li span {
  font-weight: 400;
  color: var(--teal-300);
}

.contact-details__more {
  margin: var(--space-4) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-dark);
  font-size: var(--step--1);
}

.legal__updated {
  margin: 0;
  color: var(--ink-500);
  font-size: var(--step--1);
}

.legal__section {
  display: grid;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid var(--line);
}

.legal__section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal__section h2 {
  margin: 0;
  font-size: var(--step-3);
  max-width: 22ch;
}

.legal__body > :last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .legal__section {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: var(--space-7);
    align-items: start;
  }
}

@keyframes bead-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.bead-chart {
  margin: 0;
}

.viz--chart > .viz__head {
  margin-bottom: var(--space-3);
}

.viz__rule {
  margin: 0;
  max-width: none;
  color: var(--viz-muted);
  font-size: var(--step--1);
}

.viz__rule strong {
  color: var(--surface);
}

.bead-chart__plot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 0.5rem;
  min-height: 17.5rem;
  padding: 0 0.1rem 0.85rem;
  border-bottom: 1px solid var(--line-dark);
  background-image: linear-gradient(to top, rgba(199, 230, 235, 0.1) 1px, transparent 1px);
  background-size: 100% 25%;
}

.bead-chart__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  min-width: 0;
}

.bead-chart__col:focus-visible {
  outline: 2px solid var(--apricot-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.bead-chart__value {
  font-size: 0.6875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--viz-muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.16s var(--ease-out), transform 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.bead-chart__col.is-active .bead-chart__value,
.bead-chart__col:hover .bead-chart__value {
  opacity: 1;
  transform: none;
  color: var(--apricot-300);
}

.bead-chart__track {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: 16.5rem;
}

.bead-chart__track .viz__cell {
  flex: none;
  width: 10px;
  height: 10px;
  max-width: none;
}

.bead-chart__col.is-active .viz__cell.is-on,
.bead-chart__col:hover .viz__cell.is-on {
  background: var(--viz-cell-hi);
}

html.js .bead-chart:not(.bead-chart--in) .bead-chart__track {
  clip-path: inset(100% 0 0 0);
}

.bead-chart--in .bead-chart__track {
  animation: chart-stack-in 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes chart-stack-in {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.bead-chart__year {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--viz-muted);
  font-variant-numeric: tabular-nums;
}

.bead-chart__col.is-active .bead-chart__year {
  color: var(--surface);
}

.viz__readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
  margin: 0;
  min-height: 2.4em;
  max-width: none;
}

.viz__n--readout {
  font-size: var(--step-4);
  color: var(--apricot-200);
}

.viz__readout-body {
  color: var(--viz-muted);
}

.viz__readout-body strong {
  color: var(--surface);
}

@media (max-width: 759.98px) {
  .bead-chart__plot {
    min-height: 14.5rem;
    overflow-x: auto;
    grid-template-columns: repeat(12, minmax(1.7rem, 1fr));
  }

  .bead-chart__track {
    height: 13rem;
  }

  .bead-chart__year {
    font-size: 0.625rem;
    letter-spacing: 0;
  }
}

.spark-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.spark-cell__n {
  font-variant-numeric: tabular-nums;
  min-width: 3.2ch;
}

.bead-spark {
  display: none;
  width: 5.75rem;
  height: 8px;
  background: var(--teal-100);
  border-radius: 3px;
  overflow: hidden;
}

.bead-spark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.bead-spark rect {
  fill: var(--viz-cell);
}

.data-table tbody tr:last-child .bead-spark rect {
  fill: var(--viz-cell-hi);
}

@media (min-width: 720px) {
  .bead-spark {
    display: block;
  }
}

.viz--session {
  margin: var(--space-4) 0 0;
}

.split__body > .viz--session {
  width: 100%;
}

.viz--session .viz__head {
  margin-bottom: 0;
}

.counting-abacus .viz__rails {
  margin-top: var(--space-1);
}

.counting-abacus .viz__cells {
  max-width: none;
}

.viz__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--surface);
}

.viz__lead {
  margin: 0;
  color: var(--viz-muted);
  max-width: 52ch;
}

.viz--band .viz__lead {
  max-width: 38ch;
}

.viz--session .viz__lead {
  max-width: none;
}

.viz__rails {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.viz__rails li {
  display: grid;
  gap: 0.55rem;
}

.viz__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
}

.viz__rail-n {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--surface);
  flex: none;
}

.viz__rail-n--hi {
  color: var(--apricot-300);
}

.viz__cells {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.4rem;
  max-width: 22rem;
}

.viz__cell {
  aspect-ratio: 1;
  border-radius: 2.5px;
  background: rgba(157, 176, 182, 0.2);
}

.viz__cell.is-on {
  background: var(--viz-cell);
}

.viz__cell.is-hi {
  background: var(--viz-cell-hi);
}

.counting-abacus__svg {
  display: block;
  width: 100%;
  height: auto;
}

.counting-abacus__frame {
  fill: var(--teal-800);
}

.counting-abacus__rail {
  stroke: var(--viz-cell);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.counting-abacus__bead.is-hi {
  transform-box: fill-box;
  transform-origin: center;
  animation: bead-pulse 2.8s ease-in-out infinite;
}

.counting-abacus__keys {
  list-style: none;
  margin: 0;
  padding: var(--space-3) 0 0;
  padding-inline-start: 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}

.counting-abacus__keys li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--viz-muted);
  font-size: var(--step--1);
}

.counting-abacus__n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--apricot-300);
  min-width: 1.4ch;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Shared refinements: quieter surfaces, stronger hierarchy, comfortable controls. */
html { scroll-padding-top: calc(var(--header-primary) + var(--header-utility) + 5rem); }
body { letter-spacing: 0; }
[hidden] { display: none !important; }
h3, h4 { font-family: var(--font-body); letter-spacing: -.015em; }
.eyebrow::before { display: none; }
.button { white-space: normal; text-align: center; min-height: 48px; border-radius: 10px; }
.button--lg { min-height: 52px; padding: .85rem 1.35rem; }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.site-header__utility { background: var(--surface-2); color: var(--ink-700); border-bottom: 1px solid var(--line); }
.site-header__utility-text { font-family: var(--font-lockup); font-size: .75rem; font-weight: 600; color: var(--ink-300); text-transform: uppercase; letter-spacing: .12em; line-height: 1.4; }
/* Letters that spell ABACUS pick up the wordmark's dark/light split. */
.site-header__brand-letter { font-weight: 700; color: var(--teal-700); }

@property --brand-fade {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.brand-expand {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-expand__extra {
  display: inline-grid;
  vertical-align: baseline;
}

.brand-expand__extra > span {
  min-width: 0;
  overflow: clip;
  white-space: pre;
}

.brand-expand__extra--rest {
  --brand-fade: 0px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--brand-fade)), transparent 100%);
  mask-image: linear-gradient(90deg, #000 calc(100% - var(--brand-fade)), transparent 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .brand-expand {
    animation: brand-sway 3.8s ease-in-out 0.15s both;
  }

  .brand-expand__extra {
    grid-template-columns: 0fr;
    animation: brand-open 3.1s cubic-bezier(0.22, 0.8, 0.28, 1) 0.3s forwards;
  }

  .brand-expand__extra--rest {
    --brand-fade: 0.85em;
    animation-duration: 3.5s;
    animation-delay: 0.42s;
  }
}

@keyframes brand-sway {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-0.18em, 0, 0); }
}

@keyframes brand-open {
  0% { grid-template-columns: 0fr; --brand-fade: 0.85em; }
  82% { --brand-fade: 0.85em; }
  100% { grid-template-columns: 1fr; --brand-fade: 0px; }
}
.site-header__utility-inner { padding-block: .35rem; flex-wrap: wrap; gap: .25rem 1rem; }
.site-header__hours { font-size: .8125rem; color: var(--ink-700); line-height: 1.4; }
.site-header__phone { font-size: .875rem; color: var(--teal-700); line-height: 1.4; }
.site-header__phone:hover { color: var(--teal-900); }
.site-header__utility :focus-visible { outline-color: var(--ink-900); box-shadow: 0 0 0 5px var(--apricot-300); }
.site-header__inner { gap: 1.5rem; }
.site-header .lockup--inline .lockup__icon { width: 44px; height: 44px; }
.site-nav__link { font-size: 1rem; font-weight: 500; }
.site-nav__link[aria-current='page'] { color: var(--teal-700); font-weight: 600; }
.site-nav__link[aria-current='page']::after { background: var(--teal-700); }
.nav-toggle { min-height: 44px; min-width: 44px; }
.section__head { margin-bottom: 2rem; }
.section__head--split { gap: 1.25rem 4rem; }
.section__head--split .section__lead { max-width: 46ch; }
.section--sand, .section--mist { border-block: 0; }
.jump-nav { top: calc(var(--header-primary) + var(--header-utility)); background: var(--surface); backdrop-filter: none; }
.jump-nav__inner { padding-block: .7rem; align-items: flex-start; }
.jump-nav__label { padding-top: .75rem; }
.jump-nav__list { flex-wrap: wrap; overflow: visible; gap: .5rem; min-width: 0; }
.jump-nav__list a { min-height: 44px; font-size: .875rem; padding-inline: .9rem; }
.proof-points { gap: 0; }
.proof-point { padding: 1.5rem 0; background: transparent; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; box-shadow: none; }
.proof-point:hover { transform: none; box-shadow: none; }
.proof-point::before { display: none; }
/* The apricot bead sits on the column's rule, matching the dash on value cards. */
.proof-point::after { top: -1px; left: 0; }
.proof-point h3 { margin-bottom: .7rem; }
.steps-preview { gap: 1rem; }
.steps-preview__item { padding: 1.5rem; gap: 1rem; box-shadow: none; }
.steps-preview__item:hover { box-shadow: none; border-color: var(--line); }
.step-bead { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); font-family: var(--font-body); }
.steps-preview__item:last-child .step-bead, .steps__item:last-child .step-bead { background: var(--teal-100); }
.steps__item::before { left: 19px; top: 48px; }
.steps-preview__title { font-size: 1.0625rem; }
.steps-preview__body { font-size: 1rem; }
.state-card { box-shadow: none; }
.state-card:hover { transform: none; }
.state-card__beads { display: none; }
.state-card__name { font-family: var(--font-body); }
.viz { box-shadow: none; }
.viz--band { padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: 20px; }
.viz__source { margin: 1.5rem 0 0; color: var(--teal-200); font-size: .9375rem; max-width: 48ch; }
.viz__source a { color: var(--teal-100); text-decoration: underline; }
.stat__value, [data-countup] { font-variant-numeric: tabular-nums; }
.service, .center-item, .role { scroll-margin-top: 1rem; }
.service__num { color: var(--apricot-600); }
.service__where-tag, .service__detail dt, .center-item__label, .role__meta { font-size: .875rem; }
.center-item { border-radius: var(--radius-card); background: var(--surface); padding: 1.75rem; border: 1px solid var(--line); }
.center-list { display: grid; gap: 1rem; }
.center-item__actions { gap: .75rem; }
.filter { flex-wrap: wrap; background: var(--surface); }
.filter__select { min-height: 48px; }
.filter__count { margin: 0 0 1.5rem; color: var(--ink-500); font-size: .9375rem; }
.faq__question { min-height: 56px; padding-block: 1.2rem; font-family: var(--font-body); }
.faq__item[open] { background: var(--surface-2); }
.faq__answer { padding-block: .25rem 1.25rem; }
.contact-grid { gap: 2rem; align-items: start; }
.contact-form { min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.contact-form h2 { font-size: var(--step-3); }
.contact-form__notice { padding: 1rem 1.2rem; border-left: 0; border-radius: var(--radius-sm); background: var(--surface-2); font-weight: 400; }
.fieldset__legend { font-size: 1.125rem; letter-spacing: -.01em; text-transform: none; color: var(--ink-900); padding-bottom: .75rem; }
.field label { font-size: 1rem; }
.field__required, .field__optional { font-size: .875rem; }
.field input[type='text'], .field input[type='email'], .field input[type='tel'], .field select, .field textarea { min-height: 50px; border: 1px solid var(--ink-500); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 2px; box-shadow: none; }
.field input[aria-invalid='true'], .field select[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: var(--error); }
.field .field__checkbox { display: flex; gap: .75rem; line-height: 1.6; font-weight: 400; }
.contact-details { padding: 2rem; background: var(--surface-2); color: var(--ink-700); border: 1px solid var(--line); }
.contact-details h2, .contact-details h3 { color: var(--ink-900); }
.contact-details__label { color: var(--ink-500); font-size: .875rem; }
.contact-details .contact-details__value, .contact-details__value--plain { color: var(--ink-900); overflow-wrap: anywhere; }
.contact-details .contact-details__value:hover, .contact-details__more a { color: var(--teal-700); }
.contact-details__centers, .contact-details__centers li span { color: var(--ink-700); }
.contact-details__direct li, .contact-details__centers li { border-color: var(--line); }
.contact-details :focus-visible { outline-color: var(--ink-900); box-shadow: 0 0 0 5px var(--apricot-300); }
.contact-details__intro { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.contact-details__intro p { margin-bottom: 0; }
.cta-band { margin: 0; padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--teal-800); border-top: 0; }
.cta-band__inner { gap: 2rem; }
.cta-band__heading { font-weight: 500; }
.cta-band__actions { align-items: center; }
.cta-band .button--ghost { border-color: transparent; text-decoration: underline; padding-inline: .5rem; }
.site-footer { padding-top: 3.5rem; }
.site-footer__heading { font-size: .9375rem; text-transform: none; letter-spacing: 0; color: var(--surface); }
.site-footer__col a { min-height: 40px; font-size: .9375rem; }
.site-footer__legal-links a { display: inline-flex; align-items: center; min-height: 40px; }
.site-footer__col, .site-footer__brand { min-width: 0; }
.site-footer__col a { overflow-wrap: anywhere; }
.site-footer__tagline { font-weight: 500; }
.sample-badge { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .8125rem; border-color: var(--line-strong); background: var(--surface-2); color: var(--ink-700); padding: .1rem .5rem; }
.preview-note { font-size: .9375rem; color: var(--ink-700); border-left: 3px solid var(--apricot-600); padding: .75rem 1rem; background: var(--sand); border-radius: 0 8px 8px 0; }.abacus-backdrop__bead--hi, .counting-abacus__bead.is-hi { animation: none; }
@media (min-width: 800px) { .proof-points { gap: 2.5rem; } .proof-point { padding-block: 1.5rem 0; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
@media (min-width: 1180px) { .site-nav { gap: 1.25rem; } .site-header__inner { gap: 1.5rem; } .site-nav__link { padding-inline: .6rem; } .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.25fr 1.25fr; gap: 3rem; } }
@media (max-width: 1179.98px) {
  .site-header { position: relative; }
  .site-header__inner { flex-wrap: wrap; padding-block: 1rem; }
  .nav-toggle { display: none; }
  html.js .nav-toggle { display: inline-flex; }
  .site-nav { display: block; flex-basis: 100%; width: 100%; margin: 0; padding-block: 1rem; }
  html.js .site-nav { display: none; }
  html.js .site-nav--open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { width: 100%; min-height: 48px; padding-inline: .5rem; }
  .site-nav__link::after { display: none; }
  .site-nav__link[aria-current='page'] { background: var(--teal-100); border-radius: 8px; }
  .site-nav__actions { display: block; padding-top: 1rem; }
  .site-nav__cta { width: 100%; }
  .jump-nav { position: static; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  html { scroll-padding-top: 1.5rem; }
}
@media (max-width: 619.98px) {
  .site-header__utility-text { font-size: .75rem; }
  .site-header__phone { font-size: .8125rem; }
  .lockup__text { font-size: .95rem; }
  .site-header .lockup--inline .lockup__icon { width: 36px; height: 36px; }
  .site-header__inner { gap: .5rem; }
  .section__head--row .button { align-self: flex-start; }
  .steps-preview__item { padding: 1.25rem; }
  .center-item { padding: 1.25rem; }
  .contact-details { padding: 1.5rem; }
  .contact-form__submit .button { width: 100%; }
  .site-footer__grid { gap: 2rem 1.25rem; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__legal-links { gap: .25rem 1rem; }
  .jump-nav__list a { white-space: normal; }
}
@media (max-width: 359.98px) { .site-footer__grid { grid-template-columns: 1fr; } .hero__caption-mark { display: none; } .lockup { gap: .5rem; } }

/* Readability and narrow-layout safeguards for directories and charts. */
@media (max-width: 1179.98px) {
  .site-nav__cta { min-height: 48px; }
}

/* Desktop bar: the consultation label uses the same size and line as the
   other nav items, inside a pill the same height as those links. */
@media (min-width: 1180px) {
  .site-nav__cta {
    height: 40px;
    min-height: 40px;
    padding: 0 0.95rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }
}
.role__meta span { font-size: .875rem; }
.filter { margin-bottom: 1rem; }
.filter__control { flex: 1 1 14rem; min-width: 0; }
.filter__select { min-width: 0; width: 100%; max-width: 22rem; border-color: var(--ink-500); }
.center-item__services li { font-size: .875rem; font-weight: 400; }
.center-item__id, .center-item__col { min-width: 0; }
.state-group__name { margin-bottom: 1.25rem; }
.state-group__name::before { display: none; }
.bead-chart__year, .bead-chart__value { font-size: .875rem; }
.bead-chart__col { min-width: 2.75rem; }
.bead-chart__plot { overflow-x: auto; gap: .5rem; grid-template-columns: repeat(12, minmax(2.75rem, 1fr)); }
@media (max-width: 1179.98px) and (min-width: 900px) {
  .center-item { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .center-item__actions { min-width: 0; }
}
@media (max-width: 619.98px) {
  .site-header__utility-right { margin-left: auto; }
  .site-header__utility-text { max-width: 28ch; }
  .faq__question { padding-left: .75rem; }
  .faq__answer { padding-left: .75rem; }
}

/* Brand continuity. Shared pieces that every route draws from, so moving
   between pages feels like turning pages in one document. */

/* Header utility link: corporate pages sit beside the hours and phone. */
.site-header__utility-link {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-700);
  text-decoration: none;
}

.site-header__utility-link:hover,
.site-header__utility-link[aria-current='page'] {
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* In the collapsed menu the same link sits above the consultation button,
   so phones keep a one-line utility bar. */
.site-nav__secondary {
  display: none;
}

@media (max-width: 1179.98px) {
  .site-nav__secondary {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-bottom: .75rem;
    padding-inline: .5rem;
    border-top: 1px solid var(--line);
    color: var(--ink-700);
    font-weight: 500;
    text-decoration: none;
  }

  .site-nav__secondary[aria-current='page'] {
    color: var(--teal-700);
    font-weight: 600;
  }
}

@media (max-width: 619.98px) {
  .site-header__utility-link {
    display: none;
  }
}

/* Inline text link, the same treatment as the page-head secondary link. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1.5px;
}

.text-link:hover {
  color: var(--teal-700);
}

/* Callouts span their column, so they line up with the graph above them. */
.split__body > .callout,
.callout--wide {
  max-width: none;
}

.callout--wide {
  margin: var(--space-5) 0 0;
}

/* Service cards carry the same numeral and icon tile as the homepage index. */
.service__head {
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
}

.service__num {
  font-size: 1.125rem;
  letter-spacing: .02em;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-700);
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out);
}

.service__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.service:hover .service__icon,
.service:target .service__icon {
  background: var(--teal-600);
  color: #fff;
}

.service__where-tag {
  grid-column: 3;
}

@media (min-width: 860px) {
  .service__head {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .service__where-tag {
    grid-column: 4;
  }
}

/* Labels above short lists inside a section. */
.list-heading {
  margin: var(--space-5) 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ink-500);
}

.list-heading:first-child {
  margin-top: 0;
}

.fine-print {
  margin: var(--space-4) 0 0;
  max-width: 78ch;
  color: var(--ink-500);
  font-size: .875rem;
  line-height: 1.55;
}

/* Team cards: shared by /about and /investors. The monogram uses the
   wordmark face so each partner card reads as part of the lockup family. */
.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.team-card__mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-3);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .45), transparent 60%), var(--teal-700);
  box-shadow: inset 0 -3px 6px rgba(6, 40, 46, .22), 0 12px 22px -14px rgba(6, 40, 46, .6);
  color: #fff;
  font-family: var(--font-lockup);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.team-card__name {
  margin: 0;
  font-size: var(--step-2);
}

.team-card__role {
  display: block;
  margin-bottom: .35rem;
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--teal-700);
}

.team-card__focus {
  margin: 0;
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.5;
}

.team-card__bio {
  margin: .35rem 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

@media (min-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Short pages (404, 500, request sent) open with the same band as every
   other route; their exits sit inside it. */
.page-head__links {
  list-style: none;
  margin: 0;
  padding: var(--space-3) 0 0;
  border-top: 1px solid color-mix(in srgb, var(--apricot-600) 22%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-5);
  max-width: 34rem;
}

.page-head__links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

.page-head__links a::before {
  content: '→';
  color: var(--apricot-600);
}

.page-head__links a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* Investor deck. The pitch deck as a page: five chapters of slides in light,
   paper, and deep-teal tones, drawn with the brand's beads and rails. */

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Tones: one colour per meaning, shared by charts, bars, and legends. Money
   held in reserve is pale teal; money spent opening centers is apricot. */
.tone-reserve,
.tone-held,
.tone-working-capital,
.tone-lag-60 { --tone: var(--teal-300); }
.tone-corporate,
.tone-lag-30 { --tone: var(--teal-500); }
.tone-commercial,
.tone-same { --tone: var(--teal-700); }
.tone-centers,
.tone-launch,
.tone-buildout,
.tone-medicaid { --tone: var(--apricot-500); }
.tone-equipment { --tone: var(--apricot-300); }
.tone-licensing { --tone: var(--apricot-600); }
.tone-opening { --tone: var(--apricot-200); }
.tone-deposit,
.tone-contingency,
.tone-not-in-aba { --tone: var(--ink-300); }
.tone-in-aba { --tone: var(--teal-500); }
.tone-abacus { --tone: var(--apricot-500); }

.swatch {
  flex: none;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), transparent 60%), var(--tone, var(--viz-cell));
}

/* Hero: the shared band, with the deal set beside the copy. */
.page-head--deal .page-head__inner {
  gap: var(--space-5);
  align-items: center;
}

.page-head__copy {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.page-head--deal h1 {
  max-width: 19ch;
}

@media (min-width: 900px) {
  .page-head--deal .page-head__inner {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem);
    column-gap: clamp(2.5rem, 5vw, 5.5rem);
  }

  .page-head__copy {
    gap: 1.5rem;
  }
}

.deal-card {
  display: grid;
  gap: .9rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .8);
  background: linear-gradient(160deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 2px 6px rgba(6, 40, 46, .05),
    0 32px 64px -32px rgba(6, 40, 46, .38);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.deal-card__kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-800);
}

.deal-card__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apricot-500);
  box-shadow: 0 0 0 4px rgba(242, 166, 90, .22);
}

.deal-card__amount {
  margin: .1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.25rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.055em;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}

.deal-card__sub {
  margin: 0;
  color: var(--ink-700);
  font-size: var(--step--1);
}

.deal-card__terms {
  margin: .25rem 0 0;
  display: grid;
  border-top: 1px solid rgba(15, 38, 43, .1);
}

.deal-card__terms > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: .55rem;
  border-bottom: 1px solid rgba(15, 38, 43, .08);
  font-size: .9375rem;
}

.deal-card__terms dt {
  color: var(--ink-500);
}

.deal-card__terms dd {
  margin: 0;
  color: var(--ink-900);
  font-weight: 600;
  text-align: right;
}

.deal-card__note {
  margin: 0;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--teal-800);
}

.deal-card__label {
  margin: .2rem 0 .55rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.deal-card__legend {
  list-style: none;
  margin: .7rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem 1.1rem;
  color: var(--ink-700);
  font-size: .8125rem;
}

.deal-card__legend li {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.deal-card__legend strong {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.deal-card__link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 32px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--teal-800);
}

/* Phones stack the card under the copy, inside the same fixed band. */
@media (max-width: 899.98px) {
  .page-head--deal .deal-card {
    gap: .6rem;
    padding: 1.1rem 1.25rem;
  }

  .deal-card__terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
  }

  .deal-card__terms > div {
    flex-direction: column;
    gap: .1rem;
  }

  .deal-card__terms dd {
    text-align: left;
  }

  .deal-card__funds,
  .deal-card__link {
    display: none;
  }
}

/* The deep-teal ground shared by the ribbon and every dark slide: two soft
   glows, the page heads' horizon rails, and a little grain. */
.deck-ribbon,
.slide--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--teal-100);
  background:
    radial-gradient(55% 80% at 92% 0%, rgba(53, 163, 176, .24), transparent 70%),
    radial-gradient(45% 70% at 0% 100%, rgba(242, 166, 90, .13), transparent 70%),
    var(--teal-900);
}

.deck-ribbon::before,
.slide--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 105% -10%, transparent 0 139px, rgba(143, 206, 215, .07) 140px 141.5px);
  -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(225deg, #000 0%, transparent 72%);
}

.deck-ribbon::after,
.slide--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('/assets/grain.svg');
  opacity: .1;
  mix-blend-mode: overlay;
}

.deck-ribbon :focus-visible,
.slide--dark :focus-visible {
  outline-color: var(--apricot-300);
  box-shadow: 0 0 0 5px rgba(6, 40, 46, .7);
}

/* The opportunity in four numbers. */
.deck-ribbon {
  padding-block: clamp(2.5rem, 4vw, 3.75rem);
}

.deck-ribbon__list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
}

.deck-ribbon__item {
  display: grid;
  align-content: start;
  gap: .55rem;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(199, 230, 235, .18);
}

.deck-ribbon__label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.deck-ribbon__n {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.deck-ribbon__n--hi {
  color: var(--apricot-300);
}

.deck-ribbon__text {
  margin: 0;
  max-width: 22ch;
  color: var(--teal-100);
  font-size: var(--step--1);
  line-height: 1.45;
}

.deck-ribbon__note {
  margin: var(--space-5) 0 0;
  max-width: none;
  color: var(--viz-muted);
  font-size: .8125rem;
}

@media (min-width: 1000px) {
  .deck-ribbon__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Chapter navigator: sticks under the header, marks the current chapter, and
   fills a progress line as the deck scrolls. */
.deck-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

@media (min-width: 1180px) {
  .deck-nav {
    top: calc(var(--header-primary) + var(--header-utility));
  }
}

.deck-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
}

.deck-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .25rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.deck-nav__list::-webkit-scrollbar {
  display: none;
}

.deck-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: 0 .95rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  color: var(--ink-700);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}

.deck-nav__num {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--apricot-600);
  font-variant-numeric: tabular-nums;
}

.deck-nav__list a:hover {
  background: var(--teal-100);
  color: var(--teal-800);
}

.deck-nav__list a[aria-current] {
  background: var(--teal-800);
  color: #fff;
}

.deck-nav__list a[aria-current] .deck-nav__num {
  color: var(--apricot-300);
}

.deck-nav__cta {
  flex: none;
  min-height: 40px;
  padding: .5rem 1.05rem;
  font-size: .9375rem;
}

.deck-nav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
}

.deck-nav__progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--apricot-500));
  transform: scaleX(0);
  transform-origin: left center;
}

@media (max-width: 759.98px) {
  .deck-nav__inner {
    min-height: 56px;
  }

  .deck-nav__cta {
    display: none;
  }
}

/* Slides. */
.slide {
  padding-block: clamp(4.5rem, 2.5rem + 6vw, 8rem);
}

.slide--light { background: var(--surface); }
.slide--paper { background: var(--surface-2); }
.slide--sand { background: var(--sand); }

.slide--dark h3,
.slide--dark strong {
  color: #fff;
}

@media (max-width: 1179.98px) {
  .slide {
    scroll-margin-top: 4rem;
  }
}

.slide-head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: clamp(2.5rem, 1.8rem + 2.4vw, 4rem);
}

.slide-head__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin: 0 0 1.1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.slide-head__count {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--ink-300);
  font-variant-numeric: tabular-nums;
}

.slide-head__num {
  font-size: 1.375rem;
  color: var(--apricot-600);
}

.slide-head__name {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.slide-head__name::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.slide-head__title {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.375rem, 1.5rem + 2.9vw, 3.75rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--ink-900);
}

.slide-head__lead {
  margin: 0;
  max-width: 46ch;
  color: var(--ink-700);
  font-size: var(--step-1);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .slide-head--split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    column-gap: var(--space-7);
  }

  .slide-head--split .slide-head__lead {
    padding-bottom: .5rem;
  }
}

.slide--dark .slide-head__label { color: var(--teal-300); }
.slide--dark .slide-head__count { color: rgba(199, 230, 235, .42); }
.slide--dark .slide-head__num { color: var(--apricot-300); }
.slide--dark .slide-head__title { color: #fff; }
.slide--dark .slide-head__lead { color: var(--teal-100); }

.slide-grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.slide-grid .slide-head {
  margin-bottom: var(--space-4);
}

@media (min-width: 960px) {
  .slide-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    column-gap: clamp(3rem, 6vw, 6.5rem);
  }

  .slide-grid--chart {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }
}

.slide-text {
  max-width: 42ch;
  color: var(--ink-700);
  font-size: var(--step-1);
  line-height: 1.65;
}

.slide--dark .slide-text {
  color: var(--teal-100);
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
}

.slide--dark .slide-link {
  color: #fff;
  text-decoration-color: var(--apricot-500);
}

.slide--dark .slide-link:hover {
  color: var(--apricot-300);
}

/* Cards: glass on the dark slides, soft paper on the light ones. */
.glass-card {
  margin: 0;
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border-radius: 24px;
  border: 1px solid rgba(199, 230, 235, .14);
  background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -40px rgba(0, 0, 0, .55);
  color: var(--teal-100);
}

.glass-card--ink {
  border-color: rgba(10, 76, 85, .5);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(53, 163, 176, .2), transparent 70%),
    linear-gradient(160deg, #0b3940, var(--teal-900));
  box-shadow: 0 2px 6px rgba(6, 40, 46, .12), 0 40px 80px -40px rgba(6, 40, 46, .6);
}

.glass-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.glass-card__kicker {
  display: block;
  margin: 0;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.glass-card__title {
  display: block;
  margin-top: .35rem;
  color: #fff;
  font-size: var(--step-1);
  font-weight: 600;
}

.glass-card__n {
  flex: none;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.05em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.glass-card__n small {
  font-family: var(--font-body);
  font-size: .3em;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--teal-300);
}

.glass-card__n--hi {
  color: var(--apricot-300);
}

.glass-card__caption {
  margin: var(--space-4) 0 0;
  max-width: none;
  color: var(--viz-muted);
  font-size: var(--step--1);
}

.glass-card__caption strong {
  color: var(--apricot-300);
}

.glass-card__source {
  margin: var(--space-3) 0 0;
  padding-top: var(--space-3);
  max-width: none;
  border-top: 1px solid rgba(199, 230, 235, .12);
  color: rgba(143, 206, 215, .72);
  font-size: .75rem;
  line-height: 1.5;
}

.glass-card .bead-field {
  width: 100%;
}

.glass-card .bead--in-aba {
  fill: var(--teal-500);
}

.glass-card .bead-legend {
  margin: 0;
}

.deck-card {
  margin: 0;
  min-width: 0;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 38, 43, .04), 0 28px 56px -36px rgba(15, 38, 43, .3);
}

.deck-card__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.deck-card__title--spaced {
  margin-top: var(--space-5);
}

.deck-card__note {
  margin: var(--space-4) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  max-width: none;
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.6;
}

.note-card {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: 18px;
  border: 1px solid rgba(242, 166, 90, .28);
  background: linear-gradient(160deg, rgba(242, 166, 90, .13), rgba(242, 166, 90, .03));
}

.note-card__label {
  margin: 0 0 .35rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--apricot-300);
}

.note-card__text {
  margin: 0;
  color: var(--teal-100);
  line-height: 1.6;
}

/* One center's P&L at capacity: the cost lines behind the margin. */
.pnl {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: 18px;
  border: 1px solid rgba(199, 230, 235, .14);
  background: rgba(255, 255, 255, .035);
}

.pnl + .note-card {
  margin-top: var(--space-4);
}

.pnl__title {
  margin: 0 0 .4rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.pnl__list {
  margin: 0;
}

.pnl__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: .42rem;
  border-bottom: 1px solid rgba(199, 230, 235, .1);
  font-size: .9375rem;
}

.pnl__row dt {
  color: var(--teal-100);
}

.pnl__row dd {
  margin: 0;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pnl__fte {
  margin-left: .3rem;
  color: var(--viz-muted);
  font-size: .8125rem;
}

.pnl__row--revenue dt,
.pnl__row--total dt {
  font-weight: 600;
  color: #fff;
}

.pnl__row--total {
  padding-top: .65rem;
  border-bottom: 0;
}

.pnl__row--total dd {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--apricot-300);
}

/* Problem: three figures stacked like a report's key numbers. */
.stat-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.stat-stack__item {
  display: grid;
  align-items: baseline;
  gap: .6rem 2rem;
  padding-block: clamp(1.4rem, 2.2vw, 2rem);
  border-top: 1px solid rgba(199, 230, 235, .16);
}

.stat-stack__item:last-child {
  border-bottom: 1px solid rgba(199, 230, 235, .16);
}

.stat-stack__n {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2rem + 2.6vw, 4.25rem);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.055em;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stat-stack__n small {
  margin-left: .2em;
  font-size: .34em;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--teal-200);
}

.stat-stack__n--hi {
  color: var(--apricot-300);
}

.stat-stack__body {
  display: grid;
  gap: .45rem;
}

.stat-stack__text {
  color: var(--teal-100);
  font-size: var(--step-1);
  line-height: 1.45;
}

.stat-stack__source {
  color: var(--viz-muted);
  font-size: .8125rem;
  letter-spacing: .02em;
}

@media (min-width: 560px) {
  .stat-stack__item {
    grid-template-columns: 15rem minmax(0, 1fr);
  }
}

/* Model of care. */
.icon-tile {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  color: var(--teal-700);
  background: linear-gradient(150deg, #fff, var(--teal-100));
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 28px -16px rgba(10, 76, 85, .45);
}

.icon-tile svg {
  width: 1.75rem;
  height: 1.75rem;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-6);
}

.pillar__title {
  margin: var(--space-4) 0 .6rem;
  font-size: var(--step-2);
}

.pillar__text {
  margin: 0;
  color: var(--ink-700);
}

@media (min-width: 860px) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .pillar {
    padding-inline: clamp(1.5rem, 3vw, 2.5rem);
    border-left: 1px solid var(--line);
  }

  .pillar:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

.pull-quote {
  display: grid;
  gap: var(--space-3);
  margin: clamp(3rem, 5vw, 5rem) 0 0;
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid var(--line);
}

.pull-quote blockquote {
  margin: 0;
}

.pull-quote blockquote p {
  margin: 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--ink-900);
}

.pull-quote blockquote p::before {
  content: '';
  display: inline-block;
  width: .55em;
  height: .55em;
  margin-right: .4em;
  vertical-align: .05em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .7), transparent 58%), var(--apricot-500);
  box-shadow: 0 6px 12px -6px rgba(217, 130, 43, .7);
}

.pull-quote figcaption {
  max-width: 42ch;
  color: var(--ink-700);
}

@media (min-width: 900px) {
  .pull-quote {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    column-gap: var(--space-7);
  }

  .pull-quote figcaption {
    padding-bottom: .35rem;
  }
}

/* Market. */
.metric-grid {
  margin: 0 0 var(--space-5);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.metric-grid > div {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: var(--space-4) var(--space-3) var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}

.metric-grid > div:nth-child(even) {
  padding-left: var(--space-4);
  border-left: 1px solid var(--line);
}

.metric-grid dt {
  order: 2;
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.45;
}

.metric-grid dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.7vw, 2.875rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}

.metric-grid .is-hi dd {
  color: var(--apricot-600);
}

.reason-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: reason;
}

.reason-list li {
  position: relative;
  padding-left: 2.75rem;
  color: var(--ink-700);
  line-height: 1.55;
  counter-increment: reason;
}

.reason-list li::before {
  content: counter(reason);
  position: absolute;
  left: 0;
  top: -.1rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .75), transparent 58%), var(--teal-200);
  color: var(--teal-800);
  font-size: .8125rem;
  font-weight: 700;
}

/* Unit economics. */
.equation-line {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 38, 43, .04), 0 32px 64px -40px rgba(15, 38, 43, .35);
}

.equation-line__term {
  display: grid;
  gap: .55rem;
}

.equation-line__n {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.9rem + 4.4vw, 5.75rem);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.055em;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}

.equation-line__label {
  max-width: 20ch;
  color: var(--ink-500);
  font-size: var(--step--1);
  line-height: 1.45;
}

.equation-line__op {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height: 1;
  color: var(--apricot-500);
}

.equation-line__term--result {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border-radius: 20px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(53, 163, 176, .28), transparent 70%),
    var(--teal-900);
  box-shadow: 0 24px 48px -28px rgba(6, 40, 46, .7);
}

.equation-line__term--result .equation-line__n {
  color: var(--apricot-300);
}

.equation-line__term--result .equation-line__label {
  max-width: 26ch;
  color: var(--teal-100);
}

@media (min-width: 900px) {
  .equation-line {
    grid-template-columns: auto auto auto auto minmax(0, 1fr);
    column-gap: clamp(1.25rem, 2.6vw, 2.75rem);
  }
}

/* Narrow screens: "70 × $91" on one line, the result beneath. */
@media (max-width: 899.98px) {
  .equation-line {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: var(--space-3);
    row-gap: var(--space-3);
  }

  .equation-line__op {
    align-self: start;
    padding-top: .5rem;
  }

  .equation-line > :nth-child(4) {
    grid-column: 1 / -1;
    justify-self: center;
    padding-top: 0;
  }

  .equation-line__term--result {
    grid-column: 1 / -1;
  }
}

.spec-row {
  display: grid;
  gap: var(--space-4);
  margin: clamp(2rem, 3.5vw, 3rem) 0 0;
}

.spec-row > div {
  min-width: 0;
}

.spec-row dt {
  margin-bottom: .6rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.spec-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

.spec-row dd small {
  margin-left: .35em;
  font-family: var(--font-body);
  font-size: .5em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-500);
}

.spec-row .spec-row__note,
.spec-row .spec-row__text {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.spec-row .spec-row__note {
  margin-top: .35rem;
  color: var(--ink-500);
  font-size: var(--step--1);
  font-weight: 400;
}

.spec-row .spec-row__text {
  font-size: var(--step-1);
  line-height: 1.4;
}

.spec-row--compact {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  .spec-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .spec-row > div {
    padding-inline: clamp(1.25rem, 2.5vw, 2rem);
    border-left: 1px solid var(--line);
  }

  .spec-row > div:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

.levers {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.lever-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.lever-card {
  display: grid;
  gap: .4rem;
  padding: var(--space-4) var(--space-5) var(--space-5);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.lever-card__step {
  color: var(--ink-900);
  font-weight: 600;
}

.lever-card__n {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}

.lever-card__label {
  color: var(--ink-500);
  font-size: var(--step--1);
}

.lever-card__bar {
  display: block;
  height: 6px;
  margin-top: .5rem;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--teal-100);
}

.lever-card__bar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.levers .fine-print {
  margin-top: var(--space-3);
}

@media (min-width: 760px) {
  .lever-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

/* Checked lists: guardrails, shared services, partner profile. */
.check-list {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.check-list li {
  position: relative;
  padding-left: 2.25rem;
  color: var(--teal-100);
  line-height: 1.55;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), transparent 58%), var(--teal-500);
}

.check-list li::after {
  content: '';
  position: absolute;
  left: .44rem;
  top: .46rem;
  width: .5rem;
  height: .28rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.check-list--light {
  margin-top: 0;
}

.check-list--light li {
  color: var(--ink-700);
}

.check-list--light li::before {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), transparent 58%), var(--teal-600);
}

/* Center design. */
.budget-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
}

.budget-split__item {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(199, 230, 235, .1);
  background: rgba(255, 255, 255, .04);
}

.budget-split__n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.budget-split__item--held .budget-split__n { color: var(--teal-300); }
.budget-split__item--spent .budget-split__n { color: var(--apricot-300); }

.budget-split__label {
  display: block;
  margin-top: .35rem;
  color: var(--teal-100);
  font-size: var(--step--1);
}

.bead-grid {
  display: block;
  width: 100%;
  height: auto;
}

.bead-grid__cell {
  fill: var(--tone, var(--viz-cell));
}

.funds-legend {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
}

.funds-legend li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  padding-block: .55rem;
  border-top: 1px solid rgba(199, 230, 235, .12);
  color: var(--teal-100);
  font-size: var(--step--1);
  line-height: 1.35;
}

.funds-legend .swatch {
  border-radius: 2.5px;
}

.funds-legend__amount {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.funds-legend__tag {
  display: inline-block;
  margin-left: .3rem;
  padding: 0 .45rem;
  border-radius: var(--radius-pill);
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6;
  text-transform: uppercase;
  vertical-align: .1em;
}

@media (min-width: 640px) {
  .funds-legend--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-5);
  }
}

/* Proportional bar. Drawn in SVG so widths survive the CSP. */
.share-bar {
  display: block;
  height: 10px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--teal-100);
}

.share-bar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.share-bar rect {
  fill: var(--tone, var(--teal-500));
}

/* Revenue cycle. */
.duo {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

/* Paired cards end on the same line. */
.duo .deck-card {
  display: flex;
  flex-direction: column;
}

.duo .deck-card > :nth-last-child(2) {
  margin-bottom: var(--space-4);
}

.duo .deck-card__note {
  margin-top: auto;
}

.donut-wrap {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.donut {
  position: relative;
  justify-self: center;
  width: min(100%, 11.5rem);
  aspect-ratio: 1;
}

.donut svg {
  display: block;
  width: 100%;
  height: 100%;
}

.donut__track {
  fill: none;
  stroke: var(--teal-100);
}

.donut__arc {
  fill: none;
  stroke: var(--tone);
}

.donut__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.donut__n {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--teal-800);
}

.donut__label {
  margin-top: .3rem;
  color: var(--ink-500);
  font-size: .75rem;
  line-height: 1.25;
}

.donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.donut-legend li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: .7rem;
}

.donut-legend__share {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink-900);
}

.donut-legend__name {
  margin-left: .3rem;
  color: var(--ink-900);
  font-weight: 600;
}

.donut-legend__rate {
  grid-column: 2;
  color: var(--ink-500);
  font-size: var(--step--1);
}

@media (min-width: 520px) {
  .donut-wrap {
    grid-template-columns: 11.5rem minmax(0, 1fr);
  }

  .donut {
    justify-self: start;
  }
}

.cash-chart {
  display: block;
  width: 100%;
  height: auto;
}

.cash-chart__base {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.cash-chart__prior {
  fill: var(--teal-100);
}

.cash-chart__new {
  fill: var(--tone);
}

.cash-steps {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  text-align: center;
}

.cash-steps li {
  display: grid;
  gap: .15rem;
}

.cash-steps__cum {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--teal-800);
}

.cash-steps__when {
  color: var(--ink-900);
  font-size: var(--step--1);
  font-weight: 600;
}

.cash-steps__pct {
  color: var(--ink-500);
  font-size: .8125rem;
}

/* Forecast rails: one abacus wire per year, one bead per slice of revenue. */
.rail-chart {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}

.rail-chart__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'label values' 'track track';
  align-items: baseline;
  gap: .45rem 1rem;
  margin-inline: -.6rem;
  padding: .45rem .6rem .55rem;
  border-radius: 12px;
  transition: background-color .2s var(--ease-out);
}

.rail-chart__row:hover {
  background: rgba(255, 255, 255, .045);
}

.rail-chart__label {
  grid-area: label;
  color: var(--viz-muted);
  font-size: var(--step--1);
}

.rail-chart__label strong {
  margin-right: .3rem;
  color: #fff;
  font-weight: 600;
}

.rail-chart__track {
  grid-area: track;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.rail-chart__values {
  grid-area: values;
  display: inline-flex;
  gap: .85rem;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

.rail-chart__values > span {
  color: var(--viz-muted);
}

.rail-chart__values strong {
  color: var(--apricot-300);
  font-weight: 600;
}

.rail-chart__wire {
  stroke: rgba(143, 206, 215, .26);
  stroke-width: 1.2;
}

.rail-bead__body {
  fill: var(--tone, var(--viz-cell));
}

.rail-bead.is-hi .rail-bead__body {
  fill: var(--apricot-500);
}

.rail-bead__shine {
  fill: url(#bead-shine);
}

/* A wire of numbered beads: the rollout and the franchise conversation.
   Vertical on small screens, one horizontal wire once every stop fits. */
.wire {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

.wire__stop {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-content: start;
  column-gap: var(--space-4);
  row-gap: .2rem;
}

.wire__stop::before {
  content: '';
  position: absolute;
  left: calc(1.5rem - 1px);
  top: 3.4rem;
  bottom: calc(-1 * var(--space-5) + .4rem);
  width: 2px;
  border-radius: 1px;
  background: var(--teal-200);
}

.wire__stop:last-child::before {
  display: none;
}

.wire__bead {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 3;
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--teal-900);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 58%), var(--teal-300);
  box-shadow:
    inset 0 -3px 6px rgba(6, 40, 46, .16),
    0 12px 20px -12px rgba(6, 40, 46, .55),
    0 0 0 5px var(--wire-ground, var(--surface));
}

.wire__stop--first .wire__bead {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 58%), var(--apricot-500);
}

.wire__when,
.wire__where,
.wire__note {
  grid-column: 2;
}

.wire__when {
  padding-top: .15rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.wire__where {
  margin: 0;
  font-size: var(--step-2);
  line-height: 1.3;
}

.wire__note {
  margin: .15rem 0 0;
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.5;
}

.slide--sand .wire {
  --wire-ground: var(--sand);
}

@media (min-width: 960px) {
  .wire {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-4);
  }

  /* From the first bead's centre to the last: one column width, less half a
     bead, short of the right edge. */
  .wire::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    right: calc((100% - 4 * var(--space-4)) / 5 - 1.5rem);
    top: calc(1.5rem - 1px);
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--apricot-500), var(--teal-300) 28%, var(--teal-200));
  }

  .wire--steps::before {
    background: var(--teal-200);
  }

  .wire__stop {
    grid-template-columns: 1fr;
    row-gap: .3rem;
  }

  .wire__stop::before {
    display: none;
  }

  .wire__bead {
    grid-row: auto;
    margin-bottom: var(--space-3);
  }

  .wire__when,
  .wire__where,
  .wire__note {
    grid-column: 1;
  }
}

.beyond {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: 20px;
  border: 1px solid var(--teal-200);
  background: linear-gradient(120deg, var(--teal-100), rgba(228, 242, 245, .35));
}

.beyond__label {
  margin: 0 0 .25rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-800);
}

.beyond__text {
  margin: 0;
  max-width: 54ch;
  color: var(--ink-900);
}

.beyond__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.beyond__chips li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .85rem .35rem .65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--teal-200);
  background: var(--surface);
  color: var(--teal-800);
  font-size: .875rem;
  font-weight: 600;
}

.beyond__chips li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .6), transparent 60%), var(--teal-500);
}

@media (min-width: 900px) {
  .beyond {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Consolidated forecast figures. */
.kpi-list {
  margin: var(--space-5) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(199, 230, 235, .16);
}

.kpi-list > div {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: var(--space-4) var(--space-3) var(--space-4) 0;
  border-bottom: 1px solid rgba(199, 230, 235, .12);
}

.kpi-list > div:nth-child(even) {
  padding-left: var(--space-4);
  border-left: 1px solid rgba(199, 230, 235, .12);
}

.kpi-list dt {
  order: 2;
  color: var(--viz-muted);
  font-size: .8125rem;
  line-height: 1.4;
}

.kpi-list dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.kpi-list dd small {
  font-family: var(--font-body);
  font-size: .42em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--teal-300);
}

.kpi-list dd.is-hi {
  color: var(--apricot-300);
}

/* Traction. */
.big-figure {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin: var(--space-2) 0 0;
  font-family: var(--font-display);
  color: var(--teal-800);
}

.big-figure__n {
  font-size: clamp(5rem, 3.2rem + 7vw, 9.5rem);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.065em;
  font-variant-numeric: tabular-nums;
}

.big-figure__unit {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--teal-700);
}

.big-figure__caption {
  margin: .75rem 0 var(--space-4);
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink-900);
}

.tracker {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.tracker__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: var(--space-4);
  padding-bottom: var(--space-5);
}

.tracker__step:last-child {
  padding-bottom: 0;
}

.tracker__step::before {
  content: '';
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 2.6rem;
  bottom: .35rem;
  width: 2px;
  border-radius: 1px;
  background: var(--line-strong);
}

.tracker__step:last-child::before {
  display: none;
}

.tracker__step--complete::before {
  background: var(--teal-500);
}

.tracker__mark {
  position: relative;
  grid-row: 1 / span 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}

.tracker__step--complete .tracker__mark {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), transparent 58%), var(--teal-600);
  box-shadow: 0 10px 18px -10px rgba(6, 40, 46, .6);
}

.tracker__step--complete .tracker__mark::after {
  content: '';
  position: absolute;
  left: .7rem;
  top: .68rem;
  width: .8rem;
  height: .44rem;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

.tracker__step--in-progress .tracker__mark {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .6), transparent 58%), var(--apricot-500);
  animation: deck-pulse 2.4s var(--ease-out) infinite;
}

.tracker__step--pending .tracker__mark {
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}

.tracker__step--next .tracker__mark {
  border: 2px dashed var(--teal-500);
  background: var(--surface);
}

.tracker__status {
  grid-column: 2;
  padding-top: .3rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.tracker__text {
  grid-column: 2;
  margin: .25rem 0 0;
  color: var(--ink-900);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.45;
}

@keyframes deck-pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 166, 90, .5); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(242, 166, 90, 0); }
}

/* Team cards take the deck's card finish on this page. */
.slide .team-card {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15, 38, 43, .04), 0 24px 48px -34px rgba(15, 38, 43, .3);
}

/* Risks. */
.risk-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.risk-card {
  display: grid;
  align-content: start;
  gap: .55rem;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 38, 43, .04), 0 24px 48px -34px rgba(15, 38, 43, .3);
}

.risk-card__num {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--apricot-600);
  font-variant-numeric: tabular-nums;
}

.risk-card__title {
  margin: 0 0 .4rem;
  font-size: var(--step-2);
}

.risk-card__label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: .35rem 0 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.risk-card__label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .6), transparent 60%), var(--teal-500);
}

.risk-card__text {
  margin: 0;
  color: var(--ink-700);
}

@media (min-width: 860px) {
  .risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

/* The ask: the deck's climax, the raise set like a sunrise over its rails. */
.slide--ask {
  padding-block: clamp(5rem, 3rem + 7vw, 9rem);
}

.slide--ask::before {
  background: repeating-radial-gradient(circle at 50% 120%, transparent 0 139px, rgba(143, 206, 215, .08) 140px 141.5px);
  -webkit-mask-image: linear-gradient(0deg, #000, transparent 78%);
  mask-image: linear-gradient(0deg, #000, transparent 78%);
}

.ask-hero {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.ask-hero .slide-head {
  justify-items: center;
  margin-bottom: var(--space-3);
}

.ask-hero .slide-head__label {
  justify-content: center;
}

.ask-hero .slide-head__title {
  max-width: none;
}

.ask-hero__amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 3rem + 10vw, 11.5rem);
  font-weight: 600;
  line-height: .85;
  letter-spacing: -.065em;
  color: var(--apricot-300);
  text-shadow: 0 0 90px rgba(242, 166, 90, .35);
  font-variant-numeric: tabular-nums;
}

.ask-hero__sub {
  margin: var(--space-4) auto 0;
  max-width: 40ch;
  color: var(--teal-100);
  font-size: var(--step-1);
}

.ask-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 960px) {
  .ask-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: var(--space-5);
  }
}

.term-sheet dl {
  margin: var(--space-3) 0 0;
  display: grid;
}

.term-sheet dl > div {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 1rem;
  padding-block: .85rem;
  border-top: 1px solid rgba(199, 230, 235, .12);
}

.term-sheet dt {
  color: var(--viz-muted);
  font-size: var(--step--1);
}

.term-sheet dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.abacus-rails {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.abacus-rails__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'label amount' 'track track';
  align-items: baseline;
  gap: .4rem 1rem;
}

.abacus-rails__label {
  grid-area: label;
  color: var(--viz-muted);
  font-size: var(--step--1);
}

.abacus-rails__label strong {
  margin-right: .35rem;
  color: #fff;
  font-weight: 600;
}

.abacus-rails__amount {
  grid-area: amount;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.abacus-rails__track {
  grid-area: track;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.abacus-rails__wire {
  stroke: rgba(143, 206, 215, .3);
  stroke-width: 1.5;
}

.abacus-rails__cap {
  fill: var(--teal-700);
}

/* Use of funds, in detail. */
.posture {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.posture .share-bar {
  height: 14px;
}

.posture__list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.posture__item {
  display: grid;
  align-content: start;
  gap: .5rem;
  padding: var(--space-4) var(--space-5) var(--space-5);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 38, 43, .04), 0 20px 40px -32px rgba(15, 38, 43, .3);
}

.posture__head {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.posture__n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.3vw, 2.625rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

.posture__share {
  margin-left: .35rem;
  vertical-align: .35em;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--teal-700);
}

.posture__note {
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.55;
}

@media (min-width: 860px) {
  .posture__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

.data-table .num {
  text-align: right;
}

.funds-table {
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(15, 38, 43, .04), 0 24px 48px -36px rgba(15, 38, 43, .3);
}

.funds-table caption {
  padding-bottom: var(--space-4);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.funds-table th,
.funds-table td {
  padding: .9rem 1.1rem;
}

.funds-table tbody tr:nth-child(even) {
  background: transparent;
}

.funds-table tbody tr:hover {
  background: var(--surface-2);
}

.funds-table tbody th,
.funds-table td:nth-child(2) {
  white-space: normal;
}

.funds-table td:nth-child(2) {
  min-width: 15rem;
  color: var(--ink-700);
}

.funds-table__group th,
.funds-table__group td.num {
  color: var(--ink-900);
  font-weight: 600;
}

.funds-table__line th {
  position: relative;
  padding-left: 2.4rem;
  color: var(--ink-700);
  font-weight: 500;
}

.funds-table__line th::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 50%;
  width: .6rem;
  height: 1px;
  background: var(--line-strong);
}

.funds-table .spark-cell {
  justify-content: flex-end;
}

.funds-table .spark-cell__n {
  min-width: 5ch;
  text-align: right;
}

/* Keeps the subtotal's percentage in line with the barred rows below it. */
.bead-spark--spacer {
  visibility: hidden;
}

.data-table.funds-table .bead-spark rect.is-held { fill: var(--teal-300); }
.data-table.funds-table .bead-spark rect.is-corporate { fill: var(--teal-500); }
.data-table.funds-table .bead-spark rect.is-spent { fill: var(--apricot-500); }

.funds-table tfoot th,
.funds-table tfoot td {
  border-bottom: 0;
  background: var(--teal-900);
  color: #fff;
  font-weight: 700;
}

.funds-after {
  display: grid;
  gap: var(--space-4);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 960px) {
  .funds-after {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.schedule__row {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  grid-template-areas: 'when where amount' 'bar bar bar';
  align-items: baseline;
  gap: .35rem 1rem;
  padding-block: .8rem;
  border-top: 1px solid var(--line);
}

.schedule__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.schedule__when {
  grid-area: when;
  color: var(--teal-700);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.schedule__where {
  grid-area: where;
  color: var(--ink-900);
  font-weight: 500;
}

.schedule__amount {
  grid-area: amount;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

.schedule__bar {
  grid-area: bar;
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--teal-100);
}

.schedule__bar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.schedule__prior { fill: var(--teal-300); }
.schedule__step { fill: var(--apricot-500); }

.earn-list {
  margin: 0;
  display: grid;
}

.earn-list > div {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-block: .9rem;
  border-top: 1px solid var(--line);
}

.earn-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.earn-list dt {
  order: 2;
  color: var(--ink-700);
  font-size: var(--step--1);
}

.earn-list dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}

.earn-list .is-hi dd {
  color: var(--apricot-600);
}

/* Franchising. */
.offer-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.offer-card {
  display: grid;
  align-content: start;
  gap: .5rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border-radius: 24px;
  border: 1px solid rgba(217, 130, 43, .16);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 1px 2px rgba(15, 38, 43, .04), 0 24px 48px -36px rgba(120, 72, 20, .35);
}

.offer-card__title {
  margin: var(--space-3) 0 .2rem;
  font-size: var(--step-2);
}

.offer-card__text {
  margin: 0;
  color: var(--ink-700);
}

@media (min-width: 760px) {
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

.franchise-steps-heading {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: var(--space-5);
}

.partner-band {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 28px;
  border: 1px solid rgba(217, 130, 43, .16);
  background: var(--surface);
  box-shadow: 0 24px 48px -36px rgba(120, 72, 20, .35);
}

.partner-band .list-heading {
  margin-top: 0;
}

.partner-band__cta {
  display: grid;
  justify-items: start;
  gap: var(--space-3);
}

.partner-band__markets {
  margin: 0;
  color: var(--ink-700);
}

@media (min-width: 900px) {
  .partner-band {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: var(--space-7);
  }
}

.disclosures__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--ink-500);
}

.disclosures p {
  max-width: 86ch;
  color: var(--ink-500);
  font-size: .875rem;
  line-height: 1.6;
}

.disclosures p:last-child {
  margin-bottom: 0;
}

/* Motion, added by investors.js only when motion is welcome. Nothing already
   on screen is hidden, and beads count in one after another. */
.deck-motion .reveal {
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.deck-motion .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(24px);
}

.deck-motion .reveal--d1 { transition-delay: .08s; }
.deck-motion .reveal--d2 { transition-delay: .16s; }
.deck-motion .reveal--d3 { transition-delay: .24s; }

.deck-motion [data-beads] .bead,
.deck-motion [data-beads] .bead-grid__cell,
.deck-motion [data-beads] .rail-bead {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .6s var(--ease-out), opacity .45s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 6ms + .2s);
}

.deck-motion [data-beads]:not(.is-in) .bead,
.deck-motion [data-beads]:not(.is-in) .bead-grid__cell,
.deck-motion [data-beads]:not(.is-in) .rail-bead {
  opacity: 0;
  transform: scale(.2);
}

/* Services and families.
   Shared marks: a glossy bead for steps, a teal icon tile, and label caps. */
.fit-stage__bead,
.journey__bead,
.day-stop__bead,
.cadence__mark {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 58%), var(--teal-300);
  box-shadow: inset 0 -2px 4px rgba(6, 40, 46, .14), 0 8px 14px -10px rgba(6, 40, 46, .5);
}

.fit-link__icon,
.svc__icon,
.compare__icon,
.skill__icon,
.fit-map__alongside-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: var(--teal-700);
  background: var(--teal-100);
}

.fit-stage__step,
.svc__list-title,
.svc__chips-label,
.compare__label,
.day-stop__when,
.cadence__when,
.intensity__kicker,
.journey__outcome-label,
.benefits__title,
.resource__source,
.fit-map__alongside-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-700);
}

/* How the services fit together: three stages on a rail, coaching beneath. */
.fit-map {
  display: grid;
  gap: var(--space-4);
}

.fit-map__stages {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.fit-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.fit-stage__step {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.fit-stage__bead {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--teal-900);
  font-size: 1rem;
  letter-spacing: 0;
}

.fit-stage:first-child .fit-stage__bead {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 58%), var(--apricot-500);
}

.fit-stage__title {
  margin: .2rem 0 0;
  font-size: var(--step-2);
  line-height: 1.25;
}

.fit-stage__text {
  margin: 0;
  color: var(--ink-700);
}

.fit-stage__links {
  list-style: none;
  margin: auto 0 0;
  padding: var(--space-3) 0 0;
  display: grid;
  gap: .5rem;
}

.fit-link,
.fit-map__alongside {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  color: var(--ink-900);
  text-decoration: none;
  transition: border-color .16s var(--ease-out), background-color .16s var(--ease-out);
}

.fit-link {
  padding: .6rem .8rem .6rem .6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.fit-link:hover {
  color: var(--ink-900);
  border-color: var(--teal-500);
  background: var(--teal-100);
}

.fit-link__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--surface);
}

.fit-link__icon svg,
.fit-map__alongside-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.fit-link__copy {
  display: grid;
  gap: .1rem;
}

.fit-link__name {
  font-weight: 600;
  line-height: 1.3;
}

.fit-link__meta {
  font-size: .8125rem;
  color: var(--ink-500);
  line-height: 1.35;
}

.fit-link__arrow {
  color: var(--teal-700);
  font-weight: 700;
}

.fit-map__alongside {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--sand);
  border: 1px solid color-mix(in srgb, var(--apricot-600) 24%, transparent);
}

.fit-map__alongside:hover {
  color: var(--ink-900);
  border-color: var(--apricot-500);
}

.fit-map__alongside-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--surface);
}

.fit-map__alongside-copy {
  display: grid;
  gap: .2rem;
}

.fit-map__alongside-label {
  color: var(--apricot-600);
}

.fit-map__alongside-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.25;
}

.fit-map__alongside-text {
  color: var(--ink-700);
  font-size: var(--step--1);
}

@media (min-width: 960px) {
  .fit-map__stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* The rail shows in the gaps between stages, at the height of their beads. */
  .fit-map__stages::before {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: calc(var(--space-5) + 1.125rem - 1px);
    height: 2px;
    background: var(--teal-300);
  }
}

/* Service detail, grouped by stage. */
.svc-groups {
  display: grid;
  gap: var(--space-6);
}

.svc-group__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: var(--space-4);
}

.svc-group__step {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--teal-300);
  color: var(--teal-800);
  font-weight: 700;
  font-size: .9375rem;
}

.svc-group__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.svc {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .16s var(--ease-out), box-shadow .16s var(--ease-out);
}

.svc:target {
  border-color: var(--apricot-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--apricot-500) 22%, transparent);
}

.svc--family {
  background: var(--sand);
  border-color: color-mix(in srgb, var(--apricot-600) 22%, transparent);
}

.svc__intro {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.svc__title-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.svc__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
}

.svc--family .svc__icon {
  background: var(--surface);
}

.svc__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.svc__name {
  margin: 0;
  font-size: var(--step-3);
  line-height: 1.2;
}

.svc__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.svc__tags li {
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: .8125rem;
  font-weight: 600;
}

.svc--family .svc__tags li {
  background: var(--surface);
}

.svc__summary {
  margin: 0;
  max-width: 48ch;
  color: var(--ink-700);
  font-size: var(--step-1);
  line-height: 1.6;
}

.svc__lists {
  display: grid;
  gap: var(--space-4);
}

.svc__list-title {
  margin-bottom: .7rem;
}

.svc__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.svc__bullets li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-700);
  line-height: 1.5;
}

.svc__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}

.svc__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.svc--family .svc__chips {
  border-top-color: color-mix(in srgb, var(--apricot-600) 22%, transparent);
}

.svc__chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.svc__chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-800);
  font-size: .875rem;
}

.svc__chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--apricot-500);
}

@media (min-width: 720px) {
  .svc__lists {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

@media (min-width: 1080px) {
  .svc {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--space-7);
    row-gap: var(--space-5);
    padding: var(--space-6);
  }

  .svc__chips {
    grid-column: 1 / -1;
  }
}

/* Center, home, or telehealth, compared row by row. */
.compare {
  display: grid;
  gap: var(--space-4);
}

.compare__card {
  display: grid;
  align-content: start;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.compare__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
}

.compare__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
}

.compare__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.compare__title {
  margin: 0;
  font-size: var(--step-3);
}

.compare__row {
  display: grid;
  align-content: start;
  gap: .3rem;
  padding-block: var(--space-3);
  border-top: 1px solid var(--line);
}

.compare__label {
  color: var(--ink-500);
}

.compare__text {
  margin: 0;
  color: var(--ink-800);
  line-height: 1.5;
}

@media (min-width: 960px) {
  .compare {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
  }

  .compare__card {
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

/* Skill areas: open tiles on a rule, so this band reads differently from the cards around it. */
.skill-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5) var(--space-6);
}

.skill {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--space-4);
  row-gap: .4rem;
  align-content: start;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-strong);
}

.skill__icon {
  grid-row: span 3;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
}

.skill__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.skill__title {
  margin: 0;
  font-size: var(--step-2);
}

.skill__text {
  margin: 0;
  color: var(--ink-700);
}

.skill__eg {
  margin: .25rem 0 0;
  color: var(--ink-500);
  font-size: .9375rem;
  line-height: 1.5;
}

.skill__eg span {
  font-weight: 700;
  color: var(--apricot-600);
}

@media (min-width: 720px) {
  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .skill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* The care team, each role marked with a bead badge. */
.team-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.team-role {
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--apricot-600) 16%, transparent);
  border-radius: var(--radius-lg);
}

.team-role__badge {
  display: inline-grid;
  place-items: center;
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 .7rem;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 58%), var(--teal-700);
  color: #fff;
  font-family: var(--font-lockup);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.team-role--family .team-role__badge {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 58%), var(--apricot-500);
  color: var(--teal-900);
}

.team-role--others .team-role__badge {
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 1.375rem;
}

.team-role__title {
  margin: var(--space-4) 0 .15rem;
  font-size: var(--step-2);
}

.team-role__sub {
  margin: 0 0 .7rem;
  color: var(--teal-700);
  font-size: .875rem;
  font-weight: 600;
}

.team-role__text {
  margin: 0;
  color: var(--ink-700);
}

@media (min-width: 720px) {
  .team-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .team-roles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* A sample center day: beads on a wire, down the page on phones and across it on wide screens. */
.day-line {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.day-stop {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: var(--space-4);
  row-gap: .2rem;
  align-content: start;
}

.day-stop::before {
  content: '';
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 2.6rem;
  bottom: calc(-1 * var(--space-4) + .3rem);
  width: 2px;
  background: var(--teal-200);
}

.day-stop:last-child::before {
  display: none;
}

.day-stop__bead {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}

.day-stop:last-child .day-stop__bead {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 58%), var(--apricot-500);
}

.day-stop__when,
.day-stop__title,
.day-stop__text {
  grid-column: 2;
}

.day-stop__title {
  margin: 0;
  font-size: var(--step-1);
}

.day-stop__text {
  margin: .15rem 0 0;
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.5;
}

@media (min-width: 1080px) {
  .day-line {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-4);
  }

  /* One wire from the first bead to the last: each column is (100% - 5 gaps) / 6 wide. */
  .day-line::before {
    content: '';
    position: absolute;
    left: 1.125rem;
    right: calc((100% - 5 * var(--space-4)) / 6 - 1.125rem);
    top: calc(1.125rem - 1px);
    height: 2px;
    background: var(--teal-200);
  }

  .day-stop {
    grid-template-columns: minmax(0, 1fr);
    row-gap: .35rem;
  }

  .day-stop::before {
    display: none;
  }

  .day-stop__bead {
    grid-row: auto;
    margin-bottom: var(--space-3);
  }

  .day-stop__when,
  .day-stop__title,
  .day-stop__text {
    grid-column: 1;
  }
}

/* Hours and progress: a range chart beside the review rhythm. */
.hours-grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

.intensity {
  margin: 0;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.intensity__head {
  display: grid;
  gap: .3rem;
  margin-bottom: var(--space-4);
}

.intensity__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.25;
}

.intensity__chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.intensity__track {
  fill: var(--surface-2);
  stroke: var(--line);
}

.intensity__bar--focused {
  fill: var(--teal-500);
}

.intensity__bar--comprehensive {
  fill: var(--apricot-500);
}

.intensity__axis,
.intensity__tick {
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.intensity__tick-label {
  fill: var(--ink-500);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
}

.intensity__levels {
  margin: var(--space-4) 0 0;
  display: grid;
  gap: var(--space-3);
}

.intensity__level {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .2rem var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.intensity__level dt {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  color: var(--ink-900);
}

.intensity__swatch {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--teal-500);
}

.intensity__level--comprehensive .intensity__swatch {
  background: var(--apricot-500);
}

.intensity__range {
  margin: 0;
  font-weight: 600;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}

.intensity__text {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-700);
  font-size: var(--step--1);
}

.intensity__note {
  margin: var(--space-4) 0 0;
  color: var(--ink-500);
  font-size: .875rem;
  line-height: 1.55;
}

.cadence {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.cadence__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding-block: var(--space-4);
  border-top: 1px solid var(--line-strong);
}

.cadence__item:first-child {
  padding-top: 0;
  border-top: 0;
}

/* Beads grow with the span of time they stand for. */
.cadence__mark {
  justify-self: center;
  width: 1rem;
  height: 1rem;
  margin-top: .2rem;
  border-radius: 50%;
}

.cadence__item--month .cadence__mark {
  width: 1.6rem;
  height: 1.6rem;
}

.cadence__item--six-months .cadence__mark {
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0;
}

.cadence__item--ahead .cadence__mark {
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 58%), var(--apricot-500);
}

.cadence__title {
  margin: .25rem 0 .3rem;
  font-size: var(--step-2);
}

.cadence__text {
  margin: 0;
  color: var(--ink-700);
}

@media (min-width: 960px) {
  .hours-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-7);
  }
}

/* Families: first steps as cards, each ending in what the family leaves with. */
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.journey__step {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.journey__bead {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--teal-900);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.journey__step:first-child .journey__bead {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 58%), var(--apricot-500);
}

.journey__title {
  margin: .35rem 0 0;
  font-size: var(--step-2);
}

.journey__body {
  margin: 0;
  color: var(--ink-700);
}

.journey__outcome {
  display: grid;
  gap: .3rem;
  margin: auto 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--ink-800);
  font-size: .9375rem;
  line-height: 1.5;
}

.journey__outcome-label {
  font-size: .75rem;
}

@media (min-width: 720px) {
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Where to start without a diagnosis, by age. */
.paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: var(--space-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.path-card__age {
  align-self: flex-start;
  margin: 0;
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
  background: var(--teal-700);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.path-card__title {
  margin: .2rem 0 0;
  font-size: var(--step-2);
}

.path-card__text {
  margin: 0;
  color: var(--ink-700);
}

.path-card__link {
  margin-top: auto;
  align-self: flex-start;
}

@media (min-width: 960px) {
  .paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Before you call: what to have ready, and questions for any provider. */
.ready {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

.ready__card {
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.ready__title {
  margin: 0 0 var(--space-4);
  font-size: var(--step-3);
}

.ready__intro {
  margin: calc(-1 * var(--space-2)) 0 var(--space-4);
  color: var(--ink-700);
}

.ready__note {
  max-width: none;
  margin: var(--space-4) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: .9375rem;
}

.ask-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: ask;
}

.ask-list li {
  counter-increment: ask;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: baseline;
  color: var(--ink-800);
  line-height: 1.5;
}

.ask-list li::before {
  content: counter(ask);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--apricot-600);
}

@media (min-width: 960px) {
  .ready {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The family's role reuses the value cards from /about, four across. */
.value__link {
  display: inline-block;
  margin-top: var(--space-3);
  font-weight: 600;
}

@media (min-width: 1080px) {
  .values--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* What the benefits check answers. */
.benefits {
  margin-top: var(--space-5);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--apricot-600) 20%, transparent);
  border-radius: var(--radius-card);
}

.benefits__title {
  margin-bottom: var(--space-4);
}

.benefits__list {
  gap: .75rem var(--space-5);
}

.benefits__note {
  margin: var(--space-4) 0 0;
  max-width: 60ch;
  color: var(--ink-700);
  font-size: .9375rem;
}

@media (min-width: 720px) {
  .benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Questions, grouped by topic. */
.faq-groups {
  display: grid;
  gap: var(--space-6);
}

.faq-group__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 var(--space-2);
  font-size: var(--step-2);
}

.faq-group__title::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--apricot-500);
}

@media (min-width: 960px) {
  .faq-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-7) var(--space-7);
  }
}

/* Glossary terms as small cards, in two groups. */
.glossary-groups {
  display: grid;
  gap: var(--space-6);
}

.terms {
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.term {
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.term dt {
  margin-bottom: .3rem;
  font-weight: 700;
  color: var(--ink-900);
}

.term dd {
  margin: 0;
  color: var(--ink-700);
  font-size: .9375rem;
  line-height: 1.55;
}

@media (min-width: 720px) {
  .terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .terms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Outside resources. */
.resources {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.resource {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  height: 100%;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-900);
  text-decoration: none;
  transition: border-color .16s var(--ease-out), box-shadow .16s var(--ease-out);
}

.resource:hover {
  color: var(--ink-900);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-sm);
}

.resource__source {
  color: var(--ink-500);
  font-size: .75rem;
}

.resource__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.25;
}

.resource__text {
  color: var(--ink-700);
  font-size: .9375rem;
  line-height: 1.55;
}

.resource__go {
  margin-top: auto;
  padding-top: var(--space-2);
  color: var(--teal-800);
  font-weight: 600;
}

@media (min-width: 720px) {
  .resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .resources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
