/* ==========================================================
   MARKETPLACE ADDITIONS
   Loaded AFTER css/style.css. Everything here reuses the brand
   variables from style.css (--footer-dark, --green, --stay-green,
   --label-green, --green-soft ...), so changing the palette there
   changes this file too.
   ========================================================== */

/* ---------- Hero: eyebrow label + two buttons ---------- */

.hl-hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--label-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) .05s both;
}

.hl-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) .5s both;
}

.hl-btn {
  border: 1.5px solid var(--footer-dark);
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.hl-btn-primary {
  background: var(--footer-dark);
  color: #fff;
}

.hl-btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(18, 48, 31, .22);
}

.hl-btn-outline {
  background: transparent;
  color: var(--ink);
}

.hl-btn-outline:hover {
  background: var(--footer-dark);
  color: #fff;
  transform: translateY(-2px);
}

.hl-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ---------- "One marketplace, two sides" cards ---------- */

.how-cards-two {
  grid-template-columns: repeat(2, 1fr);
}

.side-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 24px;
}

.side-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  line-height: 1.55;
  color: #3f4d3a;
}

/* Small green tick, drawn with an inline SVG so no extra image file is needed */
.side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* The inline SVG icons inside the round badge (the other cards use <img>) */
.how-symbol svg {
  width: 23px;
  height: 23px;
  display: block;
}

/* The bottom row of these cards is a real button, so reset browser button styling */
.how-card-bottom.side-cta {
  width: 100%;
  margin-top: auto;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid rgba(18, 48, 31, .14);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}

.how-card-bottom.side-cta:hover span {
  transform: translate(4px, -4px);
}

.how-card-bottom.side-cta span {
  transition: transform .25s ease;
}

/* ---------- "Behind every listing" trust block (uses the existing .split) ---------- */

.split.split-trust {
  padding: 46px 42px;
  gap: 50px;
  align-items: start;
}

.split-trust h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  max-width: 440px;
}

.split-trust > div:first-child p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
}

.split-trust .split-list {
  gap: 22px;
}

.split-trust .split-item-number {
  background: var(--stay-green);
  border-color: transparent;
  color: var(--footer-dark);
  font-weight: 800;
}

.split-trust .split-item strong {
  font-size: 14px;
  margin-bottom: 4px;
}

.split-trust .split-item span {
  line-height: 1.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 950px) {
  .split.split-trust {
    padding: 34px 30px;
    gap: 30px;
  }
}

@media (max-width: 700px) {
  .how-cards-two {
    grid-template-columns: 1fr;
  }

  .hl-hero-ctas {
    flex-direction: column;
  }

  .hl-btn {
    width: 100%;
    padding: 15px 20px;
  }

  .split.split-trust {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-hero-eyebrow,
  .hl-hero-ctas {
    animation: none;
  }
}

/* ---------- Signup: profile sub-section select ---------- */

[hidden] {
  display: none !important;
}

.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafaf6;
  border-radius: 11px;
  padding: 12px;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  color: inherit;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.field select:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 138, 80, .12);
}

/* ---------- Hero: rotating green line under the headline ---------- */

.hl-rotator {
  margin: -8px 0 20px;
  min-height: 1.4em;
  overflow: hidden;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.4;
  color: var(--green);
  animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) .3s both;
}

.hl-rotator-text {
  display: inline-block;
  transition: opacity .35s ease, transform .35s ease;
}

.hl-rotator-text.is-out {
  opacity: 0;
  transform: translateY(-40%);
}

.hl-rotator-text.is-in {
  opacity: 0;
  transform: translateY(40%);
  transition: none;
}

@media (max-width: 480px) {
  .hl-rotator {
    font-size: 18px;
    min-height: 2.8em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-rotator {
    animation: none;
  }

  .hl-rotator-text {
    transition: none;
  }
}
