:root {
  --ink: #0f172a;
  --muted: #475569;
  --soft: #f6f8f7;
  --line: #d8e1e8;
  --teal: #0d9488;
  --teal-dark: #0b766d;
  --clay: #b65c3a;
  --cream: #fbfaf7;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(216, 225, 232, 0.8);
  backdrop-filter: blur(18px);
}

.brand img {
  width: min(260px, 58vw);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  white-space: nowrap;
}

.nav-cta {
  color: var(--teal);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: min(620px, calc(100vh - 84px));
  padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 64px) clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.pipeline-panel,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pipeline-panel {
  padding: 24px;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.pipeline-steps {
  display: grid;
  gap: 12px;
  padding: 22px 0;
}

.pipeline-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.pipeline-step.active {
  border-color: rgba(13, 148, 136, 0.45);
  background: rgba(13, 148, 136, 0.08);
}

.step-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.pipeline-step p,
.feature p,
.contact-copy p,
.form-note {
  margin-bottom: 0;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.metric-row div {
  padding: 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  margin-bottom: 4px;
  font-size: 24px;
}

.metric-row span {
  color: #cbd5e1;
  font-size: 13px;
}

.proof-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: var(--ink);
}

.proof-band span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 14px;
}

.section,
.contact-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.two-column,
.split-band,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature {
  position: relative;
  padding: 22px 22px 22px 72px;
  border-top: 1px solid var(--line);
}

.feature-number {
  position: absolute;
  left: 0;
  top: 22px;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(182, 92, 58, 0.12);
  color: var(--clay);
  font-weight: 900;
}

.split-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.workflow-band-alt {
  background: var(--soft);
}

.workflow-band p {
  max-width: 660px;
  color: var(--muted);
}

.workflow-grid {
  display: grid;
  gap: 14px;
}

.workflow-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.workflow-item h3 {
  margin-bottom: 8px;
}

.workflow-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.math-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.math-row,
.math-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.math-row span,
.math-result span {
  color: var(--muted);
  font-weight: 700;
}

.math-row strong,
.math-result strong {
  color: var(--ink);
  font-size: 22px;
  text-align: right;
  white-space: nowrap;
}

.math-result {
  margin: 14px 0 18px;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
}

.math-result span {
  color: #cbd5e1;
}

.math-result strong {
  color: var(--white);
}

.math-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.fit-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: var(--white);
  color: var(--muted);
  font-weight: 650;
}

.contact-section {
  align-items: center;
}

.contact-copy {
  max-width: 560px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.lead-form .full,
.form-button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(13, 148, 136, 0.18);
  border-color: var(--teal);
}

.form-button {
  width: 100%;
  border: 0;
  font-size: 16px;
}

.form-note {
  text-align: center;
  font-size: 14px;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.site-footer img {
  width: 28px;
  height: 28px;
}

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

.site-footer a {
  margin-left: auto;
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero,
  .two-column,
  .workflow-band,
  .split-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .pipeline-panel {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: min(236px, 76vw);
  }

  .hero-actions,
  .metric-row,
  .lead-form {
    grid-template-columns: 1fr;
  }

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

  .lead-form label,
  .lead-form .full,
  .form-button,
  .form-note {
    grid-column: 1;
  }

  .pipeline-step {
    grid-template-columns: 40px 1fr;
    padding: 14px;
  }

  .step-icon {
    width: 34px;
    height: 34px;
  }

  .site-footer a {
    width: 100%;
    margin-left: 0;
  }
}
