/* ============================================================
   LeadEx — component styles
   ============================================================ */

/* ---------------- HEADER ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #eef0f3;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 40px;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; }

/* wordmark logo: navy letters + orange speed band */
.brand-logo { height: 25px; width: auto; display: block; }
.brand-logo .fil1 { fill: #ed9b52; }
.brand-logo .fil0 { fill: #2b2a43; }
.brand-logo .fil-arrow { fill: #ed9b52; }
.foot-brand .brand { margin-bottom: 18px; background: var(--paper); padding: 8px 14px; border-radius: 10px; }
.foot-brand .brand-logo { height: 24px; }
.nav-links {
  display: flex; align-items: center; gap: 30px;
  margin-left: auto;
  font-size: 15px; font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav-links a:hover { color: var(--navy-800); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--teal); transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav .header-cta { margin-left: 8px; padding: 11px 22px; font-size: 14.5px; }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav .header-cta { margin-left: auto; }
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  background: var(--navy-800);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::before { /* subtle radial glow */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(237,155,82,.16), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(43,82,150,.35), transparent 60%);
  z-index: -2;
}
.hero canvas#hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-height: min(86vh, 820px);
  justify-content: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.hero-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: #fff;
  max-width: none;
}
.hero h1 .em-it { color: var(--teal); }
.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--on-dark-soft);
  max-width: 40ch;
  line-height: 1.5;
}
.hero-sub b { color: var(--on-dark); font-weight: 600; }
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 46px; padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  display: flex; gap: 38px; flex-wrap: wrap;
}
.hero-trust .t {
  font-family: var(--serif); font-size: 26px; color: #fff; line-height: 1;
}
.hero-trust .t span { display: block; font-family: var(--sans); font-size: 13px; color: var(--on-dark-faint); font-weight: 500; margin-top: 7px; letter-spacing: .01em; }

/* hero right — live valuation panel */
.hero-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(27,44,79,.6), rgba(10,20,38,.55));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 24px 24px 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7);
}
.hero-panel .hp-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.hero-panel .hp-label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); font-weight: 600; }
.hero-panel .hp-val { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 40px); color: #fff; line-height: 1; margin-top: 8px; }
.hero-panel .hp-delta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--teal); margin-top: 10px; }
.hero-panel .hp-delta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(237,155,82,.18); }
.hero-panel .hp-live { font-size: 11.5px; color: var(--on-dark-faint); display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.hero-panel .hp-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: #ED9B52; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(237,155,82,.5);} 70%{ box-shadow: 0 0 0 6px rgba(237,155,82,0);} }
.hero-panel svg.spark { width: 100%; height: 132px; display: block; margin-top: 14px; overflow: visible; }
.hero-panel .hp-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--on-dark-faint); margin-top: 6px; font-variant-numeric: tabular-nums; }
.hero-panel .hp-chips { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.hero-panel .hp-chip { font-size: 11.5px; font-weight: 500; color: var(--on-dark-soft); border: 1px solid var(--line-dark); border-radius: 100px; padding: 5px 11px; }

@media (max-width: 900px) {
  .hero .hero-body { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { min-height: 0; gap: 36px; }
  .hero-panel { order: 2; }
}

/* ---------------- MISSION strip ---------------- */
.mission { background: var(--navy-900); color: var(--on-dark); }
.mission .wrap { padding-block: clamp(54px, 7vw, 96px); }
.mission .m-grid { display: block; }
.mission h2 {
  font-size: clamp(28px, 3.8vw, 48px); color: #fff; line-height: 1.16; max-width: none; letter-spacing: -0.014em;
}
.mission h2 .em-it { color: var(--teal); }
.mission .slogan { text-align: right; }
.mission .slogan .s-lbl { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-faint); font-weight: 600; }
.mission .slogan .s-txt { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: var(--on-dark); margin-top: 10px; max-width: 16ch; }
@media (max-width: 800px){ .mission .m-grid { grid-template-columns: 1fr; } .mission .slogan { text-align: left; } }

/* ---------------- SERVICES ---------------- */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 54px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -0.015em; max-width: 16ch; }
.sec-head .lead { color: var(--ink-soft); font-size: 18px; max-width: 44ch; align-self: end; }
@media (max-width: 760px){ .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 38px; } }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1040px){ .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -34px rgba(21,35,63,.4); border-color: rgba(21,35,63,.18); }
.svc-num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--teal-700); }
.svc-ico { margin: 18px 0 20px; color: var(--navy-700); }
.svc-card h3 { font-size: 24px; }
.svc-card .svc-desc { color: var(--ink-soft); font-size: 15px; margin-top: 12px; line-height: 1.5; }
.svc-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tags span { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; }
.svc-arrow {
  margin-top: auto; padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink);
}
.svc-arrow .from-to { color: var(--ink-soft); }
.svc-card .go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); color: var(--ink); }
.svc-card:hover .go { background: var(--teal); border-color: var(--teal); color: var(--navy-900); transform: rotate(0); }

/* ---------------- LAIVE ---------------- */
.laive { background: var(--navy-800); color: var(--on-dark); position: relative; overflow: hidden; }
.laive::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 90% 0%, rgba(237,155,82,.12), transparent 55%); z-index:0; }
.laive .wrap { position: relative; z-index: 1; }
.laive-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: center; }
@media (max-width: 940px){ .laive-grid { grid-template-columns: 1fr; gap: 40px; } }
.laive h2 { font-size: clamp(30px, 4vw, 50px); color: #fff; letter-spacing: -0.015em; margin-top: 18px; }
.laive .laive-name { font-family: var(--serif); font-style: italic; color: var(--teal); }
.laive .laive-lead { color: var(--on-dark-soft); font-size: 18px; margin-top: 20px; max-width: 46ch; }
.laive-feats { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
@media (max-width: 520px){ .laive-feats { grid-template-columns: 1fr; } }
.laive-feat { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--on-dark); }
.laive-feat .fi { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(237,155,82,.14); color: var(--teal); display: grid; place-items: center; }
.laive-cta { margin-top: 36px; }

/* dashboard mock */
.dash {
  background: linear-gradient(180deg, rgba(27,44,79,.55), rgba(10,20,38,.6));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 50px 110px -50px rgba(0,0,0,.8);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-top .dt-l { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: #fff; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-win { display: flex; gap: 6px; }
.dash-win i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); display: inline-block; }
.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.dash-kpi { background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: 12px; padding: 13px 14px; }
.dash-kpi .k-l { font-size: 11px; color: var(--on-dark-faint); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.dash-kpi .k-v { font-family: var(--serif); font-size: 24px; color: #fff; margin-top: 7px; line-height: 1; }
.dash-kpi .k-d { font-size: 12px; color: var(--teal); margin-top: 6px; font-weight: 600; }
.dash-chart { background: rgba(255,255,255,.02); border: 1px solid var(--line-dark); border-radius: 14px; padding: 16px 16px 10px; }
.dash-chart .dc-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--on-dark-soft); margin-bottom: 6px; }
.dash-chart .dc-head b { color: #fff; font-weight: 600; }
.dash-chart svg { width: 100%; height: 150px; display: block; overflow: visible; }
.dash-legend { display: flex; gap: 18px; margin-top: 8px; font-size: 11.5px; color: var(--on-dark-faint); }
.dash-legend i { width: 18px; height: 3px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: middle; }

/* ---------------- CASES ---------------- */
.cases { background: var(--paper-2); }
.case-list { display: flex; flex-direction: column; gap: 16px; }
.case-row {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 30px;
  display: grid; grid-template-columns: 56px 1fr auto; gap: 26px; align-items: center;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.case-row:hover { box-shadow: 0 22px 50px -34px rgba(21,35,63,.35); border-color: rgba(21,35,63,.16); }
.case-no { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--teal-700); }
.case-flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.case-step { font-weight: 500; font-size: 15.5px; color: var(--ink); }
.case-step.start { color: var(--muted); }
.case-step.end { font-weight: 600; }
.case-sep { color: var(--teal-600); display: inline-flex; }
.case-result { text-align: right; }
.case-result .cr-v { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1; }
.case-result .cr-l { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 820px){
  .case-row { grid-template-columns: 1fr; gap: 14px; }
  .case-result { text-align: left; }
}

/* ---------------- STATS / WHY ---------------- */
.why { background: var(--navy-900); color: var(--on-dark); }
.why .why-head { max-width: 56ch; margin-bottom: 56px; }
.why h2 { font-size: clamp(30px, 4vw, 50px); color: #fff; letter-spacing: -0.015em; }
.why .why-head .lead { color: var(--on-dark-soft); font-size: 18px; margin-top: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--line-dark); }
@media (max-width: 820px){ .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .stat-grid { grid-template-columns: 1fr; } }
.stat {
  padding: 34px 28px 30px; border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}
.stat-grid .stat:nth-child(4n) { border-right: none; }
@media (max-width: 820px){ .stat-grid .stat:nth-child(4n){ border-right: 1px solid var(--line-dark);} .stat-grid .stat:nth-child(2n){ border-right: none; } }
.stat .s-v { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat .s-v .u { color: var(--teal); }
.stat .s-l { color: var(--on-dark-soft); font-size: 15px; margin-top: 14px; max-width: 24ch; }

/* ---------------- CTA ---------------- */
.cta { background: var(--paper); }
.cta-card {
  background: var(--navy-800); color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 84px);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-card::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 120% at 50% -10%, rgba(237,155,82,.18), transparent 60%); }
.cta-card > * { position: relative; }
.cta-card .eyebrow { justify-content: center; }
.cta-card h2 { font-size: clamp(32px, 4.6vw, 58px); color: #fff; margin-top: 22px; letter-spacing: -0.015em; }
.cta-card h2 .em-it { color: var(--teal); }
.cta-card .cta-sub { color: var(--on-dark-soft); font-size: 18px; margin-top: 18px; max-width: 50ch; margin-inline: auto; }
.cta-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- FOOTER ---------------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
@media (max-width: 760px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-brand .brand { font-size: 26px; margin-bottom: 16px; }
.foot-brand p { color: var(--on-dark-faint); font-size: 14.5px; max-width: 32ch; }
.foot-col h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); font-weight: 600; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--on-dark-soft); padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid var(--line-dark); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--on-dark-faint); }
