/* ─────────────────────────────────────────────────
   Motionode homepage — light, product-strategic theme
───────────────────────────────────────────────── */
:root {
  --bg: #F6F7F3;
  --bg-alt: #EEF2EE;
  --bg-tint: #F0F4F1;
  --surface: #FFFFFF;
  --surface-soft: #F9FAF7;
  --text: #1D2421;
  --text-2: #58615D;
  --text-3: #7A847F;
  --border: #D9E0DB;
  --border-strong: #C5CFC8;
  --accent: #3FA97A;
  --accent-soft: #79D9A3;
  --accent-bg: #DDF5E7;
  --accent-dark: #20342E;
  --navy: #2A3A45;
  --shadow-sm: 0 1px 2px rgba(29, 36, 33, 0.04);
  --shadow-md: 0 8px 28px rgba(29, 36, 33, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
  --max-wide: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}
.wrap--wide {
  max-width: var(--max-wide);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.r1 { transition-delay: 0.05s; }
.r2 { transition-delay: 0.12s; }
.r3 { transition-delay: 0.2s; }
.r4 { transition-delay: 0.28s; }
.r5 { transition-delay: 0.36s; }
.r6 { transition-delay: 0.44s; }

/* ── Typography ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-bg);
  border: 1px solid rgba(63, 169, 122, 0.22);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  margin-bottom: 1rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.sh {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
}
.sub {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  color: var(--text-2);
  line-height: 1.65;
  margin-top: 0.85rem;
  max-width: 38rem;
}
.sub--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head {
  max-width: 40rem;
}
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head--center .sub {
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.btn-p,
.btn-s {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.82rem 1.45rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-p {
  background: var(--accent-dark);
  color: #fff;
  border: 1px solid var(--accent-dark);
}
.btn-p:hover {
  background: #162822;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-s {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-s:hover {
  border-color: var(--border-strong);
  background: var(--surface-soft);
  transform: translateY(-1px);
}
.btn-p--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1f18;
}
.btn-p--accent:hover {
  background: #48b885;
}

/* ── Graphic placeholders ── */
.gph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 244, 241, 0.9)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(217, 224, 219, 0.35) 10px,
      rgba(217, 224, 219, 0.35) 11px
    );
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gph::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(217, 224, 219, 0.7);
  pointer-events: none;
}
.gph-label {
  position: relative;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  max-width: 28rem;
  line-height: 1.45;
}
.gph-hint {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-3);
  max-width: 28rem;
  line-height: 1.5;
}
.gph--tall { min-height: 360px; }
.gph--hero { min-height: clamp(300px, 42vw, 440px); }
.gph--side { min-height: 100%; min-height: 320px; }

/* Real graphics swapped in for placeholders */
.visual-frame {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.visual-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.visual-frame--hero {
  width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}
.visual-frame--hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}
.visual-frame--diagram {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.visual-frame--diagram img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.visual-frame--screenshot {
  box-shadow: var(--shadow-md);
}
.visual-frame--screenshot img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  background: rgba(246, 247, 243, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 26px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(32, 52, 46, 0.04);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.btn-nav-ghost {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.15s;
}
.btn-nav-ghost:hover { color: var(--text); }
.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  transition: background 0.15s, transform 0.15s;
}
.btn-nav-primary:hover {
  background: #162822;
  transform: translateY(-1px);
}

.nav-mob-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.48rem;
  cursor: pointer;
  margin-left: 0.25rem;
}
.nav-mob-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-mob-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mob-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-mob-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mob-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 98;
  background: rgba(246, 247, 243, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: 1rem 1.35rem 1.5rem;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-mob-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mob-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid rgba(217, 224, 219, 0.7);
}
.nav-mob-link:hover { color: var(--text); }
.nav-mob-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
}
.nav-mob-cta-ghost,
.nav-mob-cta-primary {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 999px;
}
.nav-mob-cta-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
}
.nav-mob-cta-primary {
  color: #fff;
  background: var(--accent-dark);
}

/* ── Sections ── */
.section {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--tint {
  background: var(--bg-tint);
}
.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Hero ── */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(221, 245, 231, 0.55), transparent 60%),
    var(--bg);
}
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 2.75rem);
}
.hero-intro {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}
.hero-intro .eyebrow {
  margin-bottom: 0.9rem;
}
.hero-h {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text);
  max-width: 24ch;
  margin: 0 auto;
}
.hero-line {
  display: block;
}
.hero-intro .hero-sub {
  margin-top: 1.15rem;
  max-width: 38rem;
  font-weight: 500;
  color: var(--text);
}
.hero-lead {
  margin: 0.85rem auto 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  color: var(--text-2);
  line-height: 1.65;
}
.hero-visual {
  width: 100%;
  max-width: 1100px;
  margin: 0.85rem 0 0;
}
.hero-below {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding-top: 0;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 36rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.hero-ctas--center {
  margin-top: 1.75rem;
}
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* Hero story visual */
.hero-story {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}
.hero-story-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-story-col--center {
  justify-content: center;
}
.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.story-card--mo {
  background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
  border-color: rgba(63, 169, 122, 0.35);
  box-shadow: var(--shadow-md);
  height: 100%;
}
.story-role {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.story-quote,
.story-text {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.5;
}
.story-quote {
  color: var(--text);
  font-weight: 500;
}
.story-text--strong {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.story-pipeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.story-pipeline li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-3);
  font-weight: 500;
}
.story-pipeline li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
}
.story-pipeline li.done {
  color: var(--text-2);
}
.story-pipeline li.done::before {
  content: "✓";
  width: auto;
  height: auto;
  border: none;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}
.story-pipeline li.active {
  color: var(--text);
  font-weight: 600;
}
.story-pipeline li.active::before {
  content: "●";
  width: auto;
  height: auto;
  border: none;
  font-size: 0.65rem;
  color: var(--accent);
}
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  box-shadow: var(--shadow-sm);
}
.proof-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Category / what it is ── */
.cmp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.cmp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cmp-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.cmp-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cmp-body {
  font-size: 0.98rem;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.cmp-bridge {
  margin-top: 1.15rem;
  background: var(--accent-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.55rem 1.7rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.cmp-bridge-t {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.cmp-bridge-s {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}
.category-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin-top: 2.4rem;
  counter-reset: step;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.35rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  counter-increment: step;
}
.step-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.step-num::before {
  content: "0" counter(step);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.step-body {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.5;
}
.how-visual {
  margin-top: 1.5rem;
}

/* ── Existing software ── */
.existing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  margin-top: 2.2rem;
}
.existing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.existing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.45;
}
.existing-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Mo coordinates ── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.cap-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.55rem;
}
.cap-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.cap-body {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.55;
}
.collab-band {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.15rem;
  align-items: stretch;
}
.collab-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem;
  box-shadow: var(--shadow-sm);
}
.collab-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.collab-actors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.actor-pill {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-bg);
  border: 1px solid rgba(63, 169, 122, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

/* ── Outcomes ── */
.out-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.out-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.out-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.out-body {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ── Use cases ── */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.uc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.uc-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.uc-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.uc-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.uc-body {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.uc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-dark);
  transition: gap 0.15s;
}
.uc-link:hover { gap: 0.5rem; }
.uc-link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ── Compare ── */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.compare-vs {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 0.55rem;
}
.compare-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.compare-point {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 0.55rem;
}
.compare-point strong {
  color: var(--text);
  font-weight: 600;
}
.compare-link {
  display: inline-flex;
  margin-top: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.compare-link:hover { text-decoration: underline; }

/* ── Shared feature cards ── */
.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}
.feature-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.feature-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.feature-body {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.55;
}
.section-foot {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-2);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.section-foot--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.section-statement {
  margin-top: 2rem;
  text-align: center;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--text);
}

/* ── Branching how-it-works ── */
.branch-flow {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.branch-start {
  display: flex;
  justify-content: center;
}
.branch-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
}
.branch-split {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}
.branch-split::before {
  content: "";
  position: absolute;
  top: -0.9rem;
  left: 16%;
  right: 16%;
  height: 1px;
  background: var(--border-strong);
}
.branch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.branch-card::before {
  content: "";
  position: absolute;
  top: -0.9rem;
  left: 50%;
  width: 1px;
  height: 0.9rem;
  background: var(--border-strong);
}
.branch-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.55rem;
}
.branch-path {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.branch-example {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.5;
  font-style: italic;
}

/* ── Human fallback panel ── */
.fallback-panel {
  margin-top: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.fallback-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.fallback-msg {
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}
.fallback-msg p {
  font-size: 0.98rem;
  color: var(--text-2);
  line-height: 1.55;
}
.fallback-msg--client {
  background: #fff;
}
.fallback-msg--mo {
  border-color: rgba(63, 169, 122, 0.28);
  background: var(--accent-bg);
}
.fallback-msg--pm {
  background: #fff;
  border-color: var(--border-strong);
}
.fallback-escalate {
  border: 1px dashed rgba(63, 169, 122, 0.4);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  background: rgba(221, 245, 231, 0.35);
}
.fallback-escalate-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
  margin-bottom: 0.7rem;
}
.fallback-included {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1rem;
}
.fallback-included li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.4;
}
.fallback-included li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.fallback-statement {
  text-align: center;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-top: 0.35rem;
}

/* ── Mini pipelines ── */
.mini-pipelines {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.mini-pipe {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 1rem;
  align-items: center;
}
.mini-pipe-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mini-pipe-path {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.5;
  font-weight: 500;
}

/* ── Point list (existing software) ── */
.point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.45;
}
.point-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.visual-frame img {
  width: 100%;
  height: auto;
}
.existing-grid {
  margin-top: 0;
}

/* ── Advante flow ── */
.advante-flow {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.advante-node {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.advante-node--accent {
  border-color: rgba(63, 169, 122, 0.35);
  background: linear-gradient(180deg, #fff, var(--accent-bg));
}
.advante-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.55rem;
}
.advante-node ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.advante-node li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.advante-arrow {
  color: var(--text-3);
  font-size: 1.1rem;
  line-height: 1;
}
.dark-statement {
  margin-top: 2rem;
  background: var(--accent-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  text-align: center;
}
.dark-statement p {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
  max-width: 36rem;
  margin: 0 auto;
}

/* ── Hypothesis metrics ── */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.55rem 1.45rem;
  box-shadow: var(--shadow-sm);
}
.metric-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.metric-body {
  font-size: 0.98rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ── Where it fits ── */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.fit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.fit-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.45rem;
}
.fit-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.7rem;
}
.fit-body {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 0.55rem;
}
.fit-body:last-child {
  margin-bottom: 0;
}

/* ── Agency comparison ── */
.compare-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.4rem;
}
.compare-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.compare-col--accent {
  border-color: rgba(63, 169, 122, 0.35);
  background: linear-gradient(180deg, #fff, var(--accent-bg));
}
.compare-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}
.compare-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  counter-reset: cmp;
}
.compare-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.45;
  counter-increment: cmp;
}
.compare-steps li::before {
  content: counter(cmp);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  min-width: 1.2rem;
  margin-top: 0.15rem;
}

/* ── Screenshot frames ──
   Each frame keeps its screenshot's aspect ratio. Until the image is added it
   holds a dashed placeholder (.shot-ph); swap .shot-ph for an <img>. */
.shot {
  width: 100%;
  margin: 2.4rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.shot--hero {
  flex-shrink: 0;
  width: min(calc(100vw - 2.5rem), 1400px, 168vh);
  max-width: none;
  aspect-ratio: 2940 / 1654;
  margin: 0;
  border: 1px solid rgba(29, 36, 33, 0.14);
  box-shadow: 0 30px 70px -22px rgba(32, 52, 46, 0.32), 0 0 0 6px rgba(255, 255, 255, 0.7);
}
.shot--5x3 { aspect-ratio: 5 / 3; }
.shot--16x9 { max-width: 1100px; aspect-ratio: 16 / 9; }
.shot--24x13 { aspect-ratio: 24 / 13; margin-top: 1.25rem; }
.shot:has(.shot-ph) {
  background: var(--surface-soft);
  border: 1.5px dashed var(--border-strong);
  box-shadow: none;
}
.shot-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
}
.shot-ph-dims {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.shot-ph-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}
.shot-ph-hint {
  font-size: 0.9rem;
  color: var(--text-3);
  max-width: 32rem;
  line-height: 1.5;
}

.hero-intro .hero-lead { margin-top: 1.2rem; }

/* ── Split layouts (copy + media) ── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}
.split--wide-media {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
}
.shot--wide {
  aspect-ratio: 2209 / 907;
  border-color: rgba(29, 36, 33, 0.14);
  box-shadow: 0 22px 50px -20px rgba(32, 52, 46, 0.28);
}
.split--agency {
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.82fr);
}
.shot--workflow {
  aspect-ratio: 2097 / 1458;
  border-color: rgba(29, 36, 33, 0.14);
}
.split-copy .sub { margin-top: 0.9rem; }
.split .shot.split-media { margin: 0; }

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1.9rem;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.benefit-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-dark);
  background: var(--accent-bg);
  border: 1px solid rgba(63, 169, 122, 0.25);
}
.benefit-list strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.benefit-list span:not(.benefit-icon) {
  display: block;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.5;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.6rem;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.97rem;
  color: var(--text-2);
  line-height: 1.5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.check-list strong { color: var(--text); font-weight: 700; }

/* ── How it works: flow diagram ── */
.flow {
  margin-top: 2.8rem;
}
.flow-start {
  display: flex;
  justify-content: center;
  padding-bottom: 1.8rem;
  position: relative;
}
.flow-start::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 1.8rem;
  background: var(--border-strong);
}
.flow-start-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
}
.flow-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
  padding-top: 1.4rem;
}
.flow-lanes::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--border-strong);
}
.flow-lane {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-lane::before {
  content: "";
  position: absolute;
  top: -1.4rem;
  left: 50%;
  width: 1px;
  height: 1.4rem;
  background: var(--border-strong);
}
.flow-lane-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding: 0 0.5rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.flow-eg {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  padding: 0.08rem 0.5rem;
}
.flow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 15rem;
}
.flow-steps li {
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  box-shadow: var(--shadow-sm);
}
.flow-steps li + li::before {
  content: "";
  position: absolute;
  top: -0.56rem;
  left: 50%;
  width: 1px;
  height: 0.55rem;
  background: var(--border-strong);
}
.flow-steps .flow-end {
  color: var(--accent-dark);
  background: var(--accent-bg);
  border-color: rgba(63, 169, 122, 0.35);
}
.flow-steps .flow-end--human {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

/* ── Dark section (human fallback) ── */
.section--dark {
  background:
    radial-gradient(ellipse 60% 70% at 85% 40%, rgba(121, 217, 163, 0.1), transparent 70%),
    var(--accent-dark);
  color: #fff;
}
.section--dark .sh { color: #fff; }
.section--dark .sub { color: rgba(255, 255, 255, 0.72); }
.split--fallback {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.dark-pull {
  margin-top: 1.8rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-soft);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--accent-soft);
}
.dark-fine {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}
.handoff {
  display: flex;
  flex-direction: column;
}
.stage {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem 1.15rem;
}
.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.15rem;
}
.stage-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stage-scope {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
}
.stage--private {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.stage--private .stage-scope {
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.stage--internal {
  background: rgba(0, 0, 0, 0.22);
  border: 1px dashed rgba(121, 217, 163, 0.5);
}
.stage--internal .stage-name { color: var(--accent-soft); }
.stage--internal .stage-scope {
  color: var(--accent-dark);
  background: var(--accent-soft);
}
.stage--team {
  background: var(--surface);
  color: var(--text);
}
.stage--team .stage-scope {
  color: var(--accent-dark);
  background: var(--accent-bg);
}
.stage-link {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.85rem 0;
}
.stage-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(121, 217, 163, 0.55);
}
.stage-link--optional::before { border-left-style: dashed; }
.stage-link span {
  position: relative;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: var(--accent-dark);
  border: 1px solid rgba(121, 217, 163, 0.35);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
}
.handoff-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.handoff-choice {
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.88);
}
.handoff-choice--on {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--accent-dark);
}
.handoff-msg {
  max-width: 88%;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
}
.handoff-msg p {
  font-size: 1.02rem;
  line-height: 1.5;
}
.handoff-who {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}
.handoff-msg--client {
  align-self: flex-end;
  background: #fff;
  color: var(--text);
}
.handoff-msg--mo {
  background: rgba(121, 217, 163, 0.14);
  border: 1px solid rgba(121, 217, 163, 0.25);
  color: #fff;
}
.handoff-msg--mo .handoff-who { color: var(--accent-soft); opacity: 1; }
.handoff-msg--team {
  background: var(--bg-alt);
  color: var(--text);
  border-left: 3px solid var(--accent);
}
.handoff-msg--team .handoff-who { color: var(--accent-dark); opacity: 1; }
.handoff-included {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1rem;
}
.handoff-included li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.handoff-included li::before {
  content: "✓ ";
  color: var(--accent-soft);
  font-weight: 700;
}

/* ── Agency: layered screenshots + tools ── */
.agency-media {
  position: relative;
  padding-bottom: 26%;
}
.agency-media .shot { margin: 0; }
.agency-media .shot--crop {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 50%;
  border: 1px solid var(--border-strong);
  box-shadow: 0 26px 54px -14px rgba(29, 36, 33, 0.42), 0 0 0 5px rgba(255, 255, 255, 0.9);
}
.agency-media .shot--crop:has(.shot-ph) {
  background: var(--surface);
  box-shadow: 0 18px 44px -12px rgba(29, 36, 33, 0.22);
}
.shot-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.tools {
  margin-top: 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.tools-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.tools-body {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.55;
}
.tool-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.tool-chips li {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.38rem 0.75rem;
}
.tool-chips li:last-child {
  color: var(--accent-dark);
  background: var(--accent-bg);
  border-color: rgba(63, 169, 122, 0.3);
}
.shot--crop {
  margin: 0;
  aspect-ratio: 1113 / 855;
  border-radius: var(--radius);
}

/* ── Specialists: compact map ── */
.spec-map {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.spec-node {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  min-width: 9.5rem;
}
.spec-node-k {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.spec-node-v {
  font-size: 0.88rem;
  opacity: 0.78;
}
.spec-node--mo {
  background: var(--accent-dark);
  color: #fff;
}
.spec-node--team {
  background: var(--surface);
  border: 1.5px solid var(--accent-dark);
  color: var(--text);
}
.spec-link {
  flex: 0 0 2.25rem;
  height: 1px;
  background: var(--border-strong);
}
.spec-chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(9.5rem, 1fr));
  gap: 0.6rem;
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.spec-chips li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
}
.spec-chips li > div {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.bot {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.bot--node {
  width: 44px;
  height: 44px;
  margin-bottom: 0.4rem;
}
.bot--pill {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}
.bot--who {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 0.35rem;
  vertical-align: -3px;
}
.spec-chips strong {
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.spec-chips span {
  font-size: 0.88rem;
  color: var(--text-2);
}

/* ── Pilot: editorial ── */
#pilot.section {
  padding: clamp(3.5rem, 6.2vw, 5rem) 0;
}
.pilot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 2px solid var(--text);
}
.pilot-head .sh { max-width: 16ch; }
.pilot-body p {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 38rem;
}
.pilot-body p + p { margin-top: 1rem; }
.pilot-body strong { color: var(--text); }

/* ── Legal pages ── */
.legal-page {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 8vw, 6rem);
}
.legal-page h1 {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
}
.legal-page .legal-updated {
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-3);
}
.legal-page .legal-lead {
  margin: 1.5rem 0 0.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  color: var(--text-2);
  line-height: 1.65;
}
.legal-page h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal-page p,
.legal-page ul {
  font-size: 0.98rem;
  color: var(--text-2);
  line-height: 1.7;
}
.legal-page p { margin-bottom: 0.75rem; }
.legal-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.4rem;
}
.legal-page li { margin-bottom: 0.35rem; }
.legal-page li::marker { color: var(--accent); }
.legal-page a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(63, 169, 122, 0.45);
  text-underline-offset: 3px;
}
.legal-page a:hover { text-decoration-color: var(--accent); }
.footer-link[aria-current="page"] { color: var(--text); font-weight: 600; }

/* ── Simple footer ── */
.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}

/* ── Workspace showcase ── */
.showcase-block {
  margin-top: 1.5rem;
}

/* ── CTA ── */
.cta-band {
  background: var(--accent-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(121, 217, 163, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-band .eyebrow {
  background: rgba(221, 245, 231, 0.12);
  border-color: rgba(121, 217, 163, 0.28);
  color: var(--accent-soft);
}
.cta-band .sh {
  color: #fff;
  max-width: 18ch;
  margin: 0 auto;
}
.cta-band .sub {
  color: rgba(255, 255, 255, 0.7);
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  position: relative;
}
.cta-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}
.cta-band .btn-p {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #0d1f18;
}
.cta-band .btn-p:hover {
  background: #8fe0b0;
}
.cta-band .btn-s {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.cta-band .btn-s:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.45);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.8rem;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2.2rem;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  font-size: 0.95rem;
  color: var(--text-2);
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-note {
  font-size: 0.9rem;
  color: var(--text-3);
  max-width: 42ch;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps .step-card:nth-child(4),
  .steps .step-card:nth-child(5) { grid-column: span 1; }
  .feature-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .existing-grid,
  .category-split,
  .collab-band,
  .cmp-bridge,
  .hero-story,
  .branch-split,
  .compare-two,
  .fit-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .branch-split::before,
  .branch-card::before {
    display: none;
  }
  .cmp-grid,
  .cap-grid,
  .out-grid,
  .uc-grid,
  .feature-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .gph--side { min-height: 260px; }
  .mini-pipe {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .fallback-included {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links,
  .btn-nav-ghost { display: none; }
  .nav-mob-btn { display: flex; }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cmp-grid,
  .cap-grid,
  .out-grid,
  .uc-grid,
  .steps,
  .feature-grid--3,
  .feature-grid--4 {
    grid-template-columns: 1fr;
  }
  .hero-ctas,
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-p, .btn-s { width: 100%; }
  .hero-h { max-width: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .split,
  .split--reverse,
  .split--fallback,
  .pilot {
    grid-template-columns: 1fr;
  }
  .split--reverse .split-media { order: 2; }
  .agency-media .shot--crop { right: 0; }
  .flow-start { padding-bottom: 1.5rem; }
  .flow-start::after { display: none; }
  .flow-lanes {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 0;
  }
  .flow-lanes::before,
  .flow-lane::before { display: none; }
  .flow-lane {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
  }
  .flow-lane-label { padding-bottom: 0.7rem; }
  .flow-steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 1.1rem;
    max-width: none;
  }
  .flow-steps li {
    width: auto;
    font-size: 0.88rem;
    padding: 0.42rem 0.75rem;
  }
  .flow-steps li + li::before {
    content: "→";
    top: 50%;
    left: -0.95rem;
    width: auto;
    height: auto;
    background: none;
    color: var(--text-3);
    font-weight: 400;
    transform: translateY(-50%);
  }
  .spec-map {
    flex-direction: column;
  }
  .spec-node { width: 100%; max-width: 22rem; }
  .spec-link {
    flex: 0 0 1.5rem;
    width: 1px;
    height: 1.5rem;
  }
  .spec-chips { width: 100%; max-width: 32rem; }
}
@media (max-width: 640px) {
  .shot-ph-hint { display: none; }
  .spec-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .handoff-msg { max-width: 100%; }
  .handoff-included { grid-template-columns: 1fr; }
  .agency-media { padding-bottom: 0; }
  .agency-media .shot--crop {
    position: relative;
    right: 0;
    width: 88%;
    margin: -8% 0 0 auto;
  }
  .shot-ph-label { font-size: 0.7rem; }
}
