:root {
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --ink: #211f1e;
  --muted: #695f5a;
  --line: #efd5ca;
  --moss: #9f351f;
  --moss-dark: #842f20;
  --moss-soft: #ffe3d7;
  --clay: #9f351f;
  --sun: #f3c45b;
  --white: #ffffff;
  --shadow-sm: 0 8px 22px rgba(113, 54, 37, 0.07);
  --shadow-hover: 0 18px 38px rgba(113, 54, 37, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --page-gutter: 2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--moss);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

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

p,
ul,
ol {
  margin-block: 0 1rem;
}

.content-followup,
.dark-supporting-copy {
  margin-top: 1.1rem;
}

.dark-supporting-copy {
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.7em;
  color: var(--ink);
  font-family: inherit;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 7vw, 4.9rem);
}

h2 {
  max-width: 24ch;
  font-size: clamp(1.72rem, 3.1vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.48rem);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(113, 54, 37, 0.04);
  backdrop-filter: blur(14px);
}

.header-inner,
.wrap {
  width: min(calc(100% - var(--page-gutter)), var(--max));
  margin-inline: auto;
}

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

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #6f281b;
  border-radius: 50% 50% 46% 54%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.92) 0 7%, transparent 8%),
    linear-gradient(145deg, #ff6c54 12%, #f38b47 56%, #f5ca52 100%);
  box-shadow: 0 5px 13px rgba(117, 43, 25, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.66);
  color: #321e19;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  transform: rotate(-3deg);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.site-nav a {
  display: block;
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.8rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

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

.search-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(2.7rem, 5vw, 4rem) 0 clamp(3.7rem, 5.8vw, 4.8rem);
  border-bottom: 1px solid #efb29a;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.7) 0 5%, transparent 21%),
    radial-gradient(circle at 84% 4%, rgba(255, 225, 183, 0.75), transparent 28%),
    linear-gradient(118deg, #ffd9c9 0%, #ffc4ad 50%, #f59a80 100%);
}

.search-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(128, 70, 47, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, black 68%, transparent);
  content: "";
  pointer-events: none;
}

.search-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 440px;
  align-items: center;
  gap: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.search-hero-content {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.search-hero-kicker {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(24, 34, 29, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.52);
  color: var(--moss-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-hero h1 {
  max-width: 11.5ch;
  margin-bottom: 0.35em;
  font-size: clamp(2.15rem, 3.65vw, 3.5rem);
}

.search-hero-lede {
  max-width: 56ch;
  color: #3e463f;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.hero-product-search {
  display: grid;
  width: 100%;
  margin: 1.25rem 0 0.8rem;
  padding: 0.35rem;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(95, 44, 29, 0.2);
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.hero-search-input {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.95rem;
}

.hero-search-input svg,
.hero-product-search button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.hero-search-input svg {
  color: #7c8780;
}

.hero-product-search input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.03rem;
}

.hero-product-search input::placeholder {
  color: #87918c;
}

.hero-product-search button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.75rem 1.45rem;
  border: 0;
  border-radius: 17px;
  background: var(--ink);
  color: var(--white);
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 850;
  cursor: pointer;
}

.hero-product-search button:hover {
  background: var(--moss-dark);
}

.search-shortcuts {
  display: flex;
  width: 100%;
  max-width: 760px;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.search-shortcuts span,
.search-shortcuts a {
  display: inline-flex;
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid rgba(24, 34, 29, 0.7);
  border-radius: 999px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
}

.search-shortcuts span {
  border: 0;
  background: linear-gradient(120deg, #62c9b4, #f2ce62 46%, #ef7892 100%);
}

.search-shortcuts a {
  background: rgba(255, 253, 247, 0.35);
}

.search-shortcuts a:hover {
  border-color: var(--moss-dark);
  background: rgba(255, 253, 247, 0.78);
  color: var(--moss-dark);
}

.hero-trust {
  max-width: 68ch;
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--clay);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 253, 247, 0.52);
  color: #454f49;
  font-size: 0.81rem;
  line-height: 1.55;
}

.search-external-note {
  display: block;
  margin-top: 0.6rem;
  color: #5c625e;
  font-size: 0.72rem;
}

.search-hero-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  margin: -2.8rem -8rem -3.5rem -7.5rem;
}

.search-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero-hub-pill {
  position: absolute;
  right: 8%;
  bottom: 4.5rem;
  display: inline-flex;
  min-height: 45px;
  padding: 0.65rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(95, 44, 29, 0.16);
  background: rgba(255, 253, 247, 0.94);
  color: var(--ink);
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.hero-hub-pill:hover {
  background: var(--ink);
  color: var(--white);
}

.search-hero-wave {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 72px;
  background: var(--paper);
  clip-path: polygon(0 65%, 15% 78%, 31% 48%, 48% 73%, 66% 40%, 83% 70%, 100% 38%, 100% 100%, 0 100%);
}

.button-row {
  display: flex;
  margin-top: 1.4rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid var(--moss);
  border-radius: 999px;
  background: var(--moss);
  box-shadow: 0 6px 14px rgba(113, 54, 37, 0.12);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.button:hover {
  border-color: var(--moss-dark);
  background: var(--moss-dark);
  box-shadow: 0 9px 18px rgba(113, 54, 37, 0.18);
  color: var(--white);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  box-shadow: none;
  color: var(--moss);
}

.button.secondary:hover {
  background: var(--moss-soft);
  color: var(--moss-dark);
}

.external-note {
  display: block;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.quick-answer {
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border: 1px solid #efb8a2;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.quick-answer .eyebrow {
  margin-bottom: 0.65rem;
}

.quick-answer p:last-child {
  margin-bottom: 0;
}

.section {
  padding: clamp(2.4rem, 4.8vw, 4.1rem) 0;
}

.section.compact {
  padding-block: clamp(1.6rem, 3.2vw, 2.5rem);
}

.section.white {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.section-heading {
  display: grid;
  margin-bottom: 1.35rem;
  align-items: end;
  gap: 0.8rem 2.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
}

.section-heading > p {
  max-width: 58ch;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.grid-2,
.grid-3,
.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));
}

.category-directory-section {
  overflow: hidden;
  border-block: 1px solid #f4c6b4;
  background: var(--white);
}

.directory-heading {
  width: min(780px, 100%);
  margin: 0 auto 1.4rem;
  text-align: center;
}

.directory-heading .eyebrow {
  justify-content: center;
}

.directory-heading h2 {
  max-width: 20ch;
  margin-inline: auto;
}

.directory-heading p {
  max-width: 64ch;
  margin-inline: auto;
  color: var(--muted);
}

.directory-reviewed {
  display: inline-flex;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border: 1px solid #efb8a2;
  border-radius: 999px;
  background: var(--white);
  color: var(--moss-dark);
  align-items: center;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

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

.category-tile {
  --tile-color: #9f351f;
  --tile-soft: #ffe8df;
  display: flex;
  min-width: 0;
  min-height: 285px;
  padding: 1.25rem 0.95rem 1rem;
  border: 1px solid #eccfc3;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--ink);
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.category-tile::before {
  position: absolute;
  top: -30px;
  left: -36px;
  width: 100px;
  height: 76px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tile-soft) 68%, transparent);
  content: "";
  transform: rotate(-18deg);
}

.category-tile:hover {
  border-color: var(--tile-color);
  box-shadow: var(--shadow-hover), inset 0 1px 0 #fff;
  color: var(--ink);
  transform: translateY(-5px);
}

.category-tile:focus-visible {
  outline-color: var(--tile-color);
}

.category-tile-featured {
  border-color: #efab8e;
  background: var(--white);
}

.category-icon {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 31px;
  background:
    radial-gradient(circle at 30% 20%, #fff 0 6%, transparent 7%),
    linear-gradient(145deg, #fff 0%, var(--tile-soft) 78%);
  box-shadow:
    0 11px 22px color-mix(in srgb, var(--tile-color) 18%, transparent),
    inset 0 1px 0 #fff;
  place-items: center;
  position: relative;
  transform: rotate(-2deg);
}

.category-tile:nth-child(even) .category-icon {
  transform: rotate(2deg);
}

.category-icon svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 4px rgba(74, 35, 25, 0.16));
}

.category-tile h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.category-tile p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.55;
}

.category-route {
  display: inline-flex;
  margin-top: auto;
  color: var(--tile-color);
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.category-route b {
  font-size: 0.92rem;
}

.directory-note {
  max-width: 76ch;
  margin: 1.3rem auto 0;
  color: var(--muted);
  font-size: 0.73rem;
  text-align: center;
}

.tone-blue {
  --tile-color: #2868b7;
  --tile-soft: #e6f0ff;
}

.tone-ink {
  --tile-color: #263b55;
  --tile-soft: #e9eef4;
}

.tone-coral {
  --tile-color: #a83713;
  --tile-soft: #ffeadf;
}

.tone-indigo {
  --tile-color: #3156a1;
  --tile-soft: #e7edff;
}

.tone-slate {
  --tile-color: #617287;
  --tile-soft: #edf1f5;
}

.tone-gold {
  --tile-color: #b96b0a;
  --tile-soft: #fff1d7;
}

.tone-green {
  --tile-color: #27845e;
  --tile-soft: #e1f4eb;
}

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

.card,
.step,
.note-card,
.faq-item {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  box-shadow: var(--shadow-sm);
}

.card h3,
.step h3,
.note-card h3 {
  max-width: none;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.card p,
.step p,
.note-card p {
  color: var(--muted);
}

.card {
  position: relative;
}

a.card {
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.card:hover {
  border-color: #d99f88;
  box-shadow: var(--shadow-hover);
  color: var(--ink);
  transform: translateY(-3px);
}

.card .step-number + h3 {
  margin-top: 1.5rem;
}

.card p:last-child,
.step p:last-child,
.note-card p:last-child {
  margin-bottom: 0;
}

.agent-route-card {
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.agent-route-card:hover {
  border-color: var(--clay);
  box-shadow: var(--shadow-hover);
  color: var(--ink);
  transform: translateY(-3px);
}

.step-number {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step {
  position: relative;
  padding-top: 3.2rem;
}

.step-number {
  position: absolute;
  top: 1.2rem;
  left: 1.35rem;
}

.criteria-list,
.check-list,
.plain-list,
.footer-links,
.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.criteria-list {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.criteria-list li,
.check-list li {
  position: relative;
  padding: 0.85rem 0.9rem 0.85rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-strong);
}

.criteria-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 18px;
  height: 18px;
  border: 2px solid var(--moss);
  border-radius: 4px;
  content: "";
}

.numbered-criteria {
  counter-reset: criterion;
}

.numbered-criteria li {
  padding-left: 3.1rem;
  counter-increment: criterion;
}

.numbered-criteria li::before {
  display: grid;
  width: 26px;
  height: 26px;
  top: 0.86rem;
  left: 0.85rem;
  border: 0;
  border-radius: 50%;
  background: var(--moss);
  color: var(--white);
  content: counter(criterion);
  font-size: 0.7rem;
  font-weight: 900;
  place-items: center;
}

.compact-check-list li {
  padding-block: 0.7rem;
}

.article-meta {
  display: flex;
  margin-top: 1.1rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.article-meta span {
  display: inline-flex;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border: 1px solid #edc9bb;
  border-radius: 999px;
  background: var(--white);
  color: var(--moss-dark);
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.article-meta a {
  color: inherit;
  text-decoration-thickness: 0.08em;
}

.article-meta time {
  margin-left: 0.25rem;
}

.search-hero .article-meta {
  margin-top: 0.8rem;
  margin-bottom: -0.35rem;
}

.search-hero .article-meta span {
  border-color: rgba(111, 40, 27, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: #6f281b;
}

.guide-jumps {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-jump {
  display: flex;
  min-height: 160px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  flex-direction: column;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-jump:hover {
  border-color: #d99f88;
  box-shadow: var(--shadow-hover);
  color: var(--ink);
  transform: translateY(-3px);
}

.guide-jump > span {
  margin-bottom: auto;
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.guide-jump strong {
  margin: 1rem 0 0.25rem;
  line-height: 1.3;
}

.guide-jump small {
  color: var(--muted);
  line-height: 1.5;
}

.timeline-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  box-shadow: var(--shadow-sm);
}

.timeline-list > div {
  position: relative;
  padding: 1.05rem 1.2rem 1.05rem 7.5rem;
}

.timeline-list > div + div {
  border-top: 1px solid var(--line);
}

.timeline-list span {
  position: absolute;
  top: 1.15rem;
  left: 1.2rem;
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-list h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.timeline-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.worksheet {
  display: grid;
  overflow: hidden;
  border: 1px solid #e7bba9;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.worksheet > strong {
  padding: 1rem 1.2rem;
  background: var(--moss-dark);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.worksheet > span {
  padding: 0.8rem 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.worksheet > span + span {
  border-top: 1px dashed #e6c7ba;
}

.worksheet b {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.table-wrap:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.decision-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.84rem;
  line-height: 1.55;
}

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

.decision-table thead th {
  background: var(--moss-dark);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.decision-table tbody th {
  width: 135px;
  color: var(--moss-dark);
}

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

.compare ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
}

.scoring {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.score-row {
  display: grid;
  padding: 0.9rem 1.1rem;
  background: var(--paper-strong);
  gap: 1rem;
  grid-template-columns: 100px 1fr;
}

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

.score-row strong {
  color: var(--moss);
}

.compare {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  box-shadow: var(--shadow-sm);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare > div {
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.compare > div + div {
  border-left: 1px solid var(--line);
}

.compare .strong {
  background: var(--white);
}

.compare .weak {
  background: var(--white);
}

.plain-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
}

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

.page-hero {
  padding: clamp(2.1rem, 4vw, 3.4rem) 0 1.3rem;
  border-bottom: 1px solid #efb8a2;
  background: var(--white);
}

.page-hero h1 {
  max-width: 24ch;
  font-size: clamp(1.7rem, 3.5vw, 2.65rem);
}

.page-hero p {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.breadcrumb li + li::before {
  margin-right: 0.45rem;
  color: #8d968f;
  content: "/";
}

.content-layout {
  display: grid;
  align-items: start;
  gap: clamp(1.4rem, 3.2vw, 2.8rem);
  grid-template-columns: minmax(0, 1fr) 290px;
}

.prose {
  min-width: 0;
}

.prose > section + section {
  margin-top: clamp(1.8rem, 4vw, 3rem);
}

.prose h2 {
  font-size: clamp(1.58rem, 2.8vw, 2.2rem);
}

.prose h3 {
  margin-top: 1.4rem;
}

.prose p,
.prose li {
  max-width: 72ch;
}

.side-note {
  position: sticky;
  top: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  box-shadow: var(--shadow-sm);
}

.side-note h2 {
  font-family: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-note a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.side-note a:last-child {
  border-bottom: 0;
}

.callout {
  padding: 1.1rem;
  border-left: 4px solid var(--clay);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(159, 53, 31, 0.06);
}

.callout p:last-child {
  margin-bottom: 0;
}

.quote-rule {
  margin: 1.2rem 0;
  padding: 1.2rem;
  border: 1px solid var(--moss);
  border-radius: var(--radius-md);
  color: var(--moss-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1.4;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item h2,
.faq-item h3 {
  max-width: none;
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.cta-panel {
  display: grid;
  padding: clamp(1.3rem, 3.2vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  align-items: center;
  gap: 1rem 2.2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-panel h2 {
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.cta-panel .eyebrow {
  color: var(--moss);
}

.cta-panel p {
  max-width: 62ch;
  margin-bottom: 0;
}

.cta-panel .button {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--ink);
}

.cta-panel .button:hover {
  border-color: var(--moss-dark);
  background: var(--moss-dark);
  color: var(--white);
}

.site-footer {
  padding: 2.2rem 0 1rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(130px, 0.55fr));
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer .brand-mark {
  color: var(--ink);
}

.site-footer .brand small {
  color: var(--muted);
}

.site-footer h2 {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--moss-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--clay);
}

.footer-links li {
  padding: 0.25rem 0;
}

.footer-trust {
  max-width: 58ch;
  margin-top: 1rem;
}

.footer-bottom {
  display: flex;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1020px) {
  .header-inner {
    padding-block: 0.65rem;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .site-nav {
    width: 100%;
    min-width: 0;
  }

  .site-nav a {
    padding-inline: 0.45rem;
  }

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

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

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

  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 900px) {
  .search-hero {
    padding-top: 2.3rem;
  }

  .search-hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .search-hero h1 {
    max-width: 13ch;
  }

  .hero-product-search {
    width: 100%;
  }

  .search-hero-visual {
    min-height: 430px;
    margin: -1rem -2rem -3.2rem 0;
  }

  .hero-hub-pill {
    right: 12%;
    bottom: 3.5rem;
  }
}

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

  .search-hero {
    padding-top: 2.3rem;
  }

  .search-hero-layout,
  .section-heading,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-hero-layout {
    min-height: auto;
  }

  .search-hero h1 {
    max-width: 13ch;
  }

  .hero-product-search {
    width: 100%;
  }

  .search-hero-visual {
    min-height: 400px;
    margin: -1rem -2rem -3.2rem 0;
  }

  .hero-hub-pill {
    right: 12%;
    bottom: 3.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .category-tile {
    min-height: 260px;
  }

  .footer-grid {
    gap: 0.95rem;
  }
}

@media (max-width: 540px) {
  :root {
    --page-gutter: 1.25rem;
  }

  html {
    overflow-x: clip;
  }

  .site-nav ul {
    gap: 0.25rem 0.5rem;
  }

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

  .search-hero {
    padding-bottom: 2.6rem;
  }

  .search-hero h1 {
    font-size: clamp(1.95rem, 9.2vw, 2.6rem);
  }

  .search-hero-kicker {
    display: inline-block;
    max-width: 100%;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .search-hero-lede {
    font-size: 0.98rem;
  }

  .hero-product-search {
    padding: 0.28rem;
    border-width: 2px;
    border-radius: 20px;
  }

  .hero-search-input {
    padding-left: 0.6rem;
  }

  .hero-search-input svg {
    width: 20px;
    height: 20px;
  }

  .hero-product-search input {
    min-height: 46px;
    font-size: 0.88rem;
  }

  .hero-product-search button {
    min-height: 46px;
    padding-inline: 0.95rem;
  }

  .search-shortcuts span,
  .search-shortcuts a {
    min-height: 33px;
    padding: 0.34rem 0.68rem;
    font-size: 0.73rem;
  }

  .hero-trust {
    font-size: 0.77rem;
  }

  .search-hero-visual {
    min-height: 335px;
    margin: 0 -2.4rem -2.8rem -1.5rem;
  }

  .hero-hub-pill {
    right: 7%;
    bottom: 2.7rem;
    font-size: 0.72rem;
  }

  .search-hero-wave {
    height: 45px;
  }

  .grid-2,
  .link-grid,
  .criteria-list,
  .compare {
    grid-template-columns: 1fr;
  }

  .guide-jumps {
    grid-template-columns: 1fr;
  }

  .guide-jump {
    min-height: 140px;
  }

  .timeline-list > div {
    padding: 3.15rem 1rem 1rem;
  }

  .timeline-list span {
    top: 0.95rem;
    left: 1rem;
  }

  .category-tile {
    min-height: 0;
  }

  .compare > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .score-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .category-tile {
    min-height: 235px;
  }
}

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