@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Nunito+Sans:wght@400;600;700&display=swap");

:root {
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #1c2a22;
  --soft: #5a6a60;
  --line: #ddd4c6;
  --leaf: #2a6a4c;
  --leaf-deep: #1f4f39;
  --bloom: #c45c2a;
  --gold: #d4a25a;
  --display: "Fraunces", Georgia, serif;
  --body: "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, #dff0e4 0%, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, #f3e4d2 0%, transparent 50%),
    var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--leaf-deep); }
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.65rem 0; position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.brand {
  display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, var(--leaf), var(--leaf-deep));
  display: grid; place-items: center; color: #f7fff9; font-size: 1.15rem;
}
.brand-mark-img {
  width: 40px; height: 40px; display: block; flex-shrink: 0;
}
.brand strong {
  display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.1;
}
.brand span { font-size: 0.78rem; color: var(--soft); }
.nav-links { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }
.nav-links a { text-decoration: none; color: var(--soft); font-weight: 600; font-size: 0.92rem; }
.nav-links a:hover { color: var(--leaf); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 999px; padding: 0.85rem 1.25rem;
  font-weight: 700; font-family: var(--body); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--leaf); color: #f7fff9; }
.btn-primary:hover { background: var(--leaf-deep); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.9rem; }

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem;
  align-items: end; padding: 2.2rem 0 2.8rem;
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.2rem; }
  .nav-links .hide-sm { display: none; }
}
.eyebrow {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--bloom); margin: 0 0 0.6rem;
}
h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05;
  margin: 0 0 0.85rem; letter-spacing: -0.02em;
}
.lede { font-size: 1.12rem; color: var(--soft); max-width: 36rem; margin: 0 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.4rem; }
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.75rem; font-size: 0.82rem; font-weight: 700; color: var(--soft);
}

.hero-visual {
  position: relative; min-height: 360px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(40, 50, 40, 0.12);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.hero-card {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 18px; padding: 0.9rem 1rem;
}
.hero-card strong { font-family: var(--display); display: block; margin-bottom: 0.2rem; }
.hero-card span { font-size: 0.88rem; color: var(--soft); }

.section { padding: 1.5rem 0; }
.section h2 {
  font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 0.35rem; letter-spacing: -0.02em;
}
.section .sub { color: var(--soft); max-width: 40rem; margin: 0 0 0.95rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem; text-align: center;
}
.stat b {
  display: block; font-family: var(--display); font-size: 1.8rem; color: var(--leaf);
}
.stat span { font-size: 0.85rem; color: var(--soft); }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(40,50,40,0.08); }
.card img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.card .body { padding: 1rem 1.1rem 1.2rem; }
.card h3 { font-family: var(--display); margin: 0 0 0.35rem; font-size: 1.25rem; }
.card p { margin: 0; color: var(--soft); font-size: 0.95rem; }

.waitlist {
  background:
    linear-gradient(135deg, #e7f3ea 0%, #fff8ef 55%, #f7efe4 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
}
.waitlist form {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem;
}
.waitlist input {
  flex: 1 1 220px; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.9rem 1.1rem; font: inherit; background: #fff;
}
.waitlist .note { font-size: 0.82rem; color: var(--soft); margin-top: 0.7rem; }
.waitlist .msg { margin-top: 0.75rem; font-weight: 700; min-height: 1.2em; }
.waitlist .msg.ok { color: var(--leaf); }
.waitlist .msg.err { color: var(--bloom); }

.tease-list { display: grid; gap: 0.75rem; }
.tease {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 0.9rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 0.7rem;
}
@media (max-width: 620px) { .tease { grid-template-columns: 72px 1fr; } .tease .when { grid-column: 2; } }
.tease img { width: 88px; height: 72px; object-fit: cover; border-radius: 14px; }
.tease strong { display: block; font-family: var(--display); }
.tease span { color: var(--soft); font-size: 0.9rem; }
.tease .when { font-size: 0.82rem; font-weight: 700; color: var(--leaf); }

.article { padding: 1.5rem 0 3rem; max-width: 740px; }
.article h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.article h2 { font-family: var(--display); font-size: 1.45rem; margin: 1.8rem 0 0.5rem; }
.article p, .article li { color: #334038; font-size: 1.05rem; }
.article .meta { color: var(--soft); font-size: 0.9rem; margin-bottom: 1.2rem; }
.article .callout {
  background: #eef6f0; border-left: 4px solid var(--leaf);
  padding: 0.9rem 1rem; border-radius: 0 14px 14px 0; margin: 1.2rem 0;
}
.crumbs { font-size: 0.85rem; color: var(--soft); margin-bottom: 1rem; }
.crumbs a { color: var(--soft); }

.footer {
  border-top: 1px solid var(--line); padding: 1.1rem 0 1.5rem; margin-top: 0.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--soft); font-size: 0.9rem;
}
.footer a { color: var(--soft); text-decoration: none; margin-right: 0.8rem; }
.footer a:hover { color: var(--leaf); }

/* ---------- local placeholders (never depend on Unsplash) ---------- */
.ph {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(145deg, #e7f3ea, #d7e8db);
  color: var(--leaf-deep); font-size: 2rem; user-select: none;
}
.ph-sm { font-size: 1.35rem; }
.thumb-ph {
  width: 88px; height: 72px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(145deg, #e7f3ea, #cfe3d4);
  display: grid; place-items: center; font-size: 1.5rem;
}
.card .ph { aspect-ratio: 16/11; font-size: 2.4rem; }

/* ---------- fake phone / in-app screenshot ---------- */
.phone-stage {
  position: relative; min-height: 420px;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1rem 0 0;
}
.phone {
  width: min(290px, 86vw);
  background: #0f172a;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 28px 60px rgba(28, 42, 34, 0.22);
  position: relative; z-index: 2;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 18px; background: #0f172a; border-radius: 999px; z-index: 3;
}
.phone-screen {
  background: #fff; border-radius: 26px; overflow: hidden;
  font-family: "Plus Jakarta Sans", "Nunito Sans", system-ui, sans-serif;
}
.phone-top {
  display: flex; align-items: center; gap: 8px;
  padding: 22px 12px 10px; border-bottom: 1px solid #e2e8f0;
}
.phone-top .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: #f0fdf4; display: grid; place-items: center;
}
.phone-top .mark img { width: 22px; height: 22px; }
.phone-top .titles { flex: 1; min-width: 0; }
.phone-top strong { display: block; font-size: 13px; line-height: 1.1; color: #0f172a; }
.phone-top span { font-size: 10px; color: #64748b; }
.phone-signin {
  background: #15803d; color: #fff; border: none; border-radius: 8px;
  font-size: 10px; font-weight: 700; padding: 6px 8px;
}
.phone-filters {
  display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 10px 0;
}
.chip {
  border: 1.5px solid #e2e8f0; background: #fff; color: #64748b;
  border-radius: 999px; padding: 4px 8px; font-size: 10px; font-weight: 700;
}
.chip.on { background: #15803d; border-color: #15803d; color: #fff; }
.phone-search {
  margin: 8px 10px 6px; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 7px 10px; font-size: 11px; color: #94a3b8; background: #f8fafc;
}
.phone-feed { padding: 0 8px 10px; display: grid; gap: 8px; }
.row {
  display: flex; gap: 8px; border: 1.5px solid #e2e8f0; border-radius: 14px;
  padding: 7px; background: #fff;
}
.row .pic {
  width: 58px; height: 58px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.35rem;
  background: linear-gradient(145deg, #e7f3ea, #cfe3d4);
  overflow: hidden; padding: 0;
}
.row .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row .pic.p2 { background: linear-gradient(145deg, #fef3c7, #e7f3ea); }
.row .pic.p3 { background: linear-gradient(145deg, #dbeafe, #e7f3ea); }
.row .meta { flex: 1; min-width: 0; }
.row .meta b {
  display: block; font-size: 11.5px; color: #0f172a; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.row .meta small { display: block; font-size: 10px; color: #15803d; margin-top: 2px; }
.row .meta .bits { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.bit {
  font-size: 9px; font-weight: 700; color: #64748b; background: #f8fafc;
  border: 1px solid #e2e8f0; border-radius: 999px; padding: 1px 6px;
}
.row .price-col { text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.row .price { font-size: 14px; font-weight: 800; color: #15803d; }
.buy-mini {
  background: #16a34a; color: #fff; border: none; border-radius: 8px;
  font-size: 10px; font-weight: 700; padding: 6px 9px;
}
.phone-tabs {
  display: flex; border-top: 1.5px solid #e2e8f0; padding: 6px 0 8px; background: #fff;
}
.phone-tabs span {
  flex: 1; text-align: center; font-size: 9px; font-weight: 700; color: #94a3b8;
}
.phone-tabs span.on { color: #15803d; }

.float-card {
  position: absolute; z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 0.7rem 0.85rem; box-shadow: 0 14px 30px rgba(28,42,34,0.1);
  max-width: 190px;
}
.float-card.left { left: 0; top: 18%; }
.float-card.right { right: 0; bottom: 18%; }
.float-card strong { display: block; font-family: var(--display); font-size: 0.95rem; }
.float-card span { font-size: 0.78rem; color: var(--soft); }
.avatar-row { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.35rem; }
.av {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.85rem; background: #e7f3ea; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.av.n2 { background: #fef3c7; margin-left: -8px; }
.av.n3 { background: #dbeafe; margin-left: -8px; }

.neighbors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem;
}
@media (max-width: 820px) { .neighbors { grid-template-columns: 1fr; } }
.neighbor {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem;
}
.neighbor .who { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.7rem; }
.neighbor .who .av { width: 40px; height: 40px; font-size: 1.1rem; }
.neighbor .who strong { display: block; font-family: var(--display); }
.neighbor .who span { font-size: 0.82rem; color: var(--soft); }
.mini-plants { display: flex; gap: 0.45rem; }
.mini-plants .pic {
  flex: 1; aspect-ratio: 1; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: linear-gradient(145deg, #e7f3ea, #cfe3d4);
  overflow: hidden;
}
.mini-plants .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* listing board (desktop-friendly fake feed) */
.listing-board {
  display: grid; gap: 0.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 0.85rem; box-shadow: 0 18px 40px rgba(28,42,34,0.08);
}
.listing-board .lb-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 0.75rem; align-items: center;
  border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 0.55rem 0.65rem; background: #fff;
}
.listing-board .lb-pic {
  width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #e7f3ea;
}
.listing-board .lb-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-board .lb-meta b { display: block; font-family: var(--display); font-size: 1.05rem; }
.listing-board .lb-meta span { color: var(--soft); font-size: 0.88rem; }
.listing-board .lb-meta .bits { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-top: 0.35rem; }
.listing-board .price { font-weight: 800; color: var(--leaf); font-size: 1.15rem; text-align: right; }
.listing-board .buy {
  margin-top: 0.35rem; background: #16a34a; color: #fff; border: none; border-radius: 10px;
  font-weight: 700; font-size: 0.85rem; padding: 0.45rem 0.75rem; cursor: default;
}
.hero-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.5rem; align-items: center;
  padding: 1.5rem 0 2rem;
}
@media (max-width: 820px) { .hero-split { grid-template-columns: 1fr; } }

/* splash polish */
.splash-hero {
  min-height: 0;
  padding: 1.25rem 0 1.5rem;
  align-items: center;
  gap: 1.25rem;
}
.splash-hero h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.2rem);
  color: var(--ink);
  margin: 0 0 0.55rem;
}
.splash-hero .lede { font-size: 1.05rem; max-width: 32rem; margin: 0 0 0.95rem; }
.splash-hero .hero-actions { margin-bottom: 0.85rem; }
.splash-hero .eyebrow { margin-bottom: 0.4rem; }
.listing-board a.lb-row {
  text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease;
}
.listing-board a.lb-row:hover {
  border-color: var(--leaf); transform: translateY(-1px);
}
.how {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } }
.how-step {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 0.9rem 1rem;
}
.how-step .n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
  background: #e7f3ea; color: var(--leaf); font-weight: 800; font-size: 0.85rem; margin-bottom: 0.65rem;
}
.how-step h3 { font-family: var(--display); margin: 0 0 0.35rem; font-size: 1.2rem; }
.how-step p { margin: 0; color: var(--soft); font-size: 0.95rem; }
.splash-phone-wrap {
  display: flex; justify-content: center; padding: 0.5rem 0 1rem;
}
.splash-phone-wrap .phone { width: min(300px, 88vw); }

/* ---------- map + pins ---------- */
.map-stage {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(28, 42, 34, 0.12);
  background: #e8f3ea; aspect-ratio: 9/7; min-height: 320px;
}
.map-stage > img.map-bg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.map-pin {
  position: absolute; transform: translate(-50%, -100%);
  width: 36px; height: 48px; z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(28,42,34,0.22));
  animation: pinDrop 0.55s ease both;
}
.map-pin img { width: 100%; height: 100%; display: block; }
.map-pin.delay-1 { animation-delay: 0.12s; }
.map-pin.delay-2 { animation-delay: 0.24s; }
.map-pin.delay-3 { animation-delay: 0.36s; }
.map-pin.delay-4 { animation-delay: 0.48s; }
@keyframes pinDrop {
  from { opacity: 0; transform: translate(-50%, -130%) scale(0.7); }
  to { opacity: 1; transform: translate(-50%, -100%) scale(1); }
}
.map-bubble {
  position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 42px));
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0.4rem 0.45rem; display: flex; gap: 0.45rem; align-items: center;
  min-width: 148px; max-width: 190px;
  box-shadow: 0 12px 28px rgba(28,42,34,0.14);
  text-decoration: none; color: inherit;
  animation: pinDrop 0.55s ease both;
}
.map-bubble:hover { border-color: var(--leaf); }
.map-bubble img {
  width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.map-bubble b { display: block; font-family: var(--display); font-size: 0.82rem; line-height: 1.15; }
.map-bubble span { font-size: 0.72rem; color: var(--soft); }
.map-you {
  position: absolute; z-index: 4; transform: translate(-50%, -50%);
  background: var(--leaf); color: #fff; font-size: 0.72rem; font-weight: 800;
  border-radius: 999px; padding: 0.35rem 0.65rem; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(21,128,61,0.35);
}
.map-you::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: var(--leaf);
}
.map-legend {
  position: absolute; left: 0.85rem; bottom: 0.85rem; z-index: 4;
  background: color-mix(in srgb, #fff 92%, transparent); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.7); border-radius: 999px;
  padding: 0.4rem 0.75rem; font-size: 0.78rem; font-weight: 700; color: var(--soft);
}
.map-hero-fun {
  position: relative; border-radius: 26px; overflow: hidden;
  min-height: 340px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(28,42,34,0.1);
}
.map-hero-fun .map-bg { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
@media (max-width: 820px) {
  .map-hero-fun, .map-hero-fun .map-bg { min-height: 300px; }
}
.map-under-board {
  display: grid; gap: 1rem;
}
@media (min-width: 821px) {
  .map-with-board {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.25rem; align-items: stretch;
  }
}
.version-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  padding: 0.6rem 0 0; font-size: 0.82rem; color: var(--soft);
}
.version-bar a {
  color: var(--soft); text-decoration: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.25rem 0.65rem; background: var(--paper);
}
.version-bar a:hover, .version-bar a.on { color: var(--leaf); border-color: var(--leaf); }
.phones-row {
  display: flex; gap: 1rem; justify-content: center; align-items: flex-end;
  flex-wrap: wrap; padding: 1rem 0;
}
.phones-row .phone { width: min(240px, 78vw); transform: scale(0.96); }
.phones-row .phone.mid { transform: scale(1.05); z-index: 3; }

.hero-visual.no-photo {
  background:
    radial-gradient(circle at 30% 20%, #dff3e5, transparent 45%),
    radial-gradient(circle at 80% 70%, #f3e4d2, transparent 40%),
    linear-gradient(160deg, #eaf6ee, #f7f1e8);
  display: flex; align-items: stretch; justify-content: center;
}
.hero-visual.no-photo .phone-stage { width: 100%; }
