/*
 * ShopDPA 1.60 redesign layer. Loaded after every other theme stylesheet.
 *
 * Rules of this layer:
 *   one typeface (Inter) · white and cool-grey surfaces · navy for one or two
 *   moments a page · the yellow only on the primary action · solid fills, no
 *   strokes, shadows, glows or gradients · nothing above a title.
 *
 * 1. Tokens for the new components     5. Homepage sections (dx-*)
 * 2. Global type and links             6. Restyled legacy sections
 * 3. Buttons                           7. Final CTA and footer
 * 4. Header                            8. Article template
 */

/* ---------- 1. Tokens ---------- */
:root {
  --dx-bg: #FFFFFF;
  --dx-surface: #EEF1F6;
  --dx-surface-2: #E1E6EE;
  --dx-ink: #0B1730;
  --dx-ink-2: #44526B;
  --dx-ink-3: #6B7890;
  --dx-navy: #0A1B3D;
  --dx-navy-2: #142B57;
  --dx-on-navy-2: #B9C4D8;
  --dx-accent: #FFC100;
  --dx-accent-hover: #EDB300;
  --dx-link: #1747C4;
  --dx-r-ctl: 10px;
  --dx-r-card: 20px;
  --dx-r-box: 26px;
  --dx-margin: 32px;
  --dx-max: 1200px;
  --dx-section: 112px;
  --dx-gap: 16px;
}
@media (max-width: 860px) {
  :root { --dx-margin: 20px; --dx-section: 72px; }
}

/* ---------- 2. Global type and links ---------- */
html, body { overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--dx-ink);
  background: var(--dx-bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
body.home, body.home #brx-content { background: var(--dx-bg) !important; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--dx-ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }
.byline-label { font-size: 14px; font-weight: 500; color: var(--dx-ink-3); }

/* ---------- 3. Buttons ---------- */
.btn,
.dx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--dx-r-ctl);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.btn--primary, .dx-btn--primary, a.dx-btn--primary { background: var(--dx-accent); color: var(--dx-ink); }
.btn--primary:hover, .dx-btn--primary:hover { background: var(--dx-accent-hover); color: var(--dx-ink); }
.dx-btn--ink, a.dx-btn--ink { background: var(--dx-ink); color: #fff; }
.dx-btn--ink:hover { background: var(--dx-navy-2); color: #fff; }
.dx-btn--quiet, a.dx-btn--quiet, .btn--ghost { background: var(--dx-surface); color: var(--dx-ink); border: 0; }
.dx-btn--quiet:hover, .btn--ghost:hover { background: var(--dx-surface-2); color: var(--dx-ink); }
.dx-btn--on-navy, a.dx-btn--on-navy { background: var(--dx-navy-2); color: #fff; }
.dx-btn--on-navy:hover { background: #1D3A72; color: #fff; }
.btn:focus-visible, .dx-btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }

/* ---------- 4. Header ---------- */
.site-header,
.site-header.is-stuck,
.site-header.is-open,
.home .site-header:not(.is-stuck):not(.is-open) {
  background-color: #fff;
  border-bottom: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header__inner { max-width: calc(var(--dx-max) + 2 * var(--dx-margin)); padding: 14px var(--dx-margin); }
.site-header__logo img { height: 30px; }
.site-header .site-nav__link,
.home .site-header:not(.is-stuck) .site-nav__link,
.site-header__phone,
.site-header__phone:hover,
.site-header__menu { color: var(--dx-ink); }
.site-header .site-nav__link { font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.site-header .site-nav__link:hover { color: var(--dx-link); }
.site-header__phone { font-size: 15px; }
.site-header__phone svg { display: none; }
.site-header .btn--primary { min-height: 44px; padding: 0 18px; font-size: 15px; }
.site-header__menu { background: var(--dx-surface); border-radius: var(--dx-r-ctl); }
.site-header .reading-progress { background: var(--dx-surface-2); }
@media (max-width: 860px) {
  .site-header__inner { padding: 8px var(--dx-margin); }
  .site-header__logo img { height: 26px; }
}
/* Menu panel (phone) */
.site-menu { background: #fff; color: var(--dx-ink); }
.site-menu a, .site-menu__head, .site-menu__links a, .site-menu__phone { color: var(--dx-ink); }
.site-menu__links a { color: var(--dx-ink-2); }
.site-menu__group { border-color: var(--dx-surface-2); }

/* ---------- 5. Homepage sections ---------- */
.dx-wrap { width: 100%; max-width: calc(var(--dx-max) + 2 * var(--dx-margin)); margin-inline: auto; padding-inline: var(--dx-margin); }
.dx-sec { padding-block: var(--dx-section); background: var(--dx-bg); }
.dx-sec--alt { background: var(--dx-surface); }
.dx-sec p, .dx-statement p, .dx-final p { max-width: none; }
.dx-center { text-align: center; margin: 0; }

.dx-head { max-width: 760px; margin: 0 0 48px; }
.dx-head h2 { margin: 0; font-size: 40px; line-height: 1.12; letter-spacing: -0.028em; }
.dx-head__sub { margin: 16px 0 0; font-size: 18px; line-height: 1.5; color: var(--dx-ink-2); }
.dx-head__sub a, .dx-what__after a, .dx-myth__a a { color: var(--dx-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dx-head--center { margin-inline: auto; text-align: center; }
.dx-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.dx-head--row h2 { max-width: 760px; }

.dx-grid { display: grid; gap: var(--dx-gap); }
.dx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* What is */
.dx-what__lead { max-width: 820px !important; margin: 0 auto 20px; text-align: center; font-size: 24px; line-height: 1.35; letter-spacing: -0.018em; font-weight: 500; color: var(--dx-ink); }
.dx-what__more { max-width: 820px !important; margin: 0 auto 32px; text-align: center; color: var(--dx-ink-2); }
.dx-what__after { max-width: 820px !important; margin: 32px auto; text-align: center; color: var(--dx-ink-2); }
.dx-what__numbers { margin-bottom: 40px; gap: 8px var(--dx-gap); }
a.dx-card, .dx-card { display: flex; flex-direction: column; gap: 8px; min-height: 196px; padding: 24px; border-radius: var(--dx-r-card); background: #fff; color: var(--dx-ink); text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
a.dx-card:hover { background: var(--dx-surface-2); color: var(--dx-ink); }
.dx-card__meta { font-size: 14px; font-weight: 500; color: var(--dx-ink-3); }
.dx-card__title { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.012em; }
.dx-card__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dx-ink-2); }
a.dx-tile { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 20px; border-radius: var(--dx-r-ctl); background: #fff; color: var(--dx-ink); font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
a.dx-tile:hover { background: var(--dx-surface-2); color: var(--dx-ink); }

/* Stats */
.dx-stats__grid { margin-bottom: 32px; }
.dx-stat { padding: 24px 24px 28px; border-radius: var(--dx-r-card); background: var(--dx-surface); }
.dx-stat__label { min-height: 42px; margin: 0 0 28px; font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--dx-ink); }
.dx-stat__num { margin: 0; font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; color: var(--dx-ink); font-variant-numeric: tabular-nums; }
.dx-stats__line { margin: 0; font-size: 18px; color: var(--dx-ink-2); }
.dx-source { margin: 24px 0 0; font-size: 13px; line-height: 1.5; color: var(--dx-ink-3); }
.dx-source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Myths */
.dx-myth { display: flex; flex-direction: column; gap: 16px; min-height: 220px; padding: 28px; border-radius: var(--dx-r-card); background: #fff; }
.dx-myth__q { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.018em; }
.dx-myth__a { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dx-ink-2); }
.dx-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: var(--dx-gap); padding: 24px 28px; border-radius: var(--dx-r-card); background: #fff; }
.dx-inline-cta p { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--dx-ink); }

/* Statement band */
.dx-statement { padding-block: 128px; background: var(--dx-navy); color: #fff; }
.dx-statement__big { max-width: 980px !important; margin: 0; font-size: 52px; line-height: 1.1; font-weight: 600; letter-spacing: -0.032em; color: #fff; text-wrap: balance; }
.dx-statement__big strong { font-weight: 600; color: var(--dx-accent); }
.dx-statement .dx-source { margin-top: 40px; color: var(--dx-on-navy-2); }

/* Heroes roles */
a.dx-role, .dx-role { display: flex; flex-direction: column; gap: 8px; min-height: 160px; padding: 24px; border-radius: var(--dx-r-card); background: var(--dx-surface); color: var(--dx-ink); text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
a.dx-role:hover { background: var(--dx-surface-2); color: var(--dx-ink); }
.dx-role__title { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.012em; color: inherit; }
.dx-role__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--dx-ink-2); }
a.dx-role--all { background: var(--dx-ink); color: #fff; }
a.dx-role--all:hover { background: var(--dx-navy-2); color: #fff; }
.dx-role--all .dx-role__text { color: var(--dx-on-navy-2); }

/* Why */
.dx-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.dx-why__item h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; letter-spacing: -0.018em; }
.dx-why__item p { margin: 0; color: var(--dx-ink-2); }

@media (max-width: 860px) {
  .dx-head { margin-bottom: 32px; }
  .dx-head h2 { font-size: 30px; }
  .dx-head__sub { font-size: 16px; }
  .dx-head--row { flex-direction: column; align-items: stretch; gap: 24px; text-align: center; }
  .dx-grid--3, .dx-why__grid { grid-template-columns: 1fr; }
  .dx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-what .dx-head--center, .dx-myths .dx-head--center { text-align: left; }
  .dx-what__lead { font-size: 20px; text-align: left; }
  .dx-what__more, .dx-what__after { text-align: left; }
  .dx-what__programs, .dx-what__numbers { grid-template-columns: 1fr; }
  .dx-card { min-height: 0; }
  a.dx-tile { justify-content: flex-start; }
  .dx-center .dx-btn, .dx-head--row .dx-btn, .dx-inline-cta .dx-btn { width: 100%; }
  .dx-stat { padding: 20px; text-align: center; }
  .dx-stat__label { min-height: 60px; margin-bottom: 16px; font-size: 14px; }
  .dx-stat__num { font-size: 36px; }
  .dx-stats__line { font-size: 16px; text-align: center; }
  .dx-stats .dx-source { text-align: center; }
  .dx-myth { min-height: 0; }
  .dx-inline-cta { flex-direction: column; align-items: stretch; }
  .dx-statement { padding-block: 80px; text-align: center; }
  .dx-statement__big { font-size: 32px; }
  .dx-role { min-height: 148px; padding: 20px; }
  .dx-why__grid { gap: 32px; }
}

/* ---------- 6. Restyled legacy sections ---------- */

/* 6a. Hero */
.hero-takeover {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-rows: auto auto;
  column-gap: 56px;
  align-items: center;
  align-content: center;
  min-height: 0;
  max-width: calc(var(--dx-max) + 2 * var(--dx-margin));
  margin: 0 auto !important;
  padding: 56px var(--dx-margin) 96px !important;
  background: var(--dx-bg) !important;
  background-image: none !important;
  color: var(--dx-ink);
  overflow: visible;
}
.hero-takeover::before { content: none; }
.hero-takeover__text { grid-column: 1; grid-row: 1; display: block; max-width: none; margin: 0; padding: 0; }
.hero-takeover__inner { max-width: none; margin: 0; padding: 0; text-align: left; }
.hero-takeover__h1 { margin: 0 0 24px; padding: 0; font-family: var(--font-heading); font-size: 50px; line-height: 1.04; font-weight: 600; letter-spacing: -0.032em; color: var(--dx-ink); }
.hero-takeover__lede { max-width: 520px; margin: 0 0 36px; font-size: 20px; line-height: 1.5; color: var(--dx-ink-2); }
.hero-takeover__action { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-takeover__cta,
a.hero-takeover__secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; min-width: 0; max-width: none; margin: 0; padding: 0 24px;
  border: 0; border-radius: var(--dx-r-ctl);
  font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0;
  text-decoration: none; box-shadow: none; cursor: pointer;
}
.hero-takeover__cta { background: var(--dx-accent); color: var(--dx-ink); }
.hero-takeover__cta:hover { background: var(--dx-accent-hover); }
a.hero-takeover__secondary { background: var(--dx-surface); color: var(--dx-ink); }
a.hero-takeover__secondary:hover { background: var(--dx-surface-2); color: var(--dx-ink); }
.hero-takeover__trust { grid-column: 1; grid-row: 2; align-self: start; position: static; display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 24px; width: auto; max-width: none !important; margin: 36px 0 0; padding: 0; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--dx-ink-2); }
.hero-takeover__trust-icon { color: transparent; }
.hero-takeover__trust-icon circle { fill: transparent; }
.hero-takeover__trust-check { stroke: var(--dx-ink); }
.hero-takeover__media { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 1 / 1.08; border-radius: var(--dx-r-box); overflow: hidden; background: var(--dx-surface); }
.hero-takeover__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

/* Form open: the hero becomes a navy band holding the form card. */
.hero-takeover.is-form-active {
  display: flex; flex-direction: column; justify-content: center;
  max-width: none; min-height: min(760px, 100svh); padding: 48px var(--dx-margin) !important;
  background: var(--dx-navy) !important;
}
.hero-takeover.is-form-active .hero-takeover__media { display: none; }
.hero-takeover__form { max-width: 760px; margin-inline: auto; padding: 0; }
.hero-takeover__form-inner { background: var(--dx-navy-2); border: 0; border-radius: var(--dx-r-box); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (max-width: 860px) {
  .hero-takeover { grid-template-columns: 1fr; padding: 24px var(--dx-margin) 64px !important; }
  .hero-takeover__inner { text-align: center; }
  .hero-takeover__h1 { font-size: 34px; letter-spacing: -0.03em; }
  .hero-takeover__lede { margin-inline: auto; font-size: 18px; }
  .hero-takeover__action { flex-direction: column; }
  .hero-takeover__cta, a.hero-takeover__secondary { width: 100%; }
  .hero-takeover__trust { grid-row: 2; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 28px; font-size: 14px; }
  .hero-takeover__media { grid-column: 1; grid-row: 3; aspect-ratio: 4 / 3; margin-top: 28px; }
}

/* 6b. Zones (legacy sections on every page) */
.zone, .zone--alt, .zone--dark { border: 0; }
.zone-header h2, .zone-header--center h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.028em; }
@media (max-width: 860px) { .zone-header h2, .zone-header--center h2 { font-size: 30px; } }

/* 6c. Regions map */
.shopdpa-map-band { padding-block: 0 var(--dx-section); background: var(--dx-bg); color: var(--dx-ink); }
.shopdpa-map-band > .container { max-width: calc(var(--dx-max) + 2 * var(--dx-margin)); padding-inline: var(--dx-margin); }
.shopdpa-map-band .shopdpa-tx-map--hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  align-items: start;
  margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
}
.shopdpa-map-band .shopdpa-tx-map__header { grid-column: 2; grid-row: 1; margin: 0 0 32px; padding: 0; text-align: left; }
.shopdpa-map-band .shopdpa-tx-map__title { margin: 0; font-size: 40px; line-height: 1.12; letter-spacing: -0.028em; color: var(--dx-ink); }
.shopdpa-map-band .shopdpa-tx-map__subtitle { display: none; }
.shopdpa-map-band .shopdpa-tx-map__stage { display: contents; }
.shopdpa-map-band .shopdpa-tx-map__svg-wrap { grid-column: 1; grid-row: 1 / span 2; align-self: center; max-width: none; margin: 0; padding: 48px; border-radius: var(--dx-r-box); background: var(--dx-surface); }
.shopdpa-map-band .shopdpa-tx-map__svg { display: block; width: 100%; height: auto; filter: none; }
.shopdpa-map-band .shopdpa-tx-map__sidebar { grid-column: 2; grid-row: 2; width: 100%; max-width: none; margin: 0; padding: 0; background: none; border: 0; }
.shopdpa-tx-map__sidebar-label { display: none; }
.shopdpa-tx-map .shopdpa-tx-map__base { fill: var(--dx-surface-2); }
.shopdpa-tx-map [data-color="west-texas"].shopdpa-tx-map__region-fill { fill: #C9D3E3; }
.shopdpa-tx-map [data-color="north-texas"].shopdpa-tx-map__region-fill { fill: #0A1B3D; }
.shopdpa-tx-map [data-color="east-texas"].shopdpa-tx-map__region-fill { fill: #5E7399; }
.shopdpa-tx-map [data-color="central-texas"].shopdpa-tx-map__region-fill { fill: #2A4275; }
.shopdpa-tx-map .shopdpa-tx-map__region-fill { stroke: var(--dx-surface); stroke-width: 10; }
.shopdpa-tx-map .shopdpa-tx-map__region:hover .shopdpa-tx-map__region-fill,
.shopdpa-tx-map .shopdpa-tx-map__region.is-hover .shopdpa-tx-map__region-fill { fill: var(--dx-link); }
.shopdpa-tx-map .shopdpa-tx-map__labels,
.shopdpa-tx-map .shopdpa-tx-map__numbers { display: none; }
.shopdpa-tx-map__sidebar-chip[data-color="west-texas"] { background: #C9D3E3; }
.shopdpa-tx-map__sidebar-chip[data-color="north-texas"] { background: #0A1B3D; }
.shopdpa-tx-map__sidebar-chip[data-color="east-texas"] { background: #5E7399; }
.shopdpa-tx-map__sidebar-chip[data-color="central-texas"] { background: #2A4275; }
.shopdpa-map-band .shopdpa-tx-map__sidebar-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; border: 0; }
.shopdpa-map-band .shopdpa-tx-map__sidebar-list li { margin: 0; padding: 0; border: 0; }
.shopdpa-map-band .shopdpa-tx-map__sidebar-link {
  display: grid; grid-template-columns: 12px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; align-content: center;
  min-height: 80px; padding: 0 24px; border: 0; border-radius: var(--dx-r-card);
  background: var(--dx-surface); color: var(--dx-ink); text-decoration: none; box-shadow: none; transform: none;
}
.shopdpa-map-band .shopdpa-tx-map__sidebar-link:hover,
.shopdpa-map-band .shopdpa-tx-map__sidebar-link.is-hover { background: var(--dx-surface-2); }
.shopdpa-map-band .shopdpa-tx-map__sidebar-chip { grid-column: 1; grid-row: 1 / span 2; width: 12px; height: 12px; border-radius: 3px; box-shadow: none; }
.shopdpa-map-band .shopdpa-tx-map__sidebar-chip.is-statewide-chip { display: block; background: transparent; }
.shopdpa-map-band .shopdpa-tx-map__sidebar-link.is-statewide { grid-template-columns: 12px 1fr; }
.shopdpa-map-band .shopdpa-tx-map__sidebar-link.is-statewide .shopdpa-tx-map__sidebar-name,
.shopdpa-map-band .shopdpa-tx-map__sidebar-link.is-statewide .shopdpa-tx-map__sidebar-sub { grid-column: 2; }
.shopdpa-map-band .shopdpa-tx-map__sidebar-name::before { content: none !important; display: none !important; }
.shopdpa-map-band .shopdpa-tx-map__sidebar-name { grid-column: 2; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--dx-ink); }
.shopdpa-map-band .shopdpa-tx-map__sidebar-sub { grid-column: 2; font-size: 15px; color: var(--dx-ink-2); }
@media (max-width: 860px) {
  .shopdpa-map-band .shopdpa-tx-map--hero { grid-template-columns: 1fr; }
  .shopdpa-map-band .shopdpa-tx-map__svg-wrap { grid-column: 1; grid-row: 1; padding: 24px; margin-bottom: 32px; }
  .shopdpa-map-band .shopdpa-tx-map__header { grid-column: 1; grid-row: 2; text-align: center; margin-bottom: 24px; }
  .shopdpa-map-band .shopdpa-tx-map__title { font-size: 30px; }
  .shopdpa-map-band .shopdpa-tx-map__sidebar { grid-column: 1; grid-row: 3; }
  .shopdpa-map-band .shopdpa-tx-map__sidebar-link { padding: 0 20px; }
}

/* 6d. Accordions (FAQ and How It Works) */
.faq-accordion { display: grid; gap: 8px; width: 100%; max-width: none; margin: 0; border: 0; }
.faq-accordion__item { margin: 0; padding: 0 28px; border: 0; border-radius: var(--dx-r-card); background: #fff; box-shadow: none; }
.zone .faq-accordion__item { background: var(--dx-surface); }
.zone--alt .faq-accordion__item { background: #fff; }
.faq-accordion__q { min-height: 72px; padding: 16px 0; font-family: var(--font-heading); font-size: 19px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; color: var(--dx-ink); }
.faq-accordion__a { padding: 0 56px 28px 0; color: var(--dx-ink-2); }
.faq-accordion__a p { max-width: none; }
.process-step__icon { display: none; }
.process-step__micro { font-style: normal; font-weight: 500; color: var(--dx-ink); }

body .dx-faq > .container { max-width: calc(840px + 2 * var(--dx-margin)) !important; padding-inline: var(--dx-margin); }
.dx-faq .zone-header { margin-bottom: 48px; }
.dx-faq, .dx-process { padding-block: var(--dx-section); background: var(--dx-surface); }

.dx-process > .container {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: start;
  max-width: calc(var(--dx-max) + 2 * var(--dx-margin)); padding-inline: var(--dx-margin);
}
.dx-process .zone-header { grid-column: 2; grid-row: 1; position: sticky; top: 112px; margin: 0; max-width: none; text-align: right; }
.dx-process .faq-accordion { grid-column: 1; grid-row: 1; }
.dx-process .process-disclosure { grid-column: 1 / -1; max-width: none; margin: 32px 0 0; font-size: 13px; line-height: 1.5; text-align: left; color: var(--dx-ink-3); }
@media (max-width: 860px) {
  .faq-accordion__item { padding: 0 20px; }
  .faq-accordion__q { min-height: 68px; font-size: 17px; }
  .faq-accordion__a { padding-right: 0; }
  .dx-process > .container { grid-template-columns: 1fr; row-gap: 32px; }
  .dx-process .zone-header { grid-column: 1; grid-row: 1; position: static; text-align: center; }
  .dx-process .faq-accordion { grid-row: 2; }
}

/* 6e. Calculator */
#calculator.zone { padding-block: var(--dx-section); background: var(--dx-bg); }
#calculator > .container { max-width: calc(var(--dx-max) + 2 * var(--dx-margin)); padding-inline: var(--dx-margin); }
#calculator .zone-header { margin-bottom: 48px; }
.calc { border: 0; border-radius: var(--dx-r-box); background: var(--dx-surface); box-shadow: none; overflow: hidden; }
.calc__inputs { background: var(--dx-surface); border: 0; }
.calc__results { background: var(--dx-surface-2); border: 0; }
.calc__title { font-size: 22px; letter-spacing: -0.018em; }
.calc input[type="text"], .calc input[type="number"], .calc select, .calc__input { border: 0; border-radius: var(--dx-r-ctl); background-color: #fff; box-shadow: none; }
.calc input:focus-visible, .calc select:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.calc .btn--primary, .calc__submit { width: 100%; border-radius: var(--dx-r-ctl); }

/* ---------- 7. Final CTA and footer ---------- */
.dx-final { padding-block: 0 var(--dx-section); background: var(--dx-surface); }
.zone + .dx-final, .dx-sec:not(.dx-sec--alt) + .dx-final { padding-top: var(--dx-section); }
.dx-final__box { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: center; padding: 72px; border-radius: var(--dx-r-box); background: var(--dx-navy); color: #fff; }
.dx-final__text h2 { margin: 0 0 16px; font-size: 44px; line-height: 1.1; letter-spacing: -0.028em; color: #fff; }
.dx-final__text p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--dx-on-navy-2); }
.dx-final__actions { display: flex; flex-direction: column; gap: 12px; }
.dx-final__actions .dx-btn { width: 100%; }
@media (max-width: 860px) {
  .dx-final__box { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; text-align: center; }
  .dx-final__text h2 { font-size: 30px; }
  .dx-final__text p { font-size: 16px; }
}

.site-footer { background: var(--dx-surface); color: var(--dx-ink-2); border: 0; }
.site-footer__inner { max-width: calc(var(--dx-max) + 2 * var(--dx-margin)); padding: 72px var(--dx-margin) 40px; }
.site-footer__logo img { height: 28px; width: auto; }
.site-footer h2, .site-footer h3, .site-footer h4, .site-footer__heading, .site-footer__col-title { font-family: var(--font-heading); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--dx-ink); }
.site-footer a { color: var(--dx-ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--dx-ink); }
.site-footer__divider { display: none; }
.site-footer__legal { margin-top: 48px; color: var(--dx-ink-3); }
.site-footer__legal p { max-width: none; color: var(--dx-ink-3); }
.site-footer__legal strong { color: var(--dx-ink-2); }
.site-footer__legal a, .site-footer__full-link { color: var(--dx-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__eho, .site-footer__eho-icon { color: var(--dx-ink-2); }
.site-footer__eho-icon path, .site-footer__eho-icon rect { stroke: currentColor; }
img.site-footer__eho-icon { filter: brightness(0); opacity: 1; }
.site-footer__col a, .site-footer__columns a { color: var(--dx-ink-2); }

.mobile-sticky-cta { background: #fff; border: 0; box-shadow: 0 -6px 20px rgba(11, 23, 48, 0.08); }

/* ---------- 8. Article template ---------- */
.dx-article { background: var(--dx-bg); }
.dx-article__head { padding: 40px 0 48px; }
.dx-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; }
.dx-crumbs li { display: inline-flex; gap: 8px; margin: 0; color: var(--dx-ink-3); }
.dx-crumbs a { color: var(--dx-ink-2); font-weight: 500; text-decoration: none; }
.dx-crumbs a:hover { color: var(--dx-ink); }
.dx-article__h1 { max-width: 980px; margin: 0 0 20px; font-size: 52px; line-height: 1.06; font-weight: 600; letter-spacing: -0.032em; color: var(--dx-ink); }
.dx-article__lede { max-width: 820px !important; margin: 0 0 28px; font-size: 20px; line-height: 1.5; color: var(--dx-ink-2); }
.dx-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; color: var(--dx-ink-2); }
.dx-byline__item { display: inline-flex; align-items: center; gap: 10px; }
.dx-byline img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.dx-byline a { color: var(--dx-ink); font-weight: 500; text-decoration: none; }
.dx-byline a:hover { text-decoration: underline; text-underline-offset: 3px; }

.dx-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 72px; align-items: start; padding-bottom: var(--dx-section); }
.dx-article--no-rail .dx-article__grid { grid-template-columns: minmax(0, 860px); }
.dx-article__body { min-width: 0; overflow-wrap: break-word; }

/* Prose */
.dx-prose { font-size: 18px; line-height: 1.75; color: var(--dx-ink); }
.dx-prose > * { max-width: none !important; }
.dx-prose p, .dx-prose li { max-width: none; }
.dx-prose p { margin: 0 0 1.2em; }
.dx-prose h2 { margin: 2.2em 0 0.7em !important; font-size: 34px; line-height: 1.15; letter-spacing: -0.026em; scroll-margin-top: 104px; }
.dx-prose h3 { margin: 1.8em 0 0.5em !important; font-size: 24px; line-height: 1.25; letter-spacing: -0.018em; scroll-margin-top: 104px; }
.dx-prose > :first-child, .dx-prose > :first-child h2 { margin-top: 0 !important; }
.dx-prose ul, .dx-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.dx-prose li { margin: 0 0 0.5em; line-height: 1.65; }
.dx-prose a { color: var(--dx-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dx-prose img { height: auto; border-radius: var(--dx-r-card); }
.dx-prose hr { display: none; }

/* Summary, facts, bottom line: solid cards, no strokes or accent edges */
.dx-prose .pillar-ai-summary,
.dx-prose .pillar-bottom-line,
.dx-prose .pillar-summary {
  margin: 0 0 32px; padding: 28px 32px; border: 0 !important; border-radius: var(--dx-r-card);
  background: var(--dx-surface) !important; box-shadow: none; color: var(--dx-ink);
}
.dx-prose .pillar-bottom-line { margin: 32px 0; }
.dx-prose .pillar-ai-summary__label,
.dx-prose .pillar-bottom-line__label,
.dx-prose .pillar-summary__label {
  display: block; margin: 0 0 12px; font-family: var(--font-heading); font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none; color: var(--dx-ink);
}
.dx-prose .pillar-ai-summary__label svg, .dx-prose .pillar-summary__label svg { display: none; }
.dx-prose .pillar-ai-summary__list { margin: 0; }
.dx-prose .pillar-ai-summary__list li:last-child, .dx-prose .pillar-bottom-line__body > :last-child { margin-bottom: 0; }
.dx-prose .pillar-bottom-line__body { font-size: 18px; }

.dx-prose .pillar-quick-facts { margin: 0 0 40px; padding: 0; background: none; border: 0; }
.dx-prose .pillar-quick-facts__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--dx-gap); }
.dx-prose .pillar-quick-facts__chip { margin: 0; padding: 20px; border: 0; border-radius: var(--dx-r-card); background: var(--dx-surface); box-shadow: none; font-size: 14px; line-height: 1.45; color: var(--dx-ink-2); }
.dx-prose .pillar-quick-facts__chip strong,
.dx-prose .pillar-quick-facts__chip > :first-child { display: block; margin-bottom: 6px; font-size: 26px; line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; color: var(--dx-ink); }

/* Inline call to action */
.dx-prose .pillar-inline-cta,
.dx-prose .midarticle-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin: 40px 0; padding: 28px 32px; border: 0; border-radius: var(--dx-r-card);
  background: var(--dx-navy); box-shadow: none; color: #fff;
}
.dx-prose .pillar-inline-cta h3, .dx-prose .pillar-inline-cta strong, .dx-prose .pillar-inline-cta__title { margin: 0 0 6px !important; font-size: 22px; color: #fff; }
.dx-prose .pillar-inline-cta p, .dx-prose .pillar-inline-cta__sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--dx-on-navy-2); }
.dx-prose .pillar-inline-cta a.btn, .dx-prose .midarticle-cta a.btn { flex: none; color: var(--dx-ink); text-decoration: none; }

/* Tables */
.dx-prose figure.wp-block-table, .dx-prose .table-wrap { margin: 32px 0; overflow-x: auto; border-radius: var(--dx-r-card); background: var(--dx-surface); }
.dx-prose table { width: 100%; min-width: 520px; margin: 0; border: 0; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.dx-prose table th, .dx-prose table td { padding: 16px 20px; border: 0; text-align: left; vertical-align: top; }
.dx-prose table thead th { font-weight: 600; color: var(--dx-ink); background: var(--dx-surface-2); }
.dx-prose table tbody tr:nth-child(even) td { background: #EEF1F6; }
.dx-prose table tbody tr:nth-child(odd) td { background: transparent; }
.dx-prose figure.wp-block-table figcaption, .dx-prose .micro-citation { margin: 0; padding: 12px 20px 16px; font-size: 13px; line-height: 1.5; text-align: left; color: var(--dx-ink-3); background: var(--dx-surface); }

.dx-prose .faq-accordion { margin: 24px 0 32px; }
.dx-prose .faq-accordion__item { background: var(--dx-surface); }

/* Contents rail */
.dx-article__rail { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
.dx-article__rail .pillar-sticky-toc {
  float: none !important; position: static !important; width: auto !important; max-width: none !important; max-height: none !important;
  margin: 0 !important; padding: 0 !important; overflow: visible; background: none; border: 0; box-shadow: none;
}
.dx-article__rail .pillar-sticky-toc__cta-card,
body.is-pillar-page .dx-article__rail .pillar-sticky-toc__cta-card.is-compact {
  margin: 0 0 32px; padding: 24px; border: 0; border-radius: var(--dx-r-card); background: var(--dx-navy); box-shadow: none; text-align: left;
}
body .dx-article__rail .pillar-sticky-toc__cta-card-h { margin: 0 0 16px; font-family: var(--font-heading); font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; text-align: left; color: #fff; }
body .dx-article__rail .pillar-sticky-toc__cta-card-sub { display: none; }
body .dx-article__rail .pillar-sticky-toc__cta-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: var(--dx-r-ctl); background: var(--dx-accent); color: var(--dx-ink); font-family: var(--font-body); font-size: 15px; font-weight: 600; text-decoration: none; }
body .dx-article__rail .pillar-sticky-toc__label { display: block; margin: 0 0 12px; padding: 0 12px; font-family: var(--font-heading); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--dx-ink); }
body .dx-article__rail .pillar-sticky-toc__list { display: grid; gap: 2px; margin: 0; padding: 0; border: 0; list-style: none; }
body .dx-article__rail .pillar-sticky-toc__list a { display: block; margin: 0; padding: 8px 12px; border: 0; border-radius: var(--dx-r-ctl); font-size: 14px; line-height: 1.4; font-weight: 400; color: var(--dx-ink-2); text-decoration: none; }
body .dx-article__rail .pillar-sticky-toc__list a::before { content: none; }
body .dx-article__rail .pillar-sticky-toc__list a:hover { padding-left: 12px; background: var(--dx-surface); color: var(--dx-ink); text-decoration: none; }
body .dx-article__rail .pillar-sticky-toc__list a.is-active { padding-left: 12px; background: var(--dx-surface); color: var(--dx-ink); font-weight: 600; }
.dx-article__rail .pillar-sticky-toc__toggle { display: none; }

/* Lead form block under an article */
.cpt-form.zone--alt { padding-block: var(--dx-section); background: var(--dx-surface); border: 0; }
.cpt-form__title { font-size: 40px; line-height: 1.12; letter-spacing: -0.028em; }
.cpt-form__lede { color: var(--dx-ink-2); }

@media (max-width: 1040px) {
  .dx-article__grid { grid-template-columns: minmax(0, 1fr); }
  .dx-article__rail { order: -1; position: static; max-height: none; margin-bottom: 32px; overflow: visible; }
  .dx-article__rail .pillar-sticky-toc__cta-card { display: none; }
  .dx-article__rail .pillar-sticky-toc { padding: 4px 8px !important; border-radius: var(--dx-r-card); background: var(--dx-surface); }
  .dx-article__rail .pillar-sticky-toc__toggle { display: flex; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 12px; font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--dx-ink); }
  body .dx-article__rail .pillar-sticky-toc__label { display: none; }
  body .dx-article__rail .pillar-sticky-toc.is-open .pillar-sticky-toc__list { padding-bottom: 8px; }
  body .dx-article__rail .pillar-sticky-toc__list a:hover,
  body .dx-article__rail .pillar-sticky-toc__list a.is-active { background: #fff; }
}
@media (max-width: 860px) {
  .dx-article__head { padding: 20px 0 32px; }
  .dx-article__h1 { font-size: 34px; letter-spacing: -0.028em; }
  .dx-article__lede { font-size: 18px; }
  .dx-byline { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dx-prose { font-size: 17px; line-height: 1.7; }
  .dx-prose h2 { font-size: 27px; }
  .dx-prose h3 { font-size: 21px; }
  .dx-prose .pillar-ai-summary, .dx-prose .pillar-bottom-line, .dx-prose .pillar-summary { padding: 24px 20px; }
  .dx-prose .pillar-quick-facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-prose .pillar-inline-cta, .dx-prose .midarticle-cta { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 20px; }
  .dx-prose .pillar-inline-cta a.btn { width: 100%; }
  .cpt-form__title { font-size: 30px; }
}

/* Article: neutralise the old per-element side padding on phones, and keep buttons out of the link style */
body .dx-article p, body .dx-article h2, body .dx-article h3, body .dx-article h4,
body .dx-article figure, body .dx-article blockquote { margin-inline: 0 !important; padding-inline: 0 !important; }
body .dx-article .dx-prose ul, body .dx-article .dx-prose ol { margin-inline: 0 !important; padding-inline: 1.3em 0 !important; }
body .dx-article .dx-prose figure.wp-block-table figcaption,
body .dx-article .dx-prose .micro-citation { padding-inline: 20px !important; }
body .dx-prose a.btn, body .dx-prose a.pillar-inline-cta__btn, body .dx-prose .pillar-inline-cta a {
  display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 52px; padding: 0 24px;
  border-radius: var(--dx-r-ctl); background: var(--dx-accent); color: var(--dx-ink); font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: none;
}
body .dx-prose .pillar-inline-cta__text > :first-child { display: block; margin: 0 0 6px !important; font-family: var(--font-heading); font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.018em; color: #fff; text-align: left; }
body .dx-prose .pillar-inline-cta__text { text-align: left; }
@media (max-width: 860px) {
  body .dx-prose .pillar-inline-cta a { width: 100%; }
}
body .dx-article .dx-prose > aside, body .dx-article .dx-prose > section, body .dx-article .dx-prose > div, body .dx-article .dx-prose > figure { margin-inline: 0 !important; width: auto; }
.dx-prose h2 + h2.is-h2 { display: none; }


/* ---------- 9. Remaining templates ---------- */

/* 9a. Page heads: one light head everywhere (was a navy band or a dimmed photo) */
body .cpt-hero,
body .cpt-pillar .cpt-hero,
body .hero-compact,
body .byron-bio__hero,
body .learn-hero,
body .legal-page__header {
  position: relative; left: auto; width: auto !important; max-width: none !important; margin: 0 !important;
  padding: 40px 0 48px !important; border: 0 !important; box-shadow: none;
  background: var(--dx-bg) !important; background-image: none !important; color: var(--dx-ink) !important; text-align: left;
}
body .cpt-hero::before, body .cpt-hero::after { content: none !important; display: none !important; }
body .cpt-hero > .container,
body .cpt-pillar .cpt-hero > .container,
body .hero-compact__inner,
body .learn-hero__inner,
body .byron-bio__hero > .container {
  width: 100%; max-width: calc(var(--dx-max) + 2 * var(--dx-margin)) !important; margin-inline: auto !important; padding-inline: var(--dx-margin) !important; text-align: left;
}
body .cpt-hero__h1, body .cpt-pillar .cpt-hero__h1, body .hero-compact h1, body .learn-hero h1, body .byron-bio__hero h1 {
  margin: 0 0 20px !important; font-family: var(--font-heading); font-size: 52px !important; line-height: 1.06 !important; font-weight: 600; letter-spacing: -0.032em; color: var(--dx-ink) !important; text-align: left;
}
body .cpt-hero__lede, body .cpt-pillar .cpt-hero__lede, body .hero-compact p, body .learn-hero p, body .byron-bio__hero p {
  margin: 0 !important; font-size: 20px !important; line-height: 1.5 !important; color: var(--dx-ink-2) !important; text-align: left;
}
body .cpt-hero__breadcrumb, body .cpt-pillar .cpt-hero__breadcrumb, body .hero-compact__breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px !important; padding: 0; font-size: 14px !important; color: var(--dx-ink-3) !important; background: none;
}
body .cpt-hero__breadcrumb a, body .hero-compact__breadcrumb a { color: var(--dx-ink-2) !important; font-weight: 500; text-decoration: none; }
body .cpt-hero__breadcrumb [aria-current], body .hero-compact__breadcrumb [aria-current] { display: none; }
body .cpt-hero__sep:last-of-type, body .hero-compact__breadcrumb-sep:last-of-type { display: none; }
body .marketing-hero__cta-row { justify-content: flex-start; margin-top: 28px; }

body .byron-bio__hero-photo img, body .byron-bio__hero-photo { border: 0 !important; box-shadow: none !important; }
body .byron-bio__hero-meta, body .byron-bio__hero a { color: var(--dx-ink-2) !important; }
@media (max-width: 860px) {
  body .cpt-hero, body .cpt-pillar .cpt-hero, body .hero-compact, body .byron-bio__hero, body .learn-hero { padding: 20px 0 32px !important; }
  body .cpt-hero__h1, body .cpt-pillar .cpt-hero__h1, body .hero-compact h1, body .learn-hero h1, body .byron-bio__hero h1 { font-size: 34px !important; letter-spacing: -0.028em; }
  body .cpt-hero__lede, body .cpt-pillar .cpt-hero__lede, body .hero-compact p, body .learn-hero p { font-size: 18px !important; }
}

/* 9b. Section rhythm and widths on legacy templates */
body .zone--dark { background: var(--dx-navy) !important; }
body .cpt-pillar section > .container, body .learn-page section > .container, body .hub-body > .container {
  max-width: calc(var(--dx-max) + 2 * var(--dx-margin)); padding-inline: var(--dx-margin);
}
body .cpt-pillar h2, body .learn-section__head h2, body .cross-grid__title, body .quick-facts__title, body .loan-limits__title, body .ami-snapshot__title {
  font-family: var(--font-heading); font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.026em; color: var(--dx-ink); text-transform: none;
}
body .ami-snapshot__head::before, body .loan-limits__title::before, body .cpt-pillar h2::before { content: none !important; display: none !important; }
@media (max-width: 860px) {
  body .cpt-pillar h2, body .learn-section__head h2, body .cross-grid__title, body .quick-facts__title, body .loan-limits__title, body .ami-snapshot__title { font-size: 27px; }
}

/* 9c. Fact tiles: the label names the value, so it stays, above the value, in ink */
body .quick-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--dx-gap); }
body .quick-facts__card, body .loan-limits__card, body .base-programs__card, body .reviewed-by__card {
  padding: 24px; border: 0 !important; border-radius: var(--dx-r-card); background: var(--dx-surface); box-shadow: none !important; text-align: left;
}
body .zone--alt .quick-facts__card, body .quick-facts .quick-facts__card, body .loan-limits .loan-limits__card, body .base-programs .base-programs__card { background: #fff; }
body .quick-facts, body .loan-limits, body .base-programs { background: var(--dx-surface); border: 0; }
body .quick-facts__label, body .loan-limits__card-eyebrow, body .base-programs__eyebrow, body .reviewed-by__label {
  display: block; margin: 0 0 16px; font-family: var(--font-body); font-size: 15px; line-height: 1.4; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--dx-ink);
}
body .loan-limits__card-eyebrow, body .base-programs__eyebrow { font-family: var(--font-heading); font-size: 20px; font-weight: 600; letter-spacing: -0.012em; }
body .quick-facts__value { display: block; font-family: var(--font-heading); font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -0.028em; color: var(--dx-ink); }
body .quick-facts__cite, body .loan-limits__cite { font-size: 13px; color: var(--dx-ink-3); }

/* 9d. Link cards (related guides, hubs): solid, no colour block, no cue */
body .cross-grid__cards { gap: var(--dx-gap); }
body .cross-grid__card {
  border: 0 !important; border-radius: var(--dx-r-card); background: var(--dx-surface); box-shadow: none !important; overflow: hidden; transform: none !important;
  transition: background-color var(--t-fast) var(--ease);
}
body .zone--alt .cross-grid__card, body .cross-grid.zone--alt .cross-grid__card { background: #fff; }
body .cross-grid__card:hover { background: var(--dx-surface-2); }
body .cross-grid__card-image:not(:has(img)), body .cross-grid__card-icon, body .cross-grid__card-cta { display: none !important; }
body .cross-grid__card-title .cross-grid__card-label { display: inline; font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
body .cross-grid__card-image img { border-radius: 0; }
body .cross-grid__card-link { color: var(--dx-ink); text-decoration: none; }
body .cross-grid__card-body { padding: 24px; }
body .cross-grid__card-title { margin: 0 0 8px; font-family: var(--font-heading); font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; color: var(--dx-ink); }
body .cross-grid__card-excerpt { margin: 0; font-size: 15px; line-height: 1.5; color: var(--dx-ink-2); }
body .cross-grid__search-input, body .cities-search input { min-height: 48px; border: 0; border-radius: var(--dx-r-ctl); background: var(--dx-surface); box-shadow: none; }
body .zone--alt .cross-grid__search-input { background: #fff; }

/* 9e. Tables and callouts outside the article template */
body .pillar-compare-wrap, body .pillar-compare-scroll, body .shopdpa-rate-tables .pillar-compare-wrap { margin: 32px 0; border: 0 !important; border-radius: var(--dx-r-card); background: var(--dx-surface); box-shadow: none !important; overflow-x: auto; }
body .pillar-compare-wrap .pillar-compare-scroll { margin: 0; border-radius: 0; background: none; }
body table.pillar-compare, body .pillar-compare table, body .cpt-body table, body .ami-snapshot table, body .bah-table table {
  width: 100%; margin: 0; border: 0 !important; border-collapse: collapse; border-radius: 0; font-size: 16px; line-height: 1.5; background: transparent; box-shadow: none;
}
body .pillar-compare th, body .pillar-compare td, body .cpt-body table th, body .cpt-body table td, body .ami-snapshot table th, body .ami-snapshot table td, body .bah-table th, body .bah-table td {
  padding: 16px 20px; border: 0 !important; text-align: left; vertical-align: top; color: var(--dx-ink);
}
body .pillar-compare thead th, body .cpt-body table thead th, body .ami-snapshot table thead th, body .bah-table thead th { background: var(--dx-surface-2) !important; color: var(--dx-ink) !important; font-weight: 600; text-transform: none; letter-spacing: 0; }
body .pillar-compare tbody tr:nth-child(even) td, body .cpt-body table tbody tr:nth-child(even) td, body .ami-snapshot table tbody tr:nth-child(even) td { background: #EEF1F6; }
body .pillar-compare tbody tr:nth-child(odd) td, body .cpt-body table tbody tr:nth-child(odd) td, body .ami-snapshot table tbody tr:nth-child(odd) td { background: var(--dx-surface); }
body .pillar-compare__caption { margin: 0; padding: 20px 20px 12px; font-family: var(--font-heading); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; text-align: left; text-transform: none; color: var(--dx-ink); caption-side: top; }
body .pillar-compare__note, body .pillar-compare__source { margin: 0; padding: 12px 20px 16px !important; font-size: 13px; line-height: 1.5; text-align: left; color: var(--dx-ink-3); background: var(--dx-surface); border: 0; }
body .pillar-fineprint, body .sources { margin: 32px 0 0; padding: 0; border: 0; font-size: 13px; line-height: 1.6; color: var(--dx-ink-3); }

body .pillar-ai-summary, body .pillar-bottom-line, body .pillar-summary, body .cpt-body__mission, body .about-intro__lock, body .contact-about__lock, body .prose-block__lede, body .pillar-callout {
  margin: 0 0 32px; padding: 28px 32px; border: 0 !important; border-radius: var(--dx-r-card) !important; background: var(--dx-surface) !important; box-shadow: none !important; color: var(--dx-ink);
}
body .zone--alt .pillar-ai-summary, body .zone--alt .pillar-bottom-line { background: #fff !important; }
body .pillar-ai-summary__label, body .pillar-bottom-line__label, body .pillar-summary__label {
  display: block; margin: 0 0 12px; font-family: var(--font-heading); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: var(--dx-ink);
}
body .pillar-ai-summary__label svg, body .pillar-summary__label svg { display: none; }
body .pillar-inline-cta { border: 0; border-radius: var(--dx-r-card); background: var(--dx-navy); box-shadow: none; }

/* 9f. Side rails on pillar pages */
body .programs-aside__cta, body .pillar-sticky-toc__cta-card, body .talk-book__card--call {
  padding: 24px; border: 0 !important; border-radius: var(--dx-r-card) !important; background: var(--dx-navy) !important; box-shadow: none !important; color: #fff;
}
body .programs-aside__cta-btn, body .pillar-sticky-toc__cta-btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: var(--dx-r-ctl) !important;
  background: var(--dx-accent) !important; color: var(--dx-ink) !important; font-family: var(--font-body); font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: none;
}
body .programs-toc__title, body .pillar-sticky-toc__label { margin: 24px 0 12px; padding: 0 12px; font-family: var(--font-heading); font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--dx-ink) !important; }
body .programs-toc__list, body .pillar-sticky-toc__list { display: grid; gap: 2px; margin: 0; padding: 0; border: 0 !important; list-style: none; }
body .programs-toc__list a, body .pillar-sticky-toc__list a { display: block; margin: 0 !important; padding: 8px 12px !important; border: 0 !important; border-radius: var(--dx-r-ctl); font-size: 14px; line-height: 1.4; color: var(--dx-ink-2); text-decoration: none; }
body .programs-toc__list a::before, body .pillar-sticky-toc__list a::before { content: none !important; }
body .programs-toc__list a:hover, body .programs-toc__list a.is-active, body .pillar-sticky-toc__list a:hover, body .pillar-sticky-toc__list a.is-active { background: var(--dx-surface); color: var(--dx-ink); }

/* 9g. Filters and pagers: resting = surface, selected = ink */
body .learn-filters-zone, body .cities-filter { background: var(--dx-bg); border: 0; }
body .learn-filter, body .cities-filter__chip, body .cities-pager__item, body .cities-pager__num, body .cities-pager__arrow {
  min-height: 44px; padding: 0 16px; border: 0 !important; border-radius: var(--dx-r-ctl) !important; background: var(--dx-surface) !important; color: var(--dx-ink) !important;
  font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; box-shadow: none !important;
}
body .learn-filter.is-active, body .learn-filter[aria-pressed="true"], body .cities-filter__chip.is-active, body .cities-filter__chip[aria-pressed="true"], body .cities-pager__item.is-active, body .cities-pager__num.is-active, body .cities-pager [aria-current] {
  background: var(--dx-ink) !important; color: #fff !important;
}
body .cities-filter__count { background: none !important; color: inherit !important; font-weight: 400; opacity: 1; }

/* 9h. Learn hub */
body .learn-card { border: 0 !important; border-radius: var(--dx-r-card); background: var(--dx-surface); box-shadow: none !important; overflow: hidden; transform: none !important; transition: background-color var(--t-fast) var(--ease); }
body .zone--alt .learn-card { background: #fff; }
body .learn-card:hover { background: var(--dx-surface-2); }
body .learn-card__media { position: static; height: auto; min-height: 0; padding: 24px 24px 0; background: none !important; background-image: none !important; }
body .learn-card__media:has(img) { padding: 0; }
body .learn-card__media::before, body .learn-card__media::after { content: none !important; }
body .learn-card__cat { position: static; display: inline-block; padding: 0; border-radius: 0; background: none !important; color: var(--dx-ink-3) !important; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
body .learn-card__body { padding: 8px 24px 24px; }
body .learn-card__title { font-family: var(--font-heading); font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; color: var(--dx-ink); }
body .learn-card--large .learn-card__title { font-size: 26px; letter-spacing: -0.02em; }
body .learn-card__lede { font-size: 15px; line-height: 1.5; color: var(--dx-ink-2); }
body .learn-card__meta { border: 0; color: var(--dx-ink-3); font-size: 14px; }
body .learn-tool { border: 0 !important; border-radius: var(--dx-r-card); background: #fff; box-shadow: none !important; }
body .learn-tool__icon, body .learn-tool__arrow { display: none; }
body .learn-tool__title { font-family: var(--font-heading); font-size: 19px; font-weight: 600; letter-spacing: -0.012em; }

/* 9i. About, bio, contact, talk, scholarship, confirmation */
body [class^="about-"] h2, body [class*=" about-"] h2, body .contact-reach h2, body .contact-about h2, body .contact-faq h2, body .byron-bio h2, body .tyler-bio h2, body [class^="confirmation-"] h2 {
  font-family: var(--font-heading); font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.026em; color: var(--dx-ink);
}
body .about-programs__card, body .about-founders__card, body .contact-reach__card, body .confirmation-keep__card, body .talk-book__card, body .talk-book__widget, body .talk-book__frame {
  border: 0 !important; border-radius: var(--dx-r-card) !important; background: var(--dx-surface); box-shadow: none !important; transform: none !important;
}
body .zone--alt .about-programs__card, body .about-programs .about-programs__card, body .contact-reach .contact-reach__card { background: var(--dx-surface); }
body .about-programs__tag, body .about-programs__who, body .contact-reach__who, body .about-founders__role, body .confirmation-keep__lbl {
  font-family: var(--font-body); font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--dx-ink-3) !important;
}
body .about-programs__card h3, body .about-founders__card h3, body .contact-reach__card h3 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.012em; color: var(--dx-ink); }
body [class^="about-"] img, body [class*=" about-"] img, body .confirmation-next__media img, body .confirmation-wait img { border-radius: var(--dx-r-box); }
body .byron-bio [class*="__num"], body .tyler-bio [class*="__num"], body .confirmation-rail__num, body .process-step__num { display: none !important; }
body .confirmation-rail__step { padding-left: 0; border: 0; }
body .confirmation-rail::before, body .confirmation-rail__step::before { content: none !important; }
body .confirmation-deadline__band { border: 0 !important; border-radius: var(--dx-r-card); background: var(--dx-surface) !important; box-shadow: none; }
body .confirmation-hero { background: var(--dx-bg) !important; color: var(--dx-ink); }

/* 9j. Fixes after the first full render */
body .dx-final__text h2 { color: #fff !important; font-size: 44px; letter-spacing: -0.028em; }
@media (max-width: 860px) { body .dx-final__text h2 { font-size: 30px; } }
body .learn-tool { display: block !important; padding: 24px; }
body .learn-tool__body { display: block; }
body .learn-card__media { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; }

body .ami-snapshot__head, body .ami-snapshot__title, body .loan-limits__title, body .loan-limits > .container > h2 { border: 0 !important; padding-top: 0 !important; background: none !important; }
body .ami-snapshot__head::before, body .ami-snapshot__title::before, body .loan-limits::before, body .loan-limits h2::before, body .ami-snapshot::before { content: none !important; display: none !important; }
body .byron-bio__hero-band, body .byron-bio__lede-band, body .tyler-bio__hero-band {
  background: var(--dx-bg) !important; background-image: none !important; color: var(--dx-ink) !important; border: 0 !important;
}
body .byron-bio__hero-band *, body .tyler-bio__hero-band * { color: var(--dx-ink) !important; }
body .byron-bio__hero-band p, body .byron-bio__hero-band a, body .tyler-bio__hero-band p { color: var(--dx-ink-2) !important; }
body .byron-bio__hero-band [class*="eyebrow"], body .byron-bio__hero-band [class*="role"] { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--dx-ink-3) !important; }
body .byron-bio__lede-band::before, body .byron-bio__lede-band p::before { content: none !important; }
body .byron-bio img, body .tyler-bio img { border: 0 !important; box-shadow: none !important; }

/* 9k. Lead form on light surfaces (the hero's form keeps its dark card) */
body .cpt-form .ff-el-input--label label, body .cpt-form .ff-el-input--label {
  font-family: var(--font-heading); font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.018em; text-transform: none; color: var(--dx-ink);
}
body .cpt-form .ff-pill-options .ff-el-form-check-label,
body .cpt-form .ff-el-form-check label {
  min-height: 56px; border: 0 !important; border-radius: var(--dx-r-ctl) !important; background: #fff !important; color: var(--dx-ink) !important; box-shadow: none !important; font-size: 16px; font-weight: 500;
}
body .cpt-form .ff-el-form-check label:hover { background: var(--dx-surface-2) !important; }
body .cpt-form .ff-el-form-check input:checked + span, body .cpt-form .ff-el-form-check.ff_item_selected label { color: var(--dx-ink) !important; }
body .cpt-form .ff-el-form-control { min-height: 52px; border: 0 !important; border-radius: var(--dx-r-ctl) !important; background: #fff !important; box-shadow: none !important; }
body .cpt-form .ff-el-form-control:focus { box-shadow: var(--ring-focus) !important; }
body .cpt-form .ff-btn { min-height: 52px; border: 0 !important; border-radius: var(--dx-r-ctl) !important; font-weight: 600; box-shadow: none !important; }
body .cpt-form .ff-btn-submit, body .cpt-form .ff-btn-next { background: var(--dx-accent) !important; color: var(--dx-ink) !important; }
body .cpt-form .ff-el-progress { height: 6px; border-radius: 3px; background: var(--dx-surface-2); }
body .cpt-form .ff-el-progress-bar { border-radius: 3px; background: var(--dx-ink) !important; }

/* 9l. Remaining uppercase labels in the calculator results and the form step */
body .calc [class*="eyebrow"], body .calc [class*="__label"], body .calc [class*="status"], body .hero-takeover__step, body .calc__programs-title { letter-spacing: 0 !important; text-transform: none !important; }

/* 9m. Fixes from the automated audit of all 361 pages */
body .dx-prose th, body .pillar-compare th, body .cpt-body th, body table th { box-shadow: none !important; }
body .dx-prose > table { display: block; overflow-x: auto; border-radius: var(--dx-r-card); background: var(--dx-surface); }
body .cpt-pillar--base strong, body .bah-table__eyebrow, body .high-schools__eyebrow, body .neighborhoods__eyebrow, body .tyler-bio__eyebrow, body .byron-bio__eyebrow {
  letter-spacing: 0 !important; text-transform: none !important;
}
body .bah-table__eyebrow, body .high-schools__eyebrow, body .neighborhoods__eyebrow, body .tyler-bio__eyebrow { font-size: 14px; font-weight: 500; color: var(--dx-ink-3); }
body .legal-page__warning, body .tyler-bio__quote, body blockquote.tyler-bio__quote, body .midarticle-cta {
  padding: 24px 28px; border: 0 !important; border-radius: var(--dx-r-card); background: var(--dx-surface) !important; box-shadow: none !important;
}
body .legal-page, body .legal-page *, body .tyler-bio, body .tyler-bio * { font-family: var(--font-body) !important; }
body .legal-page h1, body .legal-page h2, body .legal-page h3, body .tyler-bio h1, body .tyler-bio h2, body .tyler-bio h3 { font-family: var(--font-heading) !important; }
body .byron-bio__photo, body .tyler-bio__photo, body .confirmation-track__dot, body .calc, body .btn, body a.btn--primary { box-shadow: none !important; }

@media (max-width: 860px) {
  body .dx-prose .pillar-quick-facts__chip strong, body .dx-prose .pillar-quick-facts__chip > :first-child { font-size: 21px; letter-spacing: -0.02em; overflow-wrap: normal; word-break: keep-all; }
  body .dx-prose .pillar-quick-facts__chip { padding: 16px; }
  body .quick-facts__value { font-size: 22px; overflow-wrap: normal; word-break: keep-all; }
}

/* ---------- 10. Width, alignment and contrast pass (1.60.2) ---------- */

/* 10a. Titles and the copy under them use the room they have. No width caps. */
body main h1, body main h2, body main h3, body main p,
body article h1, body article h2, body article h3, body article p,
body .dx-head, body .dx-head--row h2, body .dx-article__h1, body .dx-article__lede,
body .dx-what__lead, body .dx-what__more, body .dx-what__after, body .dx-statement__big,
body .hero-takeover__lede, body .zone-header, body .zone-header__lede { max-width: none !important; }
body .dx-head--row h2 { flex: 1 1 auto; }
body .dx-head--center, body .zone-header--center { margin-inline: auto; }

/* 10b. One content width and one side margin for every section on every template. */
html body .container,
html body .dx-wrap,
html body article.cpt-pillar.cpt-pillar.cpt-pillar.cpt-pillar.cpt-pillar .cpt-hero > .container,
html body.is-pillar-page.is-pillar-page section.zone--alt.zone--alt > .container,
html body.is-pillar-page.is-pillar-page section > .container,
html body .cpt-form.cpt-form > .container,
html body .confirmation-hero > .container,
html body [class*="byron-bio__"] > .container, html body [class*="tyler-bio__"] > .container,
html body .shopdpa-map-band > .container,
html body .dx-faq > .container {
  width: 100% !important; max-width: calc(var(--dx-max) + 2 * var(--dx-margin)) !important;
  margin-inline: auto !important; padding-inline: var(--dx-margin) !important; box-sizing: border-box;
}
html body .cpt-body__inner, html body .hub-body, html body .marketing-hero__inner, html body .learn-hero__inner,
html body .confirmation-hero__inner, html body .legal-page, html body .programs-layout .cpt-body__inner,
html body .shopdpa-map-band .shopdpa-tx-map--hero, html body .shopdpa-tx-map--hero {
  width: auto; max-width: none !important; margin-inline: 0 !important; padding-inline: 0 !important;
}
html body .cpt-form__inner { max-width: 840px !important; margin-inline: auto !important; padding-inline: 0 !important; text-align: center; }
body .cpt-body__inner, body .hub-body { font-size: 18px; line-height: 1.7; }

/* 10c. FAQ fills the width in two columns instead of one narrow one. */
@media (min-width: 900px) {
  body .dx-faq .faq-accordion { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--dx-gap); align-items: start; }
}

/* 10d. Stronger section rhythm: white, grey and navy alternate. */
.dx-sec--navy { background: var(--dx-navy); }
.dx-sec--navy .dx-head h2 { color: #fff; }
.dx-sec--navy .dx-head__sub { color: var(--dx-on-navy-2); }
.dx-sec--navy .dx-head__sub a { color: #fff; }
.dx-sec--navy a.dx-role { background: var(--dx-navy-2); color: #fff; }
.dx-sec--navy a.dx-role:hover { background: #1D3A72; color: #fff; }
.dx-sec--navy .dx-role__text { color: var(--dx-on-navy-2); }
.dx-sec--navy a.dx-role--all { background: #fff; color: var(--dx-ink); }
.dx-sec--navy a.dx-role--all:hover { background: var(--dx-surface); color: var(--dx-ink); }
.dx-sec--navy .dx-role--all .dx-role__text { color: var(--dx-ink-2); }

.dx-myths .dx-myth, .dx-myths .dx-inline-cta { background: var(--dx-surface); }

body .shopdpa-map-band { padding-block: var(--dx-section); background: var(--dx-surface); }
body .shopdpa-map-band .shopdpa-tx-map__svg-wrap { background: #fff; }
body .shopdpa-map-band .shopdpa-tx-map__region-fill { stroke: #fff; }
body .shopdpa-map-band .shopdpa-tx-map__sidebar-link { background: #fff; }
body .shopdpa-map-band .shopdpa-tx-map__sidebar-link:hover { background: var(--dx-surface-2); }

body #calculator.zone { background: var(--dx-surface); }
body #calculator .calc, body #calculator .calc__inputs { background: #fff; }
body #calculator .calc input[type="text"], body #calculator .calc input[type="number"], body #calculator .calc select, body #calculator .calc__input { background-color: var(--dx-surface); }
body #calculator .calc__results { background: var(--dx-surface-2); }

body .dx-process, body .dx-faq { background: var(--dx-bg); }
body .dx-process .faq-accordion__item, body .dx-faq .faq-accordion__item { background: var(--dx-surface); }
body .dx-final { padding-top: 0; background: var(--dx-bg); }

/* Footer closes the page in navy. */
body .site-footer { background: var(--dx-ink); color: var(--dx-on-navy-2); }
body .site-footer h2, body .site-footer h3, body .site-footer h4, body .site-footer__heading, body .site-footer__col-title { color: #fff; }
body .site-footer a, body .site-footer__col a, body .site-footer__columns a { color: var(--dx-on-navy-2); }
body .site-footer a:hover { color: #fff; }
body .site-footer__legal, body .site-footer__legal p { color: #8E9BB3; }
body .site-footer__legal strong, body .site-footer__legal a, body .site-footer__full-link { color: var(--dx-on-navy-2); }
body .site-footer__eho, body .site-footer__eho-icon { color: var(--dx-on-navy-2); }
body img.site-footer__eho-icon { filter: brightness(0) invert(0.8); }

/* 10e. How It Works: title on top, steps on the left, the open step's text on the right. */
body .dx-process > .container { display: block; }
body .dx-process .zone-header { position: static; margin: 0 0 48px; text-align: center; }
body .dx-process .process-accordion { position: relative; display: block; }
body .dx-process .process-step { margin: 0 0 8px; padding: 0; background: none !important; border-radius: 0; }
body .dx-process .process-step__summary {
  display: flex; align-items: center; min-height: 72px; padding: 0 24px; border-radius: var(--dx-r-card);
  background: var(--dx-surface); color: var(--dx-ink); cursor: pointer; list-style: none;
  transition: background-color var(--t-fast) var(--ease);
}
body .dx-process .process-step__summary::-webkit-details-marker { display: none; }
body .dx-process .process-step__answer { padding: 20px 24px 12px; color: var(--dx-ink-2); }
body .dx-process .process-disclosure { margin-top: 32px; text-align: center; }
@media (min-width: 900px) {
  body .dx-process .process-step { width: 380px; }
  body .dx-process .process-step__summary::after, body .dx-process .process-step__summary::before { content: none !important; display: none !important; }
  body .dx-process .process-step__summary:hover { background: var(--dx-surface-2); }
  body .dx-process .process-step[open] > .process-step__summary { background: var(--dx-ink); color: #fff; }
  body .dx-process .process-step[open] .process-step__title { color: #fff; }
  body .dx-process .process-step__answer {
    position: absolute; top: 0; left: 396px; right: 0; margin: 0; padding: 36px 40px 28px !important;
    border-radius: var(--dx-r-card); background: var(--dx-surface); font-size: 18px; line-height: 1.65; max-height: none !important; opacity: 1 !important; transform: none !important;
  }
  body .dx-process .process-step__answer p:last-child { margin-bottom: 0; }
}

/* 10f. Navy navigation bar */
body .site-header,
body .site-header.is-stuck,
body .site-header.is-open,
body.home .site-header:not(.is-stuck):not(.is-open) { background-color: var(--dx-navy); }
body .site-header .site-nav__link,
body.home .site-header:not(.is-stuck) .site-nav__link,
body .site-header__phone, body .site-header__phone:hover { color: #fff; }
body .site-header .site-nav__link:hover { color: var(--dx-accent); }
body .site-header__menu { background: var(--dx-navy-2); color: #fff; }
body .site-header .reading-progress { background: var(--dx-navy-2); }
body .site-menu { background: var(--dx-navy); color: #fff; }
body .site-menu a, body .site-menu__head, body .site-menu__phone { color: #fff; }
body .site-menu__links a { color: var(--dx-on-navy-2); }
body .site-menu__group { border-color: var(--dx-navy-2); }
/* The form-open hero is navy too, so give it the lighter navy to separate it from the bar. */
body .hero-takeover.is-form-active { background: var(--dx-navy-2) !important; }
body .hero-takeover.is-form-active .hero-takeover__form-inner { background: var(--dx-navy); }

/* 10g. Background photos back, under a navy scrim for legibility */
.dx-statement--image {
  background-image: linear-gradient(rgba(10, 27, 61, 0.86), rgba(10, 27, 61, 0.86)), var(--dx-statement-image);
  background-size: cover; background-position: center;
}
.dx-final__box--image {
  background-image: linear-gradient(rgba(10, 27, 61, 0.88), rgba(10, 27, 61, 0.88)), var(--dx-final-image);
  background-size: cover; background-position: center;
}
body .marketing-hero { border: 0; }
body .marketing-hero__h1 { font-family: var(--font-heading); font-size: 52px; line-height: 1.06; font-weight: 600; letter-spacing: -0.032em; color: #fff; }
body .marketing-hero__lede { font-size: 20px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
body .marketing-hero__cta-row { justify-content: center; }
@media (max-width: 860px) { body .marketing-hero__h1 { font-size: 34px; } body .marketing-hero__lede { font-size: 18px; } }

/* 10h. Footer: brand block on the left, link columns on the right, legal in one tidy block */
body .site-footer__inner {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 72px; row-gap: 56px; align-items: start;
  padding: 80px var(--dx-margin) 40px;
}
body .site-footer__brand { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
body .site-footer__logo { margin: 0; }
body .site-footer__logo img { height: 32px; }
body .site-footer__tagline { margin: 0; font-size: 16px; line-height: 1.5; color: var(--dx-on-navy-2); }
body a.site-footer__phone { font-family: var(--font-heading); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: #fff; text-decoration: none; }
body a.site-footer__cta { margin-top: 8px; color: var(--dx-ink); }
body a.site-footer__cta:hover { color: var(--dx-ink); }
body .site-footer__columns { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin: 0; }
body .site-footer__col { margin: 0; }
body .site-footer h2, body .site-footer h3, body .site-footer h4, body .site-footer__heading, body .site-footer__col-title { margin: 0 0 16px; font-size: 16px; }
body .site-footer__col ul { margin: 0; padding: 0; list-style: none; }
body .site-footer__col li { margin: 0 0 12px; }
body .site-footer__col a { font-size: 15px; line-height: 1.4; }
body .site-footer__legal { grid-column: 1 / -1; margin: 0; padding: 32px; border-radius: var(--dx-r-card); background: var(--dx-navy); text-align: left; }
body .site-footer__legal p { margin: 0 0 12px; font-size: 13px; line-height: 1.6; text-align: left; }
body .site-footer__legal p:last-child { margin-bottom: 0; }
body .site-footer__eho { justify-content: flex-start; margin: 0 0 16px; font-size: 14px; font-weight: 500; color: #fff; }
@media (max-width: 1040px) {
  body .site-footer__inner { grid-template-columns: 1fr; padding-top: 56px; }
  body .site-footer__columns { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .site-footer__legal { padding: 24px 20px; }
}
html body .site-footer__inner { max-width: calc(var(--dx-max) + 2 * var(--dx-margin)) !important; margin-inline: auto !important; padding-inline: var(--dx-margin) !important; box-sizing: border-box; }
@media (min-width: 861px) {
  body .site-footer__col li { margin: 0 0 4px; }
  body .site-footer__col a { display: inline-block; min-height: 0 !important; padding: 5px 0 !important; line-height: 1.4; }
}

/* 10i. Nothing shifts or fades in after the page paints. */
[data-reveal], [data-reveal-stagger] > *, [data-reveal="up"] { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }

/* 10j. Photo hero (About, Contact): stays inside the screen on phones */
html body .marketing-hero > .container { padding-block: 0; }
html body .marketing-hero__inner { width: 100%; max-width: 100% !important; margin-inline: auto !important; text-align: center; box-sizing: border-box; }
body .marketing-hero__h1, body .marketing-hero__lede { overflow-wrap: break-word; }
body .marketing-hero__trust { flex-wrap: wrap; justify-content: center; white-space: normal; max-width: 100%; }
body .marketing-hero__trust > * { white-space: normal; }
/* Body copy on location and hub pages lines up with its section heading */
body .cpt-body__inner > p, body .cpt-body__inner > h2, body .cpt-body__inner > h3, body .hub-body > p, body .hub-body > h2 { margin-inline: 0 !important; padding-inline: 0 !important; }
html body .marketing-hero { display: block !important; padding-block: 96px !important; }
html body .marketing-hero .marketing-hero__trust {
  position: static !important; transform: none !important; left: auto !important; bottom: auto !important;
  display: flex !important; flex-wrap: wrap !important; justify-content: center; gap: 8px 24px;
  width: auto !important; max-width: 100% !important; margin: 28px auto 0 !important; padding: 0 var(--dx-margin);
  font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.86); white-space: normal;
}
html body .marketing-hero .hero-takeover__trust-check { stroke: #fff; }
@media (max-width: 860px) { html body .marketing-hero { padding-block: 56px !important; } }
html body .marketing-hero .marketing-hero__trust, html body .marketing-hero .marketing-hero__trust * { color: rgba(255, 255, 255, 0.9) !important; }

/* ---------- 11. 1.60.3 ---------- */

/* 11a. "What is" section: text on the left, one card per agency on the right */
.dx-what__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.dx-what__text p { margin: 0 0 20px; color: var(--dx-ink-2); text-align: left; }
.dx-what__text a:not(.dx-btn) { color: var(--dx-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dx-what__text .dx-what__lead { margin: 0 0 20px; font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -0.018em; color: var(--dx-ink); text-align: left; }
.dx-what__text .dx-what__cta { margin: 32px 0 0; }
.dx-what__agencies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--dx-gap); }
.dx-agency { display: flex; flex-direction: column; padding: 28px; border-radius: var(--dx-r-card); background: #fff; }
.dx-agency__name { margin: 0 0 4px; font-size: 26px; line-height: 1.15; letter-spacing: -0.022em; }
.dx-agency__full { margin: 0 0 20px; font-size: 14px; line-height: 1.4; color: var(--dx-ink-3); }
a.dx-agency__program { display: block; margin: 0 -12px; padding: 14px 12px; border-radius: var(--dx-r-ctl); color: var(--dx-ink); text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
a.dx-agency__program:hover { background: var(--dx-surface); color: var(--dx-ink); }
.dx-agency__program-name { display: block; margin-bottom: 4px; font-family: var(--font-heading); font-size: 18px; font-weight: 600; letter-spacing: -0.012em; }
.dx-agency__program-text { display: block; font-size: 15px; line-height: 1.5; color: var(--dx-ink-2); }
.dx-agency__links { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 20px; }
.dx-agency__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--dx-r-ctl); background: var(--dx-surface); color: var(--dx-ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
.dx-agency__links a:hover { background: var(--dx-surface-2); color: var(--dx-ink); }
@media (max-width: 1040px) { .dx-what__grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 860px) {
  .dx-what__agencies { grid-template-columns: 1fr; }
  .dx-what__text .dx-what__lead { font-size: 20px; }
  .dx-what__text .dx-what__cta .dx-btn { width: 100%; }
  .dx-agency { padding: 24px 20px; }
}

/* 11b. How It Works: the text panel is always at least as tall as the step list */
@media (min-width: 900px) {
  body .dx-process .process-step__answer { min-height: 100%; box-sizing: border-box; }
  body .dx-process .process-step:last-of-type { margin-bottom: 0; }
}

/* 11c. Sources and disclosures sit at the bottom of their section, away from the content */
body .dx-source, body .micro-citation, body .dx-process .process-disclosure, body .process-zone .process-disclosure,
body .calc__disclaimer, body .section-break__attr { margin-top: 72px !important; margin-bottom: 0 !important; }
body .dx-sec:has(.dx-wrap > .dx-source:last-child), body .dx-statement:has(.dx-source), body .dx-process:has(.process-disclosure) { padding-bottom: 40px; }
body .dx-statement .dx-source { margin-top: 96px !important; }
body .dx-prose .micro-citation, body .dx-prose figure .micro-citation, body .pillar-compare__source, body .pillar-compare__note { margin-top: 0 !important; }
@media (max-width: 860px) {
  body .dx-source, body .dx-process .process-disclosure { margin-top: 48px !important; }
  body .dx-statement .dx-source { margin-top: 56px !important; }
}
body .dx-process .process-accordion, body .dx-process .process-step, body .dx-process .process-step__summary { border: 0 !important; box-shadow: none !important; }
@media (min-width: 900px) { body .dx-process .process-accordion > .process-step:last-of-type, body .dx-process .process-accordion > details:last-of-type { margin-bottom: 0 !important; } }
@media (min-width: 900px) { body .dx-process .process-step__answer { min-height: calc(100% - 8px); } }

/* ---------- 12. 1.60.4 ---------- */
/* FAQ: one full-width column (two columns left uneven gaps when a row opened or wrapped) */
@media (min-width: 900px) { body .dx-faq .faq-accordion { grid-template-columns: minmax(0, 1fr); } }
/* Footer: legal text sits directly on the footer, no panel around it */
body .site-footer__legal { padding: 0; border-radius: 0; background: none; }
@media (max-width: 1040px) { body .site-footer__legal { padding: 0; } }
html body img.site-footer__eho-icon { filter: none !important; opacity: 1; }

/* ---------- 13. Hover states (1.60.4) ---------- */
/* Rule: a hover is one solid fill change on the outer shape. No inner box, border, shadow or lift. */

/* Nav links: the old hover filled the pill with the accent, which hid the accent-coloured text. */
body .site-header .site-nav__link,
body.home .site-header:not(.is-stuck) .site-nav__link { border-radius: var(--dx-r-ctl); background-color: transparent; transition: background-color var(--t-fast) var(--ease); }
body .site-header .site-nav__link:hover,
body .site-header .site-nav__link:focus-visible,
body .site-header .site-nav__item:hover > .site-nav__link,
body.home .site-header:not(.is-stuck) .site-nav__link:hover { background-color: var(--dx-navy-2) !important; color: #fff !important; }
body .site-header__phone:hover { color: var(--dx-accent); }
body .site-menu a:hover { color: #fff; }

/* Link cards: the link inside the card carried its own white box, 14px corners, border and hover shadow. */
body .cross-grid__card-link,
body .cross-grid__card-link:hover,
body .cross-grid__card-link:focus-visible {
  display: block; height: 100%; border: 0 !important; border-radius: inherit !important; background: none !important; box-shadow: none !important; transform: none !important; color: var(--dx-ink);
}
body .cross-grid__card-link:focus-visible { box-shadow: var(--ring-focus) !important; }

/* Accordion rows: no hairline, and a solid highlight on hover */
body .faq-accordion__item { border: 0 !important; transition: background-color var(--t-fast) var(--ease); }
body .faq-accordion__item:hover { background: var(--dx-surface-2) !important; }
body .faq-accordion__q, body .faq-accordion__q:hover { background: none; }
body .dx-process .process-step:hover { background: none !important; }

/* Other tappable tiles and filters */
body a.learn-tool:hover, body .learn-tool:hover { background: var(--dx-surface-2) !important; }
body .learn-filter:not(.is-active):hover, body .cities-filter__chip:not(.is-active):hover, body .cities-pager__item:not(.is-active):hover { background: var(--dx-surface-2) !important; }
body a.contact-reach__card:hover, body a.about-programs__card:hover, body a.confirmation-keep__card:hover, body a.related-grid__card:hover { background: var(--dx-surface-2) !important; }
body .dx-prose a.btn:hover, body .dx-prose .pillar-inline-cta a:hover, body .pillar-sticky-toc__cta-btn:hover, body .programs-aside__cta-btn:hover, body a.site-footer__cta:hover { background: var(--dx-accent-hover) !important; }

/* Nothing lifts or grows a shadow on hover anywhere in the content. */
body main a:hover, body main li:hover, body main article:hover, body main [class*="card"]:hover,
body article a:hover, body article li:hover, body article [class*="card"]:hover { box-shadow: none !important; transform: none !important; }
