@font-face { font-family: 'Caladea'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/caladea-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Caladea'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/caladea-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Caladea'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/caladea-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Caladea'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/caladea-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f5f5f2;
  --fg-light-base-body: #26282b;
  --fg-light-base-heading: #26282b;
  --fg-light-base-muted: #55585d;
  --fg-light-base-link: #a8460f;
  --fg-light-base-inverse: #303236;
  --bg-light-card: #fcfcfa;
  --fg-light-card-body: #26282b;
  --fg-light-card-heading: #26282b;
  --fg-light-card-muted: #55585d;
  --fg-light-card-link: #a8460f;
  --fg-light-card-inverse: #303236;
  --bg-light-elevated: #ebeae6;
  --fg-light-elevated-body: #26282b;
  --fg-light-elevated-heading: #26282b;
  --fg-light-elevated-muted: #55585d;
  --fg-light-elevated-link: #a8460f;
  --fg-light-elevated-inverse: #303236;
  --brand-light-accent: #a8460f;
  --brand-light-accent-hover: #87370b;
  --brand-light-on-accent: #fcfcfa;
  --focus-light-ring: #a8460f;
  --border-light-default: #7b7e83;
  --border-light-subtle: #d6d5d0;
}
.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); }

:root {
  --ember: var(--brand-light-accent);
  --ember-deep: var(--brand-light-accent-hover);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --paper: var(--bg-light-base);
  --sheet: var(--bg-light-card);
  --tray: var(--bg-light-elevated);
  --graphite: #26282b;
  --face-heading: 'Caladea', Georgia, 'Times New Roman', serif;
  --face-body: 'IBM Plex Sans Arabic', 'Segoe UI', Arial, sans-serif;
  --measure: 38rem;
  --frame: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

html { background: var(--paper); }

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--face-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
  font-family: var(--face-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); margin: 0; max-width: 20ch; }
h2 { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); margin: 2.25em 0 0.6em; }
h3 { font-size: 1.25rem; margin: 1.6em 0 0.4em; }
p, li { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3em; }

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

a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
}

.photo-hero, .photo-inline { margin: 0 0 1.75rem; }
.photo-hero img, .photo-inline img { display: block; width: 100%; height: auto; border: 1px solid var(--rule-soft); }

/* Scored tables: the recurring device */

.table-scroll { overflow-x: auto; margin: 0 0 1.75rem; border-top: 3px solid var(--graphite); }
.table-scroll table { border-collapse: collapse; min-width: 100%; font-size: 0.97rem; }
.table-scroll th, .table-scroll td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--rule-soft); text-align: left; vertical-align: top; }
.table-scroll thead th { font-family: var(--face-body); font-weight: 600; font-size: 0.9rem; border-bottom: 2px solid var(--rule); white-space: nowrap; }
.table-scroll td:not(:first-child) { white-space: nowrap; }
.table-scroll tbody tr:nth-child(even) { background: var(--tray); }

/* Header: nameplate block, brand cell beside a two-line deck */

.site-header { position: static; }
.site-header::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg,
    var(--ember) 0 40%, var(--sheet) 40% calc(40% + 3px),
    var(--rule) calc(40% + 3px) 64%, var(--sheet) 64% calc(64% + 3px),
    var(--rule-soft) calc(64% + 3px) 100%);
}

.masthead {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.brand { display: block; line-height: 0; flex: 0 1 auto; min-width: 0; margin-right: auto; }
.brand .site-logo { display: block; width: 8.75rem; max-width: 100%; height: auto; }
.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.deck { display: none; }
.deck-top { display: flex; align-items: center; gap: 1rem; }
.scale-strip {
  display: none;
  flex: 1 1 auto;
  height: 0.5rem;
  background: repeating-linear-gradient(90deg, var(--rule-soft) 0 calc(20% - 3px), transparent calc(20% - 3px) 20%);
}

.shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.35rem 1rem;
  background: var(--ember);
  color: var(--brand-light-on-accent);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  white-space: nowrap;
  text-decoration: none;
}
a.shortcut.text-role-link { text-decoration: none; color: var(--brand-light-on-accent); }
.shortcut:hover { background: var(--ember-deep); }

@media (min-width: 640px) {
  .deck { display: block; flex: none; }
  .brand .site-logo { width: 9.5rem; }
}

.site-nav { display: none; }
.site-nav > ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  counter-reset: navno;
  border: 1px solid var(--rule-soft);
}
.site-nav > ul > li { margin: 0; position: relative; counter-increment: navno; flex: 1 1 auto; }
.site-nav > ul > li + li { border-left: 1px solid var(--rule-soft); }
.site-nav > ul > li > a,
.site-nav-group > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.3rem 0.5rem;
  color: var(--graphite);
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.site-nav > ul > li > a::before,
.site-nav-group > summary::before {
  content: counter(navno);
  font-family: var(--face-heading);
  font-weight: 700;
  color: var(--ember);
}
.site-nav > ul > li > a.text-role-link { text-decoration: none; color: var(--graphite); }
.site-nav > ul > li > a:hover,
.site-nav-group > summary:hover,
.site-nav-group[open] > summary { background: var(--tray); }
.site-nav > ul > li > a[aria-current] { box-shadow: inset 0 -3px 0 var(--ember); }
.site-nav-group > summary { list-style: none; }
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}
.site-nav-group[open] > summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.site-nav-group > ul {
  position: absolute;
  left: -1px;
  top: 100%;
  z-index: 30;
  min-width: 19rem;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--sheet);
  border: 1px solid var(--rule);
  box-shadow: 0 0.75rem 1.5rem -0.75rem rgb(38 40 43 / 0.35);
}
.site-nav-group > ul > li:nth-child(even) { background: var(--tray); }
.site-nav-group > ul > li:first-child { font-weight: 600; }
.site-nav-group > ul a { display: block; padding: 0.6rem 1rem; line-height: 1.35; text-decoration: none; }
.site-nav-group > ul a:hover { text-decoration: underline; }

.site-menu { position: static; flex: none; }
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.3rem 0.1rem;
  font-weight: 600;
  font-size: 0.97rem;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  border-bottom: 3px solid var(--ember);
}
.site-menu .menu-label { white-space: nowrap; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu .menu-icon {
  display: inline-grid;
  width: 1rem;
  height: 0.9rem;
  background:
    linear-gradient(var(--ember), var(--ember)) 0 0 / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 70% 3px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 40% 3px no-repeat;
}
.site-menu[open] .menu-icon {
  background:
    linear-gradient(var(--ember), var(--ember)) 0 50% / 100% 3px no-repeat;
}
.site-menu > ul {
  position: absolute;
  right: var(--gutter);
  top: calc(100% - 0.2rem);
  z-index: 30;
  width: min(22rem, calc(100% - 2 * var(--gutter)));
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: menuno;
  background: var(--sheet);
  border: 1px solid var(--rule);
  box-shadow: 0 1rem 2rem -1rem rgb(38 40 43 / 0.45);
}
.masthead { position: relative; }
.site-menu > ul > li { margin: 0; counter-increment: menuno; }
.site-menu > ul > li:nth-child(even) { background: var(--tray); }
.site-menu ul ul { list-style: none; padding-inline-start: 2.6rem; }
.site-menu a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: baseline;
  padding: 0.7rem 1rem;
  color: var(--graphite);
  font-weight: 600;
  text-decoration: none;
}
.site-menu a.text-role-link { color: var(--graphite); text-decoration: none; }
.site-menu > ul > li > a::before {
  content: counter(menuno);
  font-family: var(--face-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ember);
}
.site-menu a:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .masthead {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
    padding-block: 0.85rem;
  }
  .brand { margin-right: 0; padding-right: 1rem; border-right: 1px solid var(--rule-soft); }
  .brand .site-logo { width: 8.5rem; }
  .deck { display: grid; gap: 0.55rem; }
  .scale-strip { display: block; }
  .deck-top { justify-content: flex-end; }
  .site-nav { display: block; }
  .site-menu { display: none; }
}

/* Page frame and breadcrumbs */

.page { padding-bottom: 4.5rem; }

.breadcrumbs {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 1.1rem var(--gutter) 0;
  font-size: 0.9rem;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; padding: 0 0.5rem; color: var(--rule); }

main {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.panel-label {
  margin: 0 0 0.75rem;
  font-family: var(--face-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

/* Home: scorecard grid */

.scorehead {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.75rem) 0 2.5rem;
}
.scorehead-lines { max-width: 34rem; margin-top: 1.25rem; }
.scorehead-lines .display-line { font-size: 1.15rem; margin: 0 0 0.6rem; }

.scorecard {
  align-self: start;
  border: 1px solid var(--rule);
  border-top: 6px solid var(--graphite);
  padding: 1.25rem 1.25rem 1rem;
}
.scorecard-table { width: 100%; border-collapse: collapse; }
.scorecard-table caption {
  text-align: left;
  font-family: var(--face-heading);
  font-weight: 700;
  font-size: 1.3rem;
  padding-bottom: 0.6rem;
}
.scorecard-table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0 0 0.35rem;
  border-bottom: 2px solid var(--rule);
}
.scorecard-table td { padding: 0.65rem 0; border-bottom: 1px solid var(--rule-soft); font-weight: 600; }
.scorecard-table td.num, .scorecard-table th:last-child { text-align: right; white-space: nowrap; }
.scorecard-table tbody tr:first-child td { border-bottom-color: var(--ember); }

.legend { margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.legend-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}
.legend dt { font-weight: 600; font-family: var(--face-body); font-size: 0.95rem; }
.legend dt::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.45rem;
  background: var(--ember);
}
.legend-row + .legend-row dt::before { background: var(--rule); }
.legend dd { margin: 0; font-size: 0.93rem; }

@media (min-width: 900px) {
  .scorehead {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 3.5rem;
    align-items: center;
  }
}

.home-body { border-top: 1px solid var(--rule-soft); padding-top: 0.5rem; }
.home-body > * { max-width: var(--measure); }
.home-body > .photo-hero { max-width: 52rem; }

@media (min-width: 900px) {
  .home-body {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 3.5rem;
  }
  .home-body > * { grid-column: 2; }
  .home-body > h2 {
    grid-column: 1;
    margin-top: 1.4em;
    padding-top: 0.6rem;
    border-top: 3px solid var(--graphite);
  }
  .home-body > .photo-hero { grid-column: 1 / -1; }
}

/* Ranked list: one column with a five-step scale */

.ranking { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.ranking-head { padding: clamp(2rem, 5vw, 3.25rem) 0 1.5rem; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin-top: 1.25rem; max-width: 18rem; }
.scale span { height: 0.5rem; background: var(--rule-soft); }
.scale span:first-child { background: var(--ember); }
.scale span:nth-child(2) { background: var(--rule); }

.ranking-body > ol {
  padding-inline-start: 0;
  list-style-position: inside;
  margin: 0 0 2rem;
}
.ranking-body > ol > li {
  padding: 1rem 0 0.25rem 1rem;
  border-top: 1px solid var(--rule-soft);
  border-left: 4px solid var(--rule-soft);
}
.ranking-body > ol > li::marker { font-family: var(--face-heading); font-weight: 700; font-size: 1.35rem; color: var(--ember); }
.ranking-body > ol > li > p:first-child { display: inline; font-family: var(--face-heading); font-weight: 700; font-size: 1.3rem; }
.ranking-body > ol > li > p:first-child strong { font-weight: 700; }
.ranking-body > ol > li > p + p { margin-top: 0.6rem; }
.ranking-body > ol > li:hover { border-left-color: var(--ember); }
.ranking-body section[data-section] { margin: 2rem 0; }
.ranking-body section[data-section] > .bg-surface-card { max-width: 32rem; padding: 1.25rem; border-top: 4px solid var(--graphite); }
.ranking-body section[data-section] h2 { margin-top: 0; }

.ranking-reviews { margin-top: 2.5rem; padding: 1.25rem 1.25rem 0.75rem; border-top: 3px solid var(--graphite); }
.ranking-reviews:not(:has(li)) { display: none; }
.ranking-items ul { list-style: none; margin: 0; padding: 0; columns: 2 14rem; column-gap: 2rem; }
.ranking-items li { margin: 0; padding: 0.45rem 0; break-inside: avoid; border-bottom: 1px solid var(--rule-soft); }

/* Provider review: profile beside a scoring sidebar */

.profile-head { padding: clamp(2rem, 5vw, 3.25rem) 0 1.5rem; border-bottom: 1px solid var(--rule-soft); margin-bottom: 1.5rem; }
.profile-grid { display: grid; gap: 2rem; }
.profile-body { max-width: var(--measure); }
.profile-body > h2:first-child { margin-top: 0.5em; }
.profile-body ul { padding-inline-start: 1.1em; }
.profile-body ul > li::marker { color: var(--ember); }

.profile-side {
  align-self: start;
  padding: 1.25rem;
  border: 1px solid var(--rule);
  border-top: 6px solid var(--graphite);
}
.criteria { list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: crit; }
.criteria li {
  counter-increment: crit;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  column-gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule-soft);
}
.criteria li::before {
  content: counter(crit);
  grid-row: span 2;
  font-family: var(--face-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ember);
}
.criterion { font-weight: 600; }
.criterion-note { font-size: 0.93rem; }
.side-items:not(:has(li)) { display: none; }
.side-items ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.side-note { margin: 0; font-size: 0.93rem; padding-top: 0.75rem; border-top: 1px solid var(--rule-soft); }

@media (min-width: 900px) {
  .profile-grid { grid-template-columns: minmax(0, var(--measure)) minmax(0, 18rem); column-gap: 4rem; justify-content: start; }
}

/* Comparison: matrix grid */

.matrix-head {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 6px solid var(--graphite);
}
.matrix-body { display: grid; padding-top: 1.5rem; }
.matrix-body > * { max-width: var(--measure); }
.matrix-body > .table-scroll, .matrix-body > .photo-hero { max-width: none; }
.matrix-body section[data-section] { margin: 2rem 0; max-width: none; }
.matrix-body section[data-section] > .bg-surface-card { padding: 1.25rem; max-width: 34rem; }
.matrix-items:not(:has(li)) { display: none; }
.matrix-items ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0.75rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.matrix-items li { margin: 0; padding: 0.75rem 1rem; border: 1px solid var(--rule-soft); border-top: 3px solid var(--ember); }

@media (min-width: 900px) {
  .matrix-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 3rem;
  }
  .matrix-body > * { grid-column: 1 / -1; }
  .matrix-body > h2 { grid-column: 1; }
  .matrix-body > h2 + p { grid-column: 1 / -1; }
}

/* About: methodology panel with numbered criteria */

.method { max-width: calc(var(--measure) + 6rem + 2 * var(--gutter)); }
.method-head { padding: clamp(2rem, 5vw, 3.25rem) 0 1.5rem; }
.method-panel {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--rule);
  border-top: 6px solid var(--graphite);
  counter-reset: step;
}
.method-panel > * { max-width: var(--measure); }
.method-panel > h2 { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-items: baseline; }
.method-panel > h2::before { content: counter(step); color: var(--ember); }
.method-panel > h2:first-of-type { margin-top: 1.5em; }
.method-panel > h2 ~ p, .method-panel > h2 ~ ul { margin-left: 2.5rem; }

/* Contact: plain feedback form */

.feedback { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.feedback-head { padding: clamp(2rem, 5vw, 3.25rem) 0 1.5rem; }
.feedback-form {
  display: grid;
  gap: 1rem 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-top: 6px solid var(--graphite);
  margin-bottom: 2.5rem;
}
.field { display: grid; gap: 0.3rem; }
.field-label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  color: inherit;
  font: inherit;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field-hint { margin: 0; font-size: 0.93rem; }
.form-button {
  justify-self: start;
  min-height: 46px;
  padding: 0.55rem 1.5rem;
  border: 0;
  border-radius: 3px;
  background: var(--ember);
  color: var(--brand-light-on-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.form-button:hover { background: var(--ember-deep); }

@media (min-width: 640px) {
  .feedback-form { grid-template-columns: 1fr 1fr; }
  .field-wide, .form-button { grid-column: 1 / -1; }
}

/* Thank you: receipt slip */

.receipt-page { max-width: calc(var(--measure) + 2 * var(--gutter)); padding-top: clamp(2rem, 6vw, 4rem); }
.receipt {
  padding: 1.5rem 1.5rem 2rem;
  border: 1px dashed var(--rule);
  border-top: 6px solid var(--graphite);
  margin-bottom: 2rem;
  background-image: radial-gradient(circle at 0.6rem 100%, var(--paper) 0.35rem, transparent 0.4rem);
  background-size: 1.2rem 1rem;
  background-repeat: repeat-x;
  background-position: 0 100%;
}
.receipt-title h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
.receipt-body > h2:first-child { margin-top: 0; }

/* Footer */

.footer-inner {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 1.75rem var(--gutter) 2.25rem;
  display: grid;
  gap: 0.4rem;
}
.site-footer { border-top: 3px solid var(--graphite); }
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--face-heading); font-size: 1.25rem; font-weight: 700; }
.footer-line { max-width: 40rem; font-size: 0.93rem; }

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