/* ==========================================================================
   KAIZEN CORE AUTOMATION LABS — funnel stylesheet
   ========================================================================== */

:root{
  --bg:            #07070a;
  --bg-alt:        #0c0e15;
  --surface:       #101219;
  --surface-2:     #15171f;
  --border:        #23252f;
  --border-soft:   #1a1c24;

  --white:         #f6f6f8;
  --gray:          #9a9ca8;
  --gray-dim:      #6c6e7a;

  --red:           #e5253f;
  --red-deep:      #a3132a;
  --red-glow:      rgba(229,37,63,.35);
  --red-glow-soft: rgba(229,37,63,.14);

  --light-bg:      #f7f5f3;
  --light-surface: #ffffff;
  --light-border:  #e7e3df;
  --ink:           #131318;
  --ink-gray:      #5c5c66;

  --font-head: 'Manrope', -apple-system, Segoe UI, sans-serif;
  --font-body: 'Inter', -apple-system, Segoe UI, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.22,.9,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--white);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-head); margin:0; line-height:1.1; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }

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

.text-red{ color:var(--red); }

.eyebrow{
  display:flex; align-items:center; gap:9px;
  font-family:var(--font-head);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  color:var(--red);
  margin:0 0 18px;
  text-transform:uppercase;
}
.eyebrow-dark{ color:var(--red-deep); }
.eyebrow-center{ justify-content:center; }
.eyebrow-dot{
  width:6px; height:6px; border-radius:50%;
  background:var(--red);
  box-shadow:0 0 10px var(--red-glow);
  flex:none;
}

.section-headline{
  font-size:clamp(30px,4.4vw,50px);
  font-weight:800;
  letter-spacing:-.01em;
  color:var(--white);
  margin:0 0 18px;
  text-transform:uppercase;
}
.section-headline.dark{ color:var(--ink); }
.section-headline.center{ text-align:center; }

.section-sub{
  font-size:16px;
  line-height:1.6;
  color:var(--gray);
  max-width:640px;
  margin:0 0 28px;
}
.section-sub.dark{ color:var(--ink-gray); }
.section-headline.center + .section-sub,
.section-sub.center{ margin-left:auto; margin-right:auto; text-align:center; }

.light-section{ background:var(--light-bg); }

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border:none; border-radius:999px;
  font-family:var(--font-head);
  font-weight:700;
  letter-spacing:.03em;
  white-space:nowrap;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn .arrow{ transition:transform .2s var(--ease); }
.btn:hover .arrow{ transform:translateX(3px); }

.btn-primary{
  background:linear-gradient(180deg,#ef2f47,var(--red) 55%,var(--red-deep));
  color:#fff;
  box-shadow:0 8px 24px -8px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 12px 30px -8px var(--red-glow); }
.btn-primary:active{ transform:translateY(0); }

.btn-ghost{
  background:rgba(255,255,255,.03);
  color:var(--white);
  border:1px solid var(--border);
}
.btn-ghost:hover{ border-color:var(--red); background:rgba(229,37,63,.06); transform:translateY(-2px); }
.play-icon{ color:var(--red); font-size:11px; }

.btn-sm{ padding:11px 20px; font-size:12.5px; }
.btn-md{ padding:14px 26px; font-size:13.5px; }
.btn-lg{ padding:17px 30px; font-size:14px; }
.btn-block{ width:100%; }

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(7,7,10,.72);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:background .3s var(--ease);
}
.header-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
}
.brand{ display:flex; align-items:center; gap:11px; flex:none; }
.brand-mark{
  width:36px; height:36px; border-radius:9px;
  background:linear-gradient(155deg,var(--red),var(--red-deep));
  color:#fff; font-family:var(--font-head); font-weight:800; font-size:17px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset, 0 6px 16px -6px var(--red-glow);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-line1{ font-family:var(--font-head); font-weight:800; font-size:14px; letter-spacing:.03em; color:var(--white); }
.brand-line2{ font-family:var(--font-head); font-weight:600; font-size:9.5px; letter-spacing:.16em; color:var(--gray); }

.main-nav{ display:flex; align-items:center; gap:30px; }
.main-nav a{
  font-size:13.5px; font-weight:600; color:var(--gray);
  transition:color .2s var(--ease);
  position:relative;
}
.main-nav a:hover{ color:var(--white); }
.main-nav a::after{
  content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background:var(--red); transform:scaleX(0); transform-origin:left;
  transition:transform .25s var(--ease);
}
.main-nav a:hover::after{ transform:scaleX(1); }

.header-actions{ display:flex; align-items:center; gap:14px; }
.header-cta{ display:inline-flex; }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; border:1px solid var(--border); border-radius:8px;
  background:transparent;
}
.nav-toggle span{ width:16px; height:2px; background:var(--white); margin:0 auto; transition:transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none;
  flex-direction:column; gap:2px;
  max-height:0; overflow:hidden;
  border-top:1px solid var(--border-soft);
  background:var(--bg);
  transition:max-height .3s var(--ease);
}
.mobile-nav.open{ max-height:520px; }
.mobile-nav a{
  padding:14px 24px; font-size:14.5px; font-weight:600; color:var(--gray);
  border-bottom:1px solid var(--border-soft);
}
.mobile-nav .btn{ margin:16px 24px 20px; }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
.hero{ position:relative; padding:72px 0 88px; overflow:hidden; }
.hero-bg{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(720px 420px at 82% -6%, var(--red-glow-soft), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(229,37,63,.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero-bg::after{
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(circle at 70% 20%, black, transparent 70%);
}
.hero-inner{
  position:relative; z-index:1;
  max-width:var(--container); margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;
}
.hero-headline{
  font-size:clamp(36px,5.4vw,60px);
  font-weight:800; letter-spacing:-.015em; text-transform:uppercase;
  margin:0 0 22px;
}
.hero-sub{ font-size:17px; line-height:1.65; color:var(--gray); max-width:520px; margin:0 0 34px; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:44px; }

.hero-benefits{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; max-width:560px; }
.benefit-block{
  padding:16px 14px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  display:flex; flex-direction:column; gap:4px;
}
.benefit-line1{ font-family:var(--font-head); font-weight:800; font-size:12.5px; letter-spacing:.02em; color:var(--red); }
.benefit-line2{ font-size:12px; color:var(--gray); font-weight:500; }

/* Hero visual — workflow stack */
.hero-visual{ position:relative; }
.visual-frame{
  position:relative;
  background:linear-gradient(180deg, var(--surface), var(--bg-alt));
  border:1px solid var(--border);
  border-radius:20px;
  padding:26px 22px 22px;
  box-shadow:0 30px 70px -30px rgba(0,0,0,.7);
}
.visual-tag{
  display:inline-block; font-size:10px; font-weight:700; letter-spacing:.14em;
  color:var(--gray-dim); border:1px solid var(--border); border-radius:999px;
  padding:5px 10px; margin-bottom:18px;
}
.flow-track{ position:relative; display:flex; flex-direction:column; gap:14px; padding-left:22px; }
.flow-line{ position:absolute; left:9px; top:8px; bottom:8px; width:2px; height:auto; overflow:visible; }
.flow-line line{
  stroke:var(--red); stroke-opacity:.35; stroke-width:2;
  stroke-dasharray:6 7;
  animation:flowDash 2.4s linear infinite;
}
@keyframes flowDash{ to{ stroke-dashoffset:-26; } }

.flow-node{
  position:relative;
  display:flex; align-items:center; gap:13px;
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:12px;
  padding:13px 14px;
  transition:border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.flow-node::before{
  content:''; position:absolute; left:-22px; top:50%; width:9px; height:9px;
  border-radius:50%; background:var(--bg-alt); border:2px solid var(--red);
  transform:translateY(-50%);
}
.flow-node-icon{
  flex:none; width:36px; height:36px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(229,37,63,.09); color:var(--red);
}
.flow-node-icon svg{ width:18px; height:18px; }
.flow-node-copy{ display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.flow-node-title{ font-family:var(--font-head); font-weight:700; font-size:13.5px; color:var(--white); }
.flow-node-sub{ font-size:11.5px; color:var(--gray-dim); }
.flow-node-status{
  flex:none; font-size:9.5px; font-weight:700; letter-spacing:.08em;
  padding:5px 9px; border-radius:999px; text-transform:uppercase;
  background:rgba(255,255,255,.05); color:var(--gray);
  border:1px solid var(--border);
}
.flow-node-status.status-active,
.flow-node-status.status-booked{ color:var(--red); border-color:rgba(229,37,63,.4); background:rgba(229,37,63,.1); }

.flow-node:hover,.flow-node:focus-visible{
  transform:translateX(4px);
  border-color:var(--red);
  background:var(--surface);
  box-shadow:0 10px 26px -14px var(--red-glow);
  outline:none;
}
.flow-node:hover .flow-node-icon{ background:var(--red); color:#fff; }
.flow-node:hover::before{ box-shadow:0 0 0 5px var(--red-glow-soft); }

/* -------------------------------------------------------------------- */
/* VSL                                                                   */
/* -------------------------------------------------------------------- */
.vsl-section{ background:var(--bg); padding:96px 0; border-top:1px solid var(--border-soft); }
.vsl-player{ margin-top:44px; }
.vsl-frame{
  position:relative;
  max-width:960px; margin:0 auto;
  aspect-ratio:16/9;
  border-radius:20px;
  overflow:hidden;
  background:#000;
  border:1px solid var(--border);
  box-shadow:0 40px 90px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(229,37,63,.08);
}
.vsl-frame video{ width:100%; height:100%; object-fit:cover; display:block; background:#000; }
.vsl-overlay{
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px;
  background:radial-gradient(600px 400px at 50% 40%, rgba(229,37,63,.14), rgba(0,0,0,.72) 70%);
  border:none;
  transition:opacity .35s var(--ease);
}
.vsl-frame.unlocked .vsl-overlay{ opacity:0; pointer-events:none; }
.vsl-play-btn{
  width:78px; height:78px; border-radius:50%;
  background:linear-gradient(180deg,#ef2f47,var(--red-deep));
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 10px rgba(229,37,63,.12), 0 20px 40px -14px var(--red-glow);
  transition:transform .25s var(--ease);
}
.vsl-play-btn .play-icon{ color:#fff; font-size:22px; margin-left:3px; }
.vsl-overlay:hover .vsl-play-btn{ transform:scale(1.06); }
.vsl-overlay-label{ font-family:var(--font-head); font-weight:700; font-size:12.5px; letter-spacing:.1em; color:var(--white); }

/* -------------------------------------------------------------------- */
/* Trust strip                                                          */
/* -------------------------------------------------------------------- */
.trust-strip{ background:var(--bg-alt); padding:88px 0; border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); }
.trust-head{ text-align:center; max-width:640px; margin:0 auto 48px; }
.trust-head .section-sub{ margin-left:auto; margin-right:auto; }
.trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.trust-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px 20px;
  transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.trust-card:hover{ border-color:rgba(229,37,63,.4); transform:translateY(-4px); }
.trust-icon{
  width:40px; height:40px; border-radius:10px;
  background:rgba(229,37,63,.1); color:var(--red);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.trust-icon svg{ width:20px; height:20px; }
.trust-card h3{ font-size:13px; font-weight:800; letter-spacing:.03em; margin-bottom:8px; }
.trust-card p{ font-size:13.5px; color:var(--gray); line-height:1.55; }

/* -------------------------------------------------------------------- */
/* Value proposition (light)                                            */
/* -------------------------------------------------------------------- */
.value-prop{ padding:100px 0; }
.value-prop-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }

.dashboard-mock{
  position:relative;
  background:linear-gradient(180deg,#131319,#0b0c11);
  border:1px solid #26262f;
  border-radius:18px;
  padding:20px 20px 18px;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.35);
}
.dashboard-tag{
  position:absolute; top:-12px; left:20px;
  background:var(--red); color:#fff; font-size:10px; font-weight:700; letter-spacing:.08em;
  padding:5px 10px; border-radius:999px;
}
.dashboard-mock-head{ display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.dot{ width:8px; height:8px; border-radius:50%; }
.dot-r{ background:#ef4a5a; } .dot-y{ background:#f2b73f; } .dot-g{ background:#3fcf7a; }
.dashboard-title{ margin-left:8px; font-family:var(--font-head); font-weight:700; font-size:13px; color:var(--white); }
.dashboard-rows{ display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.dashboard-row{
  display:grid; grid-template-columns:1fr 1fr auto; align-items:center; gap:10px;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06);
  border-radius:9px; padding:11px 12px;
}
.row-name{ font-size:12.5px; font-weight:600; color:var(--white); }
.row-source{ font-size:11.5px; color:var(--gray-dim); }
.pill{ font-size:9.5px; font-weight:700; letter-spacing:.06em; padding:4px 9px; border-radius:999px; text-align:center; }
.pill-new{ background:rgba(120,140,255,.15); color:#9fb0ff; }
.pill-followup{ background:rgba(242,183,63,.15); color:#f2c968; }
.pill-qualified{ background:rgba(90,200,150,.15); color:#7ee3b3; }
.pill-booked{ background:rgba(229,37,63,.16); color:#ff7d8c; }
.dashboard-footer{ border-top:1px solid rgba(255,255,255,.06); padding-top:14px; }
.mini-chart{ display:flex; align-items:flex-end; gap:6px; height:44px; margin-bottom:8px; }
.mini-chart span{ flex:1; height:var(--h); background:linear-gradient(180deg,var(--red),var(--red-deep)); border-radius:3px 3px 0 0; opacity:.85; }
.dashboard-footer-label{ font-size:10.5px; color:var(--gray-dim); }

/* -------------------------------------------------------------------- */
/* What we build                                                        */
/* -------------------------------------------------------------------- */
.what-we-build{ background:var(--bg); padding:100px 0; }
.build-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:44px; }
.build-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px 24px;
  transition:border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.build-card:hover{ border-color:rgba(229,37,63,.45); transform:translateY(-5px); background:var(--surface-2); }
.build-icon{
  width:44px; height:44px; border-radius:11px;
  background:rgba(229,37,63,.1); color:var(--red);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  transition:background .25s var(--ease), color .25s var(--ease);
}
.build-icon svg{ width:22px; height:22px; }
.build-card:hover .build-icon{ background:var(--red); color:#fff; }
.build-card h3{ font-size:15.5px; font-weight:800; letter-spacing:.01em; margin-bottom:10px; text-transform:uppercase; }
.build-card p{ font-size:13.5px; color:var(--gray); line-height:1.6; }

/* -------------------------------------------------------------------- */
/* Ecosystem                                                             */
/* -------------------------------------------------------------------- */
.ecosystem{ background:var(--bg-alt); padding:100px 0; border-top:1px solid var(--border-soft); }
.ecosystem-diagram{
  position:relative;
  margin-top:52px;
  display:grid; grid-template-columns:1fr auto 1fr; gap:28px; align-items:center;
}
.ecosystem-lines{ position:absolute; inset:0; width:100%; height:100%; z-index:0; overflow:visible; pointer-events:none; }
.ecosystem-lines path{
  fill:none; stroke:var(--red); stroke-width:1.6; stroke-opacity:.4;
  stroke-dasharray:5 6;
  animation:flowDash 3s linear infinite;
  transition:stroke-opacity .25s var(--ease);
}
.ecosystem-lines path.active{ stroke-opacity:.85; stroke-width:2; }

.eco-col{ position:relative; z-index:1; display:flex; flex-direction:column; gap:10px; }
.eco-col-label{ font-size:10px; font-weight:700; letter-spacing:.14em; color:var(--gray-dim); margin-bottom:4px; }
.eco-sources{ align-items:stretch; }
.eco-outputs{ align-items:stretch; }

.eco-node{
  display:flex; align-items:center; gap:10px;
  background:var(--surface); border:1px solid var(--border); border-radius:10px;
  padding:11px 14px; font-size:13px; font-weight:600; color:var(--gray);
  transition:border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
  text-align:left;
}
.eco-node-icon{ color:var(--red); font-size:14px; flex:none; }
.eco-node:hover,.eco-node.eco-active{
  border-color:var(--red); color:var(--white); background:var(--surface-2); transform:scale(1.03);
}

.eco-core{ display:flex; align-items:center; justify-content:center; }
.eco-core-node{
  position:relative;
  width:150px; height:150px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  background:radial-gradient(circle at 35% 30%, #1c1015, var(--surface) 70%);
  border:1.5px solid rgba(229,37,63,.5);
  box-shadow:0 0 0 10px rgba(229,37,63,.06), 0 30px 60px -24px var(--red-glow);
}
.eco-core-ring{
  position:absolute; inset:-14px; border-radius:50%;
  border:1px dashed rgba(229,37,63,.3);
  animation:spin 24s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }
.eco-core-label{ font-family:var(--font-head); font-weight:800; font-size:13px; letter-spacing:.03em; color:var(--white); }

/* -------------------------------------------------------------------- */
/* Results (light)                                                      */
/* -------------------------------------------------------------------- */
.results{ padding:100px 0; }
.results-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.promise-card{
  background:var(--light-surface);
  border:1px solid var(--light-border);
  border-radius:var(--radius);
  padding:32px 28px;
  box-shadow:0 30px 60px -34px rgba(20,20,25,.18);
}
.promise-tag{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.1em;
  color:var(--red); border:1px solid rgba(229,37,63,.3); background:rgba(229,37,63,.06);
  padding:6px 12px; border-radius:999px; margin-bottom:20px;
}
.promise-list{ display:flex; flex-direction:column; gap:14px; }
.promise-list li{ display:flex; align-items:flex-start; gap:10px; font-size:14.5px; font-weight:600; color:var(--ink); }
.check{ color:var(--red); font-weight:800; flex:none; }

/* -------------------------------------------------------------------- */
/* How it works                                                         */
/* -------------------------------------------------------------------- */
.how-it-works{ background:var(--bg); padding:100px 0; }
.timeline{ position:relative; margin-top:52px; display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.timeline-track{
  position:absolute; top:15px; left:4%; right:4%; height:2px;
  background:linear-gradient(90deg, transparent, var(--border) 6%, var(--border) 94%, transparent);
}
.timeline-step{ position:relative; padding-top:40px; }
.step-num{
  position:absolute; top:0; left:0;
  width:32px; height:32px; border-radius:50%;
  background:var(--surface-2); border:1.5px solid var(--red);
  color:var(--red); font-family:var(--font-head); font-weight:800; font-size:11.5px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 5px var(--bg);
}
.timeline-step h3{ font-size:14px; font-weight:800; letter-spacing:.04em; margin-bottom:8px; }
.timeline-step p{ font-size:12.8px; color:var(--gray); line-height:1.55; }
.how-cta{ display:flex; justify-content:center; margin-top:56px; }

/* -------------------------------------------------------------------- */
/* FAQ (light)                                                          */
/* -------------------------------------------------------------------- */
.faq{ padding:100px 0; }
.accordion{ max-width:760px; margin:44px auto 0; display:flex; flex-direction:column; gap:12px; }
.accordion-item{
  background:var(--light-surface);
  border:1px solid var(--light-border);
  border-radius:var(--radius-sm);
  overflow:hidden;
}
.accordion-trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:none; border:none; text-align:left;
  padding:19px 22px;
  font-family:var(--font-head); font-weight:700; font-size:15px; color:var(--ink);
}
.accordion-icon{ color:var(--red); font-size:19px; font-weight:600; transition:transform .25s var(--ease); flex:none; }
.accordion-trigger[aria-expanded="true"] .accordion-icon{ transform:rotate(45deg); }
.accordion-panel{ max-height:0; overflow:hidden; transition:max-height .3s var(--ease); }
.accordion-panel p{ padding:0 22px 20px; font-size:14.5px; line-height:1.65; color:var(--ink-gray); }
.faq-cta{ display:flex; justify-content:center; margin-top:44px; }

/* -------------------------------------------------------------------- */
/* Final CTA                                                            */
/* -------------------------------------------------------------------- */
.final-cta{
  position:relative;
  background:
    radial-gradient(700px 420px at 85% 10%, var(--red-glow-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  padding:110px 0; border-top:1px solid var(--border-soft);
  overflow:hidden;
}
.final-cta-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.final-cta-note{ margin-top:16px; font-size:13px; color:var(--gray-dim); }

.funnel-viz{ display:flex; flex-direction:column; align-items:center; gap:8px; max-width:320px; margin:0 auto; }
.funnel-step{
  width:100%; text-align:center;
  padding:14px 16px; border-radius:10px;
  background:var(--surface); border:1px solid var(--border);
  font-family:var(--font-head); font-weight:700; font-size:12.5px; letter-spacing:.08em; color:var(--gray);
  transition:border-color .2s, color .2s;
}
.funnel-step-final{ border-color:var(--red); color:#fff; background:linear-gradient(180deg,#3a0d15,var(--surface)); box-shadow:0 0 0 6px var(--red-glow-soft); }
.funnel-arrow{ color:var(--red); font-size:14px; }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */
.site-footer{ background:var(--bg); border-top:1px solid var(--border-soft); padding:64px 0 0; }
.footer-inner{ display:grid; grid-template-columns:1.2fr 1fr auto; gap:40px; padding-bottom:44px; align-items:start; }
.footer-brand .brand{ margin-bottom:14px; }
.footer-tagline{ font-size:13.5px; color:var(--gray-dim); line-height:1.6; max-width:320px; }
.footer-nav{ display:flex; flex-direction:column; gap:12px; }
.footer-nav a,.footer-nav button{
  background:none; border:none; text-align:left; color:var(--gray); font-size:13.5px; font-weight:500;
  transition:color .2s;
}
.footer-nav a:hover,.footer-nav button:hover{ color:var(--white); }
.footer-cta{ display:flex; align-items:flex-start; justify-content:flex-end; }
.footer-bottom{
  border-top:1px solid var(--border-soft);
  padding:20px 24px; text-align:center;
  font-size:12px; color:var(--gray-dim);
}

/* -------------------------------------------------------------------- */
/* Modals                                                                */
/* -------------------------------------------------------------------- */
.modal-backdrop{
  position:fixed; inset:0; z-index:1000;
  background:rgba(4,4,6,.72);
  backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .25s var(--ease);
}
.modal-backdrop.open{ opacity:1; pointer-events:auto; }
.modal{
  position:relative;
  width:100%; max-width:440px;
  background:linear-gradient(180deg,var(--surface),var(--bg-alt));
  border:1px solid var(--border);
  border-radius:20px;
  padding:36px 32px 32px;
  box-shadow:0 50px 100px -30px rgba(0,0,0,.8);
  transform:translateY(16px) scale(.98); opacity:0;
  transition:transform .3s var(--ease), opacity .3s var(--ease);
  max-height:90vh; overflow-y:auto;
}
.modal-backdrop.open .modal{ transform:translateY(0) scale(1); opacity:1; }
.modal-close{
  position:absolute; top:16px; right:16px;
  width:32px; height:32px; border-radius:50%;
  background:rgba(255,255,255,.05); border:1px solid var(--border);
  color:var(--gray); font-size:18px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, color .2s;
}
.modal-close:hover{ background:var(--red); color:#fff; border-color:var(--red); }
.modal-title{ font-size:23px; font-weight:800; text-transform:uppercase; letter-spacing:-.01em; margin:0 0 12px; color:var(--white); }
.modal-sub{ font-size:13.5px; color:var(--gray); line-height:1.6; margin:0 0 24px; }

.field{ margin-bottom:14px; display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:11.5px; font-weight:700; letter-spacing:.05em; color:var(--gray-dim); text-transform:uppercase; }
.field input{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius:9px;
  padding:13px 14px;
  font-size:14.5px; color:var(--white);
  font-family:var(--font-body);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder{ color:var(--gray-dim); }
.field input:focus{ outline:none; border-color:var(--red); background:rgba(255,255,255,.05); }
.field input:invalid:not(:placeholder-shown){ border-color:rgba(239,90,90,.5); }

.form-error{
  font-size:12.5px; color:#ff7d7d; background:rgba(239,68,68,.1);
  border:1px solid rgba(239,68,68,.3); border-radius:8px; padding:10px 12px;
  margin-bottom:14px;
}
.btn[disabled]{ opacity:.65; pointer-events:none; }

.hp-field{
  position:absolute !important;
  left:-9999px !important; top:-9999px !important;
  width:1px !important; height:1px !important;
  opacity:0 !important; overflow:hidden !important;
}

.calendly-wrap{ width:100%; height:560px; border-radius:12px; overflow:hidden; background:#fff; }
.calendly-wrap iframe{ width:100%; height:100%; border:0; }

/* -------------------------------------------------------------------- */
/* Scroll reveal                                                        */
/* -------------------------------------------------------------------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .eco-core-ring,.mini-chart span,.flow-line line,.ecosystem-lines path{ animation:none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1080px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; }
  .value-prop-grid,.results-grid,.final-cta-grid{ grid-template-columns:1fr; }
  .value-prop-visual,.final-cta-visual{ order:-1; }
  .build-grid{ grid-template-columns:repeat(2,1fr); }
  .trust-grid{ grid-template-columns:repeat(2,1fr); }
  .timeline{ grid-template-columns:repeat(3,1fr); row-gap:36px; }
  .timeline-track{ display:none; }
}

@media (max-width:860px){
  .main-nav{ display:none; }
  .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-nav{ display:flex; }
  .ecosystem-diagram{ grid-template-columns:1fr; }
  .eco-core{ order:-1; padding:20px 0; }
  .ecosystem-lines{ display:none; }
}

@media (max-width:640px){
  .header-inner{ padding:12px 18px; }
  .section-inner{ padding:0 18px; }
  .hero{ padding:44px 0 56px; }
  .hero-headline{ font-size:clamp(30px,9vw,40px); }
  .hero-sub{ font-size:15.5px; }
  .hero-ctas{ flex-direction:column; }
  .hero-ctas .btn{ width:100%; }
  .hero-benefits{ grid-template-columns:1fr; }
  .vsl-section,.trust-strip,.value-prop,.what-we-build,.ecosystem,.results,.how-it-works,.faq,.final-cta{ padding:64px 0; }
  .trust-grid{ grid-template-columns:1fr; }
  .build-grid{ grid-template-columns:1fr; }
  .timeline{ grid-template-columns:1fr; row-gap:26px; }
  .footer-inner{ grid-template-columns:1fr; gap:28px; }
  .footer-cta{ justify-content:flex-start; }
  .modal{ padding:28px 20px 24px; border-radius:16px; max-width:100%; }
  .calendly-wrap{ height:70vh; }
  .section-headline{ font-size:clamp(26px,8vw,34px); }
}
