@font-face { font-family: 'Lobster Two'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/lobster-two-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Lobster Two'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lobster-two-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lobster Two'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/lobster-two-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Lobster Two'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lobster-two-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Reddit Sans'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/reddit-sans-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #22121d;
  --fg-light-base-heading: #22121d;
  --fg-light-base-muted: #5e4b57;
  --fg-light-base-link: #b0186f;
  --fg-light-base-inverse: #22121d;
  --bg-light-card: #fcedf5;
  --fg-light-card-body: #22121d;
  --fg-light-card-heading: #22121d;
  --fg-light-card-muted: #5e4b57;
  --fg-light-card-link: #b0186f;
  --fg-light-card-inverse: #22121d;
  --bg-light-elevated: #f8d1e4;
  --fg-light-elevated-body: #22121d;
  --fg-light-elevated-heading: #22121d;
  --fg-light-elevated-muted: #5e4b57;
  --fg-light-elevated-link: #b0186f;
  --fg-light-elevated-inverse: #22121d;
  --brand-light-accent: #b0186f;
  --brand-light-accent-hover: #8a0f55;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #b0186f;
  --border-light-default: #7c6573;
  --border-light-subtle: #efd6e3;
}
.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); }

/* Elk Grove Village Podiatrist Review: consumer ratings magazine */

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

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

body.ratings {
  margin: 0;
  font-family: 'Reddit Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Lobster Two', Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -0.01em; }

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

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

p { margin: 0 0 1.05rem; }

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

li { margin-bottom: 0.4rem; }

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

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

strong { font-weight: 800; }

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

/* ---------- Header: two-tier blush masthead (sticky) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.masthead {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0.6rem 1rem 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

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

/* grouped mega-panel menu, desktop: second tier of tabs */
.mega-nav {
  position: relative;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.mega-nav .site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.mega-nav .site-nav > ul > li { display: flex; margin: 0; }

.mega-nav .site-nav > ul > li > a,
.mega-nav .site-nav-group > summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 10px 10px 0 0;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--fg-body);
  cursor: pointer;
}

.mega-nav .site-nav > ul > li > a:hover,
.mega-nav .site-nav-group > summary:hover,
.mega-nav .site-nav-group[open] > summary {
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
}

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

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

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

.mega-nav .site-nav-group > summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}

.mega-nav .site-nav-group[open] > summary::after { transform: translateY(0.1rem) rotate(-135deg); }

.mega-nav .site-nav-group > ul {
  position: absolute;
  top: 100%;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  margin: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 1.75rem;
  background: var(--bg-light-elevated);
  border-top: 4px solid var(--brand-light-accent);
  border-radius: 0 0 14px 14px;
}

.mega-nav .site-nav-group > ul > li { margin: 0; }

.mega-nav .site-nav-group > ul > li:first-child {
  grid-column: 1 / -1;
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--fg-muted);
}

.mega-nav .site-nav-group > ul > li:first-child a {
  font-family: 'Lobster Two', Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
}

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

.mega-nav .site-nav-group > ul a:hover { text-decoration: underline; }

/* collapsed toggle, narrow screens */
.menu-toggle { display: none; flex: none; align-items: center; }

.site-menu { position: relative; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.35rem 1rem;
  border-radius: 10px;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.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(22rem, calc(100vw - 2rem));
  max-height: 75vh;
  overflow-y: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  list-style: none;
  background: var(--bg-light-elevated);
  border-top: 4px solid var(--brand-light-accent);
  border-radius: 0 0 14px 14px;
}

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

.site-menu li { margin: 0; }

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

.site-menu > ul > li > a { font-weight: 700; }

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

@media (max-width: 63.99rem) {
  html { scroll-padding-top: 6rem; }
  .masthead { padding-bottom: 0.6rem; }
  .mega-nav { display: none; }
  .menu-toggle { display: flex; }
  .brand { min-width: 0; }
  .brand .site-logo { width: min(14rem, 55vw); }
}

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

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

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.92rem;
}

.breadcrumbs li { margin: 0; }

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

/* rose title panel in place of a rule */
.page-title {
  padding: clamp(1.4rem, 3.5vw, 2.6rem) clamp(1.25rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
  border-radius: 28px;
}

.page-title h1 { max-width: 22ch; }

/* photos: square-ish frame with a solid magenta offset block */
.photo-hero, .photo-inline { margin: 0 0.75rem 2.25rem 0; }

.photo-hero img, .photo-inline img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0.75rem 0.75rem 0 var(--brand-light-accent);
}

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

.table-scroll th, .table-scroll td { overflow-wrap: normal; }

table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.98rem; }

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

thead th { background: var(--bg-light-card); font-family: 'Reddit Sans', 'Segoe UI', Arial, sans-serif; font-weight: 800; border-bottom: 0; }

/* rating column reads as a filled score chip */
td:nth-child(4) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  min-height: 2.3rem;
  padding: 0 0.6rem;
  border-radius: 8px;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  font-weight: 800;
  text-decoration: none;
}

.page td:nth-child(4) a:hover { background: var(--brand-light-accent-hover); color: var(--brand-light-on-accent); }

/* ---------- Shared magazine rail: hung heads | text | photo ---------- */

.rail {
  display: grid;
  grid-template-columns: [head-start] minmax(0, 12.5rem) [head-end text-start] minmax(0, 40rem) [text-end side-start] minmax(0, 1fr) [side-end];
  column-gap: 2.5rem;
  align-items: start;
}

.rail > * { grid-column: text; }

.rail > p:first-of-type { grid-column: head-start / text-end; font-size: 1.3rem; line-height: 1.55; font-weight: 500; }

.rail > h2 {
  grid-column: head;
  margin: 2.6rem 0 0;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  color: var(--fg-link);
}

.rail > h2 + * { margin-top: 2.6rem; }

.rail > .photo-hero, .rail > .photo-inline {
  grid-column: side;
  grid-row: 1 / span 40;
  position: sticky;
  top: 9rem;
}

.rail > .photo-hero img, .rail > .photo-inline img { aspect-ratio: 4 / 5; object-fit: cover; }

@media (max-width: 63.99rem) {
  .rail { display: block; max-width: 44rem; }
  .rail > h2 { margin: 2.4rem 0 0.8rem; font-size: clamp(1.6rem, 4vw, 2rem); }
  .rail > h2 + * { margin-top: 0; }
  .rail > .photo-hero, .rail > .photo-inline { position: static; }
  .rail > .photo-hero img, .rail > .photo-inline img { aspect-ratio: 3 / 2; }
}

/* ---------- Home: lead verdict beside ranked sidebar ---------- */

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 3rem;
  align-items: start;
}

.lead-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.75rem);
  margin-bottom: 2.25rem;
  border-radius: 28px;
}

.lead-title h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); }

.lead-lines .display-line {
  margin: 0 0 0.85rem;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.5;
}

.lead-lines .display-line:last-child { margin-bottom: 0; }

.lead-body { max-width: 44rem; }

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

.lead-body > .photo-hero + p { font-size: 1.25rem; line-height: 1.55; font-weight: 500; }

.lead-body > h2 { color: var(--fg-link); }

.ranked {
  position: sticky;
  top: 9rem;
  padding: 1.6rem 1.5rem 1.1rem;
  border-radius: 24px;
}

.ranked-caption { font-family: 'Lobster Two', Georgia, serif; font-weight: 700; font-size: 1.65rem; line-height: 1.15; margin: 0 0 0.9rem; }

.ranked-list { list-style: none; margin: 0; padding: 0; }

.ranked-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  margin: 0;
  border-top: 1px solid var(--border-light-default);
}

.ranked-list a { font-weight: 800; font-size: 1.08rem; line-height: 1.3; }

.ranked-note { font-size: 0.93rem; line-height: 1.4; }

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

@media (max-width: 47.99rem) {
  .lead-head { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
}

/* ---------- Ranked list: stepped entries with large numerals ---------- */

.ranking-body > ol {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.ranking-body > ol > li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 0.75rem;
  padding: 0.7rem 1.1rem 0.7rem 0.5rem;
  border-radius: 14px;
  background: var(--bg-light-card);
  counter-increment: list-item;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

.ranking-body > ol > li::before {
  content: counter(list-item);
  flex: none;
  min-width: 4rem;
  text-align: center;
  font-family: 'Lobster Two', Georgia, serif;
  font-weight: 700;
  font-size: 3.3rem;
  line-height: 1;
  color: var(--brand-light-accent);
}

.ranking-body > ol > li:nth-child(2) { margin-left: 1.5rem; }
.ranking-body > ol > li:nth-child(3) { margin-left: 3rem; }
.ranking-body > ol > li:nth-child(n+4) { margin-left: 4.5rem; }

.ranking-items {
  margin-top: 3.5rem;
  padding: 1.6rem 1.75rem 0.9rem;
  border-radius: 24px;
}

.items-caption { font-family: 'Lobster Two', Georgia, serif; font-weight: 700; font-size: 1.6rem; margin: 0 0 0.75rem; }

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

.ranking-items li { margin: 0; padding: 0.6rem 0; border-top: 1px solid var(--border-light-subtle); }

.ranking-items a { font-weight: 700; }

@media (max-width: 40rem) {
  .ranking-body > ol > li:nth-child(2) { margin-left: 0.75rem; }
  .ranking-body > ol > li:nth-child(3) { margin-left: 1.5rem; }
  .ranking-body > ol > li:nth-child(n+4) { margin-left: 2.25rem; }
  .ranking-body > ol > li::before { min-width: 3rem; font-size: 2.5rem; }
}

/* ---------- Provider review: verdict beside sticky scorecard ---------- */

.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 3rem;
  align-items: start;
}

.review-body { max-width: 44rem; }

.review-body > p:first-child { font-size: 1.28rem; line-height: 1.55; font-weight: 500; }

.review-body > h2 { color: var(--fg-link); }

.review-body > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

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

.review-body > ul > li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 3px;
  background: var(--brand-light-accent);
}

.scorecard {
  position: sticky;
  top: 9rem;
  padding: 1.5rem 1.5rem 1.1rem;
  border-radius: 24px;
}

.scorecard-caption {
  margin: 0 0 0.9rem;
  font-family: 'Lobster Two', Georgia, serif;
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.15;
}

.scorecard-list { list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: crit; }

.scorecard-list li {
  counter-increment: crit;
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-light-subtle);
  font-size: 0.97rem;
  line-height: 1.4;
}

.scorecard-list li::before {
  content: counter(crit);
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 8px;
  background: var(--brand-light-accent);
  color: var(--brand-light-on-accent);
  font-weight: 800;
}

.scorecard-link { margin: 0; font-weight: 700; }

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

/* ---------- Comparison: grid of scorecards beside the photo ---------- */

.matchup-grid > p:has(> strong:first-child) {
  margin-bottom: 1.1rem;
  padding: 1.2rem 1.35rem 1.25rem;
  background: var(--bg-light-card);
  border-radius: 16px;
}

.matchup-grid > h2 + p:has(> strong:first-child) { margin-top: 2.6rem; }

.matchup-grid > p:has(> strong:first-child) > strong:first-child {
  display: block;
  margin-bottom: 0.45rem;
  font-family: 'Lobster Two', Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
}

@media (min-width: 64rem) {
  /* cards pair up two per row inside the text column */
  .matchup-grid { grid-template-columns: [head-start] minmax(0, 12.5rem) [head-end text-start] minmax(0, 20rem) [pair] minmax(0, 20rem) [text-end side-start] minmax(0, 1fr) [side-end]; }
  .matchup-grid > p:has(> strong:first-child) { grid-column: text-start / pair; margin-right: 0.6rem; }
  .matchup-grid > :is(h2 + p + p, h2 + p + p + p + p, h2 + p + p + p + p + p + p):has(> strong:first-child) { grid-column: pair / text-end; margin-left: 0.6rem; margin-right: 0; }
  .matchup-grid > h2 + p + p:has(> strong:first-child) { margin-top: 2.6rem; }
  .matchup-grid > :is(h2 + p, h2 + p + p + p, h2 + p + p + p + p + p):has(> strong:first-child):is(:has(+ h2), :last-child) { grid-column: text; margin-right: 0; }
}

/* ---------- About: stepped stages across the page ---------- */

.method-steps { counter-reset: stage; }

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

.method-steps > p:first-child { font-size: 1.3rem; line-height: 1.55; font-weight: 500; max-width: 46rem; }

.method-steps > h2 {
  counter-increment: stage;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-top: 3rem;
}

.method-steps > h2::before {
  content: counter(stage);
  flex: none;
  font-size: 3.6rem;
  line-height: 0.9;
  color: var(--brand-light-accent);
}

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

@media (max-width: 79.99rem) {
  .method-steps > h2:nth-of-type(2), .method-steps > h2:nth-of-type(2) ~ * { margin-left: 6rem; }
  .method-steps > h2:nth-of-type(3), .method-steps > h2:nth-of-type(3) ~ * { margin-left: 12rem; }
  .method-steps > h2:nth-of-type(n+4), .method-steps > h2:nth-of-type(n+4) ~ * { margin-left: 18rem; }
}

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

/* ---------- Contact: centered note above a compact form ---------- */

.letters { max-width: 42rem; margin: 0 auto; }

.letters-title { text-align: center; }

.letters-title h1 { margin: 0 auto; }

.letters-note > p:first-child { font-size: 1.25rem; line-height: 1.55; font-weight: 500; }

.letters-note > h2 { color: var(--fg-link); }

.letters-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 2.25rem;
  padding: 1.6rem;
  border-radius: 24px;
}

.letters-form label { font-weight: 700; }

.letters-form input {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  font: inherit;
  color: inherit;
  background: var(--bg-light-base);
  border: 2px solid var(--border-light-default);
  border-radius: 10px;
}

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

.letters-submit {
  justify-self: start;
  min-height: 48px;
  margin-top: 0.6rem;
  padding: 0 1.6rem;
  font: inherit;
  font-weight: 800;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

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

/* ---------- Thank you: centered confirmation ---------- */

.confirm { max-width: 40rem; margin: 1rem auto 0; text-align: center; }

.check-badge { display: block; width: 6rem; height: 6rem; margin: 0 auto 1.25rem; color: var(--brand-light-accent); }

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

.confirm-body h2 { margin-top: 1.8rem; }

.confirm-picks {
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem 0.8rem;
  text-align: left;
  border-radius: 24px;
}

.picks-caption { font-family: 'Lobster Two', Georgia, serif; font-weight: 700; font-size: 1.55rem; margin: 0 0 0.6rem; }

.confirm-picks ul { list-style: none; margin: 0; padding: 0; }

.confirm-picks li { margin: 0; padding: 0.6rem 0; border-top: 1px solid var(--border-light-subtle); }

.confirm-picks a { font-weight: 700; }

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

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

.footer-name { margin: 0; font-family: 'Lobster Two', Georgia, serif; font-weight: 700; font-size: 1.5rem; }

.footer-line { margin: 0; grid-column: 1; }

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

.footer-links li { margin: 0; }

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

@media (max-width: 47.99rem) {
  .footer-inner { 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; }
}
