:root {
  color-scheme: dark;
  --bg: #071426;
  --bg-deep: #050f1d;
  --bg-secondary: #0b1d36;
  --card: #102744;
  --card-deep: #0d2039;
  --accent: #4f8cff;
  --accent-light: #66c7ff;
  --text: #f5f7fb;
  --muted: #aab7ca;
  --faint: #72839c;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --success: #56d6a4;
  --warning: #f4bd63;
  --danger: #ff7d7d;
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 82px;
  --shadow: 0 32px 80px rgba(0, 4, 12, 0.35);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.03;
}

h1 {
  max-width: 860px;
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  font-weight: 620;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: white;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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 {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-kicker,
.eyebrow {
  margin-bottom: 20px;
  color: var(--accent-light);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(86, 214, 164, 0.1);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.15;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 36px rgba(79, 140, 255, 0.23);
}

.button-primary:hover {
  background: #6a9fff;
}

.button-secondary,
.button-quiet {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-secondary:hover,
.button-quiet:hover {
  border-color: rgba(102, 199, 255, 0.45);
  background: rgba(102, 199, 255, 0.07);
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.83rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(102, 199, 255, 0.35);
  text-underline-offset: 6px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.text-link:hover {
  color: var(--accent-light);
  text-decoration-color: var(--accent-light);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 20, 38, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand img {
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  line-height: 1.04;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 620;
  transition: color 180ms ease;
}

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

.header-cta {
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 900px;
  padding: calc(var(--header-height) + 96px) 0 100px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 40%, rgba(79, 140, 255, 0.17), transparent 32%),
    linear-gradient(180deg, #071426 0%, #08172b 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 10%, transparent 90%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.hero-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  color: var(--faint);
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.hero-badge span {
  color: var(--accent);
}

.hero-desk {
  position: relative;
  border: 1px solid var(--line-strong);
  background: rgba(9, 27, 50, 0.94);
  box-shadow: var(--shadow);
}

.hero-desk::before {
  position: absolute;
  z-index: -1;
  top: -32px;
  right: -42px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(102, 199, 255, 0.2);
  content: "";
}

.desk-topline,
.desk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
}

.desk-topline {
  border-bottom: 1px solid var(--line);
}

.desk-topline > div {
  display: grid;
  gap: 4px;
}

.desk-label {
  color: var(--faint);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.desk-topline strong {
  font-size: 0.88rem;
}

.live-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.live-state i,
.chat-header span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(86, 214, 164, 0.08);
}

.hero-conversation {
  min-height: 450px;
  padding: 34px 26px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.023) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero-message {
  max-width: 84%;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--card-deep);
}

.hero-message span {
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-message p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.client-message {
  margin-left: auto;
  border-color: rgba(79, 140, 255, 0.3);
  background: rgba(79, 140, 255, 0.12);
}

.ai-message {
  border-left: 2px solid var(--accent-light);
}

.route-line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 23px 0;
}

.route-line span {
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-line i {
  height: 1px;
  background: linear-gradient(90deg, rgba(102, 199, 255, 0.5), transparent);
}

.hero-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-options span {
  border: 1px solid var(--line-strong);
  padding: 8px 11px;
  color: var(--muted);
  font-size: 0.73rem;
}

.desk-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.desk-footer div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.desk-footer span {
  color: var(--accent-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.loss-section,
.capabilities-section,
.demo-section,
.workflow-section,
.industries-section,
.admin-preview-section,
.plans-section,
.benefits-section {
  padding: clamp(96px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 64px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 110px);
}

.split-heading h2 {
  max-width: 860px;
}

.split-heading > div > p,
.demo-heading > div > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.loss-section {
  background: var(--bg-deep);
}

.loss-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.loss-timeline article {
  position: relative;
  min-height: 225px;
  padding: 28px 25px;
  border-right: 1px solid var(--line);
}

.loss-timeline article:last-child {
  border-right: 0;
}

.loss-timeline time {
  color: var(--accent-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.loss-timeline p {
  margin: 44px 0 22px;
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.35;
}

.loss-timeline span {
  color: var(--faint);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.loss-conclusion {
  margin: 42px 0 0;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 560;
}

.loss-conclusion span {
  color: var(--accent-light);
}

.capabilities-section {
  background: linear-gradient(120deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.sticky-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.sticky-intro h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.sticky-intro > p:not(.section-kicker) {
  margin-bottom: 32px;
  color: var(--muted);
}

.capability-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.capability-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  min-height: 170px;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line);
}

.capability-list > li > span {
  color: var(--accent-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
}

.capability-list h3 {
  margin-bottom: 12px;
}

.capability-list p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.demo-section {
  position: relative;
  background: var(--bg-deep);
}

.demo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

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

.demo-truth {
  max-width: 760px;
  margin: -20px 0 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

.template-control {
  display: grid;
  min-width: 240px;
  gap: 8px;
}

.template-control label {
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.template-control select {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0 42px 0 14px;
  background: var(--card-deep);
  color: var(--text);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  border: 1px solid var(--line-strong);
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
}

.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto auto auto;
  min-width: 0;
  background: var(--bg-secondary);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.agent-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(102, 199, 255, 0.38);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(79, 140, 255, 0.3), rgba(102, 199, 255, 0.07));
  color: var(--accent-light);
  font-weight: 800;
}

.chat-header > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.chat-header strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-header span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 0.7rem;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--accent-light);
}

.chat-messages {
  min-height: 0;
  max-height: 510px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  scrollbar-color: var(--card) transparent;
  scrollbar-width: thin;
}

.chat-bubble {
  width: fit-content;
  max-width: min(84%, 560px);
  margin-bottom: 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

.assistant-bubble {
  border-left-color: var(--accent-light);
  background: var(--card-deep);
}

.user-bubble {
  margin-left: auto;
  border-color: rgba(79, 140, 255, 0.32);
  background: rgba(79, 140, 255, 0.14);
}

.typing-indicator {
  display: flex;
  width: fit-content;
  gap: 5px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-left: 1px solid var(--accent-light);
  background: var(--card-deep);
}

.typing-indicator i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 900ms infinite alternate;
}

.typing-indicator i:nth-child(2) {
  animation-delay: 150ms;
}

.typing-indicator i:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes typing {
  to { opacity: 0.25; transform: translateY(-3px); }
}

.quick-replies {
  display: flex;
  min-height: 46px;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 12px;
  scrollbar-width: none;
}

.quick-replies::-webkit-scrollbar {
  display: none;
}

.quick-replies button {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid rgba(102, 199, 255, 0.24);
  border-radius: 3px;
  padding: 7px 11px;
  background: rgba(102, 199, 255, 0.06);
  color: var(--accent-light);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.quick-replies button:hover {
  border-color: var(--accent-light);
  background: rgba(102, 199, 255, 0.12);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 9px;
  padding: 14px 18px 8px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 0 14px;
  background: rgba(5, 15, 29, 0.72);
  color: var(--text);
}

.chat-form input::placeholder {
  color: var(--faint);
}

.chat-form button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-size: 1.25rem;
}

.handoff-link {
  width: fit-content;
  margin: 0 18px 15px;
  border: 0;
  padding: 4px 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.73rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.lead-summary {
  margin: 16px 0 18px;
  border: 1px solid rgba(86, 214, 164, 0.3);
  padding: 16px;
  background: rgba(86, 214, 164, 0.06);
}

.lead-summary strong {
  color: var(--success);
  font-size: 0.82rem;
}

.lead-summary pre {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.74rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.owner-panel {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  border-left: 1px solid var(--line-strong);
  background: linear-gradient(155deg, var(--card-deep), #08172b);
}

.owner-panel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.owner-panel-top > span {
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
}

.owner-panel h3 {
  max-width: 420px;
  margin: 12px 0 28px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.notification-card {
  border: 1px solid var(--line-strong);
  padding: 20px;
  background: #0a1a2f;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.notification-card.notification-updated {
  border-color: rgba(86, 214, 164, 0.55);
  box-shadow: 0 0 0 4px rgba(86, 214, 164, 0.06);
}

.notification-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.notification-title strong {
  font-size: 0.82rem;
}

.notification-title time {
  color: var(--faint);
  font-size: 0.68rem;
}

.notification-card dl {
  margin: 8px 0 0;
}

.notification-card dl div {
  display: grid;
  grid-template-columns: minmax(72px, 0.42fr) 1fr;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.notification-card dt {
  color: var(--faint);
  font-size: 0.7rem;
}

.notification-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.76rem;
  font-weight: 650;
}

.notification-comment {
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.notification-actions button {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.66rem;
}

.notification-actions button.selected {
  border-color: rgba(86, 214, 164, 0.38);
  color: var(--success);
}

.owner-note,
.demo-disclaimer {
  margin: 19px 0;
  color: var(--faint);
  font-size: 0.75rem;
}

.workflow-section {
  background: var(--bg);
}

.setup-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}

.setup-track li {
  min-height: 260px;
  padding: 26px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
}

.setup-track li:last-child {
  border-right: 0;
}

.setup-track span,
.industry-list article > span,
.plan-list article > div > span {
  color: var(--accent-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.setup-track h3 {
  margin: 72px 0 14px;
}

.setup-track p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.industries-section {
  background: var(--bg-deep);
}

.industries-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(60px, 9vw, 130px);
}

.industries-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  align-self: start;
}

.industries-intro p:last-child {
  color: var(--muted);
}

.industry-list {
  border-top: 1px solid var(--line);
}

.industry-list article {
  display: grid;
  grid-template-columns: 42px minmax(150px, 0.7fr) 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 25px 4px;
  border-bottom: 1px solid var(--line);
}

.industry-list h3,
.industry-list p {
  margin: 0;
}

.industry-list h3 {
  font-size: 1.08rem;
}

.industry-list p {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-preview-section {
  overflow: hidden;
  background: linear-gradient(130deg, #0b1d36 0%, #08172b 100%);
}

.admin-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(50px, 7vw, 90px);
  align-items: center;
}

.admin-preview-copy p:not(.section-kicker, .demo-disclaimer) {
  margin-bottom: 28px;
  color: var(--muted);
}

.admin-window {
  border: 1px solid var(--line-strong);
  background: #071426;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg);
}

.admin-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.62rem;
}

.admin-window-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}

.admin-window-bar span {
  margin-left: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.admin-window-body {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 360px;
}

.mini-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  padding-top: 17px;
  border-right: 1px solid var(--line);
}

.mini-sidebar b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(102, 199, 255, 0.3);
  color: var(--accent-light);
  font-size: 0.7rem;
}

.mini-sidebar span {
  width: 17px;
  height: 5px;
  background: var(--line-strong);
}

.mini-sidebar span.active {
  background: var(--accent);
}

.mini-content {
  padding: 27px;
}

.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mini-top span {
  padding: 7px 10px;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr 1fr;
  gap: 12px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
}

.mini-row.header {
  color: var(--faint);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mini-row .state-new {
  color: var(--success);
}

.plans-section {
  background: var(--bg);
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
}

.plan-list article {
  display: grid;
  min-height: 520px;
  grid-template-rows: auto 1fr auto;
  padding: 32px;
  border-right: 1px solid var(--line-strong);
  background: var(--bg-secondary);
}

.plan-list article:last-child {
  border-right: 0;
}

.plan-list .featured-plan {
  background: linear-gradient(160deg, rgba(79, 140, 255, 0.17), var(--card-deep));
}

.plan-list h3 {
  margin: 40px 0 10px;
  font-size: 2rem;
}

.plan-list p {
  color: var(--muted);
}

.plan-list ul {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.plan-list li::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  content: "";
}

.plan-list article > strong {
  font-size: 0.85rem;
}

.benefits-section {
  background: var(--bg-deep);
}

.benefits-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(60px, 9vw, 130px);
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.benefits-list li {
  display: flex;
  gap: 16px;
  min-height: 115px;
  align-items: center;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 620;
  line-height: 1.35;
}

.benefits-list li:nth-child(even) {
  border-right: 0;
}

.benefits-list span {
  flex: 0 0 auto;
  color: var(--accent-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 190px) 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(79, 140, 255, 0.22), transparent 35%),
    linear-gradient(140deg, #0b1d36, #071426);
}

.final-cta::after {
  position: absolute;
  right: -8vw;
  bottom: -24vw;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(102, 199, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 950px;
}

.final-cta p:not(.section-kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 36px;
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: #050e1a;
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 30px;
}

.footer-layout > p,
.footer-layout > span {
  margin: 0;
  color: var(--faint);
  font-size: 0.75rem;
}

.footer-layout nav {
  display: flex;
  gap: 18px;
}

.footer-layout nav a {
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-layout nav a:hover {
  color: var(--text);
}

.floating-chat {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid rgba(102, 199, 255, 0.32);
  border-radius: 28px;
  padding: 6px 17px 6px 6px;
  background: rgba(13, 32, 57, 0.94);
  color: var(--text);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.floating-chat > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 800;
}

.floating-chat > span:last-child {
  font-size: 0.8rem;
  font-weight: 750;
}

.chat-dialog {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 30px);
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  padding: 0;
  background: var(--bg-secondary);
  color: var(--text);
  box-shadow: var(--shadow);
}

.chat-dialog::backdrop {
  background: rgba(2, 8, 16, 0.75);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.dialog-header span {
  color: var(--accent-light);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.dialog-header h2 {
  margin: 3px 0 0;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.dialog-header button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.4rem;
}

.dialog-chat {
  grid-template-rows: auto minmax(250px, 1fr) auto auto auto;
  max-height: calc(100dvh - 108px);
}

.dialog-chat .chat-messages {
  max-height: min(430px, calc(100dvh - 330px));
}

noscript {
  position: fixed;
  z-index: 200;
  right: 10px;
  bottom: 10px;
  max-width: 420px;
  border: 1px solid var(--warning);
  padding: 14px;
  background: var(--bg-deep);
  color: var(--text);
}

.not-found {
  display: grid;
  width: min(720px, calc(100% - 30px));
  min-height: 100dvh;
  margin-inline: auto;
  align-content: center;
  justify-items: start;
  padding-block: 60px;
}

.not-found .brand {
  margin-bottom: 70px;
}

.not-found h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 11vw, 6rem);
}

.not-found > p:not(.section-kicker) {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--muted);
}

.admin-placeholder {
  display: grid;
  width: min(1180px, calc(100% - 30px));
  min-height: 100dvh;
  margin-inline: auto;
  grid-template-rows: auto 1fr;
  padding-block: 24px 60px;
}

.admin-placeholder > div {
  display: grid;
  max-width: 780px;
  align-content: center;
  justify-items: start;
}

.admin-placeholder h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 9vw, 6.5rem);
}

.admin-placeholder > div > p:not(.section-kicker) {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 34px, 980px);
  }

  .site-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-desk {
    width: min(720px, 100%);
    margin-left: auto;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .owner-panel {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .notification-card {
    max-width: 620px;
  }

  .admin-preview {
    grid-template-columns: 1fr;
  }

  .admin-preview-copy {
    max-width: 760px;
  }

  .admin-window {
    transform: none;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
    --shell: min(100% - 30px, 720px);
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 5.2rem);
  }

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    margin-left: auto;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--text);
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line-strong);
    background: #071426;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 70px);
  }

  .split-heading,
  .capability-layout,
  .industries-layout,
  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .sticky-intro,
  .industries-intro {
    position: static;
  }

  .loss-timeline,
  .setup-track {
    grid-template-columns: 1fr 1fr;
  }

  .loss-timeline article:nth-child(2) {
    border-right: 0;
  }

  .loss-timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .setup-track li:nth-child(2) {
    border-right: 0;
  }

  .demo-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .template-control {
    width: min(100%, 360px);
  }

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

  .plan-list article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .plan-list article:last-child {
    border-bottom: 0;
  }

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

  .footer-layout > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 24px);
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(2.55rem, 13.6vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .header-inner {
    gap: 16px;
  }

  .hero {
    padding-bottom: 72px;
  }

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

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

  .hero-actions .text-link,
  .final-actions .text-link {
    min-height: 48px;
    align-items: center;
  }

  .hero-desk::before {
    display: none;
  }

  .desk-topline,
  .desk-footer {
    padding: 15px;
  }

  .desk-topline strong {
    font-size: 0.75rem;
  }

  .hero-conversation {
    min-height: 410px;
    padding: 24px 16px;
  }

  .hero-message {
    max-width: 94%;
  }

  .desk-footer {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .loss-section,
  .capabilities-section,
  .demo-section,
  .workflow-section,
  .industries-section,
  .admin-preview-section,
  .plans-section,
  .benefits-section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .loss-timeline,
  .setup-track {
    grid-template-columns: 1fr;
  }

  .loss-timeline article,
  .loss-timeline article:nth-child(2),
  .setup-track li,
  .setup-track li:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .loss-timeline p,
  .setup-track h3 {
    margin-top: 28px;
  }

  .capability-list li {
    grid-template-columns: 34px 1fr;
    min-height: auto;
    gap: 10px;
    padding: 25px 0;
  }

  .demo-layout {
    margin-inline: -12px;
    border-inline: 0;
  }

  .chat-panel {
    grid-template-rows: auto minmax(330px, 1fr) auto auto auto;
  }

  .chat-messages {
    max-height: 470px;
    padding: 18px 14px;
  }

  .chat-bubble {
    max-width: 92%;
  }

  .quick-replies {
    padding-inline: 14px;
  }

  .chat-form {
    padding-inline: 14px;
  }

  .handoff-link {
    margin-left: 14px;
  }

  .owner-panel {
    padding: 30px 18px;
  }

  .notification-card {
    padding: 16px;
  }

  .notification-card dl div {
    grid-template-columns: 80px 1fr;
  }

  .industry-list article {
    grid-template-columns: 34px 1fr;
  }

  .industry-list p {
    grid-column: 2;
  }

  .admin-window-body {
    grid-template-columns: 42px 1fr;
  }

  .mini-content {
    padding: 18px 12px;
    overflow: hidden;
  }

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

  .mini-row span:nth-child(n + 3) {
    display: none;
  }

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

  .benefits-list li,
  .benefits-list li:nth-child(even) {
    min-height: 88px;
    border-right: 0;
  }

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

  .footer-layout > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-layout nav {
    flex-wrap: wrap;
  }

  .floating-chat {
    right: 12px;
    bottom: 12px;
  }

  .floating-chat > span:last-child {
    display: none;
  }

  .floating-chat {
    width: 52px;
    padding: 6px;
  }

  .chat-dialog {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
  }

  .dialog-shell {
    max-height: calc(100dvh - 12px);
  }

  .dialog-chat {
    max-height: calc(100dvh - 88px);
  }

  .dialog-chat .chat-messages {
    max-height: calc(100dvh - 330px);
  }
}

@media (max-width: 360px) {
  :root {
    --shell: calc(100% - 20px);
  }

  .brand-copy span {
    display: none;
  }

  .demo-layout {
    margin-inline: -10px;
  }

  .notification-card dl div {
    grid-template-columns: 70px 1fr;
    gap: 8px;
  }

  .owner-panel-top {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
