:root {
  --green: #087f5b;
  --blue: #23566b;
  --yellow: #f2c14e;
  --bg: #f7f9fa;
  --text: #1e252b;
  --muted: #5d6b76;
  --line: #d8e0e5;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(30, 37, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.chat-open {
  overflow: hidden;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 224, 229, 0.8);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand img {
  display: block;
  height: 44px;
  object-fit: contain;
  width: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--blue);
}

.nav-cta {
  background: var(--green);
  border-radius: 8px;
  color: var(--white) !important;
  padding: 10px 16px;
}

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

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: calc(100vh - 77px);
  padding-top: clamp(48px, 7vw, 84px);
}

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

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

h1 {
  color: var(--blue);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 20px;
  max-width: 940px;
}

h2 {
  color: var(--blue);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-line {
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-text {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 14px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
}

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(8, 127, 91, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--blue);
  background: var(--white);
}

.button.large {
  align-self: center;
  min-width: min(100%, 320px);
}

.validation-note {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 560px;
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
}

.panel-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.panel-header span {
  color: var(--muted);
  font-weight: 700;
}

.panel-header strong {
  color: var(--green);
}

.stock-table {
  display: grid;
  gap: 8px;
}

.table-row {
  align-items: center;
  background: var(--bg);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 0.8fr 1fr 1fr;
  min-height: 48px;
  padding: 10px 12px;
}

.table-head {
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 32px;
  text-transform: uppercase;
}

.table-row strong {
  color: var(--green);
}

.panel-result {
  border-left: 5px solid var(--yellow);
  margin-top: 22px;
  padding-left: 16px;
}

.panel-result span {
  color: var(--blue);
  font-weight: 800;
}

.panel-result p {
  color: var(--muted);
  margin-bottom: 0;
}

.pain,
.process,
.clarity {
  background: var(--white);
}

.section-heading {
  max-width: 780px;
}

.section-heading.compact {
  margin-inline: auto;
  max-width: 820px;
  text-align: center;
}

.section-heading p,
.split p,
.wide-copy,
.importance-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 1.07rem;
}

.split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  margin-top: 34px;
}

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

.question-list li,
.check-grid p {
  background: var(--bg);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  font-weight: 700;
  margin: 0;
  padding: 14px 16px;
}

.decision-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

.decision-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 22px;
}

.decision-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  align-items: center;
  background: var(--yellow);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

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

.steps li {
  align-items: center;
  background: var(--bg);
  border-radius: 8px;
  counter-increment: steps;
  display: grid;
  gap: 10px;
  grid-template-columns: 56px minmax(0, 0.54fr) minmax(0, 1fr);
  padding: 18px;
}

.steps li::before {
  align-items: center;
  background: var(--blue);
  border-radius: 8px;
  color: var(--white);
  content: counter(steps);
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.steps strong {
  color: var(--blue);
  font-size: 1.08rem;
}

.steps span {
  color: var(--muted);
}

.check-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.not-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.not-list span {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 800;
  padding: 12px 14px;
}

.wide-copy {
  max-width: 860px;
}

.importance {
  background:
    linear-gradient(90deg, rgba(8, 127, 91, 0.96), rgba(35, 86, 107, 0.96)),
    var(--blue);
  color: var(--white);
}

.importance .eyebrow,
.importance h2,
.importance p {
  color: var(--white);
}

.importance-copy {
  max-width: 860px;
}

.final-cta {
  align-items: center;
  background: var(--white);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
}

.contact-note {
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 800;
  grid-column: 2;
  margin: -22px 0 0;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.footer span:first-child {
  color: var(--blue);
  font-weight: 900;
}

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

.chat-dialog {
  background: transparent;
  border: 0;
  max-height: 100%;
  max-width: min(100% - 32px, 620px);
  padding: 0;
  width: 100%;
}

.chat-dialog::backdrop {
  background: rgba(20, 31, 39, 0.62);
}

.chat-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  max-height: min(760px, calc(100vh - 32px));
  overflow: hidden;
}

.chat-header {
  align-items: center;
  background: var(--blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
}

.chat-title-wrap {
  align-items: center;
  display: flex;
  gap: 12px;
}

.chat-mark {
  align-items: center;
  background: var(--yellow);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.chat-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.chat-header h2 {
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 2rem;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 40px;
}

.chat-disclosure {
  background: #edf5f1;
  border-bottom: 1px solid #c8e2d6;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
  padding: 10px 20px;
}

.chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  overflow-y: auto;
  padding: 20px;
}

.message {
  border-radius: 8px;
  line-height: 1.45;
  max-width: 86%;
  padding: 12px 14px;
}

.message p {
  margin: 0;
}

.message.bia {
  align-self: flex-start;
  background: #eef4f7;
  border: 1px solid #d6e2e8;
  color: var(--text);
}

.message.user {
  align-self: flex-end;
  background: var(--green);
  color: var(--white);
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 14px;
}

.chat-option {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 11px;
}

.chat-composer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 20px 20px;
}

.chat-composer[hidden],
.chat-next-step[hidden],
.chat-register-demo[hidden] {
  display: none !important;
}

.chat-composer input {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-width: 0;
  padding: 12px 13px;
}

.chat-composer input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(8, 127, 91, 0.14);
}

.send-button {
  background: var(--green);
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 16px;
}

.chat-next-step,
.chat-register-demo {
  border-top: 1px solid var(--line);
  padding: 18px 20px 20px;
}

.chat-next-step {
  display: grid;
  gap: 12px;
}

.chat-next-step p,
.chat-register-demo p {
  color: var(--muted);
  margin-bottom: 14px;
}

.chat-next-step p {
  margin: 0;
}

.chat-conversion-cta {
  justify-content: center;
  width: 100%;
}

.chat-register-demo {
  background: var(--bg);
}

.chat-register-demo h3 {
  margin-bottom: 8px;
}

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

  .contact-note {
    grid-column: 1;
    margin-top: -18px;
  }

  .hero {
    min-height: auto;
  }

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

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

  .steps li {
    align-items: start;
    grid-template-columns: 56px minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 22px 18px 18px;
    position: sticky;
    top: 0;
    box-shadow: 0 10px 26px rgba(30, 37, 43, 0.08);
  }

  .brand img {
    height: auto;
    max-height: 112px;
    max-width: min(88vw, 420px);
    width: 100%;
  }

  .nav-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: center;
    line-height: 1.15;
    text-align: center;
    width: 100%;
  }

  .nav-links a {
    color: var(--blue);
    flex: 0 1 auto;
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
    min-height: 40px;
    padding: 9px 0;
  }

  .nav-cta {
    background: transparent;
    color: var(--blue) !important;
    padding: 9px 0;
  }

  .section-band {
    padding: 48px 20px;
  }

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

  .decision-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .table-row {
    font-size: 0.9rem;
    grid-template-columns: 0.8fr 1fr 0.9fr;
  }

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

  .steps li::before {
    height: 36px;
    width: 36px;
  }

  .chat-dialog {
    max-width: 100%;
  }

  .chat-shell {
    border: 0;
    border-radius: 0;
    max-height: 100vh;
    min-height: 100vh;
  }

  .chat-messages {
    min-height: 0;
  }

  .chat-composer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}
}
