:root {
  color-scheme: light;
  --ink: #172321;
  --muted: #5a6a66;
  --paper: #fffaf2;
  --surface: #ffffff;
  --line: #ded8ce;
  --green: #24504a;
  --green-2: #dceee8;
  --coral: #ff6b4a;
  --amber: #ffbd59;
  --blue: #dce9f7;
  --shadow: 0 18px 48px rgba(29, 45, 42, 0.12);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(36, 80, 74, 0.12);
  display: flex;
  height: 68px;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.12rem;
  font-weight: 780;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: var(--amber);
  display: inline-flex;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.94rem;
  color: var(--muted);
}

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

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  min-height: calc(88svh - 68px);
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 56px);
}

.hero-copy {
  max-width: 680px;
}

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

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

h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.7rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 1.08rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 620px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--green);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.button.primary {
  background: var(--green);
  color: #fffaf2;
}

.button.secondary {
  background: transparent;
  color: var(--green);
}

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

.hero-visual {
  margin: 0;
}

.hero-visual img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(56px, 7vw, 104px) clamp(18px, 4vw, 56px);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

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

.feature-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature-grid p,
.steps span,
.split-list li,
.result-panel p {
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  align-items: start;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 18px;
}

.steps li::before {
  align-items: center;
  background: var(--green-2);
  border-radius: 8px;
  color: var(--green);
  content: counter(step);
  counter-increment: step;
  display: inline-flex;
  font-weight: 820;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.steps strong,
.steps span {
  grid-column: 2;
}

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

.split-list > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.split-list ul {
  margin: 0;
  padding-left: 20px;
}

.split-list li + li {
  margin-top: 10px;
}

.intake-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.lead-form,
.result-panel,
.scheduler {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(29, 45, 42, 0.07);
}

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

label {
  color: var(--green);
  display: grid;
  font-size: 0.91rem;
  font-weight: 760;
  gap: 7px;
}

label:has(textarea),
.checkbox,
.lead-form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  background: #fffdf8;
  border: 1px solid #cfc7bb;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(36, 80, 74, 0.16);
}

.checkbox {
  align-items: center;
  display: flex;
  gap: 10px;
}

.checkbox input {
  min-height: auto;
  width: auto;
}

.result-panel {
  padding: 22px;
  position: sticky;
  top: 90px;
}

pre {
  background: #172321;
  border-radius: 8px;
  color: #e7f3ed;
  font-size: 0.78rem;
  max-height: 360px;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
}

.scheduler {
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
}

.scheduler iframe {
  border: 0;
  display: block;
  height: 680px;
  width: 100%;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 820;
}

@media (max-width: 980px) {
  .hero,
  .intake-layout,
  .split-list {
    grid-template-columns: 1fr;
  }

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

  .result-panel {
    position: static;
  }
}

@media (max-width: 660px) {
  .site-header {
    height: auto;
    min-height: 64px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

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