/* RepWallet marketing — v2: senior B2B SaaS bar */

:root {
  --teal: #0F9B8E;
  --teal-dark: #0A6B62;
  --teal-darker: #074A44;
  --teal-soft: #E5F3F2;
  --teal-softer: #F2F9F8;
  --orange: #E87722;
  --orange-dark: #CC6412;
  --ink: #0F1115;
  --ink-soft: #1A1A1A;
  --muted: #5B6470;
  --muted-light: #9CA3AF;
  --tint: #FAFBFB;
  --tint-2: #F4F7F7;
  --tint-3: #F0F4F4;
  --line: #E5E7EB;
  --line-soft: #EEF2F2;
  --white: #FFFFFF;
  --green: #16A34A;
  --yellow: #D97706;
  --red: #DC2626;

  --shadow-card: 0 1px 2px rgba(15, 17, 21, 0.04), 0 8px 24px -12px rgba(15, 17, 21, 0.08);
  --shadow-elev: 0 1px 2px rgba(15, 17, 21, 0.04), 0 18px 40px -16px rgba(15, 17, 21, 0.12);
  --shadow-phone: 0 1px 2px rgba(15, 17, 21, 0.06), 0 30px 60px -20px rgba(10, 107, 98, 0.22), 0 14px 30px -10px rgba(15, 17, 21, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }

body {
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  font-size: 17px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Type system ===== */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
}
.eyebrow.on-dark { color: rgba(255,255,255,0.85); }
.eyebrow.on-dark::before { background: rgba(255,255,255,0.85); }

.h1 {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: clamp(48px, 7.4vw, 88px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.96;
  color: var(--ink);
  text-wrap: balance;
}
.h2 {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--ink);
  text-wrap: balance;
}
.h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.lead {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 620px;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: rgba(15, 17, 21, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: height 0.25s ease;
}
.nav.scrolled .nav-inner { height: 56px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark-dot {
  /* legacy class — replaced by .wordmark-icon */
  display: none;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 1px 2px rgba(204, 100, 18, 0.2), 0 6px 16px -6px rgba(232, 119, 34, 0.45);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal);
}
.btn-secondary:hover {
  background: var(--teal);
  color: white;
}
.btn-ghost {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ===== Hero ===== */
.hero {
  padding: 88px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(15, 155, 142, 0.12) 1.1px, transparent 1.4px);
  background-size: 32px 32px;
  background-position: 0 0;
  mask-image: linear-gradient(180deg, black 0%, black 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 55%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-sub-eyebrow {
  display: block;
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy .lead {
  margin-top: 28px;
  font-size: 19px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-fineprint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-light);
  letter-spacing: -0.005em;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13.5px;
}
.hero-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.04); }
}
.hero-device {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1600px;
}
.hero-device-secondary {
  position: absolute;
  left: -8%;
  bottom: 4%;
  width: 65%;
  transform: rotate(-8deg);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  filter: saturate(0.85);
}
.hero-device-primary {
  position: relative;
  z-index: 2;
}
.hero-blob {
  position: absolute;
  pointer-events: none;
  inset: -10% -10% -10% -10%;
  z-index: 0;
}

/* ===== Trust ===== */
.trust {
  padding: 32px 0 56px;
  border-top: 1px solid var(--line-soft);
}
.trust-caption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.trust-logo {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  background: white;
}

/* ===== Problem ===== */
.problem { padding: 130px 0 110px; }
.problem-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
.problem-claim {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: clamp(40px, 6.0vw, 64px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.problem-claim-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.problem-claim-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.problem-sub {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 420px;
  font-style: italic;
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-weight: 400;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.problem-card {
  background: var(--tint);
  border-radius: 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.problem-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.problem-art > svg { display: block; width: 100%; height: 100%; }
.problem-body {
  padding: 26px 24px 28px;
}
.problem-card h4 {
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.problem-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== Pull-quote + Stats (dark teal) ===== */
.quote-band {
  padding: 88px 0 64px;
  background: var(--teal-darker);
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: -60px;
  border-radius: 28px 28px 0 0;
}
.quote-band::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -110px;
  font-family: Georgia, 'Source Serif 4', serif;
  font-size: 460px;
  line-height: 1;
  color: white;
  opacity: 0.05;
  pointer-events: none;
  font-weight: 700;
}
.quote-band .container { position: relative; z-index: 1; }
.quote-band blockquote {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.95);
  max-width: 880px;
  text-wrap: balance;
}
.quote-band blockquote::before { content: none; }
.quote-attrib {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.005em;
  font-style: normal;
}
.quote-attrib-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 12px -4px rgba(15, 155, 142, 0.4);
}
.quote-attrib-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.quote-attrib-name {
  color: white;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.quote-attrib-detail {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}

.stats-dark {
  background: var(--teal-darker);
  color: white;
  padding: 0 0 110px;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 56px;
  position: relative;
}
/* Faint dotted baseline rule */
.stats-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.18) 0 4px, transparent 4px 10px);
  background-size: 10px 1px;
  pointer-events: none;
}
.stat-hero {
  padding-right: 64px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-hero-num {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: clamp(96px, 16vw, 220px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: white;
  font-variant-numeric: tabular-nums;
}
.stat-hero-num .currency {
  font-size: 0.42em;
  font-weight: 500;
  vertical-align: 0.35em;
  margin-right: 6px;
  color: rgba(255,255,255,0.7);
}
.stat-hero-num .dash {
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  margin: 0 0.04em;
}
.stat-hero-cap {
  margin-top: 18px;
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.005em;
  max-width: 460px;
  line-height: 1.4;
}
.stat-side {
  padding-left: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.stat-side-item {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.stat-side-item:first-child {
  padding-top: 0;
  border-top: none;
}
.stat-side-num {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: clamp(56px, 5.6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: white;
  font-variant-numeric: tabular-nums;
}
.stat-side-num .unit {
  font-size: 0.4em;
  font-weight: 500;
  margin-left: 6px;
  color: rgba(255,255,255,0.55);
}
.stat-side-cap {
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  max-width: 240px;
}
.stats-source {
  margin-top: 56px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ===== Solution ===== */
.solution { padding: 130px 0 110px; position: relative; }
.solution-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}
.solution-head .lead { font-size: 18px; max-width: 460px; }
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
/* LEFT — capability cards, replacing the simple checklist */
.cap-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cap-card {
  position: relative;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
}
.cap-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 155, 142, 0.35);
  box-shadow: 0 18px 36px -22px rgba(10, 107, 98, 0.25);
}
.cap-card-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cap-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.25;
}
.cap-card-body {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.cap-metric {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  margin-top: auto;
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cap-metric::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

/* RIGHT — hub illustration with surrounding chrome */
.hub-stage {
  position: relative;
  background: linear-gradient(180deg, var(--tint) 0%, white 100%);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 28px 24px 24px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hub-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 155, 142, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 155, 142, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.hub-stage > * { position: relative; z-index: 1; }
.hub-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hub-stage-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.hub-stage-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
}
.hub-stage-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15,155,142,0.18);
  animation: hubPulse 1.6s ease-in-out infinite;
}
@keyframes hubPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
.hub-stage-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.018em;
  margin-bottom: 18px;
}
.hub-stage-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.hub-stage-foot-item {
  text-align: left;
}
.hub-stage-foot-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hub-stage-foot-cap {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
}
/* DEPRECATED — kept for safety */
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-circle { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: white; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.check-item span { font-size: 16px; color: var(--ink); line-height: 1.45; font-weight: 500; padding-top: 1px; }

/* ===== Rejection -> Save flow ===== */
.flow {
  padding: 60px 0 130px;
  position: relative;
}
.flow-head {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
}
.flow-panel {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,17,21,0.03), 0 24px 60px -32px rgba(15,17,21,0.12);
}
/* Progress bar across the top */
.flow-progress {
  position: relative;
  height: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--tint) 0%, white 100%);
}
.flow-progress-cell {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 22px;
  gap: 10px;
}
.flow-progress-cell + .flow-progress-cell { border-left: 1px solid var(--line-soft); }
.flow-progress-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.flow-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.flow-progress-status {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.flow-progress-cell:nth-child(1) .flow-progress-status { color: #991B1B; }
.flow-progress-cell:nth-child(2) .flow-progress-status { color: #991B1B; }
.flow-progress-cell:nth-child(3) .flow-progress-status { color: #92400E; }
.flow-progress-cell:nth-child(4) .flow-progress-status { color: #166534; }
.flow-progress-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.flow-progress-cell:nth-child(2) .flow-progress-status-dot,
.flow-progress-cell:nth-child(3) .flow-progress-status-dot {
  animation: flowPulse 1.4s ease-in-out infinite;
}
@keyframes flowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
/* Filled progress underline */
.flow-progress::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg,
    #DC2626 0%,
    #DC2626 25%,
    #D97706 50%,
    #16A34A 75%,
    #16A34A 100%);
}
/* Steps grid */
.flow-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
.flow-step {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 28px 24px 32px;
  background: white;
  transition: background 0.3s;
}
.flow-step + .flow-step { border-left: 1px solid var(--line-soft); }
.flow-step:hover { background: var(--tint); }
.flow-step::before { content: none; }
.flow-step-head, .flow-marker, .flow-step-time, .flow-step-divider, .flow-step-chip { display: none; }
.flow-step-title {
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1.28;
}
.flow-step-sub {
  padding: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  border-bottom: none;
}
.flow-step-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 24px 0 0;
  background: transparent;
}
.flow-arrow { display: none; }

/* ===== The Math (comparison section) ===== */
.math {
  padding: 60px 0 110px;
}
.math-head {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
}
/* === The Math — ledger === */
.math-ledger {
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  overflow: hidden;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.02), 0 18px 40px -22px rgba(15, 17, 21, 0.10);
}
.math-ledger-head {
  display: grid;
  grid-template-columns: 64px 1fr 56px 1fr 180px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #FAFBFB 0%, white 100%);
}
.math-ledger-head > div {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light, #8a929b);
  padding: 0 28px;
}
.math-ledger-head-num { padding-left: 28px; }
.math-ledger-head-with { color: var(--teal-dark); }
.math-ledger-head-delta { text-align: right; padding-right: 28px; }

.math-ledger-row {
  display: grid;
  grid-template-columns: 64px 1fr 56px 1fr 180px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding: 32px 0;
  position: relative;
  transition: background 0.25s;
}
.math-ledger-row:hover { background: #FAFBFB; }
.math-ledger-row:first-of-type { border-top: none; }
.math-ledger-num {
  padding-left: 28px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-light, #8a929b);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.math-ledger-without, .math-ledger-with {
  padding: 0 28px;
}
.math-ledger-without {
  position: relative;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 12px,
    rgba(15, 17, 21, 0.025) 12px,
    rgba(15, 17, 21, 0.025) 13px
  );
  margin: -32px 0;
  padding-top: 32px;
  padding-bottom: 32px;
}
.math-ledger-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light, #8a929b);
  margin-bottom: 8px;
}
.math-ledger-kicker-with { color: var(--teal); }
.math-ledger-line {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 22px;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.math-ledger-line-without {
  color: var(--muted);
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: rgba(15, 17, 21, 0.25);
  text-decoration-thickness: 1.5px;
}
.math-ledger-line-with {
  color: var(--ink);
  font-weight: 600;
}
.math-ledger-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.math-ledger-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--teal-soft, rgba(15, 155, 142, 0.10));
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.math-ledger-row:hover .math-ledger-arrow {
  transform: translateX(3px);
}
.math-ledger-delta {
  padding-right: 28px;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
}
.math-ledger-delta-from {
  font-size: 14px;
  color: var(--muted-light, #8a929b);
  text-decoration: line-through;
  text-decoration-color: rgba(15, 17, 21, 0.25);
}
.math-ledger-delta-arrow {
  color: var(--teal);
  font-weight: 400;
  font-size: 13px;
}
.math-ledger-delta-to {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-dark);
}

/* Footer summary inside ledger */
.math-ledger-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--teal-darker, #07332E) 0%, var(--teal-dark) 100%);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.math-ledger-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 100% 50%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}
.math-ledger-foot-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.math-ledger-foot-value {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.math-ledger-foot-unit {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.7);
  text-transform: none;
}

/* ===== Bento Features ===== */
.bento {
  padding: 60px 0 130px;
}
.bento-head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 460px 360px;
  gap: 18px;
}
/* Hero card: cryptographic check-in */
.bento-hero {
  grid-column: span 2;
  grid-row: span 2;
  background: #FAFBFB;
}
.bento-square-1 { grid-column: span 2; background: #F4F7F7; }
.bento-square-2 { grid-column: span 1; background: #F0F4F4; grid-row: span 1; }
.bento-square-3 { grid-column: span 1; background: #F2F6F6; grid-row: span 1; }
.bento-card {
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 17, 21, 0.04);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.02), 0 4px 14px -8px rgba(15, 17, 21, 0.08);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.3s;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 20px 36px -16px rgba(15, 17, 21, 0.12);
  border-color: rgba(15, 17, 21, 0.06);
}
.bento-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--line-soft);
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.1em;
  font-size: 10.5px;
  align-self: flex-start;
}
.bento-card .eyebrow::before {
  width: 6px;
  height: 6px;
}
.bento-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 10px;
  max-width: 18ch;
}
.bento-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 38ch;
}
.bento-proof {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--teal);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.bento-art {
  flex: 1;
  position: relative;
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bento-hero h3 {
  font-size: clamp(28px, 2.6vw, 36px);
  max-width: 14ch;
}
.bento-hero p { font-size: 15.5px; max-width: 38ch; }
.bento-hero .bento-art {
  position: relative;
  flex: 1;
  margin-top: 24px;
  margin-right: -16px;
  margin-bottom: -8px;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 440px;
}
.bento-hero .bento-art > div {
  height: 100%;
  min-height: 440px;
}
/* Scale the foreground phone so it fits inside the hero card without clipping */
.bento-qr-phone {
  transform: scale(0.78);
  transform-origin: top right;
}

/* ===== SurgeonWallet card ===== */
.sw-card-wrap { padding: 60px 0 130px; }
.sw-card {
  background: var(--tint-2);
  border-radius: 28px;
  padding: 64px 72px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.sw-card h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  margin: 14px 0 18px;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 16ch;
}
.sw-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 480px;
}
.sw-link {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
}
.sw-link:hover { color: var(--teal); }

/* ===== Why Bento (3x2) ===== */
.why { padding: 110px 0; }
.why-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.why-cell {
  background: var(--tint);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.why-cell-illo {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 64px;
  height: 64px;
  opacity: 0.9;
  pointer-events: none;
}
.why-cell-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-cell h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-top: auto;
}
.why-cell p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.why-cta {
  background: var(--teal-darker);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.2s;
  position: relative;
  overflow: hidden;
}
.why-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(15, 155, 142, 0.3) 0%, transparent 50%);
  pointer-events: none;
}
.why-cta:hover { transform: translateY(-3px); }
.why-cta h4 {
  color: white;
  font-size: 24px;
  margin-top: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.why-cta p { color: rgba(255,255,255,0.7); }
.why-cta .arrow {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.why-cta-arrow-tr {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  animation: ctaArrowPulse 2.4s ease-in-out infinite;
}
@keyframes ctaArrowPulse {
  0%, 100% { transform: translate(0, 0); opacity: 0.55; }
  50% { transform: translate(4px, -4px); opacity: 1; }
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 130px 0;
  text-align: center;
}
.final-cta-inner {
  background: var(--tint-2);
  border-radius: 32px;
  padding: 100px 60px;
}
.final-cta h2 { max-width: 880px; margin: 22px auto 0; }
.final-cta .lead { margin: 24px auto 40px; text-align: center; }
.final-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: #07332E;
  color: white;
  padding: 88px 0 36px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: screen;
}
.footer .container { position: relative; z-index: 1; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  margin-bottom: 14px;
  display: block;
  letter-spacing: 0.005em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .wordmark { color: white; font-size: 20px; }
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 11px;
  transition: color 0.15s;
}
.footer-col a:hover { color: white; }
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.footer-linkedin:hover { background: rgba(255,255,255,0.06); }

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 24px;
}
.trust-pill {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.footer-bottom {
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Phone mockup ===== */
.phone-mockup {
  width: 320px;
  background: #0F1115;
  border-radius: 44px;
  padding: 9px;
  position: relative;
  box-shadow: var(--shadow-phone);
}
.phone-mockup::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 43px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}
.phone-screen {
  background: white;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #0F1115;
  border-radius: 999px;
  z-index: 10;
}
.phone-hero-tilt {
  transform: rotateY(-6deg) rotateZ(-1deg);
  transform-style: preserve-3d;
}

.feature-block .phone-mockup,
.bento-card .phone-mockup,
.flow-step .phone-mockup { width: 100%; max-width: 240px; }

/* ===== Pills / dots utilities ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.pill-green { background: #DCFCE7; color: #14532D; }
.pill-yellow { background: #FEF3C7; color: #78350F; }
.pill-red { background: #FEE2E2; color: #7F1D1D; }
.pill-teal { background: var(--teal-soft); color: var(--teal-dark); }
.pill-gray { background: #F1F5F5; color: #374151; }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot-green { background: var(--green); }
.dot-yellow { background: var(--yellow); }
.dot-red { background: var(--red); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bento-hero, .bento-square-1, .bento-square-2, .bento-square-3 {
    grid-column: span 1;
    grid-row: auto;
    min-height: 400px;
  }
  .bento-hero { grid-column: span 2; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-grid, .solution-grid, .solution-head,
  .problem-head, .flow-head, .bento-head, .why-head, .sw-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .problem-card { border-right: none; padding: 32px 0; border-bottom: 1px solid var(--line); }
  .problem-card:not(:first-child) { padding-left: 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 48px; }
  .stat-hero { padding-right: 0; border-right: none; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-side { padding-left: 0; }
  .flow-track { grid-template-columns: 1fr 1fr; }
  .flow-arrow { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .sw-card { padding: 40px 28px; }
  .final-cta-inner { padding: 60px 28px; }
}

/* ============================================================
   ROUND 3 ADDITIONS
   ============================================================ */

/* Nav scroll-compact (overrides .nav.scrolled rule above) */
.nav-compact {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: rgba(15, 17, 21, 0.07) !important;
}
.nav-compact .nav-inner { height: 56px; }

/* Hero dotted-grid backdrop */
.hero-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 155, 142, 0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-qualifier {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-light, #6b7480);
  letter-spacing: -0.005em;
}
/* Hero dual phones — sibling stack */
.hero-device {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone-stack {
  position: relative;
  width: auto;
  display: inline-block;
}
.hero-phone-fg {
  position: relative;
  z-index: 1;
}
.hero-phone-bg {
  position: absolute;
  top: 30%;
  left: 60%;
  transform: scale(0.65) rotate(8deg);
  transform-origin: top left;
  opacity: 0.6;
  filter: saturate(0.9);
  z-index: 0;
  pointer-events: none;
}

/* Eyebrow variants */
.eyebrow-orange { color: var(--orange) !important; }
.eyebrow-orange::before { background: var(--orange) !important; }
.eyebrow-orange .eyebrow-dot { display: none; } /* uses ::before already */

/* Stats — open-quote glyph + attribution */
.stats-quote-glyph {
  position: absolute;
  top: 24px;
  left: 6%;
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 280px;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  font-weight: 700;
  pointer-events: none;
  z-index: 0;
}
.stats-dark .container { position: relative; z-index: 1; }
.stats-quote {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.32;
  color: white;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
  max-width: 920px;
  margin: 0 0 28px;
  text-wrap: balance;
}
.stats-quote::before { content: none; }
.stats-attrib {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 80px;
}
.stats-attrib-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1FB5A6 0%, #0A4D47 100%);
  color: white;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 12px -4px rgba(15, 155, 142, 0.4);
}
.stats-attrib-text {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.stats-baseline {
  display: none; /* baseline already drawn via .stats-grid::after in existing styles */
}

/* The Math — match JSX classes math-thead/math-th/math-cell */

/* Bento — chip + per-card tints + phone-art layout */
.bento-card { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s; }
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(10, 77, 71, 0.25); }
.bento-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 155, 142, 0.12);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.bento-tint-1 { background: linear-gradient(180deg, #F0F9F7 0%, #E5F3F0 100%); }
.bento-tint-2 { background: linear-gradient(180deg, #FFFAF5 0%, #FCEFE2 100%); }
.bento-tint-3 { background: linear-gradient(180deg, #F4F8F7 0%, #EAF1EE 100%); }
.bento-tint-4 { background: linear-gradient(180deg, #F7F5F1 0%, #EFEBE2 100%); }
.bento-tint-2 .bento-chip { background: rgba(232, 119, 34, 0.14); color: #B85718; }
/* === Bento with-phone composition === */
.bento-with-phone {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 12px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.bento-card-copy {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.bento-card-phone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: -32px -32px -32px 0;
  overflow: hidden;
  z-index: 1;
}

/* Glow halo behind phone */
.bento-phone-glow {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background: radial-gradient(ellipse 60% 70% at 60% 55%, rgba(15, 155, 142, 0.22) 0%, rgba(15, 155, 142, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.bento-phone-glow-warm {
  background: radial-gradient(ellipse 60% 70% at 60% 55%, rgba(232, 119, 34, 0.18) 0%, rgba(232, 119, 34, 0) 70%);
}

/* Phone tilt + drop shadow */
.bento-phone-tilt {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(15, 17, 21, 0.18)) drop-shadow(0 8px 14px rgba(15, 17, 21, 0.10));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bento-phone-tilt-left {
  transform: translateY(8px) rotate(-5deg);
}
.bento-phone-tilt-right {
  transform: translateY(8px) rotate(4deg);
}
.bento-card:hover .bento-phone-tilt-left {
  transform: translateY(0) rotate(-3deg) scale(1.02);
}
.bento-card:hover .bento-phone-tilt-right {
  transform: translateY(0) rotate(2deg) scale(1.02);
}
.bento-phone-tilt > * {
  transform: scale(0.92);
  transform-origin: center;
}

/* Floating side cards */
.bento-floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(15, 17, 21, 0.05);
  box-shadow: 0 1px 2px rgba(15,17,21,0.04), 0 12px 24px -10px rgba(15,17,21,0.18);
  font-family: 'Geist', 'Inter', sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
.bento-floating-card-tl {
  top: 14%;
  left: -10%;
  animation: floatY 4s ease-in-out infinite;
}
.bento-floating-card-br {
  bottom: 16%;
  left: -8%;
  animation: floatY 4s ease-in-out infinite 0.6s;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.bento-fc-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.bento-fc-icon-warn { background: #FEF3C7; color: #92400E; }
.bento-fc-icon-good { background: #DCFCE7; color: #166534; }
.bento-fc-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.bento-fc-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
  letter-spacing: -0.005em;
}

/* Inline copy ornaments */
.bento-stat-inline {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.bento-stat-num {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--teal-dark);
  font-variant-numeric: tabular-nums;
}
.bento-stat-cap {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.bento-status-row {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bento-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.bento-status-dot-green { background: #16A34A; box-shadow: 0 0 0 2px rgba(22,163,74,0.15); }
.bento-status-dot-yellow { background: #D97706; box-shadow: 0 0 0 2px rgba(217,119,6,0.15); }
.bento-status-dot-red { background: #DC2626; box-shadow: 0 0 0 2px rgba(220,38,38,0.15); }
.bento-status-cap {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.bento-art-clip { overflow: hidden; }

/* Flow — re-enable chip + meta (override .flow-step-chip { display: none }) */
.flow-step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light, #8a929b);
  margin-bottom: 10px;
}
.flow-step-idx { color: var(--ink); opacity: 0.6; }
.flow-step-time { display: inline-block !important; font-variant-numeric: tabular-nums; }
.flow-step-chip {
  display: inline-flex !important;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.flow-step-chip-rejected { background: rgba(220, 38, 38, 0.12); color: #B91C1C; }
.flow-step-chip-detected { background: rgba(217, 119, 6, 0.14); color: #92400E; }
.flow-step-chip-autofixing { background: rgba(15, 155, 142, 0.14); color: var(--teal-dark); }
.flow-step-chip-approved { background: rgba(22, 163, 74, 0.14); color: #166534; }

/* Why — micro-illustration container */
.why-cell-micro {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.why-cell-micro svg { display: block; }
/* Pulse the existing .arrow inside .why-cta */
.why-cta .arrow {
  animation: ctaArrowPulse 2.4s ease-in-out infinite;
}

/* ===========================================================
   ROUND 4 — Partner section, headline rebalance, polish
   =========================================================== */

/* === Headline scale rebalancing === */
.h2-system {
  font-size: clamp(34px, 4.4vw, 56px) !important;
  letter-spacing: -0.022em !important;
  line-height: 1.04 !important;
}
.h2-tight {
  font-size: clamp(34px, 4.2vw, 56px) !important;
  letter-spacing: -0.025em !important;
}

/* === Lead emphasis sentence === */
.lead-emph {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* === Section rhythm tweaks === */
.stats-dark { padding-bottom: 190px !important; }
.math { padding-top: 60px !important; }
.bento .container { max-width: 1280px !important; }

/* === Bento card hover refinement (premium SaaS lift) === */
.bento-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 2px rgba(15, 17, 21, 0.04),
    0 28px 44px -16px rgba(15, 17, 21, 0.18),
    0 12px 20px -10px rgba(15, 17, 21, 0.08) !important;
}

/* === Nav: orange dot before "For Partners" === */
.nav-link-partners {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  position: relative;
}
.nav-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.18);
  flex-shrink: 0;
}

/* === Footer column labels with orange dot === */
.footer-col h5 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col h5::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(232, 119, 34, 0.18);
}

/* === Partner section — quiet B2B band === */
.partners {
  background: #FAFBFB;
  border-top: 1px solid rgba(15, 17, 21, 0.06);
  padding: 96px 0 110px;
  position: relative;
}
.partners::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(15, 155, 142, 0.04) 0%, transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(232, 119, 34, 0.025) 0%, transparent 36%);
  pointer-events: none;
}
.partners .container { position: relative; z-index: 1; }
.partners-head {
  max-width: 880px;
  margin-top: 22px;
}
.partners-h2 {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.partners-sub {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 22px;
  max-width: 720px;
  font-weight: 400;
}

.partners-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid rgba(15, 17, 21, 0.08);
  padding-top: 40px;
}
.partners-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.partners-cell-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: white;
  border: 1px solid rgba(15, 155, 142, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
}
.partners-cell-claim {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.25;
}
.partners-cell-body {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.003em;
}

/* Proof strip */
.partners-proof {
  margin-top: 56px;
  padding: 18px 22px;
  background: white;
  border: 1px solid rgba(15, 17, 21, 0.07);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.03);
}
.partners-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.003em;
}
.partners-proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* CTA pair */
.partners-cta {
  margin-top: 44px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.partners-qualifier {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted-light);
  letter-spacing: -0.005em;
}

/* Teal-outline button variant */
.btn-teal-outline {
  background: white;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal);
}
.btn-teal-outline:hover {
  background: rgba(15, 155, 142, 0.06);
  border-color: var(--teal-dark);
}

/* === Final CTA — vertical stack with qualifiers === */
.final-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.final-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.final-cta-btn {
  min-width: 280px;
}
.final-cta-qual {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* === Math ledger — animated row connector === */
.math-ledger-row {
  position: relative;
}
.math-ledger-row::after {
  content: "";
  position: absolute;
  left: 80px;
  right: 200px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(15, 155, 142, 0.45) 30%, rgba(15, 155, 142, 0.45) 70%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in .math-ledger-row::after {
  transform: scaleX(1);
}
.reveal.in .math-ledger-row:nth-child(2)::after { transition-delay: 0.10s; }
.reveal.in .math-ledger-row:nth-child(3)::after { transition-delay: 0.16s; }
.reveal.in .math-ledger-row:nth-child(4)::after { transition-delay: 0.22s; }

/* === Hero motion accent — dotted teal flow line === */
.hero-flowline {
  position: absolute;
  top: 24%;
  left: 8%;
  right: 8%;
  height: 1px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}
.hero-flowline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--teal) 0 4px, transparent 4px 10px);
  background-size: 10px 1px;
  background-repeat: repeat-x;
  background-position: left center;
}
.hero-flowline-dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 155, 142, 0.18), 0 0 12px rgba(15, 155, 142, 0.5);
  animation: flowDotMove 3.5s linear infinite;
}
@keyframes flowDotMove {
  0%   { left: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* === Custom wordmark icon (wallet + check) === */
.wordmark-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(155deg, #0F9B8E 0%, #0A4D47 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(10, 77, 71, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.wordmark-icon svg { display: block; }

/* Responsive — partners grid collapses */
@media (max-width: 900px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partners-h2 { font-size: 32px; }
  .final-cta-btn { min-width: 240px; }
}

/* ===========================================================
   ROUND 5 — Repositioning polish (B,C,D,E,F,G,H + source chip)
   =========================================================== */

/* === Polish B: Stats source chip (top-right of stats band) === */
.stats-source-chip {
  position: absolute;
  top: 28px;
  right: 6%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 2;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.stats-source-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .stats-source-chip { display: none; }
}

/* === Polish C: Bento card height balance === */
/* Hero (Check-In) wide card stays tallest;
   Vault + Pre-Screen squares match;
   Dashboard wide-short sits shorter. */
.bento-card.bento-hero { min-height: 580px; }
.bento-square-1 { min-height: 380px; }
.bento-square-2 { min-height: 380px; }
.bento-square-3 { min-height: 320px; }

/* === Polish D: Partner section geometric pattern (top-right corner) === */
.partners::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 17, 21, 0.18) 1px, transparent 1.5px);
  background-size: 18px 18px;
  background-repeat: repeat;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, black 0%, transparent 70%);
          mask-image: radial-gradient(circle at 100% 0%, black 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.partners-corner-rings {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

/* === Polish E: Stronger secondary CTA — solid teal at 80% === */
.btn-teal-solid {
  background: rgba(15, 155, 142, 0.88);
  color: white;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 2px rgba(10, 77, 71, 0.18);
}
.btn-teal-solid:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 16px -6px rgba(10, 77, 71, 0.4);
  transform: translateY(-1px);
}

/* === Polish F: Final CTA height hierarchy === */
.final-cta-btn-rep {
  height: 60px;
  font-size: 16px;
  padding: 0 32px;
  min-width: 300px;
  letter-spacing: -0.005em;
}
.final-cta-btn-partner {
  height: 48px;
  font-size: 14px;
  padding: 0 24px;
  min-width: 240px;
}

/* === Polish G: Section rhythm — extra space around the why-bento === */
.partners { padding-bottom: 150px !important; }
.why { padding-top: 110px !important; }

/* === Polish H: Live pulsing dot in hero meta === */
.hero-meta-dot-live {
  background: #16A34A !important;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: liveDotPulse 1.8s ease-out infinite;
}
@keyframes liveDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ===========================================================
   ROUND 6 — Surgical fixes
   =========================================================== */

/* Fix 2: Trust bar — keep 5 across down to 1024px, tighten card content */
.trust-row { gap: 14px !important; }
.trust-logo {
  padding: 0 10px;
  height: 64px;
  white-space: nowrap;
}
.trust-logo > span {
  font-size: 13px !important;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .trust-logo { font-size: 12px; padding: 0 6px; }
  .trust-logo > span { font-size: 12px !important; gap: 6px !important; }
}

/* Fix 3: Stats source chip — repositioned clear of the quote */
.stats-dark { padding-top: 90px !important; }
.stats-source-chip {
  top: 24px !important;
  right: 32px !important;
  z-index: 3 !important;
}
.stats-quote { position: relative; z-index: 2; max-width: 860px; }
.stats-attrib { position: relative; z-index: 2; }

/* Fix 4: Problem cards — flat typographic, no images, 4-up at 1024+ */
.problem-card-flat {
  background: white !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 18px !important;
  padding: 28px 26px 30px !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  min-height: 240px;
  transition: border-color 0.2s, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s;
}
.problem-grid > .reveal { height: 100%; }
.problem-grid { align-items: stretch; }
.problem-card-flat:hover {
  border-color: rgba(15, 155, 142, 0.35) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(15, 17, 21, 0.10);
}
.problem-card-flat .problem-body {
  padding: 0 !important;
}
.problem-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(15, 155, 142, 0.08);
  border: 1px solid rgba(15, 155, 142, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Force 4-up layout at 1024px and above (overrides inherited collapse) */
@media (min-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 18px !important; }
}
@media (min-width: 821px) and (max-width: 1023px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

