/* ═══════════════════════════════════
   BLANCA MEDIA — Design System
   ═══════════════════════════════════ */
:root {
  /* Colors */
  --bg:          #070a10;
  --bg-1:        #0b0f18;
  --bg-2:        #101520;
  --surface:     #111827;
  --surface-2:   #1a2033;
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);
  --text:        #eef2ff;
  --text-2:      #b8c2dc;
  --text-muted:  #5a6580;
  --accent:      #4F8EF7;
  --accent-hi:   #7aaeff;
  --accent-lo:   #2c5fce;
  --accent-glow: rgba(79,142,247,0.4);
  --accent-dim:  rgba(79,142,247,0.1);
  --green:       #34d399;
  /* Typography */
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', 'SF Mono', ui-monospace, monospace;
  /* Fluid type */
  --t-hero:   clamp(3rem, 7vw + 1rem, 6.5rem);
  --t-h2:     clamp(2.2rem, 4vw + .5rem, 3.75rem);
  --t-h3:     clamp(1.25rem, 2vw + .2rem, 1.625rem);
  --t-body:   clamp(1rem, 1.2vw + .15rem, 1.125rem);
  --t-sm:     clamp(.8rem, .9vw, .9375rem);
  --t-xs:     clamp(.7rem, .75vw, .8125rem);
  /* Fluid space */
  --s-xs:  clamp(.5rem, .6vw, .75rem);
  --s-sm:  clamp(.75rem, 1vw, 1rem);
  --s-md:  clamp(1rem, 1.5vw, 1.5rem);
  --s-lg:  clamp(1.5rem, 2.5vw, 2.5rem);
  --s-xl:  clamp(2.5rem, 4vw, 5rem);
  --s-2xl: clamp(4rem, 7vw, 9rem);
  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;
  /* Motion */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --fast: 150ms; --base: 280ms; --slow: 480ms;
  /* Shadows */
  --shadow:       0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.6);
  --shadow-blue:  0 0 40px rgba(79,142,247,0.2), 0 0 80px rgba(79,142,247,0.08);
  --glass: rgba(10,14,22,0.65);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay — prevents flat Figma look */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
}

/* Grid background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0; opacity: 0.6;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}

h1, h2, h3 { line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

.gradient-text {
  background: linear-gradient(160deg, #fff 0%, #c8d8ff 45%, var(--accent-hi) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s-lg); position: relative; z-index: 1; }
.container-narrow { max-width: 740px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: var(--t-sm);
  padding: .85em 1.75em; border-radius: var(--r-md);
  cursor: pointer; border: none; line-height: 1; letter-spacing: -.015em;
  transition: transform var(--base) var(--spring), box-shadow var(--base) var(--ease);
  position: relative; z-index: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-hi) 0%, var(--accent) 55%, var(--accent-lo) 100%);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-dim), 0 2px 8px rgba(0,0,0,0.4);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 40px var(--accent-glow), 0 4px 20px rgba(0,0,0,0.4); }
.btn-primary:active { transform: scale(0.975); }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-xl { font-size: 1.05rem; padding: 1em 2.5em; border-radius: var(--r-lg); }
.btn-glow { animation: glow-pulse 3.5s ease-in-out infinite; }
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 24px var(--accent-dim), 0 2px 8px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 48px var(--accent-glow), 0 0 96px rgba(79,142,247,0.12), 0 2px 8px rgba(0,0,0,0.4); }
}

/* ── Cursor glow ── */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 500px; height: 500px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(79,142,247,0.035) 0%, transparent 65%);
  transform: translate(-50%,-50%); opacity: 0;
  transition: opacity var(--slow) var(--ease);
}

/* ── Nav ── */
#nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: background var(--base) var(--ease), border-color var(--base) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: var(--s-sm) var(--s-lg);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.nav-logo:hover .logo-avatar { transform: scale(1.08); }
.logo-icon { transition: transform var(--base) var(--spring); }
.logo-avatar {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(79,142,247,0.5);
  transition: transform var(--base) var(--spring), border-color var(--base) var(--ease);
  position: relative;
}
.nav-logo:hover .logo-avatar { border-color: var(--accent); }
.logo-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-avatar-fallback {
  display: none; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-lo), var(--accent-hi));
  align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; color: #fff;
}
.nav-right { display: flex; align-items: center; gap: var(--s-sm); }
.nav-link { display: none; }
.nav-cta { font-size: 0.85rem; padding: .65em 1.3em; }
/* Mobile: surface a compact Demos link beside Book Audit; shrink logo + buttons to fit */
@media (max-width:767px){
  .nav-inner { padding: var(--s-sm) var(--s-md); }
  .nav-logo span { display: none; }          /* hide wordmark, keep the logo mark */
  .logo-avatar { width: 30px; height: 30px; }
  .nav-right { gap: 6px; }
  .nav-link { display: inline-flex; }         /* show Case Studies + Demos on mobile */
  .nav-link, .nav-cta { font-size: .76rem; padding: .5em .8em; }
}
#nav.scrolled {
  background: rgba(7,10,16,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

/* ── Hero ── */
#hero { position: relative; height: 350vh; }
#hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-color: var(--bg); z-index: 0; transition: background-color 80ms linear; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-noise { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; }

.hero-content {
  position: absolute; inset: 0; z-index: 3;
  text-align: center;
  pointer-events: none;
}
.hero-phase {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-md); opacity: 0; pointer-events: none;
  transition: opacity 500ms var(--ease);
}
#phase-3 {
  align-items: center; justify-content: center;
  text-align: center;
}
#phase-3 .hero-h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 1.1;
}
.hero-phase.active { pointer-events: auto; }
#phase-0 { opacity: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid rgba(79,142,247,0.25); border-radius: var(--r-full);
  padding: .4em 1.1em; font-weight: 600;
}
.hero-h1 {
  font-size: var(--t-hero); font-weight: 900;
  color: var(--text); letter-spacing: -0.04em;
}
.hero-h2 { font-size: var(--t-h2); font-weight: 800; }
.hero-sub {
  font-size: clamp(1.1rem, 2vw + .2rem, 1.5rem);
  color: var(--text-2); max-width: 28ch; line-height: 1.5;
  font-weight: 400;
}
.hero-footnote { font-size: var(--t-xs); color: var(--text-muted); margin-top: var(--s-xs); }
#phase-3 .btn { pointer-events: auto; }
.hero-btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width:520px){ .hero-btn-row { flex-direction: column; align-items: center; } }

.hero-mobile-cta { display: none; }

/* ── Mobile hero polish: side breathing room so big text never kisses the edge ── */
@media (max-width:768px){
  .hero-phase { padding: 0 24px; }
  .hero-h1 { font-size: clamp(2.5rem, 11.5vw, 3.6rem); line-height: 1.04; }
  .hero-h2 { font-size: clamp(1.7rem, 7.6vw, 2.5rem); line-height: 1.14; }
  #phase-3 .hero-h2 { font-size: clamp(1.7rem, 7.6vw, 2.5rem); }
  .hero-sub { font-size: clamp(1rem, 4.2vw, 1.2rem); max-width: 32ch; padding: 0 6px; }
}

/* ── Sticky mobile conversion bar — always-visible Book Your Audit ── */
.mobile-cta-bar { display: none; }
@media (max-width:768px){
  .mobile-cta-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 400;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 54px; border-radius: 14px; text-decoration: none;
    font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; color: #fff;
    background: linear-gradient(135deg, var(--accent-hi) 0%, var(--accent) 55%, var(--accent-lo) 100%);
    box-shadow: 0 10px 34px rgba(79,142,247,0.5), 0 2px 10px rgba(0,0,0,0.45);
    animation: ctabar-in 600ms var(--ease) both; animation-delay: 700ms;
  }
  @keyframes ctabar-in { from { transform: translateY(90px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  body { padding-bottom: 82px; }
}

/* ── Demos try-it footer (inside Watch It Work) ── */
.demo-try { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-md); flex-wrap: wrap; margin-top: var(--s-2xl); }
.demo-try .dt-label { font-family: var(--mono); font-size: 0.95rem; color: var(--text-2); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.demo-try .live-dot2 { display:inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); margin-right: 9px; animation: glow-pulse 2s infinite; vertical-align: middle; }

.scroll-hint {
  position: absolute; bottom: var(--s-lg); left: 50%; transform: translateX(-50%);
  z-index: 4;
}
.scroll-pill {
  width: 26px; height: 44px;
  border: 1.5px solid rgba(255,255,255,0.15); border-radius: 13px;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 8px;
}
.scroll-dot {
  width: 4px; height: 8px; background: var(--accent);
  border-radius: 2px; animation: scroll-fall 2s ease-in-out infinite;
}
@keyframes scroll-fall {
  0%,100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ── Stats Bar ── */
.stats-bar { padding: var(--s-xl) 0; position: relative; z-index: 1; }
.stats-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
}
.stat-item { flex: 1; min-width: 120px; padding: var(--s-lg) var(--s-md); text-align: center; }
.stat-num {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-num.accent { color: var(--accent-hi); }
.stat-desc { font-size: var(--t-xs); color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

/* ── Marquee ── */
.marquee {
  overflow: hidden; padding: var(--s-sm) 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  position: relative; z-index: 1;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: var(--s-lg);
  white-space: nowrap; animation: marquee 30s linear infinite;
}
.marquee { pointer-events: none; }
.marquee-track span { font-size: var(--t-xs); font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.marquee-track .sep { color: var(--accent); font-size: .5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding: var(--s-2xl) 0; position: relative; z-index: 1; }
.section-header { margin-bottom: var(--s-xl); }
.eyebrow { color: var(--accent); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .2em; font-weight: 700; margin-bottom: var(--s-xs); display: inline-block; }
.section-title { font-size: var(--t-h2); max-width: 18ch; }
.accent-text { background: linear-gradient(135deg, var(--accent-hi) 0%, var(--accent) 55%, var(--accent-lo) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent-hi); }
.section-desc { color: var(--text-2); max-width: 42ch; margin-top: var(--s-sm); }

/* ── Problem — editorial big-number rows ── */
.problem-grid { display: grid; gap: 0; margin-top: var(--s-lg); }
.problem-card {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: var(--s-sm);
  padding: var(--s-xl) 0;
  border-top: 1px solid var(--border);
  transition: background var(--base) var(--ease);
}
.problem-card:last-child { border-bottom: 1px solid var(--border); }
.problem-card::before {
  content: ''; position: absolute; left: 0; top: -1px; width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--slow) var(--spring);
}
.problem-card:hover::before { width: 100%; }
.problem-icon { display: none; }
.problem-num {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1; font-family: var(--mono);
  color: transparent; -webkit-text-stroke: 1px rgba(79,142,247,0.45);
  transition: -webkit-text-stroke-color var(--base) var(--ease);
}
.problem-card:hover .problem-num { -webkit-text-stroke-color: var(--accent-hi); }
.problem-body h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin-bottom: var(--s-sm); letter-spacing: -.03em; }
.problem-body p { color: var(--text-2); line-height: 1.7; max-width: 60ch; font-size: clamp(.95rem, 1.2vw, 1.1rem); }

/* ── Demo Section ── */
.demo-section { background: linear-gradient(180deg, transparent, var(--bg-1) 15%, var(--bg-1) 85%, transparent); }
.demo-section .section-header { text-align: center; }
.demo-section .section-title { max-width: 22ch; margin: 0 auto; }
.demo-section .section-desc { max-width: 52ch; margin-left: auto; margin-right: auto; }
.demo-stage {
  display: grid; grid-template-columns: 1fr; gap: var(--s-xl);
  align-items: stretch; margin-top: var(--s-xl);
}
.demo-col { display: flex; flex-direction: column; gap: var(--s-sm); min-width: 0; }
.swipe-hint { display: none; }
/* Mobile: keep the demo trio "sideways" like desktop — horizontal swipe carousel */
@media (max-width:767px){
  .swipe-hint { display: block; text-align: center; font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hi); margin: var(--s-md) 0 var(--s-sm); }
  .demo-stage {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 16px; margin-top: var(--s-sm);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .demo-stage::-webkit-scrollbar { display: none; }
  .demo-col { flex: 0 0 87%; scroll-snap-align: center; }
}
.demo-label {
  font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-muted); font-weight: 600; text-align: center; font-family: var(--mono);
}

/* Realistic phone device */
.device {
  position: relative; max-width: 340px; width: 100%; margin: 0 auto;
  background: #0c0f16; border: 1px solid var(--border-2);
  border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,0.04), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.device-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0c0f16; border-radius: 0 0 16px 16px; z-index: 3;
}
.device-screen {
  background: var(--bg); border-radius: 30px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 460px;
}
/* Instagram-style header */
.ig-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 30px var(--s-md) var(--s-sm);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
}
.ig-back { color: var(--text-2); font-size: 1.4rem; line-height: 1; margin-right: -2px; }
.ig-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 45%, #6228d7);
  display: flex; align-items: center; justify-content: center;
  padding: 2px;
}
.ig-avatar span {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem; border: 2px solid var(--bg);
}
.ig-id { flex: 1; line-height: 1.2; }
.ig-name { font-weight: 700; font-size: .85rem; }
.ig-status { font-size: .7rem; color: var(--green); }
.ig-icons { color: var(--text-2); display: flex; }
.ig-input {
  display: flex; align-items: center; justify-content: space-between;
  margin: var(--s-sm) var(--s-md) var(--s-md);
  padding: .6em 1em; border: 1px solid var(--border-2); border-radius: var(--r-full);
  color: var(--text-muted); font-size: .8rem;
}
.ig-send { color: var(--accent-hi); display: flex; }

.chat-messages { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 300px; padding: var(--s-md); }
/* typing indicator */
.typing-bubble { display: inline-flex; align-items: center; gap: 5px; padding: .8em 1em; min-height: 0; }
.typing-bubble .td {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  opacity: .45; animation: typing-dot 1.2s infinite ease-in-out;
}
.typing-bubble .td:nth-child(2) { animation-delay: .18s; }
.typing-bubble .td:nth-child(3) { animation-delay: .36s; }
@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.msg {
  max-width: 82%; padding: .65em .95em; border-radius: 18px;
  font-size: .875rem; line-height: 1.45; opacity: 0;
  transform: translateY(10px); transition: opacity 400ms var(--ease), transform 400ms var(--spring);
  position: relative;
}
.msg.visible { opacity: 1; transform: translateY(0); }
.msg--in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--text); }
.msg--out { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-lo)); color: #fff; border-bottom-right-radius: 4px; text-align: left; }
.msg-speed { font-size: .65rem; color: rgba(255,255,255,0.55); margin-top: 4px; font-family: var(--mono); }
.booking-confirm { padding: 0; background: none; }
.booking-card {
  display: flex; align-items: center; gap: 10px;
  background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3);
  border-radius: 14px; padding: .75em 1em;
}
.booking-icon { font-size: 1.25rem; }
.booking-title { font-size: .8rem; font-weight: 700; color: var(--green); }
.booking-time { font-size: .75rem; color: var(--text-2); }

/* Live automation pipeline */
.demo-col--pipe { justify-content: flex-start; }
.pipeline {
  position: relative; flex: 1;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--s-lg) var(--s-lg) var(--s-lg) var(--s-md);
  display: flex; flex-direction: column; gap: var(--s-md);
}
.pipe-rail {
  position: absolute; left: calc(var(--s-md) + 17px); top: var(--s-lg); bottom: var(--s-lg);
  width: 2px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.pipe-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  transition: height var(--slow) var(--ease); border-radius: 2px;
}
.pipe-step {
  position: relative; display: flex; align-items: center; gap: var(--s-md);
  opacity: .38; filter: saturate(.4);
  transition: opacity var(--base) var(--ease), filter var(--base) var(--ease), transform var(--base) var(--spring);
}
.pipe-node {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: background var(--base) var(--ease), color var(--base) var(--ease), border-color var(--base) var(--ease), box-shadow var(--base) var(--ease);
}
.pipe-body { line-height: 1.3; }
.pipe-body strong { display: block; font-size: var(--t-sm); font-weight: 700; color: var(--text); }
.pipe-body span { font-size: var(--t-xs); color: var(--text-muted); font-family: var(--mono); }
.pipe-step.done { opacity: 1; filter: none; }
.pipe-step.done .pipe-node {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 18px var(--accent-glow);
}
.pipe-step.active .pipe-node { animation: pipe-pop .5s var(--spring); }
@keyframes pipe-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* Dashboard frame */
.dashboard-frame {
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 380px; margin: 0 auto; width: 100%;
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-md); border-bottom: 1px solid var(--border);
}
.dash-title { font-weight: 700; font-size: .95rem; }
.dash-live { font-size: .7rem; color: var(--green); font-family: var(--mono); font-weight: 600; }
.dash-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.dash-metric { padding: var(--s-md); text-align: center; }
.dash-metric + .dash-metric { border-left: 1px solid var(--border); }
.dash-metric-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 4px; font-family: var(--mono); }
.dash-metric-val { font-size: 1.375rem; font-weight: 900; letter-spacing: -.04em; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.dash-feed { padding: var(--s-sm) 0; }
.feed-item {
  display: flex; align-items: center; gap: var(--s-sm);
  padding: var(--s-xs) var(--s-md);
  transition: background var(--fast) var(--ease);
}
.feed-item.new-ping { background: rgba(79,142,247,0.06); }
.feed-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
.feed-dot.new { background: var(--green); box-shadow: 0 0 8px var(--green); }
.feed-content { flex: 1; }
.feed-action { display: block; font-size: .8rem; font-weight: 600; }
.feed-meta { font-size: .7rem; color: var(--text-muted); font-family: var(--mono); }
.feed-time { font-size: .7rem; color: var(--text-muted); white-space: nowrap; font-family: var(--mono); }
.dash-note { font-size: .6rem; color: var(--text-muted); text-align: center; padding: var(--s-xs) var(--s-md); border-top: 1px solid var(--border); font-family: var(--mono); }

/* ── Services ── */
.services-grid { display: grid; gap: var(--s-md); }
.services-grid--4 { grid-template-columns: 1fr; }
.services-grid--bento { grid-template-columns: 1fr; }

/* Feature card (AI Automation) — full-width hero card */
.service-card--feature {
  grid-column: 1 / -1;
  border-color: rgba(79,142,247,0.28);
  background:
    radial-gradient(ellipse 60% 120% at 0% 0%, rgba(79,142,247,0.12), transparent 60%),
    var(--surface);
}
.service-feature-inner { display: flex; flex-direction: column; gap: var(--s-lg); }
.service-feature-icon {
  width: 64px; height: 64px; border-radius: var(--r-lg); flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 32px var(--accent-glow);
}
.service-feature-text h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; margin-bottom: var(--s-sm); }
.service-feature-text p { color: var(--text-2); line-height: 1.7; max-width: 60ch; margin: 0; }
.service-feature-text .service-num { color: var(--accent-hi); font-size: var(--t-xs); -webkit-text-stroke: 0; margin-bottom: var(--s-sm); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.service-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--s-lg);
  transition: transform var(--base) var(--spring), border-color var(--base) var(--ease), box-shadow var(--base) var(--ease);
  cursor: default;
}
.service-glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(79,142,247,0.12), transparent 50%);
  opacity: 0; transition: opacity var(--base) var(--ease);
}
.service-card { padding: var(--s-xl); }
.service-card:hover { transform: translateY(-6px); border-color: rgba(79,142,247,0.3); box-shadow: var(--shadow-lg), var(--shadow-blue); }
.service-card:hover .service-glow { opacity: 1; }
.service-card:hover .service-icon { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 24px var(--accent-glow); }
.service-card--featured {
  border-color: rgba(79,142,247,0.28);
  background: linear-gradient(160deg, rgba(79,142,247,0.07), var(--surface) 55%);
}
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-lg); }
.service-icon {
  width: 54px; height: 54px; border-radius: var(--r-lg);
  background: var(--accent-dim); border: 1px solid rgba(79,142,247,0.22);
  display: flex; align-items: center; justify-content: center; color: var(--accent-hi);
  transition: background var(--base) var(--ease), color var(--base) var(--ease), border-color var(--base) var(--ease), box-shadow var(--base) var(--ease);
}
.service-num {
  font-size: 2.4rem; font-weight: 800; line-height: 1; font-family: var(--mono);
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.1);
}
.service-card h3 { font-size: var(--t-h3); margin-bottom: var(--s-sm); letter-spacing: -.02em; }
.service-card p { color: var(--text-2); margin-bottom: 0; line-height: 1.65; }
.service-features { display: flex; flex-wrap: wrap; gap: 6px; }
.service-features span {
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid rgba(79,142,247,0.2); border-radius: var(--r-full);
  padding: .25em .8em;
}

/* ── How It Works — vertical timeline ── */
.how-section { background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(79,142,247,0.035), transparent); }
.timeline { position: relative; padding-left: 0; }
.timeline-line {
  position: absolute; left: 20px; top: 0; bottom: 0; width: 2px;
  background: var(--border);
  display: none;
}
.timeline-progress {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--accent-lo));
  transition: height 60ms linear;
  border-radius: 1px;
}
.timeline-step {
  display: flex; gap: var(--s-lg); align-items: flex-start;
  padding-bottom: var(--s-xl);
  position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }
.step-node { flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.step-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background var(--base) var(--ease), border-color var(--base) var(--ease), color var(--base) var(--ease);
  position: relative; z-index: 1;
}
.timeline-step.in-view .step-dot {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}
.step-ring {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--accent-dim); transform: scale(0);
  animation: ring-pulse 2.5s ease-out infinite; opacity: 0;
  transition: opacity var(--base) var(--ease);
}
.timeline-step.in-view .step-ring { opacity: 1; }
@keyframes ring-pulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}
.step-content { padding-top: 8px; }
.step-num { font-size: var(--t-xs); font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; margin-bottom: var(--s-xs); font-family: var(--mono); }
.step-content h3 { font-size: var(--t-h3); margin-bottom: var(--s-sm); }
.step-content p { color: var(--text-2); max-width: 52ch; }
.step-tags { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-top: var(--s-md); }
.step-tags span {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .02em;
  color: var(--text-muted); display: inline-flex; align-items: center; gap: var(--s-sm);
}
.step-tags span:not(:last-child)::after {
  content: ''; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent); opacity: .5;
}

/* Mobile: steps become a sideways swipe carousel (like the demo trio) */
@media (max-width:767px){
  .timeline {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding: 0 0 16px; margin-top: var(--s-sm);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .timeline::-webkit-scrollbar { display: none; }
  .timeline-line { display: none; }
  .timeline-step {
    flex: 0 0 84%; scroll-snap-align: center;
    flex-direction: column; align-items: flex-start; gap: var(--s-md);
    padding: var(--s-lg); padding-bottom: var(--s-lg);
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
    border: 1px solid var(--border); border-radius: var(--r-lg);
  }
  .timeline-step:last-child { padding-bottom: var(--s-lg); }
  .step-content { padding-top: 0; }
  .step-content p { max-width: none; }
}

/* ── Client results / reviews ── */
.reviews-row { display: grid; grid-template-columns: 1fr; gap: var(--s-md); margin-top: var(--s-lg); }
.review-card {
  display: flex; flex-direction: column; gap: var(--s-sm); padding: var(--s-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border); border-radius: var(--r-lg);
}
.rv-stars { color: var(--accent-hi); letter-spacing: 2px; font-size: .9rem; }
.rv-stat { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; color: #fff; line-height: 1.05; }
.rv-stat span { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-hi); margin-top: 4px; font-family: var(--mono); }
.review-card blockquote { margin: 0; color: var(--text-2); font-size: var(--t-sm); line-height: 1.55; }
.review-card figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: var(--s-sm); }
.rv-name { font-weight: 700; font-size: .9rem; }
.rv-biz { font-size: .8rem; color: var(--text-muted); }
.reviews-link { text-align: center; margin-top: var(--s-xl); }
@media (min-width:768px){
  .reviews-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width:767px){
  .reviews-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 16px; margin-top: var(--s-sm);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .reviews-row::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 84%; scroll-snap-align: center; }
}

/* ── Capabilities Section ── */
.capabilities-section { background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(79,142,247,0.04), transparent); }

.cap-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2px; margin-top: var(--s-xl);
  border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden;
}
.cap-item {
  display: flex; align-items: flex-start; gap: var(--s-md);
  padding: var(--s-lg);
  background: var(--surface);
  transition: background var(--fast) var(--ease);
  border-bottom: 1px solid var(--border);
}
.cap-item:last-child { border-bottom: none; }
.cap-item:hover { background: var(--surface-2); }
.cap-item:hover .cap-icon { background: var(--accent); color: #fff; border-color: var(--accent); }
.cap-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-dim); border: 1px solid rgba(79,142,247,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-hi); flex-shrink: 0; margin-top: 2px;
  transition: background var(--base) var(--ease), color var(--base) var(--ease), border-color var(--base) var(--ease);
}
.cap-text { display: flex; flex-direction: column; gap: 4px; }
.cap-text strong { font-size: var(--t-base); font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.cap-text span { font-size: var(--t-sm); color: var(--text-muted); line-height: 1.55; }

.integrations-bar {
  margin-top: var(--s-xl); padding: var(--s-lg);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); text-align: center;
}
.integrations-label { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-hi); font-weight: 700; margin-bottom: var(--s-md); font-family: var(--mono); }
.integrations-logos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.integration-pill {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text-2); background: var(--bg-2);
  border: 1px solid var(--border-2); border-radius: var(--r-full);
  padding: .3em .9em;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.integration-pill:hover { color: var(--accent-hi); border-color: rgba(79,142,247,0.3); }

/* ── FAQ ── */
.faq-section { background: linear-gradient(180deg, transparent, var(--bg-1) 20%, var(--bg-1) 80%, transparent); }
.faq-list { display: flex; flex-direction: column; gap: var(--s-xs); margin-top: var(--s-xl); }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color var(--base) var(--ease);
}
.faq-item.open { border-color: rgba(79,142,247,0.25); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--text); font-family: var(--sans); font-size: 1rem; font-weight: 600;
  padding: var(--s-md) var(--s-lg); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-md);
  transition: color var(--fast) var(--ease);
}
.faq-q:hover { color: var(--accent-hi); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--border-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--base) var(--spring), background var(--base) var(--ease), border-color var(--base) var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent-dim); border-color: rgba(79,142,247,0.4); }
.faq-plus { width: 10px; height: 10px; position: relative; }
.faq-plus::before, .faq-plus::after {
  content: ''; position: absolute;
  background: currentColor; border-radius: 1px;
}
.faq-plus::before { width: 10px; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-plus::after { width: 1.5px; height: 10px; left: 50%; top: 0; transform: translateX(-50%); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--slow) var(--ease); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 var(--s-lg) var(--s-md); color: var(--text-2); line-height: 1.75; }

/* ── Final CTA ── */
.final-cta-section {
  position: relative; padding: var(--s-2xl) 0; text-align: center; z-index: 1;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(79,142,247,0.09), transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(46,111,214,0.06), transparent),
    linear-gradient(180deg, transparent, var(--bg-1) 50%, var(--bg-1));
}
.final-cta-inner { display: flex; flex-direction: column; align-items: center; gap: var(--s-md); max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta-badge {
  font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid rgba(79,142,247,0.22); border-radius: var(--r-full); padding: .4em 1.2em;
}
.final-cta-title { font-size: clamp(2.25rem, 5vw, 4rem); }
.final-cta-sub { color: var(--text-2); font-size: 1.1rem; max-width: 36ch; }
.cta-buttons { display: flex; flex-direction: column; gap: var(--s-sm); align-items: center; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-2);
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem;
  padding: 1em 2.5em; border-radius: var(--r-lg); cursor: pointer;
  transition: transform var(--base) var(--spring), border-color var(--base) var(--ease), background var(--base) var(--ease), color var(--base) var(--ease);
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-outline:hover { background: var(--surface-2); border-color: rgba(79,142,247,0.35); color: var(--accent-hi); transform: translateY(-2px); }
.calendly-embed {
  width: 100%; max-width: 720px; min-height: 640px;
  margin: var(--s-xl) auto 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface-1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.calendly-embed iframe { border-radius: 16px; }
@media (max-width: 600px){ .calendly-embed { min-height: 920px; } }
.cta-or { position: relative; width: 100%; max-width: 320px; text-align: center; margin-top: var(--s-xl); }
.cta-or::before, .cta-or::after {
  content: ''; position: absolute; top: 50%; width: 38%;
  height: 1px; background: var(--border);
}
.cta-or::before { left: 0; }
.cta-or::after { right: 0; }
.cta-or span { font-size: var(--t-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; font-family: var(--mono); }
.final-cta-contact {
  display: flex; align-items: center; gap: var(--s-sm);
  font-size: var(--t-sm); color: var(--text-muted); flex-wrap: wrap; justify-content: center;
}
.final-cta-contact .dot { opacity: 0.4; }
.final-cta-contact a:hover { color: var(--accent-hi); }
@media (min-width: 480px) {
  .cta-buttons { flex-direction: row; }
}

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: var(--s-xl) 0; position: relative; z-index: 1; }
.footer-inner { display: flex; flex-direction: column; gap: var(--s-md); align-items: center; text-align: center; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; letter-spacing: -.02em; }
.footer-logo-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.footer-tagline { color: var(--text-2); font-size: var(--t-sm); }
.footer-links { display: flex; gap: var(--s-sm); align-items: center; color: var(--text-muted); font-size: var(--t-sm); flex-wrap: wrap; justify-content: center; }
.footer-links a:hover { color: var(--accent-hi); }
.footer-copy { color: var(--text-muted); font-size: var(--t-xs); }

/* ── Reveal (GSAP handles, this is just default state) ── */
.reveal { opacity: 0; }

.faq-link-mini { margin-top: var(--s-md); font-size: var(--t-sm); color: var(--text-muted); text-align: center; }
.faq-link-mini a { color: var(--accent-hi); font-weight: 600; }
.faq-link-mini a:hover { text-decoration: underline; }

/* ── What We Build ── */
.build-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-md); margin-top: var(--s-xl); }
@media (min-width: 768px){ .build-grid { grid-template-columns: 1fr 1fr; gap: var(--s-lg); } }
.build-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  transition: transform var(--base) var(--ease), border-color var(--base) var(--ease), box-shadow var(--base) var(--ease);
}
.build-card:hover, .build-card:focus-visible {
  transform: translateY(-5px); border-color: var(--border-2);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45); outline: none;
}
.build-num {
  position: absolute; top: 0.1em; right: 0.18em; z-index: -1;
  font-family: var(--mono); font-weight: 700; line-height: 1;
  font-size: clamp(5rem, 11vw, 8.5rem); letter-spacing: -0.04em;
  color: var(--accent); opacity: 0.08; transition: opacity var(--base) var(--ease);
  pointer-events: none; user-select: none;
}
.build-card:hover .build-num, .build-card:focus-visible .build-num { opacity: 0.14; }
.build-bar {
  position: absolute; left: 0; top: 0; width: 3px; height: 28px;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent-lo));
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: height var(--slow) var(--spring);
}
.build-card:hover .build-bar, .build-card:focus-visible .build-bar { height: 100%; }
.build-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--accent-dim); color: var(--accent-hi);
  border: 1px solid rgba(79,142,247,0.18); margin-bottom: var(--s-md);
}
.build-kicker {
  font-family: var(--mono); font-size: var(--t-xs); text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent-hi); margin-bottom: 6px;
}
.build-card h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 var(--s-sm); }
.build-card p { color: var(--text-2); font-size: var(--t-sm); line-height: 1.6; max-width: 42ch; margin: 0; }

.integrations-strip {
  display: flex; align-items: center; gap: var(--s-md); flex-wrap: wrap;
  justify-content: center; margin-top: var(--s-lg); padding-top: var(--s-lg);
  border-top: 1px solid var(--border);
}
.integrations-strip-label {
  font-family: var(--mono); font-size: var(--t-xs); text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-muted); white-space: nowrap;
}
.integrations-strip .integrations-logos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ── Statement band ── */
.statement-section { text-align: center; }
.statement .eyebrow { justify-content: center; margin-bottom: var(--s-md); }
.statement-line {
  font-size: clamp(1.6rem, 3.4vw + .5rem, 2.9rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15; color: var(--text); margin: 0 auto;
  max-width: 18ch;
}
.statement-line span { color: var(--accent-hi); }
.statement-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-sm);
  margin-top: var(--s-lg);
}
.statement-tags span {
  font-family: var(--mono); font-size: var(--t-xs); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--r-full);
}

/* ── Focus ── */
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: var(--r-sm); }

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (min-width: 640px) {
  .who-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-link { display: inline-flex; }
}

@media (min-width: 768px) {
  .problem-card { grid-template-columns: 160px 1fr; gap: var(--s-2xl); align-items: center; }
}

@media (min-width: 768px) {
  .demo-stage {
    grid-template-columns: 1fr 1.1fr 1fr;
    align-items: stretch;
  }
  .timeline { padding-left: 60px; }
  .timeline-line { display: block; }
  .timeline-step { gap: var(--s-xl); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid--bento { grid-template-columns: repeat(3, 1fr); }
  .service-feature-inner { flex-direction: row; align-items: center; gap: var(--s-2xl); }
  .service-feature-icon { width: 80px; height: 80px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-item { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .cap-item:nth-child(even) { border-right: none; }
  .cap-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (min-width: 1024px) {
  .demo-stage { gap: var(--s-xl); }
}

@media (min-width: 1280px) {
  .container { padding: 0 var(--s-xl); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1 !important; }
  #hero { height: 100vh; }
  #hero-canvas { display: none; }
  #phase-0 { opacity: 1 !important; }
  #phase-1, #phase-2, #phase-3 { display: none; }
  .hero-bg { background-image: radial-gradient(ellipse at 30% 40%, rgba(79,142,247,0.18), transparent 40%), radial-gradient(ellipse at 70% 60%, rgba(46,111,214,0.12), transparent 45%); }
  .cursor-glow, .connector-pulse, .step-ring { display: none; }
}
