:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #5d6c66;
  --line: #d8e0dc;
  --paper: #f6f8f5;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --accent-soft: #d9f4ee;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  align-items: center;
  background: rgba(246, 248, 245, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand span {
  color: var(--accent);
  font-style: italic;
}

nav a {
  color: var(--accent-dark);
  font-weight: 700;
}

main {
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.hero {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.hero-copy {
  padding-top: 28px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  max-width: 760px;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 22px 0 0;
  max-width: 560px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-benefits span {
  background: var(--accent-soft);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 8px 12px;
}

.value-section,
.how-it-works,
.trust-section {
  margin: clamp(48px, 8vw, 92px) auto 0;
  max-width: 1180px;
}

.value-section {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.value-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
}

.value-card h2,
.trust-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0;
}

.value-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
  margin: 14px 0 0;
}

.accent-card {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
}

.accent-card .eyebrow,
.accent-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0;
}

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

.step,
.trust-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.step span {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-flex;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  margin-bottom: 16px;
  width: 34px;
}

.step h3,
.trust-grid h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.step p,
.trust-grid p {
  color: var(--muted);
  margin: 0;
}

.trust-section {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(217, 244, 238, 0.45));
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 42px);
}

.trust-section > div:first-child {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.trust-section h2 {
  max-width: 680px;
}

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

.intake-form,
.lead-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(23, 35, 31, 0.08);
}

.intake-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.form-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.form-intro h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  margin: 0;
}

.form-intro p:not(.eyebrow) {
  color: var(--muted);
  margin: 10px 0 0;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  background: #fbfcfa;
  border: 1px solid #c8d2cd;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
  outline: none;
}

button {
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 48px;
  padding: 0 18px;
}

button:hover {
  background: var(--accent-dark);
}

.form-message {
  color: var(--muted);
  margin: 0;
  min-height: 24px;
}

.success {
  color: var(--accent-dark);
  font-weight: 700;
}

.error {
  color: var(--danger);
}

.empty-state {
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  margin: 0;
  padding: 28px;
  text-align: center;
}

.login-main {
  display: grid;
  min-height: calc(100vh - 85px);
  place-items: center;
}

.login-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(23, 35, 31, 0.08);
  display: grid;
  gap: 18px;
  max-width: 460px;
  padding: clamp(22px, 5vw, 38px);
  width: min(100%, 460px);
}

.login-card h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.login-card p:not(.eyebrow):not(.form-message) {
  color: var(--muted);
  margin: 0;
}

.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  margin-top: clamp(42px, 7vw, 84px);
  padding: 30px clamp(20px, 5vw, 64px);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.footer-logo {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 8px;
}

.footer-logo span {
  color: var(--accent);
  font-style: italic;
}

.footer-tagline,
.footer-copy {
  color: var(--muted);
  margin: 0;
}

.footer-copy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 750;
  padding: 10px 14px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .hero,
  .form-grid,
  .value-section,
  .steps,
  .trust-grid,
  .lead-details {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .lead-card-header,
  .trust-section > div:first-child,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-copy {
    white-space: normal;
  }

  h1 {
    font-size: clamp(2.1rem, 13vw, 3.4rem);
  }
}
