/* MainBuyer homepage overhaul — August 2026
   Utility-first comparison design inspired by leading price-comparison sites.
   This file intentionally scopes the new palette/layout to .home-page so the
   rest of the public site can be migrated deliberately rather than all at once. */

.home-page.site-refresh {
  --home-ink: #142033;
  --home-ink-2: #27364d;
  --home-muted: #657084;
  --home-line: #dde3eb;
  --home-line-strong: #cbd3df;
  --home-bg: #f5f7fa;
  --home-surface: #ffffff;
  --home-blue: #1769e0;
  --home-blue-dark: #0d4fae;
  --home-blue-soft: #eaf2ff;
  --home-green: #087a55;
  --home-green-soft: #e8f7f1;
  --home-navy-soft: #edf1f6;
  --home-shadow: 0 12px 34px rgba(20, 32, 51, .08);
  --home-shadow-hover: 0 18px 44px rgba(20, 32, 51, .13);
  background: var(--home-bg);
  color: var(--home-ink);
}

.home-page.site-refresh::before,
.home-page.site-refresh::after {
  display: none;
}

.home-page.site-refresh .container {
  width: min(100% - 36px, 1280px);
  max-width: 1280px;
}

/* Header: remove the tall editorial treatment and behave like a shopping tool. */
.home-page.site-refresh .site-ribbon {
  display: none;
}

.home-page.site-refresh .site-header {
  padding: 0;
  border-bottom: 1px solid var(--home-line);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 2px 12px rgba(20, 32, 51, .04);
  backdrop-filter: blur(16px);
}

.home-page.site-refresh .site-nav {
  min-height: 72px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page.site-refresh .header-brand {
  width: clamp(166px, 14vw, 205px);
  min-width: 166px;
}

.home-page.site-refresh .nav-search {
  max-width: 440px;
  padding: 4px 5px 4px 13px;
  border: 1px solid var(--home-line-strong);
  border-radius: 10px;
  background: #f7f9fb;
}

.home-page.site-refresh .nav-search:focus-within {
  border-color: var(--home-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .12);
}

.home-page.site-refresh .nav-search button {
  min-height: 38px;
  border-radius: 8px;
  background: var(--home-blue);
}

.home-page.site-refresh .nav-search button:hover {
  background: var(--home-blue-dark);
}

.home-page.site-refresh .nav-actions {
  gap: 15px;
}

.home-page.site-refresh .nav-actions a {
  color: var(--home-ink-2);
  font-size: .78rem;
  font-weight: 700;
}

.home-page.site-refresh .nav-actions a::after {
  bottom: -7px;
  background: var(--home-blue);
}

/* Hero: one job — explain the service and get the shopper searching. */
.home-hero {
  padding: clamp(42px, 5vw, 68px) 0 0;
  background: var(--home-surface);
  border-bottom: 1px solid var(--home-line);
}

.home-hero-copy {
  max-width: 920px;
}

.home-kicker,
.home-section-label,
.home-guide-label {
  display: inline-flex;
  align-items: center;
  color: var(--home-blue-dark);
  font-family: var(--mb-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.home-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--home-green);
}

.home-hero h1 {
  max-width: 900px;
  margin: 13px 0 14px;
  color: var(--home-ink);
  font-family: var(--mb-display);
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.055em;
}

.home-hero h1 span {
  color: var(--home-blue);
}

.home-hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.home-search {
  max-width: 920px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 7px 7px 7px 16px;
  border: 2px solid var(--home-blue);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 105, 224, .12);
}

.home-search:focus-within {
  box-shadow: 0 0 0 4px rgba(23, 105, 224, .12), 0 10px 28px rgba(23, 105, 224, .12);
}

.home-search svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--home-muted);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.home-search input {
  min-width: 0;
  padding: 13px 3px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--home-ink);
  font-size: 1.02rem;
}

.home-search input::placeholder {
  color: #858f9e;
}

.home-search button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--home-blue);
  color: #fff;
  font-weight: 700;
  transition: background-color .18s ease, transform .18s ease;
}

.home-search button:hover {
  transform: translateY(-1px);
  background: var(--home-blue-dark);
}

.home-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 9px;
  max-width: 920px;
  margin-top: 12px;
  color: var(--home-muted);
  font-size: .82rem;
}

.home-quick-links > span {
  font-weight: 700;
}

.home-quick-links a {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--home-blue-dark);
  text-decoration: none;
}

.home-quick-links a:hover {
  background: var(--home-blue-soft);
  color: var(--home-blue-dark);
}

.home-category-rail {
  display: flex;
  gap: 8px;
  margin-top: 31px;
  padding: 14px 0 16px;
  overflow-x: auto;
  border-top: 1px solid var(--home-line);
  scrollbar-width: thin;
}

.home-category-rail a {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 8px;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  background: #fff;
  color: var(--home-ink-2);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.home-category-rail a:hover {
  border-color: #a9c7f5;
  background: var(--home-blue-soft);
  color: var(--home-blue-dark);
}

.home-category-rail-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--home-navy-soft);
  color: var(--home-ink);
  font-family: var(--mb-display);
  font-size: .78rem;
  font-weight: 800;
}

.home-category-rail-all .home-category-rail-icon {
  background: var(--home-blue);
  color: #fff;
  font-family: var(--mb-body);
  font-size: 1.08rem;
  font-weight: 500;
}

/* Compact trust strip instead of multiple above-the-fold manifesto panels. */
.home-confidence-strip {
  background: var(--home-bg);
}

.home-confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 18px 0;
}

.home-confidence-grid > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 24px;
  border-right: 1px solid var(--home-line);
}

.home-confidence-grid > div:first-child {
  padding-left: 0;
}

.home-confidence-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.confidence-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-weight: 800;
}

.confidence-blue {
  background: var(--home-blue-soft);
  color: var(--home-blue-dark);
}

.confidence-green {
  background: var(--home-green-soft);
  color: var(--home-green);
}

.confidence-navy {
  background: var(--home-navy-soft);
  color: var(--home-ink);
}

.home-confidence-grid p {
  margin: 0;
}

.home-confidence-grid strong,
.home-confidence-grid small {
  display: block;
}

.home-confidence-grid strong {
  color: var(--home-ink);
  font-size: .86rem;
}

.home-confidence-grid small {
  margin-top: 1px;
  color: var(--home-muted);
  font-size: .73rem;
  line-height: 1.35;
}

/* Shared section system — much tighter vertical rhythm than the former 100px+ sections. */
.home-page.site-refresh .home-section {
  padding: clamp(46px, 5.5vw, 76px) 0;
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 25px;
}

.home-section-heading > div {
  max-width: 790px;
}

.home-section-heading h2 {
  margin: 5px 0 0;
  color: var(--home-ink);
  font-family: var(--mb-display);
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.home-section-heading > p {
  max-width: 440px;
  margin: 0 0 4px;
  color: var(--home-muted);
  font-size: .93rem;
  line-height: 1.48;
}

.home-heading-link {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--home-blue-dark);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.home-heading-link:hover {
  color: var(--home-blue);
}

/* Product cards — dense enough to scan, with price always in the visual anchor. */
.home-products-section {
  background: #fff;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(20, 32, 51, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-product-card:hover {
  transform: translateY(-2px);
  border-color: #b9c6d7;
  box-shadow: var(--home-shadow);
}

.home-product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-product-category {
  min-width: 0;
  overflow: hidden;
  color: var(--home-muted);
  font-size: .69rem;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-product-badge {
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--home-green-soft);
  color: var(--home-green);
  font-size: .64rem;
  font-weight: 800;
}

.home-product-brand {
  margin-top: 15px;
  color: var(--home-blue-dark);
  font-size: .74rem;
  font-weight: 800;
}

.home-product-card h3 {
  margin: 3px 0 0;
  font-family: var(--mb-display);
  font-size: 1.27rem;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.026em;
}

.home-product-card h3 a {
  color: var(--home-ink);
  text-decoration: none;
}

.home-product-card h3 a:hover {
  color: var(--home-blue-dark);
}

.home-product-best-for {
  margin: 10px 0 0;
  color: var(--home-green);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-product-summary {
  margin: 10px 0 14px;
  color: var(--home-muted);
  font-size: .79rem;
  line-height: 1.46;
}

.home-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.home-product-meta span {
  padding: 4px 6px;
  border-radius: 5px;
  background: #f1f4f8;
  color: #556274;
  font-size: .65rem;
  font-weight: 700;
}

.home-product-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--home-line);
}

.home-product-price-row > div {
  min-width: 0;
}

.home-product-price-label,
.home-product-price-row strong,
.home-product-price-row small {
  display: block;
}

.home-product-price-label {
  color: var(--home-muted);
  font-size: .65rem;
  font-weight: 700;
}

.home-product-price-row strong {
  margin-top: 1px;
  color: var(--home-ink);
  font-family: var(--mb-display);
  font-size: 1.42rem;
  line-height: 1.05;
}

.home-product-price-row strong.home-product-price-unavailable {
  font-size: 1.06rem;
}

.home-product-price-row small {
  max-width: 160px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--home-muted);
  font-size: .61rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 8px;
  background: var(--home-blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
}

.home-product-cta:hover {
  background: var(--home-blue-dark);
  color: #fff;
}

.home-empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--home-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--home-muted);
}

/* Category cards: neutral, scannable and ready for generated imagery later. */
.home-categories-section {
  background: var(--home-bg);
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-category-card {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: #fff;
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-category-card:hover {
  transform: translateY(-2px);
  border-color: #b9c6d7;
  color: var(--home-ink);
  box-shadow: var(--home-shadow);
}

.home-category-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-category-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--home-blue-soft);
  color: var(--home-blue-dark);
  font-family: var(--mb-display);
  font-size: .83rem;
  font-weight: 800;
}

.home-category-card:nth-child(3n + 2) .home-category-card-icon {
  background: var(--home-green-soft);
  color: var(--home-green);
}

.home-category-card:nth-child(3n) .home-category-card-icon {
  background: var(--home-navy-soft);
  color: var(--home-ink);
}

.home-category-card-arrow {
  color: #8490a0;
  font-size: 1.05rem;
  transition: color .18s ease, transform .18s ease;
}

.home-category-card:hover .home-category-card-arrow {
  transform: translateX(3px);
  color: var(--home-blue);
}

.home-category-card h3 {
  margin: auto 0 5px;
  font-family: var(--mb-display);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -.025em;
}

.home-category-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: .76rem;
  line-height: 1.4;
}

/* Buying guides include visual slots that can be populated by the FreeLLMAPI
   image pipeline. The CSS treatment remains useful when no image is present. */
.home-guides-section {
  background: #fff;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-guide-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  background: #fff;
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-guide-card:hover {
  transform: translateY(-2px);
  border-color: #b9c6d7;
  color: var(--home-ink);
  box-shadow: var(--home-shadow-hover);
}

.home-guide-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(0, 1.18fr);
  background: var(--home-ink);
  color: #fff;
}

.home-guide-card-featured:hover {
  color: #fff;
}

.home-guide-visual {
  position: relative;
  min-height: 130px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(23, 105, 224, .92), rgba(13, 79, 174, .96));
}

.home-guide-card:nth-child(3n + 2) .home-guide-visual {
  background: linear-gradient(145deg, #087a55, #075a42);
}

.home-guide-card:nth-child(3n) .home-guide-visual {
  background: linear-gradient(145deg, #49596e, #28374b);
}

.home-guide-card-featured .home-guide-visual {
  min-height: 100%;
  background:
    radial-gradient(circle at 30% 32%, rgba(255,255,255,.18) 0 12%, transparent 12.5%),
    radial-gradient(circle at 76% 72%, rgba(255,255,255,.10) 0 20%, transparent 20.5%),
    linear-gradient(145deg, #1769e0, #0d4fae);
}

.home-guide-visual::before,
.home-guide-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
}

.home-guide-visual::before {
  width: 118px;
  height: 118px;
  top: -44px;
  right: -28px;
}

.home-guide-visual::after {
  width: 70px;
  height: 70px;
  bottom: -22px;
  left: -13px;
}

.home-guide-visual > span {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.94);
  font-family: var(--mb-display);
  font-size: 4.8rem;
  font-weight: 800;
  letter-spacing: -.08em;
}

.home-guide-visual i {
  position: absolute;
  width: 42px;
  height: 42px;
  right: 18px;
  bottom: 17px;
  border: 8px solid rgba(255,255,255,.18);
  border-radius: 10px;
  transform: rotate(20deg);
}

.home-guide-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px;
}

.home-guide-card-featured .home-guide-copy {
  justify-content: center;
  padding: clamp(23px, 3vw, 38px);
}

.home-guide-card .home-guide-label {
  color: var(--home-blue-dark);
  font-size: .65rem;
}

.home-guide-card-featured .home-guide-label {
  color: #9ec5ff;
}

.home-guide-card h3 {
  margin: 7px 0 0;
  font-family: var(--mb-display);
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.home-guide-card-featured h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
}

.home-guide-card p {
  margin: 9px 0 15px;
  color: var(--home-muted);
  font-size: .77rem;
  line-height: 1.45;
}

.home-guide-card-featured p {
  max-width: 520px;
  color: #cbd4df;
  font-size: .86rem;
}

.home-guide-card strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--home-blue-dark);
  font-size: .76rem;
}

.home-guide-card-featured strong {
  color: #fff;
}

/* Methodology remains available, but after the shopping content. */
.home-method-section {
  background: var(--home-bg);
}

.home-method-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 80px);
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 16px;
  background: var(--home-ink);
  color: #fff;
}

.home-section-label-light {
  color: #9ec5ff;
}

.home-method-panel h2 {
  max-width: 650px;
  margin: 7px 0 13px;
  color: #fff;
  font-family: var(--mb-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.home-method-panel > div > p {
  max-width: 620px;
  margin: 0;
  color: #c0c9d5;
  font-size: .9rem;
  line-height: 1.55;
}

.home-method-panel > div > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.home-method-panel > div > a:hover {
  border-color: #fff;
  background: #fff;
  color: var(--home-ink);
}

.home-method-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.home-method-list > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.home-method-list > div:last-child {
  border-bottom: 0;
}

.home-method-list dt {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  color: #9ec5ff;
  font-size: .68rem;
  font-weight: 800;
}

.home-method-list dd {
  margin: 0;
}

.home-method-list strong,
.home-method-list span {
  display: block;
}

.home-method-list strong {
  font-size: .9rem;
}

.home-method-list span {
  margin-top: 2px;
  color: #aeb9c7;
  font-size: .75rem;
  line-height: 1.35;
}

/* Footer palette follows the restrained navy/blue system on the homepage. */
.home-page.site-refresh .site-footer {
  margin-top: 0;
  padding-top: clamp(48px, 6vw, 72px);
  border-radius: 0;
  background: #0e1828;
}

.home-page.site-refresh .footer-statement {
  color: #9ec5ff;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.home-page.site-refresh .footer-grid > div {
  border-top-color: rgba(255,255,255,.12);
}

/* Accessibility and focus treatment. */
.home-page :focus-visible {
  outline-color: var(--home-blue);
}

/* Tablet */
@media (max-width: 1180px) {
  .home-page.site-refresh .nav-actions {
    gap: 10px;
  }

  .home-page.site-refresh .nav-actions a {
    font-size: .72rem;
  }

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

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

  .home-guide-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 990px) {
  .home-page.site-refresh .site-nav {
    min-height: 66px;
  }

  .home-hero {
    padding-top: 36px;
  }

  .home-confidence-grid {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .home-confidence-grid > div,
  .home-confidence-grid > div:first-child,
  .home-confidence-grid > div:last-child {
    padding: 9px 0;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-confidence-grid > div:last-child {
    border-bottom: 0;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-section-heading > p {
    max-width: 680px;
    margin: 0;
  }

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

  .home-method-panel {
    grid-template-columns: 1fr;
  }
}

/* Phone */
@media (max-width: 680px) {
  .home-page.site-refresh .container {
    width: min(100% - 24px, 1280px);
  }

  .home-hero {
    padding-top: 27px;
  }

  .home-kicker {
    font-size: .67rem;
  }

  .home-hero h1 {
    margin-top: 10px;
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .home-hero-copy > p {
    font-size: .96rem;
  }

  .home-search {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding: 6px 10px 6px 13px;
    border-width: 1.5px;
  }

  .home-search input {
    padding: 10px 0;
    font-size: .92rem;
  }

  .home-search button {
    grid-column: 1 / -1;
    min-height: 44px;
    margin: 0 -4px 0 -7px;
  }

  .home-quick-links {
    gap: 5px 3px;
    font-size: .75rem;
  }

  .home-category-rail {
    margin-top: 22px;
    padding-top: 11px;
  }

  .home-category-rail a {
    font-size: .76rem;
  }

  .home-page.site-refresh .home-section {
    padding: 40px 0;
  }

  .home-section-heading {
    margin-bottom: 18px;
  }

  .home-section-heading h2 {
    font-size: 2rem;
  }

  .home-product-grid,
  .home-category-grid,
  .home-guide-grid {
    grid-template-columns: 1fr;
  }

  .home-product-card {
    padding: 15px;
  }

  .home-product-card h3 {
    font-size: 1.2rem;
  }

  .home-category-card {
    min-height: 150px;
  }

  .home-guide-card,
  .home-guide-card-featured {
    grid-column: auto;
    display: flex;
    min-height: 0;
  }

  .home-guide-card-featured .home-guide-visual,
  .home-guide-visual {
    min-height: 145px;
  }

  .home-guide-card-featured h3 {
    font-size: 1.55rem;
  }

  .home-method-panel {
    padding: 24px 19px;
    border-radius: 13px;
  }

  .home-method-panel h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-product-card,
  .home-page .home-category-card,
  .home-page .home-guide-card,
  .home-page .home-search button,
  .home-page .home-category-card-arrow {
    transition: none;
  }
}
