:root {
  --ink: #17201d;
  --muted: #68736f;
  --green: #126b53;
  --green-dark: #0c4e3e;
  --mint: #dff5e9;
  --lime: #c9ef73;
  --cream: #f8f8f3;
  --white: #ffffff;
  --line: #e8ebe6;
  --orange: #f2994a;
  --shadow: 0 20px 55px rgba(19, 43, 34, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: relative;
  z-index: 10;
  background: #103c32;
}

/* Header logo matches the footer treatment — white word, lime "Or" */
header .logo {
  color: var(--white);
}
header .logo span {
  color: var(--lime);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.logo-mark {
  display: grid;
  width: 34px;
  margin-right: 9px;
  height: 34px;
  place-items: center;
  background: var(--green);
  border-radius: 10px;
}

.logo-mark svg {
  display: block;
  width: 20px;
  height: 20px;
}

.logo span {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--lime);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login {
  padding: 11px 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.welcome {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.welcome:hover {
  color: var(--lime);
}

/* Green-on-dark-green is too low contrast — the post CTA switches to the
   lime accent, matching the footer's accent color. */
header .post-btn {
  background: var(--lime);
  color: var(--ink);
}

.post-btn,
.hero-btn {
  border: 0;
  color: var(--white);
  background: var(--green);
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}

.post-btn {
  padding: 12px 18px;
  font-size: 14px;
}

.post-btn:hover,
.hero-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5px 0 100px;
  background:
    radial-gradient(circle at 84% 25%, rgba(201, 239, 115, 0.28), transparent 23%),
    linear-gradient(135deg, #edf8ed 0%, #f8f8f3 68%);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(18, 107, 83, 0.1);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  top: -100px;
  right: 35px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(18, 107, 83, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
  content: "";
}

h1 {
  max-width: 610px;
  margin-bottom: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -3.5px;
}

h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 17px;
}

.search-box {
  display: flex;
  align-items: center;
  max-width: 615px;
  padding: 7px;
  background: var(--white);
  border: 1px solid rgba(18, 107, 83, 0.08);
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(47, 80, 66, 0.1);
}

.search-icon {
  margin: 0 13px;
  color: var(--green);
  font-size: 22px;
}

.loc-icon {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  font-size: 15px;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 14px;
}

.search-box input::placeholder {
  color: #9ba59f;
}

.hero-btn {
  padding: 14px 24px;
  white-space: nowrap;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 13px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19px;
}

.visual {
  position: relative;
  min-height: 420px;
}

.listing-card {
  position: absolute;
  overflow: hidden;
  width: 245px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.listing-card.main {
  top: 16px;
  right: 60px;
  width: 275px;
  transform: rotate(4deg);
}

.listing-card.secondary {
  bottom: 13px;
  left: 20px;
  transform: rotate(-8deg);
}

.listing-image {
  display: grid;
  height: 205px;
  place-items: center;
  background: #d7e9dd;
  color: #4d785c;
  font-size: 80px;
}

.secondary .listing-image {
  height: 180px;
  background: #f4dfc3;
  color: #bd8250;
  font-size: 70px;
}

.listing-info {
  padding: 16px;
}

.listing-info small {
  color: var(--muted);
  font-size: 11px;
}

.listing-info h3 {
  margin: 4px 0 7px;
  font-size: 16px;
}

.price {
  color: var(--green);
  font-size: 17px;
  font-weight: 800;
}

.verified {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 9px;
  color: var(--green-dark);
  background: var(--lime);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
}

.heart {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  color: var(--green);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.categories {
  padding: 21px 0 25px;
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 29px;
  letter-spacing: -1.2px;
}

.section-heading p {
  max-width: 390px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 13px;
}

.category {
  padding: 15px 10px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: 0.2s ease;
}

.category:hover {
  border-color: var(--lime);
  background: #f4fbe8;
  transform: translateY(-4px);
}

.category-icon {
  display: grid;
  width: 49px;
  height: 49px;
  margin: 0 auto 12px;
  place-items: center;
  color: var(--green);
  background: var(--mint);
  border-radius: 14px;
  font-size: 23px;
}

.category span {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.how-it-works {
  padding: 75px 0;
  background: #f0f7ef;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.step {
  padding: 28px;
  background: var(--white);
  border-radius: 17px;
}

.step-number {
  display: grid;
  width: 39px;
  height: 39px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--green-dark);
  background: var(--lime);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.trust {
  padding: 3px 0;
  background: var(--white);
}

.trust .step {
  border: 1px solid var(--line);
}

.cta {
  padding: 20px 0;
  background: var(--green);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  max-width: 570px;
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.cta p {
  margin-top: 12px;
  color: #c4ddd4;
  font-size: 15px;
}

.cta .post-btn {
  padding: 15px 24px;
  color: var(--green-dark);
  background: var(--lime);
  white-space: nowrap;
}

/* Wide screens only: enough room beside the button for one line.
   Below 1200px the text wraps as before. */
@media (min-width: 1200px) {
  .cta h2 {
    max-width: none;
    font-size: 30px;
    white-space: nowrap;
  }
}

footer {
  padding: 28px 0;
  color: #7c8580;
  background: #103c32;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  color: var(--white);
}

.footer-logo span {
  color: var(--lime);
}

.footer-links {
  display: flex;
  gap: 22px;
}

@media (max-width: 850px) {
  .nav {
    flex-wrap: wrap;
  }

  /* Links stay on one scrollable line under the logo instead of disappearing */
  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    font-size: 13px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .visual {
    min-height: 390px;
    max-width: 500px;
    width: 100%;
    margin: auto;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 70px;
    flex-wrap: wrap;
  }

  .nav-actions {
    flex-basis: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-actions::-webkit-scrollbar {
    display: none;
  }

  .nav-actions .login,
  .nav-actions .post-btn {
    padding: 8px 11px;
    font-size: 12px;
  }

  .hide-sm {
    display: none;
  }

  .welcome {
    display: none;
  }

  .hero {
    padding: 55px 0 65px;
  }

  h1 {
    font-size: 43px;
    letter-spacing: -2.3px;
  }

  .search-box {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 7px;
    padding: 8px;
  }

  .search-icon {
    display: none;
  }

  .search-box input {
    flex-basis: 100%;
    height: 40px;
    padding: 0 8px;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 18px;
  }

  .category {
    padding: 18px 8px;
  }

  .category-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 9px;
    font-size: 20px;
  }

  .visual {
    min-height: 350px;
    transform: scale(0.86);
    transform-origin: top center;
    margin-bottom: -45px;
  }

  .listing-card.main {
    right: 8px;
  }

  .listing-card.secondary {
    left: 0;
  }

  .categories,
  .how-it-works,
  .cta {
    padding: 55px 0;
  }

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

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta h2 {
    font-size: 29px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 13px;
  }
}


/* ---------- Homepage extras ---------- */
.hero-diff {
  margin-top: 14px;
  max-width: 520px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

/* Featured listings */
.featured {
  padding: 12px 1px;
  background: var(--cream);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 18px;
}

.fl-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(19,43,34,0.10);
}

.fl-thumb {
  display: grid;
  height: 150px;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  font-size: 40px;
}

.fl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fl-body { padding: 14px 16px 16px; }

.fl-body small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.fl-body h3 { margin: 4px 0 6px; font-size: 15px; }

.fl-price {
  color: var(--green);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.featured-empty {
  padding: 40px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
}

.featured-empty a { color: var(--green); font-weight: 700; }

.featured-more { margin-top: 28px; text-align: center; }

/* ---------- Policy / guide / contact pages ---------- */
.policy-hero {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, #edf8ed 0%, var(--cream) 68%);
  text-align: center;
}

.policy-body { padding: 48px 0 72px; }

.policy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.policy-body h2 {
  margin: 30px 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  letter-spacing: -0.4px;
}

.policy-body p,
.policy-body li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.policy-body ul {
  margin: 4px 0 10px;
  padding-left: 22px;
}

.policy-body a { color: var(--green); font-weight: 600; }

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  margin-top: 30px;
}

.guide-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.guide-card h3 {
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
}

.guide-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }


/* ---------- FAQ ---------- */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
  content: '+';
  transition: transform 0.2s;
}

.faq details[open] summary { color: var(--green); }
.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
