:root {
  --ink: #092033;
  --navy: #0b2a3a;
  --slate: #385469;
  --muted: #667788;
  --line: #d9e5ea;
  --soft: #f6faf8;
  --white: #ffffff;
  --green: #18b978;
  --green-dark: #07935d;
  --blue: #1284c7;
  --amber: #f3a21d;
  --rose: #d94444;
  --shadow: 0 18px 50px rgba(9, 32, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Aptos, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.chat-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.skip-link,
.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;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 12px;
  clip: auto;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 229, 234, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 190px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--slate);
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--soft);
  outline: none;
}

.nav-actions,
.hero-actions,
.final-actions,
.calculator-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 10px 24px rgba(7, 147, 93, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #057f51;
  box-shadow: 0 14px 32px rgba(7, 147, 93, 0.28);
}

.button-primary.js-open-chat {
  gap: 9px;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy) 46%, var(--green-dark) 46%, var(--green) 100%);
  box-shadow: 0 12px 28px rgba(7, 147, 93, 0.26);
}

.button-primary.js-open-chat::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--green);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.button-secondary {
  color: var(--ink);
  background: #e7f8f0;
  border-color: #b7ead4;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #d8f3e7;
}

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

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--soft);
  border-color: #bbccd4;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 54px;
  align-items: center;
  padding: 82px 0 62px;
}

.hero-copy,
.hero-visual,
.platform-frame,
.bot-preview,
.calculator-card {
  min-width: 0;
}

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

h1,
h2,
h3 {
  font-family: "Aptos Display", Aptos, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 3.38rem;
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 780;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.18rem;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 760;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-lede {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 760;
}

.hero-support,
.section-intro p,
.text-stack p,
.proof-layout p {
  color: var(--slate);
  font-size: 1.05rem;
}

.hero-actions {
  margin: 28px 0 22px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-strip li {
  padding: 8px 10px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
}

.platform-frame {
  padding: 18px;
  background: #fdfefe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.frame-top {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.frame-top img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 229, 234, 0.7);
}

.frame-top strong,
.frame-top span {
  display: block;
}

.frame-top span {
  color: var(--muted);
  font-size: 0.88rem;
}

.frame-top > div {
  min-width: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
}

.metric-tile,
.customer-panel,
.route-panel {
  min-height: 154px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric-tile span,
.tool-header span,
.customer-row span,
.route-line span,
.crm-panels span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.metric-tile strong {
  display: block;
  margin: 8px 0;
  font-size: 2.35rem;
  line-height: 1;
}

.metric-tile small {
  color: var(--slate);
}

.accent-green {
  border-color: #b7ead4;
  background: #f1fbf6;
}

.accent-blue {
  border-color: #c0e5f8;
  background: #f0f9fe;
}

.customer-panel,
.route-panel {
  grid-column: span 2;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.customer-row,
.route-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #edf4f6;
}

.panel-head strong,
.customer-row strong,
.route-line strong {
  max-width: 64%;
  text-align: right;
}

.customer-row:last-child,
.route-line:last-child {
  border-bottom: 0;
}

.route-line {
  position: relative;
  padding-left: 18px;
}

.route-line::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--amber);
  border-radius: 999px;
}

.route-line-active::before {
  background: var(--green);
}

.application-section {
  padding: 78px 0;
  background:
    linear-gradient(180deg, #f6faf8 0%, #ffffff 48%, #f6faf8 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.apply-cta-section {
  padding: 68px 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.apply-cta-card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.apply-cta-card h2,
.apply-cta-card p {
  max-width: 720px;
}

.apply-cta-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--slate);
}

.apply-cta-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.application-page {
  background: var(--white);
}

.application-hero,
.industry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 36px;
  align-items: end;
  padding: 72px 0 42px;
}

.application-hero h1,
.industry-hero h1 {
  max-width: 820px;
  font-size: 3.05rem;
}

.application-hero p,
.industry-hero p {
  max-width: 760px;
  color: var(--slate);
  font-size: 1.08rem;
}

.application-hero-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #f1fbf6;
  border: 1px solid #b7ead4;
  border-radius: var(--radius);
}

.application-hero-card strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.application-hero-card span {
  color: var(--slate);
  font-weight: 700;
}

.application-form {
  display: grid;
  gap: 16px;
}

.application-status {
  display: none;
  padding: 14px 16px;
  color: var(--navy);
  background: #eefaf4;
  border: 1px solid #b7ead4;
  border-radius: var(--radius);
  font-weight: 750;
}

.application-status.is-error {
  color: #8a2424;
  background: #fff2f2;
  border-color: #efb3b3;
}

.application-status.is-success {
  color: #0b5c3d;
  background: #eaf8f1;
  border-color: #a9e0c7;
}

.application-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(9, 32, 51, 0.05);
}

.application-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.application-card-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  font-weight: 850;
}

.application-card-head h2,
.application-card-head h3 {
  margin-bottom: 0;
  font-size: 1.32rem;
}

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

.application-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apply-field,
.document-upload {
  display: grid;
  gap: 7px;
}

.apply-field.full {
  grid-column: 1 / -1;
}

.apply-field span,
.document-upload span,
.apply-choice legend {
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 820;
}

.apply-field b,
.document-upload b,
.apply-choice b {
  color: var(--rose);
}

.apply-field input,
.apply-field select,
.apply-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.apply-field textarea {
  min-height: 96px;
  resize: vertical;
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus,
.document-upload input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(24, 185, 120, 0.14);
}

.apply-choice {
  min-width: 0;
  padding: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.apply-choice legend {
  padding: 0 5px;
}

.apply-choice label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin: 7px 18px 0 0;
  color: var(--ink);
  font-weight: 650;
}

.document-choice {
  margin-bottom: 16px;
  background: #f6faf8;
  border-color: #b7ead4;
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.document-list span {
  padding: 9px 10px;
  color: var(--navy);
  background: #eefaf4;
  border: 1px solid #b7ead4;
  border-radius: var(--radius);
  font-size: 0.87rem;
  font-weight: 750;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.document-upload {
  min-width: 0;
  padding: 13px;
  background: #fafdfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.document-upload input {
  width: 100%;
  min-width: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.peptide-doc.is-hidden {
  display: none;
}

.consent-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  color: var(--slate);
  font-weight: 650;
}

.consent-line input {
  margin-top: 4px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.application-submit {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 4px 0 0;
}

.post-submit-documents[hidden] {
  display: none;
}

.post-submit-documents {
  margin-top: 18px;
  border-color: #b7ead4;
  background: #fbfffd;
}

.document-step-copy {
  max-width: 760px;
  color: var(--slate);
}

.document-form {
  display: grid;
  gap: 16px;
}

.industry-page {
  background: var(--white);
}

.industry-hero {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 34px;
}

.industry-tabs {
  padding: 0 0 78px;
}

.tab-buttons {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 28px;
  background: #edf7f2;
  border: 1px solid #cfe7dc;
  border-radius: var(--radius);
}

.industry-tab {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--slate);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
}

.industry-tab.is-active {
  color: var(--white);
  background: var(--navy);
}

.industry-panel[hidden] {
  display: none;
}

.industry-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.industry-card,
.article-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(9, 32, 51, 0.04);
}

.industry-card.featured,
.article-card.featured {
  border-color: #b7ead4;
  background: #f1fbf6;
}

.industry-card span,
.article-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 9px;
  color: var(--green-dark);
  background: #e7f8f0;
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.industry-card h3,
.article-card h3 {
  font-size: 1.12rem;
  line-height: 1.22;
}

.industry-card p,
.article-card p {
  color: var(--slate);
}

.industry-card a,
.article-card a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 850;
}

.problem-section,
.features-section,
.proof-section,
.final-cta {
  background: var(--soft);
}

.problem-section,
.solution-section,
.features-section,
.tools-section,
.steps-section,
.comparison-section,
.proof-section,
.faq-section,
.final-cta {
  padding: 78px 0;
}

.split-section,
.proof-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.outcome-grid,
.feature-grid,
.steps-grid,
.proof-cards,
.crm-panels {
  display: grid;
  gap: 14px;
}

.outcome-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid,
.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.outcome-card,
.feature-card,
.steps-grid article,
.proof-cards article,
.bot-preview,
.calculator-card,
.faq-list details,
.crm-panels article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(9, 32, 51, 0.04);
}

.icon-mark,
.feature-icon,
.steps-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  font-weight: 850;
}

.feature-icon {
  background: var(--green-dark);
}

.outcome-card p,
.feature-card p,
.steps-grid p,
.faq-list p {
  margin-bottom: 0;
  color: var(--slate);
}

.tools-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
  align-items: start;
}

.tool-header {
  margin-bottom: 18px;
}

.tool-header strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.mini-chat {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.chat-bubble {
  width: fit-content;
  max-width: 94%;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.94rem;
}

.chat-bubble.bot {
  color: var(--ink);
  background: #edf7f2;
}

.chat-bubble.user {
  justify-self: end;
  color: var(--white);
  background: var(--navy);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.input-field {
  display: grid;
  gap: 7px;
}

.input-field span {
  color: var(--slate);
  font-size: 0.86rem;
  font-weight: 750;
}

.input-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.input-field input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(24, 185, 120, 0.14);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.calc-results div {
  min-height: 96px;
  padding: 14px;
  background: #fafdfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.calc-results span {
  display: block;
  min-height: 38px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.calc-results strong {
  display: block;
  font-size: 1.48rem;
}

.calc-results .total-result {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.calc-results .total-result span {
  color: #c8e0e8;
}

.disclaimer {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.steps-grid article {
  position: relative;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row > div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.table-row > div:last-child {
  border-right: 0;
}

.table-head {
  color: var(--white);
  background: var(--navy);
  font-weight: 850;
}

.table-row:not(.table-head) > div:first-child {
  font-weight: 800;
}

.table-row:not(.table-head) > div:nth-child(2) {
  color: var(--slate);
  background: #fbf5f3;
}

.table-row:not(.table-head) > div:nth-child(3) {
  color: var(--ink);
  background: #f1fbf6;
  font-weight: 750;
}

.proof-layout {
  align-items: center;
}

.proof-cards {
  grid-template-columns: repeat(3, 1fr);
}

.proof-cards strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 2rem;
}

.proof-cards span {
  color: var(--slate);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin-top: 12px;
}

.final-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.final-cta h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  padding: 48px 0;
  color: #dbe8ed;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 28px;
}

.site-footer img {
  width: 200px;
  margin-bottom: 16px;
  padding: 7px 9px;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: #dbe8ed;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.chat-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  max-width: 220px;
  min-height: 58px;
  padding: 9px 14px 9px 10px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy) 48%, var(--green-dark) 48%, var(--green) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(9, 32, 51, 0.24), 0 10px 24px rgba(7, 147, 93, 0.18);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.chat-launcher img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: cover;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
}

.chat-launcher span,
.chat-launcher strong {
  display: block;
}

.chat-launcher span {
  line-height: 1.15;
}

.chat-launcher strong {
  color: #9ff0c9;
}

.chat-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: flex-end;
  background: rgba(9, 32, 51, 0.56);
}

.chat-panel.is-open {
  display: flex;
}

.chat-shell {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(440px, 100%);
  height: 100%;
  background: var(--white);
  border-left: 1px solid rgba(7, 147, 93, 0.24);
  box-shadow: -18px 0 44px rgba(9, 32, 51, 0.22);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy) 54%, #0f6f5c 54%, var(--green-dark) 100%);
  border-bottom: 4px solid var(--green);
}

.chat-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.chat-brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: cover;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.chat-header .eyebrow {
  color: #8ee7bf;
  margin-bottom: 5px;
}

.chat-header h2 {
  margin-bottom: 0;
  font-size: 1.3rem;
}

.chat-close {
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.chat-close:hover,
.chat-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, #f3fbf7 0%, #f8fbfc 54%, #ffffff 100%);
}

.chat-message {
  display: grid;
  gap: 4px;
  max-width: 88%;
}

.chat-message.user {
  justify-self: end;
}

.chat-message .bubble {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.chat-message.bot .bubble {
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfe7dc;
  box-shadow: 0 8px 18px rgba(9, 32, 51, 0.07);
}

.chat-message.user .bubble {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy), var(--green-dark));
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: #f7fbf8;
  border-top: 1px solid #cfe7dc;
}

.quick-replies button {
  padding: 8px 10px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #bde6d3;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
}

.quick-replies button:hover,
.quick-replies button:focus-visible {
  color: var(--white);
  background: var(--green-dark);
  border-color: var(--green-dark);
  outline: none;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  background: var(--white);
  border-top: 1px solid #cfe7dc;
}

.chat-form input {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #bde6d3;
  border-radius: var(--radius);
}

.chat-form input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(24, 185, 120, 0.14);
}

.crm-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(241, 251, 246, 0.95), rgba(255, 255, 255, 0.98)),
    var(--white);
}

.login-page {
  background:
    radial-gradient(circle at top left, rgba(24, 185, 120, 0.16), transparent 36%),
    linear-gradient(135deg, #f6faf8 0%, #ffffff 42%, #edf7f2 100%);
}

.crm-login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 36px 18px;
}

.crm-login-panel {
  width: min(100%, 460px);
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(9, 32, 51, 0.14);
}

.crm-login-panel .crm-brand {
  margin-bottom: 28px;
}

.login-copy h1 {
  margin-bottom: 12px;
  font-size: 2.2rem;
}

.login-copy p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--slate);
}

.crm-login-form {
  display: grid;
  gap: 14px;
}

.login-alert {
  display: none;
  padding: 11px 12px;
  color: #8a2424;
  background: #fff2f2;
  border: 1px solid #efb3b3;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.login-options,
.login-footer-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--slate);
  font-size: 0.92rem;
}

.login-options label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.login-options a,
.login-footer-actions a {
  color: var(--green-dark);
  font-weight: 800;
}

.login-footer-actions {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.crm-main {
  padding: 46px 0 72px;
}

.crm-brand img {
  width: 220px;
}

.crm-hero {
  max-width: 780px;
  padding: 78px 0 42px;
}

.crm-hero h1 {
  font-size: 4rem;
}

.crm-hero p:not(.eyebrow) {
  color: var(--slate);
  font-size: 1.18rem;
}

.crm-panels {
  grid-template-columns: repeat(3, 1fr);
}

.crm-panels strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.legal-page {
  max-width: 820px;
  padding: 56px 0 96px;
}

.legal-page .brand img {
  width: 200px;
  margin-bottom: 44px;
}

.legal-page h1 {
  font-size: 3rem;
}

.legal-page p {
  color: var(--slate);
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .nav-links,
  .nav-actions {
    position: fixed;
    right: 20px;
    left: 20px;
    z-index: 30;
    display: none;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links {
    top: 90px;
    flex-direction: column;
  }

  .nav-actions {
    top: 276px;
  }

  body.menu-open .nav-links,
  body.menu-open .nav-actions {
    display: flex;
  }

  .hero,
  .split-section,
  .proof-layout,
  .tools-layout,
  .application-hero {
    grid-template-columns: 1fr;
  }

  .apply-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 54px;
  }

  h1,
  .crm-hero h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.98rem;
  }

  .hero-visual {
    max-width: 680px;
  }

  .outcome-grid,
  .feature-grid,
  .steps-grid,
  .proof-cards,
  .crm-panels {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-grid,
  .calc-results,
  .application-grid.three,
  .document-grid,
  .document-list,
  .industry-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 680px) {
  .shell {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 154px;
  }

  .nav {
    min-height: 70px;
  }

  h1,
  .crm-hero h1 {
    font-size: 2.18rem;
  }

  .application-hero h1,
  .industry-hero h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .hero-actions,
  .calculator-actions,
  .final-actions,
  .application-submit,
  .apply-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .calculator-actions .button,
  .final-actions .button,
  .application-submit .button,
  .apply-cta-actions .button {
    width: 100%;
  }

  .problem-section,
  .solution-section,
  .features-section,
  .application-section,
  .apply-cta-section,
  .tools-section,
  .steps-section,
  .comparison-section,
  .proof-section,
  .faq-section,
  .final-cta {
    padding: 54px 0;
  }

  .dashboard-grid,
  .outcome-grid,
  .feature-grid,
  .steps-grid,
  .proof-cards,
  .calculator-grid,
  .calc-results,
  .application-grid,
  .application-grid.three,
  .document-grid,
  .document-list,
  .industry-grid,
  .article-grid,
  .crm-panels,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .customer-panel,
  .route-panel {
    grid-column: auto;
  }

  .panel-head,
  .customer-row,
  .route-line {
    flex-direction: column;
  }

  .panel-head strong,
  .customer-row strong,
  .route-line strong {
    max-width: 100%;
    text-align: left;
  }

  .table-row,
  .table-head {
    grid-template-columns: 1fr;
  }

  .table-row > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .table-row > div:last-child {
    border-bottom: 0;
  }

  .chat-launcher {
    display: none;
  }

  .chat-shell {
    width: 100%;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}
