:root {
  color-scheme: light;
  --green: #0b4f45;
  --green-bright: #167f6c;
  --ink: #10231e;
  --muted: #5d6d67;
  --paper: #f7faf8;
  --line: #dce7e2;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
}

button, input, select { font: inherit; }

a { color: inherit; }

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: url("/assets/nairobi-property-hero.png") center center / cover no-repeat;
  color: #fff;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 29, 25, 0.9) 0%, rgba(4, 29, 25, 0.7) 42%, rgba(4, 29, 25, 0.2) 72%, rgba(4, 29, 25, 0.06) 100%);
}

.nav,
.hero-content,
.hero-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 25px;
  font-weight: 800;
}

.brand > span:last-child > span { color: #77dbc7; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 6px;
  font-size: 17px;
}

.status {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
  background: rgba(4, 29, 25, 0.42);
  font-size: 13px;
  font-weight: 700;
}

.hero-content {
  align-self: center;
  padding-block: 72px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: #95e0d1;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(58px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 25px 0 34px;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
}

.launch-form {
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) minmax(155px, 0.8fr) auto;
  gap: 8px;
  max-width: 760px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.launch-form input,
.launch-form select {
  min-width: 0;
  height: 50px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.launch-form input:focus,
.launch-form select:focus { border-color: var(--green-bright); }

.launch-form select { border-left-color: var(--line); }

.launch-form button {
  height: 50px;
  border: 0;
  border-radius: 5px;
  padding: 0 20px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.launch-form button:hover { background: #073c34; }
.launch-form button:disabled { cursor: wait; opacity: 0.7; }

.form-message {
  min-height: 21px;
  margin: 10px 0 0;
  font-size: 14px;
}

.hero-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 13px;
  font-weight: 700;
}

.hero-footer span:nth-child(2) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #95e0d1;
}

.next-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) 1.35fr;
  gap: 48px;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 54px;
}

.next-band .kicker { color: var(--green-bright); }

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0;
}

.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 10px;
}

.locations span {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px max(24px, calc((100% - 1180px) / 2));
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}

.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;
}

@media (max-width: 720px) {
  .hero { min-height: 92vh; background-position: 58% center; }
  .hero-shade { background: rgba(4, 29, 25, 0.72); }
  .nav, .hero-content, .hero-footer, .next-band { width: min(100% - 32px, 1180px); }
  .nav { padding-block: 20px; }
  .brand { font-size: 22px; }
  .status { font-size: 12px; }
  .hero-content { padding-block: 48px; }
  h1 { font-size: clamp(54px, 19vw, 78px); }
  .lead { font-size: 18px; }
  .launch-form { grid-template-columns: 1fr; }
  .launch-form select { border-left-color: transparent; border-top-color: var(--line); }
  .launch-form button { width: 100%; }
  .next-band { grid-template-columns: 1fr; gap: 26px; padding-block: 40px; }
  .locations { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
