* { box-sizing: border-box; }

:root {
  --bg: #f4f4ef;
  --ink: #11120f;
  --muted: #686b63;
  --line: #d8d9d1;
  --card: #ffffff;
  --accent: #1e4735;
  --accent-2: #d9e6dc;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
}

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

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

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.nav-cta {
  font-size: 0.92rem;
  font-weight: 600;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 72px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 84px;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
}

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

h1, h2 {
  font-family: "Manrope", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: .98;
  margin-bottom: 28px;
}

h1 span { color: var(--accent); }

h2 {
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  line-height: 1.02;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .93rem;
  border: 1px solid transparent;
}

.primary {
  background: var(--accent);
  color: white;
}

.secondary {
  border-color: var(--line);
  background: rgba(255,255,255,.35);
}

.large {
  min-height: 56px;
  padding-inline: 28px;
}

.microcopy {
  color: var(--muted);
  font-size: .78rem;
}

.viewer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(20, 35, 26, .10);
}

.viewer-topbar,
.viewer-footer {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: .76rem;
  color: var(--muted);
}

.viewer-topbar {
  border-bottom: 1px solid #e9e9e4;
}

.viewer-meta { margin-left: auto; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #79a887;
}

.viewer-footer {
  justify-content: space-between;
  border-top: 1px solid #e9e9e4;
}

.scene {
  height: 440px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#cfded8 0 52%, #81906d 52%);
}

.sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.75), transparent 19%),
    linear-gradient(160deg, rgba(255,255,255,.18), transparent 45%);
}

.ground {
  position: absolute;
  width: 120%;
  height: 48%;
  bottom: -8%;
  left: -10%;
  background: linear-gradient(145deg, #9ca57b, #708166);
  transform: skewY(-4deg);
}

.house {
  position: absolute;
  width: 260px;
  height: 180px;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%) perspective(700px) rotateY(-18deg);
}

.roof {
  position: absolute;
  width: 220px;
  height: 120px;
  background: #5e5a51;
  left: 10px;
  top: -31px;
  transform: rotate(30deg) skew(-18deg);
  border-radius: 5px;
}

.wall {
  position: absolute;
  bottom: 0;
}

.wall-front {
  width: 190px;
  height: 125px;
  left: 0;
  background: #e0ddd1;
}

.wall-side {
  width: 77px;
  height: 125px;
  right: 0;
  background: #b7b4aa;
  transform: skewY(-20deg);
  transform-origin: left bottom;
}

.window, .door {
  position: absolute;
  display: block;
  background: #546a67;
  border: 5px solid #f4f1e7;
}

.w1 { width: 46px; height: 38px; left: 24px; top: 29px; }
.w2 { width: 46px; height: 38px; right: 20px; top: 29px; }
.w3 { width: 32px; height: 34px; left: 22px; top: 39px; }
.door { width: 34px; height: 63px; left: 82px; bottom: 0; background: #5b4b3c; }

.tree {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #51684e;
  box-shadow: 0 0 0 16px rgba(81,104,78,.18);
}

.tree::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 85px;
  background: #675844;
  left: 33px;
  top: 52px;
}

.t1 { left: 8%; top: 38%; }
.t2 { right: 7%; top: 46%; transform: scale(.78); }

.orbit {
  position: absolute;
  width: 370px;
  height: 150px;
  border: 1px dashed rgba(255,255,255,.65);
  border-radius: 50%;
  left: 50%;
  top: 59%;
  transform: translate(-50%, -50%) rotate(-9deg);
}

.hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(20,22,18,.72);
  color: white;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .72rem;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid div {
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.proof-grid div:last-child { border-right: 0; }

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong { margin-bottom: 4px; }
.proof-grid span { color: var(--muted); font-size: .86rem; }

.section { padding-top: 128px; padding-bottom: 128px; }

.section-heading { max-width: 800px; margin-bottom: 64px; }

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

.step {
  background: var(--card);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid var(--line);
  min-height: 230px;
}

.step-no {
  display: block;
  color: var(--accent);
  margin-bottom: 64px;
  font-size: .82rem;
  font-weight: 700;
}

.step p,
.feature-list p,
.expansion-card > p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}

.feature-list > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list span {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
}

.feature-list p { margin: 0; }

.expansion { padding-top: 32px; }

.expansion-card {
  background: var(--accent);
  color: white;
  border-radius: 28px;
  padding: clamp(36px, 7vw, 80px);
}

.expansion-card .eyebrow { color: #b9d2c1; }

.expansion-card > p {
  max-width: 720px;
  color: rgba(255,255,255,.72);
  font-size: 1.03rem;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.chips span {
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .78rem;
}

.cta {
  text-align: center;
  padding-top: 150px;
  padding-bottom: 150px;
}

.cta > p:not(.eyebrow):not(.microcopy) {
  color: var(--muted);
  max-width: 590px;
  margin: 0 auto 28px;
}

.cta .microcopy { margin-top: 14px; }

.signup-form { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; max-width: 650px; margin: 0 auto; }
.signup-form input { width: min(330px, 100%); min-height: 56px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); padding: 0 20px; font: inherit; outline: none; }
.signup-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,71,53,.12); }
.signup-form button { cursor: pointer; }
.signup-form button:disabled { cursor: default; opacity: .72; }
.form-message { flex-basis: 100%; min-height: 20px; margin: 4px 0 0; color: #9c302b; font-size: .82rem; }
.form-message.success { color: #28734c; }
.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; }

.footer {
  min-height: 90px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .8rem;
}

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { gap: 48px; min-height: auto; }
  .steps, .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid div:last-child { border-bottom: 0; }
  .viewer-card { max-width: 680px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav { min-height: 64px; }
  .hero { padding-top: 52px; padding-bottom: 56px; }
  h1 { font-size: clamp(3.5rem, 18vw, 5.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .signup-form { flex-direction: column; align-items: stretch; }
  .signup-form input { width: 100%; }
  .scene { height: 340px; }
  .viewer-footer { gap: 8px; font-size: .66rem; }
  .section { padding-top: 86px; padding-bottom: 86px; }
  .split { gap: 42px; }
  .footer { flex-direction: column; justify-content: center; gap: 4px; }
}
