.market-home-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 48px;
  background:
    radial-gradient(circle at 82% 18%, rgba(109, 76, 245, 0.1), transparent 31%),
    radial-gradient(circle at 16% 8%, rgba(63, 140, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fafaff 72%, #ffffff 100%);
}

.market-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(52px, 7vw, 94px);
  align-items: center;
  min-height: 520px;
}

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

.market-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #5d6470;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.market-home-kicker > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(109, 76, 245, 0.09);
}

.market-home-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(3.1rem, 5.5vw, 5.65rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.067em;
}

.market-home-hero-description {
  max-width: 610px;
  margin-top: 26px;
  color: #596273;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.72;
}

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

.market-home-hero-actions .button {
  min-height: 48px;
  padding-inline: 22px;
}

.market-home-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 25px;
  color: #737985;
  font-size: 0.78rem;
  font-weight: 600;
}

.market-home-trust-line span {
  position: relative;
  padding-left: 14px;
}

.market-home-trust-line span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(109, 76, 245, 0.7);
  content: "";
  transform: translateY(-50%);
}

.market-home-product-stage {
  position: relative;
  min-width: 0;
}

.market-home-product-stage::before {
  position: absolute;
  z-index: 0;
  inset: 10% 5% -8% 10%;
  border-radius: 44px;
  background: rgba(109, 76, 245, 0.09);
  content: "";
  filter: blur(44px);
}

.market-home-product-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 72px rgba(31, 25, 63, 0.13);
}

.market-home-window-bar {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 15px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
  color: #8a919d;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 650;
}

.market-home-window-dots {
  display: flex;
  gap: 6px;
}

.market-home-window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.market-home-window-dots span:nth-child(1) {
  background: #ff5f57;
}

.market-home-window-dots span:nth-child(2) {
  background: #febc2e;
}

.market-home-window-dots span:nth-child(3) {
  background: #28c840;
}

.market-home-product-body {
  padding: clamp(24px, 4vw, 38px);
}

.market-home-product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.market-home-mini-label {
  display: block;
  margin-bottom: 7px;
  color: #959ba6;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-home-product-heading strong {
  display: block;
  max-width: 350px;
  color: var(--color-ink);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.market-home-status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(109, 76, 245, 0.14);
  border-radius: 999px;
  color: #6046d9;
  background: rgba(109, 76, 245, 0.07);
  font-size: 0.7rem;
  font-weight: 720;
}

.market-home-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 20px;
}

.market-home-filter-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  color: #636a76;
  background: #fafafa;
  font-size: 0.71rem;
  font-weight: 650;
}

.market-home-buying-flow {
  display: grid;
  gap: 9px;
}

.market-home-buying-flow article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(17, 24, 39, 0.075);
  border-radius: 15px;
  background: #ffffff;
}

.market-home-buying-flow article > span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #6249dc;
  background: rgba(109, 76, 245, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
}

.market-home-buying-flow strong,
.market-home-buying-flow small {
  display: block;
}

.market-home-buying-flow strong {
  color: #252b35;
  font-size: 0.84rem;
  letter-spacing: -0.02em;
}

.market-home-buying-flow small {
  margin-top: 3px;
  color: #858b96;
  font-size: 0.7rem;
  line-height: 1.4;
}

.market-home-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.market-home-product-footer strong {
  display: block;
  color: #303640;
  font-size: 0.83rem;
  line-height: 1.4;
}

.market-home-arrow {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-ink);
  font-size: 1.05rem;
}

.market-home-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.045);
}

.market-home-proof-strip article {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 21px;
}

.market-home-proof-strip article + article {
  border-left: 1px solid rgba(17, 24, 39, 0.075);
}

.market-home-proof-strip svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-home-proof-strip strong,
.market-home-proof-strip span {
  display: block;
}

.market-home-proof-strip strong {
  margin-bottom: 5px;
  color: #252a34;
  font-size: 0.82rem;
}

.market-home-proof-strip span {
  color: #7a818d;
  font-size: 0.71rem;
  line-height: 1.45;
}

.market-home-section {
  padding: 94px 0;
}

.market-home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 36px 64px;
  align-items: end;
  margin-bottom: 38px;
}

.market-home-section-heading h2,
.market-home-why h2,
.market-home-reach h2,
.market-home-final h2 {
  max-width: 760px;
  color: var(--color-ink);
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.058em;
}

.market-home-section-heading > p {
  max-width: 520px;
  color: #6d7480;
  font-size: 0.94rem;
  line-height: 1.72;
}

.market-home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid rgba(17, 24, 39, 0.09);
  border-bottom: 1px solid rgba(17, 24, 39, 0.09);
}

.market-home-category-grid article {
  min-width: 0;
  padding: 34px 34px 34px 0;
}

.market-home-category-grid article + article {
  padding-left: 34px;
  border-left: 1px solid rgba(17, 24, 39, 0.09);
}

.market-home-category-icon {
  display: inline-flex;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(109, 76, 245, 0.13);
  border-radius: 14px;
  color: var(--color-accent);
  background: rgba(109, 76, 245, 0.06);
}

.market-home-category-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-home-category-grid strong {
  display: block;
  color: #242a34;
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.market-home-category-grid p {
  max-width: 330px;
  margin-top: 9px;
  color: #737a86;
  font-size: 0.86rem;
  line-height: 1.64;
}

.market-home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--color-ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.market-home-text-link span {
  transition: transform 0.16s ease;
}

.market-home-text-link:hover span {
  transform: translateX(3px);
}

.market-home-why {
  background: #f8f9fc;
}

.market-home-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: 70px;
  align-items: start;
}

.market-home-why-copy p:not(.section-kicker) {
  max-width: 510px;
  margin-top: 22px;
  color: #68707d;
  font-size: 0.95rem;
  line-height: 1.75;
}

.market-home-principles {
  display: grid;
}

.market-home-principles article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.09);
}

.market-home-principles article:first-child {
  border-top: 1px solid rgba(17, 24, 39, 0.09);
}

.market-home-principles article > span {
  color: #9b82ff;
  font-size: 0.73rem;
  font-weight: 760;
  letter-spacing: 0.05em;
}

.market-home-principles strong {
  color: #222832;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.market-home-principles p {
  max-width: 560px;
  margin-top: 7px;
  color: #717985;
  font-size: 0.86rem;
  line-height: 1.65;
}

.market-home-reach {
  padding-block: 84px;
}

.market-home-reach-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: center;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(109, 76, 245, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 94% 10%, rgba(109, 76, 245, 0.11), transparent 34%),
    linear-gradient(135deg, #fbfaff 0%, #ffffff 62%);
  box-shadow: 0 18px 55px rgba(43, 34, 82, 0.07);
}

.market-home-reach-copy p:not(.section-kicker) {
  max-width: 590px;
  margin-top: 20px;
  color: #69717d;
  font-size: 0.92rem;
  line-height: 1.72;
}

.market-home-reach-terms {
  display: grid;
  gap: 10px;
}

.market-home-reach-terms div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 17px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.market-home-reach-terms span {
  color: #7b828e;
  font-size: 0.75rem;
}

.market-home-reach-terms strong {
  color: #282e38;
  font-size: 0.82rem;
  text-align: right;
}

.market-home-process {
  background: #ffffff;
}

.market-home-process-heading {
  align-items: end;
}

.market-home-process-heading .market-home-text-link {
  justify-self: end;
  margin: 0;
}

.market-home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.09);
  border-bottom: 1px solid rgba(17, 24, 39, 0.09);
  list-style: none;
}

.market-home-steps li {
  min-width: 0;
  padding: 31px 28px 33px 0;
}

.market-home-steps li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(17, 24, 39, 0.09);
}

.market-home-steps li > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #6046d9;
  background: rgba(109, 76, 245, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
}

.market-home-steps strong {
  display: block;
  color: #252b35;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.market-home-steps p {
  max-width: 270px;
  margin-top: 8px;
  color: #737b87;
  font-size: 0.82rem;
  line-height: 1.62;
}

.market-home-final {
  padding-top: 52px;
}

.market-home-final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 83% 13%, rgba(134, 111, 255, 0.28), transparent 27%),
    #111827;
}

.market-home-final h2 {
  max-width: 720px;
  color: #ffffff;
}

.market-home-final .section-kicker {
  color: #bfb3ff;
}

.market-home-final-card > div > p:not(.section-kicker) {
  margin-top: 16px;
  color: #c7cbd3;
  font-size: 0.92rem;
}

.market-home-final-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.market-home-final-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.market-home-final-actions .button-outline:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1120px) {
  .market-home-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 42px;
  }

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

  .market-home-proof-strip article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.075);
  }

  .market-home-proof-strip article:nth-child(4) {
    border-top: 1px solid rgba(17, 24, 39, 0.075);
  }

  .market-home-why-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .market-home-hero {
    padding-top: 34px;
  }

  .market-home-hero-grid,
  .market-home-why-grid,
  .market-home-reach-card {
    grid-template-columns: 1fr;
  }

  .market-home-hero-grid {
    gap: 44px;
    min-height: 0;
  }

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

  .market-home-product-stage {
    width: 100%;
    max-width: 700px;
  }

  .market-home-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .market-home-process-heading .market-home-text-link {
    justify-self: start;
    margin-top: 4px;
  }

  .market-home-reach-card {
    gap: 34px;
  }

  .market-home-final-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .market-home-final-actions {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .market-home-hero {
    padding: 26px 0 38px;
  }

  .market-home-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .market-home-hero-description {
    margin-top: 20px;
    font-size: 0.96rem;
  }

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

  .market-home-proof-strip article + article,
  .market-home-category-grid article + article,
  .market-home-steps li + li {
    border-left: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.075);
  }

  .market-home-proof-strip article:nth-child(3),
  .market-home-proof-strip article:nth-child(4) {
    border-top: 1px solid rgba(17, 24, 39, 0.075);
  }

  .market-home-category-grid article,
  .market-home-category-grid article + article,
  .market-home-steps li,
  .market-home-steps li + li {
    padding: 27px 0;
  }

  .market-home-section {
    padding: 72px 0;
  }

  .market-home-reach {
    padding-block: 64px;
  }

  .market-home-product-body {
    padding: 21px;
  }

  .market-home-product-heading {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .market-home-hero-actions,
  .market-home-final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .market-home-trust-line {
    display: grid;
    gap: 8px;
  }

  .market-home-product-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .market-home-status-pill {
    order: -1;
  }

  .market-home-reach-terms div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .market-home-reach-terms strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-home-text-link span {
    transition-duration: 1ms;
  }
}

/* V53: marketplace content inside the original UIORI hero system. */
.market-home-reused-hero { background: transparent; }
.market-hero-window { animation: hero-window-float 6.5s ease-in-out infinite; }
.market-hero-preview { padding: clamp(22px, 3vw, 32px); background:#fff; }
.market-hero-preview-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.market-hero-preview-head strong { display:block; color:var(--color-ink); font-size:clamp(1.2rem,2vw,1.55rem); letter-spacing:-.035em; line-height:1.15; }
.market-hero-preview-chips { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 18px; }
.market-hero-preview-chips span { display:inline-flex; min-height:30px; align-items:center; padding:0 10px; border:1px solid rgba(17,24,39,.08); border-radius:999px; color:#636a76; background:#fafafa; font-size:.7rem; font-weight:650; }
.market-hero-preview-steps { display:grid; gap:9px; }
.market-hero-preview-steps article { display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px; align-items:center; padding:12px 13px; border:1px solid rgba(17,24,39,.075); border-radius:14px; background:#fff; }
.market-hero-preview-steps article>span { display:grid; width:36px; height:36px; place-items:center; border-radius:11px; color:#6249dc; background:rgba(109,76,245,.08); font-size:.72rem; font-weight:800; }
.market-hero-preview-steps strong,.market-hero-preview-steps small { display:block; }
.market-hero-preview-steps strong { color:#252b35; font-size:.84rem; letter-spacing:-.02em; }
.market-hero-preview-steps small { margin-top:3px; color:#858b96; font-size:.7rem; line-height:1.4; }
.market-home-benefits { margin-top:52px; }
@media (max-width:700px){ .market-hero-preview{padding:18px}.market-hero-preview-head{gap:10px}.market-home-benefits{margin-top:34px} }
