:root {
  --ink: #253029;
  --muted: #657064;
  --paper: #f7f9f4;
  --white: #ffffff;
  --line: #dfe7dc;
  --green-900: #173f35;
  --green-700: #1f684e;
  --coral: #ff785a;
  --amber: #f6bf3d;
  --sky: #dceff2;
  --shadow: 0 18px 50px rgba(23, 63, 53, 0.2);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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;
}

svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247, 249, 244, 0.94);
  border-bottom: 1px solid rgba(223, 231, 220, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 38px;
  flex: 0 0 42px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
  background-image: url("assets/hero-home.png");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 24, 0.86) 0%, rgba(16, 44, 35, 0.66) 42%, rgba(16, 44, 35, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.18));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 460px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0;
}

.hero-copy {
  color: var(--white);
  max-width: 700px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.75rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--coral);
  color: #231512;
  box-shadow: 0 14px 34px rgba(255, 120, 90, 0.32);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button-submit {
  width: 100%;
  background: var(--green-900);
  color: var(--white);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.trust-row li {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 800;
}

.lead-form {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-heading h2 {
  margin: 0 0 20px;
  font-size: 1.45rem;
  line-height: 1.1;
}

label {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid #cbd8ca;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus {
  border-color: var(--green-700);
  outline: 3px solid rgba(31, 104, 78, 0.18);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-status {
  color: var(--green-700);
  font-weight: 900;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-band p {
  margin: 0;
  padding: 18px;
  background: var(--white);
  color: var(--green-900);
  font-weight: 900;
  text-align: center;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2,
.split h2,
.final-cta h2,
.prose h1 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--sky);
  color: var(--green-900);
  font-weight: 900;
}

.process-card h3 {
  margin: 20px 0 8px;
  font-size: 1.2rem;
}

.process-card p,
.split p,
.faq p,
.prose p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 6vw, 78px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.situation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.situation-list span {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 850;
}

.comparison {
  padding-top: 74px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: #edf5e9;
  color: var(--green-900);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  padding: 18px 20px;
  color: var(--green-900);
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 70px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
}

.final-cta h2 {
  color: var(--white);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green-700);
  font-weight: 850;
}

.policy-page {
  min-height: calc(100vh - 70px);
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin: 34px 0 8px;
  color: var(--green-900);
}

.prose a {
  color: var(--green-700);
  font-weight: 850;
  text-decoration: underline;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    max-width: none;
  }

  .signal-band,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .brand strong {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-call {
    width: 42px;
    padding: 0;
  }

  .header-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 28, 24, 0.91) 0%, rgba(16, 44, 35, 0.7) 58%, rgba(16, 44, 35, 0.38) 100%);
  }

  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .field-grid,
  .signal-band,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .final-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
