:root {
  --ink: #14101f;
  --muted: #5b5670;
  --brand: #321f50;
  --accent: #6fc7b2;
  --surface: #ffffff;
  --background: #f6f5fa;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 5vw, 64px);
}

.brand { font-weight: 800; font-size: 1.25rem; color: var(--brand); text-decoration: none; }

.hero, .section, .thanks {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) clamp(16px, 5vw, 64px);
}

.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; margin: 0 0 16px; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--brand); color: #fff; }
.button.secondary { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.button:disabled { opacity: .6; cursor: progress; }

.demo-form {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 520px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
}
.demo-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.demo-form input, .demo-form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #d7d3e3;
  border-radius: 10px;
}
.form-note { margin: 0; color: var(--muted); }

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

.footer { padding: 32px clamp(16px, 5vw, 64px); color: var(--muted); font-size: .9rem; }

h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); line-height: 1.15; margin: 0 0 16px; color: var(--brand); }
h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--ink); }
.section > p { max-width: 65ch; color: var(--muted); font-size: 1.05rem; }
.hero .actions { margin-top: 28px; }

.problem { border-top: 1px solid #e4e1ee; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
}
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand);
  font-weight: 800;
}
.steps p, .cards p { margin: 0; color: var(--muted); }

.cards {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.cards li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--accent);
}
.integrations { margin-top: 24px; }

.faq details {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 12px;
  max-width: 760px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.contact .demo-form { margin-top: 24px; }
.footer a { color: var(--brand); }

.section { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(28px, 5vw, 56px); }
.hero { padding-bottom: clamp(32px, 6vw, 72px); }
.problem { padding-top: clamp(40px, 6vw, 72px); }

@media (min-width: 600px) {
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .hero, .section { max-width: 1100px; }
}
