/* Lead / inner pages */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 2.75rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #061225;
  background-image: var(--page-hero-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(6, 18, 37, 0.88) 0%, rgba(11, 28, 61, 0.62) 55%, rgba(11, 28, 61, 0.4) 100%),
    linear-gradient(180deg, transparent 0%, rgba(6, 18, 37, 0.45) 100%);
}
.page-hero .section-kicker {
  color: #9ec0ff !important;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 16ch;
}
.page-hero p {
  margin: 0;
  max-width: 42ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.lead-section {
  padding: 3.5rem 0 5rem;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.lead-copy h2 {
  font-family: var(--display);
  color: var(--navy);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  line-height: 1.1;
}
.lead-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1.04rem;
}

/* Form is an interaction surface — keep container, soften chrome */
.lead-form {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 0;
  padding: 1.75rem 1.5rem;
  box-shadow: none;
  position: relative;
}
.lead-form::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--sapphire));
  border-radius: 2px;
}
.lead-form h3 {
  margin: 0 0 1.15rem;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
}
.form-row {
  margin-bottom: 0.95rem;
}
.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.form-row input,
.form-row select {
  width: 100%;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  font: inherit;
  background: transparent;
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0.75rem 0 1rem;
}
.consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.consent-intro {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.consent-intro strong {
  color: var(--navy);
}
.partner-consents {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  max-height: 240px;
  overflow-y: auto;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line, #d8dee6);
  border-radius: 8px;
  background: #fff;
}
.partner-consent {
  margin: 0;
}
.consent-note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}
.form-msg {
  display: none;
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form-msg.ok {
  display: block;
  background: var(--accent-soft);
  color: var(--sapphire);
}
.form-msg.err {
  display: block;
  background: #fdecec;
  color: #a12828;
}
.field-hint, .zip-hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  min-height: 1.1em;
}
.tcpa-block {
  margin: 1rem 0;
  padding: 1rem 0 1rem 1rem;
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: var(--accent-soft);
}
.tcpa-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sapphire);
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tcpa-disclosure {
  max-height: 100px;
  overflow-y: auto;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.75rem;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  color: var(--muted);
}
.tcpa-disclaimer {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}
.tcpa-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.7rem 0;
  border-radius: 0;
  background: transparent;
  border: none;
}
.tcpa-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.tcpa-consent--error {
  color: #a12828;
}
.form-message--success { background: var(--accent-soft); color: var(--sapphire); }
.form-message--error { background: #fdecec; color: #a12828; }
.form-message--loading { background: #e8f0fb; color: #1565c0; }

.partners-list {
  columns: 3;
  column-gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.partners-list li {
  break-inside: avoid;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .page-hero {
    min-height: 260px;
    padding: 3rem 0 2.25rem;
  }
  .partners-list {
    columns: 1;
  }
}
