:root {
  --page: #f5f7fb;
  --page-strong: #e9eef7;
  --ink: var(--vc-ink);
  --ink-strong: #07111f;
  --muted: var(--vc-muted);
  --subtle: var(--vc-subtle);
  --line: var(--vc-line);
  --line-strong: var(--vc-line-strong);
  --surface: var(--vc-surface);
  --surface-soft: var(--vc-surface-soft);
  --navy: #07172d;
  --navy-2: #10213b;
  --blue: var(--vc-blue);
  --blue-soft: var(--vc-blue-soft);
  --orange: var(--vc-accent);
  --orange-strong: var(--vc-accent-strong);
  --green: var(--vc-green);
  --radius: 8px;
  --shadow: var(--vc-shadow);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fafc 0, var(--page) 45%, #eef3fa 100%),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 88px);
  font-family: var(--font);
}

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

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.site-menu-toggle {
  display: none;
}

.site-shell {
  position: relative;
}

.site-shell__backdrop {
  display: none;
}

.site-header,
.site-main,
.site-footer,
.flash-stack {
  position: relative;
  z-index: 1;
}

.site-header__inner,
.flash-stack__inner,
.site-footer__inner,
.hero,
.proof-strip__inner,
.section-band,
.install-band,
.feature-grid,
.closing-band,
.content-shell,
.auth-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(216, 224, 236, 0.82);
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.site-brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(7, 23, 45, 0.14);
}

.site-brand strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1rem;
  line-height: 1.1;
}

.site-brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav,
.site-actions,
.hero__actions,
.closing-band__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-nav {
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover,
.auth-card__meta a,
.site-footer__links a:hover {
  color: var(--ink-strong);
}

.site-actions {
  justify-content: flex-end;
  min-width: max-content;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--orange);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(241, 112, 32, 0.23);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.site-button:hover {
  background: var(--orange-strong);
  transform: translateY(-1px);
}

.site-button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-strong);
  box-shadow: none;
}

.site-button--ghost:hover {
  border-color: var(--line-strong);
  background: #ffffff;
}

.site-button--dark {
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(7, 23, 45, 0.18);
}

.site-button--dark:hover {
  background: #0f274a;
}

.flash-stack {
  padding-top: 16px;
}

.flash-stack__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flash-card {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.flash-card.is-error {
  border-color: #f4b6b6;
  color: #8a1f1f;
}

.flash-card.is-success {
  border-color: #a8dec1;
  color: #095c37;
}

.site-main {
  padding: 54px 0 82px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  gap: 38px;
  align-items: center;
}

.hero__copy {
  max-width: 560px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.hero__badges span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #174ea6;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.install-band h2,
.closing-band h2,
.content-shell h1,
.auth-card h1 {
  margin: 0;
  color: var(--ink-strong);
  letter-spacing: 0;
}

.hero h1 {
  font-weight: 850;
}

.section-heading h2,
.install-band h2,
.closing-band h2,
.content-shell h1,
.auth-card h1 {
  font-family: var(--vc-heading-font);
  font-weight: 700;
}

.hero h1 {
  max-width: 13ch;
  font-size: 3.55rem;
  line-height: 0.98;
}

.hero__lede,
.section-heading p:not(.eyebrow),
.install-band__copy p:not(.eyebrow),
.content-shell__header p,
.content-shell__body p,
.auth-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lede {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.hero__actions {
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
}

.hero__stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero__stats dt {
  color: var(--ink-strong);
  font-weight: 850;
}

.hero__stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.product-preview {
  overflow: hidden;
  border: 1px solid rgba(7, 23, 45, 0.2);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.product-preview__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #0b1f3c;
}

.product-preview__brand {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 850;
}

.status-pill {
  background: rgba(12, 196, 120, 0.14);
  color: #98f0c2;
}

.status-pill--soft {
  min-height: 24px;
  background: #eaf8ef;
  color: var(--green);
}

.product-preview__grid {
  display: grid;
  grid-template-columns: 116px minmax(190px, 0.85fr) minmax(250px, 1.05fr);
  min-height: 460px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.preview-sidebar span {
  padding: 10px 9px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
}

.preview-sidebar span.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.inbox-preview,
.thread-preview,
.context-preview {
  padding: 18px;
}

.inbox-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #f7f9fc;
}

.preview-heading,
.thread-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-heading span,
.thread-preview__header span,
.context-preview span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-heading strong,
.thread-preview__header strong,
.context-preview strong {
  color: var(--ink-strong);
}

.conversation-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.conversation-row.is-active {
  border-color: rgba(21, 94, 239, 0.35);
  box-shadow: 0 10px 24px rgba(21, 94, 239, 0.08);
}

.conversation-row__dot {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--green);
}

.conversation-row__dot.is-muted {
  background: var(--subtle);
}

.conversation-row__dot.is-orange {
  background: var(--orange);
}

.conversation-row strong {
  display: block;
  color: var(--ink-strong);
  font-size: 0.9rem;
}

.conversation-row p,
.conversation-row time {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.thread-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
}

.thread-preview__header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.thread-preview__header div {
  min-width: 0;
}

.thread-preview__header strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-preview__header .status-pill {
  flex: 0 0 auto;
  text-transform: none;
}

.message-bubble {
  max-width: 88%;
  padding: 12px 13px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.45;
}

.message-bubble--customer {
  align-self: flex-start;
  background: var(--page-strong);
  color: var(--ink);
}

.message-bubble--agent {
  align-self: flex-end;
  background: #0f274a;
  color: #ffffff;
}

.composer-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 9px 10px 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--subtle);
  font-size: 0.82rem;
}

.composer-preview button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #ffffff;
}

.context-preview {
  display: none;
  background: #f7f9fc;
}

.context-preview p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.proof-strip {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.proof-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.proof-strip span:last-child {
  border-right: 1px solid var(--line);
}

.section-band,
.install-band,
.feature-grid,
.closing-band {
  margin-top: 58px;
}

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

.section-heading h2,
.install-band h2,
.closing-band h2 {
  font-size: 2.35rem;
  line-height: 1.08;
}

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

.workflow-grid {
  margin-top: 24px;
}

.workflow-card,
.feature-card,
.content-shell__body,
.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.workflow-card,
.feature-card {
  padding: 22px;
}

.workflow-card__step,
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: #174ea6;
  font-size: 0.78rem;
  font-weight: 850;
}

.feature-card__icon {
  color: var(--orange-strong);
  background: #fff0e7;
}

.workflow-card h3,
.feature-card h2 {
  margin: 18px 0 10px;
  color: var(--ink-strong);
  font-size: 1.08rem;
}

.workflow-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.install-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 26px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(7, 23, 45, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.install-band__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.install-band__copy p:not(.eyebrow) {
  margin: 16px 0 24px;
}

.code-panel {
  overflow: auto;
  border-radius: var(--radius);
  background: #08172d;
}

.code-panel pre {
  margin: 0;
  padding: 22px;
  color: #d7e4ff;
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.7;
}

.feature-card {
  min-height: 205px;
}

.closing-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #ffffff;
}

.closing-band h2 {
  max-width: 760px;
  color: #ffffff;
}

.closing-band .eyebrow {
  color: #ffbf98;
}

.closing-band .site-button--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.content-shell,
.auth-shell {
  max-width: 780px;
}

.content-shell__header {
  margin-bottom: 20px;
}

.content-shell h1,
.auth-card h1 {
  font-size: 2.8rem;
  line-height: 1.05;
}

.content-shell__body,
.auth-card {
  padding: 28px;
}

.content-shell__body p:first-child,
.auth-card p:first-child {
  margin-top: 0;
}

.content-shell__body p:last-child {
  margin-bottom: 0;
}

.auth-shell {
  padding-top: 20px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.auth-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form__field span {
  color: var(--ink-strong);
  font-size: 0.92rem;
  font-weight: 750;
}

.auth-form__field input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
}

.auth-form__field input:focus {
  outline: none;
  border-color: rgba(241, 112, 32, 0.76);
  box-shadow: 0 0 0 4px rgba(241, 112, 32, 0.13);
}

.auth-form__field small {
  color: #b42318;
}

.auth-form__submit {
  width: 100%;
  margin-top: 10px;
}

.auth-card__meta {
  margin: 18px 0 0;
}

.site-footer {
  padding: 0 0 44px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.site-footer__inner p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer__links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer__links a {
  color: var(--orange-strong);
  font-weight: 750;
}

body.home-page {
  background: #f5f7fb;
}

.home-page .site-main {
  padding-top: 0;
}

.home-hero,
.home-proof-strip,
.home-section,
.home-platform,
.home-system,
.home-install,
.home-plans,
.home-cta {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.home-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 72svh, 720px);
  padding: 82px 0 94px;
  color: #ffffff;
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(6, 18, 38, 0.98) 0%, rgba(7, 23, 45, 0.94) 44%, rgba(16, 44, 91, 0.9) 100%),
    #07172d;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto calc(50% - 50vw) 0;
  z-index: -1;
  height: 5px;
  background: linear-gradient(90deg, #19c6c3, #155eef 47%, #f17020);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #b8d8ff;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-kicker span {
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: #f17020;
}

.home-hero h1 {
  max-width: 9.2ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(4.1rem, 6vw, 5.25rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.home-hero__headline {
  max-width: 18ch;
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 2.05rem;
  font-weight: 850;
  line-height: 1.08;
}

.home-hero__lede {
  max-width: 58ch;
  margin: 22px 0 0;
  color: #d6e4f5;
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-hero__actions,
.home-install__actions,
.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-hero__actions {
  margin-top: 28px;
}

.home-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.home-hero__checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c5d5e8;
  font-size: 0.88rem;
  font-weight: 750;
}

.home-hero__checks i {
  color: #12b76a;
  font-size: 0.82rem;
}

.home-hero__ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.home-hero__ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.home-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.home-hero__proof div {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.home-hero__proof dt {
  color: #ffffff;
  font-weight: 850;
}

.home-hero__proof dd {
  margin: 8px 0 0;
  color: #c5d5e8;
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-hero__stage {
  position: absolute;
  top: 54px;
  right: 0;
  bottom: 58px;
  z-index: 1;
  width: min(610px, 47vw);
  pointer-events: none;
}

.home-product-window,
.home-widget-preview {
  border: 1px solid rgba(216, 224, 236, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.home-product-window {
  position: absolute;
  inset: 0 0 74px;
  overflow: hidden;
  background: #f8fbff;
}

.home-product-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid #d9e2ee;
  background: #ffffff;
}

.home-product-window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d9e6;
}

.home-product-window__bar span:first-child {
  background: #f17020;
}

.home-product-window__bar span:nth-child(2) {
  background: #f5c044;
}

.home-product-window__bar span:nth-child(3) {
  background: #12b76a;
}

.home-product-window__bar strong {
  margin-left: auto;
  color: #637083;
  font-size: 0.78rem;
}

.home-product-window__body {
  display: grid;
  grid-template-columns: 104px 178px minmax(0, 1fr);
  min-height: 100%;
}

.home-product-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px;
  background: #07172d;
}

.home-product-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  color: #a8b8ce;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-product-nav span.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-product-queue,
.home-product-thread {
  padding: 18px;
}

.home-product-queue {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid #e1e8f2;
  background: #eef3fa;
}

.home-product-label,
.home-thread-head span {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-product-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid #d8e0ec;
  border-radius: var(--radius);
  background: #ffffff;
}

.home-product-row.is-active {
  border-color: rgba(21, 94, 239, 0.38);
  box-shadow: 0 14px 30px rgba(21, 94, 239, 0.1);
}

.home-product-row strong,
.home-thread-head strong {
  overflow: hidden;
  color: #07111f;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-row span {
  color: #637083;
  font-size: 0.78rem;
  line-height: 1.35;
}

.home-product-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
}

.home-thread-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e1e8f2;
}

.home-thread-head strong {
  font-size: 1rem;
}

.home-message {
  max-width: 86%;
  margin: 0;
  padding: 12px 13px;
  border-radius: var(--radius);
  color: #182235;
  font-size: 0.88rem;
  line-height: 1.45;
}

.home-message--visitor {
  align-self: flex-start;
  background: #e9eef7;
}

.home-message--agent {
  align-self: flex-end;
  background: #07172d;
  color: #ffffff;
}

.home-context-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.home-context-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 6px;
  background: #f2f6fb;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 800;
}

.home-widget-preview {
  position: absolute;
  right: 36px;
  bottom: 0;
  width: 330px;
  overflow: hidden;
  background: #ffffff;
}

.home-widget-preview__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #07172d;
}

.home-widget-preview__head img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
}

.home-widget-preview__head strong,
.home-widget-preview__head small {
  display: block;
}

.home-widget-preview__head strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.home-widget-preview__head small {
  margin-top: 3px;
  color: #c5d5e8;
  font-size: 0.76rem;
}

.home-widget-preview__body {
  position: relative;
  padding: 16px 72px 18px 16px;
}

.home-widget-preview__body strong {
  display: block;
  color: #07111f;
  font-size: 1rem;
}

.home-widget-preview__body p {
  margin: 6px 0 0;
  color: #637083;
  font-size: 0.83rem;
  line-height: 1.45;
}

.home-widget-preview__body button {
  position: absolute;
  top: 50%;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #155eef;
  color: #ffffff;
  transform: translateY(-50%);
}

.home-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #d8e0ec;
  border-radius: var(--radius);
  background: #d8e0ec;
}

.home-proof-strip span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 92px;
  padding: 18px;
  background: #ffffff;
}

.home-proof-strip strong {
  color: #07111f;
  font-size: 0.98rem;
}

.home-proof-strip small {
  color: #637083;
  font-size: 0.83rem;
  line-height: 1.45;
}

.home-section,
.home-platform,
.home-system,
.home-install,
.home-plans,
.home-cta {
  margin-top: 64px;
}

.home-section__heading,
.home-platform__heading,
.home-plans__heading,
.home-system__copy,
.home-install__copy {
  max-width: 770px;
}

.home-section__heading h2,
.home-platform__heading h2,
.home-plans__heading h2,
.home-system__copy h2,
.home-install__copy h2,
.home-cta h2 {
  margin: 0;
  color: #07111f;
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.home-section__heading p:not(.eyebrow),
.home-platform__heading p:not(.eyebrow),
.home-plans__heading p:not(.eyebrow),
.home-system__copy p:not(.eyebrow),
.home-install__copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #637083;
  font-size: 1.02rem;
  line-height: 1.75;
}

.home-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.home-value-card,
.home-system__steps article,
.home-code-panel {
  border: 1px solid #d8e0ec;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.home-value-card {
  min-height: 260px;
  padding: 22px;
}

.home-value-card span,
.home-system__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  border-radius: 6px;
  background: #e8efff;
  color: #155eef;
  font-weight: 900;
}

.home-value-card:nth-child(2) span {
  background: #e8faf7;
  color: #0f766e;
}

.home-value-card:nth-child(3) span {
  background: #fff0e7;
  color: #c75012;
}

.home-value-card:nth-child(4) span {
  background: #f0ecff;
  color: #5b36c9;
}

.home-value-card h3,
.home-system__steps h3 {
  margin: 18px 0 10px;
  color: #07111f;
  font-size: 1.05rem;
  line-height: 1.25;
}

.home-value-card p,
.home-system__steps p {
  margin: 0;
  color: #637083;
  line-height: 1.65;
}

.home-platform {
  padding: 30px;
  border: 1px solid #d8e0ec;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(17, 24, 39, 0.08);
}

.home-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid #d8e0ec;
  border-radius: var(--radius);
  background: #d8e0ec;
}

.home-module-grid article {
  min-height: 214px;
  padding: 22px;
  background: #f9fbff;
}

.home-module-grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #08172d;
  color: #ffffff;
  font-size: 0.98rem;
}

.home-module-grid article:nth-child(2n) i {
  background: #155eef;
}

.home-module-grid article:nth-child(3n) i {
  background: #0f766e;
}

.home-module-grid h3 {
  margin: 16px 0 8px;
  color: #07111f;
  font-size: 1rem;
}

.home-module-grid p {
  margin: 0;
  color: #637083;
  line-height: 1.62;
}

.home-system {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(7, 23, 45, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(17, 24, 39, 0.08);
}

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

.home-system__steps article {
  min-height: 230px;
  padding: 20px;
}

.home-install {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.home-install__copy {
  align-self: center;
}

.home-install__actions {
  margin-top: 24px;
}

.home-code-panel {
  overflow: hidden;
  background: #08172d;
}

.home-code-panel pre {
  margin: 0;
  overflow: auto;
  padding: 26px;
  color: #d7e4ff;
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.75;
}

.home-code-panel__note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #c5d5e8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-code-panel__note i {
  color: #12b76a;
}

.home-plans__heading {
  max-width: 850px;
}

.home-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.home-plan-grid article {
  position: relative;
  min-height: 235px;
  padding: 22px;
  border: 1px solid #d8e0ec;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.home-plan-grid article.is-featured {
  border-color: rgba(241, 112, 32, 0.52);
  box-shadow: 0 22px 55px rgba(241, 112, 32, 0.14);
}

.home-plan-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8efff;
  color: #155eef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-plan-grid article.is-featured span {
  background: #fff0e7;
  color: #c75012;
}

.home-plan-grid h3 {
  margin: 18px 0 10px;
  color: #07111f;
  font-size: 1.1rem;
  line-height: 1.25;
}

.home-plan-grid p {
  margin: 0;
  color: #637083;
  line-height: 1.65;
}

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border-radius: var(--radius);
  background: #07172d;
  color: #ffffff;
}

.home-cta h2 {
  max-width: 820px;
  color: #ffffff;
}

.home-cta .eyebrow {
  color: #ffbf98;
}

.home-cta .site-button--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 1280px) {
  .home-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
    min-height: 0;
    padding: 60px 0 78px;
  }

  .home-hero__content {
    order: 1;
    max-width: 760px;
  }

  .home-hero__stage {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: 520px;
  }

  .home-product-window {
    inset: 0 0 72px;
  }

  .home-system,
  .home-install {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-hero,
  .home-proof-strip,
  .home-section,
  .home-platform,
  .home-system,
  .home-install,
  .home-plans,
  .home-cta {
    width: min(100% - 30px, 1180px);
  }

  .home-hero h1 {
    font-size: 3.9rem;
  }

  .home-hero__headline {
    max-width: 16ch;
    font-size: 1.72rem;
  }

  .home-hero__proof,
  .home-proof-strip,
  .home-value-grid,
  .home-module-grid,
  .home-system__steps,
  .home-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-window__body {
    grid-template-columns: 100px minmax(180px, 0.8fr) minmax(0, 1fr);
  }

  .home-system,
  .home-cta {
    padding: 24px;
  }

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

@media (max-width: 640px) {
  .home-hero {
    padding: 42px 0 58px;
  }

  .home-kicker {
    align-items: flex-start;
    line-height: 1.4;
  }

  .home-kicker span {
    margin-top: 8px;
  }

  .home-hero h1 {
    font-size: 3.02rem;
  }

  .home-hero__headline {
    max-width: 100%;
    font-size: 1.36rem;
  }

  .home-hero__lede {
    font-size: 1rem;
  }

  .home-hero__actions .site-button,
  .home-install__actions .site-button,
  .home-cta__actions .site-button {
    flex: 1 1 150px;
  }

  .home-hero__proof,
  .home-proof-strip,
  .home-value-grid,
  .home-module-grid,
  .home-system__steps,
  .home-plan-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__proof div,
  .home-proof-strip span {
    min-height: 0;
  }

  .home-hero__proof {
    display: none;
  }

  .home-hero__stage {
    height: 470px;
  }

  .home-product-window {
    inset: 0 0 116px;
  }

  .home-product-window__body {
    grid-template-columns: 1fr;
  }

  .home-product-nav,
  .home-product-queue {
    display: none;
  }

  .home-product-thread {
    min-height: 310px;
    padding: 16px;
  }

  .home-product-thread .home-message {
    max-width: 76%;
  }

  .home-product-thread .home-message--agent {
    align-self: flex-start;
    margin-left: 34px;
  }

  .home-context-strip {
    grid-template-columns: 1fr;
  }

  .home-widget-preview {
    right: 14px;
    bottom: 0;
    left: 14px;
    width: auto;
  }

  .home-section,
  .home-platform,
  .home-system,
  .home-install,
  .home-plans,
  .home-cta {
    margin-top: 48px;
  }

  .home-section__heading h2,
  .home-platform__heading h2,
  .home-plans__heading h2,
  .home-system__copy h2,
  .home-install__copy h2,
  .home-cta h2 {
    font-size: 1.86rem;
  }

  .home-system,
  .home-platform,
  .home-cta {
    padding: 20px;
  }

  .home-code-panel pre {
    padding: 20px;
    font-size: 0.78rem;
  }
}

@media (min-width: 1500px) {
  .context-preview {
    display: block;
  }

  .product-preview__grid {
    grid-template-columns: 116px minmax(190px, 0.8fr) minmax(250px, 1fr) minmax(150px, 0.62fr);
  }
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

  .hero,
  .install-band {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: none;
  }

  .hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 820px) {
  .site-header__inner,
  .flash-stack__inner,
  .site-footer__inner,
  .hero,
  .proof-strip__inner,
  .section-band,
  .install-band,
  .feature-grid,
  .closing-band,
  .content-shell,
  .auth-shell {
    width: min(100% - 30px, 1180px);
  }

  .site-main {
    padding-top: 34px;
    padding-bottom: 112px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .section-heading h2,
  .install-band h2,
  .closing-band h2,
  .content-shell h1,
  .auth-card h1 {
    font-size: 2rem;
  }

  .hero__stats,
  .workflow-grid,
  .feature-grid,
  .proof-strip__inner {
    grid-template-columns: 1fr;
  }

  .proof-strip span {
    min-height: 48px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .product-preview__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .preview-sidebar {
    display: none;
  }

  .inbox-preview {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .install-band,
  .closing-band {
    padding: 22px;
  }

  .closing-band,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-brand small {
    max-width: 190px;
  }

  .site-nav {
    gap: 12px 14px;
  }

  .site-actions,
  .hero__actions,
  .closing-band__actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .site-actions .site-button,
  .hero__actions .site-button,
  .closing-band__actions .site-button {
    flex: 1 1 155px;
  }

  .hero__actions {
    padding-right: 70px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: 2.05rem;
    line-height: 1.04;
  }

  .hero__lede {
    font-size: 1rem;
  }

  .hero__stats {
    display: none;
  }

  .product-preview__topbar,
  .inbox-preview,
  .thread-preview,
  .workflow-card,
  .feature-card,
  .content-shell__body,
  .auth-card {
    padding: 16px;
  }

  .conversation-row {
    grid-template-columns: auto 1fr;
  }

  .conversation-row time {
    display: none;
  }

  .code-panel pre {
    font-size: 0.78rem;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 0;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand span {
    min-width: 0;
  }

  .site-brand small {
    overflow: hidden;
    max-width: none;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--ink-strong);
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
  }

  .site-menu-toggle i {
    font-size: 1.06rem;
  }

  .site-nav,
  .site-actions {
    display: none;
  }

  .site-header.is-menu-open .site-nav,
  .site-header.is-menu-open .site-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
  }

  .site-header.is-menu-open .site-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
    padding: 8px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .site-header.is-menu-open .site-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: -13px;
    padding: 8px;
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .site-header.is-menu-open .site-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 6px;
    color: var(--ink-strong);
  }

  .site-header.is-menu-open .site-nav a:hover {
    background: var(--page-strong);
  }

  .site-header.is-menu-open .site-actions .site-button {
    flex: 0 0 auto;
    width: 100%;
    min-height: 44px;
  }
}
