@font-face { font-family: 'Anek Devanagari'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/anek-devanagari-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anek Devanagari'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/anek-devanagari-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anek Devanagari'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/anek-devanagari-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anek Devanagari'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/anek-devanagari-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anek Devanagari'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/anek-devanagari-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anek Devanagari'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/anek-devanagari-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anek Devanagari'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/anek-devanagari-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anek Devanagari'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/anek-devanagari-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/source-sans-pro-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #14232a;
  --fg-light-base-heading: #14232a;
  --fg-light-base-muted: #4a5d65;
  --fg-light-base-link: #006c57;
  --fg-light-base-inverse: #14232a;
  --bg-light-card: #e8f4f0;
  --fg-light-card-body: #14232a;
  --fg-light-card-heading: #14232a;
  --fg-light-card-muted: #4a5d65;
  --fg-light-card-link: #006c57;
  --fg-light-card-inverse: #14232a;
  --bg-light-elevated: #d5e8e1;
  --fg-light-elevated-body: #14232a;
  --fg-light-elevated-heading: #14232a;
  --fg-light-elevated-muted: #4a5d65;
  --fg-light-elevated-link: #006c57;
  --fg-light-elevated-inverse: #14232a;
  --brand-light-accent: #006c57;
  --brand-light-accent-hover: #00513f;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #006c57;
  --border-light-default: #6c7f87;
  --border-light-subtle: #c9ddd6;
}
.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); }

/* Dover Dermatology Review: consumer-report data sheet */
:root {
  --font-head: 'Anek Devanagari', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
  --teal: var(--brand-light-accent);
  --teal-deep: var(--brand-light-accent-hover);
  --slate: var(--border-light-default);
  --hair: 1px solid var(--border-light-subtle);
  --line: 1px solid var(--border-light-default);
  --wash: var(--bg-light-card);
  --ink: var(--fg-light-base-heading);
  --ink-rule: 3px solid var(--fg-light-base-heading);
  --tint: var(--bg-light-elevated);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 68ch;
  --wide: 78rem;
}

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

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

:target { scroll-margin-top: 5.5rem; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 { margin: 0; font-size: clamp(2rem, 1.35rem + 2.7vw, 3.3rem); line-height: 1.02; letter-spacing: -0.01em; }
h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.3rem, 1.12rem + 0.75vw, 1.65rem); }
h3 { margin: 1.6em 0 0.4em; font-size: 1.15rem; }
p { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }

a.text-role-link { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* Rating pills: every Google rating link reads as a pill. */
.sheet a[href^="https://www.google.com/maps"] {
  display: inline;
  padding: 0.05em 0.5em 0.1em;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--wash);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.9em;
  font-weight: 500;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.sheet a[href^="https://www.google.com/maps"]:hover { border-color: var(--teal-deep); text-decoration: underline; }

/* ---------- header: mint masthead over an ink rule ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: var(--ink-rule);
}

.masthead {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.55rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
}

.brand .site-logo { width: 36px; height: 36px; flex: none; }

.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.site-header .text-role-link { text-decoration: none; }
.site-header .text-role-link:hover { color: var(--fg-link); text-decoration: underline; text-underline-offset: 0.25em; }

/* desktop: inline links, grouped tiles when the renderer groups them */
.site-nav { display: none; }

.site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

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

.site-nav > ul > li > a,
.site-nav-group > summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.7rem;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.site-nav-group > summary {
  list-style: none;
  cursor: pointer;
  color: var(--fg-heading);
}
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--teal);
}
.site-nav-group[open] > summary { box-shadow: inset 0 -3px 0 var(--teal); }
.site-nav-group[open] > summary::after { content: "\2212"; }

.site-nav-group > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin: 0;
  padding: 1.5rem max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter))) 1.75rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  background: var(--wash);
  border-bottom: var(--ink-rule);
  counter-reset: tile;
}

.site-nav-group > ul > li { margin: 0; counter-increment: tile; }

.site-nav-group > ul a {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  background: var(--bg-light-base);
  border-top: 3px solid var(--ink);
  border-radius: 0 0 3px 3px;
}
.site-nav-group > ul a::before {
  content: counter(tile, decimal-leading-zero);
  color: var(--teal);
  font-size: 0.85rem;
}

/* phone: filled toggle opens a sheet of numbered tiles */
.site-menu { flex: none; }

.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.9rem;
  background: var(--teal);
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--brand-light-on-accent);
}

.menu-icon {
  width: 12px;
  height: 12px;
  flex: none;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  transition: transform 0.2s ease;
}

.site-menu[open] > summary { background: var(--teal-deep); }
.site-menu[open] .menu-icon { transform: rotate(45deg); }

.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: calc(100vh - 4rem);
  overflow-y: auto;
  margin: 0;
  padding: 1.25rem var(--gutter) 2rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: min-content;
  gap: 0.6rem;
  background: var(--wash);
  border-bottom: var(--ink-rule);
  counter-reset: tile;
}

.site-menu > ul > li { margin: 0; counter-increment: tile; }
.site-menu > ul > li:first-child { grid-column: 1 / -1; }

.site-menu a {
  display: grid;
  gap: 0.3rem;
  height: 100%;
  min-height: 5rem;
  align-content: space-between;
  padding: 0.8rem 0.9rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  background: var(--bg-light-base);
  border-top: 3px solid var(--ink);
  border-radius: 0 0 3px 3px;
}
.site-menu a::before {
  content: counter(tile, decimal-leading-zero);
  color: var(--teal);
  font-size: 0.85rem;
}

.site-menu li ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.site-menu li ul li { margin: 0; }
.site-menu li ul a { min-height: 0; font-weight: 400; font-size: 0.95rem; }
.site-menu li ul a::before { content: none; }

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

/* ---------- page frame ---------- */

.sheet {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter) 4.5rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
}
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--slate);
}

figure { margin: 2rem 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 3px; }
figcaption { margin-top: 0.5rem; font-size: 0.875rem; }

.photo-hero { margin: 0 0 2rem; }
.photo-hero img { aspect-ratio: 2 / 1; object-fit: cover; }

.accent-block {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border: var(--hair);
  border-left: 4px solid var(--teal);
  background: var(--wash);
  border-radius: 0 6px 6px 0;
}

/* slate data tables */
.table-scroll { overflow-x: auto; margin: 1.75rem 0; border: var(--line); border-radius: 3px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-head);
  font-size: 0.92rem;
  line-height: 1.4;
}
.table-scroll table { margin: 0; }
th, td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; border-bottom: var(--hair); }
thead th {
  font-weight: 600;
  background: var(--tint);
  border-bottom: var(--line);
  white-space: nowrap;
}
tbody tr:nth-child(even) { background: var(--wash); }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { font-weight: 600; }

/* ---------- home: verdict over a grid of guide tiles ---------- */

.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding-top: clamp(1.25rem, 3.5vw, 3rem);
}

.verdict {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: var(--hair);
  border-top: 6px solid var(--ink);
  border-radius: 3px;
}

.verdict-title h1 { max-width: 15ch; }

.verdict-lines .display-line {
  margin: 0;
  padding: 0.8rem 0 0.8rem 1rem;
  border-left: 3px solid var(--teal);
  font-size: 1.05rem;
}
.verdict-lines .display-line + .display-line { margin-top: 0.75rem; }

.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem 1rem;
  border: var(--line);
  border-radius: 3px;
}
.tile:hover { border-color: var(--teal); }

.tile-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  text-decoration: none;
}
.tile-link:hover { text-decoration: underline; }

.tile-meter {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(var(--teal), var(--teal)) 0 0 / 92% 100% no-repeat, var(--wash);
}
.tile:nth-child(2) .tile-meter { background-size: 80% 100%, auto; }
.tile:nth-child(3) .tile-meter { background-size: 66% 100%, auto; }

.board-body { max-width: var(--measure); margin-top: 1.5rem; }
.board-body > h2:first-of-type { margin-top: 1.5rem; }
.board-body > .photo-hero { max-width: none; }

@media (min-width: 46rem) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { min-height: 8.5rem; }
}

@media (min-width: 60rem) {
  .board { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .verdict { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 3rem; }
  .tiles { grid-column: 1 / -1; }
  .board-body { grid-column: 1 / span 8; }
}

/* ---------- topn list: one-column ranked ladder ---------- */

.ladder { max-width: calc(var(--measure) + 4rem); padding-top: clamp(1.25rem, 3.5vw, 2.75rem); }

.ladder-head { padding-bottom: 1.1rem; border-bottom: var(--ink-rule); }
.ladder-head h1 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.9rem); }

.ladder-body { margin-top: 1.75rem; }
.ladder-body > p, .ladder-body > ul { max-width: var(--measure); }

.ladder-body ol {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  counter-reset: rung 0;
  border-top: var(--line);
}
.ladder-body ol[start="2"] { counter-reset: rung 1; }
.ladder-body ol[start="3"] { counter-reset: rung 2; }
.ladder-body ol[start="4"] { counter-reset: rung 3; }
.ladder-body ol[start="5"] { counter-reset: rung 4; }
.ladder-body ol[start="6"] { counter-reset: rung 5; }

.ladder-body ol > li {
  counter-increment: rung;
  position: relative;
  display: block;
  min-height: 4.3rem;
  margin: 0;
  padding: 0.85rem 0 0.85rem 3.6rem;
  border-bottom: var(--hair);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.3;
}

.ladder-body ol > li::before {
  content: counter(rung);
  position: absolute;
  left: 0;
  top: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 3px;
  background: var(--ink);
  color: var(--bg-light-base);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.ladder-body > p > strong:first-child {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.ladder-index {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem 1rem;
  border: var(--hair);
  border-radius: 3px;
}
.ladder-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}
.ladder-index li { margin: 0; border-top: var(--hair); }
.ladder-index a { display: block; padding: 0.6rem 0; font-family: var(--font-head); font-size: 0.95rem; }

/* ---------- provider review: summary box then stepped criteria ---------- */

.scorecard { max-width: calc(var(--measure) + 6rem); padding-top: clamp(1.25rem, 3.5vw, 2.75rem); }

.scorecard-summary {
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  border: var(--line);
  border-top: 6px solid var(--ink);
  border-radius: 3px;
}
.scorecard-title h1 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.8rem); }

.scorecard-steps {
  counter-reset: crit;
  margin-top: 2rem;
  padding-left: 0;
}
.scorecard-steps > * { max-width: var(--measure); }
.scorecard-steps > p:first-child { font-size: 1.15rem; line-height: 1.6; }

.scorecard-steps > h2 {
  counter-increment: crit;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: var(--line);
}
.scorecard-steps > h2::before {
  content: counter(crit);
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-size: 1rem;
  line-height: 1;
}
.scorecard-steps > h2 ~ * { margin-left: 3rem; }
.scorecard-steps > h2 ~ h2 { margin-left: 0; }
.scorecard-steps > h2 ~ .photo-hero, .scorecard-steps > h2 ~ figure { margin-left: 0; max-width: none; }

.scorecard-steps ul { list-style: none; padding: 0; }
.scorecard-steps ul > li {
  margin: 0 0 0.5rem;
  padding: 0.55rem 0.8rem;
  background: var(--wash);
  border-left: 3px solid var(--teal);
  border-radius: 0 4px 4px 0;
}

.scorecard-related { margin-top: 2.5rem; }
.scorecard-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.scorecard-related li { margin: 0; }
.scorecard-related a { display: inline-block; padding: 0.4rem 0.8rem; border: var(--line); border-radius: 999px; font-family: var(--font-head); font-size: 0.9rem; }

@media (max-width: 40rem) {
  .scorecard-steps > h2 ~ * { margin-left: 0; }
}

/* ---------- comparison: split head-to-head ---------- */

.versus {
  display: grid;
  gap: 1.75rem;
  padding-top: clamp(1.25rem, 3.5vw, 2.75rem);
}

.versus-side {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: var(--hair);
  border-top: 6px solid var(--ink);
  border-radius: 3px;
}
.versus-side h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }

.versus-body { min-width: 0; }
.versus-body > p, .versus-body > ul, .versus-body > ol { max-width: var(--measure); }
.versus-body > h2:first-child, .versus-body > p:first-child { margin-top: 0; }

.versus-more ul { list-style: none; margin: 0; padding: 0; }
.versus-more li { margin: 0; border-top: var(--hair); }
.versus-more a { display: block; padding: 0.55rem 0; font-family: var(--font-head); font-size: 0.92rem; }

@media (min-width: 62rem) {
  .versus { grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
  .versus-side { position: sticky; top: 5.5rem; grid-row: 1 / span 2; }
  .versus-more { grid-column: 2; }
}

/* ---------- about: two-column method ---------- */

.method {
  display: grid;
  gap: 1.75rem;
  padding-top: clamp(1.25rem, 3.5vw, 2.75rem);
}
.method-head h1 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.7rem); }
.method-body { max-width: var(--measure); }
.method-body > p:first-child { font-size: 1.15rem; margin-top: 0; }

.method-body > h2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: var(--line);
}
.method-body > h2::after {
  content: "";
  width: 4.5rem;
  height: 6px;
  border-radius: 3px;
  background: var(--teal);
}

@media (min-width: 60rem) {
  .method { grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr); column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .method-head { position: sticky; top: 5.5rem; padding-right: 1.5rem; border-right: var(--ink-rule); }
}

/* ---------- contact: form beside the corrections note ---------- */

.desk { padding-top: clamp(1.25rem, 3.5vw, 2.75rem); }
.desk-head { padding-bottom: 1rem; border-bottom: var(--ink-rule); }

.desk-split { display: grid; gap: 2rem; margin-top: 2rem; }

.desk-form {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: var(--line);
  border-radius: 3px;
}

.desk-label { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }

.desk-input {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  color: inherit;
  background: var(--bg-light-base);
  border: 1px solid var(--slate);
  border-radius: 4px;
}
.desk-input:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }

.desk-submit {
  justify-self: start;
  margin-top: 0.6rem;
  min-height: 44px;
  padding: 0.6rem 1.3rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--teal);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.desk-submit:hover { background: var(--teal-deep); }

.desk-note { max-width: var(--measure); }
.desk-note > p:first-child { margin-top: 0; }

@media (min-width: 60rem) {
  .desk-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .desk-form { position: sticky; top: 5.5rem; }
}

/* ---------- thank you: confirmation over three comparisons ---------- */

.after { padding-top: clamp(1.5rem, 4vw, 3.25rem); }
.after-head h1 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.7rem); }

.after-grid {
  list-style: none;
  margin: 1.75rem 0 2.25rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.after-card {
  margin: 0;
  padding: 1.2rem 1.25rem;
  border: var(--hair);
  border-top: 4px solid var(--ink);
  border-radius: 3px;
}
.after-card a { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }

.after-body { max-width: var(--measure); }

@media (min-width: 46rem) {
  .after-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- footer ---------- */

.site-footer { border-top: 4px solid var(--teal); }

.footer-grid {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
  display: grid;
  gap: 0.35rem 2rem;
  font-size: 0.9rem;
}
.footer-grid p { margin: 0; }
.footer-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }

@media (min-width: 46rem) {
  .footer-grid { grid-template-columns: auto 1fr auto; align-items: baseline; }
}

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