:root {
  --ink: #1f3a52;
  --accent: #c0284f;
  --sage: #b9cf9b;
  --sage-light: #eef3e7;
  --border: #e3b9c6;
  font-family: 'Nunito Sans', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--sage-light);
  color: var(--ink);
}

h1, h2, h3, .brand-name {
  font-family: 'Lora', serif;
}

a { color: var(--accent); }

.top-bar {
  background: #d9e4cd;
  text-align: center;
  padding: 14px 16px;
  font-size: 0.95rem;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 0;
}

.card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.hero-photo-col {
  position: relative;
  flex: 1 1 380px;
  min-height: 340px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-photo-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0 0 28px;
}

.brand-name {
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-copy {
  flex: 1 1 340px;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  color: var(--accent);
  margin: 0 0 16px;
}

.eligibility {
  font-weight: 600;
  margin: 0;
}

.form-panel {
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 32px;
  border-top: 1px solid #eee;
}

.form-intro {
  flex: 1 1 280px;
}

.form-intro h2 {
  color: #6b8f4e;
  margin-top: 0;
}

.lead-form {
  flex: 1 1 280px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 14px;
}

.lead-form label {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.lead-form label span { color: var(--accent); }

.lead-form input {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 1rem;
  width: 100%;
}

.lead-form button {
  grid-column: 2;
  justify-self: start;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-top: 6px;
}

.lead-form button:hover { background: #a11f41; }

.form-status {
  grid-column: 2;
  margin: 4px 0 0;
  font-weight: 600;
}

.features {
  max-width: 900px;
  margin: 56px auto 0;
  text-align: center;
  padding: 0 16px;
}

.features-title {
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  text-align: left;
  margin-top: 36px;
}

.feature h3 {
  color: var(--accent);
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

.commitment {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  color: var(--ink);
  margin: 56px 0 8px;
}

.cta-bar {
  margin-top: 40px;
  background: var(--sage);
  color: #fff;
  text-align: center;
  padding: 22px 16px;
  font-weight: 600;
}

.cta-bar a { color: #fff; text-decoration: underline; }

.cta-sub {
  display: inline-block;
  margin-top: 6px;
  font-weight: 400;
}

.site-footer {
  text-align: center;
  padding: 18px;
  font-size: 0.85rem;
  color: #6a7a70;
}

@media (max-width: 860px) {
  .hero-photo-col { min-height: 220px; }
  .hero-copy { padding: 20px; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form button, .form-status { grid-column: 1; }
}
