@font-face { font-family: 'Crimson Text'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/crimson-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Crimson Text'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/crimson-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Crimson Text'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/crimson-text-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Crimson Text'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/crimson-text-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Crimson Text'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/crimson-text-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Crimson Text'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/crimson-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/roboto-slab-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f4f5fa;
  --fg-light-base-body: #1b1d2e;
  --fg-light-base-heading: #1b1d2e;
  --fg-light-base-muted: #55586f;
  --fg-light-base-link: #4a3fab;
  --fg-light-base-inverse: #1b1d2e;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #1b1d2e;
  --fg-light-card-heading: #1b1d2e;
  --fg-light-card-muted: #55586f;
  --fg-light-card-link: #4a3fab;
  --fg-light-card-inverse: #1b1d2e;
  --bg-light-elevated: #e8eaf7;
  --fg-light-elevated-body: #1b1d2e;
  --fg-light-elevated-heading: #1b1d2e;
  --fg-light-elevated-muted: #55586f;
  --fg-light-elevated-link: #4a3fab;
  --fg-light-elevated-inverse: #1b1d2e;
  --brand-light-accent: #4a3fab;
  --brand-light-accent-hover: #372b82;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #4a3fab;
  --border-light-default: #6b6e88;
  --border-light-subtle: #d3d6e8;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Schaumburg Foot Doctors Compared: comparison ledger */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6.5rem; }

body.ledger {
  margin: 0;
  font-family: 'Roboto Slab', Rockwell, Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Crimson Text', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); letter-spacing: -0.01em; }

h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.6rem 0 0.75rem; }

h3 { font-size: 1.4rem; margin: 1.8rem 0 0.5rem; }

p { margin: 0 0 1.1rem; }

ul, ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }

li { margin-bottom: 0.35rem; }

strong { font-weight: 600; }

.page a { color: var(--fg-link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.page a:hover { color: var(--brand-light-accent-hover); text-decoration-thickness: 2px; }

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--bg-light-card);
}

.skip-link:focus { top: 0.75rem; }

/* ---------- Header: wordmark left, inline bar right ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border-light-subtle);
  box-shadow: inset 0 -3px 0 var(--brand-light-accent);
}

.header-row {
  position: relative;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; padding: 0.5rem 0; text-decoration: none; }

.brand .site-logo { display: block; width: 19rem; height: auto; }

.bar-nav { display: flex; align-self: stretch; }

.bar-nav .site-nav { display: flex; align-items: stretch; }

.bar-nav .site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.bar-nav .site-nav > ul > li { display: flex; align-items: stretch; margin: 0; position: relative; }

.bar-nav .site-nav > ul > li + li { border-left: 1px solid var(--border-light-subtle); }

.bar-nav .site-nav > ul > li > a,
.bar-nav .site-nav-group > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.95rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--fg-heading);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.bar-nav .site-nav > ul > li > a:hover,
.bar-nav .site-nav-group > summary:hover,
.bar-nav .site-nav-group[open] > summary {
  color: var(--fg-link);
  border-bottom-color: var(--brand-light-accent-hover);
}

.bar-nav .site-nav > ul > li > a[aria-current="page"] { color: var(--fg-link); border-bottom-color: var(--brand-light-accent); }

.bar-nav .site-nav-group { display: flex; }

.bar-nav .site-nav-group > summary { list-style: none; }

.bar-nav .site-nav-group > summary::-webkit-details-marker { display: none; }

.bar-nav .site-nav-group > ul {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 50;
  min-width: 16rem;
  margin: 0;
  padding: 0.5rem 1rem;
  list-style: none;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-default);
  border-top: 3px solid var(--brand-light-accent);
}

.bar-nav .site-nav-group > ul a { display: block; padding: 0.45rem 0; text-decoration: none; }

.menu-toggle { display: none; align-items: center; flex-shrink: 0; }

.site-menu { position: relative; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--border-light-default);
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--fg-heading);
}

.site-menu .menu-icon {
  position: relative;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-menu[open] .menu-icon { box-shadow: none; transform: rotate(45deg); }

.site-menu[open] .menu-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: rotate(90deg);
}

.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 50;
  width: min(21rem, calc(100vw - 2rem));
  max-height: 75vh;
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem 1rem;
  list-style: none;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-default);
  border-top: 3px solid var(--brand-light-accent);
}

.site-menu ul ul { list-style: none; margin: 0 0 0.4rem; padding-left: 0.9rem; border-left: 2px solid var(--border-light-subtle); }

.site-menu li { margin: 0; }

.site-menu li + li { border-top: 1px solid var(--border-light-subtle); }

.site-menu a { display: block; padding: 0.6rem 0.1rem; text-decoration: none; }

.site-menu a:hover { text-decoration: underline; }

@media (max-width: 71.99rem) {
  .bar-nav { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 35.99rem) {
  html { scroll-padding-top: 9.5rem; }
  .header-row { flex-wrap: wrap; gap: 0 1rem; padding-bottom: 0.5rem; }
  .menu-toggle { margin-left: auto; }
}

@media (max-width: 30rem) {
  .brand .site-logo { width: 15rem; }
}

/* ---------- Page frame ---------- */

.page { flex: 1 0 auto; width: 100%; max-width: 76rem; margin: 0 auto; padding: 1.25rem 1rem 4.5rem; }

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  font-size: 0.9rem;
}

.breadcrumbs li { margin: 0; }

.breadcrumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--fg-muted); }

.photo-hero, .photo-inline { margin: 0 0 2rem; }

.photo-hero img, .photo-inline img { display: block; width: 100%; height: auto; border-radius: 4px; }

/* page titles share one ruled header */
.inquiry-title, .tally-title, .entry-title, .versus-title, .method-title, .desk-title, .after-title {
  max-width: 54rem;
  padding-bottom: 1.1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--fg-heading);
  box-shadow: 0 3px 0 var(--bg-light-base), 0 4px 0 var(--fg-heading);
}

/* ---------- Ledger tables ---------- */

.table-scroll { overflow-x: auto; margin: 0 0 1.75rem; }

table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums lining-nums; }

.table-scroll table { min-width: 36rem; font-size: 0.95rem; }

caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 0.6rem;
  font-family: 'Crimson Text', Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
}

th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border-light-subtle); }

thead th {
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 3px double var(--brand-light-accent);
}

/* figure columns line up on the right edge */
.table-scroll td:nth-child(n+4), .table-scroll th:nth-child(n+4) { text-align: right; }

.table-scroll tbody tr:nth-child(even) { background: var(--bg-light-card); }

/* ---------- Home: research question beside the summary ledger ---------- */

.inquiry-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.inquiry-title { margin-bottom: 1.5rem; }

.inquiry-title h1 { font-size: clamp(2.6rem, 5.4vw, 4.1rem); }

.inquiry-lines { max-width: 34rem; counter-reset: line; }

.inquiry-lines .display-line {
  margin: 0;
  padding: 0.8rem 0 0.8rem 1.1rem;
  border-left: 2px solid var(--brand-light-accent);
  font-size: 1.1rem;
  line-height: 1.55;
}

.inquiry-lines .display-line + .display-line { border-top: 1px solid var(--border-light-subtle); }

.ledger-panel {
  padding: 1.5rem 1.5rem 1.1rem;
  border: 1px solid var(--border-light-default);
  border-top: 4px solid var(--brand-light-accent);
  border-radius: 4px;
}

.ledger-table td { padding: 0.8rem 0.5rem; }

.ledger-table td:first-child { padding-left: 0; }

.ledger-table th:first-child { padding-left: 0; }

.ledger-table td:last-child, .ledger-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }

.ledger-table td:last-child a { font-weight: 600; }

.ledger-note { margin: 0.9rem 0 0; font-size: 0.92rem; }

.inquiry-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42rem);
  gap: 0 3.5rem;
}

.inquiry-body > * { grid-column: 2; }

.inquiry-body > .photo-hero { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: 7rem; }

.inquiry-body > .photo-hero img { aspect-ratio: 4 / 5; object-fit: cover; }

.inquiry-body > h2:first-of-type { margin-top: 1.5rem; }

@media (max-width: 63.99rem) {
  .inquiry-split { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .inquiry-body { grid-template-columns: minmax(0, 1fr); }
  .inquiry-body > *, .inquiry-body > .photo-hero { grid-column: 1; grid-row: auto; position: static; }
  .inquiry-body > .photo-hero img { aspect-ratio: 16 / 9; }
}

/* ---------- Top list: rank rows, then a grid of ledger cards ---------- */

.tally-body { max-width: 46rem; }

.tally-body > .photo-hero img { aspect-ratio: 21 / 9; object-fit: cover; }

.tally-body > ol {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  border-top: 3px double var(--brand-light-accent);
}

.tally-body > ol > li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: baseline;
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-light-subtle);
}

.tally-body > ol > li::before {
  content: counter(list-item);
  font-family: 'Crimson Text', Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--fg-link);
}

.tally-cards { margin-top: 3.5rem; }

.tally-caption {
  margin: 0 0 1rem;
  font-family: 'Crimson Text', Georgia, serif;
  font-weight: 600;
  font-size: 1.6rem;
}

.tally-cards ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}

.tally-cards li {
  display: flex;
  margin: 0;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-subtle);
  border-top: 3px solid var(--brand-light-accent);
  border-radius: 4px;
}

.tally-cards li a {
  display: block;
  width: 100%;
  min-height: 5.5rem;
  padding: 1rem 1.1rem;
  font-family: 'Crimson Text', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  text-decoration: none;
}

.tally-cards li a:hover { text-decoration: underline; }

/* ---------- Provider review: facts table, then one reading column ---------- */

.entry { max-width: 46rem; }

.entry-facts {
  margin: 0 0 2.25rem;
  padding: 1.25rem 1.4rem 0.75rem;
  border-left: 4px solid var(--brand-light-accent);
  border-radius: 0 4px 4px 0;
}

.facts-table th {
  width: 9.5rem;
  padding-left: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.facts-table td { padding-right: 0; }

.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }

@media (max-width: 30rem) {
  .facts-table th { width: 1%; white-space: nowrap; padding-right: 1rem; }
}

.entry-body > p:first-child { font-size: 1.18rem; line-height: 1.65; }

.entry-body > ul { list-style: none; padding: 0; border-top: 1px solid var(--border-light-subtle); }

.entry-body > ul > li { margin: 0; padding: 0.6rem 0 0.6rem 1.4rem; border-bottom: 1px solid var(--border-light-subtle); position: relative; }

.entry-body > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.6rem;
  height: 2px;
  background: var(--brand-light-accent);
}

/* ---------- Comparison: two panels around a shared spine ---------- */

.versus-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 3rem;
  align-items: start;
  background: linear-gradient(var(--brand-light-accent), var(--brand-light-accent)) center top / 2px 100% no-repeat;
}

/* full-width rows mask the spine so it only runs between the panels */
.versus-body > * {
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: 0;
  padding-bottom: 1.1rem;
  background: var(--bg-light-base);
}

.versus-body > h2 { margin-top: 0; padding-top: 2rem; padding-bottom: 0.75rem; }

.versus-body > p:not(:has(> strong:first-child)) { padding-right: max(0rem, calc(100% - 46rem)); }

.versus-body > .photo-hero img, .versus-body > .photo-inline img { aspect-ratio: 21 / 9; object-fit: cover; }

.versus-body > p:has(> strong:first-child) {
  grid-column: auto;
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.25rem 1.2rem;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-subtle);
  border-top: 3px solid var(--brand-light-accent);
  border-radius: 4px;
}

.versus-body > p:has(> strong:first-child) > strong:first-child {
  display: block;
  margin-bottom: 0.4rem;
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

@media (max-width: 47.99rem) {
  .versus-body { grid-template-columns: minmax(0, 1fr); background: none; }
  .versus-body > p:not(:has(> strong:first-child)) { padding-right: 0; }
}

/* ---------- About: method prose beside a criteria table ---------- */

.method-columns {
  display: grid;
  grid-template-columns: minmax(0, 42rem) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.method-prose > p:first-child { font-size: 1.18rem; line-height: 1.65; }

.method-prose > .photo-hero img { aspect-ratio: 16 / 9; object-fit: cover; }

.method-criteria {
  position: sticky;
  top: 7rem;
  padding: 1.4rem 1.4rem 0.9rem;
  border: 1px solid var(--border-light-default);
  border-top: 4px solid var(--brand-light-accent);
  border-radius: 4px;
}

@media (max-width: 63.99rem) {
  .method-columns { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .method-criteria { position: static; max-width: 42rem; }
}

/* ---------- Contact: reason cards above the form ---------- */

.desk { max-width: 56rem; }

.desk-intro { max-width: 42rem; }

.desk-intro > p:first-child { font-size: 1.15rem; }

.desk-reasons {
  list-style: none;
  margin: 2.25rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1rem;
}

.desk-reasons li {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-light-subtle);
  border-top: 3px solid var(--brand-light-accent);
  border-radius: 4px;
}

.reason-name { margin: 0 0 0.35rem; font-family: 'Crimson Text', Georgia, serif; font-weight: 600; font-size: 1.2rem; line-height: 1.2; }

.reason-hint { margin: 0; font-size: 0.92rem; line-height: 1.5; }

.desk-form {
  display: grid;
  gap: 0.45rem;
  max-width: 38rem;
  padding: 1.5rem;
  border: 1px solid var(--border-light-default);
  border-radius: 4px;
}

.desk-form label { font-weight: 600; margin-top: 0.5rem; }

.desk-form label:first-child { margin-top: 0; }

.desk-form input, .desk-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: inherit;
  background: var(--bg-light-base);
  border: 1px solid var(--border-light-default);
  border-radius: 4px;
}

.desk-form textarea { resize: vertical; }

.desk-form input:focus-visible, .desk-form textarea:focus-visible { outline: 3px solid var(--brand-light-accent); outline-offset: 1px; }

.desk-submit {
  justify-self: start;
  min-height: 48px;
  margin-top: 0.9rem;
  padding: 0 1.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.desk-submit:hover { background: var(--brand-light-accent-hover); }

/* ---------- Thank you: stepped next steps ---------- */

.after { max-width: 50rem; }

.after-steps { counter-reset: step; }

.after-steps > * { max-width: 40rem; }

.after-steps > h2 {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: baseline;
  margin-top: 2.25rem;
}

.after-steps > h2::before {
  content: counter(step);
  font-variant-numeric: tabular-nums;
  color: var(--fg-link);
}

.after-steps > h2 ~ p { padding-left: 2.75rem; }

.after-steps > h2:nth-of-type(2), .after-steps > h2:nth-of-type(2) ~ * { margin-left: 2rem; }

.after-steps > h2:nth-of-type(n+3), .after-steps > h2:nth-of-type(n+3) ~ * { margin-left: 4rem; }

.after-lists {
  margin-top: 3rem;
  padding: 1.3rem 1.4rem 0.6rem;
  border: 1px solid var(--border-light-subtle);
  border-top: 4px solid var(--brand-light-accent);
  border-radius: 4px;
}

.after-caption { margin: 0 0 0.5rem; font-family: 'Crimson Text', Georgia, serif; font-weight: 600; font-size: 1.35rem; }

.after-lists ul { list-style: none; margin: 0; padding: 0; }

.after-lists li { margin: 0; padding: 0.55rem 0; border-top: 1px solid var(--border-light-subtle); }

.after-lists a { font-weight: 500; }

@media (max-width: 47.99rem) {
  .after-steps > h2:nth-of-type(2), .after-steps > h2:nth-of-type(2) ~ * { margin-left: 0.75rem; }
  .after-steps > h2:nth-of-type(n+3), .after-steps > h2:nth-of-type(n+3) ~ * { margin-left: 1.5rem; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 3px double var(--brand-light-accent); }

.footer-row {
  max-width: 76rem;
  margin: 0 auto;
  padding: 2rem 1rem 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 2rem;
  align-items: start;
}

.footer-name { margin: 0; font-family: 'Crimson Text', Georgia, serif; font-weight: 600; font-size: 1.4rem; }

.footer-line { margin: 0; grid-column: 1; font-size: 0.95rem; }

.footer-links { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; }

.footer-links li { margin: 0; }

.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 47.99rem) {
  .footer-row { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
