@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3e8d9;
  --surface: #fff7eb;
  --sand: #e8d4bb;
  --ink: #10243a;
  --night: #19242d;
  --muted: #514c48;
  --rule: #cdbba5;
  --accent: #731d38;
  --sky: #dbe8eb;
  --light: #f9eddb;
  --depth: 0 1px 2px #38221418, 0 16px 32px -22px #38221465;
  font: 100%/1.65 Manrope, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
.clarity-preferences[hidden], .clarity-settings[hidden] { display: none; }
.clarity-preferences {
  position: fixed;
  z-index: 10;
  inset: auto 1rem 1rem auto;
  width: min(24rem, calc(100% - 2rem));
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: var(--depth);
  color: var(--ink);
  font-size: 0.875rem;
}
.clarity-preferences p { margin: 0 0 0.65rem; }
.clarity-preferences div { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.clarity-preferences button {
  min-height: 2.75rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 0.45rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.clarity-settings {
  display: block;
  margin-inline: auto;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.prime-delivery {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-block: 0.375rem;
  color: var(--ink);
}
.prime-delivery p { margin: 0; font-size: 0.875rem; line-height: 1.45; }
.prime-delivery p a { font-weight: 750; text-underline-offset: 0.18em; }
.prime-delivery p span { color: var(--muted); }
.prime-truck-link {
  display: grid;
  flex: 0 0 3rem;
  min-height: 2.75rem;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  background: var(--surface);
  color: var(--accent);
}
.prime-truck-link:hover, .prime-truck-link:focus-visible { border-color: currentColor; }
.prime-truck-scene { position: relative; display: block; width: 2.25rem; height: 1.45rem; overflow: hidden; }
/* Truck suspension and road motion adapted from vinodjangid07 on Uiverse.io. */
.prime-truck-body {
  position: absolute;
  inset: 0.2rem auto auto 0.12rem;
  width: 1.28rem;
  height: 0.78rem;
  border-radius: 0.16rem 0.09rem 0 0.09rem;
  background: currentColor;
}
.prime-truck-body::after {
  content: "";
  position: absolute;
  left: 100%;
  bottom: 0;
  width: 0.68rem;
  height: 0.58rem;
  background: linear-gradient(180deg, var(--sky) 41%, currentColor 42%);
  clip-path: polygon(0 0, 62% 0, 100% 55%, 100% 100%, 0 100%);
}
.prime-truck-wheels {
  position: absolute;
  bottom: 0.2rem;
  left: 0.38rem;
  width: 0.39rem;
  height: 0.39rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 1.05rem 0 var(--ink);
}
.prime-truck-road {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 11px);
}
@media (prefers-reduced-motion: no-preference) {
  .prime-truck-body { animation: prime-truck-bounce 0.65s ease-in-out 4; }
  .prime-truck-road { animation: prime-truck-drive 0.65s linear 4; }
}
@keyframes prime-truck-bounce { 50% { transform: translateY(1.5px); } }
@keyframes prime-truck-drive { to { background-position-x: -22px; } }
body {
  margin: 0;
  background: radial-gradient(ellipse at 90% 0, #f9edd7 0, transparent 38rem),
    linear-gradient(155deg, #e8d5bd, var(--paper) 30rem);
}
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.site-header { background: #f9eddd; border-bottom: 1px solid var(--rule); box-shadow: 0 4px 18px #43291712; }
.top-nav, .footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; }
.top-nav { min-height: 4.5rem; padding-block: .75rem; }
.top-nav a, .footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.top-nav a:not(.brand) { font-size: .94rem; font-weight: 700; text-decoration: none; }
.top-nav a:not(.brand):hover, .top-nav a[aria-current="page"] { text-decoration: underline; }
.top-nav a[aria-current="page"] { color: var(--accent); font-weight: 800; }
.brand { margin-right: auto; gap: .55rem; color: var(--accent); font-size: 1.35rem; font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
.brand img { flex: 0 0 38px; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-200%); background: var(--paper); padding: .5rem 1rem; }
.skip:focus { transform: none; }
main { padding-block: clamp(2.25rem, 6vw, 5rem); min-height: 60vh; }
main:focus { outline: none; }
h1, h2 { font-weight: 750; line-height: 1.12; text-wrap: balance; }
h1 { margin: 0 0 1.8rem; max-width: 24ch; font-size: clamp(2.25rem, 5.5vw, 4.65rem); letter-spacing: -.035em; }
h2 { margin: 0 0 .85rem; font-size: clamp(1.5rem, 3vw, 2.05rem); }
p { max-width: 65ch; margin: 0 0 1rem; }
section { margin-block: 2rem 0; }
.prose { max-width: 65ch; font-size: 1.125rem; }
.prose a { overflow-wrap: anywhere; }
.prose figure { margin-block: 1rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.article-sidebar { position: sticky; top: 1.25rem; }
.article-sidebar nav {
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: .7rem;
  background: var(--surface);
  box-shadow: var(--depth);
}
.article-sidebar h2 { font-size: 1.25rem; }
.article-sidebar ol { margin: 0; padding-inline-start: 1.3rem; }
.article-sidebar li { margin-bottom: .55rem; }
.article-layout h2[id] { scroll-margin-top: 1rem; }
.support-visual { max-width: 41rem; margin-block: 1.25rem; }
.affiliate-offer { margin-block: 1.25rem; padding: .85rem 1rem; background: var(--sky); border-inline-start: 3px solid var(--accent); border-radius: .55rem; box-shadow: var(--depth); }
.affiliate-offer p, .affiliate-site-disclosure { color: var(--muted); font-size: .875rem; margin-bottom: .45rem; }
.affiliate-offer .affiliate-model { color: var(--ink); font-weight: 700; line-height: 1.45; }
.amazon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  max-width: 100%;
  padding: .55rem 1rem;
  border-radius: .65rem;
  background: var(--accent);
  color: white;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.amazon-action:hover { background: #531229; color: white; }
.article-sidebar .amazon-action { width: 100%; }
.affiliate-offer .affiliate-delivery { margin-block: .45rem 0; }
.guide-next { padding: 1.15rem; border-radius: .65rem; background: var(--sand); }
.guide-next p:first-of-type { margin-bottom: .35rem; font-weight: 750; }
.compatibility table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .9rem; }
.compatibility caption { text-align: left; margin-bottom: .45rem; color: var(--muted); }
.compatibility th, .compatibility td { padding: .55rem .45rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.compatibility thead { background: var(--sand); }
.compatibility tbody { background: var(--surface); }
.compatibility th:last-child { width: 48%; }
.affiliate-site-disclosure { padding-top: .75rem; }
.article-credit { font-size: .875rem; color: var(--muted); }
.lede { padding-inline-start: 1rem; border-inline-start: 3px solid var(--accent); font-size: 1.2rem; }
.guide-list { list-style: none; padding: 0; margin: 0 0 1rem; max-width: 44rem; }
.guide-list li { border-top: 1px solid var(--rule); padding: .75rem 0; }
.guide-list li:last-child { border-bottom: 1px solid var(--rule); }
.guide-list a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.guide-list p { color: var(--muted); margin: 0; }
.home-page { width: min(100% - 2.5rem, 76rem); padding-top: clamp(1.8rem, 4vw, 3.75rem); }
.home-page h1 { max-width: none; margin: 0; font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.55rem); }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #5a443e;
  border-radius: clamp(.9rem, 2vw, 1.5rem);
  color: var(--light);
  background: radial-gradient(ellipse at 0 100%, #4c3032, transparent 74%), var(--night);
  box-shadow: 0 3px 4px #36231b20, 0 34px 62px -26px #3f251879;
}
.home-hero-copy {
  align-self: center;
  padding: clamp(1.35rem, 3.5vw, 3.4rem);
}
.home-hero-copy p { margin-block: 1rem 1.5rem; color: #e6d5c4; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.home-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem 1rem;
  border-radius: .65rem;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.home-action:hover { background: #531229; color: white; }
.home-action-secondary { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.home-action-secondary:hover { background: white; color: var(--accent); }
.home-hero .home-action { background: #f2ca97; color: #32221d; }
.home-hero .home-action:hover { background: #ffe0b6; }
.home-hero .home-action-secondary { background: transparent; color: var(--light); border-color: #d1ac89; }
.home-hero .home-action-secondary:hover { background: #f2ca97; color: #32221d; }
.home-hero :focus-visible, footer :focus-visible { outline-color: #ffd096; }
.lifestyle-figure img { width: 100%; }
.lifestyle-figure figcaption { padding-inline: .6rem; }
.home-hero .lifestyle-figure { display: flex; min-width: 0; flex-direction: column; }
.home-hero .lifestyle-figure img { flex: 1; min-height: 0; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.home-hero .lifestyle-figure figcaption { color: #e6d5c4; padding-block: .15rem .55rem; }
.home-feature img, .support-visual img, .prose figure img {
  border-radius: .85rem;
  box-shadow: var(--depth);
}
.home-directory, .home-feature, .home-help, .home-page .home-podium { margin-top: clamp(2.75rem, 6vw, 5rem); }
.home-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.home-categories li { padding: .6rem 1rem .8rem 0; border-bottom: 1px solid var(--rule); }
.home-criteria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.25rem; max-width: none; }
.home-criteria li { border: 1px solid var(--rule); border-radius: .65rem; padding: .35rem .9rem; background: var(--surface); }
.podium-disclosure { color: var(--muted); font-size: .875rem; }
.us-match { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin: 2rem 0 4rem; padding: clamp(1.4rem, 4vw, 3rem); background: linear-gradient(125deg, #dce8e7, #bfcfd0); border: 1px solid #aebebd; border-radius: .65rem; box-shadow: var(--depth); }
.us-match-intro h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; margin: .35rem 0 1rem; }
.us-match-kicker, .us-match-step { color: var(--accent); font-weight: 800; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.us-match-panel { background: var(--surface); padding: clamp(1.15rem, 3vw, 2rem); box-shadow: 0 12px 30px -20px #10243a80; border: 1px solid #dbcab6; border-radius: .45rem; min-width: 0; }
.us-match [hidden] { display: none !important; }
.us-match progress { display: block; width: 100%; height: .45rem; accent-color: var(--accent); }
.us-match fieldset { border: 0; margin: 1.4rem 0 0; padding: 0; min-width: 0; }
.us-match legend { font-weight: 800; font-size: 1.25rem; line-height: 1.3; }
.us-match-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0; }
.us-match-options button, .us-match-back { font: inherit; text-align: left; min-height: 3rem; padding: .65rem .85rem; border: 1px solid #bba995; border-radius: .35rem; background: #fffaf3; color: var(--ink); cursor: pointer; }
.us-match-options button:hover, .us-match-options button[aria-pressed="true"] { border-color: var(--accent); background: #f5e5e3; }
.us-match-back { font-weight: 700; }
.us-match-cards { list-style: none; padding: 0; margin: 1rem 0; }
.us-match-card { border-top: 1px solid var(--rule); padding: 1rem 0; }
.us-match-card h3, .us-match-card p { margin: 0 0 .6rem; }
.us-match-details { display: inline-block; padding: .5rem; }
@media (max-width: 700px) { .us-match { grid-template-columns: 1fr; } .us-match-options { grid-template-columns: 1fr; } }
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
}
.podium-card {
  display: flex;
  flex-direction: column;
  min-height: 15rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--rule);
  border-radius: .8rem;
  background: var(--surface);
  box-shadow: var(--depth);
}
.podium-rank-1 { grid-column: 2; grid-row: 1; min-height: 23rem; background: linear-gradient(140deg, #eff4ef, var(--sky)); border-top: 3px solid var(--accent); }
.podium-rank-2 { grid-column: 1; grid-row: 1; }
.podium-rank-3 { grid-column: 3; grid-row: 1; }
.podium-place { color: var(--accent); font-size: .875rem; font-weight: 800; margin-bottom: .45rem; }
.podium-card h3 { margin: 0 0 .6rem; font-size: 1.35rem; line-height: 1.2; }
.podium-score { color: var(--accent); font-size: .875rem; }
.podium-score strong { font-size: 1.45rem; }
.podium-breakdown { margin-top: .85rem; font-size: .875rem; }
.podium-breakdown summary { cursor: pointer; }
.podium-breakdown ul { padding-inline-start: 1.1rem; }
.product-catalog, .product-score-grid { list-style: none; padding: 0; }
.product-catalog { overflow: hidden; border: 1px solid var(--rule); border-radius: .85rem; box-shadow: var(--depth); background: var(--surface); }
.product-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .65rem 1rem;
  padding: .9rem clamp(.85rem, 2vw, 1.5rem);
}
.product-entry + .product-entry { border-top: 1px solid var(--rule); }
.product-entry:nth-child(even) { background: #f5e9d8; }
.product-entry h3, .product-entry p { margin: 0; }
.product-entry strong { color: var(--accent); white-space: nowrap; }
.catalog-score small { display: block; }
.product-entry[hidden], #vacuum-filters[hidden] { display: none; }
#vacuum-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.85rem 1rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: #f5e9d8;
}
#vacuum-filters label { display: grid; gap: 0.25rem; }
#vacuum-filters .vacuum-checkbox { display: flex; align-items: baseline; }
#vacuum-filters select, #vacuum-filters input[type="number"], #vacuum-filters button {
  min-height: 2.75rem;
  width: 100%;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--accent);
  border-radius: 0.45rem;
  background: #fff8ed;
  color: inherit;
  font: inherit;
}
#vacuum-filters button { cursor: pointer; }
.ownership-estimator {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: #f5e9d8;
}
.ownership-estimator form:not([hidden]) { display: grid; gap: .45rem; }
.ownership-estimator input, .ownership-estimator select, .ownership-estimator button {
  width: 100%; min-height: 2.75rem; padding: .4rem .65rem;
  border: 1px solid var(--accent); border-radius: .45rem;
  background: #fff8ed; color: inherit; font: inherit;
}
.ownership-estimator button { cursor: pointer; font-weight: 700; }
.ownership-estimator output { display: block; font-weight: 700; }
.vacuum-faq details { border-top: 1px solid var(--rule); padding: 0.65rem 0; }
.vacuum-faq summary { cursor: pointer; font-weight: 700; }
.brand-origin {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin-block: .2rem .35rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.brand-origin-flag {
  position: relative;
  flex: 0 0 1rem;
  aspect-ratio: 19 / 10;
  border-radius: 1px;
  background: repeating-linear-gradient(#b22234 0 7.69%, #fff 7.69% 15.38%);
}
.brand-origin-flag::before {
  content: "";
  position: absolute;
  inset: 0 60% 46.15% 0;
  background: #3c3b6e;
}
.product-score-grid { max-width: 44rem; }
.product-score-grid li { padding-block: .5rem; border-bottom: 1px solid var(--rule); }
.product-score-grid strong { color: var(--accent); margin-inline-start: .4rem; }
.podium-links { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: auto; font-size: .875rem; }
.podium-links a:last-child { display: inline-flex; align-items: center; min-height: 2.75rem; }
.home-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.2rem, 4vw, 3.8rem); align-items: center; padding: clamp(1rem, 3vw, 2rem); border-radius: 1rem; background: var(--sand); }
.home-feature-copy h2 { max-width: 18ch; }
.home-feature-copy a { font-weight: 700; }
.home-help { border-top: 1px solid var(--rule); padding-top: 1.65rem; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figcaption { font-size: .875rem; color: var(--muted); margin-top: .4rem; }
footer { border-top: 1px solid #605047; background: linear-gradient(115deg, #392a2c, var(--night) 62%); color: var(--light); }
footer .affiliate-site-disclosure { color: #e6d5c4; }
footer a:hover { color: #ffce96; }
.footer-nav { padding-block: .85rem; font-size: .95rem; }
.footer-cleaning { padding-block: 0 .9rem; }
.footer-cleaning-track {
  --vacuum-size: 2.125rem;
  --cleaning-duration: 4s;
  position: relative;
  max-width: 26rem;
  height: 2.65rem;
  overflow: hidden;
  pointer-events: none;
  border-bottom: 1px solid #ae8d72;
  background: linear-gradient(0deg, #b18d6f60, transparent 64%);
}
.footer-vacuum-run {
  position: absolute;
  inset: auto var(--vacuum-size) .25rem 0;
  z-index: 1;
  display: block;
}
.footer-vacuum {
  position: relative;
  display: block;
  width: var(--vacuum-size);
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 36%, #aab9c6 3%, #556b7e 14%, var(--ink) 18%, transparent 20%),
    radial-gradient(circle at 45% 68%, var(--sky) 3%, transparent 5%),
    linear-gradient(145deg, #677b8e, var(--ink) 62%);
  box-shadow: inset 0 -3px 0 #091522, 0 2px 3px #10243a38;
}
.footer-vacuum::after {
  content: "";
  position: absolute;
  inset: 26% -1px 26% auto;
  width: 16%;
  border-radius: 50%;
  background: var(--accent);
}
.footer-crumb {
  position: absolute;
  left: var(--crumb-position);
  bottom: .95rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  color: #efbc83;
  background: currentColor;
  box-shadow: -4px 5px 0 -0.5px currentColor, 5px 2px 0 -0.5px currentColor;
  opacity: 0;
}
.footer-crumb:nth-child(1) { --crumb-position: 25%; --pickup-time: .8s; }
.footer-crumb:nth-child(2) { --crumb-position: 52%; --pickup-time: 1.95s; }
.footer-crumb:nth-child(3) { --crumb-position: 78%; --pickup-time: 3.1s; }

@media (prefers-reduced-motion: no-preference) {
  .amazon-action, .home-action { transition: background-color .18s ease, box-shadow .18s ease; }
  .amazon-action:hover, .home-action:hover { box-shadow: 0 5px 12px #32192338; }
  .footer-cleaning-track.is-cleaning .footer-vacuum-run {
    animation: footer-vacuum-pass var(--cleaning-duration) linear forwards;
  }
  .footer-cleaning-track.is-cleaning .footer-crumb {
    animation: footer-crumb-pickup var(--pickup-time) steps(1, end) both;
  }
}
@keyframes footer-vacuum-pass { to { transform: translateX(100%); } }
@keyframes footer-crumb-pickup { from { opacity: .55; } to { opacity: 0; } }

@media (max-width: 46rem) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-sidebar { position: static; }
  .home-page h1 { max-width: none; }
  .home-feature { grid-template-columns: minmax(0, 1fr); }
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .home-criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .podium-grid { grid-template-columns: minmax(0, 1fr); }
  .podium-card { grid-column: auto; grid-row: auto; min-height: 0; }
  .product-entry { grid-template-columns: minmax(0, 1fr) auto; }
  .product-entry .amazon-action { justify-self: start; }
  .home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-categories li:nth-child(n+3) { border-top: 0; }
  .top-nav { gap: .1rem .9rem; }
  .brand { flex-basis: 100%; }
}
