@font-face { font-family: 'PT Sans Narrow'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/pt-sans-narrow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'PT Sans Narrow'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/pt-sans-narrow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cabin'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/cabin-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cabin'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cabin-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cabin'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cabin-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cabin'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cabin-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cabin'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/cabin-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cabin'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cabin-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cabin'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/cabin-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cabin'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cabin-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #16231a;
  --fg-light-base-heading: #16231a;
  --fg-light-base-muted: #4c5b51;
  --fg-light-base-link: #2c7a1f;
  --fg-light-base-inverse: #1e2c22;
  --bg-light-card: #f1f6ee;
  --fg-light-card-body: #16231a;
  --fg-light-card-heading: #16231a;
  --fg-light-card-muted: #4c5b51;
  --fg-light-card-link: #2c7a1f;
  --fg-light-card-inverse: #1e2c22;
  --bg-light-elevated: #fbfdfa;
  --fg-light-elevated-body: #16231a;
  --fg-light-elevated-heading: #16231a;
  --fg-light-elevated-muted: #4c5b51;
  --fg-light-elevated-link: #2c7a1f;
  --fg-light-elevated-inverse: #1e2c22;
  --brand-light-accent: #2c7a1f;
  --brand-light-accent-hover: #21601a;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #2c7a1f;
  --border-light-default: #6c7d71;
  --border-light-subtle: #d4e0d0;
}
.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; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
: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); }

/* Rahway Podiatrist Review: consumer-ratings clarity */
:root {
  --ink: var(--fg-light-base-body);
  --green: var(--brand-light-accent);
  --green-deep: var(--brand-light-accent-hover);
  --green-tint: color-mix(in srgb, var(--brand-light-accent) 14%, var(--bg-light-base));
  --green-soft: color-mix(in srgb, var(--brand-light-accent) 38%, var(--bg-light-base));
  --white: var(--bg-light-base);
  --row: var(--bg-light-card);
  --rule: var(--border-light-subtle);
  --edge: var(--border-light-default);
  --narrow: 'PT Sans Narrow', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --text: 'Cabin', 'Segoe UI', sans-serif;
  --measure: 40rem;
  --wide: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

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

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--narrow);
  font-weight: 700;
  line-height: 1.12;
  color: var(--fg-heading);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; margin: 2.4rem 0 0.6rem; }
h3 { font-size: 1.25rem; margin: 1.8rem 0 0.4rem; }

p { margin: 0 0 1rem; }

a { color: var(--fg-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--green-deep); text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 3px 0 var(--green-tint);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.6rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg-heading);
  text-decoration: none;
  min-height: 44px;
}
.brand .site-logo { width: 2.25rem; height: 2.25rem; flex: none; }
.brand-name {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.05;
  overflow-wrap: normal;
}
.brand:hover { color: var(--fg-heading); }
.brand:hover .brand-name { text-decoration: underline; text-decoration-color: var(--green); }

.site-nav { display: none; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  color: var(--fg-body);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--green-deep); border-bottom-color: var(--green-soft); }
.site-nav a[aria-current="page"] { color: var(--green-deep); border-bottom-color: var(--green); }
.site-nav a[href="/comparing-treatments-for-heel-pain"] {
  background: var(--green);
  color: var(--brand-light-on-accent);
  border-radius: 4px;
  border-bottom-color: var(--green-deep);
  margin: 0 0.35rem;
}
.site-nav a[href="/comparing-treatments-for-heel-pain"]:hover { background: var(--green-deep); color: var(--brand-light-on-accent); }

.site-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1.5px solid var(--edge);
  border-radius: 4px;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  white-space: nowrap;
  overflow-wrap: normal;
  color: var(--fg-body);
  background: var(--white);
}
.site-menu > summary::-webkit-details-marker { display: none; }

.menu-icon {
  display: inline-block;
  width: 1.1rem;
  height: 0.8rem;
  background:
    linear-gradient(var(--green), var(--green)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--green), var(--green)) 0 50% / 75% 2px no-repeat,
    linear-gradient(var(--green), var(--green)) 0 100% / 50% 2px no-repeat;
}
.site-menu[open] > summary { background: var(--green-tint); border-color: var(--green); }

.site-menu[open] > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.5rem var(--gutter) 1rem;
  list-style: none;
  background: var(--white);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 10px 18px rgba(22, 35, 26, 0.12);
}
.site-menu ul ul { list-style: none; padding-left: 1rem; margin: 0; }
.site-menu li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 26rem) {
  .brand-name { font-size: 1.1rem; }
  .brand .site-logo { width: 1.9rem; height: 1.9rem; }
}

@media (min-width: 64rem) {
  .site-menu { display: none; }
  .site-nav { display: block; }
}

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

.page-frame {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter) 4rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  margin: 0;
  padding: 1.1rem 0 0;
  font-size: 0.92rem;
}
.breadcrumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--edge); }

/* ---------- Prose and data ---------- */

.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose h2 { padding-top: 0.6rem; border-top: 3px solid var(--green-tint); }
.prose ul { padding-left: 1.2rem; list-style: square; }
.prose ul li::marker { color: var(--green); }
.prose li { margin-bottom: 0.4rem; }
.prose strong { font-weight: 700; color: var(--fg-heading); }

.prose ol {
  margin: 1rem 0 1.5rem;
  padding: 0 0 0 3.2rem;
  border-top: 1px solid var(--rule);
}
.prose ol li {
  padding: 0.65rem 0.8rem;
  margin: 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(90deg, var(--green-tint), var(--white) 70%);
}
.prose ol li:nth-child(even) { background: linear-gradient(90deg, var(--row), var(--white) 70%); }
.prose ol li::marker {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-deep);
}

.table-scroll {
  overflow-x: auto;
  margin: 1.4rem 0 1.8rem;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: var(--white);
}
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 38rem; font-size: 0.96rem; }
.table-scroll th, .table-scroll td { overflow-wrap: normal; padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.table-scroll th {
  position: sticky;
  top: 0;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 1.02rem;
  background: var(--green-tint);
  border-bottom: 2px solid var(--green);
}
.table-scroll tbody tr td { border-top: 1px solid var(--rule); }
.table-scroll tbody tr:nth-child(even) td { background: var(--row); }
.table-scroll td:first-child { font-family: var(--narrow); font-weight: 700; color: var(--green-deep); white-space: nowrap; }

blockquote {
  margin: 1.4rem 0;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--green);
  background: var(--row);
}

/* ---------- Rank-order meter: bars step down, highest first ---------- */

.row-meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 1.4rem; }
.row-meter i { display: block; width: 0.45rem; border-radius: 1px; background: var(--green); }
.row-meter i:nth-child(1) { height: 100%; }
.row-meter i:nth-child(2) { height: 82%; }
.row-meter i:nth-child(3) { height: 64%; background: var(--green-soft); }
.row-meter i:nth-child(4) { height: 46%; background: var(--green-soft); }
.row-meter i:nth-child(5) { height: 28%; background: var(--green-soft); }

/* ---------- Home: stepped scoreboard ---------- */

.board-hero {
  padding: clamp(2rem, 6vw, 4rem) 0 1.75rem;
  max-width: 50rem;
}
.board-lines { margin-top: 1rem; font-size: 1.15rem; max-width: 36rem; color: var(--fg-muted); }
.board-lines p { margin-bottom: 0.4rem; }

.shortlist {
  padding: 1.2rem clamp(1rem, 3vw, 1.75rem) 1.6rem;
  border-top: 4px solid var(--green);
  border-radius: 0 0 6px 6px;
}
.shortlist-key { margin: 0 0 0.9rem; font-size: 0.95rem; }
.shortlist-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.shortlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "group meter" "link link";
  align-items: center;
  gap: 0.15rem 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  border-radius: 4px;
}
.row-group { grid-area: group; font-size: 0.9rem; }
.row-link {
  grid-area: link;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  text-decoration: none;
}
.row-link:hover { text-decoration: underline; }
.row-meter { grid-area: meter; }

.board-method { margin-top: 2.5rem; }

@media (min-width: 48rem) {
  .shortlist-row {
    grid-template-columns: 12rem minmax(0, 1fr) auto;
    grid-template-areas: "group link meter";
  }
  .shortlist-row:nth-child(2) { margin-left: 2rem; }
  .shortlist-row:nth-child(3) { margin-left: 4rem; }
  .shortlist-row:nth-child(4) { margin-left: 6rem; }
  .shortlist { margin-left: 2rem; }
  .board-method { margin-left: 4rem; }
}

/* ---------- Ranking ladder ---------- */

.ladder-head { padding: clamp(1.5rem, 5vw, 3rem) 0 1.4rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.8rem; }
.ladder-key { display: flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0 0; font-size: 0.95rem; }
.key-swatch { width: 2.4rem; height: 0.55rem; background: linear-gradient(90deg, var(--green), var(--green-tint)); border-radius: 1px; }
.ladder-body { max-width: 48rem; }
.ladder-body p:has(> strong:first-child) {
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  background: var(--white);
}

.entries {
  max-width: 48rem;
  margin-top: 2.5rem;
  padding: 1.2rem 1.25rem 1.4rem;
  border-top: 4px solid var(--green);
  border-radius: 0 0 6px 6px;
}
.entries:has(.entries-list > ul:empty) { display: none; }
.entries-label { margin: 0 0 0.7rem; font-family: var(--narrow); font-weight: 700; font-size: 1.3rem; }
.entries-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.entries-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}
.entries-list a::after { content: "›"; font-size: 1.4rem; color: var(--green); }
.entries-list a:hover { border-color: var(--green); }

/* ---------- Provider profile ---------- */

.profile { padding-top: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 2rem; }
.profile-side {
  padding: 1.3rem 1.25rem;
  border-top: 4px solid var(--green);
  border-radius: 0 0 6px 6px;
  align-self: start;
}
.profile-side h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
.profile-note { margin-top: 1rem; font-size: 0.94rem; }
.profile-method { margin: 0; font-weight: 600; }
.profile-related ul { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.profile-related ul:empty { display: none; }
.profile-verdict h2:first-of-type { margin-top: 0.4rem; }

@media (min-width: 56rem) {
  .profile { grid-template-columns: 18rem minmax(0, 1fr); gap: 3rem; }
  .profile-side { position: sticky; top: 5.5rem; }
}

/* ---------- Comparison matrix ---------- */

.matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(1.5rem, 5vw, 3rem);
}
.matrix-title { max-width: 48rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.8rem; }
.matrix-body { max-width: none; display: grid; grid-template-columns: minmax(0, var(--measure)); }
.matrix-body .table-scroll { grid-column: 1 / -1; }
.matrix-related ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.matrix-related ul:empty { display: none; }

@media (min-width: 64rem) {
  .matrix-body { grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr); column-gap: 3rem; }
  .matrix-body > * { grid-column: 1; }
  .matrix-body > .table-scroll { grid-column: 1 / -1; }
}

/* ---------- Methodology criteria ---------- */

.criteria { padding-top: clamp(1.5rem, 5vw, 3rem); counter-reset: criterion; }
.criteria-title { max-width: 44rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.8rem; }
.criteria-body h2 {
  counter-increment: criterion;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.criteria-body h2::before {
  content: counter(criterion);
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 4px;
  background: var(--green);
  color: var(--brand-light-on-accent);
  font-size: 1.2rem;
}

/* ---------- Contact ---------- */

.desk { padding-top: clamp(1.5rem, 5vw, 3rem); display: grid; gap: 2rem; }
.desk-title { padding-bottom: 1.2rem; }
.desk-form {
  align-self: start;
  display: grid;
  gap: 1rem;
  padding: 1.4rem 1.3rem 1.6rem;
  border-top: 4px solid var(--green);
  border-radius: 0 0 6px 6px;
}
.form-pair { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.3rem; }
.field-label { font-family: var(--narrow); font-weight: 700; font-size: 1.05rem; }
.field input, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--edge);
  border-radius: 4px;
}
.field textarea { resize: vertical; }
.form-button {
  justify-self: start;
  min-height: 48px;
  padding: 0 1.6rem;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-light-on-accent);
  background: var(--green);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.form-button:hover { background: var(--green-deep); }

@media (min-width: 40rem) {
  .form-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60rem) {
  .desk { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 3.5rem; }
  .desk-form { position: sticky; top: 5.5rem; }
}

/* ---------- Thank you ---------- */

.confirm { padding-top: clamp(2rem, 6vw, 4rem); }
.confirm-card {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2rem clamp(1.2rem, 4vw, 2.2rem);
  border-top: 4px solid var(--green);
  border-radius: 0 0 6px 6px;
}
.confirm-tick { width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; }
.confirm-tick circle { fill: var(--green); }
.confirm-tick path { fill: none; stroke: var(--brand-light-on-accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.confirm-title { margin-bottom: 1rem; }
.confirm-return { margin: 1.4rem 0 0; font-weight: 600; }

/* ---------- Photo sections ---------- */

section[data-section][style] { border-radius: 6px; margin: 1.5rem 0; }

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

.site-footer { border-top: 4px solid var(--green); }
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.4rem;
  display: grid;
  gap: 0.3rem;
}
.footer-name { font-family: var(--narrow); font-weight: 700; font-size: 1.3rem; margin: 0; }
.footer-line { margin: 0; max-width: 40rem; }
.footer-method { margin: 0.5rem 0 0; font-weight: 600; }

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