:root {
  --paper: #fff;
  --soft: #f8f7fc;
  --hero: #f4f2fa;
  --surface: #fff;
  --ink: #101329;
  --muted: #595d76;
  --line: #e2def0;
  --brand: #6544d8;
  --brand-dark: #5130b8;
  --cyan: #45d9e8;
  --teal: #087d91;
  --dark: #101329;
  --max: 1240px;
  --gutter: 20px;
  --radius: 12px;
}

* {
  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", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  max-width: 45vw;
  padding: 0;
  background: transparent;
}

.brand img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
}

.nav a {
  padding: 12px 0;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--brand);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 14px 19px !important;
  border-radius: 8px;
  background: var(--brand);
  color: #fff !important;
}

main {
  background:
    radial-gradient(ellipse at 90% 10%, #e8f6fb 0, transparent 42%),
    radial-gradient(ellipse at 0 0, #eae4ff 0, transparent 48%),
    var(--hero);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.92fr);
  gap: 56px;
  align-items: center;
  max-width: var(--max);
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 58px 0 46px;
  color: var(--ink);
  background: transparent;
}

.hero-copy {
  padding: 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(3rem, 4.7vw, 4.55rem);
  font-weight: 780;
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 750;
}

h3 {
  font-size: 1.4rem;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.17rem;
  line-height: 1.7;
}

.hero-actions,
.chat-form,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button,
.chat-form button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: var(--brand);
  color: #fff;
}

.primary:hover,
.primary:focus-visible {
  background: var(--brand-dark);
}

.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #aebacb;
}

.secondary:hover,
.secondary:focus-visible {
  border-color: var(--ink);
  background: var(--soft);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 680px;
  margin: 26px 0 0;
}

.proof div,
.agent-panel,
.feature-grid article,
.price-card,
.demo,
.simple-card,
.lead-table-wrap {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
}

.proof div {
  padding: 16px;
}

.proof dt {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.agent-panel {
  padding: 32px 34px;
  border-color: #d8cfef;
  box-shadow: 0 22px 65px #30135b0b;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: #54637a;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(8, 125, 145, 0.1);
}

.task-list {
  display: grid;
  gap: 14px;
  padding-top: 24px;
}

.task-list div {
  padding: 18px;
  border-radius: 12px;
  background: var(--soft);
}

.task-list strong,
.task-list span {
  display: block;
}

.task-list span,
.feature-grid p,
.price-card p,
.split p,
.contact-copy p {
  color: var(--muted);
}

.section {
  max-width: var(--max);
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 58px 0;
  background: var(--paper);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  max-width: 760px;
}

.band {
  max-width: none;
  width: 100%;
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2));
  padding-right: max(var(--gutter), calc((100% - var(--max)) / 2));
  background: var(--paper);
}

.feature-grid,
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article,
.price-card {
  padding: 28px;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: #9b82ed;
  background: #f6f3ff;
}

.price {
  margin: 20px 0 18px;
  color: var(--ink);
  font-size: clamp(2.55rem, 4vw, 3.1rem);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 1;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: 38px;
  align-items: center;
  background: var(--soft);
}

.demo-section .section-heading {
  margin-bottom: 0;
}

.demo-section .section-heading h2 {
  max-width: 540px;
  font-size: clamp(2.15rem, 3vw, 3rem);
}

.demo {
  padding: 24px;
}

.chat-window {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 165px;
  max-height: 420px;
  overflow: auto;
  padding: 4px;
}

.message {
  max-width: 86%;
  padding: 13px 15px;
  border-radius: 12px;
}

.message.agent {
  background: var(--soft);
  color: var(--ink);
}

.message.user {
  justify-self: end;
  background: var(--brand);
  color: #fff;
}

.chat-form {
  margin-top: 16px;
}

.chat-form input,
.lead-form input,
.lead-form textarea,
.lead-followup select,
.lead-followup textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #bfcbd9;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

.chat-form input {
  flex: 1 1 260px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 50px;
  align-items: center;
  background: var(--dark);
}

.split h2,
.split .eyebrow {
  color: #fff;
}

.split p {
  color: #b6c3d6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 52px;
  align-items: start;
  background: var(--hero);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 32px;
  border: 1px solid #d5ddea;
  border-radius: 15px;
  background: #fff;
}

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

.honeypot {
  display: none;
}

.whatsapp {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 55px 0 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

.simple-page,
.legal-page,
.admin-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.simple-card {
  max-width: 760px;
  padding: 28px;
}

.legal-page {
  display: grid;
  gap: 28px;
}

.legal-page section {
  max-width: 820px;
}

.legal-page code {
  color: var(--brand);
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-table-wrap {
  overflow-x: auto;
}

.lead-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.lead-table th,
.lead-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.lead-table th {
  color: var(--brand);
  font-size: 13px;
  text-transform: uppercase;
}

.lead-followup {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.lead-followup small {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px var(--gutter);
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .demo-section,
  .split,
  .contact,
  .feature-grid,
  .pricing {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .demo-section .section-heading h2 {
    max-width: 720px;
  }

  .proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand,
  .brand img {
    width: 180px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .chat-form button,
  .lead-form button {
    width: 100%;
  }

  .section,
  .band,
  .contact,
  .demo-section,
  .split {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 12px;
  }
}
