:root {
  --ink: #17352d;
  --green: #1d7154;
  --mint: #cfe8c9;
  --lime: #d8ef68;
  --cream: #f6f1e5;
  --peach: #eaa17f;
  --paper: #fffdf7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, .78), transparent 25rem),
    linear-gradient(112deg, #f8f3e8 0%, #f4f0e2 47%, #dfead2 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }

.nav {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 10px; font: 800 18px/1 "Manrope"; letter-spacing: -.6px; }
.brand svg { width: 32px; fill: none; stroke: var(--green); stroke-width: 2.1; }
.brand span span { color: var(--green); }

.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 42px; }
.nav-links a { font-size: 14px; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.nav-cta span { margin-left: 7px; color: var(--lime); }

.hero-grid {
  min-height: calc(100svh - 164px);
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 2;
  padding-block: 54px 92px;
}

.hero-copy { padding-bottom: 12px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 2px; background: var(--green); }

h1 {
  max-width: 650px;
  margin: 0;
  font: 800 clamp(54px, 6.3vw, 89px)/.98 "Manrope", sans-serif;
  letter-spacing: -.065em;
}

h1 em { position: relative; color: var(--green); font-style: normal; white-space: nowrap; }
h1 em::after {
  content: "";
  position: absolute;
  left: 2%; right: -3%; bottom: -.06em;
  height: .12em;
  border-radius: 100%;
  background: var(--lime);
  transform: rotate(-1.5deg);
  z-index: -1;
}

.intro { max-width: 555px; margin: 28px 0 0; font-size: 19px; line-height: 1.65; color: #3f574f; }
.actions { display: flex; align-items: center; gap: 26px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.button-primary { gap: 20px; padding: 17px 22px 17px 25px; border-radius: 6px; background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(29, 113, 84, .16); transition: transform .2s, box-shadow .2s; }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(29, 113, 84, .25); }
.button-primary span { color: var(--lime); font-size: 20px; }
.button-link { gap: 10px; font-size: 15px; }
.play { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #9aafa6; border-radius: 50%; color: var(--green); font-size: 9px; padding-left: 2px; }

.proof { display: flex; align-items: center; gap: 14px; margin-top: 46px; }
.proof p { margin: 0; color: #70827b; font-size: 13px; line-height: 1.45; }
.proof strong { color: var(--ink); font-size: 14px; }
.topic-icons { display: flex; }
.topic-icons span { width: 38px; height: 38px; margin-left: -9px; display: grid; place-items: center; border: 3px solid var(--cream); border-radius: 50%; font-size: 10px; font-weight: 800; color: #fff; }
.topic-icons span:first-child { margin-left: 0; background: #d57c5a; }
.topic-icons span:nth-child(2) { background: #598a7d; }
.topic-icons span:nth-child(3) { background: #c18f3c; }
.topic-icons span:last-child { background: var(--ink); color: var(--lime); font-size: 14px; }

.community-visual { min-height: 610px; position: relative; isolation: isolate; }
.community-visual::before {
  content: "";
  position: absolute;
  width: min(43vw, 530px); aspect-ratio: 1;
  left: 50%; top: 50%; transform: translate(-48%, -50%);
  background: var(--mint);
  border-radius: 48% 52% 44% 56% / 56% 42% 58% 44%;
  box-shadow: inset 0 0 0 1px rgba(23, 53, 45, .05);
  z-index: -2;
}
.community-visual::after {
  content: "";
  position: absolute;
  width: min(38vw, 465px); aspect-ratio: 1;
  left: 50%; top: 50%; transform: translate(-48%, -50%) rotate(8deg);
  border: 1px solid rgba(29, 113, 84, .22);
  border-radius: 52% 48% 56% 44%;
  z-index: -1;
}
.sun { position: absolute; top: 54px; right: 65px; width: 82px; height: 82px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 15px rgba(216,239,104,.22); }
.orbit { position: absolute; border-radius: 50%; background: var(--peach); }
.orbit-one { width: 13px; height: 13px; top: 119px; left: 75px; }
.orbit-two { width: 8px; height: 8px; bottom: 121px; right: 20px; background: var(--green); }

.town { position: absolute; width: 470px; height: 410px; left: 50%; top: 52%; transform: translate(-50%, -50%); }
.town-shadow { position: absolute; width: 400px; height: 100px; bottom: 12px; left: 35px; border-radius: 50%; background: rgba(23,53,45,.13); filter: blur(4px); transform: rotate(-5deg); }
.building { position: absolute; bottom: 80px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 8px 8px 0 rgba(23,53,45,.12); }
.building i, .building b { position: absolute; display: block; border: 3px solid var(--ink); background: #aad7c8; }
.building-left { width: 130px; height: 175px; left: 35px; transform: rotate(-3deg); background: #edaf90; }
.building-left::before { content: ""; position: absolute; left: -7px; right: -7px; top: -26px; height: 30px; background: var(--ink); clip-path: polygon(8% 100%,0 80%,13% 0,87% 0,100% 80%,92% 100%); }
.building-left .awning { position: absolute; left: -3px; right: -3px; top: 48px; height: 25px; border-block: 3px solid var(--ink); background: repeating-linear-gradient(90deg, var(--paper) 0 20px, var(--lime) 20px 40px); }
.building-left i:nth-of-type(1) { width: 28px; height: 36px; left: 18px; top: 88px; }
.building-left i:nth-of-type(2) { width: 28px; height: 36px; right: 18px; top: 88px; }
.building-left b { width: 38px; height: 58px; bottom: -3px; left: 46px; background: var(--green); }
.building-main { width: 185px; height: 230px; left: 145px; bottom: 74px; background: #f5e7b9; z-index: 2; }
.building-main .roof { position: absolute; left: -17px; top: -63px; width: 215px; height: 68px; background: var(--green); border: 3px solid var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.building-main .sign { position: absolute; left: 49px; top: 24px; padding: 7px 14px; background: var(--ink); color: var(--lime); font: 800 11px "Manrope"; letter-spacing: .14em; }
.building-main i { width: 32px; height: 42px; top: 76px; }
.building-main i:nth-of-type(1) { left: 20px; }
.building-main i:nth-of-type(2) { right: 20px; }
.building-main i:nth-of-type(3) { width: 43px; height: 43px; top: 137px; left: 69px; border-radius: 50%; background: var(--peach); }
.building-main b { width: 48px; height: 64px; left: 67px; bottom: -3px; background: #fff; }
.building-right { width: 125px; height: 154px; right: 20px; bottom: 85px; transform: rotate(4deg); background: #9ac8b6; }
.building-right::before { content: ""; position: absolute; left: -8px; right: -8px; top: -28px; height: 31px; border: 3px solid var(--ink); background: var(--peach); transform: skewX(-10deg); }
.building-right i { width: 29px; height: 40px; top: 28px; background: #f6d885; }
.building-right i:nth-of-type(1) { left: 15px; }
.building-right i:nth-of-type(2) { right: 15px; }
.building-right b { width: 40px; height: 58px; left: 41px; bottom: -3px; background: var(--ink); }

.tree { position: absolute; z-index: 5; }
.tree i { display: block; width: 50px; height: 65px; border: 3px solid var(--ink); border-radius: 55% 45% 50% 50%; background: var(--lime); }
.tree b { display: block; width: 7px; height: 45px; margin: -6px auto 0; background: var(--ink); }
.tree-left { bottom: 59px; left: 4px; transform: rotate(-5deg); }
.tree-right { bottom: 48px; right: 1px; transform: scale(.8) rotate(4deg); }

.person { position: absolute; z-index: 7; }
.person i { display: block; width: 19px; height: 19px; margin: auto; border-radius: 50%; background: #b86e50; border: 2px solid var(--ink); }
.person b { display: block; width: 25px; height: 49px; margin-top: -1px; border: 2px solid var(--ink); border-radius: 12px 12px 5px 5px; background: var(--green); }
.person-one { left: 117px; bottom: 51px; }
.person-two { right: 91px; bottom: 57px; transform: scale(.86); }
.person-two b { background: var(--peach); }
.person-three { left: 216px; bottom: 38px; transform: scale(.92); }
.person-three b { background: var(--lime); }

.heart-marker { position: absolute; top: 62px; left: 205px; z-index: 5; }
.heart-marker::after { content: ""; display: block; width: 3px; height: 63px; margin: -5px auto 0; background: var(--ink); }
.heart-marker span { width: 58px; height: 58px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50% 50% 50% 8%; transform: rotate(-45deg); background: var(--lime); color: var(--green); font-size: 23px; box-shadow: 5px 5px 0 rgba(23,53,45,.12); }
.heart-marker span::first-letter { transform: rotate(45deg); }

.floating-card { position: absolute; z-index: 8; display: flex; align-items: center; gap: 11px; padding: 11px 15px; border: 1px solid rgba(23,53,45,.08); border-radius: 9px; background: rgba(255,253,247,.95); box-shadow: 0 14px 35px rgba(23,53,45,.13); animation: float 5s ease-in-out infinite; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font: 700 12px "Manrope"; }
.floating-card small { margin-top: 2px; color: #71847d; font-size: 10px; }
.card-icon, .growth-mark { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green); font-size: 17px; font-weight: 800; }
.card-idea { left: -5px; top: 155px; }
.card-growth { right: -18px; top: 245px; animation-delay: -1.7s; }
.card-place { left: 28px; bottom: 73px; animation-delay: -3.1s; }
.pin { width: 27px; height: 27px; border-radius: 50% 50% 50% 5px; transform: rotate(-45deg); background: var(--peach); position: relative; }
.pin::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); top: 9px; left: 9px; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.hero-footer { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 68px; display: flex; align-items: center; justify-content: space-between; z-index: 4; border-top: 1px solid rgba(23,53,45,.14); color: #657a72; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.hero-footer p { margin: 0; }
.hero-footer a { font-weight: 700; color: var(--ink); }
.hero-footer a span { margin-left: 8px; color: var(--green); }
.footer-categories { color: #71847d; font-size: 10px; letter-spacing: .02em; text-align: center; text-transform: none; }
.steps { display: flex; gap: 7px; }
.steps span { width: 22px; height: 3px; background: rgba(23,53,45,.16); }
.steps .active { width: 44px; background: var(--green); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 55px; padding-bottom: 100px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .eyebrow { justify-content: center; }
  .community-visual { min-height: 565px; width: min(620px, 100%); margin-inline: auto; }
  .community-visual::before { width: 500px; }
  .community-visual::after { width: 440px; }
  .hero-footer { position: relative; transform: none; left: auto; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 36px, 1180px); }
  .nav { height: 78px; }
  .brand { font-size: 16px; }
  .brand svg { width: 28px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 44px; }
  .hero-copy { min-width: 0; }
  h1 { font-size: clamp(48px, 14vw, 67px); }
  .intro { font-size: 17px; }
  .actions { width: 100%; flex-direction: column; gap: 18px; }
  .button-primary { width: 100%; }
  .proof { margin-top: 35px; }
  .community-visual { min-height: 435px; transform: scale(.8); transform-origin: top center; margin-bottom: -90px; width: 560px; max-width: none; justify-self: center; }
  .community-visual::before { width: 500px; }
  .community-visual::after { width: 440px; }
  .hero-footer p, .footer-categories { display: none; }
  .hero-footer { height: 56px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
