:root {
  --bg: #f5f0e4;
  --card: #f2ead9;
  --text: #21342e;
  --muted: #5b665f;
  --accent: #0f4b42;
  --accent-soft: #2e7a6f;
  --gold: #b08a4a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #efe7d5;
  border-bottom: 1px solid #dfd2bb;
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: radial-gradient(circle at bottom right, #d8c7a7 0, transparent 55%);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(245, 240, 228, 0.9), rgba(245, 240, 228, 0.55)),
    linear-gradient(to top, rgba(15, 43, 37, 0.2), rgba(15, 43, 37, 0.05)),
    url("./assets/hero-image.png") center center / cover no-repeat;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.03;
  margin: 10px 0 16px;
}

.hero-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
  max-width: 56ch;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.lead-card {
  background: var(--card);
  border: 1px solid #e0d2b6;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 38px rgba(29, 46, 39, 0.1);
}

.lead-card h2 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.lead-card label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.lead-card input,
.lead-card select {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #d4c6aa;
  background: #fbf8f0;
  border-radius: 8px;
  font-size: 0.95rem;
}

.lead-card button {
  width: 100%;
  border: 0;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.lead-card button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.features {
  padding: 24px 0 56px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cards article {
  background: #f7f1e6;
  border: 1px solid #e2d6bf;
  border-radius: 12px;
  padding: 20px;
}

.cards h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.reach {
  background: linear-gradient(90deg, #0f4b42, #08352e);
  color: #ecf7f3;
  padding: 52px 0;
}

.filler-content {
  padding: 18px 0 42px;
}

.filler-wrap {
  background: #f7f1e6;
  border: 1px solid #e3d8c4;
  border-radius: 14px;
  padding: 28px;
}

.filler-wrap h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.filler-wrap p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 10px;
}

.bottom-lead {
  padding: 48px 0 60px;
}

.bottom-lead-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.bottom-lead-wrap h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 8px 0 12px;
}

.bottom-lead-wrap p {
  color: var(--muted);
}

.lead-card.compact h2 {
  display: none;
}

.reach-wrap h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stats div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.stats span {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f4d79d;
}

.stats p {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

footer {
  background: #0d2f29;
  color: #dfe8e4;
}

.result-page {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 50px 0;
}

.result-wrap {
  width: min(760px, 92%);
}

.result-card {
  background: #f7f1e6;
  border: 1px solid #e2d6bf;
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 18px 35px rgba(15, 37, 31, 0.1);
}

.result-card h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 8px 0 10px;
}

.result-card p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 58ch;
}

.result-card .btn {
  margin-top: 20px;
}

.result-card.success {
  border-color: #92bfa0;
}

.result-card.failed {
  border-color: #c7a594;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .cards,
  .stats,
  .bottom-lead-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid .hero-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  nav {
    display: none;
  }

  .hero-grid,
  .cards,
  .stats,
  .bottom-lead-wrap,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-wrap {
    gap: 4px;
  }
}
