/* ============================================================
   LEAP — Components & Sections
   ============================================================ */

/* ============================================================
   SECTION 1 — FOUR-LAYER FLOWCHART
   ============================================================ */
.flow {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr .82fr;
  gap: 20px;
  align-items: stretch;
}
.flow-col { display: flex; flex-direction: column; gap: 16px; }
.layer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-sm);
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}
.layer-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600);
  margin-bottom: 6px;
}
.layer-tag .n {
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-tint); color: var(--accent-600);
  display: grid; place-items: center; font-size: 11px; font-weight: 600;
}
.layer h3 { font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.layer-sub { font-size: 13.5px; color: var(--slate); margin-bottom: 16px; text-wrap: pretty; }

/* Intelligence layer */
.intel-card {
  background: var(--bg-blue);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
}
.intel-card + .intel-card { margin-top: 12px; }
.intel-card .head { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 12px; }
.intel-list { display: flex; flex-direction: column; gap: 11px; }
.intel-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--slate); line-height: 1.45; }
.intel-item .ic {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--navy);
}
.intel-item .ic svg { width: 14px; height: 14px; }
.intel-item b { color: var(--ink); font-weight: 600; }

/* Orchestration layer */
.orch-grid { display: grid; grid-template-columns: 150px 1fr; gap: 18px; flex: 1; }
.agent-stack { display: flex; flex-direction: column; gap: 8px; }
.agent-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.agent-head .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.agent-head .ic svg { width: 15px; height: 15px; }
.agent-chip {
  font-size: 12px; color: var(--slate); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px;
  display: flex; align-items: center; gap: 7px;
}
.agent-chip .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.compare { display: flex; align-items: center; gap: 12px; justify-content: center; }
.phone {
  width: 82px; flex: none; min-height: 152px;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 14px; padding: 11px 9px 13px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 3px; background: #d7deea;
}
.phone.win { border-color: var(--accent); box-shadow: 0 8px 22px rgba(255,128,0,.2); }
.wf-bar { background: #e6ebf3; border-radius: 4px; height: 8px; margin-bottom: 6px; }
.wf-bar.big { height: 30px; margin-bottom: 8px; }
.wf-bar.w70 { width: 70%; } .wf-bar.w50 { width: 50%; } .wf-bar.w85 { width: 85%; }
.wf-spacer { flex: 1; min-height: 8px; }
.wf-bar.cta { height: 16px; width: 64%; background: #c7d0df; border-radius: 5px; }
.phone.win .wf-bar.cta.accent { background: var(--accent); }
.phone.win .wf-bar.accent { background: var(--accent); }
.phone.win .wf-bar.accent-soft { background: var(--orange-300); }
.compare-arrow { color: var(--slate-soft); flex: none; }
.compare-arrow svg { width: 22px; height: 22px; }

.score-block { text-align: center; margin-top: 10px; }
.ring { width: 64px; height: 64px; margin: 0 auto 6px; }
.ring .num { font-family: var(--mono); font-weight: 600; }
.score-label { font-size: 12px; font-weight: 600; color: var(--ink); }
.score-meta { font-size: 11px; color: var(--slate); margin-top: 3px; line-height: 1.5; }
.score-meta .crit { color: #dc2626; font-weight: 600; }
.score-meta .maj { color: var(--orange-600); font-weight: 600; }
.score-meta .lift { color: #16a34a; font-weight: 600; }

/* Activation layer */
.integrations { display: flex; flex-direction: column; gap: 9px; }
.intg {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 11px 14px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.intg:hover { transform: translateX(3px); box-shadow: var(--sh-sm); border-color: #cdd6e6; }
.intg .logo { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.intg.more { justify-content: center; color: var(--slate-soft); font-style: italic; border-style: dashed; }

/* HITL band */
.hitl {
  margin-top: 20px;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-800) 100%);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  color: #fff; box-shadow: var(--sh-md);
}
.hitl .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.hitl .ic svg { width: 22px; height: 22px; color: var(--orange-300); }
.hitl .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); display: inline-flex; align-items: center; gap: 8px; }
.hitl .tag .hitl-n { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,176,91,.18); color: var(--orange-300); display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.hitl h3 { font-size: 19px; margin: 2px 0 4px; color: #fff; padding-bottom: 0; }
.hitl p { font-size: 14.5px; color: rgba(255,255,255,.78); }
.hitl .accent-text { color: var(--orange-300); font-weight: 600; font-style: italic; }
.hitl .txt { flex: 1; min-width: 280px; }

@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .orch-grid { grid-template-columns: 130px 1fr; }
}
@media (max-width: 520px) {
  .orch-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 2 — BENEFIT CARDS
   ============================================================ */
.bg { background: var(--bg); }
.bg-blue { background: var(--bg-blue); }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; }
.benefit {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
  position: relative; overflow: hidden;
}
.benefit::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .35s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.benefit:hover::after { transform: scaleY(1); }
.benefit .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-tint); color: var(--accent-600); display: grid; place-items: center; margin-bottom: 20px; }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 21px; color: var(--ink); margin-bottom: 11px; }
.benefit p { font-size: 15px; color: var(--slate); text-wrap: pretty; }
@media (max-width: 760px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION 3 — LEARNING ENGINE (interactive)
   ============================================================ */
.engine { margin-top: 52px; }

/* layout switch control */
.layout-switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-blue); border-radius: 999px; border: 1px solid var(--line); margin-top: 22px; }
.layout-switch button { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--slate); transition: all .2s; }
.layout-switch button.active { background: #fff; color: var(--navy); box-shadow: var(--sh-sm); }

/* Variant A : vertical tabs left, visual right */
.engine.layout-a .engine-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: stretch; }
.tablist { display: flex; flex-direction: column; gap: 8px; }
.engine.layout-b .tablist { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.tab {
  text-align: left; display: flex; gap: 15px; align-items: flex-start;
  padding: 17px 19px; border-radius: var(--r-md);
  border: 1px solid transparent; transition: all .25s; width: 100%;
}
.tab .tnum {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--slate);
  display: grid; place-items: center; transition: all .25s;
}
.tab .ttitle { font-weight: 600; font-size: 16px; color: var(--ink); transition: color .2s; }
.tab .tdesc { font-size: 13.5px; color: var(--slate); margin-top: 5px; line-height: 1.5; display: none; text-wrap: pretty; }
.tab:hover { background: var(--bg-blue); }
.tab.active { background: #fff; border-color: var(--line); box-shadow: var(--sh-md); }
.tab.active .tnum { background: var(--accent); color: #fff; border-color: var(--accent); }
.tab.active .ttitle { color: var(--accent-600); }
.tab.active .tdesc { display: block; }

/* Variant B : horizontal stepper on top */
.engine.layout-b .engine-grid { display: block; }
.engine.layout-b .tablist {
  border-bottom: 1px solid var(--line); padding-bottom: 0; gap: 4px; margin-bottom: 0;
  flex-wrap: nowrap; overflow-x: auto;
}
.engine.layout-b .tab {
  width: auto; flex: 1; min-width: 150px; flex-direction: column; gap: 9px;
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  padding: 14px 16px 18px;
}
.engine.layout-b .tab .tdesc { display: none !important; }
.engine.layout-b .tab.active { background: none; box-shadow: none; border-bottom-color: var(--accent); }
.engine.layout-b .stage { margin-top: 30px; }
.engine.layout-b .stage-copy { max-width: 620px; margin-bottom: 24px; }
.engine.layout-a .stage-copy { display: none; }
.engine.layout-b .stage-copy h3 { font-size: 24px; color: var(--ink); margin-bottom: 10px; }
.engine.layout-b .stage-copy p { font-size: 16px; color: var(--slate); }

/* Stage / visualization panel */
.stage {
  background: var(--bg-blue);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 40px);
  min-height: 440px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.engine.layout-b .stage { min-height: 420px; }
.viz { width: 100%; max-width: 560px; }
.viz[hidden] { display: none; }
.viz-enter { animation: vizIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes vizIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .engine.layout-a .engine-grid { grid-template-columns: 1fr; }
  .engine.layout-a .tab .tdesc { display: none; }
  .engine.layout-a .tablist { flex-direction: row; overflow-x: auto; }
  .engine.layout-a .tab { flex-direction: column; min-width: 150px; }
}

/* ---- Mock-UI primitives shared by vizzes ---- */
.m-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-md); }
.m-row { display: flex; align-items: center; }
.m-mut { color: var(--slate-soft); }
.m-mono { font-family: var(--mono); }
.skel { background: #e6ebf3; border-radius: 4px; }

/* viz 1 — page score + 7 categories */
.viz-score { display: grid; grid-template-columns: 200px 1fr; gap: 18px; }
.score-hero { padding: 22px; text-align: center; }
.score-hero .ring-lg { width: 120px; height: 120px; margin: 0 auto 12px; }
.score-hero .label { font-size: 13px; color: var(--slate); }
.score-hero .label b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.cat-card { padding: 18px 20px; }
.cat-card h5 { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--slate-soft); margin-bottom: 14px; font-weight: 500; }
.cat { display: grid; grid-template-columns: 120px 1fr 34px; gap: 10px; align-items: center; margin-bottom: 11px; font-size: 13px; }
.cat:last-child { margin-bottom: 0; }
.cat .track { height: 7px; background: #eef1f7; border-radius: 4px; overflow: hidden; }
.cat .fill { height: 100%; border-radius: 4px; background: var(--navy); }
.cat .fill.lo { background: #dc2626; } .cat .fill.mid { background: var(--orange); } .cat .fill.hi { background: #16a34a; }
.cat .val { font-family: var(--mono); text-align: right; font-weight: 500; color: var(--ink); }

/* viz 2 — benchmark scorecard */
.viz-bench { padding: 24px; }
.viz-bench h5 { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--slate-soft); margin-bottom: 18px; font-weight: 500; }
.bench-row { display: grid; grid-template-columns: 130px 1fr 46px; gap: 14px; align-items: center; margin-bottom: 16px; }
.bench-row .who { font-size: 14px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.bench-row .who .tagme { font-family: var(--mono); font-size: 9px; background: var(--accent-tint); color: var(--accent-600); padding: 2px 6px; border-radius: 5px; letter-spacing: .05em; }
.bench-row .track { height: 12px; background: #eef1f7; border-radius: 6px; overflow: hidden; }
.bench-row .fill { height: 100%; border-radius: 6px; background: #c2ccdc; }
.bench-row.me .fill { background: var(--accent); }
.bench-row.best .fill { background: var(--navy); }
.bench-row .sc { font-family: var(--mono); font-weight: 600; text-align: right; color: var(--ink); }

/* viz 3 — recommendation cards */
.viz-recs { display: flex; flex-direction: column; gap: 12px; }
.rec { padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px 18px; align-items: center; }
.rec .rtitle { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.rec .rmeta { display: flex; gap: 16px; margin-top: 8px; }
.rec .stat { font-size: 11px; color: var(--slate-soft); }
.rec .stat b { display: block; font-family: var(--mono); font-size: 13px; margin-top: 2px; }
.rec .stat .up { color: #16a34a; } .rec .stat .conf { color: var(--navy); }
.pill { font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill.high { background: #e8f6ee; color: #16794a; }
.pill.med { background: var(--orange-tint); color: var(--orange-600); }
.rec .evidence { grid-column: 1 / -1; font-size: 12px; color: var(--slate); border-top: 1px dashed var(--line); padding-top: 10px; display: flex; align-items: center; gap: 7px; }
.rec .evidence svg { width: 13px; height: 13px; color: var(--accent-600); flex: none; }

/* viz 4 — three concept wireframes */
.viz-concepts { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.concept { padding: 16px 14px; text-align: center; transition: transform .25s; }
.concept:hover { transform: translateY(-5px); }
.concept .label { font-family: var(--mono); font-size: 12px; color: var(--slate); margin-bottom: 14px; letter-spacing: .04em; }
.concept .frame { display: flex; flex-direction: column; gap: 9px; }
.concept .skel { height: 11px; }

/* viz 5 — personalization fan-out */
.viz-persona { display: grid; gap: 18px; }
.persona-top { display: flex; justify-content: center; }
.persona-fan { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.persona-fan::before { content: ""; position: absolute; top: -16px; left: 50%; width: 1px; height: 16px; background: var(--line); }
.pcard { padding: 13px; }
.pcard .ptag { font-family: var(--mono); font-size: 11px; color: var(--accent-600); margin-bottom: 10px; font-weight: 600; text-align: center; }
.pcard .frame { display: flex; flex-direction: column; gap: 6px; }
.pcard .skel { height: 8px; }
.pcard.src .skel.hero { background: var(--accent); height: 26px; }
.pcard.var .skel.hero { background: var(--orange-300); height: 26px; }
.deploy-logos { display: flex; gap: 18px; justify-content: center; align-items: center; padding-top: 6px; flex-wrap: wrap; }
.deploy-logos .lbl { font-size: 11px; color: var(--slate-soft); font-family: var(--mono); }

/* viz 6 — control vs variation */
.viz-test { display: grid; gap: 16px; }
.test-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.test-card { padding: 14px; position: relative; }
.test-card .ttag { font-family: var(--mono); font-size: 11px; color: var(--slate); margin-bottom: 10px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.test-card.win { border-color: var(--accent); box-shadow: 0 8px 22px rgba(255,128,0,.16); }
.test-card.win .ttag { color: var(--accent-600); }
.test-card .frame { display: flex; flex-direction: column; gap: 6px; }
.test-card .skel { height: 8px; }
.test-card.win .skel.hero { background: var(--accent); height: 24px; }
.test-card .skel.hero { height: 24px; }
.lift-badge { font-family: var(--mono); font-size: 12px; font-weight: 600; color: #16a34a; background: #e8f6ee; padding: 3px 9px; border-radius: 999px; }
.learn-row { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 13.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; }
.learn-row .check { width: 22px; height: 22px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; flex: none; }
.learn-row .check svg { width: 13px; height: 13px; }
.learn-row b { font-weight: 600; }

@media (max-width: 560px) {
  .viz-score, .viz-concepts, .test-pair, .persona-fan { grid-template-columns: 1fr; }
  .viz-concepts { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   SHARED MOBILE WIREFRAME (section 3 vizzes)
   ============================================================ */
.mw {
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  padding: 16px 12px 18px; box-shadow: var(--sh-md);
  display: flex; flex-direction: column; gap: 8px; position: relative;
}
.mw::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3.5px; border-radius: 3px; background: #d7deea;
}
.mw .b { height: 10px; border-radius: 4px; background: #e6ebf3; }
.mw .b.hero { height: 40px; border-radius: 7px; margin-top: 5px; }
.mw .b.cta { height: 20px; width: 62%; background: #c7d0df; border-radius: 5px; }
.mw .b.accent { background: var(--accent); }
.mw .b.accent-soft { background: var(--orange-300); }
.mw .b.w90 { width: 90%; } .mw .b.w80 { width: 80%; } .mw .b.w70 { width: 70%; } .mw .b.w55 { width: 55%; } .mw .b.w45 { width: 45%; }
.mw .spacer { flex: 1; min-height: 6px; }
.mw .hero-ring { position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: 18px; pointer-events: none; }

/* viz 1 (revised) — mobile + scorecard */
.viz-score2 { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: stretch; }
.score-mobile-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; justify-content: center; }
.score-mobile-wrap .mw { width: 124px; }
.score-mobile-wrap .scanning { font-family: var(--mono); font-size: 10.5px; color: var(--accent-600); display: inline-flex; align-items: center; gap: 6px; }
.score-mobile-wrap .scanning .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulseDot 1.1s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
.scorecard2 { padding: 20px 22px; }
.scorecard2 .overall { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.scorecard2 .overall .ring-sm { width: 64px; height: 64px; flex: none; }
.scorecard2 .overall .otext b { display: block; font-size: 17px; color: var(--ink); }
.scorecard2 .overall .otext span { font-size: 12.5px; color: var(--slate); }

/* viz 2 (revised) — two pages benchmarked */
.viz-bench2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bench-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bench-col .bcol-label { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 7px; }
.bench-col.you .bcol-label { color: var(--accent-600); }
.bench-col.comp .bcol-label { color: var(--slate); }
.bench-col .mw { width: 134px; }
.mini-scores { width: 100%; max-width: 180px; display: flex; flex-direction: column; gap: 9px; }
.mini-scores .ms { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: center; }
.mini-scores .ms .lab { height: 6px; border-radius: 3px; background: #d7deea; }
.mini-scores .ms .track { height: 7px; border-radius: 4px; background: #eef1f7; overflow: hidden; }
.mini-scores .ms .fill { height: 100%; border-radius: 4px; }

/* viz 5 (revised) — source + persona variants */
.viz-persona2 { display: grid; gap: 20px; }
.persona-flow { display: grid; grid-template-columns: 130px 70px 1fr; gap: 6px; align-items: center; }
.persona-flow .source { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.persona-flow .source .slabel { font-family: var(--mono); font-size: 11px; color: var(--slate); }
.persona-flow .source .mw { width: 122px; }
.persona-connect { align-self: stretch; }
.persona-connect svg { width: 100%; height: 100%; }
.persona-variants2 { display: grid; gap: 14px; }
.pv { display: flex; align-items: center; gap: 13px; }
.pv .mw { width: 88px; padding: 11px 9px 12px; gap: 6px; }
.pv .mw .b { height: 8px; }
.pv .mw .b.hero { height: 26px; margin-top: 3px; }
.pv .pvmeta .pvtag { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--accent-600); margin-bottom: 5px; }
.pv .pvmeta .pvsub { font-size: 12px; color: var(--slate); }
.deploy-logos { display: flex; gap: 12px; justify-content: center; align-items: center; padding-top: 6px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); margin-top: 4px; padding-top: 18px; }
.deploy-logos .lbl { font-size: 12px; color: var(--slate-soft); font-family: var(--mono); }

@media (max-width: 620px) {
  .viz-score2 { grid-template-columns: 1fr; }
  .score-mobile-wrap { flex-direction: row; }
  .persona-flow { grid-template-columns: 1fr; }
  .persona-connect { display: none; }
}

/* ============================================================
   SECTION 4 — AUDIENCES
   ============================================================ */
.aud-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.aud {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.aud:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.aud .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.aud:nth-child(2) .ic { background: var(--accent); }
.aud .ic svg { width: 25px; height: 25px; }
.aud h3 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.aud p { font-size: 15px; color: var(--slate); text-wrap: pretty; }
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION 5 — PROVEN IMPACT / TESTIMONIAL
   ============================================================ */
.impact {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.impact::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(255,128,0,.16), transparent 70%);
}
.impact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,5vw,72px); align-items: center; position: relative; }
.impact .eyebrow { color: var(--orange-300); }
.impact .eyebrow::before { background: var(--orange-300); }
.bignum { font-family: var(--mono); font-weight: 600; font-size: clamp(64px, 9vw, 116px); line-height: .95; letter-spacing: -.04em; color: #fff; }
.bignum span { color: var(--orange-300); }
.bignum-label { font-size: 19px; color: rgba(255,255,255,.82); margin-top: 8px; }
.quote-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: 38px; backdrop-filter: blur(6px);
}
.quote-mark { font-size: 60px; line-height: 0; color: var(--orange-300); font-family: Georgia, serif; height: 28px; display: block; }
.quote-card blockquote { margin: 0; font-size: clamp(18px,1.9vw,23px); line-height: 1.5; color: #fff; font-weight: 400; text-wrap: pretty; }
.quote-by { margin-top: 24px; display: flex; align-items: center; gap: 13px; }
.quote-by .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-300)); display: grid; place-items: center; font-weight: 600; color: #fff; font-size: 16px; }
.quote-by .nm { font-weight: 600; font-size: 15px; }
.quote-by .rl { font-size: 13px; color: var(--orange-300); }
@media (max-width: 820px) { .impact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION 6 — FINAL CTA
   ============================================================ */
.final .container { text-align: center; }
.final-card {
  background:
    radial-gradient(120% 120% at 50% -20%, rgba(255,128,0,.10), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(46px, 6vw, 82px) var(--gutter);
  box-shadow: var(--sh-lg);
  position: relative; overflow: hidden;
}
.final-card h2 { font-size: clamp(30px,4vw,52px); color: var(--ink); text-wrap: balance; }
.final-card h2 em { color: var(--accent); font-style: normal; }
.final-card p { font-size: clamp(16px,1.5vw,19px); color: var(--slate); max-width: 580px; margin: 20px auto 32px; text-wrap: pretty; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: rgba(255,255,255,.66); }
.footer-top { padding-block: clamp(48px,6vw,76px); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .leap-foot { height: 28px; margin-bottom: 18px; }
.footer .about { font-size: 14px; line-height: 1.65; max-width: 300px; }
.footer h6 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); margin: 0 0 18px; font-weight: 500; }
.footer .fcol a { display: block; font-size: 14px; color: rgba(255,255,255,.66); padding: 6px 0; transition: color .2s; }
.footer .fcol a:hover { color: #fff; }
.footer .news { display: flex; gap: 8px; margin-top: 6px; }
.footer .news input { flex: 1; min-width: 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: 11px 14px; color: #fff; font-family: inherit; font-size: 14px; }
.footer .news input::placeholder { color: rgba(255,255,255,.4); }
.footer .news button { background: var(--accent); color: #fff; border-radius: 9px; padding: 0 18px; font-weight: 600; font-size: 13px; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
