/* =================================================================
   Prown landing — styles.css
   Editorial-typographic. Light primary, deep-bg peak anchors.
   Brand orange #FF5800 as singular accent.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  --brand: #FF5800;
  --brand-strong: #E64D00;
  --brand-tint: #FFF5F0;

  --deep: #1A1A26;
  --deep-mid: #2D2D3D;
  --deep-soft: #3D3E4F;

  --n50: #FAFAFA;
  --n100: #F4F4F4;
  --n200: #E5E5E5;
  --n300: #D4D4D4;
  --n500: #989898;
  --n600: #666666;
  --n700: #464646;
  --n900: #1A1F2E;

  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo-ish */

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --container: 1200px;
  --container-wide: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Red Hat Display', system-ui, sans-serif;
  font-feature-settings: "ss01", "ss02";
  font-weight: 400;
  color: var(--n900);
  background: var(--n50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

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

/* ---------- Type primitives ---------- */
.mono-label,
.case-eyebrow,
.mono-label-now {
  font-family: 'Red Hat Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n600);
}

.mono-label-now {
  color: var(--brand-strong);
}

.chip-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--n600);
  opacity: 0.55;
  flex-shrink: 0;
}
.chip-line-light { background: rgba(255,255,255,0.55); }

.text-brand { color: var(--brand); }

.section-eyebrow,
.hero-eyebrow,
.peak-eyebrow,
.finalcta-eyebrow,
.case-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Red Hat Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n600);
}

.peak-eyebrow,
.finalcta-eyebrow { color: rgba(255,255,255,0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 200ms var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-md { padding: 12px 20px; font-size: 15px; }
.btn-lg { padding: 16px 24px; font-size: 16px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 rgba(255,88,0,0);
}
.btn-primary:hover {
  background: var(--brand-strong);
  box-shadow: 0 12px 32px -8px rgba(255,88,0,0.45), 0 0 28px rgba(255,88,0,0.18);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--n900);
  border-color: var(--n300);
}
.btn-ghost:hover {
  border-color: var(--n700);
  background: rgba(0,0,0,0.02);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost-light:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  transition: all 280ms var(--ease);
  background: transparent;
}
.nav.is-scrolled {
  background: rgba(250,250,250,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--n200);
}
.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--n900);
}
.nav-logo-mark {
  color: var(--brand);
  font-weight: 900;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--n600);
  transition: color 160ms var(--ease);
}
.nav-links a:hover { color: var(--n900); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============================================================ */
/* 1. HERO                                                       */
/* ============================================================ */
.hero {
  position: relative;
  padding: 56px 32px 96px;
  background: var(--n50);
}
.hero-grid {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(48px, 7.2vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin: 0 0 28px;
  color: var(--n900);
}
.hero-title-accent {
  color: var(--n600);
  font-weight: 800;
}

.hero-sub {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--n700);
  max-width: 52ch;
  margin: 0 0 36px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-image-wrap {
  position: relative;
}
.hero-image-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--n200);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.92);
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,26,38,0) 55%, rgba(26,26,38,0.35) 100%),
    radial-gradient(120% 80% at 100% 0%, rgba(255,88,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-image-caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-image-frame { aspect-ratio: 16 / 10; }
}

/* ============================================================ */
/* 2. PEAK CLAIM                                                 */
/* ============================================================ */
.peak {
  background: var(--deep);
  color: rgba(255,255,255,0.95);
  padding: clamp(96px, 14vw, 200px) 32px;
  position: relative;
  overflow: hidden;
}
.peak::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.peak::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255,88,0,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.peak-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.peak-eyebrow {
  margin-bottom: 40px;
}
.peak-claim {
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 48px;
  max-width: 18ch;
}
.peak-claim-accent {
  color: var(--brand);
  display: inline-block;
  margin-top: 0.1em;
  font-weight: 700;
}
.peak-detail {
  max-width: 56ch;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.peak-detail p {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 20px);
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}

/* ============================================================ */
/* SECTION SCAFFOLD                                              */
/* ============================================================ */
.section-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 140px) 32px 56px;
}
.section-eyebrow { margin-bottom: 24px; }
.section-title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 800;
  margin: 0;
  color: var(--n900);
  max-width: 22ch;
}

/* ============================================================ */
/* 3. MECHANISM                                                  */
/* ============================================================ */
.mechanism {
  background: linear-gradient(180deg, var(--n50) 0%, var(--n100) 100%);
  padding-bottom: clamp(96px, 12vw, 140px);
  overflow: hidden;
}
.mech-track {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  scroll-snap-type: x proximity;
}
.mech-frame {
  background: #fff;
  border: 1px solid var(--n200);
  border-radius: var(--r-xl);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.mech-frame:hover {
  border-color: rgba(255,88,0,0.35);
  transform: translateY(-2px);
}
.mech-frame-num {
  font-family: 'Red Hat Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
}
.mech-frame-num span::before {
  content: "STEP · ";
  color: var(--n500);
}
.mech-frame-title {
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0;
  color: var(--n900);
}
.mech-frame-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--n700);
  margin: 0;
  max-width: 38ch;
}
.mech-visual {
  margin-top: 16px;
  padding: 28px 16px;
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  min-height: 260px;
  position: relative;
}

@media (max-width: 1024px) {
  .mech-track { grid-template-columns: 1fr; gap: 32px; }
}

/* ----- Frame 1: Capture method visual ----- */
.mech-visual-capture {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.capture-input,
.capture-output {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}
.capture-page {
  background: #fff;
  border: 1px solid var(--n300);
  border-radius: 4px;
  padding: 16px 12px;
  width: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 16px -8px rgba(26,26,38,0.18);
}
.capture-page-back {
  position: absolute;
  top: -8px;
  left: -8px;
  transform: rotate(-3deg);
  z-index: -1;
  opacity: 0.55;
}
.capture-line {
  height: 6px;
  background: var(--n200);
  border-radius: 2px;
}
.capture-line.w-full { width: 100%; }
.capture-line.w-5\/6 { width: 83%; }
.capture-line.w-4\/5 { width: 80%; }
.capture-line.w-3\/4 { width: 75%; }
.capture-line.w-2\/3 { width: 66%; }
.capture-line.w-3\/5 { width: 60%; }
.capture-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.artifact-card {
  background: var(--deep);
  border-radius: var(--r-md);
  padding: 14px 16px;
  width: 100%;
  font-family: 'Red Hat Mono', monospace;
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.artifact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.artifact-key { color: var(--brand); }
.artifact-val { color: rgba(255,255,255,0.72); }
.artifact-row-cursor .artifact-key::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 11px;
  background: var(--brand);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1.1s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.capture-label {
  font-size: 10px !important;
  color: var(--n500) !important;
}

/* Explicit positions on a 100px radius around center.
   0deg = 3 o'clock; positive Y = down. */
.run-legend-item /* ----- Frame 3: Output destinations visual ----- */
.mech-visual-output {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 28px;
  align-items: center;
  min-height: 280px;
  padding: 24px 16px;
  position: relative;
}
.output-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.output-source-core {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--deep);
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  position: relative;
}
.output-source-core::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(255,88,0,0.3);
}
.output-flow {
  display: flex;
  gap: 6px;
}
.flow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.4;
  animation: flowPulse 1.6s ease-in-out infinite;
}
.flow-dot:nth-child(2) { animation-delay: 0.2s; }
.flow-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes flowPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}
.output-destinations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.output-dest {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--n200);
  border-radius: var(--r-md);
  transition: border-color 200ms var(--ease);
}
.output-dest:hover { border-color: var(--n300); }
.output-dest-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.output-dest-letter {
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}
.output-dest-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--n900);
}
.output-dest-type {
  font-size: 9.5px !important;
  color: var(--n500) !important;
}

@media (max-width: 1024px) {
  .mech-visual-output {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .output-source { flex-direction: row; justify-content: center; }
}

/* ============================================================ */
/* 4. BOTTLENECK                                                 */
/* ============================================================ */
.bottleneck {
  background: var(--n50);
}
.bottleneck-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 140px) 32px;
}
.bottleneck-title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 800;
  margin: 24px 0 40px;
  max-width: 18ch;
  color: var(--n900);
}
.bottleneck-body {
  max-width: 58ch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 56px;
}
.bottleneck-body p {
  margin: 0;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.6;
  color: var(--n700);
}
.bottleneck-body-em {
  color: var(--n900) !important;
  font-weight: 500;
  border-left: none;
  padding-top: 8px;
}

.ba-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--n200);
}
.ba-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--n200);
}
.ba-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ba-then p { color: var(--n600); }
.ba-now p { color: var(--n900); }
.ba-side p {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.ba-now p strong { color: var(--brand); font-weight: 800; }
.ba-then p strong { font-weight: 700; color: var(--n700); }
.ba-marker {
  font-size: 10px !important;
}
.ba-marker-now { color: var(--brand-strong) !important; }
.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .ba-row { grid-template-columns: 1fr; gap: 12px; }
  .ba-arrow { transform: rotate(90deg); margin: 4px auto; }
}

/* ============================================================ */
/* 5. CASES                                                      */
/* ============================================================ */
.cases {
  background: linear-gradient(180deg, var(--n100) 0%, var(--n50) 100%);
  padding-bottom: clamp(96px, 12vw, 140px);
}
.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 96px);
}
.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.case .case-text { grid-column: 1; grid-row: 1; }
.case .case-visual { grid-column: 2; grid-row: 1; }
.case-reverse .case-text { grid-column: 2; grid-row: 1; }
.case-reverse .case-visual { grid-column: 1; grid-row: 1; }

.case-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.case-eyebrow-divider { color: var(--n300); }
.case-eyebrow-link {
  color: var(--brand-strong) !important;
  text-decoration: underline;
  text-decoration-color: rgba(255,88,0,0.4);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.case-title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 24px;
  color: var(--n900);
  max-width: 22ch;
}

.case-dl {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
}
.case-dl dt {
  font-family: 'Red Hat Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n500);
}
.case-dl dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--n700);
}

.case-then-now {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid var(--n200);
  font-size: 14.5px;
  color: var(--n700);
}
.case-then-now .mono-label { align-self: center; }
.case-then-now span:nth-child(2n+2) { font-weight: 500; }
.case-then-now span:last-child { color: var(--n900); font-weight: 600; }

.case-visual {
  position: relative;
}
.case-output {
  background: #fff;
  border: 1px solid var(--n200);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(26,26,38,0.04),
    0 8px 24px -8px rgba(26,26,38,0.12),
    0 24px 48px -16px rgba(26,26,38,0.10);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.case-output:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 2px rgba(26,26,38,0.04),
    0 12px 32px -8px rgba(26,26,38,0.16),
    0 32px 56px -16px rgba(26,26,38,0.14);
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--n200);
  background: var(--n50);
}
.case-image {
  width: 100%;
  display: block;
}

/* Opportunities mock */
.case-output-opportunities .opps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
}
.opp {
  border: 1px solid var(--n200);
  border-radius: var(--r-md);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--n50);
}
.opp-num {
  font-family: 'Red Hat Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
}
.opp-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--n900);
}
.opp-meta {
  font-family: 'Red Hat Mono', monospace;
  font-size: 10.5px;
  color: var(--n500);
  letter-spacing: 0.04em;
}
.opp-1 { border-color: rgba(255,88,0,0.4); background: rgba(255,88,0,0.04); }
/* Lead mock (CRM) */
.lead-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 2px;
}
.lead-co { color: var(--n600); font-weight: 500; }
.lead-role {
  margin-bottom: 18px;
  font-size: 10.5px !important;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--n200);
  margin-bottom: 18px;
}
.lead-grid p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--n700);
  line-height: 1.4;
}
/* Blueprint mock */
.case-output-blueprint .blueprint {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bp-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 36px;
}
.bp-lane {
  font-size: 10px !important;
}
.bp-cells {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.bp-cell {
  height: 26px;
  border-radius: 4px;
  background: var(--n100);
  border: 1px solid var(--n200);
}
.bp-cell-mark {
  background: rgba(255,88,0,0.10);
  border-color: rgba(255,88,0,0.35);
}
.bp-row-line {
  grid-template-columns: 1fr;
  min-height: 22px;
  border-top: 1px dashed var(--n300);
  position: relative;
}
.bp-line-label {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 8px;
  font-size: 9px !important;
  color: var(--n500) !important;
  letter-spacing: 0.08em !important;
}

/* Psych Curve mock */
.case-output-curve {
  padding-bottom: 0;
}
.curve-svg {
  width: 100%;
  height: auto;
  display: block;
  padding: 12px 20px 20px;
}

@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; gap: 32px; }
  .case-reverse { direction: ltr; }
  .case-dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================ */
/* 6. ANTI (What we're not)                                      */
/* ============================================================ */
.anti {
  background: var(--n50);
  padding: clamp(96px, 12vw, 140px) 32px;
}
.anti-inner {
  max-width: 880px;
  margin: 0 auto;
}
.anti-title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 800;
  margin: 24px 0 48px;
  color: var(--n900);
}
.anti-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--n200);
  padding-top: 24px;
}
.anti-list li {
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--n900);
  padding: 12px 0;
  border-bottom: 1px solid var(--n200);
}
.anti-close {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--n700);
  margin: 0;
  max-width: 60ch;
}

/* ============================================================ */
/* 7. HOW WE WORK                                                */
/* ============================================================ */
.howwe {
  background: linear-gradient(180deg, var(--n100) 0%, var(--n50) 100%);
  padding-bottom: clamp(96px, 12vw, 140px);
}
.howwe-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.howwe-narrative {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.howwe-narrative p {
  margin: 0;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--n700);
}
.howwe-em {
  color: var(--n900) !important;
  font-weight: 600 !important;
  padding-top: 16px;
  border-top: 1px solid var(--n200);
  margin-top: 12px !important;
}

.howwe-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.howwe-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,88,0,0.4) 0%, rgba(255,88,0,0.1) 100%);
}
.howwe-timeline li {
  padding: 18px 0 18px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--n200);
}
.howwe-timeline li:last-child { border-bottom: none; }
.howwe-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
}
.tl-week {
  font-size: 10.5px !important;
}
.tl-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--n900);
  letter-spacing: -0.01em;
}
.tl-body {
  font-size: 14px;
  color: var(--n700);
  line-height: 1.5;
}

@media (max-width: 880px) {
  .howwe-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================ */
/* 8. WHY US                                                     */
/* ============================================================ */
.whyus {
  background: var(--n50);
  padding: clamp(96px, 12vw, 140px) 32px;
}
.whyus-inner {
  max-width: 920px;
  margin: 0 auto;
}
.whyus-title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 800;
  margin: 24px 0 32px;
  color: var(--n900);
}
.whyus-body {
  max-width: 56ch;
  margin-bottom: 56px;
}
.whyus-body p {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--n700);
}

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.team-member {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  transition: all 220ms var(--ease);
  text-decoration: none;
  color: inherit;
}
.team-member:hover {
  border-color: rgba(255,88,0,0.3);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -12px rgba(26,26,38,0.18);
}
.team-member img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}
.team-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--n900);
  letter-spacing: -0.01em;
}
.team-role {
  font-size: 10.5px !important;
}
.team-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-strong);
  margin-top: 4px;
}

.whyus-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--n900);
  text-decoration: underline;
  text-decoration-color: rgba(255,88,0,0.5);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
  transition: color 180ms var(--ease);
}
.whyus-link:hover { color: var(--brand-strong); }

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

/* ============================================================ */
/* 9. COMMUNITY                                                  */
/* ============================================================ */
.community {
  background: var(--brand-tint);
  padding: clamp(80px, 10vw, 120px) 32px;
  position: relative;
  overflow: hidden;
}
.community-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.community-title {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 20px 0 24px;
  color: var(--n900);
  max-width: 18ch;
}
.community-body {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--n700);
  margin: 0 0 16px;
  max-width: 55ch;
}
.community-cap {
  margin: 0 0 28px;
  font-size: 10.5px !important;
  color: var(--brand-strong) !important;
}

.community-visual {
  position: relative;
  min-height: 280px;
}
.cf-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transform: rotate(-2deg);
  padding: 16px;
}
.cf-method {
  display: inline-block;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--n200);
  border-radius: var(--r-md);
  font-family: 'Red Hat Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--n700);
  letter-spacing: -0.005em;
  box-shadow: 0 4px 12px -4px rgba(26,26,38,0.08);
}
.cf-method:nth-child(1) { transform: translateX(0); }
.cf-method:nth-child(2) { transform: translateX(36px); }
.cf-method:nth-child(3) { transform: translateX(12px); }
.cf-method:nth-child(4) { transform: translateX(48px); }
.cf-method:nth-child(5) { transform: translateX(20px); }
.cf-method:nth-child(6) { transform: translateX(40px); }
.cf-method-yours {
  background: var(--brand);
  color: #fff !important;
  border-color: var(--brand);
  transform: translateX(28px) !important;
  font-weight: 700;
}

@media (max-width: 880px) {
  .community-grid { grid-template-columns: 1fr; gap: 32px; }
  .community-visual { display: none; }
}

/* ============================================================ */
/* 10. FAQ                                                       */
/* ============================================================ */
.faq {
  background: linear-gradient(180deg, var(--n50) 0%, var(--n100) 100%);
  padding-bottom: clamp(96px, 12vw, 140px);
}
.faq-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 64px;
}
.faq-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-group-title {
  margin: 0 0 16px;
  font-size: 11px !important;
}
.faq-item {
  border-top: 1px solid var(--n200);
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--n200); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  position: relative;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--n900);
  letter-spacing: -0.005em;
  line-height: 1.4;
  transition: color 160ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--n500);
  border-bottom: 2px solid var(--n500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms var(--ease), border-color 160ms var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--brand);
}
.faq-item:hover summary { color: var(--brand-strong); }
.faq-answer {
  padding: 0 32px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-answer p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--n700);
}
.faq-answer p strong { color: var(--n900); font-weight: 700; }
.faq-answer a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-decoration-color: rgba(255,88,0,0.4);
  text-underline-offset: 0.18em;
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================ */
/* 11. FINAL CTA                                                 */
/* ============================================================ */
.finalcta {
  background: var(--deep);
  color: rgba(255,255,255,0.95);
  padding: clamp(96px, 14vw, 180px) 32px;
  position: relative;
  overflow: hidden;
}
.finalcta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.finalcta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255,88,0,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.finalcta-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}
.finalcta-eyebrow { margin-bottom: 32px; }
.finalcta-title {
  font-size: clamp(42px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 36px;
}
.finalcta-body {
  max-width: 58ch;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.finalcta-body p {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.finalcta-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================ */
/* 12. FOOTER                                                    */
/* ============================================================ */
.footer {
  background: var(--deep);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 32px 40px;
}
.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}
.footer-brand {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.6) !important;
  font-size: 10px !important;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 160ms var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .mono-label {
  color: rgba(255,255,255,0.5) !important;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@media (max-width: 880px) {
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 28px; }
}

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================================ */
/* FIX 2026-05-11 — Frame 3 destinations overflow in narrow      */
/* mech-frame. Stack source above destinations.                  */
/* ============================================================ */
.mech-visual-output {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  min-height: 0;
  padding: 22px 18px;
}
.output-source {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.output-source-core {
  width: 56px;
  height: 56px;
  font-size: 8px;
}
.output-destinations {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}
.output-dest {
  grid-template-columns: 24px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 10px;
  padding: 10px 12px;
  min-width: 0;
}
.output-dest-mark {
  width: 24px;
  height: 24px;
  grid-row: 1 / span 2;
}
.output-dest-name {
  font-size: 12.5px;
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.output-dest-type {
  font-size: 9px !important;
  grid-column: 2;
  grid-row: 2;
  letter-spacing: 0.08em !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .output-destinations { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* ITER 2 — Frame 2: people having conversations, flow → artifact*/
/* Replaces the dot-on-orbit visual. Personas + directional flow.*/
/* ============================================================ */
.mech-visual-run-v2 {
  padding: 24px 20px 18px;
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 0;
}
.rv2-stage {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
}
.rv2-flows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.rv2-flow {
  fill: none;
  stroke-width: 0.7;
}
.rv2-flow-starting {
  stroke: var(--n300);
  stroke-dasharray: 1.5 1.8;
}
.rv2-flow-active {
  stroke: var(--brand);
  stroke-opacity: 0.8;
  stroke-dasharray: 2 1.5;
  animation: rv2FlowMove 1.6s linear infinite;
}
@keyframes rv2FlowMove { to { stroke-dashoffset: -7; } }
.rv2-flow-done {
  stroke: var(--deep);
  stroke-opacity: 0.32;
}
@media (prefers-reduced-motion: reduce) {
  .rv2-flow-active { animation: none; stroke-dasharray: none; }
}

.rv2-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow:
    0 0 0 5px var(--n50),
    0 0 0 6px rgba(26,26,38,0.05),
    0 14px 32px -10px rgba(26,26,38,0.30);
}
.rv2-hub .mono-label {
  font-size: 8px !important;
  color: rgba(255,255,255,0.9) !important;
  letter-spacing: 0.16em !important;
}

.rv2-participants {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 3;
}
.rv2-p {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 64px;
}
.rv2-p[data-pos="30"]  { left: 80.3%; top: 67.5%; }
.rv2-p[data-pos="90"]  { left: 50%;   top: 84%; }
.rv2-p[data-pos="150"] { left: 19.7%; top: 67.5%; }
.rv2-p[data-pos="210"] { left: 19.7%; top: 32.5%; }
.rv2-p[data-pos="270"] { left: 50%;   top: 16%; }
.rv2-p[data-pos="330"] { left: 80.3%; top: 32.5%; }

.rv2-person {
  width: 22px;
  height: 26px;
}
.rv2-p-active .rv2-person { color: var(--brand); }
.rv2-p-done .rv2-person { color: var(--deep); opacity: 0.65; }
.rv2-p-starting .rv2-person { color: var(--n500); }

.rv2-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  padding-top: 10px;
  border-top: 1px solid var(--n200);
  width: 100%;
}
.rv2-key-item {
  font-family: 'Red Hat Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rv2-keydot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.rv2-keydot-starting { border: 1.5px solid var(--n500); background: var(--n50); }
.rv2-keydot-active { background: var(--brand); }
.rv2-keydot-done { background: var(--deep); opacity: 0.65; }

/* ============================================================ */
/* ITER 2 — Opportunities cards: mid-market labels + expand mark */
/* ============================================================ */
.opp {
  position: relative;
  cursor: default;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.opp:hover {
  border-color: rgba(255,88,0,0.4);
  background: #fff;
}
.opp-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--n100);
  color: var(--n500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Red Hat Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  transition: all 220ms var(--ease);
}
.opp:hover .opp-expand {
  background: var(--brand);
  color: #fff;
  transform: rotate(45deg);
}
.opp-1 .opp-expand {
  background: rgba(255,255,255,0.8);
  color: var(--brand-strong);
}
.opp-1:hover .opp-expand {
  background: var(--brand);
  color: #fff;
}
.opp-label {
  padding-right: 26px;
}

/* ============================================================ */
/* ITER 3 — Hero cleanup + cases subhead + mobile fixes          */
/* ============================================================ */

/* Cases conversational subhead under section title */
.section-sub {
  margin: 16px 0 0;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--n600);
  max-width: 60ch;
}

/* Frame 2 v2 — adjust for 12 participants, summary row, no per-person ts */
.mech-visual-run-v2 {
  gap: 12px;
}
.rv2-stage { max-width: 340px; }
.rv2-p {
  width: 28px;
  margin-left: auto;
  margin-right: auto;
}
/* New 12-position grid */
.rv2-p[data-pos="0"]   { left: 85%;   top: 50%; }
.rv2-p[data-pos="30"]  { left: 80.3%; top: 67.5%; }
.rv2-p[data-pos="60"]  { left: 67.5%; top: 80.3%; }
.rv2-p[data-pos="90"]  { left: 50%;   top: 85%; }
.rv2-p[data-pos="120"] { left: 32.5%; top: 80.3%; }
.rv2-p[data-pos="150"] { left: 19.7%; top: 67.5%; }
.rv2-p[data-pos="180"] { left: 15%;   top: 50%; }
.rv2-p[data-pos="210"] { left: 19.7%; top: 32.5%; }
.rv2-p[data-pos="240"] { left: 32.5%; top: 19.7%; }
.rv2-p[data-pos="270"] { left: 50%;   top: 15%; }
.rv2-p[data-pos="300"] { left: 67.5%; top: 19.7%; }
.rv2-p[data-pos="330"] { left: 80.3%; top: 32.5%; }
.rv2-person {
  width: 20px;
  height: 24px;
}
.rv2-summary {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  border-top: 1px solid var(--n200);
  width: 100%;
}
.rv2-summary .mono-label {
  font-size: 9.5px !important;
  color: var(--n600) !important;
}
.rv2-key {
  padding-top: 4px;
  border-top: none;
}

/* Frame 3 — JSON destination tile + "and more" line */
.output-dest-json .output-dest-mark-json {
  background: var(--deep);
  border: 1px solid var(--deep-mid);
}
.output-dest-json .output-dest-letter {
  color: var(--brand);
}
.output-more {
  margin: 10px 0 0;
  padding: 0;
  font-size: 9.5px !important;
  color: var(--n500) !important;
  text-align: center;
  font-style: normal;
}

/* Case 1 — opp-1 expandable rich card */
.opps-grid {
  align-items: start;
}
.opp-expandable {
  position: relative;
  cursor: pointer;
  list-style: none;
  background: rgba(255,88,0,0.04);
  border: 1px solid rgba(255,88,0,0.4);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  transition: all 250ms var(--ease);
}
.opp-expandable summary {
  list-style: none;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  cursor: pointer;
}
.opp-expandable summary::-webkit-details-marker { display: none; }
.opp-expandable[open] {
  grid-column: 1 / -1;
  background: #fff;
  border-color: rgba(255,88,0,0.5);
  box-shadow: 0 16px 48px -16px rgba(255,88,0,0.18), 0 1px 4px rgba(26,26,38,0.05);
}
.opp-expandable[open] .opp-expand {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}
.opp-detail {
  padding: 0 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,88,0,0.18);
  padding-top: 22px;
}
.opp-detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: baseline;
}
.opp-detail-label {
  font-size: 10.5px !important;
  color: var(--n600) !important;
  letter-spacing: 0.1em !important;
}
.opp-detail p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--n700);
}
.opp-detail blockquote {
  margin: 8px 0 0;
  padding: 10px 14px;
  background: var(--n50);
  border-left: 2px solid var(--brand);
  font-size: 14px;
  line-height: 1.5;
  color: var(--n900);
  font-style: italic;
  border-radius: 0 4px 4px 0;
}
.opp-detail blockquote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 10px !important;
  color: var(--n500) !important;
}
.opp-detail-fade {
  position: relative;
  margin: 12px -24px -28px;
  padding: 36px 24px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(245,245,245,0.55) 35%, rgba(245,245,245,0.92) 100%);
  text-align: center;
  pointer-events: none;
}
.opp-detail-fade .mono-label {
  font-size: 10px !important;
  color: var(--n500) !important;
  background: var(--n50);
  padding: 4px 10px;
  border: 1px dashed var(--n300);
  border-radius: 12px;
  display: inline-block;
}
@media (max-width: 640px) {
  .opp-detail-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================ */
/* ITER 3 — Mobile fixes                                          */
/* ============================================================ */

/* Mechanism step cards: ensure centered horizontal padding on mobile */
@media (max-width: 1024px) {
  .mech-track {
    padding: 0 20px;
  }
  .mech-frame {
    margin-left: auto;
    margin-right: auto;
    max-width: 540px;
  }
}

/* Case cards: better mobile presentation */
@media (max-width: 900px) {
  .case-list { padding: 0 20px; }
  .case {
    padding: 0;
  }
  .case-text {
    padding: 0;
  }
  .case-dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--n100);
  }
  .case-dl > div:last-child { border-bottom: none; }
  .case-dl dt {
    font-size: 10px !important;
  }
  .case-dl dd {
    font-size: 15px;
  }
  .case-then-now {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .case-then-now .mono-label {
    margin-top: 6px;
  }
}

/* ============================================================ */
/* ITER 4 — Hero breathing room + mobile case stack fix         */
/* ============================================================ */

/* Hero: more side air, narrower max-width so content doesn't kiss edges */
.hero,
.hero-variant-a,
.hero-variant-c {
  padding-left: clamp(32px, 5.5vw, 80px);
  padding-right: clamp(32px, 5.5vw, 80px);
}
.hero .hero-grid,
.hero-variant-a .hero-grid {
  max-width: 1240px;
}
.hero-variant-c .hero-c-inner {
  max-width: 1240px;
}

/* Slightly cap hero title ceiling on huge viewports so it doesn't sprawl */
.hero-title {
  font-size: clamp(48px, 6.4vw, 108px);
}
.hero-variant-c .hero-title {
  font-size: clamp(48px, 7.4vw, 120px);
}

/* ============================================================ */
/* Mobile case cards: explicit vertical stack (text then visual) */
/* The desktop rules pin grid-row:1 for both, which collides     */
/* on a single-column mobile layout. Force order here.           */
/* ============================================================ */
@media (max-width: 900px) {
  .case {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case .case-text,
  .case-reverse .case-text {
    grid-column: 1;
    grid-row: 1;
  }
  .case .case-visual,
  .case-reverse .case-visual {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }
  .case-output,
  .case-output-mock,
  .case-output-image {
    width: 100%;
  }
}

/* ============================================================ */
/* ITER 5 — Hero image vertical alignment with copy             */
/* Stretch image-wrap so the photo top/bottom match the copy.   */
/* ============================================================ */
.hero .hero-grid,
.hero-variant-a .hero-grid {
  align-items: stretch;
}
.hero .hero-image-wrap,
.hero-variant-a .hero-image-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero .hero-image-frame,
.hero-variant-a .hero-image-frame {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 0;
}
.hero .hero-image,
.hero-variant-a .hero-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero .hero-image-caption,
.hero-variant-a .hero-image-caption {
  margin-top: 14px;
  flex-shrink: 0;
}

/* Mobile: revert to natural aspect so the image is reasonable height */
@media (max-width: 1024px) {
  .hero .hero-grid,
  .hero-variant-a .hero-grid {
    align-items: start;
  }
  .hero .hero-image-wrap,
  .hero-variant-a .hero-image-wrap {
    height: auto;
  }
  .hero .hero-image-frame,
  .hero-variant-a .hero-image-frame {
    flex: 0 1 auto;
    aspect-ratio: 16 / 10;
  }
}

/* ============================================================ */
/* ITER 6 — Case 2 (Qualbeat) — Stacked HubSpot + Slack cards   */
/* Two notification cards layered to communicate that Prown      */
/* drops outputs into multiple systems, and that the Slack ping  */
/* carries qualitative depth (pain, objections) from the AI      */
/* conversation, not just BANT fields.                           */
/* ============================================================ */
.case-output-leadstack {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}
.case-output-leadstack:hover {
  transform: none;
  box-shadow: none;
}
.leadstack {
  position: relative;
  min-height: 520px;
  padding: 8px 8px 16px;
}

/* Shared leadcard styles */
.leadcard {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(26,26,38,0.04),
    0 14px 38px -14px rgba(26,26,38,0.22),
    0 32px 60px -28px rgba(26,26,38,0.14);
  border: 1px solid var(--n200);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.leadcard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 12px;
  color: #fff;
}
.leadcard-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.leadcard-mark {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.leadcard-toolname {
  font-family: 'Red Hat Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.leadcard-pill {
  font-family: 'Red Hat Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 4px;
  white-space: nowrap;
}
.leadcard-time {
  font-size: 9.5px !important;
  color: rgba(255,255,255,0.75) !important;
  letter-spacing: 0.06em !important;
}
.leadcard-body {
  padding: 18px 20px;
}

/* HubSpot card — back, slightly rotated left */
.leadcard-hubspot {
  position: absolute;
  top: 0;
  left: 0;
  width: 84%;
  transform: rotate(-1.4deg);
  transform-origin: center top;
  z-index: 1;
}
.leadcard-hubspot:hover {
  transform: rotate(-0.6deg) translateY(-2px);
}

/* Slack card — front, slightly rotated right, overlapping */
.leadcard-slack {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  transform: rotate(1.8deg);
  transform-origin: center bottom;
  z-index: 2;
}
.leadcard-slack:hover {
  transform: rotate(1deg) translateY(-2px);
}

/* Slack message body */
.slack-body { padding: 16px 18px 18px; }
.slack-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.slack-avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.slack-content { flex: 1; min-width: 0; }
.slack-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.slack-author {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--n900);
}
.slack-tag {
  background: var(--n100);
  color: var(--n500) !important;
  padding: 1px 5px;
  border-radius: 2px;
  font-size: 9px !important;
  letter-spacing: 0.06em !important;
}
.slack-time {
  font-size: 10px !important;
  color: var(--n500) !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}
.slack-line {
  font-size: 13px;
  color: var(--n700);
  margin-bottom: 6px;
}
.slack-line strong { color: var(--n900); font-weight: 700; }
.slack-quote {
  margin: 8px 0;
  padding: 10px 14px;
  border-left: 2px solid var(--brand);
  background: rgba(255,88,0,0.04);
  font-style: italic;
  color: var(--n900);
  font-size: 13px;
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
}
.slack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 8px;
}
.slack-tag-item {
  font-family: 'Red Hat Mono', monospace;
  background: rgba(255,88,0,0.08);
  color: var(--brand-strong);
  padding: 3px 7px;
  border-radius: 3px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  border: 1px solid rgba(255,88,0,0.18);
}
.slack-cta {
  display: inline-block;
  margin-top: 4px;
  color: var(--brand-strong);
  font-weight: 600;
  font-size: 12.5px;
  text-decoration: underline;
  text-decoration-color: rgba(255,88,0,0.4);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}
.slack-cta:hover { color: var(--brand); }

/* Tighter lead grid for the smaller HubSpot card in the stack */
.leadcard-hubspot .lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 0;
}
.leadcard-hubspot .lead-grid p {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--n700);
}
.leadcard-hubspot .lead-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--n900);
}
.leadcard-hubspot .lead-co {
  color: var(--n600);
  font-weight: 500;
}
.leadcard-hubspot .lead-role {
  margin-bottom: 14px;
  font-size: 10px !important;
}

/* Mobile: stack vertically, no rotation, no overlap */
@media (max-width: 700px) {
  .leadstack {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }
  .leadcard-hubspot,
  .leadcard-slack {
    position: relative;
    width: 100%;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .leadcard-hubspot:hover,
  .leadcard-slack:hover {
    transform: translateY(-2px);
  }
}

/* ============================================================ */
/* ITER 7 — Case 4 (Service Blueprint) Miro-branded header      */
/* Dark text on Miro yellow. Mirrors the leadcard-bar pattern.   */
/* ============================================================ */
.case-output-blueprint {
  /* Tighten so the new header reads as continuous with the body */
  border-radius: 14px;
  overflow: hidden;
}
.leadcard-bar-miro {
  /* override default white text from .leadcard-bar */
  color: #050038;
}
.leadcard-mark-light {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(5,0,56,0.10);
}
.leadcard-bar-miro .leadcard-toolname {
  color: #050038;
}
.leadcard-pill-dark {
  color: #050038 !important;
  border-color: rgba(5,0,56,0.45) !important;
}
