/* ============================================================
   keflo · website styles
   Design tokens follow the brand brief.
   ============================================================ */

:root {
  --bg: #FAFAF7;
  --bg-warm: #F5F2EC;
  --ink: #0F1419;
  --ink-soft: #2C3440;
  --muted: #6B7280;
  --muted-soft: #9CA3AF;
  --line: #E5E7EB;
  --line-soft: #F0EDE7;

  --emerald: #10B981;
  --emerald-bright: #34D399;
  --emerald-deep: #047857;
  --emerald-tint: #ECFDF5;

  --violet: #A78BFA;
  --blue: #5BBEEC;
  --amber: #E8A33A;

  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', monospace;

  /* Accent (italic emphasis: "alive", "finally", etc.) - overridden by Tweaks */
  --accent-font: 'DM Serif Display', Georgia, serif;
  --accent-style: italic;
  --accent-weight: 400;

  --shadow-md: 0 8px 30px rgba(15,20,25,0.06);
  --shadow-lg: 0 20px 60px rgba(15,20,25,0.10);
  --shadow-glow: 0 12px 40px rgba(16,185,129,0.32);
}

/* Apply -accent-font everywhere the italic emphasis lives */
.hero-h em,
.section-h em,
.lane-h em,
.q-body em,
.closer-h em,
.pc-includes,
.pc-num-letter,
.footer-tag {
  font-family: var(--accent-font) !important;
  font-style: var(--accent-style) !important;
  font-weight: var(--accent-weight) !important;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--emerald); color: white; }
img, svg { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 100px 0 0; }
  .hero-h { font-size: clamp(40px, 11vw, 56px); }
  .hero-sub { font-size: 17px; }
  .hero-flow-wrap { max-height: 480px; }
  .section-h { font-size: clamp(30px, 7vw, 42px); }
  .video-section, .lanes, .platform, .wall, .pricing, .closer { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .lane-card, .pf-card, .price-card { padding: 24px; }
  .vm-side { display: none; }
  .vm-body { grid-template-columns: 1fr; }
  .video-mock { padding: 16px; }
  .play-btn { width: 60px; height: 60px; }
  .pc-num { font-size: 56px; }
  .closer-h { font-size: clamp(32px, 8vw, 46px); }
  .cf-row { flex-direction: column; padding: 8px; border-radius: 20px; }
  .cf-row input { width: 100%; }
  .cf-row .btn { width: 100%; justify-content: center; }
  .nav { width: calc(100% - 20px); top: 12px; }
  .nav-inner { padding: 6px 6px 6px 16px; }
  .btn-nav { padding: 9px 14px; font-size: 13px; }
  .marquee-track span { font-size: 11px; }
  .hero-marquee { margin-top: 56px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ============================================================
   LOGO WORDMARK (text-based, for nav/footer)
   ============================================================ */
.kf {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.kf-dot {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  background: var(--emerald);
  border-radius: 50%;
  margin-left: 0.06em;
  transform: translateY(-0.42em);
  animation: kfPulse 2s ease-in-out infinite;
}
@keyframes kfPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); transform: translateY(-0.42em) scale(1); }
  50% { box-shadow: 0 0 0 0.28em rgba(16,185,129,0); transform: translateY(-0.42em) scale(1.08); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 32px);
  max-width: 1160px;
}
.nav-inner {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-md);
}
.nav-logo { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--emerald-deep); }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.18s cubic-bezier(0.22,1,0.36,1),
              background 0.18s, box-shadow 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn .arr {
  display: inline-block;
  transition: transform 0.18s cubic-bezier(0.22,1,0.36,1);
}
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--emerald);
  color: white;
  box-shadow: 0 8px 24px rgba(16,185,129,0.28);
}
.btn-primary:hover {
  background: var(--emerald-deep);
  box-shadow: 0 12px 32px rgba(16,185,129,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--ink);
  background: white;
}

.btn-nav {
  padding: 10px 18px;
  font-size: 14px;
  background: var(--ink);
  color: white;
}
.btn-nav:hover {
  background: var(--emerald);
}

.btn-ghost-dark {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-dark .play-tri {
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  display: inline-block;
}

/* ============================================================
   EYEBROW + SECTION HEAD
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  background: white;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}
.eb-dot, .live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: kfPulse2 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes kfPulse2 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-dark .eyebrow { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }

.section-h {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 18px;
  text-wrap: balance;
}
.section-head-dark .section-h { color: white; }
.section-h em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--emerald-deep);
}
.em-bright { color: var(--emerald-bright) !important; }

.section-sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 640px;
}
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.section-sub-dark { color: rgba(255,255,255,0.7); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: white;
  padding: 140px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 70% 50%, rgba(16,185,129,0.18), transparent 70%),
    radial-gradient(700px 500px at 10% 20%, rgba(16,185,129,0.05), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
  min-height: 720px;
}

.hero-copy { max-width: 580px; }

.hero-h {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  color: white;
  text-wrap: balance;
}
.hero-h em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--emerald-bright);
}
.strike {
  position: relative;
  color: rgba(255,255,255,0.4);
  display: inline-block;
}
.strike::after {
  content: '';
  position: absolute;
  top: 56%;
  left: -3%;
  right: -3%;
  height: 5px;
  background: var(--emerald);
  border-radius: 4px;
  transform: rotate(-2.5deg);
  box-shadow: 0 0 12px rgba(16,185,129,0.6);
}

.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
}
.trust-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-pill {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
}

/* ============ HERO FLOW ILLUSTRATION ============ */
.hero-flow-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 720 / 760;
  max-height: 760px;
}
.flow { width: 100%; height: 100%; }

/* keflo orb rings - animated pulse */
.flow .ring-1 {
  transform-origin: 380px 380px;
  animation: ringPulse 3s ease-out infinite;
}
.flow .ring-2 {
  transform-origin: 380px 380px;
  animation: ringPulse 3s ease-out infinite 1.5s;
}
@keyframes ringPulse {
  0% { r: 60; opacity: 0.6; }
  100% { r: 120; opacity: 0; }
}
/* SVG attribute animation fallback */
.flow .ring-1, .flow .ring-2 {
  animation-name: ringPulseTransform;
}
@keyframes ringPulseTransform {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2.0); opacity: 0; }
}

/* aura UI ring - slow rotation of the text along its path */
.flow .ui-ring-aura text {
  transform-origin: 380px 380px;
  transform-box: view-box;
  animation: auraSpin 60s linear infinite;
}
@keyframes auraSpin {
  to { transform: rotate(360deg); }
}

.flow .node-keflo { filter: drop-shadow(0 0 24px rgba(16,185,129,0.4)); }

/* Sources column - soft tile shadow + subtle entrance */
.flow .src rect:first-child {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* outer UI ring - slow continuous rotation for "avatars" variant */
.flow .ui-orbit {
  transform-origin: 380px 380px;
  animation: uiOrbit 36s linear infinite;
}
@keyframes uiOrbit {
  to { transform: rotate(360deg); }
}
/* keep each badge upright by counter-rotating */
.flow .ui-orbit > g {
  animation: uiOrbitCounter 36s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes uiOrbitCounter {
  to { transform: rotate(-360deg); }
}
.flow .float-card { opacity: 0; animation: cardIn 0.6s 0.4s cubic-bezier(0.22,1,0.36,1) forwards; }
.flow .float-card:nth-child(odd) { animation-delay: 0.6s; }
@keyframes cardIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.flow .float-card rect { backdrop-filter: blur(4px); }

/* HERO MARQUEE */
.hero-marquee {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
}
.marquee-track span:nth-child(even) { color: var(--emerald-bright); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .hero[style] { height: auto !important; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-top: 20px; }
  .hero-flow-wrap { max-height: 600px; }
  .hero { padding: 120px 0 0; }
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
  padding: 120px 0;
  background: var(--bg);
}
.video-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  max-width: 1080px;
  margin: 0 auto;
}
.video-aspect {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-mock {
  position: absolute;
  inset: 0;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vm-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}
.vm-dots { display: flex; gap: 6px; }
.vm-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.vm-dots i:first-child { background: #FF5F57; }
.vm-dots i:nth-child(2) { background: #FEBC2E; }
.vm-dots i:nth-child(3) { background: #28C840; }
.vm-url { flex: 1; text-transform: uppercase; }
.vm-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald-bright);
  padding: 4px 10px;
  background: rgba(16,185,129,0.12);
  border-radius: 999px;
}

.vm-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; flex: 1; }
.vm-col { display: flex; flex-direction: column; gap: 10px; }
.vm-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--emerald-bright);
  text-transform: uppercase;
}
.vm-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: white;
  letter-spacing: -0.02em;
}
.vm-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  font-family: var(--mono);
}
.vm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.vm-row.vm-ok { border-color: rgba(16,185,129,0.18); }
.vm-check {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--emerald-bright);
  letter-spacing: 0.05em;
}
.vm-loading {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.05em;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%,100% {opacity: 1;} 50% {opacity: 0.4;} }

.vm-side { gap: 14px; }
.vm-toast, .vm-call {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 16px;
}
.vm-toast {
  border-left: 3px solid #4A154B;
  background: linear-gradient(90deg, rgba(74,21,75,0.18), rgba(255,255,255,0.04));
}
.vm-toast-eb {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.vm-toast-body { font-size: 13px; color: white; line-height: 1.45; }
.vm-call-eb {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--emerald-bright);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.vm-call-body {
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 6px;
  font-family: var(--serif);
}
.vm-call-foot {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--emerald);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(16,185,129,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.play-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(16,185,129,0.3);
  z-index: -1;
  animation: playPulse 2.4s ease-out infinite;
}
@keyframes playPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.video-frame:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); }
.play-btn svg { margin-left: 4px; }

/* ============================================================
   THREE LANES
   ============================================================ */
.lanes {
  padding: 120px 0;
  background: var(--bg-warm);
}
.lane-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lane-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1),
              border-color 0.25s, box-shadow 0.25s;
}
.lane-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
  box-shadow: 0 20px 50px rgba(16,185,129,0.08);
}
.lane-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.lane-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-tint);
  color: var(--emerald-deep);
  flex-shrink: 0;
}
.lane-icon-mkt { background: rgba(167,139,250,0.12); color: #6B4FE0; }
.lane-icon-cs { background: rgba(91,190,236,0.14); color: #1B7BB0; }
.lane-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.lane-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--ink);
  text-wrap: balance;
}
.lane-h em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--emerald-deep);
}
.lane-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 24px;
}
.lane-bullets {
  list-style: none;
  margin-bottom: 28px;
}
.lane-bullets li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.lb-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--emerald-deep);
  background: var(--emerald-tint);
  padding: 3px 7px;
  border-radius: 5px;
  flex-shrink: 0;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
}
.lane-stat {
  margin-top: auto;
  padding: 20px;
  background: var(--bg-warm);
  border-radius: 14px;
  margin-bottom: 20px;
}
.ls-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.ls-num span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ls-cap {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.lane-link {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lane-link .arr { transition: transform 0.18s; }
.lane-link:hover .arr { transform: translateX(4px); }

@media (max-width: 980px) {
  .lane-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   PLATFORM (dark 2x2)
   ============================================================ */
.platform {
  padding: 120px 0;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.platform::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(16,185,129,0.12), transparent 70%),
    radial-gradient(500px 400px at 20% 80%, rgba(16,185,129,0.08), transparent 70%);
  pointer-events: none;
}
.platform .wrap { position: relative; }
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pf-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.25s;
}
.pf-card:hover { border-color: rgba(16,185,129,0.4); transform: translateY(-3px); }
.pf-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(16,185,129,0.15);
  color: var(--emerald-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pf-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: white;
}
.pf-card p {
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  font-size: 14.5px;
  margin-bottom: 22px;
}

/* -- pf mocks -- */
.pf-mock {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
}

.pf-mock-slack .mock-slack-msg { display: flex; gap: 10px; }
.ms-av {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  flex-shrink: 0;
}
.ms-name {
  font-weight: 700;
  font-size: 13px;
  color: white;
  margin-bottom: 4px;
}
.ms-name span {
  font-family: var(--mono);
  font-size: 9px;
  padding: 1px 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-left: 4px;
}
.ms-line {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  padding: 3px 0;
}
.ms-line b { color: white; font-weight: 600; }

.pf-mock-hygiene { display: flex; flex-direction: column; gap: 8px; }
.mh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.mh-l { color: rgba(255,255,255,0.7); }
.mh-r {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--emerald-bright);
  font-weight: 600;
}
.mh-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0 4px;
}
.mh-bar-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-bright));
  border-radius: 999px;
  animation: barShimmer 3s ease-in-out infinite;
}
@keyframes barShimmer {
  0%, 100% { width: 78%; }
  50% { width: 82%; }
}
.mh-cap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--emerald-bright);
  text-transform: uppercase;
}

.pf-mock-chat { display: flex; flex-direction: column; gap: 10px; }
.mc-q {
  align-self: flex-end;
  background: rgba(167,139,250,0.18);
  border: 1px solid rgba(167,139,250,0.3);
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 13px;
  color: white;
  max-width: 90%;
}
.mc-a {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  position: relative;
  max-width: 95%;
}
.mc-a-tag {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--emerald-bright);
  letter-spacing: 0.16em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.mc-a b { color: white; }

.pf-mock-gantt { display: flex; flex-direction: column; gap: 6px; }
.mg-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  font-size: 12px;
  height: 22px;
  position: relative;
}
.mg-l { color: rgba(255,255,255,0.7); }
.mg-row > div.mg-bar {
  position: relative;
  height: 8px;
  border-radius: 4px;
  margin-left: 0;
}
.mg-row::after {
  content: '';
  position: absolute;
  right: 0;
  left: 120px;
  height: 1px;
  background: rgba(255,255,255,0.05);
  bottom: 0;
}
.mg-bar {
  position: relative;
  left: var(--bar-left, 0);
  width: var(--bar-w, 50%);
  height: 8px;
  border-radius: 4px;
}

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

/* ============================================================
   WALL OF LOVE
   ============================================================ */
.wall {
  padding: 120px 0;
  background: var(--bg);
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}
.quote {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.quote:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16,185,129,0.4);
}
.q-body {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.q-body em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--emerald-deep);
}
.q-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.q-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  color: white;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.q-av-1 { background: linear-gradient(135deg, #10B981, #047857); }
.q-av-2 { background: linear-gradient(135deg, #A78BFA, #6B4FE0); }
.q-av-3 { background: linear-gradient(135deg, #5BBEEC, #1B7BB0); }
.q-av-4 { background: linear-gradient(135deg, #E8A33A, #B07020); }
.q-av-5 { background: linear-gradient(135deg, #F472B6, #BE185D); }
.q-av-6 { background: linear-gradient(135deg, #34D399, #047857); }
.q-av-7 { background: linear-gradient(135deg, #818CF8, #4338CA); }
.q-av-8 { background: linear-gradient(135deg, #FB923C, #9A3412); }
.q-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.q-role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.q-lg {
  grid-column: span 2;
}
.q-lg .q-body { font-size: 22px; line-height: 1.35; }
.q-emerald {
  background: var(--emerald-tint);
  border-color: #BBF7D0;
}
.q-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.q-dark .q-body { color: white; }
.q-dark .q-body em { color: var(--emerald-bright); }
.q-dark .q-name { color: white; }
.q-dark .q-role { color: rgba(255,255,255,0.55); }

@media (max-width: 980px) {
  .wall-grid { grid-template-columns: 1fr 1fr; }
  .q-lg { grid-column: span 2; }
}
@media (max-width: 600px) {
  .wall-grid { grid-template-columns: 1fr; }
  .q-lg { grid-column: span 1; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 120px 0;
  background: var(--bg-warm);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.price-card-featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  box-shadow: 0 24px 60px rgba(15,20,25,0.18), 0 0 0 1px var(--emerald) inset;
  transform: translateY(-8px);
}
.price-card-featured:hover { transform: translateY(-11px); }

.pc-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: white;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(16,185,129,0.4);
}
.pc-head { margin-bottom: 24px; }
.pc-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 6px;
}
.price-card-featured .pc-name { color: white; }
.pc-tagline {
  font-size: 14px;
  color: var(--muted);
}
.price-card-featured .pc-tagline { color: rgba(255,255,255,0.6); }

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.price-card-featured .pc-price { border-bottom-color: rgba(255,255,255,0.12); }
.pc-dollar {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
}
.price-card-featured .pc-dollar { color: white; }
.pc-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 72px;
  letter-spacing: -0.055em;
  color: var(--ink);
  line-height: 1;
}
.price-card-featured .pc-num { color: white; }
.pc-num-letter {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-family: var(--serif);
  font-style: italic;
  color: var(--emerald-deep);
}
.pc-unit {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  width: 100%;
  margin-top: 4px;
}
.price-card-featured .pc-unit { color: rgba(255,255,255,0.55); }

.pc-includes {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  font-style: italic;
  font-family: var(--serif);
}

.pc-dept-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.pc-dept {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.pc-dept.active {
  background: var(--emerald);
  color: white;
}
.pc-dept:not(.active):hover { color: white; }

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.pc-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.price-card-featured .pc-features li { color: rgba(255,255,255,0.85); }
.pc-check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--emerald-tint);
  position: relative;
  margin-top: 1px;
}
.pc-check::after {
  content: '';
  position: absolute;
  left: 5px; top: 7px;
  width: 5px; height: 8px;
  border-right: 1.8px solid var(--emerald-deep);
  border-bottom: 1.8px solid var(--emerald-deep);
  transform: rotate(45deg);
}
.pc-check-em {
  background: var(--emerald);
}
.pc-check-em::after {
  border-color: white;
}
.pc-muted { color: var(--muted) !important; font-style: italic; }
.pc-muted .pc-check { display: none; }
.price-card-featured .pc-muted { color: rgba(255,255,255,0.4) !important; }

.pc-cta { width: 100%; justify-content: center; }
.price-card-featured .btn-primary {
  background: var(--emerald);
  box-shadow: 0 8px 30px rgba(16,185,129,0.5);
}

.price-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: translateY(0); }
}

/* ============================================================
   CLOSER
   ============================================================ */
.closer {
  position: relative;
  background: var(--ink);
  color: white;
  padding: 140px 0;
  overflow: hidden;
}
.closer-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(16,185,129,0.35), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.closer-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}
.closer .eyebrow { margin-left: auto; margin-right: auto; }
.closer-h {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.045em;
  line-height: 1.0;
  margin-bottom: 20px;
  text-wrap: balance;
}
.closer-h em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--emerald-bright);
}
.closer-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.closer-form { max-width: 480px; margin: 0 auto; }
.cf-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  margin-bottom: 14px;
}
.cf-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  color: white;
  font-family: var(--body);
  font-size: 15px;
}
.cf-row input::placeholder { color: rgba(255,255,255,0.4); }
.cf-row .btn { padding: 12px 22px; }
.cf-fine {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cf-success {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald);
  color: white;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 56px 0 56px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-kf { font-size: 28px; color: white; }
.footer-kf .kf-dot { background: var(--emerald); }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  text-transform: uppercase;
}
.footer-meta a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer-meta a:hover { color: var(--emerald-bright); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.inview { opacity: 1; transform: translateY(0); }
.lane-cards .lane-card:nth-child(2).reveal { transition-delay: 0.08s; }
.lane-cards .lane-card:nth-child(3).reveal { transition-delay: 0.16s; }
.platform-grid .pf-card:nth-child(2).reveal { transition-delay: 0.08s; }
.platform-grid .pf-card:nth-child(3).reveal { transition-delay: 0.16s; }
.platform-grid .pf-card:nth-child(4).reveal { transition-delay: 0.24s; }
.wall-grid .quote:nth-child(n+2).reveal { transition-delay: 0.05s; }
.wall-grid .quote:nth-child(n+4).reveal { transition-delay: 0.1s; }
.wall-grid .quote:nth-child(n+6).reveal { transition-delay: 0.15s; }
.price-grid .price-card:nth-child(2).reveal { transition-delay: 0.1s; }
.price-grid .price-card:nth-child(3).reveal { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .flow .pulses, .marquee-track, .live-dot, .eb-dot, .kf-dot,
  .ring-1, .ring-2 { animation: none !important; }
}
