/* =========================================================================
   EXPANDIS — design tokens + base + components
   Dark-only. Cream off-white on near-black. One amber accent. Mono labels.
   ========================================================================= */

:root {
  /* Surfaces. deep forest-black with warm amber accent */
  --bg-0: #0E1715;   /* page */
  --bg-1: #0A1311;   /* sticky bars, modal scrim base */
  --bg-2: #121C19;   /* cards, panels */
  --bg-3: #182520;   /* hover lift, dashboard wells */
  --bg-4: #1F2D28;   /* inputs */

  /* Hairlines */
  --line:        #1B2722;
  --line-2:      #25342D;
  --line-strong: #34453C;

  /* Type (cream off-white reads as premium against deep green-black) */
  --fg-1: #EFEAE0;
  --fg-2: #8A9692;
  --fg-3: #5E6A66;
  --fg-4: #424B47;
  --fg-5: #2A302D;

  /* Accent (tweakable). warm gold/amber */
  --accent:      #EFC04E;
  --accent-dim:  rgba(239, 192, 78, 0.14);
  --accent-soft: rgba(239, 192, 78, 0.06);

  /* Data semantics */
  --good: #9CCC3F;
  --bad:  #E4533F;

  /* Type stacks */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --font-sans:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale (display) — hero is tweakable via --hero-scale */
  --hero-scale: 1;
  --d-1: calc(clamp(56px, 9vw, 132px) * var(--hero-scale));
  --d-2: clamp(44px, 6.2vw, 86px);
  --d-3: clamp(32px, 4.4vw, 56px);
  --d-4: clamp(26px, 3.2vw, 40px);
  --d-5: clamp(20px, 2.2vw, 28px);

  /* Density (tweakable) — drives section height + padding rhythm */
  --screen-min: 78vh;
  --screen-pad-top: 10vh;
  --screen-pad-bot: 8vh;
  --hero-pad-top: 16vh;
  --wrap-max: 1240px;

  /* Type scale (body) */
  --t-xs:  12px;
  --t-sm:  13.5px;
  --t-base: 15.5px;
  --t-md:  17px;
  --t-lg:  20px;
  --t-xl:  24px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii — we lean angular */
  --r-1: 2px;
  --r-2: 4px;
  --r-3: 6px;
  --r-4: 10px;
}

/* =========================================================================
   RESET + BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: var(--t-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  min-height: 100%;
}
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg-0); }
img { max-width: 100%; display: block; }

/* =========================================================================
   LAYOUT
   ========================================================================= */
.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: 32px; }
@media (max-width: 720px) { .wrap { padding-inline: 20px; } }

/* A section that fills a clean screen — used for "one idea per screen" rhythm */
.screen {
  min-height: var(--screen-min);
  padding-block: var(--screen-pad-top) var(--screen-pad-bot);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.screen.short { min-height: calc(var(--screen-min) * 0.72); padding-block: calc(var(--screen-pad-top) * 0.7); }
.screen.full  { min-height: 100vh; padding-block: 0; }

/* Subtle grid backdrop for the page — single hairline only, very far back */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
  opacity: var(--grid-opacity, 0.35);
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
}
main, nav, footer { position: relative; z-index: 1; }

/* =========================================================================
   TYPE
   ========================================================================= */
.display {
  font-family: var(--font-display);
  font-weight: 540;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  margin: 0;
}
h1.display { font-size: var(--d-1); }
h2.display { font-size: var(--d-3); }
.display.hero  { font-size: var(--d-1); }
.display.page  { font-size: var(--d-2); }
.display.sec   { font-size: var(--d-3); }
.display.sub   { font-size: var(--d-4); }
.display.small { font-size: var(--d-5); }

/* Mono labels — eyebrows, section counters, status */
.mono, .eyebrow, .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-feature-settings: "tnum";
}
.eyebrow { color: var(--fg-3); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.eyebrow::before {
  content: "";
  width: 18px; height: 1px; background: var(--accent);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }
.counter { color: var(--accent); }

/* Lead — the immediate text after a headline */
.lead {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--fg-2);
  max-width: 56ch;
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 32px;
  background: color-mix(in srgb, var(--bg-0) 70%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg-0) 92%, transparent); }
.nav .brand {
  display: inline-flex; align-items: baseline; gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--fg-1);
}
.nav .brand .dot { color: var(--accent); }
.nav .brand .ext { color: var(--fg-3); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.nav .links { display: flex; gap: 36px; align-items: center; }
.nav .links a {
  font-size: 13.5px; color: var(--fg-2);
  transition: color 0.15s var(--ease-out);
  position: relative;
}
.nav .links a:hover { color: var(--fg-1); }
.nav .links a.active { color: var(--fg-1); }
.nav .links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 1px; background: var(--accent);
}
.nav .right { display: flex; gap: 18px; align-items: center; }
@media (max-width: 820px) {
  .nav { padding-inline: 20px; }
  .nav .links { display: none; }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--r-1);
  border: 1px solid transparent;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out), border-color 0.15s var(--ease-out), transform 0.2s var(--ease-out);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-0);
}
.btn-primary:hover { background: #FF7A35; }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary {
  background: transparent;
  color: var(--fg-1);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--fg-2); background: var(--bg-2); }
.btn-ghost {
  background: transparent;
  color: var(--fg-1);
  padding: 14px 0;
}
.btn-ghost:hover { color: var(--accent); }
.btn-ghost .arrow { transition: transform 0.2s var(--ease-out); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 17px 26px; font-size: 15px; }

/* =========================================================================
   STAT BLOCK
   ========================================================================= */
.stat {
  display: flex; flex-direction: column; gap: 18px;
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
  cursor: default;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--fg-1);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.stat-num .unit { color: var(--accent); }
.stat-caption {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.5;
  max-width: 26ch;
}

/* =========================================================================
   SERVICE / PRICING CARD
   ========================================================================= */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 36px 32px;
  position: relative;
  transform-style: preserve-3d;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.card:hover { border-color: var(--line-2); }
.card .card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.card .pop {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--bg-0); background: var(--accent);
  padding: 4px 8px; border-radius: var(--r-1);
}
.card h3.title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 540;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--fg-1);
}
.card .desc {
  color: var(--fg-2);
  font-size: 15px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.card ul.features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.card ul.features li {
  display: grid; grid-template-columns: 14px 1fr; gap: 12px;
  font-size: 14.5px; color: var(--fg-1); line-height: 1.45;
}
.card ul.features li::before {
  content: ""; align-self: center;
  width: 8px; height: 1px; background: var(--accent);
  transform: translateY(1px);
}
.card .price {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 540;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 20px 0 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.card .price .from {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--fg-3); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.card .price .per {
  font-family: var(--font-sans);
  font-size: 14px; color: var(--fg-3); font-weight: 400;
  letter-spacing: 0;
}
.card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 106, 31, 0.03), transparent 40%), var(--bg-2); }

/* =========================================================================
   FORM
   ========================================================================= */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 15px;
  color: var(--fg-1);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0 12px;
  outline: 0;
  transition: border-color 0.2s var(--ease-out);
  font-family: var(--font-sans);
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-4); }
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--accent); }
.field textarea { min-height: 90px; }

/* =========================================================================
   MODAL
   ========================================================================= */
.modal-scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 9, 11, 0.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-4);
  width: min(560px, 100%);
  max-height: 90vh; overflow: auto;
  transform: translateY(12px); opacity: 0;
  transition: transform 0.3s var(--ease-out), opacity 0.25s var(--ease-out);
  position: relative;
}
.modal-scrim.open .modal { transform: translateY(0); opacity: 1; }
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.modal-head .title { font-family: var(--font-display); font-size: 20px; font-weight: 540; letter-spacing: -0.01em; }
.modal-head .x { color: var(--fg-3); padding: 4px; }
.modal-head .x:hover { color: var(--fg-1); }
.modal-body { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.modal-foot { padding: 0 28px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.modal-foot .small { font-size: 12.5px; color: var(--fg-3); max-width: 28ch; line-height: 1.45; }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer.site {
  margin-top: 8vh;
  padding-block: 80px 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  position: relative;
  z-index: 1;
}
footer.site .row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; }
footer.site .col h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--fg-3); text-transform: uppercase; font-weight: 500;
  margin: 0 0 18px;
}
footer.site .col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
footer.site .col a { font-size: 14px; color: var(--fg-2); transition: color 0.15s var(--ease-out); }
footer.site .col a:hover { color: var(--fg-1); }
footer.site .meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 80px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.06em;
}
footer.site .meta .blink { color: var(--accent); }
footer.site .tag {
  font-family: var(--font-display); font-size: 28px; font-weight: 540;
  letter-spacing: -0.02em; color: var(--fg-1); line-height: 1.1; max-width: 14ch;
  margin: 18px 0 0;
}
@media (max-width: 820px) {
  footer.site .row { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* =========================================================================
   UTILITIES
   ========================================================================= */
.divider { height: 1px; background: var(--line); width: 100%; }
.placeholder-block {
  border: 1px dashed var(--line-2);
  border-radius: var(--r-2);
  padding: 36px 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.placeholder-block .tag { color: var(--accent); display: block; margin-bottom: 6px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================================
   PIPELINE FLOW DIAGRAM
   ========================================================================= */
.pipeline {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 56px 48px;
  cursor: default;
}
.pipeline .stages {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px; align-items: stretch; position: relative;
}
.pipeline svg.flow {
  position: absolute;
  left: 48px; right: 48px;
  top: 100px;
  height: 22px;
  pointer-events: none;
  width: calc(100% - 96px);
}
.pipeline .stage {
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  padding: 22px 18px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  z-index: 2;
}
.pipeline .stage .step {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
}
.pipeline .stage .name {
  font-family: var(--font-display); font-size: 20px; font-weight: 540;
  letter-spacing: -0.01em; color: var(--fg-1);
}
.pipeline .stage .num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-2); margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.pipeline .stage .delta {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--good); margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.pipeline .legend {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.08em; text-transform: uppercase;
}
@media (max-width: 820px) {
  .pipeline { padding: 32px 20px; }
  .pipeline .stages { grid-template-columns: 1fr 1fr; }
  .pipeline svg.flow { display: none; }
}

/* =========================================================================
   DASHBOARD MOCK
   ========================================================================= */
.dashboard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  position: relative;
}
.dashboard-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--fg-3); text-transform: uppercase;
}
.dashboard-head .dots { display: flex; gap: 6px; }
.dashboard-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: block; }
.dashboard-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: var(--line);
}
.metric {
  background: var(--bg-2);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.2s var(--ease-out);
  transform-origin: center;
}
.metric .k {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
}
.metric .v {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 540;
  color: var(--fg-1); letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.metric .d {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--good); font-variant-numeric: tabular-nums;
}
.metric .d.bad { color: var(--bad); }

.dashboard-table {
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr 0.8fr;
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--fg-2);
}
.dashboard-table .h,
.dashboard-table .c {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.dashboard-table .h {
  font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-3);
  background: var(--bg-1);
}
.dashboard-table .c.status-q { color: var(--accent); }
.dashboard-table .c.status-c { color: var(--good); }
.dashboard-table .c.fg-1 { color: var(--fg-1); }
.dashboard-table .row-group:last-child .c { border-bottom: 0; }
.dashboard-table .row-group { display: contents; }

/* Pulse on pipeline lines (the moving dot) */
.flow-dot { fill: var(--accent); opacity: 0; }
.pipeline:hover .flow-dot,
.pipeline.active .flow-dot { animation: dotTravel 1.8s var(--ease-soft) infinite; opacity: 1; }
@keyframes dotTravel {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(var(--travel, 220px)); opacity: 0; }
}

/* Wobble on dashboard metrics */
.dashboard:hover .metric:nth-child(1) { animation: wobble 0.9s var(--ease-soft); }
.dashboard:hover .metric:nth-child(2) { animation: wobble 0.9s var(--ease-soft) 0.07s; }
.dashboard:hover .metric:nth-child(3) { animation: wobble 0.9s var(--ease-soft) 0.14s; }
@keyframes wobble {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  15%      { transform: rotate(-0.6deg) translateY(-1px); }
  35%      { transform: rotate(0.5deg)  translateY(1px);  }
  55%      { transform: rotate(-0.35deg) translateY(-1px); }
  75%      { transform: rotate(0.2deg)  translateY(0);    }
}

/* Hero word breathing */
.hero-headline .word {
  display: inline-block;
  transition: transform 0.45s var(--ease-out), color 0.45s var(--ease-out);
  will-change: transform;
}
.hero-headline .word:hover {
  transform: translate(var(--bx, 0px), var(--by, -2px));
  color: var(--accent);
}
.hero-headline .br { display: block; height: 0; }

/* Marquee strip (markets) */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 22px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: inline-flex; gap: 56px; white-space: nowrap;
  animation: scroll 38s linear infinite;
  padding-right: 56px;
}
.marquee-track > span {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 540;
  letter-spacing: -0.02em;
  color: var(--fg-1);
}
.marquee-track > span .sep { color: var(--accent); margin-inline: 8px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* "Right people / Right tools / Right motion" stacked refrain */
.refrain { display: flex; flex-direction: column; gap: 4px; }
.refrain li {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 540; letter-spacing: -0.035em; line-height: 1.02;
  list-style: none;
  color: var(--fg-1);
}
.refrain li span { color: var(--accent); }

/* Section index list (problem) */
.index-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); margin-top: 56px; }
.index-list > div {
  background: var(--bg-0);
  padding: 36px 32px 40px;
  display: flex; flex-direction: column; gap: 14px;
}
.index-list .n { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; }
.index-list .h {
  font-family: var(--font-display); font-size: 28px; font-weight: 540;
  letter-spacing: -0.02em; color: var(--fg-1);
}
.index-list .b { color: var(--fg-2); font-size: 15px; line-height: 1.55; max-width: 30ch; }
@media (max-width: 820px) { .index-list { grid-template-columns: 1fr; } }

/* Page-level grids */
.cards-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 980px) { .cards-3 { grid-template-columns: 1fr; } .cards-2 { grid-template-columns: 1fr; } }

/* Anchor link arrow (mono inline) */
.arrow { font-family: var(--font-mono); display: inline-block; }

/* Lockup row (caption + headline) */
.lockup { display: flex; flex-direction: column; gap: 18px; }

/* CTA strip (used between sections) */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-strip .text { font-family: var(--font-display); font-size: 22px; font-weight: 540; letter-spacing: -0.01em; color: var(--fg-1); }
@media (max-width: 820px) { .cta-strip { flex-direction: column; align-items: flex-start; } }

/* =========================================================================
   EMBED.FLOW HERO VISUAL
   Node-graph: pool of operator nodes (SDR/GTM/OPS/CH) on the left,
   dashed Bezier paths to a central "YOUR · TEAM" node on the right.
   Always-on subtle motion; amplified on hover. Each node is hoverable.
   ========================================================================= */
.flowviz {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 22px;
  min-height: 560px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 0 120px 30px rgba(239, 192, 78, 0.025);
}
.flowviz-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.06em;
  padding: 0 2px 14px;
}
.flowviz-head .tag,
.flowviz-head .live {
  border: 1px solid var(--line-2);
  padding: 5px 10px; border-radius: var(--r-2);
  color: var(--fg-2);
}
.flowviz-head .live {
  display: inline-flex; align-items: center; gap: 8px;
}
.flowviz-head .live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.78); }
}
.flowviz-body { flex: 1; position: relative; min-height: 420px; }

.flowviz-poolLabel {
  position: absolute; top: 4px; left: 16%;
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--fg-3); letter-spacing: 0.16em; text-transform: uppercase;
}

.flowviz-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Operator node — left column, stacked */
.flowviz-node {
  position: absolute;
  display: inline-flex; align-items: center; gap: 14px;
  z-index: 2; pointer-events: auto;
  transition: transform 0.3s var(--ease-out);
  user-select: none;
}
.flowviz-node .ring {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s var(--ease-out);
  animation: ringSpin 32s linear infinite;
}
.flowviz-node:hover .ring { border-color: var(--accent); }
.flowviz-node .ring::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
}
.flowviz-node .meta { display: flex; flex-direction: column; line-height: 1.15; gap: 3px; }
.flowviz-node .meta .k {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--fg-1); letter-spacing: 0.04em;
  transition: color 0.2s var(--ease-out);
}
.flowviz-node .meta .v {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--fg-3); letter-spacing: 0.03em;
}
.flowviz-node:hover { transform: translateX(3px); }
.flowviz-node:hover .meta .k { color: var(--accent); }
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* Central target node */
.flowviz-target {
  position: absolute;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.flowviz-target .box {
  width: 60px; height: 60px;
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  border-radius: var(--r-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 13.5px;
  color: var(--accent);
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 1px rgba(239, 192, 78, 0.2), 0 0 60px 10px rgba(239, 192, 78, 0.08);
  position: relative;
}
.flowviz-target .box::before {
  content: ""; position: absolute; inset: -10px;
  border: 1px solid var(--accent);
  opacity: 0; border-radius: 8px;
  animation: targetPulse 2.8s ease-out infinite;
}
@keyframes targetPulse {
  0%   { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}
.flowviz-target .label {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--fg-3); letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
}

/* SVG paths */
.flowviz-svg .pth {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  transition: stroke 0.2s var(--ease-out), opacity 0.25s var(--ease-out);
}
.flowviz-svg .pth.live {
  stroke: var(--accent);
  opacity: 0.5;
  stroke-dasharray: 5 6;
  animation: dashRun 14s linear infinite;
}
.flowviz:hover .pth.live { opacity: 1; animation-duration: 5s; }
@keyframes dashRun { to { stroke-dashoffset: -200; } }

/* Traveling dot along each path (animates via SMIL motion path) */
.flowviz-svg .traveler {
  fill: var(--accent);
  opacity: 0;
}
.flowviz:hover .traveler,
.flowviz.active .traveler { opacity: 1; }

/* Highlight one path when its node is hovered */
.flowviz.h-1 .p-1, .flowviz.h-2 .p-2, .flowviz.h-3 .p-3,
.flowviz.h-4 .p-4, .flowviz.h-5 .p-5 {
  stroke: var(--accent); opacity: 1; stroke-dasharray: 5 6;
  animation-duration: 2.4s;
}

.flowviz-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 2px 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.04em;
}
.flowviz-foot .chip {
  border: 1px solid var(--line-2);
  padding: 5px 10px; border-radius: var(--r-2);
  color: var(--fg-2);
}

/* HERO LAYOUT — split: copy left, flowviz right */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.hero-split > .left { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .flowviz { min-height: 480px; }
}

.hero-rail {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 12px;
}
.hero-rail .live {
  display: flex; gap: 8px; align-items: center;
}
.hero-rail .live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
  display: inline-block;
}

/* =========================================================================
   HERO HEADLINE EMPHASIS
   "closing" lights up in accent. "managing SDRs" gets a strike-through
   that draws in on scroll-reveal (visual metaphor: cross out the bad job).
   ========================================================================= */
.hero-headline .pop {
  color: var(--accent);
  position: relative;
}
.hero-headline .pop::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.02em;
  height: 0.06em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out) 0.6s;
}
.hero-headline.in .pop::after { transform: scaleX(1); }

.hero-headline .strike {
  position: relative;
  color: var(--fg-2);
}
.hero-headline .strike::before {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em;
  top: 50%;
  height: 0.08em;
  background: var(--fg-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out) 1.1s;
}
.hero-headline.in .strike::before { transform: scaleX(1); }

/* =========================================================================
   STAT ROW - asymmetric grid so €95,000 has the room it needs
   ========================================================================= */
.stats-row {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.9fr;
  gap: 36px;
  align-items: end;
}
.stats-row .stat-num { font-size: clamp(48px, 6.6vw, 92px); }
.stats-row .stat-num.wide { font-size: clamp(44px, 6vw, 84px); white-space: nowrap; }
@media (max-width: 820px) {
  .stats-row { grid-template-columns: 1fr; gap: 36px; }
  .stats-row .stat-num.wide { white-space: normal; }
}

/* =========================================================================
   REFRAIN CAPTIONS - mono sub-text under each "Right X." line.
   Makes the refrain feel specific rather than templated.
   ========================================================================= */
.refrain li {
  display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap;
}
.refrain li .cap {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-left: 0;
}

/* =========================================================================
   ORGANIC DIVIDER - sine-wave hairline, drawn in via dashoffset on reveal
   ========================================================================= */
.curve-divider {
  display: block;
  width: 100%;
  height: 64px;
  opacity: 0.7;
  margin-block: 24px;
}
.curve-divider path {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2.2s var(--ease-out);
}
.curve-divider.in path { stroke-dashoffset: 0; }
.curve-divider .accent {
  stroke: var(--accent);
  stroke-dasharray: 6 8;
  opacity: 0.55;
  animation: dashRun 18s linear infinite;
}

/* =========================================================================
   AMBIENT ORB - very subtle floating accent blur, used 1-2x per page max
   ========================================================================= */
.orb {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--accent-dim), transparent 60%);
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 24s ease-in-out infinite;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(40px, -30px); }
  66%      { transform: translate(-30px, 25px); }
}

/* =========================================================================
   MARKETS VIZ - 3 nodes pulse + connect (about page)
   ========================================================================= */
.markets-viz {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 56px 32px;
  overflow: hidden;
  min-height: 280px;
}
.markets-viz svg { width: 100%; height: 220px; display: block; }
.markets-viz .nodeLbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--fg-2);
}
.markets-viz .nodeName {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 540;
  letter-spacing: -0.01em;
  fill: var(--fg-1);
}
.markets-viz .ring {
  fill: var(--accent-dim);
  stroke: var(--accent);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
}
.markets-viz .ring.dot { animation: nodePulse 2.4s ease-in-out infinite; }
.markets-viz .ring.dot.b { animation-delay: 0.6s; }
.markets-viz .ring.dot.c { animation-delay: 1.2s; }
@keyframes nodePulse {
  0%, 100% { r: 6; opacity: 1; }
  50%      { r: 9; opacity: 0.6; }
}
.markets-viz .link {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0.5;
  animation: dashRun 14s linear infinite;
}
.markets-viz .link.b { animation-direction: reverse; animation-duration: 18s; }
.markets-viz .meridian {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.6;
}

/* =========================================================================
   LOGO MARK · concentric dashed rings, slow contra-rotation,
   speeds up on brand hover.
   ========================================================================= */
.logo-mark { flex-shrink: 0; vertical-align: middle; display: inline-block; }
.logo-mark .ring-in,
.logo-mark .ring-out {
  transform-box: fill-box;
  transform-origin: center;
}
.logo-mark .ring-in  { animation: lmSpinIn 16s linear infinite; }
.logo-mark .ring-out { animation: lmSpinOut 28s linear infinite reverse; }
@keyframes lmSpinIn  { to { transform: rotate(360deg); } }
@keyframes lmSpinOut { to { transform: rotate(360deg); } }
.brand:hover .logo-mark .ring-in  { animation-duration: 3.4s; }
.brand:hover .logo-mark .ring-out { animation-duration: 7s; }

/* Footer brand wrapper - was previously inline-styled; now anchored to vars */
footer.site .brand .logo-mark { width: 26px; height: 26px; }

/* =========================================================================
   HERO "GAPS" WORD · letters start spread (visible gap), close on reveal.
   Hover plays the close-the-gap animation again.
   ========================================================================= */
.hero-headline .gaps-word {
  display: inline-block;
  letter-spacing: 0.5em;
  margin-right: -0.5em; /* compensate for trailing tracking */
  color: var(--accent);
  animation: closeGap 1.6s var(--ease-out) 0.7s forwards;
}
@keyframes closeGap {
  0%   { letter-spacing: 0.5em; margin-right: -0.5em; opacity: 0.55; }
  100% { letter-spacing: -0.035em; margin-right: 0; opacity: 1; }
}
.hero-headline:hover .gaps-word {
  animation: gapBreathe 1.6s var(--ease-out);
}
@keyframes gapBreathe {
  0%   { letter-spacing: -0.035em; margin-right: 0; }
  35%  { letter-spacing: 0.5em; margin-right: -0.5em; }
  100% { letter-spacing: -0.035em; margin-right: 0; }
}

/* =========================================================================
   EMBED.FLOW · amplified motion
   Always-on travelers + horizontal scan line.
   ========================================================================= */
/* Travelers are visible by default, not just on hover */
.flowviz .traveler { opacity: 0.55 !important; }
.flowviz:hover .traveler { opacity: 1 !important; }

/* Live path is always animating, faster on hover */
.flowviz-svg .pth.live { animation-duration: 8s; }

/* Horizontal sweep across the panel */
.flowviz::after {
  content: "";
  position: absolute;
  left: -20%; right: -20%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.18;
  pointer-events: none;
  animation: flowScan 7s ease-in-out infinite;
}
@keyframes flowScan {
  0%, 100% { transform: translateY(-180px); opacity: 0; }
  50%      { transform: translateY(180px);  opacity: 0.28; }
}

/* Operator nodes get a subtle individual breath even without hover */
.flowviz-node .meta .k {
  animation: nodeMetaBreath 5.2s ease-in-out infinite;
}
.flowviz-node:nth-child(2) .meta .k { animation-delay: 0.7s; }
.flowviz-node:nth-child(3) .meta .k { animation-delay: 1.4s; }
.flowviz-node:nth-child(4) .meta .k { animation-delay: 2.1s; }
.flowviz-node:nth-child(5) .meta .k { animation-delay: 2.8s; }
@keyframes nodeMetaBreath {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.72; }
}

/* Target core - tiny inner pulse counterpoint to the outer ring */
.flowviz-target .box::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--accent);
  opacity: 0.4;
  border-radius: 2px;
  animation: targetCore 2.4s ease-in-out infinite;
}
@keyframes targetCore {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(0.6); opacity: 0.8; }
}

/* =========================================================================
   GLOBE · spinning sphere with arcs flying between markets (about page)
   ========================================================================= */
.globe-wrap {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.globe-wrap::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-dim), transparent 55%);
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}
.globe-svg {
  width: 100%; height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
.globe-outline {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1;
}
.globe-grid {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1;
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
}
.globe-grid.rotor {
  animation: globeRotate 38s linear infinite;
}
@keyframes globeRotate { to { transform: rotate(360deg); } }

.globe-land {
  fill: var(--bg-3);
  stroke: var(--line-strong);
  stroke-width: 0.6;
  opacity: 0.85;
  transform-box: fill-box;
  transform-origin: center;
  animation: globeRotate 64s linear infinite;
}

.globe-pin {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent-dim));
}
.globe-pin-halo {
  fill: var(--accent);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pinHalo 2.8s ease-out infinite;
}
@keyframes pinHalo {
  0%   { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0;    transform: scale(2.8); }
}

.globe-arc {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
  opacity: 0.7;
  animation: dashRun 12s linear infinite;
}
.globe-arc.b { animation-direction: reverse; animation-duration: 16s; opacity: 0.5; }

.globe-plane {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent));
}
.globe-pin-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--fg-2);
}
.globe-pin-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 540;
  letter-spacing: -0.01em;
  fill: var(--fg-1);
}

/* Legend chips around the globe */
.globe-legend {
  display: flex; justify-content: center; gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.globe-legend .chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill, 999px);
  background: var(--bg-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.globe-legend .chip i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* =========================================================================
   PRICING COMPARISON v2 · per-column cards, clean grouping, readable
   ========================================================================= */
.compare-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.compare-2 .col {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
}
.compare-2 .col:last-child { border-right: 0; }
.compare-2 .col-head {
  padding: 28px 24px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.compare-2 .col-head .name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 540;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.compare-2 .col-head .price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 8px 0 0;
  padding: 0; border: 0;
  font-size: 18px;
}
.compare-2 .col-head .price .from,
.compare-2 .col-head .price .per {
  font-size: 11px;
}
.compare-2 .col-head .pop {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 10px;
}
.compare-2 .col.is-feat .col-head { background: linear-gradient(180deg, var(--accent-soft), var(--bg-1)); }

/* Group headers (separators) */
.compare-2 .group-head {
  grid-column: span 3;
  background: var(--bg-1);
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.compare-2 .group-head::before {
  content: ""; width: 14px; height: 1px; background: var(--accent);
}

/* Row inside each column */
.compare-2 .col .row {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  min-height: 84px;
}
.compare-2 .col .row:last-child { border-bottom: 0; }
.compare-2 .row .lbl {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--fg-3); letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
}
.compare-2 .row .val {
  font-size: 14px; color: var(--fg-1); line-height: 1.5;
}
.compare-2 .row .val.accent { color: var(--accent); }
.compare-2 .row .val.muted  { color: var(--fg-3); }
.compare-2 .row .val.tnum {
  font-family: var(--font-mono); font-size: 14px;
}

/* Full-width definition block (qualified meetings) */
.compare-2 .def-block {
  grid-column: span 3;
  padding: 20px 24px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: baseline;
}
.compare-2 .def-block .lbl {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
}
.compare-2 .def-block .val {
  color: var(--fg-2); font-size: 14px; line-height: 1.55;
}
@media (max-width: 820px) {
  .compare-2 { grid-template-columns: 1fr; }
  .compare-2 .col { border-right: 0; border-bottom: 1px solid var(--line); }
  .compare-2 .group-head { grid-column: span 1; }
  .compare-2 .def-block { grid-column: span 1; grid-template-columns: 1fr; gap: 8px; }
}

/* =========================================================================
   FLOW ORNAMENT · vertical connective curve between sections (Services)
   Drawn in via stroke-dashoffset on reveal. Subtle, premium, intentional.
   ========================================================================= */
.flow-curve {
  display: block;
  width: 100%;
  height: 96px;
  margin-block: -16px;
  pointer-events: none;
}
.flow-curve path {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 2.2s var(--ease-out);
}
.flow-curve.in path { stroke-dashoffset: 0; }
.flow-curve .live {
  stroke: var(--accent);
  stroke-dasharray: 4 5;
  opacity: 0.55;
  animation: dashRun 16s linear infinite;
}

/* Tiny live indicator dot, used at section transitions */
.dot-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.08em;
}
.dot-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
.flowviz:hover .flowviz-node { opacity: 0.32; transition: opacity 0.2s var(--ease-out); }
.flowviz:hover .flowviz-node:hover { opacity: 1; }
.flowviz:hover .pth { opacity: 0.16; }
.flowviz:hover .pth.live { opacity: 0.28; }
.flowviz.h-1 .pth.p-1, .flowviz.h-2 .pth.p-2, .flowviz.h-3 .pth.p-3,
.flowviz.h-4 .pth.p-4, .flowviz.h-5 .pth.p-5 {
  opacity: 1 !important;
}
.flowviz-node { transition: opacity 0.2s var(--ease-out), transform 0.3s var(--ease-out); }

/* Rotating live ticker in the flow footer */
#flowTicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
  height: 18px;
  overflow: hidden;
  padding-left: 16px;
}
#flowTicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
#flowTicker .tk-item {
  position: absolute;
  left: 16px; right: 0; top: 50%;
  transform: translateY(calc(-50% + 8px));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
  white-space: nowrap;
  color: var(--fg-2);
}
#flowTicker .tk-item.is-on {
  opacity: 1;
  transform: translateY(-50%);
}
#flowTicker .tk-item.is-out {
  opacity: 0;
  transform: translateY(calc(-50% - 8px));
}

/* =========================================================================
   SCROLL SPINE · vertical right-edge nav with section dots + progress fill.
   Auto-builds from any <section[data-spine-label]>.
   ========================================================================= */
.scroll-spine {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 8px;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.scroll-spine.ready { opacity: 1; }
.scroll-spine .spine-rail,
.scroll-spine .spine-fill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  top: 18px; bottom: 18px;
}
.scroll-spine .spine-rail { background: var(--line-2); }
.scroll-spine .spine-fill {
  background: var(--accent);
  bottom: auto;
  height: var(--p, 0%);
  transition: height 0.18s linear;
}
.scroll-spine button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: all 0.25s var(--ease-out);
  z-index: 1;
}
.scroll-spine button:hover {
  background: var(--fg-3);
  border-color: var(--fg-2);
}
.scroll-spine button.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.scroll-spine button::after {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-1);
  white-space: nowrap;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  padding: 6px 10px;
  border-radius: var(--r-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.scroll-spine button:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 980px) { .scroll-spine { display: none; } }
