/* ============================================
   ScaleWithLP — Design Tokens
   Edit these variables to re-brand the entire site.
   ============================================ */
:root{
  --bg: #0a0e1b;
  --bg-alt: #0d1224;
  --surface: #121933;
  --surface-2: #161f3d;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --text: #f5f7fb;
  --text-muted: #9aa4bf;
  --text-faint: #6b7492;

  --blue: #2f7bff;
  --teal: #2de8c5;
  --gradient: linear-gradient(90deg, var(--blue), var(--teal));
  --gradient-soft: linear-gradient(135deg, rgba(47,123,255,0.18), rgba(45,232,197,0.18));

  --green: #2de88a;
  --amber: #f5b93f;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --container: 1180px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: auto; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input, textarea, select{ font-family:inherit; }

.visually-hidden{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient{
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow{
  display:inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.eyebrow--sm{ margin-bottom: 8px; }

.section-title{
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 720px;
}
.section-sub{
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 0 48px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn--primary{
  background: var(--gradient);
  color: #04101a;
  box-shadow: 0 8px 24px rgba(45,232,197,0.25);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px rgba(45,232,197,0.35); }
.btn--ghost{
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover{ background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn--lg{ padding: 15px 28px; font-size: 15px; }

.mockup-card{
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dot-group{ display:inline-flex; gap:5px; }
.dot-group i{ width:8px; height:8px; border-radius:50%; background: var(--text-faint); display:inline-block; }
.dot-group i:nth-child(1){ background:#ff5f57; }
.dot-group i:nth-child(2){ background:#febc2e; }
.dot-group i:nth-child(3){ background:#28c840; }

/* ============ Reveal animation ============ */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ============ Navbar ============ */
.navbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled{
  background: rgba(10,14,27,0.85);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.navbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo{ height: 34px; width:auto; }
.navbar__links{
  display:flex;
  align-items:center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: auto;
}
.navbar__links a:hover{ color: var(--text); }
.navbar__burger{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  padding: 6px;
}
.navbar__burger span{ width:22px; height:2px; background: var(--text); display:block; }

/* ============ Hero ============ */
.hero{
  position: relative;
  padding: 180px 0 140px;
  overflow: hidden;
}
.hero__glow{
  position:absolute;
  top: -200px; left:50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(47,123,255,0.25), transparent 65%);
  pointer-events:none;
  z-index:0;
}
.hero__inner{
  position:relative; z-index:1;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero__title-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}
.hero__spin{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width: min(560px, 88vw);
  height: min(560px, 88vw);
  z-index:0;
  pointer-events:none;
  opacity:0.55;
}
.hero__spin video{ display:none; }
.hero__spin canvas{
  width:100%;
  height:100%;
}
.hero__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero__badge .dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,232,197,0.2);
}
.hero__title{
  position:relative;
  z-index:1;
  font-size: clamp(38px, 6.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 22px;
  max-width: 900px;
}
.hero__subtitle{
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 36px;
}
.hero__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom: 48px;
}
.hero__trust{
  display:flex;
  align-items:center;
  gap:14px;
  color: var(--text-muted);
  font-size:14px;
}
.avatar-stack{ display:flex; }
.avatar{
  width:34px; height:34px;
  border-radius:50%;
  background: var(--gradient-soft);
  border: 2px solid var(--bg);
  margin-left: -10px;
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:700;
  color: var(--teal);
}
.avatar:first-child{ margin-left:0; }
.avatar--trade{ position:relative; overflow:hidden; padding:0; margin-left:-14px; }
.avatar--trade:first-child{ margin-left:0; }
.avatar--trade::after{ content:''; position:absolute; inset:0; border-radius:50%; background:linear-gradient(135deg, rgba(59,130,246,.22), rgba(45,212,191,.16)); pointer-events:none; }
.avatar--trade img{ width:100%; height:100%; display:block; object-fit:cover; filter:saturate(.7) brightness(.85); }
.avatar--lg{ width:44px; height:44px; font-size:15px; margin-left:0; }
.avatar--photo{ overflow:hidden; padding:0; border-color:rgba(255,255,255,0.14); }
.avatar--photo img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ============ Hero growth diagram ============ */
.hero:has(.hero__growth){ padding-bottom:0; }
.hero__growth{ margin-top:132px; width:min(520px, 100%); transition-delay:.15s; }
.hero__growth svg{ display:block; width:100%; height:auto; overflow:visible; }
.hero__growth-grid{ stroke:rgba(255,255,255,.1); stroke-width:1; }
.hero__growth-grid--dash{ stroke-dasharray:2 5; }
.hero__growth-tick{ font:500 10px/1 Inter, system-ui, sans-serif; fill:var(--text-faint); }
.hero__growth-base{ fill:none; stroke:rgba(255,255,255,.22); stroke-width:1.5; stroke-dasharray:3 5; stroke-linecap:round; }
.hero__growth-label{ font:600 11px/1 Inter, system-ui, sans-serif; letter-spacing:.02em; fill:var(--teal); }
.hero__growth-label--muted{ fill:var(--text-faint); font-weight:500; }
.hero__growth-line{ fill:none; stroke:url(#growthLine); stroke-width:3; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:100; stroke-dashoffset:0; filter:drop-shadow(0 0 6px rgba(45,232,197,.45)); }
.hero__growth-area{ fill:url(#growthFill); }
.hero__growth-arrow{ fill:var(--teal); transform:translate(312px,24px) rotate(-11deg); filter:drop-shadow(0 0 5px rgba(45,232,197,.7)); }

@supports (offset-path: path("M0 0")){
  .hero__growth-arrow{
    transform:none;
    offset-path:path("M34 104 C 67.5 101.8, 87.2 88.9, 116.8 84.5 S 156.3 73.7, 185.8 60.8 S 235.1 39.1, 312 24");
    offset-rotate:auto; offset-distance:100%;
  }
  .hero__growth.is-visible .hero__growth-arrow{ animation: growthArrow 10s ease-in-out infinite; }
}
.hero__growth.is-visible .hero__growth-live{ animation: growthFade 10s linear infinite; }
.hero__growth.is-visible .hero__growth-line{ animation: growthDraw 10s ease-in-out infinite; }
.hero__growth.is-visible .hero__growth-clip{ transform-origin:0 0; animation: growthClip 10s ease-in-out infinite; }
@keyframes growthDraw{ 0%{ stroke-dashoffset:100; } 60%,100%{ stroke-dashoffset:0; } }
@keyframes growthClip{ 0%{ transform:scaleX(0); } 60%,100%{ transform:scaleX(1); } }
@keyframes growthArrow{ 0%{ offset-distance:0%; } 60%,100%{ offset-distance:100%; } }
@keyframes growthFade{ 0%{ opacity:0; } 6%,90%{ opacity:1; } 100%{ opacity:0; } }
@media (prefers-reduced-motion: reduce){
  .hero__growth.is-visible .hero__growth-live,
  .hero__growth.is-visible .hero__growth-line,
  .hero__growth.is-visible .hero__growth-clip,
  .hero__growth.is-visible .hero__growth-arrow{ animation:none; }
}

.hero__float{
  position:absolute;
  z-index:2;
  display:none;
}
.hero__float--chat{ top: 60px; left: calc(50% - 660px); animation: floatY 6s ease-in-out infinite; }
.hero__float--stat{ bottom: 40px; right: calc(50% - 660px); animation: floatY 7s ease-in-out infinite reverse; }
@media (min-width: 1560px){
  .hero__float{ display:block; }
}
@keyframes floatY{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-14px); }
}

.chat-mockup{ width: 260px; padding: 16px; }
.chat-mockup__header{
  display:flex; align-items:center; gap:10px;
  font-size:12px; color:var(--text-muted);
  padding-bottom:10px; margin-bottom:12px;
  border-bottom:1px solid var(--border);
}
.chat-msg{
  font-size:13px;
  padding:9px 12px;
  border-radius: 12px;
  margin-bottom:8px;
  max-width: 90%;
}
.chat-msg--in{ background: var(--surface-2); color: var(--text-muted); border-bottom-left-radius:4px; }
.chat-msg--out{ background: var(--gradient-soft); color: var(--text); margin-left:auto; border-bottom-right-radius:4px; }
.typing{ display:inline-flex; gap:2px; vertical-align:middle; }
.typing::after{
  content:'●●●';
  letter-spacing:2px;
  font-size:9px;
  color: var(--teal);
  animation: blink 1.4s infinite;
}
@keyframes blink{ 0%,100%{opacity:.2;} 50%{opacity:1;} }

.stat-mockup{ width: 210px; padding: 18px; }
.stat-mockup--wide{ width: 100%; max-width: 340px; }
.stat-mockup__label{ font-size:12px; color: var(--text-muted); margin-bottom:4px; }
.stat-mockup__value{ font-size:26px; font-weight:800; }
.stat-mockup__value--sm{ font-size:20px; }
.stat-up{ font-size:12px; color: var(--green); font-weight:600; vertical-align:middle; }
.stat-mockup__row{ display:flex; gap:28px; margin-bottom:14px; }
.mini-bars{ display:flex; align-items:flex-end; gap:6px; height:50px; margin-top:12px; }
.mini-bars span{
  flex:1;
  height: var(--h);
  background: var(--gradient);
  border-radius: 3px;
  opacity:0.85;
}
.mini-bars--wide{ height:60px; }

/* ============ Services ============ */
.services{ padding: 120px 0 100px; }

.kanban-mockup{
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0 26px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.kanban-mockup__head{
  display:flex; align-items:center; gap:14px;
  padding: 0 24px 18px;
  font-weight:600;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.pill{
  font-size:11px;
  font-weight:500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}
.kanban-track{ overflow:hidden; }
.kanban-row{
  display:flex;
  gap:16px;
  width: max-content;
  padding: 0 24px;
  animation: scrollLeft 28s linear infinite;
}
.kanban-mockup:hover .kanban-row{ animation-play-state: paused; }
@keyframes scrollLeft{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.kanban-card{
  width: 190px;
  flex-shrink:0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.kanban-card__title{ font-size:14px; font-weight:600; margin-bottom:8px; }
.kanban-card__meta{ font-size:12px; color: var(--text-faint); }
.kanban-card__tag{
  display:inline-block;
  font-size:10px;
  font-weight:600;
  padding:3px 8px;
  border-radius:999px;
  margin-top:10px;
}
.tag--blue{ background: rgba(47,123,255,0.15); color:#6fa8ff; }
.tag--teal{ background: rgba(45,232,197,0.15); color: var(--teal); }
.tag--amber{ background: rgba(245,185,63,0.15); color: var(--amber); }
.tag--green{ background: rgba(45,232,138,0.15); color: var(--green); }

.service-grid{ display:flex; flex-direction:column; gap:100px; }
.service-block{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:center;
}
.service-block--reverse .service-block__text{ order:2; }
.service-block--reverse .service-block__visual{ order:1; }
.service-block h3{ font-size: clamp(24px,3vw,32px); margin: 6px 0 14px; letter-spacing:-0.01em; }
.service-block p{ color: var(--text-muted); font-size:16px; margin:0 0 18px; max-width:440px; }
.tag-row{ display:flex; gap:10px; }
.tag{
  font-size:12px; font-weight:600;
  padding:6px 14px;
  border-radius:999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.service-block__visual{ display:flex; justify-content:center; }

.browser-mockup{ width:100%; max-width:400px; overflow:hidden; }
.browser-mockup__bar{
  display:flex; align-items:center; gap:12px;
  padding:12px 16px;
  border-bottom:1px solid var(--border);
}
.browser-mockup__url{
  font-size:11px; color: var(--text-faint);
  background: var(--bg-alt);
  padding:4px 12px;
  border-radius:999px;
  flex:1;
}
.browser-mockup__body{ padding: 22px 20px; }
.bm-line{ height:10px; border-radius:5px; background: var(--surface-2); }
.bm-line--title{ width:70%; height:16px; margin-bottom:10px; background: var(--gradient-soft); }
.bm-line--sub{ width:50%; margin-bottom:18px; }
.bm-btn{
  display:inline-block;
  font-size:12px; font-weight:700;
  background: var(--gradient);
  color:#04101a;
  padding:8px 18px;
  border-radius:999px;
  margin-bottom:18px;
}
.bm-grid{ display:flex; gap:10px; }
.bm-grid span{ flex:1; height:44px; border-radius:8px; background: var(--surface-2); }
.browser-mockup__badge{
  margin: 0 20px 20px;
  display:inline-flex;
  font-size:11px;
  color: var(--green);
  background: rgba(45,232,138,0.1);
  padding:5px 12px;
  border-radius:999px;
}
.browser-mockup__badge b{ margin-left:4px; }

/* ============ Process ============ */
.process{ padding: 100px 0; background: var(--bg-alt); }
.process-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.process-step__num{
  font-size:12px; font-weight:700;
  color: var(--teal);
  letter-spacing:0.05em;
}
.process-step h3{ font-size:22px; margin: 6px 0 10px; }
.process-step p{ color: var(--text-muted); margin:0 0 18px; max-width:460px; }

.audit-mockup, .strategy-mockup, .optimise-mockup, .schedule-mockup{ padding:20px; }
.audit-mockup__title{ font-size:13px; color: var(--text-muted); margin-bottom:14px; }
.audit-list li{ display:flex; justify-content:space-between; align-items:center; font-size:14px; padding:8px 0; border-bottom:1px solid var(--border); }
.audit-list li:last-child{ border-bottom:none; }
.check{ color: var(--green); font-style:normal; }

.strategy-mockup__head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; font-weight:600; font-size:14px; }
.badge{ font-size:11px; font-weight:600; padding:4px 10px; border-radius:999px; }
.badge--amber{ background: rgba(245,185,63,0.15); color: var(--amber); }
.badge--green{ background: rgba(45,232,138,0.15); color: var(--green); }
.badge--blue{ background: rgba(47,123,255,0.15); color:#6fa8ff; }
.strategy-mockup__body p{ font-size:13px; color: var(--text-muted); margin:6px 0; }
.strategy-mockup__result{
  margin-top:14px; padding-top:14px;
  border-top:1px solid var(--border);
  font-size:13px; color: var(--teal); font-weight:600;
}

.schedule-mockup__head{ font-size:14px; font-weight:600; margin-bottom:16px; }
.schedule-mockup__project{ display:flex; align-items:center; gap:10px; font-size:13px; color: var(--text-muted); margin-bottom:16px; }
.progress-bar{ flex:1; height:6px; background: var(--bg-alt); border-radius:999px; overflow:hidden; }
.progress-bar span{ display:block; height:100%; background: var(--gradient); }
.progress-pct{ color: var(--teal); font-weight:700; font-size:12px; }
.schedule-mockup__days{ display:flex; gap:6px; margin-bottom:16px; }
.schedule-mockup__days span{
  flex:1; text-align:center;
  font-size:11px; padding:8px 0;
  border-radius:8px;
  background: var(--bg-alt);
  color: var(--text-faint);
}
.schedule-mockup__days span.active{ background: var(--gradient); color:#04101a; font-weight:700; }
.schedule-mockup__event{ font-size:12px; color: var(--text-muted); padding:8px 0; border-top:1px solid var(--border); }

.optimise-row{ display:flex; justify-content:space-between; align-items:center; font-size:14px; padding:12px 0; border-bottom:1px solid var(--border); }
.optimise-row:last-child{ border-bottom:none; }

/* ============ Case studies / Testimonials carousels ============ */
.case-studies{ padding: 100px 0 80px; background: var(--bg-alt); }
.testimonials{ padding: 100px 0; }

.carousel{ overflow:hidden; padding: 0 0 0 24px; }
.carousel__track{
  display:flex;
  gap:24px;
  overflow-x:auto;
  scroll-snap-type: x proximity;
  scrollbar-width:none;
  padding: 4px 24px 20px 0;
}
.carousel__track::-webkit-scrollbar{ display:none; }

.case-card{
  scroll-snap-align:start;
  flex-shrink:0;
  width: min(420px, 82vw);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.case-card__quote{ font-size:18px; font-weight:600; line-height:1.4; margin:0 0 14px; }
.case-card__desc{ font-size:14px; color: var(--text-muted); margin:0 0 22px; }
.case-card__stats{ display:flex; gap:22px; padding-top:18px; border-top:1px solid var(--border); flex-wrap:wrap; }
.case-card__stats b{ display:block; font-size:20px; color: var(--teal); }
.case-card__stats span{ font-size:11px; color: var(--text-faint); }

.carousel__controls{ display:flex; align-items:center; gap:12px; }
.carousel__btn{
  width:40px; height:40px; border-radius:50%;
  background: var(--surface); border:1px solid var(--border-strong);
  color: var(--text); font-size:16px;
}
.carousel__btn:hover{ background: var(--surface-2); }
.carousel__hint{ font-size:12px; color: var(--text-faint); margin-left:8px; }

.testi-card{
  scroll-snap-align:start;
  flex-shrink:0;
  width: min(340px, 80vw);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:26px;
}
.testi-card p{ font-size:14px; color: var(--text-muted); margin:0 0 22px; line-height:1.6; }
.testi-card__author{ display:flex; align-items:center; gap:12px; }
.testi-card__author b{ display:block; font-size:14px; }
.testi-card__author span{ font-size:12px; color: var(--text-faint); }

/* ============ Benefits ============ */
.benefits{ padding: 100px 0; }
.benefits-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.benefit-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
.benefit-card__icon{
  display:flex; align-items:center; justify-content:center;
  width:46px; height:46px;
  margin-bottom:18px;
  border-radius:12px;
  background: var(--gradient-soft);
  border:1px solid rgba(45,232,197,0.22);
  color: var(--teal);
}
.benefit-card__icon svg{ width:22px; height:22px; }
.benefit-card h3{ font-size:17px; margin:0 0 10px; }
.benefit-card p{ font-size:14px; color: var(--text-muted); margin:0; }

/* ============ Lead alert flow ============ */
.leadflow{ margin-top: 96px; }
.leadflow__title{ font-size: clamp(24px, 3.2vw, 34px); font-weight:700; letter-spacing:-0.02em; margin:0 0 14px; max-width:720px; }
.leadflow__sub{ color: var(--text-muted); font-size:17px; max-width:560px; margin:0 0 48px; }
.leadflow__stage{
  --at:0;
  position:relative;
  display:grid; grid-template-columns: repeat(3, 1fr); gap:24px;
  margin-top: 12px;
  transition: opacity .5s ease;
}
.leadflow__stage.f-fade{ opacity:0; }

/* the track the dot travels along (sits level with the node icons) */
.lf-track{ position:absolute; top:155px; left:calc(100% / 6); right:calc(100% / 6); height:2px; background:rgba(255,255,255,.1); border-radius:2px; }
.lf-track__fill{ position:absolute; left:0; top:0; bottom:0; width:calc(var(--at) * 50%); background:var(--gradient); border-radius:2px; box-shadow:0 0 12px rgba(45,232,197,.5); transition: width 1.3s ease-in-out; }
.lf-dot{ position:absolute; top:1px; left:calc(var(--at) * 50%); width:16px; height:16px; margin:-8px 0 0 -8px; border-radius:50%; background:#fff; box-shadow:0 0 0 5px rgba(45,232,197,.25), 0 0 20px var(--teal); opacity:0; transition: left 1.3s ease-in-out, opacity .4s ease; }
.f-go .lf-dot{ opacity:1; }

.lf-node{ position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; }
.lf-chipbox{ height:112px; width:100%; display:flex; align-items:flex-end; justify-content:center; margin-bottom:16px; }
.lf-node__icon{
  position:relative; z-index:1;
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--surface); border:1px solid var(--border-strong); color:var(--text-faint);
  transition: color .4s ease, border-color .4s ease, box-shadow .4s ease, background .4s ease;
}
.lf-node__icon svg{ width:24px; height:24px; }
.lf-node.is-lit .lf-node__icon{ color:var(--teal); border-color:rgba(45,232,197,.6); background:var(--surface-2); box-shadow:0 0 0 6px rgba(45,232,197,.1), 0 0 26px rgba(45,232,197,.25); }
.lf-node h3{ font-size:19px; margin:18px 0 8px; opacity:.5; transition: opacity .5s ease; }
.lf-node p{ font-size:14px; color:var(--text-muted); margin:0; max-width:290px; opacity:.5; transition: opacity .5s ease; }
.lf-node.is-lit h3, .lf-node.is-lit p{ opacity:1; }

/* the little cards that pop above each stop */
.lf-chip{
  width:min(250px, 100%); padding:12px 14px; text-align:left;
  border-radius:16px; background:linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border-strong); box-shadow: var(--shadow);
  opacity:0; transform: translateY(14px) scale(.96);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.9,.3,1.2);
}
.f-1 .lf-chip--form, .f-2 .lf-chip--sms, .f-3 .lf-chip--call{ opacity:1; transform:none; }
.lf-chip__head{ display:flex; justify-content:space-between; align-items:center; font-size:10px; letter-spacing:.06em; color:var(--text-muted); margin-bottom:6px; }
.lf-chip__head em{ font-style:normal; color:#2de88a; font-weight:700; letter-spacing:0; }
.lf-chip__app{ display:inline-flex; align-items:center; gap:6px; }
.lf-chip__app i{ width:13px; height:13px; border-radius:4px; background:var(--gradient); display:inline-block; }
.lf-chip b{ display:block; font-size:14px; margin-bottom:3px; }
.lf-chip p{ margin:0; font-size:12.5px; line-height:1.5; color:var(--text-muted); max-width:none; opacity:1; }
.lf-chip u{ color:var(--teal); font-weight:600; text-decoration:underline; }
.lf-chip--sms{ border-color:rgba(45,232,197,.35); }
.f-2 .lf-chip--sms{ animation: lfBuzz .55s ease .15s 1; }
@keyframes lfBuzz{ 0%,100%{ transform:translateX(0) rotate(0); } 15%{ transform:translateX(-5px) rotate(-1.2deg); } 30%{ transform:translateX(5px) rotate(1.2deg); } 45%{ transform:translateX(-4px); } 60%{ transform:translateX(4px); } 80%{ transform:translateX(-1px); } }

.lf-chip--call{ text-align:center; padding:14px; }
.lf-chip--call small{ display:block; margin-top:8px; font-size:11px; color:var(--text-faint); }
.lf-call{ position:relative; display:flex; align-items:center; justify-content:center; gap:8px; height:44px; border-radius:12px; background:linear-gradient(90deg,#1fbf6f,#22d3a0); color:#04241a; font-weight:800; font-size:14px; transition: transform .2s ease, box-shadow .3s ease; }
.lf-call svg{ width:17px; height:17px; flex:none; }
.lf-call__txt{ display:grid; }
.lf-call__a, .lf-call__b{ grid-area:1 / 1; text-align:center; transition: opacity .3s ease; }
.lf-call__b{ opacity:0; }
.f-tap .lf-call{ transform:scale(.95); }
.f-tap .lf-call::after{ content:''; position:absolute; inset:-2px; border-radius:14px; border:2px solid #22d3a0; animation: lfRipple .6s ease-out 1; }
@keyframes lfRipple{ from{ transform:scale(1); opacity:.9; } to{ transform:scale(1.25,1.6); opacity:0; } }
.f-calling .lf-call{ transform:none; box-shadow:0 0 0 0 rgba(34,211,160,.5); animation: lfCallPulse 1.4s ease-out infinite; }
.f-calling .lf-call__a{ opacity:0; }
.f-calling .lf-call__b{ opacity:1; }
.f-calling .lf-chip--call small{ opacity:0; }
@keyframes lfCallPulse{ 0%{ box-shadow:0 0 0 0 rgba(34,211,160,.5); } 100%{ box-shadow:0 0 0 16px rgba(34,211,160,0); } }

.leadflow__note{ text-align:center; font-size:12px; color:var(--text-faint); margin:38px 0 0; }

/* Reduced motion: everything visible at once, no movement */
.leadflow__stage.is-static{ --at:2; }
.leadflow__stage.is-static .lf-dot{ opacity:0; }
.leadflow__stage.is-static .lf-track__fill, .leadflow__stage.is-static .lf-dot{ transition:none; }

@media (max-width: 900px){
  .leadflow{ margin-top: 72px; }
  .leadflow__stage{ grid-template-columns: 1fr; gap:0; }
  .lf-track{ display:none; }
  .lf-node + .lf-node{ margin-top:44px; }
  .lf-node + .lf-node::before{ content:''; position:absolute; left:50%; top:-44px; height:30px; width:2px; margin-left:-1px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0 5px, transparent 5px 10px); }
}

/* ============ FAQ ============ */
.faq{ padding: 100px 0; background: var(--bg-alt); }
.faq__inner{ display:grid; grid-template-columns: 0.8fr 1.2fr; gap:60px; }
.faq__list{ display:flex; flex-direction:column; gap:12px; }
.faq-item{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow:hidden;
}
.faq-item__q{
  width:100%;
  display:flex; justify-content:space-between; align-items:center;
  background:none; border:none;
  color: var(--text);
  font-size:15px; font-weight:600;
  padding: 18px 20px;
  text-align:left;
}
.faq-item__q span{ font-size:20px; color: var(--teal); transition: transform .25s ease; }
.faq-item.is-open .faq-item__q span{ transform: rotate(45deg); }
.faq-item__a{
  max-height:0;
  overflow:hidden;
  transition: max-height .3s ease;
}
.faq-item__a p{ padding: 0 20px 18px; margin:0; font-size:14px; color: var(--text-muted); }

/* ============ Apply / Contact ============ */
.apply{ padding: 110px 0; text-align:center; }
.apply__inner{ display:flex; flex-direction:column; align-items:center; }
.apply .section-sub{ margin-left:auto; margin-right:auto; }
.apply-guarantee{
  width:100%; max-width:640px; box-sizing:border-box; margin:0 0 20px;
  display:flex; flex-direction:column; gap:4px; text-align:center;
  padding:18px 22px; border-radius: var(--radius-lg);
  background: rgba(45,232,138,0.08); border:1px solid rgba(45,232,138,0.35);
}
.apply-guarantee b{ color: var(--green); font-size:17px; }
.apply-guarantee span{ color: var(--text-muted); font-size:14px; }
.apply-form{
  width:100%;
  max-width: 640px;
  text-align:left;
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.apply-form__row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13px; color: var(--text-muted); margin-bottom:7px; }
.field input, .field textarea, .field select{
  width:100%;
  background: var(--bg-alt);
  border:1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size:14px;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none;
  border-color: var(--teal);
}
.apply-form__submit{ width:100%; margin-top:4px; }
.apply-form__note{ text-align:center; margin: 14px 0 0; font-size:13px; color: var(--teal); min-height:16px; }
.apply-form__consent{ text-align:center; margin: 14px 0 0; font-size:12.5px; color: var(--text-faint); }
.apply-form__consent a{ color: var(--text-muted); text-decoration: underline; }
.apply--slim{ padding: 90px 0; }
.apply--slim .section-sub{ display:none; }

/* ============ Portfolio / Our Work ============ */
.portfolio-hero{
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}
.portfolio-hero__glow{
  position:absolute;
  top: -220px; left:50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(45,232,197,0.16), transparent 65%);
  pointer-events:none;
}
.portfolio-hero__head{
  position:relative;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom: 56px;
}
.portfolio-hero__head .section-title,
.portfolio-hero__head .section-sub{ margin-left:auto; margin-right:auto; }

.showcase{ display:flex; align-items:center; justify-content:center; gap:44px; max-width:1180px; }
.showcase__main{ flex:1; min-width:0; }
.showcase__phone{ flex:0 0 230px; }
.showcase__phone video{
  display:block; width:100%; aspect-ratio:640 / 1000; object-fit:cover;
  border-radius:32px; border:7px solid #070b16; background:var(--bg-alt);
  box-shadow: var(--shadow), 0 0 0 1px var(--border-strong);
}
.showcase .slideshow{ max-width:none; padding:0; }
.slideshow{
  position:relative;
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 0 8px;
}
.slideshow__viewport{
  flex:1;
  overflow:hidden;
  border-radius: var(--radius-lg);
}
.slideshow__track{
  display:flex;
  transition: transform .5s cubic-bezier(.65,0,.35,1);
}
.slide{
  flex: 0 0 100%;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.slide__media{
  position:relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--bg-alt);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.slide__media img{
  width:100%; height:100%;
  object-fit: cover;
}
.slide__placeholder{
  width:96px; height:96px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--gradient-soft);
  color: var(--teal);
}
.slide__placeholder svg{ width:44px; height:44px; }

.slideshow__arrow{
  flex-shrink:0;
  width:48px; height:48px;
  border-radius:50%;
  background: var(--surface);
  border:1px solid var(--border-strong);
  color: var(--text);
  font-size:18px;
  transition: background .2s ease, transform .2s ease;
}
.slideshow__arrow:hover{ background: var(--surface-2); transform: translateY(-2px); }

.slideshow__dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top: 28px;
}
.slideshow__dot{
  width:9px; height:9px;
  border-radius:50%;
  background: var(--border-strong);
  border:none;
  padding:0;
  transition: background .2s ease, transform .2s ease;
}
.slideshow__dot.is-active{
  background: var(--gradient);
  transform: scale(1.3);
}

/* ============ Footer ============ */
.footer{ padding: 70px 0 26px; border-top:1px solid var(--border); }
.footer__inner{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer__logo{ height:30px; margin-bottom:14px; }
.footer__brand p{ color: var(--text-muted); font-size:14px; max-width:280px; margin:0 0 20px; }
.footer__newsletter{ display:flex; max-width:280px; }
.footer__newsletter input{
  flex:1;
  background: var(--surface);
  border:1px solid var(--border);
  border-right:none;
  border-radius: 999px 0 0 999px;
  padding: 10px 16px;
  color: var(--text);
  font-size:13px;
}
.footer__newsletter input:focus{ outline:none; }
.footer__newsletter button{
  background: var(--gradient);
  border:none;
  color:#04101a;
  font-weight:700;
  padding: 0 18px;
  border-radius: 0 999px 999px 0;
}
.footer__col h4{ font-size:13px; text-transform:uppercase; letter-spacing:0.05em; color: var(--text-faint); margin:0 0 16px; }
.footer__col{ display:flex; flex-direction:column; gap:10px; font-size:14px; color: var(--text-muted); }
.footer__col a:hover{ color: var(--text); }
.footer__consent{ margin: 10px 0 0; font-size:12px; line-height:1.5; color: var(--text-faint); max-width: 320px; }
.footer__consent a{ color: var(--text-muted); text-decoration: underline; }
.footer__bottom{
  display:flex; justify-content:space-between;
  font-size:13px; color: var(--text-faint);
  padding-top: 26px;
  border-top:1px solid var(--border);
}

/* ============ Responsive ============ */
@media (max-width: 900px){
  .navbar__links{ display:none; }
  .navbar__burger{ display:flex; }
  .navbar.nav-open .navbar__links{
    display:flex;
    position:absolute;
    top:100%; left:0; right:0;
    flex-direction:column;
    align-items:flex-start;
    background: var(--bg);
    border-bottom:1px solid var(--border);
    padding: 20px 24px 28px;
    gap:18px;
  }
  .navbar.nav-open .navbar__cta{ margin-top:6px; }
  .hero__float{ display:none !important; }
  .service-block, .service-block--reverse .service-block__text, .service-block--reverse .service-block__visual{
    grid-template-columns: 1fr;
  }
  .service-block{ grid-template-columns: 1fr; }
  .service-block--reverse .service-block__text{ order:1; }
  .service-block--reverse .service-block__visual{ order:2; }
  .process-grid{ grid-template-columns: 1fr; }
  .benefits-grid{ grid-template-columns: 1fr 1fr; }
  .faq__inner{ grid-template-columns: 1fr; gap:30px; }
  .footer__inner{ grid-template-columns: 1fr 1fr; }
  .apply-form__row{ grid-template-columns: 1fr; }
  .showcase{ flex-direction:column; gap:36px; }
  .showcase__main{ width:100%; }
  .slideshow{ gap: 10px; }
  .slideshow__arrow{ width:40px; height:40px; font-size:15px; }
}
@media (max-width: 560px){
  .benefits-grid{ grid-template-columns: 1fr; }
  .footer__inner{ grid-template-columns: 1fr; }
  .hero{ padding: 140px 0 90px; }
  .hero__spin{ opacity:0.45; }
  .portfolio-hero{ padding: 130px 0 70px; }
  .slideshow{ gap: 6px; }
  .slideshow__arrow{ width:34px; height:34px; font-size:13px; }
  .slide{ grid-template-columns: 1fr; }
  .showcase .slideshow__arrow{ display:none; }   /* swipe + dots on small screens */
  .showcase__phone{ flex-basis:auto; width:min(230px, 70%); }
}

/* ---------- Mobile videos (work page) ---------- */
.mobile-videos{ padding: 30px 0 90px; }
.mobile-videos__head{ text-align:center; max-width:640px; margin:0 auto 48px; }
.mobile-videos__grid{ display:flex; justify-content:center; gap:40px; flex-wrap:wrap; }
.mobile-video{ margin:0; width:300px; text-align:center; }
.mobile-video video{ width:100%; height:auto; aspect-ratio:640 / 1000; display:block; border-radius:24px; background:var(--bg-alt); }
.mobile-video figcaption{ margin-top:14px; font-size:14px; color:var(--text-muted); }
@media (max-width:600px){ .mobile-video{ width:100%; max-width:300px; } .mobile-videos__grid{ gap:28px; } }


/* ============ Legal pages ============ */
.legal{ padding: 150px 0 90px; }
.legal__inner{ max-width: 760px; }
.legal .section-title{ margin-bottom: 8px; }
.legal__updated{ color: var(--text-faint); font-size:14px; margin: 0 0 28px; }
.legal h2{ font-size: 20px; margin: 34px 0 10px; color: var(--text); }
.legal p, .legal li{ color: var(--text-muted); line-height: 1.7; font-size: 16px; }
.legal ul{ padding-left: 20px; margin: 10px 0; }
.legal li{ margin-bottom: 8px; }
.legal li strong{ color: var(--text); }
.legal a{ color: var(--teal); text-decoration: underline; }
