/* ============================================================
   LeadFlow Media — si.leadflow-media.com
   Signature system: "The Flow" — a moving current (blue → violet
   → cyan), grain-textured surfaces, glass-glow product chrome.
   Fonts: Bricolage Grotesque (display) + Archivo (body) +
   JetBrains Mono (labels/numbers). All verified latin-ext (č š ž).
   ============================================================ */

:root {
  --paper: #faf9f6;
  --paper-soft: #f2efe8;
  --ink: #12151c;
  --ink-soft: #3c4350;
  --muted: #6b7280;
  --line: #e5e0d5;

  --accent: #3357ff;
  --accent-2: #8b5cf6;
  --accent-3: #22d3ee;
  --accent-deep: #1e3fd1;
  --accent-soft: #eef0ff;
  --flow-gradient: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);

  --night: #05070d;
  --night-2: #0a0e1a;
  --glow: #6c8bff;
  --glow-2: #a78bfa;
  --glow-3: #67e8f9;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-line: rgba(255, 255, 255, 0.11);
  --night-text: #e2e6f3;
  --night-muted: #8a92ac;

  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1120px;
  --font-display: "Bricolage Grotesque", "Archivo", sans-serif;
  --font-body: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-card: 0 1px 2px rgba(18, 21, 28, 0.04), 0 14px 36px -18px rgba(18, 21, 28, 0.15);
  --shadow-card-hover: 0 2px 4px rgba(18, 21, 28, 0.05), 0 28px 54px -20px rgba(51, 87, 255, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
ul, ol { padding-left: 1.2em; }

/* Grain: the single cheapest move against a flat "AI template" look */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  content: "";
  position: fixed;
  top: -20%; left: 50%;
  width: 1400px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(51, 87, 255, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 630;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(2.7rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.35rem; line-height: 1.28; font-weight: 650; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flow-gradient);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
}
.showcase .eyebrow::before, .cta-band .eyebrow::before { box-shadow: 0 0 10px rgba(103, 232, 249, 0.8); }
.accent-i {
  font-style: italic;
  background: var(--flow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--muted); }
.grad-num {
  font-family: var(--font-display);
  background: var(--flow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--flow-gradient);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(51, 87, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(139, 92, 246, 0.55); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--night);
  box-shadow: 0 10px 30px -8px rgba(167, 139, 250, 0.4);
}
.btn-light:hover { transform: translateY(-2px); color: var(--night); box-shadow: 0 16px 40px -10px rgba(103, 232, 249, 0.5); }
.btn-arrow { transition: transform 0.18s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 224, 213, 0.7);
}
.header-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 3px;
}
.logo .dot { color: var(--accent); }
.logo:hover { color: var(--ink); }
.logo::after {
  content: "";
  position: absolute;
  left: 1px; bottom: -2px;
  width: 34px; height: 2.5px;
  border-radius: 2px;
  background: var(--flow-gradient);
  background-size: 200% 100%;
  animation: flow-pulse 3.5s ease-in-out infinite;
}
.site-footer .logo::after { bottom: -4px; }
@keyframes flow-pulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { padding: 11px 22px; font-size: 0.93rem; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  position: absolute;
  left: 9px;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.22s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(60px, 10vh, 110px) 0 clamp(50px, 7vh, 90px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero-in { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 560px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 34px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.95rem; font-family: var(--font-mono); }
.hero-trust .flags { letter-spacing: 2px; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; }

/* Floating ambient chat bubbles (decorative texture) */
.float-bubble {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
  filter: drop-shadow(0 8px 20px rgba(51, 87, 255, 0.08));
  animation: bubble-drift 16s ease-in-out infinite;
}
.float-bubble svg { display: block; }
.float-bubble.fb-1 { top: 6%; left: 2%; width: 92px; animation-duration: 15s; }
.float-bubble.fb-2 { top: 62%; left: -2%; width: 70px; animation-duration: 19s; animation-delay: -4s; }
.float-bubble.fb-3 { top: 12%; right: 4%; width: 78px; animation-duration: 17s; animation-delay: -8s; }
.float-bubble.fb-4 { top: 70%; right: 2%; width: 60px; animation-duration: 21s; animation-delay: -2s; }
.float-bubble.fb-5 { bottom: 4%; left: 20%; width: 54px; animation-duration: 14s; animation-delay: -6s; opacity: 0.35; }
.float-bubble.fb-6 { top: 40%; left: 8%; width: 44px; animation-duration: 18s; animation-delay: -10s; opacity: 0.3; }
@keyframes bubble-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -16px) rotate(-2deg); }
  66% { transform: translate(-8px, 10px) rotate(2deg); }
}
.section-float { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

/* ---------- Logo marquee ---------- */
.logos { padding: 26px 0 60px; position: relative; z-index: 1; }
.logos-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #b3aca0;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vh, 120px) 0; position: relative; z-index: 1; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* ---------- Dark showcase bands ---------- */
.showcase {
  background: radial-gradient(1200px 600px at 75% -10%, rgba(139, 92, 246, 0.16), transparent 60%), radial-gradient(900px 500px at 10% 110%, rgba(34, 211, 238, 0.1), transparent 60%), var(--night);
  color: var(--night-text);
  padding: clamp(90px, 12vh, 140px) 0;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 2.4%, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}
.showcase h2, .showcase h3 { color: #fff; }
.showcase .eyebrow { color: var(--glow-3); }
.showcase .lead { color: var(--night-muted); }
.showcase p { color: var(--night-muted); }
.showcase strong { color: var(--night-text); }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  background: radial-gradient(circle at 35% 35%, var(--glow-3), var(--glow-2) 45%, var(--accent) 70%, transparent 78%);
  animation: orb-drift 14s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.12); }
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.showcase-copy h2 { margin-bottom: 22px; }
.showcase-copy p { margin-bottom: 16px; }
.showcase-points { list-style: none; padding: 0; margin: 26px 0 30px; }
.showcase-points li {
  padding: 10px 0 10px 34px;
  position: relative;
  color: var(--night-text);
}
.showcase-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(103, 232, 249, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 12px rgba(103, 232, 249, 0.4);
}
.showcase-points li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 21px;
  width: 8px;
  height: 5px;
  border-left: 1.6px solid var(--glow-3);
  border-bottom: 1.6px solid var(--glow-3);
  transform: rotate(-45deg);
}

/* ---------- iPhone 3D frame ---------- */
.phone-stage {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1400px;
}
.phone-3d {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(5deg) rotateZ(0.5deg);
  transition: transform 0.5s ease;
}
.phone-stage:hover .phone-3d { transform: rotateY(-9deg) rotateX(3deg) rotateZ(0.3deg); }
.phone {
  width: 320px;
  border-radius: 48px;
  background: linear-gradient(155deg, #23262e, #121317);
  padding: 12px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.16),
    2px 40px 60px -18px rgba(0, 0, 0, 0.85),
    -26px 30px 90px -30px rgba(51, 87, 255, 0.35),
    30px 10px 90px -30px rgba(167, 139, 250, 0.35);
}
/* simulated edge thickness */
.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 48px;
  transform: translateZ(-14px);
  background: linear-gradient(155deg, #0c0d10, #030304);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.05);
}
.phone-screen {
  background: #000;
  border-radius: 38px;
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* glass specular sheen */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.06) 100%);
  mix-blend-mode: screen;
}
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
  border: 1px solid #111;
}
.sms-header {
  padding: 48px 16px 12px;
  text-align: center;
  background: rgba(22, 24, 29, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.sms-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--flow-gradient);
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  font-family: var(--font-mono);
}
.sms-name { font-size: 0.78rem; color: #e5eaf3; font-weight: 500; }
.sms-time { font-size: 0.68rem; color: #808a9d; text-align: center; padding: 12px 0 4px; font-family: var(--font-mono); }
.sms-thread {
  flex: 1;
  padding: 6px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  justify-content: flex-end;
}
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.bubble.shown { opacity: 1; transform: none; }
.bubble.lead-msg { align-self: flex-start; background: #26292f; color: #e8ecf3; border-bottom-left-radius: 6px; }
.bubble.agent-msg { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-bottom-right-radius: 6px; }
.bubble.typing { padding: 13px 16px; }
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa4b5;
  animation: tdot 1.1s infinite ease-in-out;
}
.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.phone-caption {
  text-align: center;
  margin-top: 30px;
  color: var(--night-muted);
  font-size: 0.92rem;
  position: relative;
  z-index: 2;
}
.phone-caption strong { color: var(--glow-3); }
.phone-ground-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  width: 260px;
  height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.45), transparent 75%);
  filter: blur(10px);
  z-index: 1;
}

/* ---------- Slack panel ---------- */
.slack-panel {
  background: #14161d;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 90px -28px rgba(139, 92, 246, 0.45);
  font-size: 0.9rem;
  transform: perspective(1200px) rotateY(6deg);
}
.slack-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8ecf3;
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.slack-top .win-dots { display: flex; gap: 6px; margin-right: 8px; }
.slack-top .win-dots i { width: 10px; height: 10px; border-radius: 50%; }
.slack-top .win-dots i:nth-child(1) { background: #ff5f57; }
.slack-top .win-dots i:nth-child(2) { background: #febc2e; }
.slack-top .win-dots i:nth-child(3) { background: #28c840; }
.slack-msgs { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.slack-msg { display: flex; gap: 12px; opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; }
.slack-msg.shown { opacity: 1; transform: none; }
.slack-ava {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}
.slack-ava.human { background: #7c5cbf; }
.slack-ava.bot { background: var(--flow-gradient); }
.slack-body { color: #c9d1e0; line-height: 1.5; }
.slack-body .who { color: #fff; font-weight: 700; margin-right: 8px; }
.slack-body .when { color: #6f7a90; font-size: 0.75rem; font-family: var(--font-mono); }
.slack-body .tag { color: var(--glow-3); }
.slack-body ul { margin: 8px 0 0; padding-left: 18px; color: #aab4c8; }
.slack-body li { margin: 3px 0; }

/* ---------- Custom SVG icon chips (replaces emoji) ---------- */
.icon-chip {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(155deg, #fff, var(--accent-soft));
  box-shadow: inset 0 0 0 1px rgba(51, 87, 255, 0.14), 0 8px 18px -10px rgba(51, 87, 255, 0.35);
}
.icon-chip svg { width: 24px; height: 24px; stroke: var(--accent); }
.showcase .icon-chip, .cta-band .icon-chip {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.28), 0 8px 18px -10px rgba(103, 232, 249, 0.35);
}
.showcase .icon-chip svg, .cta-band .icon-chip svg { stroke: var(--glow-3); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Steps / ladder ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.step-n {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 650;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--flow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;
}
.step h3 { margin-bottom: 6px; }
.step .price { font-family: var(--font-mono); background: var(--flow-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; font-size: 0.98rem; margin-bottom: 12px; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }
.step.step-hot { border-color: transparent; box-shadow: 0 0 0 1.5px var(--accent-2), var(--shadow-card-hover); }
.step-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--flow-gradient);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Case studies ---------- */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 650;
  line-height: 1;
  background: var(--flow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-what { font-weight: 600; color: var(--ink); }
.case-co { color: var(--muted); font-size: 0.9rem; font-family: var(--font-mono); }
.case-quote {
  border-left: 3px solid;
  border-image: var(--flow-gradient) 1;
  padding: 6px 0 6px 18px;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- About teaser ---------- */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-card-hover); }
.photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 30px 0; }
.photo-slot {
  aspect-ratio: 4/5;
  border-radius: 14px;
  background: var(--paper-soft);
  border: 1.5px dashed var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background: radial-gradient(900px 400px at 50% 120%, rgba(103, 232, 249, 0.2), transparent 65%), radial-gradient(700px 400px at 15% -10%, rgba(139, 92, 246, 0.18), transparent 60%), var(--night);
  color: #fff;
  text-align: center;
  padding: clamp(90px, 12vh, 140px) 0;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 2.4%, 100% 100%, 0 100%);
  margin-top: -1px;
}
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band .lead { color: var(--night-muted); max-width: 620px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: var(--night-muted);
  padding: 70px 0 36px;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 46px; margin-bottom: 50px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; display: inline-block; }
.site-footer h4 { color: #fff; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 16px; font-weight: 500; }
.site-footer a { color: var(--night-muted); display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.claude-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--night-text);
  margin-top: 18px;
}
.claude-badge .spark { background: var(--flow-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #5c6580;
  line-height: 1.8;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .orb, .float-bubble, .logo::after { animation: none; }
}

/* ---------- Consent bar ---------- */
.consent {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--ink);
  color: #dbe1ec;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
  max-width: min(92vw, 560px);
}
.consent a { color: var(--glow-3); }
.consent button {
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: block;
  color: var(--ink);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); color: var(--ink); }
.post-card .date { color: var(--muted); font-size: 0.85rem; font-family: var(--font-mono); }
.post-card h3 { margin: 10px 0 12px; }
.post-card p { color: var(--ink-soft); font-size: 0.97rem; }
.post-card .more { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.article { padding: clamp(56px, 8vh, 90px) 0; }
.article h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin: 14px 0 22px; }
.article .post-meta { color: var(--muted); font-size: 0.92rem; font-family: var(--font-mono); }
.article-body { margin-top: 40px; }
.article-body h2 { font-size: 1.7rem; margin: 44px 0 16px; }
.article-body h3 { margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; color: var(--ink-soft); }
.article-body ul, .article-body ol { margin: 0 0 18px; color: var(--ink-soft); }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-sig { margin-top: 36px; font-style: italic; color: var(--ink-soft); }

/* ---------- Cal embed ---------- */
.cal-holder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 620px;
  padding: 8px;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: clamp(60px, 9vh, 100px) 0 clamp(30px, 4vh, 50px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 20px; }
.page-hero .lead { max-width: 680px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .showcase-grid, .about-grid, .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 380px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 40px; }
  .about-photo { max-width: 340px; }
  .float-bubble { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .cards, .cards-2, .steps, .post-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px rgba(18, 21, 28, 0.2);
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav-toggle { display: block; }
  .phone { width: 270px; }
  .phone-screen { height: 520px; }
  .phone-3d { transform: rotateY(0deg) rotateX(0deg); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .showcase, .cta-band { clip-path: none; }
}
