/*
 * Helios Automation — Celaeno
 * Static sales page, no framework or external assets required.
 */

:root {
  --ink: #0c172b;
  --ink-soft: #33415d;
  --muted: #66728a;
  --line: #dfe4ec;
  --line-dark: rgba(255, 255, 255, 0.13);
  --paper: #ffffff;
  --paper-warm: #f6f7f8;
  --paper-blue: #f1f5fb;
  --navy: #08152d;
  --navy-light: #11284e;
  --brand: #173779;
  --blue: #2e65df;
  --blue-light: #82aaf9;
  --cyan: #54c9ce;
  --mint: #5dd3ac;
  --amber: #f0ad56;
  --red: #e56565;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 30px rgba(14, 30, 61, 0.07);
  --shadow: 0 24px 70px rgba(5, 18, 43, 0.14);
  --container: 1180px;
  --header-height: 76px;
  --font-sans: Inter, Avenir Next, Avenir, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  --font-mono: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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

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

button {
  border: 0;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1,
h2 {
  line-height: 1.06;
}

h3 {
  line-height: 1.25;
}

::selection {
  background: rgba(46, 101, 223, 0.18);
  color: var(--ink);
}

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

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  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;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.97);
  transition: height 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(8, 21, 45, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

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

.brand-divider {
  width: 1px;
  height: 29px;
  background: var(--line);
}

.brand-product {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.13em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  color: #3f4d65;
  font-size: 13px;
  font-weight: 650;
}

.main-nav > a:not(.button) {
  position: relative;
  padding-block: 8px;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1.5px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Shared buttons and type */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.button svg {
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.button:hover svg {
  transform: translateX(3px);
}

.button-small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 12px;
}

.button-dark {
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 7px 20px rgba(8, 21, 45, 0.14);
}

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

.button-primary {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 12px 30px rgba(46, 101, 223, 0.28);
}

.button-primary:hover {
  background: #3973ef;
  box-shadow: 0 16px 36px rgba(46, 101, 223, 0.34);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover {
  gap: 13px;
  color: var(--blue);
}

.text-link-light {
  color: rgba(255, 255, 255, 0.85);
}

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

.eyebrow,
.demo-kicker,
.panel-label,
.option-label,
.step-time {
  margin-bottom: 16px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding-block: 112px;
}

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

.section-heading h2,
.pilot-copy h2,
.faq-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(37px, 4.2vw, 57px);
  font-weight: 750;
}

.section-heading > p:last-child,
.split-heading > p,
.pilot-copy > .lead,
.faq-intro > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 80px;
  max-width: none;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading > p {
  margin-bottom: 3px;
  font-size: 16px;
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  padding-top: calc(var(--header-height) + 80px);
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
  isolation: isolate;
}

.hero-grid,
.flow-grid-bg,
.final-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-grid::after,
.flow-grid-bg::after,
.final-grid::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(130, 170, 249, 0.22) 1px, transparent 1.5px);
  background-size: 28px 28px;
  content: "";
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  top: -260px;
  right: -130px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(44, 94, 203, 0.38), transparent 69%);
}

.hero-glow-two {
  bottom: -360px;
  left: 15%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(56, 187, 190, 0.13), transparent 68%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 6vw, 86px);
  min-height: 600px;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  padding: 7px 12px;
  border: 1px solid rgba(107, 221, 184, 0.25);
  border-radius: 999px;
  background: rgba(93, 211, 172, 0.08);
  color: #a9efd8;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-dot,
.demo-live span,
.pilot-badge i,
.flow-stage-bar i,
.flow-stage-footer i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(93, 211, 172, 0.12);
}

.status-dot,
.demo-live span {
  animation: pulse-status 2.2s infinite;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 760;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--blue-light);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 33px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.65;
}

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

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  margin: 27px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  list-style: none;
}

.hero-assurances span {
  margin-right: 5px;
  color: var(--mint);
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.demo-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: #f7f9fc;
  color: var(--ink);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.36), 0 0 0 8px rgba(255, 255, 255, 0.025);
  transform: rotateY(-2.5deg) rotateX(0.8deg);
  transform-origin: center left;
}

.demo-window::before {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 23%;
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  content: "";
  box-shadow: 0 0 15px var(--cyan);
}

.demo-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 45px;
  padding-inline: 16px;
  border-bottom: 1px solid #dfe5ee;
  background: #fff;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9dfe9;
}

.demo-title {
  color: #6f7990;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.demo-live {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  color: #4e5c73;
  font-size: 8px;
  font-weight: 700;
}

.demo-live span {
  width: 6px;
  height: 6px;
}

.demo-content {
  padding: 23px;
}

.demo-kicker {
  margin-bottom: 14px;
  color: #7b879b;
  font-size: 8px;
}

.order-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
}

.order-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #e9effb;
  color: var(--blue);
}

.order-avatar svg {
  width: 19px;
}

.order-head strong,
.order-head span {
  display: block;
}

.order-head strong {
  margin-bottom: 3px;
  font-size: 12px;
}

.order-head div > span {
  color: #7b879a;
  font-size: 9px;
}

.demo-badge {
  padding: 5px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-badge-blue {
  background: #e6edfc;
  color: #285ccb;
}

.attachment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.attachment {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid #e0e5ed;
  border-radius: 8px;
  background: #fff;
  color: #3a485f;
  font-size: 9px;
  font-weight: 650;
}

.attachment small,
.result-card span,
.mail-preview-head small,
.match-table small,
.output-grid small {
  display: block;
  color: #8892a4;
  font-size: 7px;
  font-weight: 500;
}

.file-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 7px;
  background: #ffebec;
  color: #d9545d;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 900;
}

.file-icon-dxf {
  background: #e7f5ef;
  color: #2c9b75;
}

.pipeline-mini {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: start;
  margin: 23px 3px 20px;
}

.pipeline-mini > i {
  height: 1px;
  margin-top: 11px;
  background: #d6dce7;
}

.pipeline-mini > i:nth-of-type(-n + 2) {
  background: var(--mint);
}

.pipeline-node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.pipeline-node > span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid #d5dce8;
  border-radius: 50%;
  background: #fff;
  color: #9ba5b5;
  font-size: 8px;
  font-weight: 800;
}

.pipeline-node small {
  color: #8490a2;
  font-size: 7px;
}

.pipeline-node.is-done > span {
  border-color: var(--mint);
  background: var(--mint);
  color: #0f563f;
}

.pipeline-node.is-done > span::before {
  content: "✓";
}

.pipeline-node.is-done > span {
  font-size: 0;
}

.pipeline-node.is-done > span::before {
  font-size: 9px;
}

.pipeline-node.is-active > span {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(46, 101, 223, 0.12);
}

.demo-results {
  display: grid;
  gap: 7px;
}

.result-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #e1e6ee;
  border-radius: 9px;
  background: #fff;
}

.result-card-warning {
  border-color: #f0d9b7;
  background: #fffaf2;
}

.result-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
}

.result-icon svg {
  width: 14px;
}

.result-icon-green {
  background: #e3f7ef;
  color: #1f9a6e;
}

.result-icon-amber {
  background: #fff0d9;
  color: #c57b1a;
}

.result-icon-blue {
  background: #e8effe;
  color: #3168dc;
}

.result-card strong {
  display: block;
  font-size: 9px;
}

.result-card > b {
  color: #738097;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.04em;
}

.demo-caption {
  display: flex;
  gap: 7px;
  margin: 15px 8px 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  line-height: 1.45;
}

.demo-caption span {
  color: var(--cyan);
}

.proof-strip {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 70px;
  padding: 23px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.proof-intro span,
.proof-intro strong,
.proof-item strong,
.proof-item small {
  display: block;
}

.proof-intro span {
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-intro strong {
  margin-top: 3px;
  font-size: 13px;
}

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

.proof-icon {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--blue-light);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.proof-item strong {
  font-size: 11px;
}

.proof-item small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
}

/* Problem */
.section-problem {
  background: var(--paper);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.problem-card {
  position: relative;
  min-height: 310px;
  padding: 38px 35px 35px;
  background: var(--paper);
}

.problem-card + .problem-card {
  border-left: 1px solid var(--line);
}

.problem-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.problem-card:hover::after {
  transform: scaleX(1);
}

.card-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #b0b7c4;
  font-family: var(--font-mono);
  font-size: 10px;
}

.problem-icon,
.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--paper-blue);
  color: var(--blue);
}

.problem-icon svg,
.feature-icon svg {
  width: 24px;
  height: 24px;
}

.problem-card h3 {
  margin-bottom: 13px;
  font-size: 20px;
  font-weight: 750;
}

.problem-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Interactive flow */
.section-flow {
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
  isolation: isolate;
}

.flow-grid-bg {
  opacity: 0.14;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

.section-heading-light {
  max-width: 790px;
}

.section-heading-light .eyebrow {
  color: var(--cyan);
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.flow-workspace {
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(0, 1.25fr);
  min-height: 580px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.flow-tabs {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(1, 10, 25, 0.3);
}

.flow-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 98px;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.flow-tab + .flow-tab {
  margin-top: 5px;
}

.flow-tab:hover {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.035);
}

.flow-tab.is-active {
  border-color: rgba(130, 170, 249, 0.22);
  background: rgba(46, 101, 223, 0.14);
  color: var(--paper);
}

.flow-tab-num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.flow-tab.is-active .flow-tab-num {
  border-color: var(--blue-light);
  background: var(--blue);
  color: #fff;
}

.flow-tab strong,
.flow-tab small {
  display: block;
}

.flow-tab strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.flow-tab small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  line-height: 1.45;
}

.flow-tab svg {
  width: 17px;
  height: 17px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.flow-tab.is-active svg {
  opacity: 1;
  transform: translateX(0);
}

.flow-stage {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #f7f9fc;
  color: var(--ink);
}

.flow-stage-bar,
.flow-stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  color: #8792a5;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.flow-stage-bar {
  height: 48px;
  padding-inline: 22px;
  border-bottom: 1px solid #e0e5ed;
  background: #fff;
}

.flow-stage-bar span,
.flow-stage-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.flow-stage-bar i,
.flow-stage-footer i {
  display: block;
  width: 6px;
  height: 6px;
}

.flow-stage-bar small {
  padding: 4px 7px;
  border-radius: 4px;
  background: #eaf7f2;
  color: #3e946f;
  font-size: 7px;
}

.flow-panel {
  flex: 1 1 auto;
  padding: clamp(34px, 5vw, 58px);
  animation: panel-in 280ms ease both;
}

.flow-panel .panel-label {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 9px;
}

.flow-panel > h3 {
  max-width: 610px;
  margin-bottom: 15px;
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 760;
}

.flow-panel > p {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.flow-stage-footer {
  height: 42px;
  padding-inline: 22px;
  border-top: 1px solid #e0e5ed;
  background: #fff;
  color: #939dae;
  letter-spacing: 0.03em;
}

.mail-preview,
.extract-preview,
.match-table,
.review-preview,
.output-grid > div {
  border: 1px solid #dfe5ee;
  background: #fff;
  box-shadow: 0 9px 25px rgba(9, 26, 56, 0.05);
}

.mail-preview {
  max-width: 560px;
  padding: 18px;
  border-radius: 12px;
}

.mail-preview-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.mail-preview-head .avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.mail-preview-head strong {
  display: block;
  font-size: 11px;
}

.mail-preview-head b {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef3fd;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 7px;
}

.mail-lines {
  display: grid;
  gap: 7px;
  margin-block: 18px;
}

.mail-lines i {
  height: 6px;
  border-radius: 5px;
  background: #edf0f5;
}

.mail-lines i:nth-child(1) { width: 94%; }
.mail-lines i:nth-child(2) { width: 74%; }
.mail-lines i:nth-child(3) { width: 41%; }

.mail-files {
  display: flex;
  gap: 8px;
}

.mail-files span {
  padding: 7px 9px;
  border: 1px solid #e0e5ed;
  border-radius: 6px;
  color: #667288;
  font-family: var(--font-mono);
  font-size: 7px;
}

.extract-preview {
  display: grid;
  max-width: 580px;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 12px;
}

.extract-preview > div {
  position: relative;
  padding: 16px;
}

.extract-preview > div:nth-child(odd) {
  border-right: 1px solid #e3e8f0;
}

.extract-preview > div:nth-child(-n + 2) {
  border-bottom: 1px solid #e3e8f0;
}

.extract-preview span,
.extract-preview strong {
  display: block;
}

.extract-preview span {
  margin-bottom: 5px;
  color: #8994a6;
  font-size: 8px;
}

.extract-preview strong {
  font-size: 11px;
}

.extract-preview b {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #35a477;
  font-family: var(--font-mono);
  font-size: 7px;
}

.illustration-note {
  display: block;
  margin-top: 9px;
  color: #9aa3b1;
  font-size: 8px;
}

.match-table {
  max-width: 620px;
  overflow: hidden;
  border-radius: 12px;
}

.match-table > div {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.65fr;
  align-items: center;
  gap: 12px;
  min-height: 59px;
  padding-inline: 16px;
  border-top: 1px solid #e7ebf1;
  font-size: 9px;
}

.match-table > .match-head {
  min-height: 34px;
  border-top: 0;
  background: #f2f5f9;
  color: #8b95a5;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-table b,
.match-table small {
  display: block;
}

.match-table em {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.match-ok {
  background: #e7f7f0;
  color: #23845f;
}

.match-review {
  background: #fff1db;
  color: #a56313;
}

.review-preview {
  max-width: 600px;
  overflow: hidden;
  border-radius: 12px;
}

.review-alert {
  display: flex;
  gap: 12px;
  padding: 17px;
  border-bottom: 1px solid #eee5d7;
  background: #fffaf3;
}

.review-alert > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #ffe9c8;
  color: #b56d16;
  font-weight: 900;
}

.review-alert p,
.assistant-line p {
  margin: 0;
}

.review-alert strong,
.review-alert small {
  display: block;
}

.review-alert strong {
  margin-bottom: 3px;
  font-size: 10px;
}

.review-alert small {
  color: #8a7b67;
  font-size: 8px;
}

.review-actions {
  display: flex;
  gap: 8px;
  padding: 14px 17px;
}

.review-actions button {
  padding: 7px 10px;
  border: 1px solid #dbe1ea;
  border-radius: 6px;
  background: #fff;
  color: #526079;
  font-size: 8px;
}

.review-actions button:first-child {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.assistant-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 17px 17px;
  padding: 10px;
  border-radius: 8px;
  background: #f0f4fb;
  color: #65738b;
  font-size: 8px;
}

.assistant-line > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 900;
}

.output-grid {
  display: grid;
  max-width: 620px;
  gap: 8px;
}

.output-grid > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 11px 13px;
  border-radius: 10px;
}

.output-logo {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 8px;
  background: #e7edfb;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
}

.output-logo-mail {
  background: #e7f5f6;
  color: #26858b;
}

.output-logo-audit {
  background: #eff0f3;
  color: #5d6879;
}

.output-grid p {
  margin: 0;
}

.output-grid strong,
.output-grid small {
  display: block;
}

.output-grid strong {
  font-size: 10px;
}

.output-grid > div > b {
  color: #28a070;
  font-size: 13px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.feature-card {
  position: relative;
  min-height: 285px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.feature-card:hover {
  border-color: #bbc9e5;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.feature-card-wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: auto 1fr;
  gap: 20px;
}

.feature-icon {
  width: 43px;
  height: 43px;
  margin-bottom: 28px;
}

.feature-icon svg {
  width: 21px;
}

.feature-card-wide .feature-icon {
  margin-bottom: 0;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
  font-weight: 750;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.feature-visual {
  position: absolute;
  right: 25px;
  bottom: 23px;
}

.file-stack {
  width: 150px;
  height: 76px;
}

.file-stack span {
  position: absolute;
  display: grid;
  width: 57px;
  height: 70px;
  place-items: end center;
  padding-bottom: 11px;
  border: 1px solid #dfe5ee;
  border-radius: 9px;
  background: #fff;
  color: #718097;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(10, 30, 65, 0.06);
}

.file-stack span::before {
  position: absolute;
  top: 14px;
  width: 20px;
  height: 25px;
  border: 1px solid currentColor;
  border-radius: 3px;
  content: "";
  opacity: 0.6;
}

.file-stack span:nth-child(1) { right: 76px; bottom: 0; color: #ce5b65; transform: rotate(-7deg); }
.file-stack span:nth-child(2) { right: 38px; bottom: 3px; color: #2c9878; transform: rotate(3deg); }
.file-stack span:nth-child(3) { right: 0; bottom: 0; color: #3c6ed5; transform: rotate(8deg); }

.rule-visual {
  right: 28px;
  bottom: 25px;
  width: 210px;
  padding: 12px;
  border: 1px solid #dfe5ee;
  border-radius: 9px;
  background: #f8fafc;
  box-shadow: 0 9px 22px rgba(10, 30, 65, 0.06);
}

.rule-visual span,
.rule-visual b,
.rule-visual em {
  display: block;
}

.rule-visual span {
  color: #8a94a5;
  font-size: 7px;
}

.rule-visual b {
  margin-block: 4px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.rule-visual em {
  color: #2b936f;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  text-transform: uppercase;
}

.safety-banner {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) minmax(440px, 1.25fr);
  align-items: center;
  gap: 23px;
  margin-top: 38px;
  padding: 30px 34px;
  border-radius: var(--radius);
  background: var(--paper-blue);
}

.safety-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
}

.safety-mark svg {
  width: 27px;
}

.safety-banner .eyebrow {
  margin-bottom: 5px;
  font-size: 8px;
}

.safety-banner h3 {
  margin: 0;
  font-size: 20px;
}

.safety-banner ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  color: #53617a;
  font-size: 11px;
  font-weight: 650;
  list-style: none;
}

.safety-banner li::before {
  margin-right: 8px;
  color: #2b9d72;
  content: "✓";
}

/* Pilot */
.section-pilot {
  overflow: hidden;
  background: #f2f4f7;
}

.section-pilot::before {
  position: absolute;
  top: 0;
  right: -220px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 101, 223, 0.08), transparent 68%);
  content: "";
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(60px, 8vw, 110px);
}

.pilot-copy h2 {
  margin-bottom: 25px;
}

.pilot-copy > .lead {
  margin-bottom: 25px;
  font-size: 16px;
}

.honesty-note {
  display: flex;
  gap: 13px;
  margin-bottom: 29px;
  padding: 16px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.72);
}

.honesty-note > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: serif;
  font-size: 12px;
  font-weight: 800;
}

.honesty-note p {
  margin: 0;
  color: #5d697e;
  font-size: 12px;
  line-height: 1.65;
}

.pilot-board {
  position: relative;
  padding: 25px 27px 27px;
  border: 1px solid #dce2ea;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.pilot-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  color: #8590a2;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #e9f7f1;
  color: #27845f;
  font-size: 7px;
}

.pilot-badge i {
  display: block;
  width: 6px;
  height: 6px;
}

.pilot-progress {
  height: 4px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf0f4;
}

.pilot-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--blue), var(--cyan));
}

.milestone {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 10px 6px;
}

.milestone + .milestone {
  border-top: 1px solid #edf0f4;
}

.milestone-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #dce2ea;
  border-radius: 50%;
  background: #fff;
  color: #9aa4b3;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.milestone.is-complete .milestone-mark {
  border-color: #bde6d5;
  background: #e9f8f1;
  color: #268c65;
}

.milestone.is-current .milestone-mark {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(46, 101, 223, 0.1);
}

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

.milestone strong {
  margin-bottom: 3px;
  font-size: 12px;
}

.milestone small {
  color: #8993a4;
  font-size: 9px;
}

.milestone em {
  padding: 5px 7px;
  border-radius: 5px;
  background: #f0f2f5;
  color: #8b94a3;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.milestone.is-complete em {
  background: #eaf7f1;
  color: #378769;
}

.milestone.is-current em {
  background: #eaf0fd;
  color: #3564c7;
}

/* Deployment */
.section-deployment {
  background: #fff;
}

.deployment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.deployment-card {
  min-height: 500px;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f7f9fc;
}

.deployment-card-dark {
  position: relative;
  overflow: hidden;
  border-color: #1c3967;
  background: linear-gradient(145deg, #0b1b38, #0e2850);
  color: #fff;
}

.deployment-card-dark::after {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 201, 206, 0.17), transparent 66%);
  content: "";
  pointer-events: none;
}

.deployment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.deployment-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: #e8eefb;
  color: var(--blue);
}

.deployment-card-dark .deployment-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
}

.deployment-icon svg {
  width: 24px;
}

.option-label {
  margin: 0;
  color: #8c96a7;
  font-size: 8px;
}

.deployment-card-dark .option-label {
  color: rgba(255, 255, 255, 0.4);
}

.dgx-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: #b5ebd7;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dgx-label span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 4px;
  background: #76b900;
  color: #07142a;
  font-size: 9px;
}

.deployment-card h3 {
  margin-bottom: 17px;
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 750;
}

.deployment-card > p {
  min-height: 82px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.deployment-card-dark > p {
  color: rgba(255, 255, 255, 0.62);
}

.architecture-line {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 17px 14px;
  border: 1px solid #e0e5ee;
  border-radius: 11px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
}

.architecture-line > span {
  padding: 8px 5px;
  border-radius: 6px;
  background: #f2f4f7;
}

.architecture-line > i {
  color: #9ca6b4;
  font-style: normal;
}

.architecture-line > .arch-active {
  background: #e8eefc;
  color: var(--blue);
  font-weight: 800;
}

.deployment-card-dark .architecture-line {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
}

.deployment-card-dark .architecture-line > span {
  background: rgba(255, 255, 255, 0.07);
}

.deployment-card-dark .architecture-line > .arch-active {
  background: rgba(84, 201, 206, 0.16);
  color: #80e2df;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #4f5e76;
  font-size: 12px;
  list-style: none;
}

.check-list li::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 9px;
  place-items: center;
  border-radius: 50%;
  background: #e4f4ed;
  color: #268a64;
  content: "✓";
  font-size: 8px;
  font-weight: 900;
}

.deployment-card-dark .check-list {
  color: rgba(255, 255, 255, 0.7);
}

.deployment-card-dark .check-list li::before {
  background: rgba(93, 211, 172, 0.12);
  color: var(--mint);
}

.deployment-footnote {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  color: #818b9b;
  font-size: 10px;
  text-align: center;
}

.deployment-footnote span {
  color: var(--blue);
}

/* Engagement process */
.section-process {
  border-top: 1px solid var(--line);
  background: #f8f9fb;
}

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

.engagement-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 19px;
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
}

.engagement-steps li:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.engagement-steps li:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.engagement-steps li + li {
  border-left: 0;
}

.engagement-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 53px;
  right: -12px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  content: "→";
  font-size: 10px;
}

.engagement-num {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.step-time {
  display: block;
  margin: 3px 0 21px;
  color: var(--blue);
  font-size: 8px;
}

.engagement-steps h3 {
  margin-bottom: 11px;
  font-size: 18px;
  font-weight: 750;
}

.engagement-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* FAQ */
.section-faq {
  background: #fff;
}

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

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

.faq-intro h2 {
  font-size: clamp(38px, 4vw, 52px);
}

.faq-intro > p {
  margin-bottom: 28px;
  font-size: 15px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-size: 17px;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid #ccd4df;
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--brand);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details[open] summary {
  color: var(--blue);
}

.faq-list details p {
  max-width: 730px;
  margin: -5px 44px 24px 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* CTA and footer */
.final-cta {
  position: relative;
  padding-block: 105px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}

.final-grid {
  opacity: 0.16;
  mask-image: radial-gradient(circle at 35% 50%, black, transparent 75%);
}

.final-cta::after {
  position: absolute;
  z-index: -1;
  top: -360px;
  right: -250px;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 101, 223, 0.28), transparent 66%);
  content: "";
}

.final-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: clamp(60px, 10vw, 130px);
}

.final-copy .eyebrow {
  color: var(--cyan);
}

.final-copy h2 {
  margin-bottom: 21px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 760;
}

.final-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 18px;
  line-height: 1.7;
}

.final-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 19px;
}

.phone-link {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.phone-link span {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.final-copy > small {
  display: block;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
}

.consultation-card {
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.consultation-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 29px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.consultation-head > span {
  font-size: 56px;
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.consultation-head strong,
.consultation-head small {
  display: block;
}

.consultation-head strong {
  font-size: 16px;
}

.consultation-head small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
}

.consultation-card h3 {
  margin-bottom: 19px;
  font-size: 16px;
}

.consultation-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consultation-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.55;
}

.consultation-card li span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 8px;
}

.site-footer {
  padding-top: 72px;
  background: #050e20;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 70px;
  padding-bottom: 62px;
}

.footer-brand img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 430px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
}

.footer-main h3 {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-main a,
.footer-contact address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-style: normal;
  transition: color 160ms ease;
}

.footer-main a:hover {
  color: #fff;
}

.footer-contact address {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.27);
  font-size: 8px;
}

.mobile-contact {
  display: none;
}

/* Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.2, 0.75, 0.25, 1), transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-delay-1 { transition-delay: 90ms; }
.js .reveal-delay-2 { transition-delay: 180ms; }
.js .reveal-delay-3 { transition-delay: 270ms; }

@keyframes pulse-status {
  0%, 100% { box-shadow: 0 0 0 3px rgba(93, 211, 172, 0.1); }
  50% { box-shadow: 0 0 0 6px rgba(93, 211, 172, 0.02); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav {
    gap: 17px;
  }

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

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

  .hero h1 {
    font-size: clamp(52px, 7.5vw, 78px);
  }

  .hero-product {
    width: min(100%, 680px);
    margin-inline: auto;
  }

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

  .feature-card-wide {
    grid-column: span 1;
    display: block;
  }

  .feature-card-wide .feature-icon {
    margin-bottom: 28px;
  }

  .feature-visual {
    display: none;
  }

  .safety-banner {
    grid-template-columns: auto 1fr;
  }

  .safety-banner ul {
    grid-column: 2;
  }
}

@media (max-width: 940px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 25px 22px 110px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.99);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a:not(.button) {
    padding: 17px 5px;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
  }

  .nav-cta {
    margin-top: 25px;
    min-height: 52px;
    font-size: 14px;
  }

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

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

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

  .hero h1 {
    font-size: clamp(52px, 9.5vw, 78px);
  }

  .hero-product {
    width: min(100%, 680px);
    margin-inline: auto;
  }

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

  .split-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split-heading > p {
    max-width: 700px;
  }

  .problem-card {
    padding-inline: 25px;
  }

  .flow-workspace {
    grid-template-columns: 1fr;
  }

  .flow-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    padding: 10px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    scrollbar-width: thin;
  }

  .flow-tab {
    grid-template-columns: auto 1fr;
    min-height: 86px;
    padding: 12px;
  }

  .flow-tab + .flow-tab {
    margin: 0;
  }

  .flow-tab svg,
  .flow-tab small {
    display: none;
  }

  .flow-stage {
    min-height: 500px;
  }

  .pilot-layout,
  .final-cta-layout {
    grid-template-columns: 1fr;
  }

  .pilot-copy {
    max-width: 760px;
  }

  .pilot-board {
    width: min(100%, 700px);
  }

  .faq-layout {
    gap: 55px;
  }

  .engagement-steps li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding-block: 78px;
  }

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

  .section-heading h2,
  .pilot-copy h2,
  .faq-intro h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .section-heading > p:last-child,
  .pilot-copy > .lead {
    font-size: 15px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 107px;
  }

  .brand-divider {
    height: 25px;
  }

  .brand-product {
    font-size: 7.5px;
  }

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

  .hero-layout {
    gap: 48px;
  }

  .status-pill {
    font-size: 8.5px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 13vw, 62px);
    letter-spacing: -0.06em;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

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

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

  .demo-window {
    transform: none;
  }

  .demo-content {
    padding: 16px;
  }

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

  .demo-title {
    display: none;
  }

  .order-head {
    grid-template-columns: auto 1fr;
  }

  .order-head .demo-badge {
    grid-column: 2;
    justify-self: start;
  }

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

  .pipeline-node small {
    font-size: 6px;
  }

  .result-card > b {
    display: none;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 50px;
  }

  .proof-intro {
    grid-column: 1 / -1;
  }

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

  .problem-card {
    min-height: 250px;
  }

  .problem-card + .problem-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .problem-icon {
    margin-bottom: 28px;
  }

  .flow-workspace {
    margin-inline: -8px;
  }

  .flow-tabs {
    grid-template-columns: repeat(5, 145px);
  }

  .flow-tab {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 9px;
    min-height: 103px;
  }

  .flow-tab strong {
    font-size: 12px;
  }

  .flow-stage {
    min-height: 550px;
  }

  .flow-panel {
    padding: 29px 20px;
  }

  .flow-panel > h3 {
    font-size: 29px;
  }

  .flow-panel > p {
    font-size: 13px;
  }

  .flow-stage-footer span:last-child {
    display: none;
  }

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

  .extract-preview > div:nth-child(odd) {
    border-right: 0;
  }

  .extract-preview > div {
    border-bottom: 1px solid #e3e8f0;
  }

  .extract-preview > div:last-child {
    border-bottom: 0;
  }

  .match-table > div {
    grid-template-columns: 1fr 1fr;
  }

  .match-table > div > :last-child {
    grid-column: 2;
  }

  .match-table > .match-head > :last-child {
    display: none;
  }

  .review-actions {
    flex-direction: column;
  }

  .feature-grid,
  .deployment-grid {
    grid-template-columns: 1fr;
  }

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

  .safety-banner {
    grid-template-columns: auto 1fr;
    padding: 24px;
  }

  .safety-banner ul {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .pilot-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .pilot-board {
    padding: 20px 16px;
  }

  .pilot-board-top > span:first-child {
    display: none;
  }

  .pilot-board-top {
    justify-content: flex-end;
  }

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

  .milestone em {
    grid-column: 2;
    justify-self: start;
  }

  .deployment-card {
    min-height: 0;
    padding: 28px 22px;
  }

  .deployment-card > p {
    min-height: 0;
  }

  .architecture-line {
    gap: 4px;
    padding-inline: 8px;
    font-size: 9px;
  }

  .engagement-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .engagement-steps li {
    grid-template-columns: auto 1fr;
    min-height: 0;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
  }

  .engagement-steps li::after {
    display: none !important;
  }

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

  .faq-intro {
    position: static;
  }

  .faq-list summary {
    font-size: 15px;
  }

  .final-cta {
    padding-block: 78px;
  }

  .final-copy h2 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .final-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

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

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

  .phone-link {
    align-items: center;
  }

  .consultation-card {
    padding: 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-contact {
    position: fixed;
    z-index: 900;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 14px 35px rgba(8, 21, 45, 0.28);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-contact.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
  }

  .site-footer {
    padding-bottom: 75px;
  }
}

@media (max-width: 420px) {
  .brand-product,
  .brand-divider {
    display: none;
  }

  .hero h1 {
    font-size: 41px;
  }

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

  .proof-intro {
    grid-column: auto;
  }

  .result-card span {
    display: none;
  }

  .engagement-steps li {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-contact,
  .hero-actions,
  .final-cta,
  .site-footer {
    display: none;
  }

  .hero,
  .section-flow {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: 0;
    padding-top: 40px;
  }

  .section {
    padding-block: 35px;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
