:root {
  --ink: #0f1f18;
  --muted: #5f6f67;
  --line: #dbe5df;
  --paper: #fbfdf9;
  --white: #ffffff;
  --green: #0f7a4f;
  --green-deep: #0a4e37;
  --mint: #d8f1e7;
  --coral: #f16d4f;
  --gold: #f2b84b;
  --shadow: 0 18px 44px rgba(15, 31, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  background: rgba(251, 253, 249, 0.93);
  border-bottom: 1px solid rgba(15, 31, 24, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #244337;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--green);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(7, 24, 17, 0.82), rgba(7, 24, 17, 0.48), rgba(7, 24, 17, 0.18)),
    url("/assets/images/lagos-apartments-hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-inner {
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 4.6rem;
  line-height: 0.95;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 78px 0;
}

.section-inner {
  width: min(1120px, 88vw);
  margin: 0 auto;
}

.intro-band {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
}

.intro-grid h2,
.download-grid h2,
.how-section h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.1;
}

.intro-grid p:last-child,
.download-grid p {
  margin: 0;
  font-size: 1.05rem;
}

.feature-section {
  background: #f3faf5;
}

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

.feature-card,
.step-card {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-index {
  display: block;
  color: var(--coral);
  font-weight: 900;
}

.feature-card h3,
.step-card h3 {
  margin: 18px 0 10px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.feature-card p,
.step-card p {
  margin: 0;
}

.mockup-section {
  background: var(--paper);
}

.mockup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 54px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.stack-main,
.stack-side {
  position: absolute;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stack-main {
  inset: 0 auto auto 0;
  width: 72%;
  height: 470px;
}

.stack-side {
  right: 0;
  bottom: 0;
  width: 47%;
  height: 290px;
  border: 8px solid var(--paper);
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(340px, 100%);
  aspect-ratio: 9 / 18.4;
  padding: 14px;
  background: #13231b;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 92px;
  height: 20px;
  margin: 0 auto 10px;
  background: #07140f;
  border-radius: 0 0 16px 16px;
}

.app-screen {
  height: calc(100% - 30px);
  padding: 20px;
  overflow: hidden;
  background: #f8fbf4;
  border-radius: 24px;
}

.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.app-header strong,
.schedule-list strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
}

.mini-label,
.amount-panel span,
.schedule-list span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.status-pill {
  padding: 6px 9px;
  color: var(--green-deep);
  background: var(--mint);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 900;
}

.amount-panel {
  margin-top: 26px;
  padding: 22px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.amount-panel span,
.amount-panel small {
  color: rgba(255, 255, 255, 0.76);
}

.amount-panel strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 2rem;
}

.schedule-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.schedule-list div {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.progress-shell {
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  background: #e6eee9;
  border-radius: 8px;
}

.progress-bar {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--coral);
}

.how-section {
  background: var(--green-deep);
  color: var(--white);
}

.how-section .section-kicker,
.download-section .section-kicker {
  color: var(--gold);
}

.how-section h2 {
  max-width: 680px;
  color: var(--white);
}

.steps-grid {
  margin-top: 34px;
}

.step-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.step-card span {
  color: var(--gold);
  font-weight: 900;
}

.step-card h3 {
  color: var(--white);
}

.step-card p {
  color: rgba(255, 255, 255, 0.76);
}

.download-section {
  padding: 82px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 31, 24, 0.9), rgba(15, 31, 24, 0.72)),
    url("/assets/images/lagos-street-community.jpg");
  background-size: cover;
  background-position: center;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 42px;
  align-items: center;
}

.download-grid h2 {
  color: var(--white);
}

.download-grid p {
  max-width: 600px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.store-badges {
  display: grid;
  gap: 14px;
}

.store-badge {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.store-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 900;
}

.store-badge small,
.store-badge strong,
.store-badge em {
  display: block;
}

.store-badge small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.store-badge strong {
  margin-top: 2px;
  font-size: 1.1rem;
}

.store-badge em {
  padding: 7px 9px;
  color: var(--green-deep);
  background: var(--mint);
  border-radius: 8px;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.is-disabled {
  cursor: default;
}

.site-footer {
  background: #07140f;
  color: var(--white);
}

.footer-inner {
  width: min(1120px, 88vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
}

.brand-footer .brand-mark {
  background: var(--gold);
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-header {
  position: relative;
}

.legal-hero {
  padding: 70px 0 54px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 78, 55, 0.92), rgba(15, 122, 79, 0.78)),
    url("/assets/images/lagos-apartments-hero.jpg");
  background-size: cover;
  background-position: center;
}

.legal-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 3.3rem;
  line-height: 1;
}

.legal-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.legal-content {
  padding: 54px 0 82px;
}

.legal-content section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content section:first-child {
  padding-top: 0;
}

.legal-content h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.35rem;
}

.legal-content p {
  max-width: 880px;
  margin: 0 0 12px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .intro-grid,
  .mockup-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .step-card {
    min-height: 0;
  }

  .image-stack {
    min-height: 460px;
  }

  .stack-main {
    width: 76%;
    height: 390px;
  }

  .stack-side {
    width: 54%;
    height: 230px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 5vw;
  }

  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    min-height: 74vh;
  }

  .hero-inner {
    padding: 52px 0;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .section {
    padding: 56px 0;
  }

  .intro-grid h2,
  .download-grid h2,
  .how-section h2 {
    font-size: 1.85rem;
  }

  .feature-card,
  .step-card {
    padding: 22px;
  }

  .image-stack {
    min-height: 390px;
  }

  .stack-main {
    width: 84%;
    height: 330px;
  }

  .stack-side {
    width: 58%;
    height: 180px;
    border-width: 6px;
  }

  .phone {
    width: min(320px, 100%);
  }

  .store-badge {
    grid-template-columns: 40px 1fr;
  }

  .store-badge em {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero h1 {
    font-size: 2.35rem;
  }
}
