.marketplace-home {
  --mh-ink: #17314b;
  --mh-muted: #61748a;
  --mh-blue: #1769aa;
  --mh-blue-deep: #124f86;
  --mh-blue-soft: #eaf3fa;
  --mh-orange: #d98245;
  --mh-orange-soft: #fff2e7;
  --mh-paper: #fffefa;
  --mh-surface: #f5f8fa;
  --mh-line: #dce6ec;
  color: var(--mh-ink);
  background: var(--mh-paper);
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

.marketplace-home *,
.marketplace-home *::before,
.marketplace-home *::after { box-sizing: border-box; }
.marketplace-home a { color: inherit; }
.marketplace-home a:focus-visible {
  outline: 3px solid rgba(217, 130, 69, .72);
  outline-offset: 3px;
}
.mh-container { width: min(1180px, 100%); margin: 0 auto; padding-inline: 28px; }
.mh-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 70px;
  background:
    radial-gradient(ellipse at 83% 15%, rgba(219, 234, 243, .72), transparent 33%),
    linear-gradient(120deg, #fffefa 0%, #f4f8fa 100%);
}
.mh-hero::after {
  position: absolute;
  top: -170px;
  right: -120px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(23, 105, 170, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(23, 105, 170, .025), 0 0 0 92px rgba(23, 105, 170, .02);
  content: "";
  pointer-events: none;
}
.mh-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 44px;
  align-items: center;
}
.mh-hero-copy { padding: 10px 0; }
.mh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--mh-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}
.mh-eyebrow::before { width: 20px; height: 2px; background: var(--mh-orange); content: ""; }
.mh-hero h1 {
  max-width: 660px;
  margin: 13px 0 15px;
  color: var(--mh-ink);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(39px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -2.7px;
  line-height: 1.06;
}
.mh-lead { max-width: 580px; margin: 0; color: var(--mh-muted); font-size: 17px; }
.mh-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.mh-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.mh-button:hover { transform: translateY(-2px); }
.mh-button-primary { color: #fff !important; background: var(--mh-blue); box-shadow: 0 8px 20px rgba(23, 105, 170, .15); }
.mh-button-primary:hover { background: var(--mh-blue-deep); }
.mh-text-link { color: var(--mh-blue-deep) !important; font-size: 13px; font-weight: 800; text-decoration: none; }
.mh-text-link:hover { text-decoration: underline; }
.mh-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 365px;
  overflow: hidden;
  margin: 0;
  border-radius: 22px 22px 22px 68px;
  background: #d9e8ee;
  box-shadow: 0 22px 55px rgba(26, 66, 93, .18);
}
.mh-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mh-visual-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 99px;
  color: #38556a;
  background: rgba(255, 254, 250, .92);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .35px;
}
.mh-hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  background: rgba(255, 254, 250, .92);
  backdrop-filter: blur(10px);
}
.mh-hero-visual figcaption strong { display: block; font-size: 14px; }
.mh-hero-visual figcaption span { color: var(--mh-muted); font-size: 11px; }

.mh-discovery { position: relative; z-index: 2; margin-top: -27px; }
.mh-discovery-panel {
  padding: 21px;
  border: 1px solid var(--mh-line);
  border-radius: 15px;
  background: var(--mh-paper);
  box-shadow: 0 18px 54px rgba(28, 67, 97, .09);
}
.mh-discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.mh-discovery-heading h2,
.mh-section-heading h2 {
  margin: 7px 0 4px;
  color: var(--mh-ink);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.18;
}
.mh-discovery-heading > p { max-width: 340px; margin: 0 0 4px; color: var(--mh-muted); font-size: 12px; }
.mh-discovery-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mh-discovery-links a {
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--mh-line);
  border-radius: 9px;
  color: var(--mh-blue-deep);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease;
}
.mh-discovery-links a:hover { border-color: #a9c8dc; background: var(--mh-blue-soft); }
.mh-discovery-links a > span { color: var(--mh-orange); font-size: 19px; line-height: 1; }
.mh-discovery-links a > b { margin-left: auto; font-size: 16px; }

.mh-live-listings { padding-top: 61px; }
.mh-listings-heading { align-items: end; }
.mh-listings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mh-listing-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mh-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 67, 97, .05);
}
.mh-listing-card > a { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.mh-listing-card > a:hover h3 { color: var(--mh-blue-deep); text-decoration: underline; }
.mh-listing-image { width: 100%; height: 190px; object-fit: cover; background: var(--mh-blue-soft); }
.mh-listing-image-placeholder {
  height: 190px;
  display: grid;
  place-items: center;
  color: var(--mh-blue-deep);
  background: linear-gradient(135deg, #eaf3fa, #d8e9f0);
  font-size: 36px;
}
.mh-listing-copy { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.mh-listing-type { color: var(--mh-blue); font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.mh-listing-copy h3 { margin: 6px 0 2px; color: var(--mh-ink); font-family: "Manrope", "Segoe UI", system-ui, sans-serif; font-size: 17px; font-weight: 800; line-height: 1.3; }
.mh-listing-location { color: var(--mh-muted); font-size: 12px; }
.mh-listing-price { margin-top: auto; padding-top: 13px; color: var(--mh-ink); font-size: 15px; font-weight: 800; }
.mh-listings-status {
  padding: 20px;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  color: var(--mh-muted);
  background: #fff;
  font-size: 13px;
}
.mh-listings-status a { color: var(--mh-blue-deep); font-weight: 800; }
.mh-listings-status.is-error { border-color: #edd7c7; color: #79543b; background: #fffaf6; }
.mh-listings-status[hidden] { display: none; }

.mh-categories { padding-top: 68px; padding-bottom: 69px; }
.mh-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.mh-section-heading h2 { max-width: 700px; }
.mh-section-heading p:not(.mh-eyebrow) { margin: 6px 0 0; color: var(--mh-muted); font-size: 14px; }
.mh-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.mh-category-card {
  min-height: 127px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px 13px;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.mh-category-card:hover { transform: translateY(-3px); border-color: #9cc1d8; box-shadow: 0 12px 28px rgba(29, 80, 113, .09); }
.mh-category-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--mh-blue-deep);
  background: var(--mh-blue-soft);
  font-size: 19px;
  line-height: 1;
}
.mh-category-card:nth-child(3n) .mh-category-icon { color: #a8612e; background: var(--mh-orange-soft); }
.mh-category-card strong { margin-top: 10px; font-size: 13px; font-weight: 800; }
.mh-category-card small { color: #8594a0; font-size: 10px; line-height: 1.4; }
.mh-category-card.is-coming { background: #fbfcfc; }
.mh-category-card.is-coming small { color: #85684f; font-weight: 700; }

.mh-benefits { padding: 67px 0 70px; background: var(--mh-surface); }
.mh-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mh-benefit-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--mh-line);
  border-radius: 13px;
  background: #fff;
}
.mh-card-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--mh-blue-deep); background: var(--mh-blue-soft); font-size: 11px; font-weight: 900; }
.mh-card-mark.is-orange { color: #9d5b2e; background: var(--mh-orange-soft); }
.mh-benefit-card h3 { margin: 14px 0 7px; color: var(--mh-ink); font-family: "Manrope", "Segoe UI", system-ui, sans-serif; font-size: 18px; font-weight: 800; }
.mh-benefit-card p { min-height: 105px; margin: 0; color: var(--mh-muted); font-size: 12px; }
.mh-benefit-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--mh-blue-deep); font-size: 12px; font-weight: 800; text-decoration: none; }
.mh-benefit-card a:hover { text-decoration: underline; }

.mh-tools { padding-top: 67px; padding-bottom: 70px; }
.mh-tools-heading { align-items: center; }
.mh-tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.mh-tool-card {
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 13px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: border-color .17s ease, background .17s ease;
}
.mh-tool-card:hover { border-color: #a9c8dc; background: #f9fcfd; }
.mh-tool-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--mh-blue-deep); background: var(--mh-blue-soft); font-size: 21px; }
.mh-tool-card:nth-child(2n) .mh-tool-icon { color: #a8612e; background: var(--mh-orange-soft); }
.mh-tool-card > span:nth-child(2) { min-width: 0; }
.mh-tool-card strong { display: block; color: var(--mh-ink); font-size: 13px; font-weight: 800; }
.mh-tool-card small { display: block; margin-top: 3px; color: var(--mh-muted); font-size: 11px; }
.mh-tool-card > b { color: var(--mh-blue); font-size: 17px; }

.mh-home-show-band { margin: 0 28px; padding: 33px 0; border-radius: 16px; color: #fff; background: #1b5d8c; }
.mh-home-show-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.mh-home-show-inner .mh-eyebrow { color: #c6e4f6; }
.mh-home-show-inner h2 { margin: 9px 0 5px; color: #fff; font-family: "Manrope", "Segoe UI", system-ui, sans-serif; font-size: 25px; font-weight: 800; }
.mh-home-show-inner p:not(.mh-eyebrow) { margin: 0; color: #d7e9f3; font-size: 13px; }
.mh-button-light { flex: 0 0 auto; color: var(--mh-blue-deep) !important; background: #fff; }
.mh-button-light:hover { color: #fff !important; background: var(--mh-blue-deep); }
.mh-agent-note { padding: 26px 28px 0; text-align: center; color: var(--mh-muted); font-size: 12px; }
.mh-agent-note p { margin: 0; }
.mh-agent-note a { margin: 0 5px; color: var(--mh-blue-deep); font-weight: 800; text-decoration: none; }
.mh-agent-note a:hover { text-decoration: underline; }
.mh-disclaimer { max-width: 1180px; margin: 25px auto 0; padding: 18px 28px 28px; color: #7c8b96; font-size: 11px; line-height: 1.5; }

@media (max-width: 1000px) {
  .mh-hero-grid { gap: 28px; }
  .mh-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mh-benefit-card p { min-height: 132px; }
}
@media (max-width: 700px) {
  .mh-container { padding-inline: 18px; }
  .mh-hero { padding: 40px 0 49px; }
  .mh-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .mh-hero h1 { margin: 10px 0; font-size: clamp(37px, 10vw, 46px); letter-spacing: -1.8px; }
  .mh-lead { font-size: 15px; }
  .mh-hero-actions { gap: 14px; margin-top: 20px; }
  .mh-hero-visual { min-height: 245px; border-radius: 18px 18px 18px 52px; }
  .mh-discovery { margin-top: -20px; }
  .mh-discovery-panel { padding: 15px; }
  .mh-discovery-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 12px; }
  .mh-discovery-heading > p { font-size: 11px; }
  .mh-discovery-links { grid-template-columns: 1fr; gap: 7px; }
  .mh-discovery-links a { min-height: 46px; }
  .mh-live-listings { padding-top: 48px; }
  .mh-listings-heading { align-items: flex-start; }
  .mh-listings-grid { grid-template-columns: 1fr; gap: 10px; }
  .mh-listing-card > a { display: grid; grid-template-columns: 105px minmax(0, 1fr); }
  .mh-listing-image, .mh-listing-image-placeholder { width: 105px; height: 100%; min-height: 142px; }
  .mh-listing-copy { padding: 13px; }
  .mh-listing-copy h3 { font-size: 15px; }
  .mh-listing-price { padding-top: 7px; font-size: 13px; }
  .mh-categories, .mh-tools { padding-top: 49px; padding-bottom: 50px; }
  .mh-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .mh-section-heading h2, .mh-discovery-heading h2 { font-size: 27px; }
  .mh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mh-category-card { min-height: 112px; padding: 12px; }
  .mh-benefits { padding: 49px 0; }
  .mh-benefit-grid, .mh-tools-grid { grid-template-columns: 1fr; gap: 9px; }
  .mh-benefit-card { padding: 18px; }
  .mh-benefit-card p { min-height: 0; }
  .mh-home-show-band { margin: 0 12px; padding: 25px 0; }
  .mh-home-show-inner { align-items: flex-start; flex-direction: column; gap: 17px; }
  .mh-home-show-inner h2 { font-size: 22px; }
  .mh-home-show-inner .mh-button { width: 100%; }
  .mh-agent-note { padding: 23px 18px 0; line-height: 2; }
  .mh-disclaimer { margin-top: 18px; padding: 13px 18px 24px; }
}
@media (max-width: 380px) {
  .mh-container { padding-inline: 14px; }
  .mh-hero h1 { font-size: 36px; }
  .mh-hero-actions { align-items: flex-start; flex-direction: column; }
  .mh-hero-actions .mh-button { width: 100%; }
  .mh-category-card small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .marketplace-home *, .marketplace-home *::before, .marketplace-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
