:root {
  --navy-950: #061827;
  --navy-900: #082033;
  --navy-800: #0c2f49;
  --blue-600: #087fc4;
  --blue-500: #10a2dd;
  --aqua-400: #35d5d0;
  --teal-700: #08786f;
  --gold-500: #d9a447;
  --ink-900: #13202b;
  --ink-700: #33485a;
  --ink-500: #66798a;
  --line: #dbe6ee;
  --mist: #f4f8fb;
  --foam: #eefafa;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(13, 37, 55, 0.12);
  --shadow-card: 0 12px 28px rgba(10, 44, 70, 0.12);
  --radius: 8px;
  --shell: 1180px;
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-900);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-900);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(100% - 32px, var(--shell));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(6, 24, 39, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: fit-content;
}

.brand-logo {
  display: block;
  width: clamp(154px, 18vw, 201px);
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.footer-brand .brand-logo {
  width: clamp(178px, 18vw, 201px);
  max-height: 36px;
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: grid;
  gap: 3px;
  padding: 14px 16px 18px;
  color: var(--white);
  background: rgba(6, 24, 39, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .site-nav {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-nav a {
  padding: 10px 10px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.header-action {
  display: none;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 4px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-height) + 42px) 0 28px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 24, 39, 0.96) 0%, rgba(6, 24, 39, 0.78) 45%, rgba(6, 24, 39, 0.46) 100%),
    linear-gradient(0deg, rgba(6, 24, 39, 0.72), rgba(6, 24, 39, 0.05) 48%),
    url("assets/hero-marina.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-500);
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 10px;
  color: var(--aqua-400);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.04;
  font-weight: 900;
}

.hero-copy {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn,
.header-action,
.search-submit,
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.header-action:hover,
.search-submit:hover,
.newsletter-form button:hover {
  transform: translateY(-1px);
}

.btn.primary,
.search-submit,
.newsletter-form button {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--aqua-400), #8df4e4);
  box-shadow: 0 14px 28px rgba(53, 213, 208, 0.28);
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.hero-actions .btn {
  min-height: 46px;
  padding: 0 18px;
}

.hero-search {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 10px;
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(2, 14, 25, 0.34);
}

.hero-search label {
  display: grid;
  gap: 4px;
}

.hero-search span {
  color: var(--ink-500);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-search input,
.hero-search select,
.newsletter-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink-900);
  background: var(--white);
}

.hero-search input,
.hero-search select {
  min-height: 44px;
  padding: 0 12px;
}

.hero-search .search-submit {
  min-height: 44px;
  padding: 0 16px;
}

.hero-search input:focus,
.hero-search select:focus,
.ai-search-form input:focus,
.newsletter-form input:focus {
  border-color: var(--blue-500);
  outline: 3px solid rgba(16, 162, 221, 0.15);
}

.ai-search-section {
  position: relative;
  padding: 30px 0 58px;
  background:
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 24%, var(--white) 24%, var(--white) 100%);
}

.ai-search-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(53, 213, 208, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 253, 0.96)),
    var(--white);
  box-shadow:
    0 0 0 1px rgba(53, 213, 208, 0.08),
    0 0 46px rgba(53, 213, 208, 0.16),
    0 24px 58px rgba(6, 24, 39, 0.16);
}

.ai-search-copy {
  display: grid;
  gap: 9px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(53, 213, 208, 0.32);
  border-radius: 999px;
  color: var(--teal-700);
  background: linear-gradient(135deg, rgba(238, 250, 250, 0.95), rgba(255, 255, 255, 0.88));
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-badge svg {
  width: 15px;
  height: 15px;
  fill: var(--blue-500);
}

.ai-search-copy h2 {
  margin: 0;
  max-width: 680px;
  font-size: 2rem;
  line-height: 1.12;
}

.ai-lead {
  margin: 0;
  color: var(--ink-900);
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.45;
}

.ai-helper {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.58;
}

.ai-search-form {
  display: grid;
  gap: 13px;
}

.ai-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(53, 213, 208, 0.34);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 36px rgba(8, 127, 196, 0.12);
}

.ai-icon {
  width: 28px;
  height: 28px;
  margin-left: 2px;
  padding: 5px;
  border-radius: 50%;
  background: var(--foam);
  fill: var(--blue-500);
}

.ai-input-wrap input {
  min-width: 0;
  min-height: 62px;
  border: 0;
  color: var(--ink-900);
  background: transparent;
  font-size: 1.06rem;
  font-weight: 650;
}

.ai-input-wrap input:focus {
  outline: none;
}

.ai-input-wrap button {
  grid-column: 1 / -1;
  min-height: 54px;
  border: 0;
  border-radius: var(--radius);
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--aqua-400), #7beddf);
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(53, 213, 208, 0.28);
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ai-chips button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(8, 127, 196, 0.18);
  border-radius: 999px;
  color: var(--ink-700);
  background: var(--foam);
  font-weight: 800;
}

.ai-chips button:hover,
.ai-chips button:focus-visible {
  color: var(--navy-950);
  border-color: rgba(8, 127, 196, 0.36);
  outline: none;
  transform: translateY(-1px);
}

.ai-results {
  display: grid;
  gap: 16px;
  padding-top: 4px;
}

.ai-results[hidden] {
  display: none;
}

.ai-intent {
  padding: 16px;
  border: 1px solid rgba(16, 162, 221, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.ai-results-label {
  margin: 0 0 12px;
  color: var(--aqua-400);
  font-weight: 900;
}

.ai-intent dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ai-intent div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
}

.ai-intent dt {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.ai-intent dd {
  margin: 0;
  color: var(--white);
  font-weight: 850;
}

.ai-match-grid {
  display: grid;
  gap: 14px;
}

.ai-match-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(10, 44, 70, 0.08);
}

.ai-match-card img {
  width: 96px;
  height: 82px;
  object-fit: cover;
  border-radius: var(--radius);
}

.ai-match-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.ai-match-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ai-match-price {
  display: inline-block;
  margin-top: 8px;
  color: var(--navy-900);
  font-weight: 900;
}

.section {
  padding: 58px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading h2,
.newsletter h2 {
  margin: 0;
  max-width: 720px;
  font-size: 2rem;
  line-height: 1.14;
}

.section-heading.compact {
  max-width: 720px;
}

.text-link {
  color: var(--blue-600);
  font-weight: 800;
}

.listing-grid,
.category-grid,
.benefit-grid,
.recent-grid,
.article-grid {
  display: grid;
  gap: 18px;
}

.listing-card,
.recent-card,
.article-card,
.benefit-card,
.steps-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.listing-card {
  display: grid;
}

.listing-image,
.recent-image,
.article-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.listing-image img,
.recent-image img,
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.listing-card:hover img,
.recent-card:hover img,
.article-card:hover img,
.category-card:hover img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.75rem;
  font-weight: 900;
}

.listing-body,
.recent-body,
.article-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.recent-body .badge {
  position: static;
  justify-self: start;
  color: var(--navy-950);
  background: var(--foam);
}

.listing-body h3,
.recent-body h3,
.article-body h3,
.benefit-card h3,
.steps-panel h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.28;
}

.listing-meta,
.recent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  color: var(--ink-500);
  font-size: 0.9rem;
}

.listing-price,
.recent-price {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.18rem;
  font-weight: 900;
}

.details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy-900);
  font-weight: 800;
}

.category-section {
  background: linear-gradient(180deg, var(--mist), var(--white));
}

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy-900);
  box-shadow: var(--shadow-soft);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 260ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 39, 0.04), rgba(6, 24, 39, 0.88));
}

.category-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.category-content h3 {
  margin: 0;
  font-size: 1.2rem;
}

.category-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.listing-count {
  color: var(--aqua-400);
  font-size: 0.85rem;
  font-weight: 900;
}

.benefit-card {
  padding: 22px;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--foam);
  font-weight: 900;
}

.benefit-card p,
.article-body p,
.map-copy p,
.site-footer p {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.65;
}

.map-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 24, 39, 0.96), rgba(8, 54, 80, 0.94)),
    var(--navy-950);
}

.map-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.map-copy h2 {
  margin: 0 0 16px;
  max-width: 640px;
  font-size: 2rem;
  line-height: 1.15;
}

.map-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.region-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  font-weight: 800;
}

.world-map {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.world-map svg {
  width: 100%;
  min-height: 280px;
}

.map-land {
  fill: rgba(255, 255, 255, 0.18);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 2;
}

.map-route {
  fill: none;
  stroke: var(--aqua-400);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 12;
  opacity: 0.7;
}

.map-route.alt {
  stroke: var(--gold-500);
  opacity: 0.5;
}

.map-pin {
  fill: var(--aqua-400);
  stroke: var(--white);
  stroke-width: 4;
}

.recent-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 138px;
}

.recent-image {
  aspect-ratio: auto;
  height: 100%;
}

.steps-section {
  background: var(--mist);
}

.steps-layout {
  display: grid;
  gap: 18px;
}

.steps-panel {
  padding: 22px;
}

.steps-panel.seller {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.steps-panel ol {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.steps-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-700);
  font-weight: 800;
}

.steps-panel.seller li {
  color: rgba(255, 255, 255, 0.84);
}

.steps-panel li span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--aqua-400);
  font-weight: 900;
}

.article-card {
  display: grid;
}

.article-image {
  aspect-ratio: 16 / 10;
}

.article-body {
  gap: 10px;
}

.article-body a {
  color: var(--blue-600);
  font-weight: 900;
}

.newsletter {
  padding: 52px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 24, 39, 0.96), rgba(8, 120, 111, 0.9)),
    var(--navy-900);
}

.newsletter .eyebrow {
  color: var(--aqua-400);
}

.newsletter-inner {
  display: grid;
  gap: 24px;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.site-footer {
  padding: 46px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--white);
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.96rem;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-brand {
  display: inline-flex;
  margin: 0 0 14px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--aqua-400);
  border-color: rgba(53, 213, 208, 0.34);
  background: rgba(53, 213, 208, 0.08);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--aqua-400);
  outline: none;
}

.footer-illustration {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 104px;
}

.footer-illustration img {
  width: min(220px, 100%);
  height: auto;
  opacity: 0.62;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

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

@media (min-width: 560px) {
  .hero h1 {
    font-size: 3.1rem;
  }

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

  .ai-input-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .ai-input-wrap button {
    grid-column: auto;
    min-width: 132px;
  }

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

  .search-submit,
  .newsletter-form button {
    min-height: 52px;
  }

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

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

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

@media (min-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 28px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 8px 7px;
    font-size: 0.84rem;
  }

  .header-action {
    display: inline-flex;
    min-height: 38px;
    padding: 0 15px;
    font-size: 0.84rem;
    color: var(--navy-950);
    background: var(--white);
  }

  .hero {
    min-height: 72svh;
    padding-bottom: 30px;
  }

  .hero-search {
    grid-template-columns: 1.1fr 1.35fr 1fr 0.9fr auto;
    align-items: end;
    gap: 8px;
    padding: 10px;
  }

  .ai-search-section {
    padding: 0 0 72px;
    background:
      linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--white) 45%, var(--white) 100%);
  }

  .ai-search-card {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    padding: 26px;
  }

  .ai-results {
    grid-column: 1 / -1;
    grid-template-columns: 0.72fr 1.28fr;
    align-items: stretch;
  }

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

  .ai-match-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ai-match-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .section-heading .eyebrow,
  .section-heading h2 {
    grid-column: 1;
  }

  .text-link {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
  }

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

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

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

  .recent-card {
    grid-template-columns: 1fr;
  }

  .recent-image {
    aspect-ratio: 4 / 3;
  }

  .map-layout,
  .steps-layout,
  .newsletter-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

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

  .newsletter-form {
    align-self: center;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-grid {
    grid-template-columns: 1.55fr repeat(4, 0.9fr) 1.2fr;
  }

  .footer-illustration {
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 8px;
  }
}

@media (min-width: 1100px) {
  .hero h1 {
    font-size: 4.15rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .ai-search-copy h2 {
    font-size: 2.35rem;
  }

  .section-heading h2,
  .map-copy h2,
  .newsletter h2 {
    font-size: 2.55rem;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: min(100% - 22px, var(--shell));
  }

  .hero {
    min-height: 76svh;
    padding-top: calc(var(--header-height) + 24px);
  }

  .hero h1 {
    font-size: 2.02rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .recent-card {
    grid-template-columns: 1fr;
  }

  .recent-image {
    aspect-ratio: 4 / 3;
  }
}
