@font-face { font-family: 'Economica'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/economica-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Economica'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/economica-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Economica'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/economica-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Economica'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/economica-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/fira-sans-condensed-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f3f4f1;
  --fg-light-base-body: #171a2c;
  --fg-light-base-heading: #171a2c;
  --fg-light-base-muted: #4f5368;
  --fg-light-base-link: #3a3fb0;
  --fg-light-base-inverse: #34384f;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #171a2c;
  --fg-light-card-heading: #171a2c;
  --fg-light-card-muted: #4f5368;
  --fg-light-card-link: #3a3fb0;
  --fg-light-card-inverse: #34384f;
  --bg-light-elevated: #e4e7ef;
  --fg-light-elevated-body: #171a2c;
  --fg-light-elevated-heading: #171a2c;
  --fg-light-elevated-muted: #4f5368;
  --fg-light-elevated-link: #3a3fb0;
  --fg-light-elevated-inverse: #34384f;
  --brand-light-accent: #3a3fb0;
  --brand-light-accent-hover: #282c86;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #3a3fb0;
  --border-light-default: #6b6f87;
  --border-light-subtle: #cdd1dc;
}
.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); }

/* Treatment-buyer's comparison guide: condensed heads, spec sheets, checklist ticks, needle-depth gauges and light-filter swatches. */
:root {
  --font-head: 'Economica', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-text: 'Fira Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  --ink: var(--brand-light-accent);
  --ink-deep: var(--brand-light-accent-hover);
  --on-ink: var(--brand-light-on-accent);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --paper: var(--bg-light-base);
  --sheet: var(--bg-light-card);
  --tint: var(--bg-light-elevated);
  --f515: #7bbf4a;
  --f560: #e8c51f;
  --f590: #ea8a1c;
  --f640: #cf3a2c;
  --f695: #8e2236;
  --filters: linear-gradient(90deg, var(--f515) 0 20%, var(--f560) 20% 40%, var(--f590) 40% 60%, var(--f640) 60% 80%, var(--f695) 80% 100%);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --frame: 74rem;
  --measure: 41rem;
  --head-h: 3.95rem;
}

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.58;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 70;
  padding: 0.5rem 0.85rem;
  background: var(--sheet);
  border: 2px solid var(--ink);
}

/* ---------- Checklist tick ---------- */
.tick {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  box-sizing: border-box;
}
.tick::after {
  content: "";
  position: absolute;
  left: 0.27rem;
  top: 0.06rem;
  width: 0.28rem;
  height: 0.55rem;
  border-right: 2px solid var(--on-ink);
  border-bottom: 2px solid var(--on-ink);
  transform: rotate(45deg);
}
.tick-open { background: transparent; }
.tick-open::after { display: none; }

/* ---------- Motifs ---------- */
.swatch-filter { background: var(--filters); }
.swatch-depth {
  background:
    linear-gradient(var(--ink), var(--ink)) left bottom / 62% 40% no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10%) left top / 100% 50% no-repeat,
    linear-gradient(var(--rule-soft), var(--rule-soft)) left bottom / 100% 40% no-repeat;
}
.swatch-dose {
  background:
    radial-gradient(circle at 50% 50%, var(--ink) 0 34%, transparent 36%) left center / 20% 100% repeat-x,
    linear-gradient(var(--rule-soft), var(--rule-soft)) center / 100% 2px no-repeat;
}
.swatch-wave {
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 7px, var(--ink) 7px 8px, transparent 8px 16px),
    linear-gradient(var(--tint), var(--tint));
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--rule);
}
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0.55rem var(--gutter);
}
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; text-decoration: none; }
.brand .site-logo { display: block; width: auto; height: 2.1rem; }
.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.menu-slot { flex: 0 0 auto; }
.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.menu-icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-sizing: border-box;
}
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 0.02rem;
  width: 0.24rem;
  height: 0.48rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.site-menu[open] > summary { background: var(--ink); color: var(--on-ink); }
.site-menu > ul {
  position: fixed;
  top: var(--head-h);
  right: 0;
  bottom: 0;
  z-index: 51;
  width: min(21rem, 86vw);
  margin: 0;
  padding: 1.1rem var(--gutter) 2rem 2.6rem;
  list-style: none;
  overflow-y: auto;
  box-sizing: border-box;
  counter-reset: menu-mark;
  background:
    repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 2.5rem) left top / 1.35rem 100% no-repeat,
    repeating-linear-gradient(180deg, var(--rule) 0 1px, transparent 1px 0.625rem) left top / 0.7rem 100% no-repeat,
    linear-gradient(var(--rule), var(--rule)) 1.6rem top / 1px 100% no-repeat,
    var(--sheet);
  border-left: 3px solid var(--ink);
  box-shadow: 0 0 0 100vmax rgba(23, 26, 44, 0.42);
  animation: menu-slide 0.22s ease-out;
}
@keyframes menu-slide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.site-menu > ul > li { border-bottom: 1px solid var(--rule-soft); counter-increment: menu-mark; }
.site-menu > ul a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  min-height: 2.9rem;
  box-sizing: border-box;
  padding: 0.75rem 0 0.7rem;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.25;
  text-decoration: none;
}
.site-menu > ul > li > a::before {
  content: counter(menu-mark, decimal-leading-zero);
  flex: 0 0 1.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.site-menu > ul a:hover, .site-menu > ul a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.site-menu > ul ul { margin: -0.3rem 0 0.6rem; padding: 0 0 0 2.3rem; list-style: none; }
.site-menu > ul ul a { min-height: 2.75rem; padding: 0.5rem 0; font-weight: 500; font-size: 0.95rem; }

.shelf { display: none; border-top: 1px solid var(--rule-soft); }
.shelf-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.shelf .site-nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shelf .site-nav a,
.shelf .site-nav-group > summary {
  display: block;
  padding: 0.6rem 0 0.5rem;
  font-weight: 500;
  font-size: 0.97rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.shelf .site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav-group > summary { cursor: pointer; list-style: none; }
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > ul {
  position: absolute;
  z-index: 45;
  margin: 0;
  padding: 0.6rem 1rem;
  list-style: none;
  background: var(--sheet);
  border: 1px solid var(--rule);
}

.guide-index { flex: 0 0 auto; }
.guide-index > summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.guide-index > summary::-webkit-details-marker { display: none; }
.guide-index > 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);
}
.guide-index[open] > summary { background: var(--ink); color: var(--on-ink); }
.guide-index[open] > summary::after { transform: translateY(0.1rem) rotate(225deg); }
.index-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  box-shadow: 0 14px 28px -18px var(--rule);
}
.index-col { padding: 1.1rem 1.2rem 1.3rem; }
.index-col + .index-col { border-left: 1px solid var(--rule-soft); }
.index-swatch { display: block; width: 4.5rem; height: 0.7rem; margin: 0 0 0.75rem; border-radius: 2px; }
.index-head {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
  text-decoration: none;
}
.index-head:hover { text-decoration: underline; }
.index-list { margin: 0.7rem 0 0; padding: 0; list-style: none; }
.index-list li { position: relative; padding-left: 1.4rem; margin: 0 0 0.4rem; font-size: 0.97rem; line-height: 1.35; }
.index-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 1.5px solid var(--rule);
  border-radius: 2px;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  :root { --head-h: 6.85rem; }
  .menu-slot { display: none; }
  .shelf { display: block; }
  .head-row { padding-top: 0.65rem; padding-bottom: 0.65rem; }
  .brand .site-logo { height: 2.75rem; }
}

/* ---------- Page frame ---------- */
.page-frame {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 1.4rem var(--gutter) 4.5rem;
}
.breadcrumbs { font-size: 0.92rem; margin: 0 0 1.4rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.55rem; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 0.55rem; color: var(--rule); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: 0.005em; }
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.3rem);
  line-height: 0.98;
}

/* ---------- Prose ---------- */
.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.6rem 0 0.7rem; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.2rem); }
.prose h3 { margin: 1.8rem 0 0.5rem; font-size: 1.45rem; }
.prose p { margin: 0 0 1rem; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose a:hover { color: var(--ink-deep); text-decoration-thickness: 2px; }
.prose ul, .checklist { margin: 0 0 1.3rem; padding: 0; list-style: none; }
.prose ul > li, .checklist > li {
  position: relative;
  margin: 0 0 0.55rem;
  padding-left: 1.75rem;
}
.prose ul > li::before, .checklist > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-sizing: border-box;
}
.prose ul > li::after, .checklist > li::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.38rem;
  width: 0.28rem;
  height: 0.55rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}
.prose ol { margin: 0 0 1.3rem; padding-left: 1.5rem; }
.prose ol > li { margin: 0 0 0.55rem; padding-left: 0.25rem; }
.prose ol > li::marker { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.prose blockquote { margin: 1.4rem 0; padding: 0.2rem 0 0.2rem 1.1rem; border-left: 3px solid var(--ink); }
.prose img { display: block; border-radius: 4px; }
.prose figure { margin: 1.8rem 0; }
.prose hr { border: 0; height: 0.45rem; margin: 2.2rem 0; background: var(--filters); width: 6rem; border-radius: 2px; }

/* Tables as spec sheets */
.prose table {
  width: 100%;
  margin: 1.4rem 0 1.8rem;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.97rem;
  line-height: 1.4;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.prose th, .prose td { padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-soft); }
.prose tr:last-child td { border-bottom: 0; }
.prose th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--tint);
  border-bottom: 2px solid var(--ink);
}
.prose td:first-child { font-weight: 600; }
.prose tbody tr:nth-child(even) td { background: var(--paper); }

/* ---------- Spec sheet card ---------- */
.sheet {
  border: 1px solid var(--rule);
  border-radius: 5px;
  overflow: hidden;
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-bottom: 2px solid var(--ink);
}
.sheet-caption { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1.1; }
.sheet-cols { display: inline-flex; gap: 0.3rem; }
.sheet-cols > span { display: block; width: 1.6rem; height: 0.55rem; border-radius: 2px; background: var(--rule-soft); }
.sheet-cols > .col-a { background: var(--ink); }
.sheet-rows { margin: 0; padding: 0; list-style: none; }
.sheet-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 4.5rem;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule-soft);
}
.sheet-row:last-child { border-bottom: 0; }
.row-q { font-size: 1rem; line-height: 1.3; }
.row-mark { display: block; height: 0.75rem; border-radius: 2px; }
.mark-filter { background: var(--filters); }
.mark-gauge {
  background:
    linear-gradient(var(--ink), var(--ink)) left center / var(--fill, 50%) 40% no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 12.5%) left center / 100% 100% no-repeat;
}
.g1 { --fill: 25%; }
.g2 { --fill: 50%; }
.g3 { --fill: 75%; }

/* ---------- Home ---------- */
.home-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 2.6rem;
}
.hero-lines { margin-top: 1.2rem; max-width: 34rem; font-size: 1.14rem; line-height: 1.5; }
.hero-lines p { margin: 0 0 0.7rem; }
.hero-lines > :first-child { font-weight: 500; }
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 1rem;
  margin: 0 0 3rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 5px;
  text-decoration: none;
}
.cat-card:hover { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
.cat-card:hover .cat-name { text-decoration: underline; }
.cat-motif { display: block; height: 0.8rem; margin: 0 0 0.6rem; border-radius: 2px; }
.cat-name { text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; line-height: 1.05; }
.cat-note { font-size: 0.97rem; line-height: 1.35; }
.home-body { margin-top: 0.5rem; max-width: none; display: flow-root; }
.home-body > :not(.photo-hero) { max-width: var(--measure); }
.home-body .photo-hero {
  position: relative;
  margin: 0 0 2rem;
  padding: 0 0 0 1.3rem;
  background:
    repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 12.5%) left top / 0.6rem 100% no-repeat,
    repeating-linear-gradient(180deg, var(--rule) 0 1px, transparent 1px 6.25%) left top / 1rem 100% no-repeat;
}
.home-body .photo-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 45%;
  border: 0;
  border-bottom: 0.55rem solid transparent;
  border-image: var(--filters) 1;
  border-radius: 0;
  box-sizing: border-box;
}


@media (min-width: 900px) {
  .home-body .photo-hero { float: right; width: min(40%, 26rem); margin: 0.4rem 0 2rem 3rem; }
  .home-body .photo-hero img { aspect-ratio: 4 / 5; }
  .home-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3.5rem; padding-top: 2rem; }
}

/* ---------- Ranked list ---------- */
.ranked { display: grid; gap: 0 3rem; }
.ranked-head, .method-head { margin: 0 0 1.8rem; }
.ranked-rule {
  display: block;
  width: 9rem;
  height: 0.85rem;
  margin: 0 0 1rem;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 0.9rem) left top / 100% 55% no-repeat,
    linear-gradient(var(--ink), var(--ink)) left bottom / 100% 2px no-repeat;
}
.ranked-title, .method-title, .versus-title { max-width: 52rem; }
.spec-prose { max-width: none; }
.spec-prose > p, .spec-prose > h2, .spec-prose > h3, .spec-prose > ul, .spec-prose > blockquote, .spec-prose > table { max-width: var(--measure); }
.spec-prose > ol {
  counter-reset: rank;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
  padding: 0;
  list-style: none;
}
.spec-prose > ol > li {
  position: relative;
  margin: 0;
  padding: 2.9rem 1.1rem 1.1rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: 4px;
  line-height: 1.45;
}
.spec-prose > ol > li::before {
  content: counter(list-item);
  position: absolute;
  left: 1.1rem;
  top: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}
.spec-prose > ol > li::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 1.05rem;
  width: 5rem;
  height: 0.7rem;
  background:
    linear-gradient(var(--ink), var(--ink)) left bottom / 60% 45% no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10%) left top / 100% 50% no-repeat,
    linear-gradient(var(--rule-soft), var(--rule-soft)) left bottom / 100% 45% no-repeat;
}
.spec-prose > ol > li > :last-child { margin-bottom: 0; }
.spec-prose > ol > li::marker { content: none; }
.filed {
  align-self: start;
  padding: 1.2rem 1.3rem 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 5px;
}
.filed-label { margin: 0 0 0.9rem; font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; line-height: 1.1; }
.filed-items ul { margin: 0 0 0.6rem; padding: 0; list-style: none; }
.filed-items li { position: relative; margin: 0 0 0.7rem; padding-left: 1.75rem; line-height: 1.35; }
.filed-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-sizing: border-box;
}
.filed-items a { font-weight: 500; }

@media (min-width: 1080px) {
  .ranked { grid-template-columns: minmax(0, 1fr) 17rem; }
  .ranked-head { grid-column: 1 / -1; }
  .filed { position: sticky; top: calc(var(--head-h) + 1.2rem); }
}

/* ---------- Provider review ---------- */
.review { display: grid; gap: 2rem; }
.review-sheet { display: grid; gap: 1rem; align-content: start; }
.review-sheet .sheet { padding-bottom: 1.2rem; }
.review-title { padding: 1.1rem 1.1rem 0; }
.review-title h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); line-height: 1.02; overflow-wrap: anywhere; }
.review-gauge {
  display: block;
  height: 0.9rem;
  margin: 1.1rem 1.1rem 0;
  background:
    linear-gradient(var(--ink), var(--ink)) left bottom / 58% 45% no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10%) left top / 100% 50% no-repeat,
    linear-gradient(var(--rule-soft), var(--rule-soft)) left bottom / 100% 45% no-repeat;
}
.asklist { padding: 1rem 1.1rem 0.4rem; border: 1px solid var(--rule); border-radius: 5px; }
.asklist-label { margin: 0 0 0.7rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.asklist .checklist > li { font-size: 0.98rem; line-height: 1.35; }
.asklist .checklist > li::after { display: none; }

@media (min-width: 900px) {
  .review { grid-template-columns: 19rem minmax(0, 1fr); gap: 3rem; }
  .review-sheet { position: sticky; top: calc(var(--head-h) + 1.2rem); }
}

/* ---------- Comparison ---------- */
.versus { max-width: 54rem; }
.versus-head { margin: 0 0 1.8rem; }
.versus-split { display: flex; gap: 0.35rem; margin: 0 0 1rem; }
.versus-split > span { display: block; width: 4.2rem; height: 0.85rem; border-radius: 2px; }
.versus-split > span:first-child { background: var(--ink); }
.versus-split > span:last-child { background: var(--filters); }
.table-prose { max-width: none; }
.table-prose > p, .table-prose > h2, .table-prose > h3, .table-prose > ul, .table-prose > ol { max-width: var(--measure); }
.table-prose table { display: block; overflow-x: auto; }

@media (min-width: 900px) {
  .table-prose table { display: table; overflow: visible; }
  .table-prose thead th { position: sticky; top: var(--head-h); z-index: 2; }
}

/* ---------- About ---------- */
.method { max-width: 50rem; }
.counted { counter-reset: step; }
.counted > h2 { counter-increment: step; display: flex; align-items: baseline; gap: 0.75rem; }
.counted > h2::before {
  content: counter(step);
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 1.35rem;
  color: var(--ink);
  transform: translateY(-0.15rem);
}

/* ---------- Contact ---------- */
.request { display: grid; gap: 2rem; }
.request-title { margin: 0 0 1.4rem; }
.request-form {
  align-self: start;
  display: grid;
  gap: 1rem;
  padding: 1.3rem 1.3rem 1.5rem;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: 5px;
}
.form-ticks { display: flex; gap: 0.4rem; }
.field-pair { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.97rem; }
.field input, .field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: inherit;
  background: var(--sheet);
  border: 1.5px solid var(--rule);
  border-radius: 4px;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); outline-offset: 1px; }
.form-button {
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.6rem 1.6rem;
  font: inherit;
  font-weight: 600;
  color: var(--on-ink);
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.form-button:hover { background: var(--ink-deep); }

@media (min-width: 560px) {
  .field-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .request { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
}

/* ---------- Thank you ---------- */
.done { max-width: 44rem; }
.done-sheet { padding: 1.6rem 1.5rem 1rem; border: 1px solid var(--rule); border-top: 3px solid var(--ink); border-radius: 5px; }
.done-ticks { display: flex; gap: 0.4rem; margin: 0 0 1.1rem; }
.done-title { margin: 0 0 1.2rem; }
.done-links { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule-soft); }
.done-links a { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1.2; }

/* ---------- Footer ---------- */
.site-footer { border-top: 3px solid var(--ink); }
.foot-inner {
  display: grid;
  gap: 1.5rem;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.4rem;
}
.foot-name { margin: 0 0 0.3rem; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; line-height: 1.1; }
.foot-name a { text-decoration: none; }
.foot-line { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.foot-links a { display: inline-block; padding: 0.3rem 0; }
@media (min-width: 900px) {
  .foot-inner { grid-template-columns: auto 1fr; align-items: center; }
  .foot-links { justify-content: flex-end; }
}

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