/* =================================================================
   INXM marketing site — brand-faithful, dark-canonical.
   Per inxm.ai/brand: 1400 max content, 100px gutter, 80px section pad,
   1px hairline section dividers, no shadows, no gradients,
   Geist 400 only, 16/1.8 body, 48/1.2 heads, // prefix in Geist sans.
   ================================================================= */

@import url("ds/colors_and_type.css");

/* =================================================================
   PAGE shell
   ================================================================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.page {
  min-height: 100%;
  background: var(--bg-canvas);
  color: var(--fg-primary);
  position: relative;
  overflow: hidden;
}

/* Animated canvas grid (mounted by JS) */
.bg-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* =================================================================
   Section
   ================================================================= */
.section {
  position: relative;
  padding: 120px 80px;
  border-top: 0;
  z-index: 1;
}
.section > .inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
}
.section-head .lede {
  font-family: var(--font-marketing);
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-secondary);
  max-width: 52ch;
}

.eyebrow {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 32px;
}
.eyebrow::before {
  content: "//";
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
  align-self: baseline;
  margin-right: 2px;
}
.eyebrow .num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.hf-wrap .schematic-head {
  background: var(--accent-2-soft);
  border-bottom-color: var(--accent-2-hair);
}
.hf-wrap .schematic-head .label {
  color: var(--accent-2-press);
}
.hf-wrap .schematic-head .label .accent {
  color: var(--accent-2-press);
}
.hf-wrap .schematic-head .meta {
  color: var(--accent-2-press);
}
.hf-wrap .schematic-head .meta .ok::before {
  color: var(--accent-2);
}

/* =================================================================
   HEADER (sticky, hairline divider only)
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-canvas);
  border-bottom: 0;
  padding: 0 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo svg { display: block; color: var(--fg-strong); }
.site-header .logo:hover svg { color: var(--accent); }
.site-header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-pill { display: block; height: 36px; width: auto; }
.logo--pill-foot .logo-pill { height: 32px; margin-bottom: 16px; }
.logo-img-nav { display: block; height: 32px; width: auto; }      /* spec: nav 100x32 */
.logo-img-hero { display: block; height: 52px; width: auto; }     /* spec: hero 160x52 */
.logo-img-foot { display: block; height: 26px; width: auto; }     /* spec: footer 80x26 */

.theme-shell[data-theme="light"] .logo-light-only,
:root[data-theme="light"] .logo-light-only { display: none; }
.theme-shell:not([data-theme="light"]) .logo-dark-only,
:root:not([data-theme="light"]) .logo-dark-only { display: none; }

.site-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--fg-strong);
  font-family: var(--font-meta);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  transition: color var(--dur-fast) var(--ease-standard);
}
.site-nav a:hover { color: var(--accent); }
.site-header .actions { display: flex; align-items: center; gap: 12px; }

/* Lang toggle EN/DE */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border-hair);
  border-radius: var(--r-pill);
  overflow: hidden;
  font-family: var(--font-meta);
  font-size: 12px;
  height: 40px;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--fg-tertiary);
  padding: 0 14px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  letter-spacing: 0;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.lang-toggle button.is-active {
  color: var(--fg-strong);
  background: var(--bg-raised);
}

/* Theme toggle — circular 40px */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-hair);
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent-hair);
}
.theme-toggle svg { display: block; }

/* =================================================================
   BUTTONS — pill, Geist Mono per spec
   ================================================================= */
.btn {
  font-family: var(--font-meta);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0 22px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg-strong);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  text-transform: none;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.btn .arrow { display: inline-block; transition: transform var(--dur-base) var(--ease-standard); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: #0d0d0d;
  color: #ffffff;
  border-color: #0d0d0d;
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-secondary {
  border-color: var(--border-strong);
  color: var(--fg-strong);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost { color: var(--fg-secondary); }
.btn-ghost:hover { color: var(--accent); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  padding: 120px 80px 144px;
  position: relative;
  overflow: hidden;
}
.hero .inner { max-width: 1280px; margin: 0 auto; position: relative; }
.hero .inner { max-width: 1400px; margin: 0 auto; position: relative; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
}
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--fg-tertiary);
  text-transform: none;
}
.hero-meta .dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero-meta .sep { width: 1px; height: 12px; background: var(--border-hair); }

.hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 56px;
  max-width: 18ch;
  color: var(--fg-strong);
  text-wrap: balance;
}
.hero h1 .hero-h1-muted { color: var(--fg-secondary); }
.hero h1 .hl-gold {
  background: var(--accent-2-soft);
  color: var(--fg-strong);
  padding: 0;
  border-radius: 3px;
  box-shadow: inset 0 -4px 0 var(--accent-2);
}
/* Override the hero h1 .em color rule so the wrapped span inside is dark text */
.hero h1 .em .hl-orange {
  color: var(--fg-strong);
}
  background: var(--accent-2-soft);
  color: var(--fg-strong);
  padding: 0;
  border-radius: 3px;
  box-shadow: inset 0 -4px 0 var(--accent-2);
  font-weight: inherit;
  font-family: inherit;
}
.hero h1 .em {
  display: block;
  color: var(--fg-strong);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 52ch;
  margin: 0 0 48px;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-sub strong { color: var(--fg-primary); font-weight: 500; }

.hero-ctas { display: flex; gap: 12px; align-items: center; }

.hero-visual {
  margin-top: 56px;
  position: relative;
}

/* =================================================================
   SCHEMATIC FLOW
   ================================================================= */
.schematic {
  position: relative;
  border: 1px solid var(--border-hair);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  overflow: hidden;
}
.schematic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-hair);
  background: var(--bg-canvas);
}
.schematic-head .label {
  font-family: var(--font-meta);
  font-size: 12px;
  color: var(--fg-tertiary);
  letter-spacing: 0;
}
.schematic-head .label .accent { color: var(--accent); }
.schematic-head .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-tertiary);
  display: flex;
  gap: 16px;
}
.schematic-head .meta .ok::before {
  content: "●";
  color: var(--accent);
  margin-right: 6px;
  font-size: 8px;
  vertical-align: middle;
}

.schematic-body {
  padding: 40px 32px;
  background: var(--bg-surface);
  position: relative;
}

.flow-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: stretch;
  position: relative;
}
.flow-step {
  position: relative;
  padding: 24px 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border-hair);
  border-radius: var(--r-sm);
  margin: 0 8px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.flow-step.is-active {
  border-color: var(--accent);
  background: var(--bg-raised);
}
.flow-step .step-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
}
.flow-step .step-num .n { color: var(--accent); }
.flow-step .step-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg-strong);
  margin-top: 4px;
}
.flow-step .step-desc {
  font-family: var(--font-meta);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-tertiary);
  margin-top: 12px;
}
.flow-step .step-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border-hair);
  border-radius: var(--r-xs);
  display: grid; place-items: center;
  margin-bottom: 12px;
  color: var(--fg-secondary);
}
.flow-step.is-active .step-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.flow-arrow {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--border-strong);
  z-index: 1;
}

/* =================================================================
   CATEGORY
   ================================================================= */
.category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.category .definition {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
  font-weight: 500;
  border-left: 0;
  padding-left: 0;
  text-wrap: balance;
}
.category .definition .term { color: var(--accent); }
.category .body p {
  margin: 0 0 18px;
  line-height: 1.8;
  color: var(--fg-secondary);
  font-size: 16px;
}
.category .body p strong { color: var(--fg-primary); font-weight: 400; }

/* =================================================================
   PLANS / PLAN-CARD
   ================================================================= */
.plan-card {
  border: 1px solid var(--border-hair);
  border-radius: var(--r-md);
  background: var(--bg-raised);
  overflow: hidden;
}
.plan-card .pc-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.plan-card .pc-head .name { color: var(--fg-strong); }
.plan-card .pc-body {
  padding: 8px 0;
  font-size: 13px;
  color: var(--fg-primary);
}
.plan-card .step {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  padding: 12px 20px;
  gap: 16px;
  border-top: 1px solid var(--border-hair);
}
.plan-card .step:first-child { border-top: 0; }
.plan-card .step .ix {
  font-family: var(--font-mono);
  color: var(--fg-tertiary);
  font-size: 11px;
}
.plan-card .step .nm {
  color: var(--fg-strong);
  font-family: var(--font-meta);
  font-size: 14px;
  font-weight: 400;
}
.plan-card .step .ds {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 2px;
}
.plan-card .step .stat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-tertiary);
}
.plan-card .step .stat::before {
  content: "●";
  font-size: 8px;
  color: var(--status-ok);
}
.plan-card .step .stat.pending::before { color: var(--fg-muted); }
.plan-card .step .stat.failed::before { color: var(--status-error); }
.plan-card .step .stat.repair::before { color: var(--accent); animation: pulse 1.6s infinite; }

/* =================================================================
   COMPILED AI — pipeline
   ================================================================= */
.compile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.compile-row {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 32px;
  align-items: stretch;
}
.compile-side {
  border: 1px solid var(--border-hair);
  border-radius: var(--r-md);
  padding: 24px;
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compile-side .label {
  font-family: var(--font-meta);
  font-size: 12px;
  color: var(--fg-tertiary);
  letter-spacing: 0;
}
.compile-side .title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--fg-strong);
  font-weight: 500;
}
.compile-side .desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-secondary);
}

.compile-pipeline {
  border: 1px solid var(--border-hair);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.compile-pipeline .stage {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border-hair);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-base);
}
.compile-pipeline .stage.active { border-color: var(--accent); }
.compile-pipeline .stage .stage-name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.compile-pipeline .stage.active .stage-name { color: var(--accent); }
.compile-pipeline .stage .stage-content {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compile-pipeline .stage .stage-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-tertiary);
}

.versus-table {
  border: 1px solid var(--border-hair);
  border-radius: var(--r-md);
  background: var(--bg-raised);
  overflow: hidden;
}
.versus-table .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  border-top: 1px solid var(--border-hair);
}
.versus-table .row:first-child { border-top: 0; }
.versus-table .cell {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--fg-secondary);
  border-left: 1px solid var(--border-hair);
}
.versus-table .cell:first-child { border-left: 0; }
.versus-table .head .cell {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--fg-tertiary);
  background: var(--bg-surface);
  text-transform: none;
}
.versus-table .head .cell.us { color: var(--accent); }
.versus-table .row .cell:first-child {
  color: var(--fg-strong);
  font-weight: 400;
  background: var(--bg-surface);
}
.versus-table .row .cell.us {
  background: var(--accent-soft);
  color: var(--fg-strong);
  border-left-color: var(--accent-hair);
}

/* =================================================================
   USE CASES
   ================================================================= */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-hair);
  border: 1px solid var(--border-hair);
  border-radius: var(--r-md);
  overflow: hidden;
}
.uc {
  background: var(--bg-canvas);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  transition: background var(--dur-base);
}
.uc:hover { background: var(--bg-surface); }
.uc .uc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.uc .uc-head .id { color: var(--accent); }
.uc .uc-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.005em;
  color: var(--fg-strong);
  font-weight: 500;
  line-height: 1.3;
}
.uc .uc-desc {
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.uc .uc-foot {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.uc .chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  border: 1px solid var(--border-hair);
  border-radius: 9999px;
  padding: 4px 10px;
}

/* =================================================================
   WHY INXM
   ================================================================= */
.who {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.section-head h2,
.who h2 {
  font-family: "Satoshi", var(--font-display);
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--fg-strong);
  text-wrap: balance;
}
.who-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  border-top: 1px solid var(--border-hair);
  padding-top: 32px;
}
.who-pillar .label {
  font-family: var(--font-meta);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0;
}
.who-pillar .title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
  color: var(--fg-strong);
  font-weight: 500;
  margin-bottom: 8px;
}
.who-pillar .desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-secondary);
}

/* =================================================================
   FINAL CTA — full orange surface for the closing claim
   ================================================================= */
.final-cta {
  text-align: left;
  padding: 96px 100px;
  position: relative;
  border-top: 0;
  background: var(--accent-2);
  color: var(--fg-strong);
  overflow: hidden;
}
.final-cta .inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.final-cta .stamp {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.final-cta .stamp::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.6);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 32px;
  color: var(--fg-strong);
  max-width: 14ch;
  text-wrap: balance;
}
.final-cta h2 .em {
  color: var(--fg-strong);
  font-family: "Satoshi", var(--font-sans);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 0;
}
.final-cta .stamp {
  color: rgba(0,0,0,0.6);
}
.final-cta .stamp::before {
  background: rgba(0,0,0,0.4);
}
.final-cta .btn-primary {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #ffffff;
}
.final-cta .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.final-cta .btn-secondary {
  border-color: rgba(0,0,0,0.5);
  color: var(--fg-strong);
}
.final-cta .btn-secondary:hover {
  border-color: var(--fg-strong);
  color: var(--fg-strong);
}
.final-cta .ctas {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 0;
}

/* =================================================================
   ORANGE SURFACES — for bold claims
   ================================================================= */
.section.section-orange {
  background: var(--accent);
  color: #ffffff;
  border-top: 1px solid var(--accent);
}
.section.section-orange .eyebrow,
.section.section-orange .eyebrow::before,
.section.section-orange .eyebrow .num {
  color: rgba(255,255,255,0.85);
}
.section.section-orange h2,
.section.section-orange h3,
.section.section-orange .definition,
.section.section-orange .definition .term,
.section.section-orange .body p strong {
  color: #ffffff;
}
.section.section-orange .body p,
.section.section-orange .lede {
  color: rgba(255,255,255,0.86);
}
.section.section-orange .lede strong {
  color: #ffffff !important;
}
.section.section-orange .definition {
  border-left-color: #ffffff;
}

/* Inline bold-claim callout — block-level orange surface inset within a section */
.bold-claim {
  background: transparent;
  color: var(--fg-strong);
  padding: 0;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 24px 0;
  display: block;
  text-wrap: balance;
}
.bold-claim .label { display: none; }
.bold-claim strong { color: var(--accent); font-weight: 500; }

/* Gold marker — inline highlight, complement to .hl-orange */
.hl-gold {
  background: var(--accent-2-soft);
  color: var(--fg-strong);
  padding: 0.06em 0.32em;
  border-radius: 3px;
  box-shadow: inset 0 -3px 0 var(--accent-2);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

.category .definition .term { color: var(--accent); }
.category .definition .term-gold {
  color: var(--fg-strong);
  background: var(--accent-2-soft);
  padding: 0.04em 0.24em;
  border-radius: 3px;
  box-shadow: inset 0 -3px 0 var(--accent-2);
}

/* Section variants */
.section.section--gold {
  background: var(--accent-2-soft);
  border-top: 1px solid var(--accent-2-hair);
}

.bold-claim.bold-claim--gold {
  background: var(--accent-2-soft);
  color: var(--fg-strong);
  border-left: 6px solid var(--accent-2);
  padding: 36px 44px;
}
.bold-claim.bold-claim--gold strong { color: var(--accent); }

/* Hero meta gold dot rhythm */
.hero-meta .dot-gold {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: var(--accent-2);
  display: inline-block;
}

/* Use case ids: gold-tinted square chip */
.uc .uc-head .id {
  color: var(--fg-strong);
  background: var(--accent-2-soft);
  padding: 2px 8px;
  border-radius: 3px;
  box-shadow: inset 0 -2px 0 var(--accent-2);
}

/* Pillar accent */
.who-pillar {
  position: relative;
}
.who-pillar .title { padding-left: 0; }
.who-pillar .desc { padding-left: 0; }
.bold-claim.bold-claim--text .label {
  color: var(--fg-tertiary);
}
.bold-claim.bold-claim--text strong { color: var(--accent); }

/* Compiled AI caption — "Probabilistic input. Deterministic plan." */
.compiled-caption {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg-strong);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 56px;
  padding-left: 20px;
  border-left: 3px solid var(--accent-2-hair);
}
.hl-orange {
  display: inline;
  color: var(--fg-strong);
  background: transparent;
  box-shadow: inset 0 -6px 0 var(--accent);
  padding: 0;
  border-radius: 0;
  font-weight: inherit;
  font-family: inherit;
}

/* Orange emphasis for the second line of section h2s */
.em-orange { color: var(--accent); }

/* =================================================================
   ORCHESTRATOR — 5 step image tiles, discrete step-through carousel
   ================================================================= */
.section-head--with-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
}
.step-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex: 0 0 auto;
}
.step-controls-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.step-counter-num { color: var(--accent); font-size: 14px; }
.step-counter-sep,
.step-counter-total { color: var(--fg-tertiary); font-size: 14px; }
.step-counter-name {
  font-family: var(--font-meta);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-strong);
  margin-left: 12px;
}
.step-controls-btns {
  display: inline-flex;
  gap: 8px;
}
.step-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg-strong);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.step-btn:hover {
  background: var(--fg-strong);
  border-color: var(--fg-strong);
  color: #ffffff;
}
.step-btn:active { transform: translateY(1px); }
.step-btn svg { display: block; }

.step-marquee {
  --step-tile-w: 640px;
  --step-tile-gap: 20px;
  position: relative;
  overflow: hidden;
  margin: 24px 0 56px;
  padding: 8px 0;
}
.step-marquee-track {
  display: flex;
  gap: var(--step-tile-gap);
  width: max-content;
  will-change: transform;
}
.step-tile {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--border-hair);
  flex: 0 0 auto;
  width: var(--step-tile-w);
  aspect-ratio: 489 / 276;
}
.step-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Orchestrator body — two columns under the marquee */
.category-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 24px;
}
.category-def {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
  max-width: 22ch;
}
.category-def .term { color: var(--accent); }
.category-def .term-gold {
  color: var(--fg-strong);
  background: var(--accent-2-soft);
  padding: 0 0.08em;
  border-radius: 3px;
  box-shadow: inset 0 -4px 0 var(--accent-2);
}
.category-body .body p {
  margin: 0 0 18px;
  line-height: 1.7;
  color: var(--fg-secondary);
  font-size: 15px;
}
.category-body .body p:last-child { margin-bottom: 0; }
.category-body .body p strong { color: var(--fg-primary); font-weight: 500; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  border-top: 1px solid var(--border-hair);
  padding: 40px 100px 24px;
  background: var(--bg-canvas);
  position: relative;
  z-index: 1;
}
.site-footer .row {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 32px;
}
.site-footer h6 {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  margin: 0 0 16px;
  font-weight: 500;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer a {
  text-decoration: none;
  color: var(--fg-secondary);
  font-size: 14px;
  transition: color var(--dur-fast) var(--ease-standard);
}
.site-footer a:hover { color: var(--accent); }
.site-footer .legal {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
}
.site-footer .brand-blurb {
  color: var(--fg-secondary);
  font-size: 14px;
  line-height: 1.7;
  max-width: 36ch;
  margin-top: 16px;
}

/* =================================================================
   CUSTOMER / INTEGRATION LOGOS — Langdock-style muted strip
   ================================================================= */
.customer-logos {
  padding: 24px 100px 56px;
  position: relative;
  z-index: 1;
}
.customer-logos .inner {
  max-width: 1400px;
  margin: 0 auto;
}
.customer-logos .cl-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 32px;
}
.customer-logos .cl-lede {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 56ch;
  margin: 0;
}
.customer-logos .cl-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-hair);
  border-top: 1px solid var(--border-hair);
  border-bottom: 1px solid var(--border-hair);
}
.customer-logos .cl-mark {
  background: var(--bg-canvas);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  color: var(--fg-tertiary);
  transition: color var(--dur-base), background var(--dur-base);
}
.customer-logos .cl-mark:hover {
  color: var(--fg-strong);
  background: var(--accent-2-soft);
}
.customer-logos .cl-glyph {
  flex: 0 0 32px;
  color: inherit;
  display: block;
}
.customer-logos .cl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.customer-logos .cl-name {
  font-family: var(--font-meta);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.customer-logos .cl-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.customer-logos .cl-foot {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.customer-logos .cl-foot-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.customer-logos .cl-foot-link {
  font-family: var(--font-meta);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.customer-logos .cl-foot-link:hover { color: var(--accent-press); }

/* =================================================================
   TESTIMONIAL — Langdock-style quote
   ================================================================= */
.testimonial {
  padding: 56px 100px;
  position: relative;
  z-index: 1;
  background: var(--accent-2-soft);
  border-top: 1px solid var(--accent-2-hair);
  border-bottom: 1px solid var(--accent-2-hair);
}
.testimonial .inner { max-width: 1400px; margin: 0 auto; }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}
.t-meta-lede {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0 0 24px;
  max-width: 38ch;
}
.t-link {
  font-family: var(--font-meta);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.t-link:hover { color: var(--accent-press); }
.t-quote {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
  font-weight: 500;
  margin: 0 0 32px;
  text-wrap: balance;
  max-width: 28ch;
}
.t-quote .t-em {
  background: rgba(255,255,255,0.6);
  box-shadow: inset 0 -4px 0 var(--accent);
  padding: 0 4px;
  color: var(--fg-strong);
}
.t-attrib {
  border-top: 1px solid var(--accent-2-hair);
  padding-top: 16px;
  max-width: 38ch;
}
.t-attrib-name {
  font-family: var(--font-meta);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-strong);
  margin-bottom: 2px;
}
.t-attrib-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
}

/* =================================================================
   Theme toggle — sun/moon circular button, sits next to language
   ================================================================= */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg-strong);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle svg { display: block; }

/* Dark-mode adjustments: hero h1 underline thicker on dark bg */
.theme-shell[data-theme="dark"] .hl-orange,
.page[data-theme="dark"] .hl-orange {
  box-shadow: inset 0 -6px 0 var(--accent);
}

/* Dark mode primary buttons — white with dark text */
.theme-shell[data-theme="dark"] .btn-primary,
.page[data-theme="dark"] .btn-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: #0d0d0d;
}
.theme-shell[data-theme="dark"] .btn-primary:hover,
.page[data-theme="dark"] .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Dark mode Final CTA — orange surface with black buttons */
.theme-shell[data-theme="dark"] .final-cta,
.page[data-theme="dark"] .final-cta {
  background: var(--accent);
  color: #ffffff;
}
.theme-shell[data-theme="dark"] .final-cta h2,
.page[data-theme="dark"] .final-cta h2 { color: #ffffff; }
.theme-shell[data-theme="dark"] .final-cta .stamp,
.page[data-theme="dark"] .final-cta .stamp { color: rgba(255,255,255,0.7); }
.theme-shell[data-theme="dark"] .final-cta .stamp::before,
.page[data-theme="dark"] .final-cta .stamp::before { background: rgba(255,255,255,0.5); }
.theme-shell[data-theme="dark"] .final-cta .btn-primary,
.page[data-theme="dark"] .final-cta .btn-primary {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #ffffff;
}
.theme-shell[data-theme="dark"] .final-cta .btn-primary:hover,
.page[data-theme="dark"] .final-cta .btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--accent);
}
.theme-shell[data-theme="dark"] .final-cta .btn-secondary,
.page[data-theme="dark"] .final-cta .btn-secondary {
  border-color: rgba(0,0,0,0.6);
  color: #0d0d0d;
}
.theme-shell[data-theme="dark"] .final-cta .btn-secondary:hover,
.page[data-theme="dark"] .final-cta .btn-secondary:hover {
  border-color: #0d0d0d;
  color: #0d0d0d;
}
.who-pillars {
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}
.who-pillar {
  background: var(--bg-surface);
  border: 1px solid var(--border-hair);
  border-radius: var(--r-md);
  padding: 28px 28px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}
.who-pillar .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  white-space: nowrap;
}
.who-pillar .num .n { color: var(--accent); }
.who-pillar .title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}
.who-pillar .desc {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--fg-tertiary);
}
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms var(--ease-standard),
              transform 600ms var(--ease-standard);
}
.reveal.in { opacity: 1; transform: none; }

/* =================================================================
   Small details
   ================================================================= */
.cursor-blink::after {
  content: "▍";
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  color: var(--accent);
}
@keyframes blink { 50% { opacity: 0; } }

.mono { font-family: var(--font-mono); }

/* =================================================================
   Secondary accent (ice blue #D6E4EA) — LIGHT SURFACE only.
   Used to mark human-touch sections; never as accent text/illustration.
   ================================================================= */

/* Who-we-are section — ice-blue surface, marks the human-voice section */
section#company {
  background: var(--bg-canvas);
  border-top: 0;
}

/* Who-pillar — styled like .hf-step demo cards */
.who-pillar {
  background: var(--bg-raised);
  border: 1px solid var(--border-hair);
  border-radius: var(--r-sm);
  padding: 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 156px;
}
.who-pillar .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
}
.who-pillar .num .n { color: var(--accent-2); }
.who-pillar .title {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
  font-weight: 500;
  padding-left: 0;
}
.who-pillar .desc {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--fg-tertiary);
  margin-top: auto;
  padding-left: 0;
}
.who-pillars { border-top: 0; padding-top: 0; }

.site-footer {
  background: #0d0d0d;
  border-top: 0;
  color: #e8e8e8;
}
.site-footer h6 { color: rgba(255,255,255,0.55); }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand-blurb { color: rgba(255,255,255,0.65); margin: 0; }
.site-footer .brand-blurb em {
  color: #C9B68C;
  font-style: italic;
  font-weight: 500;
}
.site-footer .legal {
  color: rgba(255,255,255,0.5);
  border-top-color: rgba(255,255,255,0.12);
}
