/* Agent Lead Engine: AI setup for small offices. Light, lavender and purple, Inter with IBM Plex Mono labels. */
:root {
  --ground: #f7f4ff;
  --panel: #ffffff;
  --lav: #f1ebff;
  --lav-2: #e6dcff;
  --purple: #6200ff;
  --purple-dark: #4b00c4;
  --ink: #241d3b;
  --muted: #625a79;
  --line: #e4daf8;
  --ok: #0f6f47;
  --no: #9b2c3a;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(36, 29, 59, 0.07);
  --measure: 64ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--purple); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* Header */
.header { background: rgba(247, 244, 255, 0.92); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand img { height: 40px; width: auto; display: block; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--purple); }
.nav-links a.btn { color: #fff; }

/* Type */
.eyebrow { font: 600 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 750; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 58ch; margin-top: 18px; }
.lede-sm { color: var(--muted); max-width: var(--measure); margin-top: 10px; }
.note { font-size: 14px; color: var(--muted); max-width: 58ch; }
.list-gap { margin-top: 18px; }
.more-link { margin-top: 18px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--purple); color: #fff; text-decoration: none; font-weight: 650; font-size: 16px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid var(--purple);
}
.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); border-color: var(--purple); color: var(--purple); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Sections */
section { padding-block: 72px; }
.band { background: var(--lav); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Hero */
.hero { padding-block: 64px 72px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.hero .note { margin-top: 18px; }
.leave { padding: 26px 26px 22px; }
.card-title { font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; margin-bottom: 14px; }

/* Lists with markers */
.checks, .crosses { list-style: none; display: grid; gap: 10px; }
.checks li, .crosses li { position: relative; padding-left: 30px; }
.checks li::before, .crosses li::before {
  position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font: 700 12px/1 var(--sans);
}
.checks li::before { content: "\2713"; background: #e2f3ea; color: var(--ok); }
.crosses li::before { content: "\2715"; background: #f8e4e7; color: var(--no); }

.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fit h3 { margin-bottom: 12px; }

/* Steps: a real sequence */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 8px; align-content: start; }
.steps li::before {
  content: counter(step); font: 600 14px/1 var(--mono); color: var(--purple);
  width: 34px; height: 34px; border-radius: 50%; background: var(--lav-2); display: grid; place-items: center; margin-bottom: 6px;
}
.steps p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 26px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font: 500 22px/1 var(--mono); color: var(--purple); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: var(--measure); }

/* Final CTA */
.final { padding-block: 72px 88px; }
.final-inner { background: var(--ink); color: #fff; border-radius: 20px; padding: 44px clamp(22px, 5vw, 56px); display: grid; gap: 12px; }
.final-inner h2 { color: #fff; }
.final-inner p { color: #d9d2ec; max-width: 58ch; }
.final-inner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.final-inner .btn-ghost:hover { background: transparent; border-color: #fff; color: #fff; }

/* Plain content pages */
.page { padding-block: 56px 72px; }
.page h1 { font-size: clamp(32px, 4.4vw, 48px); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; margin-top: 36px; margin-bottom: 10px; letter-spacing: -0.02em; }
.prose h3 { margin-top: 22px; margin-bottom: 6px; }
.prose p, .prose li { color: var(--ink); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 6px; margin-top: 10px; }
.updated { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; margin-top: 26px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }

/* Booking */
.booking { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.booking .note + .note { margin-top: 10px; }
.calendly-inline-widget { min-width: 0; width: 100%; height: 760px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--purple); }

@media (max-width: 960px) {
  .hero-grid, .grid-2, .booking { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.steps-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  section { padding-block: 52px; }
  .hero { padding-block: 40px 52px; }
  .nav { flex-wrap: wrap; }
  .nav-links { gap: 14px; }
  .nav-links .hide-sm { display: none; }
  .fit, .steps { grid-template-columns: minmax(0, 1fr); }
  .calendly-inline-widget { height: 900px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
