:root {
  color: #171512;
  background: #f8f6f1;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8f6f1;
}

button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
  font: inherit;
}

.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;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  border-bottom: 1px solid #ded7ca;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgb(64 116 84 / 18%), transparent 32%),
    radial-gradient(circle at 82% 12%, rgb(211 74 48 / 13%), transparent 30%),
    linear-gradient(135deg, #f8f6f1 0%, #eef5ed 48%, #fff8ee 100%);
}

nav,
.hero-grid,
.proof-row,
.partner-section {
  position: relative;
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #1c5d3d;
  color: #fff;
  font-weight: 950;
}

.nav-link {
  border: 1px solid rgb(23 21 18 / 20%);
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 1px 3px rgb(23 21 18 / 7%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 32px;
  padding: 38px 0 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgb(28 93 61 / 25%);
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  padding: 7px 12px;
  color: #1c5d3d;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.red {
  color: #d34a30;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.subhead {
  max-width: 670px;
  margin-bottom: 0;
  color: #4a4034;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.75;
}

.search-box {
  display: flex;
  width: min(100%, 690px);
  gap: 12px;
  margin-top: 28px;
  border: 1px solid rgb(23 21 18 / 12%);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 18px 60px rgb(23 21 18 / 12%);
}

.search-box input,
.seller-form input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #f4f1ea;
  padding: 0 16px;
  color: #171512;
  font-size: 1rem;
  font-weight: 700;
  outline: none;
}

.search-box input:focus,
.seller-form input:focus {
  box-shadow: 0 0 0 2px #1c5d3d;
}

.search-box button,
#demo-button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #d34a30;
  padding: 0 22px;
  color: #fff;
  font-weight: 950;
}

.chips,
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips {
  margin-top: 16px;
}

.chips button {
  border: 1px solid rgb(23 21 18 / 12%);
  border-radius: 999px;
  background: rgb(255 255 255 / 75%);
  padding: 8px 12px;
  color: #4a4034;
  font-size: 0.9rem;
  font-weight: 800;
}

.categories {
  display: grid;
  max-width: 690px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.categories span {
  border-radius: 12px;
  background: rgb(255 255 255 / 65%);
  padding: 10px 12px;
  color: #4a4034;
  font-size: 0.9rem;
  font-weight: 900;
}

.results-card {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgb(23 21 18 / 12%);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(23 21 18 / 16%);
}

.card-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #eee8dc;
  background: #fffaf0;
  padding: 20px;
}

.card-head p {
  margin-bottom: 5px;
  color: #766f65;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.card-head h2 {
  margin-bottom: 0;
  font-size: 1.6rem;
}

#demo-button {
  background: #1c5d3d;
}

.results {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.match,
.empty-state {
  border-radius: 18px;
  padding: 18px;
}

.match {
  display: block;
  border: 2px solid #1c5d3d;
  background: #edf6ee;
}

.match-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.match small {
  color: #1c5d3d;
  font-weight: 950;
}

.match h3 {
  margin: 8px 0 4px;
  font-size: 1.1rem;
}

.match p {
  margin-bottom: 0;
  color: #4a4034;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.55;
}

.price {
  color: #1c5d3d;
  font-size: 1.25rem;
  font-weight: 950;
  white-space: nowrap;
}

.empty-state {
  border: 1px solid #eee8dc;
  background: #f8f6f1;
}

.empty-state h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.empty-state p {
  margin-bottom: 0;
  color: #4a4034;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.6;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid #ded7ca;
  padding: 22px 0 28px;
}

.proof-row article {
  border-radius: 16px;
  background: rgb(255 255 255 / 65%);
  padding: 16px;
}

.proof-row h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.proof-row p {
  margin-bottom: 0;
  color: #5f574d;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
}

.partner-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  padding: 56px 0;
}

.partner-section h2 {
  max-width: 560px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.partner-section p {
  max-width: 580px;
  color: #5f574d;
  font-weight: 700;
  line-height: 1.65;
}

.pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pricing span {
  border-radius: 999px;
  background: #fff;
  padding: 10px 12px;
  color: #4a4034;
  font-size: 0.9rem;
  font-weight: 900;
}

.seller-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-radius: 28px;
  background: #171512;
  padding: 28px;
  color: #fff;
}

.seller-form span {
  display: block;
  margin-bottom: 6px;
  color: rgb(255 255 255 / 56%);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.seller-form input {
  background: #fff;
}

.seller-form button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #f2c94c;
  color: #171512;
  font-weight: 950;
}

.wide,
.status {
  grid-column: 1 / -1;
}

.status {
  min-height: 0;
  margin: 0;
  border-radius: 12px;
  color: #f2c94c;
  font-size: 0.92rem;
  font-weight: 800;
}

@media (max-width: 860px) {
  nav,
  .hero-grid,
  .proof-row,
  .partner-section {
    width: min(100% - 28px, 1240px);
  }

  .hero-grid,
  .partner-section,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .search-box,
  .seller-form {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex-direction: column;
  }

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

  .seller-form {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .nav-link {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .brand {
    gap: 9px;
    font-size: 0.95rem;
  }

  .brand span {
    width: 36px;
    height: 36px;
  }

  .categories {
    grid-template-columns: 1fr;
  }

  .card-head,
  .match-top {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
