/* VMR Valuators — Stripe-inspired design system (stripe.com/in) */

:root {
  --stripe-navy: #0a2540;
  --stripe-navy-soft: #183558;
  --stripe-text: #0a2540;
  --stripe-muted: #425466;
  --stripe-muted-light: #adbdcc;
  --stripe-purple: #635bff;
  --stripe-cyan: #00d4ff;
  --stripe-pink: #ff5acd;
  --stripe-orange: #ffb86b;
  --vmr-purple: #67308f;
  --vmr-blue: #3b5aa9;
  --bg: #fff;
  --bg-soft: #f6f9fc;
  --border: #e6ebf1;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 5px -1px rgba(50, 50, 93, 0.05), 0 1px 3px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 13px 27px -5px rgba(50, 50, 93, 0.12), 0 8px 16px -8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 30px 60px -12px rgba(50, 50, 93, 0.18), 0 18px 36px -18px rgba(0, 0, 0, 0.15);
  --shadow-ui: 0 50px 100px -20px rgba(50, 50, 93, 0.15), 0 30px 60px -30px rgba(0, 0, 0, 0.2);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1080px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

/* Hide scrollbar visually (page still scrolls normally) */
body::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }

body {
  margin: 0;
  font-family: var(--font-stripe, sohne-var, "SF Pro Display", "Inter", sans-serif);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--stripe-text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--stripe-purple); text-decoration: none; transition: color 0.15s; }
a:hover { color: #7a73ff; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ─── Animated mesh background (Stripe-style) ─── */
.mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(68px);
  will-change: transform;
  transform: translateZ(0);
}

.mesh-blob-1 {
  width: 60vw;
  height: 60vw;
  max-width: 680px;
  max-height: 680px;
  top: -22%;
  left: -12%;
  background: radial-gradient(circle, rgba(255, 80, 160, 0.70) 0%, rgba(255, 80, 160, 0.28) 45%, transparent 70%);
  opacity: 0.65;
  animation: mesh-drift-1 22s cubic-bezier(.37,.44,.62,.56) infinite;
}

.mesh-blob-2 {
  width: 52vw;
  height: 52vw;
  max-width: 600px;
  max-height: 600px;
  top: 8%;
  right: -8%;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.74) 0%, rgba(103, 48, 143, 0.34) 45%, transparent 70%);
  opacity: 0.68;
  animation: mesh-drift-2 27s cubic-bezier(.37,.44,.62,.56) infinite;
}

.mesh-blob-3 {
  width: 46vw;
  height: 46vw;
  max-width: 520px;
  max-height: 520px;
  bottom: -5%;
  left: 22%;
  background: radial-gradient(circle, rgba(0, 228, 255, 0.66) 0%, rgba(0, 188, 235, 0.28) 45%, transparent 70%);
  opacity: 0.60;
  animation: mesh-drift-3 20s cubic-bezier(.37,.44,.62,.56) infinite;
}

.mesh-blob-4 {
  width: 40vw;
  height: 40vw;
  max-width: 460px;
  max-height: 460px;
  top: 38%;
  left: 42%;
  background: radial-gradient(circle, rgba(255, 184, 48, 0.58) 0%, rgba(255, 150, 0, 0.22) 50%, transparent 68%);
  opacity: 0.50;
  animation: mesh-drift-4 25s cubic-bezier(.37,.44,.62,.56) infinite;
}

.mesh-blob-5 {
  width: 48vw;
  height: 48vw;
  max-width: 550px;
  max-height: 550px;
  top: 50%;
  left: -6%;
  background: radial-gradient(circle, rgba(134, 87, 255, 0.58) 0%, rgba(103, 48, 143, 0.24) 50%, transparent 70%);
  opacity: 0.52;
  animation: mesh-drift-5 29s cubic-bezier(.37,.44,.62,.56) infinite;
}

.mesh-blob-6 {
  width: 36vw;
  height: 36vw;
  max-width: 420px;
  max-height: 420px;
  top: -6%;
  left: 34%;
  background: radial-gradient(circle, rgba(59, 90, 169, 0.60) 0%, rgba(27, 160, 226, 0.26) 50%, transparent 68%);
  opacity: 0.50;
  animation: mesh-drift-6 19s cubic-bezier(.37,.44,.62,.56) infinite;
}

.mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 70%);
}

@keyframes mesh-drift-1 {
  0%   { transform: translate(0,   0)   scale(1);    }
  25%  { transform: translate(7%,  12%) scale(1.12); }
  50%  { transform: translate(3%,  22%) scale(0.94); }
  75%  { transform: translate(-6%, 12%) scale(1.08); }
  100% { transform: translate(0,   0)   scale(1);    }
}
@keyframes mesh-drift-2 {
  0%   { transform: translate(0,   0)   scale(1);    }
  30%  { transform: translate(-12%,10%) scale(1.10); }
  58%  { transform: translate(-5%, 22%) scale(0.92); }
  80%  { transform: translate(6%,  7%)  scale(1.05); }
  100% { transform: translate(0,   0)   scale(1);    }
}
@keyframes mesh-drift-3 {
  0%   { transform: translate(0,   0)    scale(1);    }
  35%  { transform: translate(-8%,-16%)  scale(1.14); }
  62%  { transform: translate(10%, -8%)  scale(0.90); }
  84%  { transform: translate(5%,  -4%)  scale(1.06); }
  100% { transform: translate(0,   0)    scale(1);    }
}
@keyframes mesh-drift-4 {
  0%   { transform: translate(0,   0)    scale(1);    }
  28%  { transform: translate(-14%,-10%) scale(1.16); }
  54%  { transform: translate(12%, -18%) scale(0.86); }
  78%  { transform: translate(20%, 5%)   scale(1.10); }
  100% { transform: translate(0,   0)    scale(1);    }
}
@keyframes mesh-drift-5 {
  0%   { transform: translate(0,   0)   scale(1);    }
  32%  { transform: translate(16%, -8%) scale(1.12); }
  60%  { transform: translate(23%, 8%)  scale(0.91); }
  82%  { transform: translate(10%,-12%) scale(1.06); }
  100% { transform: translate(0,   0)   scale(1);    }
}
@keyframes mesh-drift-6 {
  0%   { transform: translate(0,   0)   scale(1);    }
  38%  { transform: translate(-6%, 18%) scale(1.12); }
  66%  { transform: translate(14%, 22%) scale(0.87); }
  88%  { transform: translate(8%,  10%) scale(1.05); }
  100% { transform: translate(0,   0)   scale(1);    }
}

/* ─── Header (Stripe nav) ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-shell {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled .header-shell {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(260px, 46vw);
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}

.site-nav a {
  color: var(--stripe-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--stripe-text);
  background: rgba(10, 37, 64, 0.04);
}

.site-nav a.is-active {
  color: var(--stripe-text);
  font-weight: 600;
}

.header-signin {
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header-link {
  color: var(--stripe-text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.header-link:hover { color: var(--stripe-purple); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--stripe-text);
  border-radius: 1px;
  transition: transform 0.2s;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  font-family: var(--font-stripe, sohne-var, "SF Pro Display", "Inter", sans-serif);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-dark {
  background: var(--stripe-navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.25);
}

.btn-dark:hover {
  background: var(--stripe-navy-soft);
  color: #fff;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.3);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--stripe-text);
  box-shadow: inset 0 0 0 1px rgba(10, 37, 64, 0.12);
}

.btn-ghost-dark:hover {
  background: rgba(10, 37, 64, 0.04);
  color: var(--stripe-text);
}

.btn-outline-dark {
  background: transparent;
  color: var(--stripe-text);
  box-shadow: inset 0 0 0 1px var(--border);
}

.btn-outline-dark:hover {
  box-shadow: inset 0 0 0 1px var(--stripe-text);
  color: var(--stripe-text);
}

.btn-primary {
  background: linear-gradient(135deg, var(--stripe-purple), var(--vmr-purple));
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
}

.btn-primary:hover { color: #fff; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

.stripe-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--stripe-purple);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.stripe-link:hover { color: #7a73ff; }

/* ─── Hero ─── */
.stripe-hero {
  position: relative;
  padding: 3.5rem 0 0;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
}

.stripe-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.stripe-kicker {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stripe-muted);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.stripe-h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--stripe-text);
  margin: 0 auto 1.5rem;
  max-width: 900px;
}

.stripe-h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--stripe-text);
}

.stripe-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: var(--stripe-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.stripe-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.stripe-hero-visual {
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
  perspective: 1200px;
}

/* Dashboard mock UI */
.ui-dashboard {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ui);
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-2deg);
  transition: transform 0.4s ease;
}

.ui-dashboard:hover {
  transform: rotateX(0deg) rotateY(0deg);
}

.ui-dashboard-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1.25rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.ui-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6ebf1;
}

.ui-dot:nth-child(1) { background: #ff5f57; }
.ui-dot:nth-child(2) { background: #febc2e; }
.ui-dot:nth-child(3) { background: #28c840; }

.ui-dashboard-title {
  margin-left: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stripe-muted);
}

.ui-dashboard-body {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  padding: 0;
}

.ui-panel {
  background: #fff;
  padding: 1.5rem;
}

.ui-panel-main h3 {
  margin: 0.35rem 0 1rem;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--stripe-text);
}

.ui-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stripe-muted);
  margin: 0;
  font-weight: 600;
}

.ui-progress {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.ui-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--stripe-purple), var(--stripe-cyan));
  border-radius: 999px;
}

.ui-meta {
  font-size: 0.8125rem;
  color: var(--stripe-muted);
  margin: 0;
}

.ui-stat {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--stripe-text);
  margin: 0.35rem 0 0;
}

.ui-stat small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--stripe-muted);
}

.ui-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: #ecfdf3;
  color: #027a48;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
}

/* ─── Sections ─── */
.stripe-section {
  padding: 6rem 0;
  position: relative;
}

.stripe-section-alt { background: var(--bg); }

.stripe-section-muted {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.stripe-section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.stripe-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--stripe-text);
  margin: 0 0 1rem;
}

.stripe-h2-light { color: #fff; }

.stripe-sub {
  font-size: 1.125rem;
  color: var(--stripe-muted);
  margin: 0;
  line-height: 1.55;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ─── Bento grid (Stripe product cards) ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bento-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.bento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bento-wide {
  grid-column: span 1;
}

.bento-card-inner {
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stripe-purple);
  background: rgba(99, 91, 255, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}

.bento-card h3 {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--stripe-text);
}

.bento-card p {
  font-size: 0.9375rem;
  color: var(--stripe-muted);
  margin: 0 0 1.25rem;
  flex: 1;
}

.bento-list {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--stripe-muted);
}

.bento-mini-ui {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: var(--stripe-text);
  border-bottom: 1px solid var(--bg-soft);
}

.mini-row:last-child { border-bottom: none; }

.mini-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
}

.mini-pill.muted {
  background: #fffaeb;
  color: #b54708;
}

.mini-doc {
  font-size: 0.8125rem;
  color: var(--stripe-muted);
  margin: 0 0 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-soft);
  border-radius: 6px;
}

.mini-doc:last-child { margin-bottom: 0; }

/* ─── Dark stats (Stripe backbone) ─── */
.stripe-stats-section {
  background: var(--stripe-navy);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.stripe-stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(99, 91, 255, 0.25), transparent),
    radial-gradient(ellipse 50% 60% at 80% 0%, rgba(0, 212, 255, 0.15), transparent);
  pointer-events: none;
}

.stripe-stats-title {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.stripe-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  position: relative;
}

.stripe-stat {
  text-align: center;
}

.stripe-stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.stripe-stat-label {
  font-size: 0.9375rem;
  color: var(--stripe-muted-light);
  margin-top: 0.5rem;
}

/* ─── Case studies ─── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}

.case-card:hover { box-shadow: var(--shadow-md); }

.case-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.case-visual-banks {
  background:
    linear-gradient(135deg, rgba(99, 91, 255, 0.15), rgba(0, 212, 255, 0.1)),
    linear-gradient(45deg, var(--bg-soft) 25%, transparent 25%),
    linear-gradient(-45deg, var(--bg-soft) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--bg-soft) 75%),
    linear-gradient(-45deg, transparent 75%, var(--bg-soft) 75%);
  background-size: 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  background-position: 0 0, 0 0, 0 10px, 10px -10px, -10px 0;
}

.case-visual-corp {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 128, 181, 0.3), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(99, 91, 255, 0.25), transparent 50%),
    var(--bg-soft);
}

.case-body {
  padding: 1.75rem;
}

.case-body h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.case-body p {
  color: var(--stripe-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}

.case-metrics {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.case-metrics strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--stripe-text);
}

.case-metrics span {
  font-size: 0.8125rem;
  color: var(--stripe-muted);
}

/* ─── Quote ─── */
.stripe-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.stripe-quote blockquote {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--stripe-text);
  margin: 0 0 1.5rem;
}

.stripe-quote cite {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--stripe-muted);
}

/* ─── Logo marquee ─── */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-marquee-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.logo-marquee-track span {
  flex-shrink: 0;
  padding: 0.6rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stripe-muted);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Split / founder ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-copy .stripe-sub { margin-bottom: 1.75rem; }

.split-media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: perspective(800px) rotateY(-3deg);
  transition: transform 0.4s;
}

.split-media-frame:hover { transform: perspective(800px) rotateY(0deg); }

.split-media-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ─── Ready CTA (Stripe bottom) ─── */
.stripe-ready {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.stripe-ready-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stripe-ready .stripe-sub {
  margin-bottom: 2rem;
}

/* ─── Page hero (inner pages) ─── */
.page-hero-stripe {
  position: relative;
  padding: 5rem 0 3rem;
  overflow: hidden;
  text-align: center;
}

.page-hero-stripe .stripe-h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero-stripe .stripe-lead {
  margin-bottom: 0;
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.15s; }

/* ─── About / Services / Contact (shared) ─── */
.section { padding: 5rem 0; }
.section-dark { background: var(--stripe-navy); color: #fff; }
.section-muted { background: var(--bg-soft); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head-light h2, .section-head-light .section-lead { color: #fff; }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stripe-purple);
  margin: 0 0 0.75rem;
}

.section h2, .page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--stripe-text);
  margin: 0 0 1rem;
  font-weight: 700;
}

.section-lead, .page-lead {
  font-size: 1.125rem;
  color: var(--stripe-muted);
  margin: 0;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.role {
  color: var(--stripe-purple);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--stripe-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--stripe-purple);
  font-weight: 700;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--stripe-muted);
}

.stats-grid-inline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.stat-value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--stripe-text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--stripe-muted);
  margin-top: 0.25rem;
}

.bank-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bank-chip {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.8125rem;
}

.section:not(.section-dark) .bank-chip {
  background: #fff;
  border-color: var(--border);
  color: var(--stripe-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}

.gallery-item:hover { box-shadow: var(--shadow-md); }

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--stripe-muted);
}

/* Services page */
.service-list { display: flex; flex-direction: column; gap: 1rem; }

.service-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s;
}

.service-row:hover { box-shadow: var(--shadow-md); }

.service-time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--stripe-purple);
  background: rgba(99, 91, 255, 0.1);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.service-row h2 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.service-row p { color: var(--stripe-muted); margin: 0 0 1rem; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.tag-list li {
  font-size: 0.8125rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-soft);
  border-radius: 999px;
  color: var(--stripe-muted);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.doc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.doc-card h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.doc-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--stripe-muted);
  font-size: 0.9375rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  margin: 0 0 1.5rem;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stripe-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--stripe-text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--stripe-purple);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.contact-aside { display: flex; flex-direction: column; gap: 1rem; }

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stripe-muted);
}

.contact-card p { margin: 0; color: var(--stripe-text); }

.contact-label {
  font-size: 0.8125rem;
  color: var(--stripe-muted);
}

.contact-line-spaced { margin-top: 0.5rem; }

.footer-contact .contact-label {
  font-weight: 400;
  opacity: 0.85;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9375rem;
}

.flash {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.flash-success {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.flash-error {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

/* ─── Footer (Stripe multi-column) ─── */
.site-footer {
  background: var(--stripe-navy);
  color: var(--stripe-muted-light);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1rem 0;
  max-width: 260px;
  color: var(--stripe-muted-light);
}

.footer-credit {
  font-size: 0.75rem;
  opacity: 0.55;
}

.logo-img-footer {
  height: 40px;
  filter: brightness(1.15);
}

.site-footer h4 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.45rem; }

.site-footer a {
  color: var(--stripe-muted-light);
  font-size: 0.875rem;
  transition: color 0.15s;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0 1.75rem;
  font-size: 0.8125rem;
  color: rgba(173, 189, 204, 0.7);
}

/* ─── Responsive ─── */
.nav-mobile-only { display: none; }

@media (max-width: 960px) {
  .nav-mobile-only {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .header-actions { display: none; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .ui-dashboard-body { grid-template-columns: 1fr; }
  .case-grid,
  .split,
  .contact-grid,
  .doc-grid,
  .footer-grid,
  .gallery-grid,
  .stats-grid-inline {
    grid-template-columns: 1fr;
  }

  .site-nav { display: none; }

  .nav-toggle { display: flex; }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin-left: 0;
  }

  .site-header { position: sticky; }
  .header-inner { flex-wrap: wrap; position: relative; }

  .split-reverse { direction: ltr; }
  .split-media-frame { transform: none; }
  .ui-dashboard { transform: none; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .stripe-section { padding: 4rem 0; }
  .stripe-hero { min-height: auto; }
  .stripe-h1 { font-size: 2.25rem; }
  .case-metrics { flex-direction: column; gap: 1rem; }
  .service-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mesh-blob,
  .logo-marquee-track,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Sub-headings ─── */
.stripe-h3 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--stripe-text);
  margin: 0 0 0.75rem;
}

/* ─── Solutions page ─── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.solution-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.solution-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.solution-card .stripe-sub {
  margin-bottom: 1.25rem;
}

.solution-card .stripe-link {
  margin-top: 1rem;
  display: inline-block;
}

/* ─── Pricing page ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-card-featured {
  border-color: var(--stripe-purple);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.pricing-turnaround {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--stripe-purple);
  margin: 0 0 0.75rem;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--stripe-muted);
  flex: 1;
  margin: 0 0 1.5rem;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--stripe-muted);
  margin-top: 2rem;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.included-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.included-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--stripe-text);
}

.included-item span {
  font-size: 0.875rem;
  color: var(--stripe-muted);
}

/* ─── Resources page ─── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.resource-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  color: inherit;
}

.resource-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 91, 255, 0.3);
  transform: translateY(-2px);
  color: inherit;
}

.resource-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--stripe-text);
}

.resource-card p {
  font-size: 0.9375rem;
  color: var(--stripe-muted);
  margin: 0 0 1rem;
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
  counter-reset: step;
}

.process-steps li {
  position: relative;
  padding: 1.25rem 0 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.process-steps li strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--stripe-text);
  margin-bottom: 0.35rem;
}

.process-steps li span {
  font-size: 0.9375rem;
  color: var(--stripe-muted);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--stripe-text);
  padding: 1rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--stripe-muted);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--stripe-muted);
  line-height: 1.6;
}

/* ─── Sign in (Stripe-style) ─── */
.signin-page {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  overflow: hidden;
}

.signin-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
}

.signin-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.signin-logo img {
  height: 44px;
  width: auto;
}

.signin-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}

.signin-card h1 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--stripe-text);
}

.signin-sub {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--stripe-muted);
  margin: 0 0 1.75rem;
}

.signin-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stripe-muted);
}

.signin-form input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--stripe-text);
  background: #fff;
}

.signin-form input:focus {
  outline: none;
  border-color: var(--stripe-purple);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.signin-footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--stripe-muted);
  margin: 1.5rem 0 0;
}

.signin-footer a {
  font-weight: 500;
}

@media (max-width: 960px) {
  .solutions-grid,
  .pricing-grid,
  .resources-grid,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured { transform: none; }
}

@media (max-width: 640px) {
  .site-nav a { padding: 0.65rem 0.5rem; }
}
