:root {
  --navy-950: #03152f;
  --navy-900: #06204a;
  --navy-850: #082a63;
  --navy-800: #0b3677;
  --blue-600: #176dde;
  --blue-500: #267cff;
  --green-600: #1dbb3c;
  --green-500: #31d04f;
  --lime-500: #8edb29;
  --yellow-500: #ffd200;
  --orange-500: #ff8a1f;
  --purple-500: #8f45ee;
  --pink-500: #ec4d99;
  --teal-500: #11aeb8;
  --ink: #132443;
  --muted: #69758e;
  --line: #e6ebf3;
  --panel: #ffffff;
  --soft: #f6f8fb;
  --shadow: 0 16px 36px rgba(11, 32, 72, 0.12);
  --radius: 8px;
  --container: 1190px;
  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy-950);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.utility-bar {
  background: #061327;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8d6ee;
  font-size: 0.78rem;
}

.utility-content {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 22px;
}

.utility-content a,
.utility-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #d8e4f7;
  cursor: pointer;
}

.utility-content i {
  color: var(--green-500);
}

.utility-content span {
  margin-left: auto;
}

.utility-content strong {
  color: var(--green-500);
}

.main-nav {
  background: linear-gradient(180deg, #07214d 0%, #061b40 100%);
}

.nav-content {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
}

.brand img {
  width: 360px;
  max-width: 42vw;
  height: auto;
}

.footer-brand .brand img {
  width: 310px;
  max-width: 100%;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 12px;
  background: linear-gradient(145deg, #071f45, #0b3f88);
  box-shadow: inset 0 0 0 2px rgba(49, 208, 79, 0.35);
  transform: rotate(-6deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 26px;
  border-radius: 45% 55% 42% 58%;
  background: linear-gradient(135deg, var(--green-500), #8edb29);
  clip-path: polygon(9% 26%, 34% 12%, 58% 20%, 78% 6%, 95% 34%, 86% 60%, 72% 79%, 45% 91%, 29% 76%, 9% 67%, 18% 47%);
}

.brand-mark span {
  position: absolute;
  left: -9px;
  bottom: 4px;
  width: 24px;
  height: 27px;
  border-radius: 6px;
  background: var(--yellow-500);
  box-shadow: 0 0 0 3px #fff;
}

.brand-copy strong {
  display: block;
  font-size: 1.42rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand-copy em {
  color: var(--lime-500);
  font-style: inherit;
}

.brand-copy small {
  display: block;
  margin-top: 5px;
  color: #d9e7ff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
  color: #e6eefc;
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-menu a {
  position: relative;
  padding: 31px 0;
  transition: color 0.2s ease;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.primary-menu a:hover,
.primary-menu a.active {
  color: #fff;
}

.primary-menu a.active::after {
  background: var(--green-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-link {
  color: #fff;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
  box-shadow: 0 10px 20px rgba(29, 187, 60, 0.25);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-glass {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: rgba(5, 29, 69, 0.52);
  backdrop-filter: blur(8px);
}

.btn-yellow {
  background: var(--yellow-500);
  color: #12325f;
  box-shadow: 0 12px 22px rgba(255, 210, 0, 0.24);
}

.btn-light-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-large {
  min-height: 56px;
  padding: 0 27px;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.hero {
  position: relative;
  min-height: 588px;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 21, 47, 0.98) 0%, rgba(4, 22, 51, 0.88) 34%, rgba(5, 31, 70, 0.16) 66%, rgba(3, 21, 47, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 20, 44, 0.08), rgba(5, 24, 55, 0.28));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 588px;
  align-items: center;
  padding: 40px 0 118px;
}

.hero-copy {
  max-width: 650px;
  color: #fff;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: 3.74rem;
  line-height: 1.06;
  font-weight: 900;
}

.hero-copy h1 span {
  color: var(--green-500);
}

.hero-copy p {
  max-width: 500px;
  margin: 0 0 34px;
  color: #e2ecfb;
  font-size: 1.24rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 34px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: #dbe7f7;
  list-style: none;
  font-weight: 700;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-list li:last-child {
  border-right: 0;
}

.trust-list i {
  color: #a8c2e8;
}

.search-section {
  position: relative;
  z-index: 4;
  margin-top: -67px;
  padding-bottom: 36px;
}

.search-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.search-tabs button {
  min-width: 185px;
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: #7a8498;
  font-weight: 800;
  cursor: pointer;
}

.search-tabs button.active {
  position: relative;
  color: var(--blue-600);
}

.search-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--blue-600);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr 0.95fr 150px;
  gap: 18px;
  padding: 22px 22px 14px;
  align-items: end;
}

.search-grid label {
  position: relative;
  display: grid;
  gap: 8px;
}

.search-grid span {
  color: #64708a;
  font-size: 0.78rem;
  font-weight: 800;
}

.search-grid label i {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #a3acc0;
  pointer-events: none;
}

.search-grid input,
.search-grid select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px 0 44px;
  color: #56627a;
  background: #fff;
  outline: none;
}

.search-grid input:focus,
.search-grid select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(38, 124, 255, 0.12);
}

.search-button {
  height: 52px;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0 22px 24px;
  color: #6a7488;
  font-size: 0.8rem;
}

.popular-searches strong {
  margin-right: 4px;
  color: #5d6880;
}

.popular-searches a {
  border-radius: 6px;
  padding: 6px 12px;
  background: #f0f3f7;
  color: #68758b;
  font-weight: 700;
}

.section {
  padding: 0 0 44px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: #1a2f55;
  font-size: 1.64rem;
  line-height: 1.25;
}

.section-heading a {
  color: var(--blue-600);
  font-weight: 800;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading.centered h2 {
  color: inherit;
}

.section-heading h2 span {
  color: var(--lime-500);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.category-card {
  display: grid;
  min-height: 148px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(13, 39, 83, 0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #d5ddec;
  box-shadow: 0 14px 26px rgba(13, 39, 83, 0.1);
}

.category-card i {
  font-size: 2.42rem;
}

.category-card strong {
  margin-top: 10px;
  color: #183058;
  font-size: 1.02rem;
}

.category-card span {
  color: #8190aa;
  font-weight: 700;
}

.category-card.blue i { color: #2d80ff; }
.category-card.green i { color: #25b64a; }
.category-card.purple i { color: #8d45ed; }
.category-card.orange i { color: #ff8726; }
.category-card.pink i { color: #e64c98; }
.category-card.teal i { color: #12aab3; }
.category-card.lime i { color: #5abf33; }
.category-card.violet i { color: #8348e5; }

.listings-section {
  padding-top: 4px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 36, 76, 0.08);
}

.listing-media {
  position: relative;
  aspect-ratio: 1.18;
  background: #d9e2ef;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-media button {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(2, 18, 42, 0.42);
  cursor: pointer;
}

.badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 5px;
  padding: 4px 8px;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 900;
}

.badge.blue { background: var(--blue-600); }
.badge.green { background: var(--green-600); }
.badge.orange { background: var(--orange-500); }
.badge.purple { background: var(--purple-500); }

.listing-body {
  display: grid;
  gap: 9px;
  padding: 13px 12px 14px;
}

.listing-body h3 {
  min-height: 42px;
  margin: 0;
  color: #172b4e;
  font-size: 0.93rem;
  line-height: 1.28;
}

.listing-body strong {
  color: var(--green-600);
  font-size: 1.28rem;
  line-height: 1.1;
}

.listing-body p,
.listing-body small {
  margin: 0;
  color: #7a879d;
  font-size: 0.78rem;
}

.listing-body p i,
.listing-body small i {
  color: #a7b2c5;
}

.listing-body small {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.benefits,
.stats-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(31, 120, 255, 0.24), transparent 35%),
    radial-gradient(circle at 76% 10%, rgba(49, 208, 79, 0.16), transparent 32%),
    linear-gradient(180deg, #062b65, #031b40);
}

.benefits {
  padding: 44px 0 34px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.benefit-grid article {
  min-height: 166px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 28px 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.benefit-grid i {
  color: var(--green-500);
  font-size: 2.65rem;
}

.benefit-grid article:nth-child(5) i {
  color: var(--yellow-500);
}

.benefit-grid h3,
.step-card h3,
.store-card h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
}

.benefit-grid p {
  margin: 0;
  color: #c8d8f1;
  font-size: 0.88rem;
}

.how-it-works {
  padding-top: 36px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

.step-card {
  position: relative;
  min-height: 196px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px 22px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(13, 39, 83, 0.06);
  text-align: center;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 64px;
  right: -36px;
  width: 28px;
  height: 12px;
  background:
    linear-gradient(90deg, #9aa7bb 50%, transparent 50%) 0 center / 8px 2px repeat-x;
}

.step-card:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -41px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #9aa7bb;
  border-right: 2px solid #9aa7bb;
  transform: rotate(45deg);
}

.step-card > i {
  color: #12325f;
  font-size: 3.7rem;
}

.step-card h3 {
  color: #172b4e;
}

.step-card h3 span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  margin-right: 6px;
  color: #fff;
  background: var(--green-600);
  font-size: 0.78rem;
}

.step-card p {
  margin: 0;
  color: #6d7a91;
  font-size: 0.84rem;
}

.premium-stores {
  padding-top: 10px;
  padding-bottom: 52px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.store-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(13, 39, 83, 0.06);
}

.store-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 9px;
  border: 2px solid #c5cfdf;
  border-radius: 50%;
}

.store-logo {
  display: grid;
  height: 86px;
  place-items: center;
  border-radius: 7px;
  margin-bottom: 12px;
  font-size: 2.7rem;
}

.store-logo.motors {
  color: var(--yellow-500);
  background: #080b10;
}

.store-logo.realty {
  color: #1f8f52;
  background: #f2fff8;
}

.store-logo.tech {
  color: #12325f;
  background: #edf4ff;
}

.store-logo.home {
  color: #6f5849;
  background: #fff9f4;
}

.store-logo.pet {
  color: #111;
  background: #fff;
}

.store-card h3 {
  color: #17305a;
}

.store-card h3 i {
  color: var(--blue-500);
  font-size: 0.88rem;
}

.store-card p {
  margin: 0 0 8px;
  color: #7d889b;
  font-size: 0.78rem;
}

.store-card span {
  color: #6f7b92;
  font-size: 0.8rem;
  font-weight: 800;
}

.store-card span i {
  color: var(--yellow-500);
}

.stats-cta {
  padding: 46px 0 54px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 34px;
}

.stats-grid article {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-height: 112px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid i {
  color: #fff;
  font-size: 2.2rem;
}

.stats-grid strong {
  color: var(--yellow-500);
  font-size: 1.9rem;
  line-height: 1.1;
}

.stats-grid span {
  color: #d8e5f9;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--radius);
  padding: 30px 48px;
  background: linear-gradient(105deg, #1478ea 0%, #09a5c8 38%, #16bf42 100%);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.18);
}

.final-cta h2 {
  margin: 0 0 6px;
  font-size: 1.55rem;
}

.final-cta p {
  max-width: 560px;
  margin: 0;
  color: #ecf7ff;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex: 0 0 auto;
}

.site-footer {
  color: #d8e4f6;
  background: #041734;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr repeat(4, 1fr);
  gap: 48px;
  padding: 44px 0 26px;
}

.footer-brand p {
  max-width: 300px;
  color: #b5c4dc;
}

.social-links {
  display: flex;
  gap: 17px;
  font-size: 1.24rem;
}

.footer-grid h3 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 0.95rem;
}

.footer-grid div:not(.footer-brand):not(.social-links) a {
  display: block;
  margin-bottom: 10px;
  color: #b9c8df;
  font-size: 0.86rem;
}

.footer-bottom {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aebed8;
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0 auto 0 0;
}

.footer-bottom i {
  color: #ff335f;
}

.flag {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 24px;
  border-radius: 3px;
  background: #10984a;
}

.flag::before {
  content: "";
  position: absolute;
  inset: 4px 7px;
  background: #ffd43b;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.flag::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #163f8f;
}

@media (max-width: 1100px) {
  .nav-content {
    gap: 18px;
  }

  .primary-menu {
    gap: 16px;
    font-size: 0.86rem;
  }

  .nav-actions .btn-outline,
  .icon-link {
    display: none;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .category-grid,
  .listing-grid,
  .benefit-grid,
  .store-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .search-button {
    grid-column: 1 / -1;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .step-card::before,
  .step-card::after {
    display: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .utility-content {
    justify-content: space-between;
    gap: 10px;
  }

  .utility-content a:nth-child(2),
  .utility-content span {
    display: none;
  }

  .nav-content {
    min-height: 74px;
    flex-wrap: wrap;
  }

  .brand-copy strong {
    font-size: 1.1rem;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand img {
    width: 250px;
    max-width: calc(100vw - 112px);
  }

  .nav-toggle-label {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius);
    color: #fff;
    cursor: pointer;
  }

  .primary-menu,
  .nav-actions {
    display: none;
    width: 100%;
  }

  .nav-toggle:checked ~ .primary-menu,
  .nav-toggle:checked ~ .nav-actions {
    display: grid;
  }

  .primary-menu {
    order: 5;
    gap: 0;
    margin-left: 0;
    padding: 6px 0 10px;
  }

  .primary-menu a {
    padding: 12px 0;
  }

  .primary-menu a::after {
    bottom: 6px;
  }

  .nav-actions {
    order: 6;
    gap: 10px;
    padding-bottom: 16px;
  }

  .nav-actions .btn-outline,
  .nav-actions .icon-link {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-bg img {
    object-position: center bottom;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 21, 47, 0.94) 0%, rgba(3, 21, 47, 0.84) 48%, rgba(3, 21, 47, 0.4) 100%),
      linear-gradient(90deg, rgba(3, 21, 47, 0.9), rgba(3, 21, 47, 0.38));
  }

  .hero-content {
    min-height: 620px;
    align-items: flex-start;
    padding-top: 66px;
  }

  .hero-copy h1 {
    font-size: 2.34rem;
  }

  .hero-copy p {
    font-size: 1.04rem;
  }

  .search-section {
    margin-top: -58px;
  }

  .search-tabs {
    overflow-x: auto;
  }

  .search-tabs button {
    min-width: 155px;
  }

  .search-grid,
  .category-grid,
  .listing-grid,
  .benefit-grid,
  .steps-grid,
  .store-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-button {
    grid-column: auto;
  }

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

  .final-cta {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .utility-content a:first-child {
    display: none;
  }

  .brand-copy small {
    letter-spacing: 1px;
  }

  .brand img {
    width: 224px;
    max-width: calc(100vw - 96px);
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-actions,
  .final-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .final-actions .btn {
    width: 100%;
  }

  .trust-list {
    gap: 10px;
    font-size: 0.83rem;
  }

  .trust-list li {
    width: 100%;
    border-right: 0;
  }

  .search-grid,
  .category-grid,
  .listing-grid,
  .benefit-grid,
  .steps-grid,
  .store-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading.centered {
    align-items: center;
  }

  .category-card {
    min-height: 124px;
  }

  .listing-media {
    aspect-ratio: 1.5;
  }

  .stats-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    padding-bottom: 18px;
  }

  .stats-grid article:last-child {
    border-bottom: 0;
  }
}
