.market-page {
  background: #f6f7f3;
  color: #16241d;
}

.market-header {
  position: relative;
  background: #10261d;
  color: #f7fbf6;
}

.market-header .brand,
.market-header .main-nav a {
  color: inherit;
}

.market-header .main-nav {
  flex-wrap: wrap;
}

.market-locale-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0 5vw 16px;
  color: #b9d2c2;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-locale-links a {
  border-bottom: 1px solid transparent;
  color: inherit;
  text-decoration: none;
}

.market-locale-links a:hover,
.market-locale-links a[aria-current="page"] {
  border-color: #d7b65d;
  color: #fff4cf;
}

.market-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(58px, 9vw, 124px) 5vw clamp(52px, 8vw, 104px);
}

.market-hero-copy {
  max-width: 720px;
}

.market-eyebrow {
  margin: 0 0 16px;
  color: #a24a2f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #10261d;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.market-hero-copy > p:not(.market-eyebrow) {
  max-width: 640px;
  margin: 26px 0 0;
  color: #4d5f54;
  font-size: 1.08rem;
  line-height: 1.75;
}

.market-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.market-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid #a24a2f;
  color: #fff;
  background: #a24a2f;
  font-weight: 700;
  text-decoration: none;
}

.market-actions a.secondary {
  color: #10261d;
  background: transparent;
  border-color: #8da397;
}

.market-actions a:hover {
  background: #813722;
  border-color: #813722;
}

.market-actions a.secondary:hover {
  color: #fff;
  background: #10261d;
  border-color: #10261d;
}

.market-hero-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #dfe8df;
}

.market-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.market-hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 250px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(16, 38, 29, 0.84);
  font-size: 0.82rem;
  line-height: 1.45;
}

.market-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1440px;
  margin: 0 auto;
  background: #c8d4ca;
}

.market-proof article {
  min-height: 132px;
  padding: 24px 5vw;
  background: #e9efe8;
}

.market-proof strong {
  display: block;
  margin-bottom: 8px;
  color: #10261d;
  font-size: 1.15rem;
}

.market-proof span {
  color: #5b6c61;
  font-size: 0.9rem;
  line-height: 1.5;
}

.market-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 5vw;
}

.market-section > header {
  max-width: 760px;
  margin-bottom: 32px;
}

.market-section h2 {
  max-width: 820px;
  margin: 0;
  color: #10261d;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  line-height: 1.08;
}

.market-section > header p:not(.market-eyebrow) {
  margin: 16px 0 0;
  color: #5b6c61;
  line-height: 1.7;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.market-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid #d7e0d7;
  background: #fff;
}

.market-card h3 {
  margin: 0 0 12px;
  color: #10261d;
  font-size: 1.15rem;
}

.market-card p,
.market-card li {
  color: #5b6c61;
  line-height: 1.65;
}

.market-card ul {
  margin: 0;
  padding-left: 18px;
}

.market-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #cad6cc;
}

.market-step {
  min-height: 210px;
  padding: 24px;
  background: #edf2ed;
}

.market-step-number {
  display: block;
  margin-bottom: 34px;
  color: #a24a2f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.market-step h3 {
  margin: 0 0 12px;
  color: #10261d;
  font-size: 1.1rem;
}

.market-step p {
  margin: 0;
  color: #5b6c61;
  line-height: 1.6;
}

.market-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto clamp(48px, 7vw, 90px);
  padding: 30px 5vw;
  color: #fff;
  background: #10261d;
}

.market-cta h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.market-cta p {
  max-width: 700px;
  margin: 10px 0 0;
  color: #c9d9cd;
  line-height: 1.6;
}

.market-cta a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: #10261d;
  background: #f1cf75;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.market-cta a:hover {
  background: #fff0b6;
}

.market-faq {
  max-width: 860px;
}

.market-faq details {
  padding: 18px 0;
  border-top: 1px solid #d4ddd4;
}

.market-faq details:last-child {
  border-bottom: 1px solid #d4ddd4;
}

.market-faq summary {
  cursor: pointer;
  color: #10261d;
  font-weight: 700;
}

.market-faq p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #5b6c61;
  line-height: 1.7;
}

.market-footer {
  padding: 30px 5vw;
  color: #c9d9cd;
  background: #10261d;
}

.market-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
}

.market-footer a {
  color: #fff0b6;
}

@media (max-width: 900px) {
  .market-hero,
  .market-cta {
    grid-template-columns: 1fr;
  }

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

  .market-cta a {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .market-header .main-nav {
    display: flex;
  }

  .market-hero {
    padding-top: 48px;
  }

  .market-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .market-proof,
  .market-grid,
  .market-steps {
    grid-template-columns: 1fr;
  }

  .market-proof article {
    min-height: 0;
  }

  .market-hero-media,
  .market-hero-media img {
    min-height: 260px;
  }
}
