:root{
  --sage:#9aa58f;
  --sage-dark:#7f8c76;
  --ink:#111;
  --muted:#555;
  --bg:#f6f7f4;
  --card:#ffffff;
  --line:#ddd;
  --radius:14px;
  --max:1100px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

html{
  scroll-behavior:smooth;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

a{
  color:var(--sage-dark);
  text-decoration:underline;
  text-decoration-color:var(--line);
  text-underline-offset:3px;
  transition:color .15s ease, text-decoration-color .15s ease;
}

a:hover{
  color:var(--ink);
  text-decoration-color:var(--sage);
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

.header{
  background:#fff;
  border-bottom:1px solid var(--line);
  border-top:3px solid var(--sage);
}

.header-inner{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

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

.brand a{
  text-decoration:none;
}

.brand img{
  height:40px;
}

.brand span{
  font-size:13px;
  color:var(--muted);
}

.hero{
  padding:80px 0;
}

.hero-inner{
  max-width:720px;
}

.hero h1{
  font-size:48px;
  line-height:1.05;
  margin:0 0 24px;
  padding-bottom:20px;
  border-bottom:3px solid var(--sage);
  display:inline-block;
}

.hero h1 span{
  color:var(--sage-dark);
}

.lead{
  font-size:18px;
  color:var(--muted);
  margin-bottom:24px;
}

.cta{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.note{
  font-size:13px;
  color:var(--muted);
}

.stats{
  list-style:none;
  padding:0;
  margin:32px 0 0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:12px;
}

.stats li{
  background:#fff;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  transition:border-color .15s ease;
  font-size:14px;
  letter-spacing:.01em;
}

.stats li:hover{
  border-color:var(--sage);
}

.features{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:60px 0;
}

.features h2{
  margin-bottom:24px;
  font-size:28px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-left:3px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.card:hover{
  border-color:var(--sage);
  border-left-color:var(--sage-dark);
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}

.card h3{
  margin-top:0;
}

.coming-soon{
  padding:60px 0;
  background:#fff;
  border-top:1px solid var(--line);
}

.coming-soon h2{
  font-size:28px;
}

.coming-soon p{
  color:var(--muted);
  margin:0 0 20px;
  max-width:480px;
}

.footer{
  border-top:1px solid var(--line);
  padding:24px 0;
  font-size:13px;
  color:var(--muted);
}

.footer .wrap{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}

.btn{
  padding:10px 16px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:600;
  text-decoration:none;
  transition:background .15s ease, border-color .15s ease, transform .1s ease;
}

.btn:hover{
  background:var(--bg);
  border-color:var(--sage);
}

.btn:active{
  transform:scale(.97);
}

.btn.primary{
  background:var(--sage);
  border-color:var(--sage-dark);
  color:#111;
}

.btn.primary:hover{
  background:var(--sage-dark);
  border-color:var(--sage-dark);
}

.btn.primary:active{
  transform:scale(.97);
}

/* Listings page */

.listings-page{
  padding:48px 0 80px;
}

.listings-header{
  margin-bottom:32px;
}

.listings-header h1{
  margin:0 0 4px;
  font-size:32px;
}

.listings-subtitle{
  color:var(--muted);
  margin:0;
  font-size:15px;
}

.listing-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
  overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.listing-card:hover{
  border-color:var(--sage);
  box-shadow:0 2px 8px rgba(0,0,0,.04);
}

.listing-card.pending{
  opacity:.85;
}

.listing-photo{
  position:relative;
}

.listing-photo-pending{
  background:linear-gradient(145deg,#e4e1d8,#d6d3ca);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  height:280px;
  color:#999;
}

.listing-photo-pending span{
  font-size:13px;
  letter-spacing:.02em;
}

.listing-photo .badge{
  position:absolute;
  top:16px;
  left:16px;
}

.badge{
  display:inline-block;
  padding:5px 14px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.badge-pending{
  background:rgba(255,255,255,.92);
  color:#96793a;
  backdrop-filter:blur(4px);
  border:1px solid rgba(0,0,0,.08);
}

.listing-info{
  padding:20px 24px 24px;
}

.listing-card h2{
  margin:0 0 2px;
  font-size:20px;
  font-weight:600;
}

.listing-address{
  color:var(--muted);
  margin:0 0 14px;
  font-size:14px;
}

.listing-tags{
  display:flex;
  gap:8px;
  margin-bottom:16px;
  flex-wrap:wrap;
}

.tag{
  padding:4px 10px;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:6px;
  font-size:12px;
  color:var(--muted);
}

.listing-pending-msg{
  border-top:1px solid var(--line);
  padding-top:14px;
}

.listing-pending-msg p{
  margin:0;
  font-size:13px;
  color:#96793a;
}

.listings-empty{
  margin-top:40px;
  text-align:center;
  padding:40px 20px;
  border:1px dashed var(--line);
  border-radius:var(--radius);
  background:var(--card);
}

.listings-empty p{
  margin:0 0 16px;
  color:var(--muted);
}

/* About page */

.about-page{
  padding-bottom:40px;
}

.about-hero{
  padding:60px 0;
}

.about-hero h1{
  font-size:36px;
  margin:0 0 16px;
}

.about-lead{
  font-size:18px;
  color:var(--muted);
  max-width:600px;
  line-height:1.6;
  margin:0;
}

.about-section{
  padding:48px 0;
  border-top:1px solid var(--line);
}

.about-section h2{
  font-size:24px;
  margin:0 0 16px;
}

.about-section p{
  color:var(--muted);
  line-height:1.6;
  max-width:600px;
  margin:0 0 12px;
}

.about-section p:last-of-type{
  margin-bottom:0;
}

.about-values{
  background:#fff;
}

.about-values h2{
  margin-bottom:24px;
}

.about-expanding p{
  margin-bottom:20px!important;
}

@media(min-width:600px){
  .listing-card{
    max-width:420px;
  }
}

@media(max-width:599px){
  .brand span{
    display:none;
  }
  .hero h1{
    font-size:32px;
  }
  .footer .wrap{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .listing-photo-pending{
    height:200px;
  }
}
