:root {
  --ink: #211d1b;
  --muted: #6c5b55;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: #ecd8d0;
  --green: #c43a30;
  --green-dark: #a4332c;
  --green-soft: #fff0ea;
  --amber: #b46a13;
  --shadow: 0 16px 42px rgba(98, 54, 40, 0.11);
  --shadow-soft: 0 8px 24px rgba(98, 54, 40, 0.07);
  --radius: 18px;
  --radius-small: 12px;
  --max: 1120px;
  --content-wide: var(--max);
  --content-reading: 780px;
  --content-compact: 680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #f0ad4e;
  outline-offset: 3px;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner,
.footer-inner,
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  color: transparent;
  background: url("/assets/favicon.svg") center / contain no-repeat;
  border-radius: 13px;
  font-size: 0;
  filter: drop-shadow(0 5px 10px rgba(137, 45, 35, 0.18));
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.65rem;
  color: #514742;
  border-radius: var(--radius-small);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-soft);
}

main {
  min-height: 65vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  padding: clamp(2.6rem, 4.6vw, 4.25rem) 0 2.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 12%, rgba(255, 255, 255, 0.92) 0 2%, transparent 24%),
    radial-gradient(circle at 54% 80%, rgba(255, 235, 214, 0.92), transparent 34%),
    linear-gradient(118deg, #ffd9c5 0%, #ffc5a9 43%, #ff9d76 100%);
  border-bottom: 1px solid #efb395;
}

.search-hero::before,
.search-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.search-hero::before {
  top: -120px;
  left: -130px;
  width: 390px;
  height: 390px;
  background: rgba(255, 255, 255, 0.23);
  border-radius: 50%;
}

.search-hero::after {
  right: -8%;
  bottom: -135px;
  width: 118%;
  height: 190px;
  background: #f45e47;
  border-radius: 50% 46% 0 0 / 36% 38% 0 0;
  transform: rotate(-2deg);
}

.search-hero-inner {
  position: relative;
  z-index: 2;
}

.search-hero-copy {
  position: relative;
  z-index: 3;
  max-width: var(--content-reading);
}

.search-hero-kicker {
  margin: 0 0 0.75rem;
  color: #9a332c;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.search-hero h1 {
  max-width: var(--content-reading);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 3.7rem);
  font-weight: 820;
  line-height: 1.01;
  letter-spacing: -0.055em;
}

.search-hero-lead {
  max-width: var(--content-compact);
  margin: 1.15rem 0 0;
  color: #533f38;
  font-size: clamp(1rem, 1.7vw, 1.19rem);
  line-height: 1.55;
}

.search-hero-art {
  position: absolute;
  z-index: 1;
  right: max(-120px, calc((100vw - var(--max)) / 2 - 210px));
  bottom: -20px;
  width: min(60vw, 880px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-search-panel {
  position: relative;
  z-index: 4;
  width: min(100%, var(--content-wide));
  margin-top: 1.5rem;
}

.hero-product-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  min-height: 78px;
  padding: 0.42rem;
  background: #fff;
  border: 2px solid #252a29;
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(119, 51, 34, 0.22);
}

.hero-search-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #66706c;
}

.hero-search-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.hero-product-search input {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 0.6rem 0.4rem;
  color: #1b2220;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-product-search input::placeholder {
  color: #9da6a2;
  opacity: 1;
}

.hero-product-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 180px;
  min-height: 62px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  background: #171a19;
  border: 0;
  border-radius: 15px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hero-product-search button:hover {
  background: #9f302b;
}

.hero-product-search:focus-within {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.62), 0 22px 55px rgba(119, 51, 34, 0.22);
}

.hero-search-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-search-shortcuts a,
.shortcut-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 760;
}

.shortcut-label {
  padding-left: 0;
  color: #70443b;
}

.hero-search-shortcuts a {
  color: #292b2a;
  background: rgba(255, 255, 255, 0.3);
  border: 1.5px solid rgba(36, 38, 37, 0.8);
  text-decoration: none;
  backdrop-filter: blur(7px);
}

.hero-search-shortcuts a:hover {
  color: #fff;
  background: #9f302b;
  border-color: #9f302b;
}

.hero-search-shortcuts .shortcut-featured {
  color: #fff;
  background: linear-gradient(120deg, #f4b44c, #ec5a42 55%, #b43c87);
  border-color: transparent;
}

.hero-search-note {
  margin: 0.65rem 0 0;
  color: #70483d;
  font-size: 0.8rem;
}

.hero-trust-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  width: min(100%, var(--content-wide));
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  color: #553f38;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.hero-trust-strip > span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #fff;
  background: #9f302b;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 800;
}

.hero-trust-strip p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.page-hero {
  padding: clamp(2.15rem, 4vw, 4rem) 0 clamp(1.8rem, 3.2vw, 2.8rem);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: var(--content-wide);
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 4.45rem);
  font-weight: 820;
  letter-spacing: -0.055em;
}

.page-hero h1 {
  max-width: var(--content-wide);
  font-size: clamp(1.75rem, 3.4vw, 2.8rem);
}

.article-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.9rem 0 0;
  padding: 0.42rem 0.7rem;
  color: #6b4d45;
  background: #fff0ea;
  border: 1px solid #ebcbc0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 720;
}

.article-meta a {
  color: inherit;
  font-weight: 820;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 790;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
  font-weight: 760;
}

p,
ul,
ol {
  margin-top: 0;
}

.lead {
  max-width: var(--content-reading);
  margin: 1rem 0 0;
  color: #5c514d;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(164, 51, 44, 0.18);
}

.button-primary:hover {
  color: #fff;
  background: var(--green-dark);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.external-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-followup-link {
  margin-top: 1.4rem;
}

.section {
  padding: clamp(1.8rem, 3.5vw, 3.15rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-tint {
  background: #fff;
}

.section-dark {
  color: var(--ink);
  background: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: var(--ink);
}

.section-dark p {
  color: var(--muted);
}

.section-dark a:not(.button) {
  color: var(--green-dark);
}

.section-dark .button-primary {
  color: #fff;
}

.section-dark .button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.section-dark .button-secondary:hover {
  color: var(--green-dark);
  background: #fff0ea;
  border-color: #fff0ea;
}

.section-intro {
  max-width: var(--content-reading);
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.quick-answer {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1rem;
  max-width: var(--content-wide);
  padding: 1.15rem;
  background: var(--green-soft);
  border: 1px solid #f0c6b8;
  border-radius: var(--radius);
}

.quick-answer strong:first-child {
  color: var(--green-dark);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-answer p {
  margin: 0;
}

.grid-2,
.grid-3,
.grid-4,
.category-grid,
.link-grid {
  display: grid;
  gap: 0.85rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.category-card,
.step-card,
.example-card,
.link-panel {
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card p:last-child,
.category-card p:last-child,
.step-card p:last-child,
.example-card p:last-child,
.link-panel p:last-child {
  margin-bottom: 0;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
}

.category-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 800;
}

.category-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.category-card .category-check {
  color: #514742;
  font-size: 0.84rem;
}

.category-card .text-link {
  margin-top: auto;
  padding-top: 0.9rem;
}

.home-category-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.home-category-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 2rem), var(--max));
  height: 1px;
  background: linear-gradient(90deg, transparent, #edb29b, transparent);
  content: "";
  transform: translateX(-50%);
}

.directory-heading {
  max-width: var(--content-wide);
  margin: 0 auto 1.4rem;
  text-align: center;
}

.directory-heading .eyebrow {
  color: #a63b31;
}

.directory-heading h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 820;
  letter-spacing: -0.045em;
}

.directory-heading > p:last-child {
  max-width: var(--content-compact);
  margin: 0 auto;
  color: #685650;
  font-size: 1.05rem;
}

.category-directory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}

.category-directory-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 238px;
  padding: 1.25rem 0.9rem 1rem;
  color: #202523;
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.category-directory-card:hover {
  color: #202523;
  border-color: #ee8a6e;
  box-shadow: 0 18px 36px rgba(128, 60, 41, 0.13);
  transform: translateY(-4px);
}

.category-directory-card:focus-visible {
  outline: 3px solid #d94b3b;
  outline-offset: 4px;
}

.directory-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 0.65rem;
  place-items: center;
  color: #d9473d;
  background: #fff1eb;
  border: 1px solid rgba(217, 71, 61, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.48);
}

.directory-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-directory-card:nth-child(2n) .directory-icon {
  color: #263d56;
  background: #eef3f7;
}

.category-directory-card:nth-child(3n) .directory-icon {
  color: #bd6e0d;
  background: #fff5df;
}

.category-directory-card:nth-child(4n) .directory-icon {
  color: #2869b8;
  background: #edf5ff;
}

.category-directory-card:nth-child(5n) .directory-icon {
  color: #218a5a;
  background: #ebf7f0;
}

.category-directory-card h3 {
  margin-bottom: 0.55rem;
  font-size: 0.96rem;
}

.category-directory-card p {
  margin: 0;
  color: #64706b;
  font-size: 0.83rem;
  line-height: 1.48;
}

.directory-link {
  margin-top: auto;
  padding-top: 0.9rem;
  color: #a63b31;
  font-size: 0.75rem;
  font-weight: 800;
}

.directory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.directory-footer p {
  margin: 0;
  color: #6d5a53;
  font-size: 0.84rem;
}

.home-category-section .button-primary {
  background: var(--green);
  box-shadow: 0 8px 20px rgba(183, 65, 48, 0.17);
}

.home-category-section .button-primary:hover {
  background: #a9322b;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.91rem;
  font-weight: 780;
}

.step-card .step-number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--amber);
  font-family: Georgia, serif;
  font-size: 2.2rem;
}

.check-list,
.plain-list {
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.plain-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 900;
}

.check-list li:last-child,
.plain-list li:last-child {
  border-bottom: 0;
}

.journey-list {
  position: relative;
  max-width: var(--content-wide);
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.journey-list::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 24px;
  width: 2px;
  background: #ecc8bc;
  content: "";
}

.journey-list li {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0 0 1.2rem;
}

.journey-list li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border: 6px solid var(--paper);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 850;
}

.journey-list li > div {
  padding: 0.3rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
}

.journey-list li:last-child,
.journey-list li:last-child > div {
  padding-bottom: 0;
  border-bottom: 0;
}

.journey-list h3 {
  margin-bottom: 0.4rem;
}

.journey-list p {
  margin: 0;
  color: #5c514d;
}

.comparison-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  color: #fff;
  background: #32231f;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table tbody th {
  width: 20%;
  color: var(--green-dark);
  background: #fff7f3;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.prose {
  max-width: var(--content-wide);
}

.prose > * + h2,
.prose > * + h3 {
  margin-top: 2rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.aside-note,
.callout,
.warning {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
}

.aside-note,
.callout {
  background: var(--green-soft);
  border: 1px solid #f0c6b8;
}

.warning {
  background: #fff5e8;
  border: 1px solid #efd5b4;
}

.example-card.good {
  border-top: 4px solid var(--green);
}

.example-card.weak {
  border-top: 4px solid #b5682b;
}

.breadcrumbs {
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.45rem;
  content: "/";
  color: #9aa39f;
}

.search-panel {
  max-width: var(--content-wide);
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}

.search-form label {
  grid-column: 1 / -1;
  font-weight: 750;
}

.search-form input {
  min-width: 0;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d4bdb4;
  border-radius: var(--radius-small);
  font: inherit;
}

.search-form button {
  min-height: 48px;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: var(--radius-small);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.faq-list details {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  color: var(--ink);
  font-weight: 780;
  cursor: pointer;
}

.faq-list details p {
  max-width: var(--content-reading);
  margin: 0.8rem 0 0;
  color: #5c514d;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.mini-nav a {
  padding: 0.55rem 0.75rem;
  color: #514742;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  padding: 2.1rem 0 1.25rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.footer-top h2,
.footer-top h3 {
  color: var(--ink);
}

.site-footer a {
  color: var(--green-dark);
}

.footer-top h2 {
  font-size: 1.5rem;
}

.footer-trust {
  max-width: var(--content-compact);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  align-content: start;
}

.footer-links a {
  font-size: 0.85rem;
  text-decoration-color: #d8a89a;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.75rem 0;
  }

  .site-nav ul {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-nav a {
    padding: 0.35rem 0.55rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .search-hero-art {
    right: -230px;
    width: 760px;
    opacity: 0.32;
  }

  .search-hero-copy,
  .hero-search-panel,
  .hero-trust-strip {
    width: min(100%, var(--content-wide));
  }

  .grid-4,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .footer-inner,
  .container {
    width: min(calc(100% - 2rem), var(--max));
  }

  .brand {
    font-size: 0.98rem;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .page-hero {
    padding-top: 2rem;
  }

  .search-hero {
    min-height: auto;
    padding: 2.1rem 0 2.75rem;
  }

  .search-hero::after {
    right: -35%;
    bottom: -165px;
    width: 170%;
  }

  .search-hero-art {
    right: -310px;
    bottom: 20px;
    width: 690px;
    opacity: 0.18;
  }

  .search-hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.65rem);
  }

  .search-hero-lead {
    font-size: 1rem;
  }

  .hero-product-search {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.48rem;
    border-radius: 17px;
  }

  .hero-search-icon {
    width: 38px;
  }

  .hero-product-search input {
    min-height: 52px;
    padding-right: 0.3rem;
    font-size: 0.98rem;
  }

  .hero-product-search button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 54px;
    border-radius: 12px;
  }

  .shortcut-label {
    width: 100%;
    min-height: auto;
    justify-content: flex-start;
    padding: 0;
  }

  .hero-search-shortcuts a {
    min-height: 36px;
    padding: 0.35rem 0.78rem;
    font-size: 0.8rem;
  }

  .hero-trust-strip {
    margin-top: 1.1rem;
  }

  .button-row .button {
    width: 100%;
  }

  .quick-answer,
  .grid-2,
  .grid-3,
  .grid-4,
  .link-grid,
  .search-form {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .category-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-height: auto;
  }

  .category-directory-card {
    min-height: 210px;
    padding: 1rem 0.7rem 0.85rem;
  }

  .directory-icon {
    width: 52px;
    height: 52px;
  }

  .directory-icon svg {
    width: 34px;
    height: 34px;
  }

  .directory-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .directory-footer .button {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .category-directory-grid {
    grid-template-columns: 1fr;
  }

  .category-directory-card {
    min-height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
