/* ===== Augix design tokens ===== */
:root {
  --navy: #003655;
  --navy-700: #002b44;
  --navy-500: #0e4d72;
  --slate: #a0b5c2;
  --slate-200: #d3dde4;
  --slate-50: #eef2f5;
  --ink: #111418;
  --ink-2: #2b3138;
  --muted: #5d6772;
  --line: #e3e6ea;
  --line-strong: #c8ced4;
  --bone: #f6f4ee;
  --bone-2: #efece4;
  --white: #ffffff;
  --accent: #c89b58; /* warm sand — used very sparingly */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --layout-max: 1240px;
  --layout-gutter: 24px;
  --layout-section-y: 120px;
  --layout-grid-gap: 56px;
  --layout-grid-gap-tight: 48px;
  --layout-section-head-gap: 60px;
  --layout-section-head-space: 64px;
  --layout-stack-gap: 32px;
  --layout-card-gap: 24px;
  --layout-panel-padding: 40px;
  --layout-feature-padding: 80px;
  --layout-control-gap: 12px;
  --layout-row-gap: 20px;
  --measure-copy: 60ch;
  --measure-wide: 56ch;
  --measure-form-copy: 44ch;
  --measure-title: 20ch;
  --measure-cta-title: 18ch;
  --measure-meta: 520px;
  --measure-small: 18ch;
  --maxw: var(--layout-max);
  --gutter: var(--layout-gutter);
  --section-y: var(--layout-section-y);
  --type-h1: 76px;
  --type-h2: 52px;
  --type-h3: 24px;
  --type-h4: 16px;
  --type-lead: 20px;
  --type-feature: 40px;
  --type-metric: 80px;
  --type-stat: 52px;
  --type-card-title: 32px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

html.v4 .build-counter { display: none; }
html.v4 .build-caption { display: none; }
html.v4 .build-mark-wrap {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  place-items: center;
}
html.v4 .build-mark-svg { justify-self: center; }
html.v4 body:not(.hero-dark) .nav { border-bottom-color: var(--line); }
html.v5 .build-mark-svg { transform: scale(1.3); transform-origin: center; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Roboto', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--navy); color: #fff; }

/* container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== Type ===== */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--navy);
}
.eyebrow.on-dark { color: var(--slate); }
.eyebrow.on-dark::before { background: var(--slate); }

h1, h2, h3, h4 { font-weight: 500; color: var(--ink); margin: 0; letter-spacing: 0; line-height: 1.08; }
h1 { font-size: var(--type-h1); letter-spacing: 0; }
h2 { font-size: var(--type-h2); letter-spacing: 0; line-height: 1.05; }
h3 { font-size: var(--type-h3); letter-spacing: 0; }
h4 { font-size: var(--type-h4); letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.lead {
  font-size: var(--type-lead);
  color: var(--ink-2);
  line-height: 1.55;
  font-weight: 400;
  max-width: var(--measure-copy);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  transition: transform .25s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-700); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 14px 8px;
}
.btn-ghost:hover { color: var(--navy); }
.btn-on-dark.btn-primary { background: var(--white); color: var(--navy); }
.btn-on-dark.btn-primary:hover { background: var(--bone); }
.btn-on-dark.btn-secondary { color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-on-dark.btn-secondary:hover { border-color: var(--white); }

.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--layout-card-gap);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--layout-control-gap);
  color: var(--ink);
}
.brand-row { display: flex; align-items: center; gap: var(--layout-control-gap); }
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.ver-pill {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--white);
}
.ver-pill a {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.ver-pill a.on { background: var(--navy); color: var(--white); }
.ver-pill a:not(.on):hover { color: var(--ink); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .15s, background .15s;
  position: relative;
}
.nav-link:hover { color: var(--navy); background: var(--slate-50); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.menu-btn:hover { background: var(--slate-50); }
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn .menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: block; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  height: calc(100vh - 76px);
  background: var(--white);
  z-index: 49;
  padding: var(--layout-stack-gap) var(--gutter) var(--layout-panel-padding);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  margin-top: var(--layout-card-gap);
  border-bottom: 0;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}
.hero .container {
  max-width: var(--maxw);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: var(--layout-grid-gap);
  align-items: center;
}
.hero h1 {
  margin-bottom: var(--layout-card-gap);
}
.hero-title-line {
  display: block;
  white-space: nowrap;
}
.hero h1 .em {
  color: var(--navy);
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 .em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 6px;
  background: var(--slate);
  opacity: .5;
  border-radius: 4px;
  z-index: -1;
}
.hero .lead { margin-bottom: var(--layout-stack-gap); }
.hero-ctas { display: flex; gap: var(--layout-control-gap); flex-wrap: wrap; margin-bottom: var(--layout-grid-gap-tight); }
.hero-meta {
  display: flex;
  gap: var(--layout-grid-gap-tight);
  border-top: 1px solid var(--line);
  padding-top: var(--layout-stack-gap);
  max-width: var(--measure-meta);
}
.hero-meta .num {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--navy);
  line-height: 1;
}
.hero-meta .lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  max-width: var(--measure-small);
}

/* Hero visual — orchestration card */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
}
.hero-orb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
}

/* ===== Building Mark (hero visual) ===== */
.build-card {
  background: var(--bone);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: var(--layout-stack-gap) 28px var(--layout-card-gap);
  display: flex;
  flex-direction: column;
  min-height: 540px;
  position: relative;
  overflow: hidden;
}
.build-card::before {
  /* grid backdrop */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 54, 85, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 54, 85, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  opacity: 1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 95%);
          mask-image: radial-gradient(ellipse at center, #000 55%, transparent 95%);
}
.build-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.build-tag {
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bt-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy);
  animation: pulse 1.6s ease-in-out infinite;
}
.build-counter {
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
}
.build-counter .sep { color: var(--line-strong); margin: 0 4px; }

.build-mark-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--layout-control-gap);
  align-items: center;
  padding: var(--layout-card-gap) 4px;
  position: relative;
  z-index: 1;
}
.build-mark-svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  justify-self: start;
}
.bm-shape {
  fill: var(--navy);
  opacity: 0;
  transform: translate(var(--bm-dx, 0px), var(--bm-dy, 0px));
  transition: transform 1s var(--ease), opacity 0.85s var(--ease), fill 0.4s var(--ease);
}
.bm-shape.is-slate {
  fill: var(--slate);
}
.bm-shape.is-filled {
  opacity: 1;
  transform: translate(0, 0);
}

.build-caption {
  padding-left: 8px;
}
.bc-num {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 6px;
}
.bc-label {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 12px;
}
.bc-cap {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 28ch;
}

.build-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  position: relative;
  z-index: 1;
}
.build-step {
  text-align: left;
  padding: 4px 10px 4px 0;
  background: none;
  border: 0;
  cursor: pointer;
  transition: opacity .2s;
}
.build-step.future { opacity: .45; }
.build-step.future:hover { opacity: .8; }
.build-step.done, .build-step.active { opacity: 1; }

.bs-bar {
  height: 2px;
  background: var(--line-strong);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}
.bs-bar-fill {
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform-origin: left center;
  transform: scaleX(0);
}
.build-step.done .bs-bar-fill { transform: scaleX(1); transition: transform .5s var(--ease); }
.build-step.active .bs-bar-fill {
  animation-name: bs-fill;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes bs-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.bs-num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.build-step.done .bs-num, .build-step.active .bs-num { color: var(--navy); }
.bs-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 4px;
  letter-spacing: 0;
}
.bs-dur {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* Dark hero variant: building card adapts */
body.hero-dark .build-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
body.hero-dark .build-card::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.14) 1px, transparent 1px);
}
body.hero-dark .build-header,
body.hero-dark .bs-num,
body.hero-dark .bs-dur,
body.hero-dark .bc-cap { color: var(--slate-200); }
body.hero-dark .build-tag { color: var(--slate); }
body.hero-dark .bt-dot { background: var(--slate); }
body.hero-dark .build-counter { color: var(--white); }
body.hero-dark .build-counter .sep { color: rgba(255,255,255,.25); }
body.hero-dark .bc-num { color: var(--slate); }
body.hero-dark .bc-label { color: var(--white); }
body.hero-dark .bm-shape { fill: var(--slate); opacity: 0; }
body.hero-dark .bm-shape.is-slate { fill: var(--white); }
body.hero-dark .bm-shape.is-filled { opacity: 0.95; }
body.hero-dark .bm-shape.is-filled.is-slate { opacity: 1; }
body.hero-dark .bs-bar { background: rgba(255,255,255,0.14); }
body.hero-dark .bs-bar-fill { background: var(--white); }
body.hero-dark .build-step.done .bs-num,
body.hero-dark .build-step.active .bs-num { color: var(--white); }
body.hero-dark .bs-label { color: var(--white); }
.orb-card {
  position: absolute;
  inset: 0;
  background: var(--bone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.orb-card::before {
  /* subtle grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 54, 85, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 54, 85, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.orb-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  color: var(--navy);
  opacity: .9;
}
.orb-mark .leaf { fill: var(--slate); }
.orb-card .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed var(--slate-200);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ring.r1 { width: 80%; height: 80%; animation: spin 60s linear infinite; }
.ring.r2 { width: 110%; height: 110%; animation: spin 120s linear infinite reverse; opacity: .6; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.orb-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 54, 85, 0.06);
  white-space: nowrap;
}
.orb-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}
.orb-chip.alt .dot { background: var(--slate); }
.orb-chip.warn .dot { background: var(--accent); }

.orb-chip.c1 { top: 12%; left: -4%; animation: float 6s ease-in-out infinite; }
.orb-chip.c2 { top: 38%; right: -6%; animation: float 7s ease-in-out infinite .8s; }
.orb-chip.c3 { bottom: 22%; left: -2%; animation: float 8s ease-in-out infinite 1.4s; }
.orb-chip.c4 { bottom: 6%; right: 6%; animation: float 9s ease-in-out infinite .4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== Trust strip ===== */
.trust {
  padding: calc(var(--section-y) / 3) 0 calc(var(--section-y) / 2);
  border-bottom: 1px solid var(--line);
}
.trust-lbl {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: var(--layout-card-gap);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--layout-control-gap) var(--layout-panel-padding);
  align-items: center;
}
.trust-logo {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--ink-2);
  opacity: .55;
  filter: grayscale(1);
  transition: opacity .2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.trust-logo:hover { opacity: 1; }
.trust-logo .glyph {
  width: 20px; height: 20px;
  background: var(--ink-2);
  border-radius: 4px;
  flex-shrink: 0;
}
.trust-logo.glyph-circle .glyph { border-radius: 50%; }
.trust-logo.glyph-tri .glyph {
  background: transparent;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid var(--ink-2);
}
.trust-logo.glyph-bar .glyph {
  background: linear-gradient(to right, var(--ink-2) 0 30%, transparent 30% 50%, var(--ink-2) 50% 100%);
}

/* ===== Section base ===== */
section { padding: var(--section-y) 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--layout-section-head-gap);
  margin-bottom: var(--layout-section-head-space);
  align-items: end;
}
.section-head .lead { color: var(--ink-2); }
.section-head h2 { margin-top: var(--layout-row-gap); }

/* ===== Capabilities ===== */
.caps {
  background: var(--bone);
}
.caps-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--layout-section-head-space);
  overflow-x: auto;
  scrollbar-width: none;
}
.caps-tabs::-webkit-scrollbar { display: none; }
.caps-tab {
  padding: 18px 4px;
  margin-right: var(--layout-card-gap);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.caps-tab .idx {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}
.caps-tab:hover { color: var(--ink); }
.caps-tab.active { color: var(--ink); border-bottom-color: var(--navy); }
.caps-tab.active .idx { color: var(--navy); }

.caps-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--layout-grid-gap);
  align-items: start;
}
.caps-copy h3 {
  font-size: var(--type-feature);
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: var(--layout-card-gap);
  line-height: 1.1;
}
.caps-copy p { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-bottom: var(--layout-stack-gap); max-width: var(--measure-wide); }
.caps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--layout-control-gap);
}
.caps-list li {
  display: flex;
  gap: var(--layout-control-gap);
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.caps-list svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--navy);
  margin-top: 3px;
}
.caps-visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--layout-card-gap);
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

/* Visual: data pipeline */
.viz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.viz-head h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.viz-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--slate-50);
  padding: 4px 10px;
  border-radius: 999px;
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--layout-control-gap);
  margin-top: 8px;
}
.pipe-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bone);
  font-size: 14px;
}
.pipe-row .num {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pipe-row .name { color: var(--ink); font-weight: 500; }
.pipe-row .name small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; font-size: 12px; }
.pipe-row .status {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--slate-200);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.pipe-row .status .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.pipe-row.done .pulse { background: #2c8a5a; animation: none; opacity: 1; }
.pipe-row.done .status { color: #2c8a5a; border-color: rgba(44, 138, 90, 0.25); }
.pipe-row.queued .pulse { background: var(--slate); animation: none; opacity: .8; }
.pipe-row.queued .status { color: var(--muted); }

/* ===== Approach (How we work) ===== */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: var(--layout-panel-padding) var(--layout-card-gap) var(--layout-panel-padding) 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; padding-right: 0; }
.step-num {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: var(--layout-stack-gap);
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-num::before {
  content: ""; width: 28px; height: 1px; background: var(--navy);
}
.step h3 {
  font-size: 22px;
  margin-bottom: var(--layout-row-gap);
  letter-spacing: 0;
}
.step p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: var(--layout-card-gap);
}
.step-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ===== Outcomes (metrics) ===== */
.outcomes {
  background: var(--navy);
  color: var(--white);
}
.outcomes h2 { color: var(--white); }
.outcomes .lead { color: var(--slate-200); }
.outcomes .eyebrow { color: var(--slate); }
.outcomes .eyebrow::before { background: var(--slate); }

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--layout-card-gap);
  margin-top: var(--layout-section-head-space);
}
.metric {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: var(--layout-card-gap);
}
.metric .big {
  font-size: var(--type-metric);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.metric .big .unit { font-size: 0.4em; color: var(--slate); font-weight: 400; }
.metric .lbl {
  margin-top: var(--layout-row-gap);
  color: var(--slate-200);
  font-size: 14px;
  line-height: 1.5;
  max-width: 26ch;
}

/* ===== Case studies ===== */
.cases-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--layout-card-gap);
}
.case {
  border-radius: var(--radius-lg);
  background: var(--bone);
  padding: var(--layout-panel-padding);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 460px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.case:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 54, 85, 0.18);
}
.case.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.case.dark .case-meta { color: var(--slate); }
.case.dark .case-meta::before { background: var(--slate); }
.case.dark h3 { color: var(--white); }
.case.dark .case-body p { color: var(--slate-200); }
.case.dark .case-stat .num { color: var(--white); }
.case.dark .case-stat .lbl { color: var(--slate); }
.case.dark .case-cta { color: var(--white); }
.case.dark .case-cta:hover { color: var(--slate); }

.case-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--layout-card-gap);
}
.case-meta::before {
  content: ""; width: 18px; height: 1px; background: var(--navy);
}
.case h3 {
  font-size: var(--type-card-title);
  letter-spacing: 0;
  margin-bottom: var(--layout-row-gap);
  line-height: 1.15;
  max-width: var(--measure-title);
}
.case-body { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: var(--measure-form-copy); }
.case-foot {
  margin-top: auto;
  padding-top: var(--layout-stack-gap);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--layout-row-gap);
}
.case-stat { line-height: 1; }
.case-stat .num {
  font-size: var(--type-stat);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--navy);
}
.case-stat .num .unit { font-size: 0.5em; color: var(--muted); font-weight: 400; margin-left: 2px; }
.case-stat .lbl { margin-top: 10px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.case-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s var(--ease);
}
.case-cta:hover { gap: 12px; }

/* ===== About / Principles ===== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--layout-grid-gap);
  align-items: start;
}
.about-side { position: sticky; top: 100px; }
.principles { display: grid; gap: 0; }
.principle {
  padding: var(--layout-stack-gap) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--layout-stack-gap);
  align-items: start;
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle .pn {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--navy);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.principle h3 { font-size: 22px; margin-bottom: 12px; }
.principle p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: var(--measure-wide); }

/* ===== CTA ===== */
.cta-section {
  padding: var(--section-y) 0;
  background: var(--bone);
}
.cta-wrap {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--layout-feature-padding);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--layout-grid-gap);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  content: "";
  display: none;
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(160, 181, 194, .2);
  border-radius: 50%;
}
.cta-wrap::after {
  content: "";
  display: none;
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(160, 181, 194, .12);
  border-radius: 50%;
}
.cta-wrap h2 { color: var(--white); margin-bottom: var(--layout-card-gap); max-width: var(--measure-cta-title); }
.cta-wrap .lead { color: var(--slate-200); margin-bottom: var(--layout-stack-gap); max-width: var(--measure-form-copy); }
.cta-actions { display: flex; gap: var(--layout-control-gap); flex-wrap: wrap; }

.cta-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: var(--layout-card-gap);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}
.cta-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: calc(var(--layout-control-gap) / 1.5);
  font-weight: 500;
}
.cta-form input, .cta-form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 10px 0 14px;
  font: inherit;
  font-size: 16px;
  color: var(--white);
  margin-bottom: var(--layout-row-gap);
  outline: 0;
  transition: border-color .2s;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.4); }
.cta-form input:focus, .cta-form select:focus { border-bottom-color: var(--white); }
.cta-form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23a0b5c2' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; }
.cta-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--layout-row-gap); }
.cta-form .row .col { margin: 0; }
.cta-form button[type="submit"] {
  width: 100%;
  margin-top: calc(var(--layout-control-gap) / 1.5);
}
.bot-field { display: none; }
.form-error {
  color: #f0c6a6;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 14px;
}
.cta-form .ok {
  text-align: center;
  padding: var(--layout-stack-gap) 0;
  color: var(--slate-200);
  font-size: 16px;
}
.cta-form .ok strong { color: var(--white); display: block; font-size: 20px; margin-bottom: calc(var(--layout-control-gap) / 1.5); letter-spacing: 0; font-weight: 500; }
.cta-form [hidden] { display: none; }

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: var(--slate-200);
  padding: var(--layout-feature-padding) 0 var(--layout-panel-padding);
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--layout-grid-gap-tight);
  padding-bottom: var(--layout-grid-gap);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-brand .brand-name { color: var(--white); font-size: 28px; letter-spacing: 0; }
.foot-brand .brand { gap: var(--layout-control-gap); align-items: center; }
.foot-brand p { color: var(--slate); font-size: 14.5px; line-height: 1.6; max-width: 36ch; margin-top: var(--layout-row-gap); }
.foot-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin-bottom: var(--layout-row-gap);
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--layout-control-gap); }
.foot-col a { font-size: 14.5px; color: var(--slate-200); transition: color .15s; }
.foot-col a:hover { color: var(--white); }
.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--layout-stack-gap);
  font-size: 13px;
  color: var(--slate);
  gap: var(--layout-card-gap);
  flex-wrap: wrap;
}
.foot-bot .links { display: flex; gap: var(--layout-card-gap); }
.foot-bot .links a:hover { color: var(--white); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== V3: hide section eyebrows ===== */
body.no-eyebrows .eyebrow { display: none; }

/* ===== Tweak: dark hero ===== */
body.hero-dark .hero { background: var(--navy); color: var(--white); }
body.hero-dark .hero h1 { color: var(--white); }
body.hero-dark .hero h1 .em { color: var(--slate); }
body.hero-dark .hero h1 .em::after { background: var(--slate); opacity: .35; }
body.hero-dark .hero .lead { color: var(--slate-200); }
body.hero-dark .hero .eyebrow { color: var(--slate); }
body.hero-dark .hero .eyebrow::before { background: var(--slate); }
body.hero-dark .hero .btn-primary { background: var(--white); color: var(--navy); }
body.hero-dark .hero .btn-primary:hover { background: var(--bone); }
body.hero-dark .hero .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.3); }
body.hero-dark .hero .btn-secondary:hover { border-color: var(--white); }
body.hero-dark .hero-meta { border-top-color: rgba(255,255,255,.18); }
body.hero-dark .hero-meta .num { color: var(--white); }
body.hero-dark .hero-meta .lbl { color: var(--slate-200); }
body.hero-dark .orb-card { background: var(--navy-700); border-color: rgba(255,255,255,.08); }
body.hero-dark .orb-card::before { background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px); }
body.hero-dark .orb-chip { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.12); }
body.hero-dark .orb-card .ring { border-color: rgba(255,255,255,.18); }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  :root {
    --layout-section-y: 96px;
    --layout-grid-gap: 48px;
    --layout-grid-gap-tight: 40px;
    --layout-section-head-gap: 24px;
    --layout-section-head-space: 48px;
    --layout-panel-padding: 40px;
    --layout-feature-padding: 48px;
    --type-h1: 64px;
    --type-h2: 44px;
    --type-feature: 36px;
    --type-metric: 64px;
  }
  .hero {
    min-height: auto;
    display: block;
  }
  .hero .container { max-width: var(--maxw); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 460px; }
  .section-head { grid-template-columns: 1fr; }
  .caps-body { grid-template-columns: 1fr; }
  .approach-steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: var(--layout-panel-padding); }
  .step:nth-child(3), .step:nth-child(4) { padding-top: var(--layout-panel-padding); }
  .step:nth-child(3) { border-right: 1px solid var(--line); }
  .metrics-row { grid-template-columns: repeat(2, 1fr); gap: var(--layout-stack-gap) var(--layout-card-gap); }
  .cases-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-side { position: relative; top: 0; }
  .cta-wrap { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: var(--layout-grid-gap-tight); }
}
@media (max-width: 720px) {
  :root {
    --layout-section-y: 72px;
    --layout-grid-gap: 32px;
    --layout-grid-gap-tight: 24px;
    --layout-section-head-space: 40px;
    --layout-stack-gap: 24px;
    --layout-panel-padding: 32px;
    --layout-feature-padding: 32px;
    --layout-card-gap: 24px;
    --type-h1: 40px;
    --type-h2: 32px;
    --type-h3: 22px;
    --type-lead: 17px;
    --type-feature: 28px;
    --type-metric: 48px;
    --type-stat: 36px;
    --type-card-title: 24px;
  }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .ver-pill { display: none; }
  .hero { padding: var(--section-y) 0; }
  .hero-title-line {
    display: inline;
    white-space: normal;
  }
  .hero-meta { flex-direction: column; gap: var(--layout-card-gap); max-width: none; }
  .build-card { padding: var(--layout-card-gap) var(--layout-row-gap) var(--layout-row-gap); min-height: 0; }
  .build-mark-wrap { grid-template-columns: 1fr; gap: var(--layout-card-gap); padding: var(--layout-card-gap) 0; text-align: center; }
  .build-mark-svg { justify-self: center; max-width: 160px; }
  .build-caption { padding-left: 0; }
  .bc-cap { margin: 0 auto; }
  .build-track { gap: 2px; }
  .bs-label { font-size: 12.5px; }
  .bs-dur { display: none; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: var(--layout-card-gap); }
  .approach-steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: var(--layout-stack-gap) 0; }
  .step:last-child { border-bottom: 0; }
  .metrics-row { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 1fr; gap: var(--layout-control-gap); }
  .case { min-height: 380px; }
  .case-foot { flex-direction: column; align-items: flex-start; gap: var(--layout-card-gap); }
  .cta-form .row { grid-template-columns: 1fr; gap: 0; }
  .foot-top { grid-template-columns: 1fr; gap: var(--layout-stack-gap); padding-bottom: var(--layout-panel-padding); }
  .foot-bot { flex-direction: column; align-items: flex-start; }
}
