:root {
  --ink: #142033;
  --muted: #657189;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --line: #dce4ef;
  --blue: #2f6fed;
  --blue-dark: #1f54c9;
  --teal: #17a398;
  --green: #1f9d62;
  --amber: #a86a00;
  --navy: #162033;
  --shadow: 0 22px 70px rgba(28, 44, 73, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f8fb;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

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

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 850;
}

.text-link:hover {
  color: var(--blue-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.hero-proof,
.site-nav,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #4f8cff, #25c2a0);
  color: #fff;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

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

.button.secondary:hover {
  border-color: #adc0d8;
  background: #f9fbff;
}

.hero-section {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 72px) 34px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.56;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #46536b;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 760;
}

.product-visual {
  min-width: 0;
  border: 1px solid #cfdbea;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-topbar {
  height: 54px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}

.visual-topbar span {
  width: 42px;
  height: 12px;
  border-radius: 999px;
  background: #d5deea;
}

.visual-topbar strong {
  text-align: center;
}

.visual-topbar small {
  color: var(--muted);
  text-align: right;
  font-weight: 750;
}

.visual-grid {
  display: grid;
  grid-template-columns: 190px minmax(250px, 1fr) 190px;
  min-height: 430px;
}

.visual-list,
.visual-chat,
.visual-insight {
  padding: 16px;
}

.visual-list {
  display: grid;
  align-content: start;
  gap: 12px;
  border-right: 1px solid var(--line);
  background: #f8fbff;
}

.visual-search {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.visual-contact {
  display: grid;
  gap: 4px;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.visual-contact.active {
  border-color: #bfd3ff;
  background: #eef4ff;
}

.visual-contact span,
.insight-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.visual-chat {
  display: grid;
  align-content: end;
  gap: 14px;
  background: #edf5fa;
}

.bubble {
  max-width: 78%;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(37, 52, 80, 0.06);
}

.bubble.outbound {
  justify-self: end;
  border-color: #b8e5fb;
  background: #dff3ff;
}

.visual-composer {
  height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 0 14px;
}

.visual-insight {
  display: grid;
  align-content: start;
  gap: 12px;
  border-left: 1px solid var(--line);
  background: #fff;
}

.visual-insight h2 {
  margin-bottom: 2px;
  font-size: 17px;
}

.insight-card {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
  padding: 12px;
}

.insight-card strong {
  font-size: 15px;
}

.mini-chart {
  height: 108px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
  margin-top: 8px;
}

.mini-chart i {
  display: block;
  border-radius: 8px 8px 0 0;
  background: var(--teal);
}

.mini-chart i:nth-child(2) {
  background: var(--blue);
}

.mini-chart i:nth-child(3) {
  background: var(--amber);
}

.mini-chart i:nth-child(4) {
  background: var(--green);
}

.trust-strip,
.section,
.cta-section,
.site-footer,
.legal-hero,
.legal-layout {
  margin: 0 clamp(20px, 5vw, 72px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  transform: translateY(-20px);
}

.trust-strip div {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 32px rgba(28, 44, 73, 0.08);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section h2,
.cta-section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-section p,
.cta-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

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

.feature-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(31, 47, 75, 0.03);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #eaf1ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.feature-card h3,
.workflow-step h3,
.policy-panel h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.feature-card p,
.workflow-step p {
  color: var(--muted);
  line-height: 1.58;
}

.workflow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-step {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.workflow-step > strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  align-items: start;
  gap: 36px;
}

.policy-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 38px rgba(28, 44, 73, 0.08);
}

.policy-panel ul {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid #bfd3ff;
  border-radius: 8px;
  background: #eef4ff;
  padding: clamp(28px, 4vw, 44px);
}

.cta-section > div:first-child {
  max-width: 720px;
}

.cta-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.site-footer a {
  color: var(--blue);
  font-weight: 850;
}

.legal-hero {
  padding: clamp(54px, 7vw, 92px) 0 34px;
  max-width: 920px;
}

.legal-hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
}

.legal-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.effective-date {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #bfd3ff;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 850;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 18px 0 72px;
}

.legal-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.legal-nav a {
  border-radius: 8px;
  color: var(--muted);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
}

.legal-nav a:hover {
  background: #eef4ff;
  color: var(--blue);
}

.legal-card {
  display: grid;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 12px 38px rgba(28, 44, 73, 0.08);
}

.legal-card section {
  scroll-margin-top: 96px;
}

.legal-card h2 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.68;
}

.legal-card p {
  margin-bottom: 12px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-left: 22px;
}

@media (max-width: 1180px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 780px;
  }

  .product-visual {
    max-width: 980px;
  }

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

@media (max-width: 900px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section {
    padding-top: 38px;
  }

  .visual-grid {
    grid-template-columns: 170px minmax(260px, 1fr);
    overflow-x: auto;
  }

  .visual-insight {
    min-width: 190px;
  }

  .trust-strip,
  .feature-grid,
  .split-section,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header,
  .hero-section,
  .trust-strip,
  .section,
  .cta-section,
  .site-footer,
  .legal-hero,
  .legal-layout {
    margin-left: 16px;
    margin-right: 16px;
  }

  .site-header {
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section {
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

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

  .button {
    min-height: 46px;
  }

  .visual-grid {
    grid-template-columns: 150px 300px 180px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }
}
