/* ==========================================================================
   MergeFlows Fit Scan homepage
   Complete dark-theme rebuild for the structure in index.html
   ========================================================================== */

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

:root {
  color-scheme: dark;
  --deep-teal: #134e4a;
  --mid-teal: #0d9488;
  --bright-teal: #2dd4bf;
  --pale-mint: #99f6e4;
  --mist: #f0fdfa;
  --ink: #22312f;
  --page: #050a0a;
  --page-soft: #071110;
  --panel-dark: #091614;
  --panel-raised: #0c1c19;
  --text: #f0fdfa;
  --text-soft: #a8c3bd;
  --text-dim: #718b86;
  --dark-line: rgba(153, 246, 228, 0.12);
  --dark-line-strong: rgba(45, 212, 191, 0.28);
  --teal-glow: rgba(45, 212, 191, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --shell: min(1180px, calc(100% - 48px));
  --display: "Archivo", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(19, 78, 74, 0.2), transparent 32rem),
    var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
}

body::selection {
  background: var(--mid-teal);
  color: white;
}

button,
input,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--bright-teal);
  outline-offset: 3px;
}

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

[hidden] {
  display: none !important;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.08), transparent 68%);
  transition: opacity 0.3s ease;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 2px;
  background: rgba(240, 253, 250, 0.04);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--mid-teal), var(--bright-teal));
  box-shadow: 0 0 12px var(--bright-teal);
}

.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 110;
  border-radius: 0 0 10px 10px;
  background: var(--bright-teal);
  color: var(--page);
  padding: 0.7rem 1rem;
}

.skip:focus {
  top: 0;
  left: 16px;
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 82px;
  padding: 0 clamp(24px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(5, 10, 10, 0.86), transparent);
  transition: height 0.3s ease, border-color 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.top.is-solid {
  height: 70px;
  border-bottom-color: var(--dark-line);
  background: rgba(5, 10, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.65rem;
  width: fit-content;
  color: var(--mist);
}

.brand svg {
  display: block;
  width: 34px;
  height: 30px;
  overflow: visible;
}

.brand-text {
  display: inline-flex;
  font-family: var(--display);
  font-size: 1.22rem;
  letter-spacing: -0.045em;
}

.brand-text .m {
  font-weight: 300;
}

.brand-text .f {
  font-weight: 800;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0.3rem;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  background: rgba(9, 22, 20, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.nav-bar a {
  position: relative;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-bar a:hover {
  background: rgba(45, 212, 191, 0.08);
  color: var(--mist);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.7rem;
  padding: 0.62rem 0.9rem 0.62rem 1.05rem;
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.14);
  color: var(--pale-mint);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  border-color: var(--bright-teal);
  background: var(--mid-teal);
  color: white;
}

.nav-cta i,
.btn i {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
}

.nav-toggle {
  display: none;
  position: relative;
  justify-self: end;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--dark-line-strong);
  border-radius: 50%;
  background: rgba(9, 22, 20, 0.8);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--mist);
  transition: transform 0.2s ease;
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 52px;
  padding: 0.7rem 0.75rem 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--mid-teal);
  color: white;
  box-shadow: 0 12px 36px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
  background: #10a99b;
  box-shadow: 0 16px 42px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
  border-color: var(--dark-line-strong);
  background: rgba(240, 253, 250, 0.025);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(153, 246, 228, 0.46);
  background: rgba(153, 246, 228, 0.06);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(88px, 10vw, 152px);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  padding: 120px 0 76px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--dark-line);
}

#flowfield,
#cta-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid,
.final-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(153, 246, 228, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 246, 228, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 35%;
  background: linear-gradient(transparent, var(--page));
  pointer-events: none;
}

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

.orb-one {
  top: 6%;
  right: -12rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.14), transparent 68%);
}

.orb-two {
  bottom: 3%;
  left: -14rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(19, 78, 74, 0.24), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(520px, 1.07fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  width: var(--shell);
  min-width: 0;
  margin: auto;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--dark-line-strong);
  border-radius: 999px;
  background: rgba(9, 22, 20, 0.7);
  color: var(--pale-mint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.status-pill i,
.live-dot i,
.marquee-label i,
.foot-signal i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bright-teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1), 0 0 14px rgba(45, 212, 191, 0.5);
  animation: signal 2.2s ease-in-out infinite;
}

.hero h1 {
  max-width: 10.5ch;
  margin: 1.6rem 0 1.35rem;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.2vw, 6.7rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

h1 em,
h2 em {
  color: var(--bright-teal);
  font-style: normal;
  font-weight: 300;
}

.hero-sub {
  max-width: 52ch;
  margin: 0 0 2rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.3rem;
  margin-top: 1.65rem;
  color: var(--text-dim);
  font-size: 0.76rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust i {
  color: var(--bright-teal);
  font-style: normal;
}

.hero .btn-primary {
  background: var(--mid-teal);
  color: white;
}

.hero .btn-primary:hover {
  background: #10a99b;
}

.hero .btn-secondary {
  border-color: var(--dark-line-strong);
  background: rgba(240, 253, 250, 0.025);
  color: var(--text);
}

.hero .btn-secondary:hover {
  border-color: rgba(153, 246, 228, 0.46);
  background: rgba(153, 246, 228, 0.06);
}

.system-stage {
  position: relative;
  min-width: 0;
  min-height: 550px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--dark-line-strong);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(19, 78, 74, 0.12), transparent 42%),
    rgba(7, 17, 16, 0.88);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.system-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(153, 246, 228, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 246, 228, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

.stage-aura {
  position: absolute;
  top: 26%;
  left: 38%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.13), transparent 70%);
  filter: blur(4px);
}

.stage-topline,
.stage-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 0.45rem;
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--pale-mint);
}

.live-dot i {
  width: 6px;
  height: 6px;
}

.flow-ui {
  position: relative;
  height: 390px;
  border-block: 1px solid var(--dark-line);
}

.input-stack,
.output-stack {
  position: absolute;
  z-index: 3;
  top: 45px;
  bottom: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.input-stack {
  left: 5px;
}

.output-stack {
  right: 2px;
}

.source-chip {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 0.55rem;
  width: 116px;
  min-height: 50px;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--dark-line);
  border-radius: 13px;
  background: rgba(12, 28, 25, 0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.source-chip > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(13, 148, 136, 0.14);
  color: var(--pale-mint);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
}

.source-chip small {
  color: var(--text-soft);
  font-size: 0.63rem;
}

.source-chip > i {
  color: var(--text-dim);
  font-size: 0.55rem;
  font-style: normal;
}

.source-mail {
  animation: float 5.5s ease-in-out infinite;
}

.source-crm {
  animation: float 5.5s 0.7s ease-in-out infinite;
}

.source-sheet {
  animation: float 5.5s 1.4s ease-in-out infinite;
}

.flow-lines {
  position: absolute;
  z-index: 1;
  inset: 18px 70px;
  width: calc(100% - 140px);
  height: calc(100% - 36px);
  overflow: visible;
}

.base-path,
.active-path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.base-path {
  stroke: rgba(153, 246, 228, 0.1);
  stroke-width: 1;
}

.active-path {
  stroke: url("#lineGradient");
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 18;
  filter: url("#lineGlow");
  animation: flowLine 3.5s linear infinite;
}

.path-two {
  animation-delay: -1.1s;
}

.path-three {
  animation-delay: -2.2s;
}

.core-node {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 48%;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(45, 212, 191, 0.36);
  border-radius: 50%;
  background: rgba(7, 17, 16, 0.95);
  box-shadow: 0 0 42px rgba(45, 212, 191, 0.12), inset 0 0 22px rgba(45, 212, 191, 0.05);
  transform: translate(-50%, -50%);
}

.core-logo {
  position: relative;
  z-index: 1;
  width: 48px;
  height: auto;
  display: block;
}

.core-rings,
.core-rings i {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 50%;
}

.core-rings i:nth-child(1) {
  inset: -15px;
  animation: breathe 3s ease-in-out infinite;
}

.core-rings i:nth-child(2) {
  inset: -30px;
  opacity: 0.55;
  animation: breathe 3s 0.5s ease-in-out infinite;
}

.core-rings i:nth-child(3) {
  inset: -46px;
  opacity: 0.22;
  animation: breathe 3s 1s ease-in-out infinite;
}

.output-chip {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  align-items: center;
  gap: 0.55rem;
  width: 172px;
  min-height: 58px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--dark-line);
  border-radius: 13px;
  background: rgba(12, 28, 25, 0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.output-chip > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bright-teal);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.55);
}

.output-chip div {
  min-width: 0;
}

.output-chip small,
.output-chip strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.output-chip small {
  color: var(--text-dim);
  font-size: 0.55rem;
}

.output-chip strong {
  color: var(--text);
  font-size: 0.63rem;
  font-weight: 600;
}

.output-chip > span {
  color: var(--bright-teal);
  font-family: var(--display);
  font-size: 0.5rem;
}

.stage-footer {
  height: 74px;
  padding-top: 0.6rem;
}

.stage-footer > div:first-child {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 0.5rem;
}

.stage-footer > div:first-child span,
.system-health span {
  color: var(--text-dim);
  font-size: 0.5rem;
}

.stage-footer > div:first-child strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--mist);
  font-size: 1.45rem;
  line-height: 1;
}

.stage-footer > div:first-child small {
  color: var(--text-dim);
  font-size: 0.55rem;
}

.pulse-chart {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 30px;
}

.pulse-chart i {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--bright-teal), var(--deep-teal));
  animation: bars 1.7s ease-in-out infinite alternate;
}

.pulse-chart i:nth-child(1) { height: 25%; }
.pulse-chart i:nth-child(2) { height: 48%; animation-delay: -0.2s; }
.pulse-chart i:nth-child(3) { height: 36%; animation-delay: -0.5s; }
.pulse-chart i:nth-child(4) { height: 76%; animation-delay: -0.8s; }
.pulse-chart i:nth-child(5) { height: 52%; animation-delay: -0.3s; }
.pulse-chart i:nth-child(6) { height: 92%; animation-delay: -1s; }
.pulse-chart i:nth-child(7) { height: 66%; animation-delay: -0.6s; }
.pulse-chart i:nth-child(8) { height: 100%; animation-delay: -0.9s; }

.system-health {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.system-health strong {
  color: var(--bright-teal);
  font-size: 0.9rem;
}

.scroll-cue {
  position: absolute;
  bottom: 27px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-dim);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(153, 246, 228, 0.15);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: -100% 0 auto;
  height: 100%;
  background: var(--bright-teal);
  animation: scrollCue 2s ease-in-out infinite;
}

.proof-strip {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--dark-line);
  background: #06100f;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--shell);
  margin: auto;
}

.proof-metrics article {
  min-height: 170px;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--dark-line);
}

.proof-metrics article:first-child {
  border-left: 1px solid var(--dark-line);
}

.proof-metrics span,
.proof-metrics small {
  display: block;
}

.proof-metrics span {
  margin-bottom: 0.75rem;
  color: var(--text-dim);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-metrics strong {
  display: block;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.proof-metrics small {
  margin-top: 0.35rem;
  color: var(--text-dim);
  font-size: 0.7rem;
}

.tool-marquee {
  display: grid;
  grid-template-columns: minmax(230px, 0.28fr) 1fr;
  align-items: center;
  border-top: 1px solid var(--dark-line);
  overflow: hidden;
}

.marquee-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  height: 68px;
  padding: 0 2.5rem;
  border-right: 1px solid var(--dark-line);
  color: var(--text-dim);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}

.marquee-content {
  display: flex;
  gap: 3.4rem;
  width: max-content;
  padding-left: 3.4rem;
  color: var(--text-soft);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  animation: marquee 30s linear infinite;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: end;
  gap: 2rem 5rem;
  margin-bottom: clamp(48px, 7vw, 86px);
}

.section-heading.compact {
  align-items: start;
}

.section-heading .eyebrow {
  grid-column: 1;
}

.section-heading h2 {
  grid-column: 1;
}

.section-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  max-width: 54ch;
  margin: 0;
  color: var(--text-soft);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  color: var(--pale-mint);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--bright-teal);
}

.eyebrow span::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-left: 0.8rem;
  vertical-align: middle;
  background: var(--dark-line-strong);
}

.section-heading h2,
.protocol-intro h2,
.fit-intro h2,
.faq-intro h2,
.final h2 {
  margin: 0;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-heading h2 {
  max-width: 13ch;
}

.transformation {
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  min-height: 430px;
  border: 1px solid var(--dark-line);
  border-radius: 24px;
  background: rgba(9, 22, 20, 0.5);
  overflow: hidden;
}

.chaos-side,
.flow-side {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  overflow: hidden;
}

.panel-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-soft);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.panel-label > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
}

.flow-side .panel-label > i {
  background: var(--bright-teal);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.55);
}

.panel-label span {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 0.5rem;
}

.chaos-cloud {
  position: relative;
  flex: 1;
  min-height: 260px;
}

.chaos-cloud span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 2;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(153, 246, 228, 0.1);
  border-radius: 10px;
  background: #0c1817;
  color: var(--text-dim);
  font-size: 0.65rem;
  transform: rotate(var(--r));
}

.chaos-cloud svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chaos-cloud path {
  fill: none;
  stroke: rgba(153, 246, 228, 0.09);
  stroke-dasharray: 3 8;
}

.panel-stat {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-line);
}

.panel-stat strong {
  color: var(--mist);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
}

.flow-side .panel-stat strong {
  color: var(--bright-teal);
}

.panel-stat span {
  color: var(--text-dim);
  font-size: 0.68rem;
}

.transform-arrow {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  border-inline: 1px solid var(--dark-line);
  background: rgba(5, 10, 10, 0.45);
}

.transform-arrow span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--dark-line-strong);
  border-radius: 50%;
  background: var(--panel-raised);
  color: var(--bright-teal);
  font-family: var(--display);
  font-weight: 700;
  box-shadow: 0 0 28px rgba(45, 212, 191, 0.1);
}

.transform-arrow i {
  position: absolute;
  width: 1px;
  height: calc(50% - 38px);
  top: 0;
  background: linear-gradient(transparent, var(--dark-line-strong));
}

.flow-lanes {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
}

.flow-lanes > div {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
}

.flow-lanes span,
.flow-lanes b,
.flow-lanes strong {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  font-size: 0.52rem;
  letter-spacing: 0.06em;
}

.flow-lanes span {
  color: var(--text-dim);
}

.flow-lanes b {
  border-color: rgba(45, 212, 191, 0.28);
  background: rgba(13, 148, 136, 0.09);
  color: var(--pale-mint);
  font-weight: 700;
}

.flow-lanes strong {
  color: var(--mist);
}

.flow-lanes i {
  height: 1px;
  background: linear-gradient(90deg, var(--dark-line), var(--mid-teal));
}

.capabilities {
  padding-top: 24px;
}

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

.capability {
  position: relative;
  display: grid;
  grid-template-columns: 54px 110px minmax(280px, 1.3fr) 1fr 40px;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  min-height: 190px;
  padding: 2rem 0;
  border-bottom: 1px solid var(--dark-line);
  transition: background 0.3s ease;
}

.capability::before {
  content: "";
  position: absolute;
  inset: 0 -24px;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.06), transparent);
  transition: opacity 0.3s ease;
}

.capability:hover::before {
  opacity: 1;
}

.cap-number {
  color: var(--text-dim);
  font-family: var(--display);
  font-size: 0.68rem;
}

.cap-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid var(--dark-line);
  border-radius: 22px;
  background: rgba(12, 28, 25, 0.66);
  color: var(--bright-teal);
}

.icon-orbit > span {
  z-index: 2;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
}

.icon-orbit i {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--dark-line-strong);
  border-radius: 50%;
}

.icon-orbit i:last-of-type {
  inset: 28px 12px;
  transform: rotate(55deg);
}

.icon-flow {
  grid-template-columns: repeat(3, 9px);
  gap: 9px;
}

.icon-flow i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bright-teal);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.4);
}

.icon-flow::before,
.icon-flow::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 1px;
  background: var(--dark-line-strong);
}

.icon-doc span {
  width: 32px;
  height: 42px;
  border: 1px solid var(--dark-line-strong);
  border-radius: 4px;
}

.icon-doc i {
  position: absolute;
  width: 18px;
  height: 10px;
  border-block: 1px solid var(--bright-teal);
}

.cap-copy h3 {
  margin: 0 0 0.65rem;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.cap-copy p {
  max-width: 52ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.capability ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  list-style: none;
}

.capability li::before {
  content: "⌁";
  margin-right: 0.55rem;
  color: var(--bright-teal);
}

.cap-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  color: var(--text-dim);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.capability:hover .cap-arrow {
  border-color: var(--bright-teal);
  color: var(--bright-teal);
  transform: rotate(45deg);
}

.protocol {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--dark-line);
  background: #071210;
}

.protocol-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 50%, rgba(13, 148, 136, 0.14), transparent 32rem),
    linear-gradient(90deg, rgba(153, 246, 228, 0.025) 1px, transparent 1px);
  background-size: auto, 96px 100%;
}

.protocol-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 10vw, 150px);
}

.protocol-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.protocol-intro h2 {
  font-size: clamp(2.9rem, 5.2vw, 5.6rem);
}

.protocol-intro > p:not(.eyebrow) {
  max-width: 43ch;
  margin: 1.7rem 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--dark-line-strong);
  color: var(--pale-mint);
  font-size: 0.8rem;
  font-weight: 700;
}

.text-link i {
  color: var(--bright-teal);
  font-style: normal;
}

.protocol-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protocol-steps::before {
  content: "";
  position: absolute;
  top: 65px;
  bottom: 65px;
  left: 44px;
  width: 1px;
  background: linear-gradient(var(--bright-teal), var(--deep-teal), transparent);
}

.protocol-steps li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.8rem;
  min-height: 220px;
  padding: 2rem 0;
  border-bottom: 1px solid var(--dark-line);
}

.step-orb {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-self: start;
  width: 90px;
  height: 90px;
  border: 1px solid var(--dark-line-strong);
  border-radius: 50%;
  background: #081714;
  color: var(--bright-teal);
  font-family: var(--display);
  font-size: 0.72rem;
}

.step-orb i {
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(45, 212, 191, 0.2);
  border-radius: 50%;
  animation: spin 15s linear infinite;
}

.protocol-steps small {
  color: var(--bright-teal);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.protocol-steps h3 {
  margin: 0.6rem 0 0.7rem;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.protocol-steps p {
  max-width: 48ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.example-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(13, 148, 136, 0.09), transparent 18rem),
    rgba(9, 22, 20, 0.68);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.example-card:hover {
  border-color: var(--dark-line-strong);
  transform: translateY(-3px);
}

.example-wide {
  grid-column: 1 / -1;
  min-height: 330px;
}

.example-top {
  display: flex;
  justify-content: space-between;
  color: var(--bright-teal);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.example-top i {
  color: var(--text-dim);
  font-style: normal;
}

.example-card h3 {
  max-width: 18ch;
  margin: 2rem 0 1rem;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.example-card > p {
  max-width: 54ch;
  margin: auto 0 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.mini-flow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.mini-flow span {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--dark-line);
  border-radius: 9px;
  color: var(--text-dim);
  font-size: 0.62rem;
}

.mini-flow span.active {
  border-color: var(--dark-line-strong);
  background: rgba(13, 148, 136, 0.12);
  color: var(--pale-mint);
}

.mini-flow i {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--dark-line), var(--mid-teal));
}

.inbox-visual {
  display: grid;
  gap: 0.55rem;
  max-width: 340px;
  margin: 1.5rem 0;
}

.inbox-visual span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.65rem;
}

.inbox-visual i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bright-teal);
}

.inbox-visual span:nth-child(2) i {
  background: #e6b95c;
}

.inbox-visual span:nth-child(3) i {
  background: var(--text-dim);
}

.data-visual {
  position: relative;
  display: flex;
  align-items: end;
  gap: 0.5rem;
  width: 230px;
  height: 100px;
  margin: 1rem 0;
}

.data-visual > i {
  width: 30px;
  border-radius: 4px 4px 0 0;
  background: rgba(13, 148, 136, 0.13);
}

.data-visual > i:nth-child(1) { height: 25%; }
.data-visual > i:nth-child(2) { height: 38%; }
.data-visual > i:nth-child(3) { height: 32%; }
.data-visual > i:nth-child(4) { height: 65%; }
.data-visual > i:nth-child(5) { height: 88%; }

.data-visual svg {
  position: absolute;
  inset: 0;
}

.data-visual path {
  fill: none;
  stroke: var(--bright-teal);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px rgba(45, 212, 191, 0.35));
}

.investment {
  padding-top: 40px;
}

.fit-scan {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--dark-line-strong);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 20%, rgba(45, 212, 191, 0.1), transparent 28rem),
    linear-gradient(135deg, rgba(19, 78, 74, 0.2), rgba(7, 17, 16, 0.94) 48%);
  box-shadow: var(--shadow);
}

.fit-scan::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(153, 246, 228, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 246, 228, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent);
}

.fit-intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 620px;
  padding: clamp(2rem, 7vw, 6.5rem);
}

.fit-intro h2 {
  max-width: 12ch;
}

.fit-intro > p:not(.eyebrow) {
  max-width: 42ch;
  margin: 1.5rem 0 2rem;
  color: var(--text-soft);
}

.fit-intro > small {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.68rem;
}

.fit-wizard {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 620px;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: rgba(5, 12, 11, 0.86);
  backdrop-filter: blur(16px);
}

.wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--pale-mint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-head button,
.wizard-back {
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.wizard-head button:hover,
.wizard-back:hover {
  color: var(--mist);
}

.wizard-progress {
  width: 100%;
  height: 3px;
  margin: 1.25rem 0 clamp(2.2rem, 5vw, 4rem);
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: rgba(153, 246, 228, 0.08);
  color: var(--mid-teal);
  appearance: none;
}

.wizard-progress::-webkit-progress-bar {
  background: rgba(153, 246, 228, 0.08);
}

.wizard-progress::-webkit-progress-value {
  border-radius: 99px;
  background: linear-gradient(90deg, var(--deep-teal), var(--bright-teal));
  transition: width 0.35s ease;
}

.wizard-progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--deep-teal), var(--bright-teal));
}

.wizard-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  animation: wizardIn 0.35s ease both;
}

.wizard-step legend {
  max-width: 18ch;
  margin: 0 0 0.75rem;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.wizard-step > p {
  margin: 0 0 1.8rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 820px;
}

.wizard-options-compact {
  max-width: 720px;
}

.wizard-options label {
  cursor: pointer;
}

.wizard-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wizard-options span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0.85rem 3rem 0.85rem 1rem;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: rgba(12, 28, 25, 0.68);
  color: var(--text-soft);
  font-size: 0.8rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wizard-options span::after {
  content: "";
  position: absolute;
  right: 1rem;
  width: 16px;
  height: 16px;
  border: 1px solid var(--text-dim);
  border-radius: 50%;
}

.wizard-options label:hover span {
  border-color: var(--dark-line-strong);
  color: var(--mist);
}

.wizard-options input:checked + span {
  border-color: var(--bright-teal);
  background: rgba(13, 148, 136, 0.14);
  color: var(--mist);
}

.wizard-options input:checked + span::after {
  border: 4px solid var(--bright-teal);
  background: var(--page);
}

.wizard-options input:focus-visible + span {
  outline: 2px solid var(--bright-teal);
  outline-offset: 3px;
}

.wizard-field {
  display: block;
  max-width: 760px;
}

.wizard-field input,
.wizard-field textarea {
  width: 100%;
  border: 1px solid var(--dark-line);
  border-radius: 14px;
  outline: none;
  background: rgba(12, 28, 25, 0.78);
  color: var(--mist);
  padding: 1rem 1.1rem;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wizard-field input {
  min-height: 64px;
}

.wizard-field textarea {
  min-height: 150px;
}

.wizard-field input::placeholder,
.wizard-field textarea::placeholder {
  color: #58706c;
}

.wizard-field input:focus,
.wizard-field textarea:focus {
  border-color: var(--bright-teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.08);
}

.wizard-step.was-validated input:invalid,
.wizard-step.was-validated textarea:invalid {
  border-color: #c97a68;
}

.wizard-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 660px;
  margin-top: 1rem;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.wizard-consent input {
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--mid-teal);
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.wizard-back {
  margin-right: auto;
}

.wizard-note {
  margin: 1.15rem 0 0;
  color: var(--text-dim);
  font-size: 0.62rem;
  text-align: right;
}

.wizard-note i {
  color: var(--bright-teal);
  font-style: normal;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 10vw, 150px);
}

.faq-intro {
  align-self: start;
}

.faq-intro h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
}

.faq-intro > p:last-child {
  max-width: 36ch;
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.faq-intro a {
  color: var(--pale-mint);
  border-bottom: 1px solid var(--dark-line-strong);
}

.faq {
  max-width: none;
  border-top: 1px solid var(--dark-line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.55rem 0;
  cursor: pointer;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  list-style: none;
}

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

.faq summary i {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  color: var(--bright-teal);
  font-style: normal;
  font-weight: 300;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq details[open] summary i {
  border-color: var(--dark-line-strong);
  transform: rotate(45deg);
}

.faq details p {
  max-width: 66ch;
  margin: -0.4rem 0 1.6rem;
  padding-right: 3rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.final {
  position: relative;
  display: grid;
  min-height: 690px;
  padding: 100px 24px;
  overflow: hidden;
  border-block: 1px solid var(--dark-line);
  background:
    radial-gradient(circle at 50% 50%, rgba(19, 78, 74, 0.28), transparent 34rem),
    #06100f;
}

.final-grid {
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.final-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.final h2 {
  margin-top: 1.6rem;
  font-size: clamp(3.4rem, 7vw, 7.2rem);
}

.final p {
  max-width: 52ch;
  margin: 1.6rem auto 2rem;
  color: var(--text-soft);
}

.final .btn-secondary {
  backdrop-filter: blur(10px);
}

.foot {
  padding: clamp(52px, 7vw, 90px) max(24px, calc((100% - 1180px) / 2));
  border-top: 0;
  background: #040807;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.foot-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  padding-bottom: 3.5rem;
}

.foot-brand .brand {
  margin-bottom: 1rem;
}

.foot-brand .brand svg {
  width: 34px;
}

.foot-brand > p {
  max-width: 34ch;
  margin: 0;
}

.foot-nav {
  display: flex;
  gap: clamp(3rem, 8vw, 7rem);
}

.foot-nav > div {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 100px;
}

.foot-nav span {
  margin-bottom: 0.5rem;
  color: var(--pale-mint);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.foot-nav a {
  transition: color 0.2s ease;
}

.foot-nav a:hover {
  color: var(--mist);
}

.foot-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 1.4rem;
  border-top: 1px solid var(--dark-line);
  font-size: 0.65rem;
}

.foot-bottom > span:last-child {
  justify-self: end;
}

.foot-signal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}

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

.magnetic {
  will-change: transform;
}

@keyframes signal {
  50% { opacity: 0.48; box-shadow: 0 0 0 7px rgba(45, 212, 191, 0), 0 0 18px rgba(45, 212, 191, 0.2); }
}

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

@keyframes flowLine {
  to { stroke-dashoffset: -48; }
}

@keyframes breathe {
  50% { opacity: 0.28; transform: scale(1.05); }
}

@keyframes bars {
  to { height: 35%; opacity: 0.48; }
}

@keyframes scrollCue {
  0% { transform: translateY(0); }
  100% { transform: translateY(200%); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes wizardIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

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

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero h1 {
    max-width: 11ch;
  }

  .system-stage {
    width: min(100%, 720px);
    max-width: 100%;
    margin-inline: auto;
  }

  .scroll-cue {
    display: none;
  }

  .capability {
    grid-template-columns: 40px 90px minmax(240px, 1fr) 0.8fr 40px;
    gap: 20px;
  }

  .protocol-inner {
    gap: 60px;
  }
}

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

  .top {
    grid-template-columns: 1fr auto;
    height: 70px;
    padding-inline: 18px;
  }

  .top .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-bar {
    display: none;
  }

  .nav-bar.is-open {
    position: absolute;
    top: 62px;
    right: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem;
    border: 1px solid var(--dark-line-strong);
    border-radius: 16px;
    background: rgba(7, 17, 16, 0.97);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .nav-bar a {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

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

  .proof-metrics article:nth-child(3) {
    border-left: 1px solid var(--dark-line);
  }

  .proof-metrics article {
    min-height: 145px;
  }

  .tool-marquee {
    grid-template-columns: 1fr;
  }

  .marquee-label {
    justify-content: flex-start;
    height: 54px;
    padding-inline: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .section-heading,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

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

  .chaos-side,
  .flow-side {
    min-height: 360px;
  }

  .transform-arrow {
    min-height: 70px;
    border-block: 1px solid var(--dark-line);
    border-inline: 0;
  }

  .transform-arrow i {
    display: none;
  }

  .capability {
    grid-template-columns: 36px 74px 1fr 34px;
    min-height: 170px;
  }

  .cap-icon {
    width: 70px;
    height: 70px;
  }

  .capability ul {
    display: none;
  }

  .protocol-inner {
    grid-template-columns: 1fr;
  }

  .protocol-intro {
    position: static;
  }

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

  .example-wide {
    grid-column: auto;
  }

  .faq-wrap {
    gap: 50px;
  }

  .foot-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 0.96rem;
  }

  .section-shell {
    padding-block: 82px;
  }

  .hero {
    padding: 105px 0 50px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 12.5vw, 4rem);
  }

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

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

  .hero-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-stage {
    min-height: 480px;
    border-radius: 20px;
  }

  .flow-ui {
    height: 330px;
  }

  .input-stack {
    top: 34px;
    bottom: 34px;
  }

  .output-stack {
    top: 30px;
    bottom: 30px;
  }

  .source-chip {
    grid-template-columns: 26px 1fr;
    width: 82px;
    min-height: 44px;
    padding: 0.4rem;
  }

  .source-chip > span {
    width: 25px;
    height: 25px;
  }

  .source-chip > i {
    display: none;
  }

  .output-chip {
    grid-template-columns: 6px 1fr;
    width: 112px;
    min-height: 52px;
  }

  .output-chip > span {
    display: none;
  }

  .output-chip small {
    font-size: 0.47rem;
  }

  .output-chip strong {
    font-size: 0.52rem;
  }

  .core-node {
    left: 46%;
    width: 72px;
    height: 72px;
  }

  .core-logo {
    width: 34px;
  }

  .core-rings i:nth-child(2),
  .core-rings i:nth-child(3) {
    display: none;
  }

  .flow-lines {
    inset-inline: 38px;
    width: calc(100% - 76px);
  }

  .stage-footer {
    height: 65px;
  }

  .pulse-chart {
    display: none;
  }

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

  .proof-metrics article,
  .proof-metrics article:nth-child(3) {
    min-height: 125px;
    padding: 1.7rem 1.5rem;
    border-left: 1px solid var(--dark-line);
  }

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

  .section-heading h2,
  .protocol-intro h2,
  .fit-intro h2,
  .faq-intro h2 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .transformation {
    border-radius: 18px;
  }

  .flow-lanes > div {
    gap: 0.3rem;
  }

  .flow-lanes span,
  .flow-lanes b,
  .flow-lanes strong {
    padding: 0.45rem 0.35rem;
    font-size: 0.42rem;
  }

  .capability {
    grid-template-columns: 30px 1fr 34px;
    gap: 12px;
    padding-block: 1.5rem;
  }

  .cap-icon {
    display: none;
  }

  .cap-copy h3 {
    font-size: 1.35rem;
  }

  .cap-copy p {
    font-size: 0.75rem;
  }

  .protocol-steps::before {
    left: 29px;
  }

  .protocol-steps li {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .step-orb {
    width: 60px;
    height: 60px;
  }

  .example-card {
    min-height: 350px;
    border-radius: 18px;
  }

  .mini-flow {
    align-items: stretch;
    flex-direction: column;
  }

  .mini-flow i {
    width: 1px;
    height: 12px;
    margin-left: 1.2rem;
  }

  .fit-scan {
    min-height: 580px;
    border-radius: 20px;
  }

  .fit-intro,
  .fit-wizard {
    min-height: 580px;
  }

  .fit-intro {
    padding: 2rem 1.4rem;
  }

  .fit-wizard {
    padding: 1.4rem;
  }

  .wizard-progress {
    margin-bottom: 2.2rem;
  }

  .wizard-step legend {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .wizard-options {
    grid-template-columns: 1fr;
  }

  .wizard-options span {
    min-height: 52px;
  }

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

  .wizard-actions .btn {
    width: 100%;
  }

  .wizard-back {
    margin: 0;
    padding: 0.7rem;
  }

  .wizard-note {
    text-align: left;
  }

  .final {
    min-height: 620px;
  }

  .final h2 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .foot-main {
    gap: 2.5rem;
  }

  .foot-nav {
    gap: 2rem;
  }

  .foot-bottom {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .foot-bottom > span:last-child {
    justify-self: start;
  }
}

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

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

/* ==========================================================================
   Merge pass v11 — commercial clarity from the reference, MergeFlows identity
   ========================================================================== */

.section-shell {
  padding-block: clamp(76px, 8vw, 116px);
}

.hero {
  min-height: 780px;
  padding-block: 124px 72px;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(44px, 6vw, 82px);
}

.hero h1 {
  max-width: 11.5ch;
  font-size: clamp(3.6rem, 6vw, 6.1rem);
  line-height: 0.96;
}

.hero-sub {
  max-width: 50ch;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.status-pill i,
.marquee-label i,
.foot-signal i {
  animation: none;
}

.approval-board {
  position: relative;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid rgba(153, 246, 228, 0.2);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(19, 78, 74, 0.22), rgba(7, 17, 16, 0.94));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.045);
}

.approval-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.35rem 1rem;
}

.approval-head div {
  display: grid;
  gap: 0.18rem;
}

.approval-head span {
  color: var(--bright-teal);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.approval-head strong {
  color: var(--mist);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.approval-head > i {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--dark-line-strong);
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--pale-mint);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
}

.approval-list {
  display: grid;
  gap: 0.65rem;
}

.approval-list article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 82px;
  padding: 0.85rem;
  border: 1px solid var(--dark-line);
  border-radius: 13px;
  background: rgba(240, 253, 250, 0.035);
}

.approval-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--pale-mint);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
}

.approval-list article > div {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.approval-list strong {
  overflow: hidden;
  color: var(--mist);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.approval-list small {
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.approval-list b {
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 8px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--pale-mint);
  font-size: 0.62rem;
}

.approval-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.35rem 0.15rem;
  color: var(--text-dim);
  font-size: 0.68rem;
}

.approval-foot i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bright-teal);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.5);
}

.proof-metrics article {
  min-height: 142px;
  padding: 2rem 1.7rem;
}

.proof-metrics strong {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.story {
  padding-bottom: clamp(70px, 7vw, 100px);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.problem-grid article {
  min-height: 245px;
  padding: clamp(1.5rem, 2.8vw, 2rem);
  border: 1px solid var(--dark-line);
  border-radius: 18px;
  background: rgba(9, 22, 20, 0.58);
}

.problem-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  border-radius: 11px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--bright-teal);
  font-family: var(--display);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
}

.problem-grid h3,
.consequence h3,
.audience-card h3 {
  color: var(--mist);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.problem-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.problem-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.consequence {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 4.3rem);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.52), rgba(9, 22, 20, 0.8));
}

.consequence-copy .eyebrow {
  margin-bottom: 1.4rem;
}

.consequence h3 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.consequence-list {
  display: grid;
}

.consequence-list article {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--dark-line);
}

.consequence-list article:last-child {
  border-bottom: 1px solid var(--dark-line);
}

.consequence-list strong {
  color: var(--mist);
  font-size: 0.94rem;
}

.consequence-list span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.capabilities {
  padding-top: 18px;
}

.cap-icon *,
.step-orb i {
  animation: none !important;
}

.capability,
.example-card {
  transition: border-color 0.2s ease, background 0.2s ease;
}

.capability:hover,
.example-card:hover {
  transform: none;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 22px;
  background: rgba(9, 22, 20, 0.48);
}

.audience-card {
  min-height: 390px;
  padding: clamp(1.7rem, 4vw, 3.2rem);
}

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

.audience-card > span {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--bright-teal);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audience-card h3 {
  max-width: 15ch;
  margin: 0 0 2rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

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

.audience-card li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.8rem;
  border-top: 1px solid var(--dark-line);
  color: var(--text-soft);
  font-size: 0.86rem;
}

.audience-card li::before {
  position: absolute;
  left: 0;
  color: var(--bright-teal);
  font-weight: 800;
  content: "✓";
}

.audience-no {
  background: rgba(5, 10, 10, 0.35);
}

.audience-no > span,
.audience-no h3,
.audience-no li {
  color: var(--text-dim);
}

.audience-no li::before {
  color: #81908d;
  content: "×";
}

.final {
  min-height: 580px;
  padding-block: 80px;
}

[data-reveal] {
  transform: translateY(14px);
  transition-duration: 0.55s;
}

.magnetic {
  will-change: auto;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .approval-board {
    width: min(100%, 720px);
  }
}

@media (max-width: 820px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid article {
    min-height: 0;
  }

  .consequence,
  .audience-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .approval-board {
    padding: 0.75rem;
    border-radius: 16px;
  }

  .approval-head {
    padding: 0.45rem 0.25rem 0.85rem;
  }

  .approval-list article {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 74px;
    padding: 0.7rem;
  }

  .approval-icon {
    width: 34px;
    height: 34px;
  }

  .approval-list b {
    display: none;
  }

  .approval-foot {
    align-items: flex-start;
  }

  .consequence {
    padding: 1.6rem;
  }

  .audience-card {
    min-height: 0;
    padding: 1.6rem;
  }
}
