:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #63716b;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dbe2dc;
  --mint: #cdebd9;
  --green: #2f7d54;
  --teal: #0d6b72;
  --coral: #e97d5e;
  --gold: #e8b04b;
  --shadow: 0 24px 70px rgba(23, 33, 29, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 226, 220, 0.84);
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 67px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.56fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

#match-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  background: linear-gradient(135deg, rgba(205, 235, 217, 0.62), rgba(232, 176, 75, 0.22));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero-copy,
.hero-panel,
.request-form,
.request-copy {
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.hero-text {
  max-width: 680px;
  color: #3f4d47;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 780;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.hero-panel {
  display: grid;
  gap: 16px;
  width: min(100%, 420px);
  justify-self: end;
  padding: 20px;
  border: 1px solid rgba(219, 226, 220, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-row {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(205, 235, 217, 0.44), rgba(255, 255, 255, 0.76));
  color: var(--muted);
}

.stat-subtext {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.35;
}

.stat-number {
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 850;
  line-height: 1;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.compact {
  background: var(--surface);
}

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

.benefit-grid,
.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.benefit-grid article,
.task-item {
  min-height: 220px;
  padding: 24px;
  background: var(--surface);
}

.benefit-grid p,
.task-item li,
.request-copy p,
.form-note {
  color: var(--muted);
}

.task-band {
  background: #edf5ef;
}

.task-item ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.task-icon {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--coral);
  font-weight: 850;
}

.task-note {
  max-width: 760px;
  margin: 28px 0 0;
  color: #3f4d47;
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
  font-weight: 650;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--surface);
}

.request-flow {
  display: grid;
  gap: 18px;
}

.request-copy {
  position: sticky;
  top: 100px;
}

.request-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: #34413b;
  font-size: 0.92rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd7cf;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(13, 107, 114, 0.16);
}

.submit-button {
  width: 100%;
  margin-top: 4px;
}

.next-steps {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(47, 125, 84, 0.2);
  border-radius: 8px;
  background: rgba(205, 235, 217, 0.28);
}

.next-steps h3 {
  margin: 0;
}

.next-steps ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: #3f4d47;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  font-weight: 780;
}

.site-footer a {
  color: var(--mint);
}

@media (max-width: 980px) {
  .hero,
  .request-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
  }

  .benefit-grid,
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.4rem);
  }

  .benefit-grid,
  .task-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .benefit-grid article,
  .task-item {
    min-height: 0;
  }

  .task-icon {
    margin-bottom: 22px;
  }

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