/* ============================================================
   LEXO — Website Redesign 2026
   Standalone design system. No build step. Fully offline.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand */
  --blue:        #2f6bff;
  --blue-strong: #1e56f0;
  --blue-deep:   #1748d6;
  --blue-soft:   #eaf0ff;
  --blue-glow:   rgba(47, 107, 255, 0.55);

  /* Dark surfaces (the "front door" navy) */
  --navy:   #0a1327;
  --navy-2: #0d1b36;
  --navy-3: #132548;
  --navy-line: rgba(255, 255, 255, 0.09);

  /* Light surfaces + text */
  --ink:    #0f1a2e;
  --ink-2:  #2c3a53;
  --muted:  #5f6f88;
  --muted-2:#8593a8;
  --paper:  #ffffff;
  --tint:   #f5f8ff;
  --tint-2: #eef3fb;
  --line:   #e6ecf5;

  /* Accents */
  --green:  #16b364;
  --green-soft: #e6f7ee;
  --amber:  #f0a92a;
  --amber-soft: #fef3e0;
  --red:    #ef4444;

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

  --shadow-sm: 0 1px 2px rgba(16,26,46,.06), 0 2px 8px rgba(16,26,46,.04);
  --shadow:    0 10px 30px -8px rgba(16,26,46,.12), 0 4px 10px rgba(16,26,46,.05);
  --shadow-lg: 0 30px 60px -18px rgba(16,26,46,.22);
  --shadow-blue: 0 14px 34px -10px rgba(47,107,255,.45);

  --wrap: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-tight { max-width: 900px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.dark-sec { background: var(--navy); color: #fff; }
.dark-sec .eyebrow { color: #8fb0ff; }
.tint-sec { background: var(--tint); }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
.dark-sec h1,.dark-sec h2,.dark-sec h3,.dark-sec h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
}
.h-display { font-size: clamp(2.6rem, 5.4vw, 4.1rem); line-height: 1.03; font-weight: 900; letter-spacing: -0.03em; }
.h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); }
.h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--muted); line-height: 1.6; }
.dark-sec .lead { color: rgba(255,255,255,.72); }
.blue-word { color: var(--blue); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; font-family: inherit;
  padding: 14px 26px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-strong); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--blue); font-weight: 600; font-size: 15px;
  transition: gap .2s var(--ease);
}
.arrow-link:hover { gap: 12px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 6px 24px -12px rgba(16,26,46,.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.link {
  font-size: 14.5px; font-weight: 400; color: var(--ink-2);
  transition: color .28s var(--ease); position: relative;
}
.nav-links a.link:hover { color: var(--blue); }
.nav-links a.link.active { color: var(--blue); font-weight: 400; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); }
.nav-mobile { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-desktop { display: none; }
  .nav-mobile.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px; box-shadow: var(--shadow);
  }
  .nav-mobile a.link { padding: 12px 0; font-size: 16px; font-weight: 400; border-bottom: 1px solid var(--line); }
  .nav-mobile .btn { margin-top: 14px; justify-content: center; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1.5px solid #dbe4f0;
  border-radius: var(--radius); padding: 30px;
  box-shadow: 0 20px 44px -28px rgba(16,26,46,.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -22px rgba(47,107,255,.42); border-color: var(--blue); }
/* Full-bleed thumbnail at the top of a report/article card */
.card-thumb { margin: -30px -30px 22px; height: 168px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.card-hover:hover .card-thumb img { transform: scale(1.04); }
.card-dark {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 26px;
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.card-dark:hover { background: rgba(47,107,255,.12); border-color: rgba(143,176,255,.5); transform: translateY(-5px); box-shadow: 0 26px 46px -22px rgba(0,0,0,.55); }

.icon-chip {
  width: 50px; height: 50px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep)); color: #fff; margin-bottom: 20px;
  box-shadow: 0 12px 24px -8px rgba(47,107,255,.6);
}
.icon-chip svg { width: 23px; height: 23px; }
.dark-sec .icon-chip { background: linear-gradient(140deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: 0 12px 24px -8px rgba(47,107,255,.55); }
.icon-chip.green { background: linear-gradient(140deg, var(--green), #0e9457); color: #fff; box-shadow: 0 12px 24px -8px rgba(22,179,100,.55); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1040px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid-5 { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .grid-6 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 900px) { .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 700px) { .grid-6 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .grid-6 { grid-template-columns: 1fr; } }
/* Why Lexo 6-up — clean, even cards */
.grid-6 { gap: 16px; }
.grid-6 .card-dark { padding: 24px 20px; display: flex; flex-direction: column; }
.grid-6 .card-dark .icon-chip { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.grid-6 .card-dark .icon-chip svg { width: 21px; height: 21px; }
.grid-6 .card-dark h3 { font-weight: 800; font-size: 1rem; line-height: 1.22; letter-spacing: -.01em; min-height: 2.44em; margin-bottom: 10px !important; }
.grid-6 .card-dark p { font-size: 13.5px; line-height: 1.55; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.rev .split-visual { order: -1; } }

/* ---------- Eyebrow pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue); border: 1.5px solid rgba(47,107,255,.35);
  padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(47,107,255,.4);
  font-size: 13px; font-weight: 700; letter-spacing: .2px; margin-bottom: 22px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.green .dot { background: var(--green); }
.dark-sec .pill { background: rgba(47,107,255,.22); color: #cfe0ff; border-color: rgba(143,176,255,.45); box-shadow: none; }

/* ---------- Trust bar ---------- */
.trust {
  padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-label { text-align: center; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-bottom: 20px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 14px 44px; justify-content: center; align-items: center; }
.trust-logos span { font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--ink); opacity: .42; transition: opacity .2s; }
.trust-logos span:hover { opacity: .85; }

/* ---------- Feature list check ---------- */
.checks { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: 8px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.checks .tick {
  flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
  box-shadow: 0 4px 10px -3px rgba(47,107,255,.5);
}
.checks .tick svg { width: 12px; height: 12px; }
.dark-sec .checks li { color: rgba(255,255,255,.8); }
.dark-sec .checks .tick { background: var(--blue); color: #fff; }
.checks.green .tick { background: var(--green); color: #fff; box-shadow: 0 4px 10px -3px rgba(22,179,100,.5); }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(47,107,255,.12); border: 1px solid rgba(143,176,255,.28);
  color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 700;
}
.badge svg { width: 17px; height: 17px; color: #8fb0ff; }
.badge.light { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.badge.light svg { color: var(--blue); }

/* ---------- Quote ---------- */
.quote { border-left: 3px solid var(--blue); padding-left: 22px; }
.quote p { font-style: italic; font-size: 17px; line-height: 1.55; color: var(--ink); }
.dark-sec .quote p { color: rgba(255,255,255,.92); }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--muted); font-weight: 500; }
.dark-sec .quote cite { color: rgba(255,255,255,.6); }

/* ---------- Stat ---------- */
.stat-num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; color: var(--muted); margin-top: 8px; }
.dark-sec .stat-num { color: #6f9bff; }
.dark-sec .stat-label { color: rgba(255,255,255,.55); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: inherit;
}
.faq-q .chev { flex: 0 0 auto; transition: transform .3s var(--ease); color: var(--blue); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 720px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 66px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--navy-line); }
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand img { height: 22px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 260px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.9); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,.6); padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13.5px; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #0d1f47 100%); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(600px circle at 50% -10%, rgba(47,107,255,.35), transparent 60%); pointer-events:none; }
.cta-band > * { position: relative; }
@media (max-width: 600px){ .cta-band { padding: 46px 26px; } }

/* Persisting footer CTA — door + tagline, sits above the footer links on every page */
.footer-cta {
  display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 52px;
  padding-bottom: 52px; margin-bottom: 44px; border-bottom: 1px solid var(--navy-line);
}
.footer-cta .fc-door img {
  width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px;
  -webkit-mask-image: radial-gradient(130% 130% at 50% 42%, #000 30%, rgba(0,0,0,.5) 60%, transparent 82%);
          mask-image: radial-gradient(130% 130% at 50% 42%, #000 30%, rgba(0,0,0,.5) 60%, transparent 82%);
}
/* Footer door variant — portrait LEXO door whose right edge dissolves into the tagline text */
.footer-cta .fc-door-blend img {
  aspect-ratio: 4/5;
  -webkit-mask-image: linear-gradient(90deg, #000 42%, rgba(0,0,0,.55) 74%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 42%, rgba(0,0,0,.55) 74%, transparent 100%);
}
@media (max-width: 780px) {
  .footer-cta .fc-door-blend img {
    aspect-ratio: 3/2;
    -webkit-mask-image: radial-gradient(130% 130% at 50% 42%, #000 30%, rgba(0,0,0,.5) 60%, transparent 82%);
            mask-image: radial-gradient(130% 130% at 50% 42%, #000 30%, rgba(0,0,0,.5) 60%, transparent 82%);
  }
}
.footer-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; margin-bottom: 12px; }
.footer-cta h2 .blue-word { color: #6f9bff; }
.footer-cta p { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.55; margin-bottom: 24px; max-width: 460px; }
@media (max-width: 780px) {
  .footer-cta { grid-template-columns: 1fr; text-align: center; gap: 26px; }
  .footer-cta p { margin-left: auto; margin-right: auto; }
  .footer-cta .fc-door { max-width: 320px; margin: 0 auto; }
}

/* ============================================================
   ILLUSTRATIONS & ANIMATIONS
   ============================================================ */

/* Media frames (real photography) */
.media {
  border-radius: 20px; overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
  background: #0a1327;
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.ratio-43 { aspect-ratio: 4/3; }
.media.ratio-169 { aspect-ratio: 16/9; }
.media.ratio-11 { aspect-ratio: 1/1; }
.media.ratio-portrait { aspect-ratio: 4/5; }
/* soft blue glow halo behind hero media */
.media-glow { position: relative; }
.media-glow::before {
  content:""; position:absolute; inset:-6% -6% -12% -6%; z-index:-1; border-radius:30px;
  background: radial-gradient(60% 60% at 60% 30%, rgba(47,107,255,.5), transparent 70%);
  filter: blur(34px); opacity: .8;
}
.hero-door { position: relative; }
.hero-door .door-stage { position: relative; }
.hero-door .door-stage img {
  width: 100%; display: block; aspect-ratio: 16/9.3; object-fit: cover;
  /* Fade ALL four edges into the navy section so there is no visible photo box.
     farthest-side ellipse touches every edge, so every edge dissolves. */
  -webkit-mask-image: radial-gradient(ellipse farthest-side at 52% 44%, #000 28%, rgba(0,0,0,.45) 64%, transparent 100%);
          mask-image: radial-gradient(ellipse farthest-side at 52% 44%, #000 28%, rgba(0,0,0,.45) 64%, transparent 100%);
}

/* Insights hero — boardroom photo whose left edge dissolves into the page,
   blending with the left-aligned heading beside it. */
.insights-hero-media { position: relative; display: flex; align-items: center; }
.insights-hero-media img {
  width: 100%; border-radius: 20px; aspect-ratio: 16/10; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}
@media (max-width: 900px) {
  .insights-hero-media img { -webkit-mask-image: none; mask-image: none; aspect-ratio: 16/9; }
}

/* Insights report cards — the three source photos run at different exposures
   (card 1 is bright daylight, 2 & 3 are dark). Wash them into one cohesive
   navy set: a consistent blue veil + a brightness knock-down on the bright one. */
.reports-grid .card-thumb { position: relative; }
.reports-grid .card-thumb img { filter: brightness(.9) saturate(1.1) contrast(1.02); }
.reports-grid > div:nth-child(1) .card-thumb img { filter: brightness(.72) saturate(1.15) contrast(1.03); }
.reports-grid .card-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(165deg, rgba(24,44,86,.30) 0%, rgba(10,19,39,.52) 100%);
  mix-blend-mode: multiply;
}

/* Security page — immersive full-bleed hero (door bleeds off the right edge) */
.sec-hero { position: relative; padding: 150px 0 96px; overflow: hidden; }
.sec-hero-inner { position: relative; z-index: 2; }
.sec-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 1; }
.sec-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.sec-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 6%, rgba(10,19,39,.55) 34%, rgba(10,19,39,0) 62%);
}
@media (max-width: 900px) {
  .sec-hero { padding: 128px 0 56px; }
  .sec-hero-media { position: relative; width: 100%; height: 260px; margin-top: 34px; }
  .sec-hero-media::after { background: linear-gradient(0deg, var(--navy) 4%, rgba(10,19,39,0) 55%); }
}

/* Two-column FAQ (matches redesign mock-up) */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; gap: 0; } }

/* Floating product chips over the door */
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.96); border-radius: 12px; padding: 11px 14px;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.55); font-size: 13px; font-weight: 600; color: var(--ink);
  backdrop-filter: blur(4px);
}
.float-chip .fc-ic { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.float-chip .fc-ic svg { width: 15px; height: 15px; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.float-chip.c1 { top: 14%; right: 6%; animation: floaty 6s ease-in-out infinite; }
.float-chip.c2 { top: 46%; right: -2%; animation: floaty 6s ease-in-out .8s infinite; }
.float-chip.c3 { bottom: 12%; left: 4%; animation: floaty 6s ease-in-out 1.6s infinite; }

/* Workflow strip (Intake -> Signing -> Verification -> Tracking) */
.flow { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.flow-node { display: flex; flex-direction: column; align-items: center; text-align: center; width: 140px; position: relative; }
.flow-ic {
  width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--blue); box-shadow: var(--shadow-sm);
  position: relative; z-index: 2;
}
.dark-sec .flow-ic { background: var(--navy-3); border-color: rgba(143,176,255,.3); color: #8fb0ff; }
.flow-ic svg { width: 26px; height: 26px; }
.flow-node .flow-label { margin-top: 14px; font-weight: 700; font-size: 14px; }
.flow-node .flow-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.dark-sec .flow-node .flow-sub { color: rgba(255,255,255,.55); }
.flow-conn { flex: 0 0 46px; height: 62px; display: flex; align-items: center; }
.flow-conn svg { width: 100%; }
@media (max-width: 720px){ .flow { flex-direction: column; align-items: center; } .flow-conn { transform: rotate(90deg); flex-basis: 32px; height: 32px; width: 46px; } }

.dash { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 5 5; fill: none; opacity: .55; stroke-dashoffset: 100; }
.reveal.in .dash { animation: draw 1.2s var(--ease) forwards, dashmove 1s linear infinite 1.2s; }

/* Vertical Treefort flow diagram */
.vflow { position: relative; max-width: 360px; margin: 0 auto; padding: 30px; border-radius: 22px;
  background: radial-gradient(120% 80% at 50% 0%, #12224a, #0a1327 70%); border: 1px solid rgba(143,176,255,.18); }
.vflow-avatar { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px; background: linear-gradient(135deg,#2f6bff,#1748d6); display:flex; align-items:center; justify-content:center; color:#fff; box-shadow: 0 0 30px var(--blue-glow); border: 2px solid rgba(255,255,255,.2); }
.vflow-avatar svg { width: 34px; height: 34px; }
.vnode { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 15px 17px; margin-bottom: 6px; }
.vnode.hl { border-color: rgba(22,179,100,.55); background: rgba(22,179,100,.08); box-shadow: 0 0 26px -6px rgba(22,179,100,.5); }
.vnode .vic { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: rgba(47,107,255,.18); color: #8fb0ff; }
.vnode.hl .vic { background: rgba(22,179,100,.2); color: #4ade80; }
.vnode .vic svg { width: 18px; height: 18px; }
.vnode strong { color: #fff; font-size: 15px; display: block; }
.vnode.hl strong .tf { color: #4ade80; }
.vnode small { color: rgba(255,255,255,.6); font-size: 12.5px; }
.vconn { height: 20px; width: 2px; margin: 0 auto; background: linear-gradient(var(--blue), rgba(47,107,255,.2)); }

/* Inline Treefort wordmark — used in place of the word "Treefort" in body copy.
   Scales to the surrounding text; on dark surfaces it sits on a small white chip
   so the grey part of the logo stays legible. */
.tf-logo { height: 1.05em; width: auto; display: inline-block; vertical-align: -0.19em; }
.dark-sec .tf-logo, .card-dark .tf-logo, .vnode .tf-logo {
  height: 1.15em; padding: 0.14em 0.34em; border-radius: 6px; background: #fff;
  vertical-align: -0.34em; box-shadow: 0 2px 7px rgba(0,0,0,.28);
}

/* Lexo x Treefort hero brand lockup */
.tf-lockup {
  display: flex; align-items: center; gap: 30px;
  margin-bottom: 40px;
}
.tf-lockup img { width: auto; display: block; }
.tf-lockup-lexo { height: 31px; }
/* margin-left compensates the logo's built-in ~7.9% left transparent padding
   so the × reads as visually centered between the two marks */
.tf-lockup-tf { height: 55px; position: relative; top: 1px; margin-left: -14px; }
.tf-lockup-x {
  font-size: 21px; font-weight: 300; line-height: 1;
  color: rgba(255,255,255,.5);
}
@media (max-width: 640px) {
  .tf-lockup { gap: 22px; margin-bottom: 30px; }
  .tf-lockup-lexo { height: 26px; }
  .tf-lockup-tf { height: 45px; margin-left: -11px; }
  .tf-lockup-x { font-size: 17px; }
}

/* Phone mock (Treefort selfie) */
.phone { width: 200px; height: 400px; border-radius: 34px; background: #0b0f18; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid #1b2233; margin: 0 auto; }
.phone-screen { width: 100%; height: 100%; border-radius: 26px; background: #f7f9fc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; position: relative; overflow: hidden; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 74px; height: 6px; border-radius: 4px; background: #0b0f18; }
.selfie-ring { width: 118px; height: 118px; border-radius: 50%; border: 2px dashed var(--blue); display: flex; align-items: center; justify-content: center; color: var(--blue); position: relative; }
.selfie-ring svg { width: 46px; height: 46px; }
.selfie-ring::after { content:""; position:absolute; inset:-14px; border-radius:50%; border:2px dashed rgba(47,107,255,.25); animation: spin 12s linear infinite; }

/* Product UI mock (intake form card) */
.ui-mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ui-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--tint); }
.ui-bar .d { width: 10px; height: 10px; border-radius: 50%; background: #d3ddec; }
.ui-bar .u { margin-left: 10px; font-size: 12px; color: var(--muted-2); font-weight: 600; }
.ui-body { padding: 22px; }
.ui-field { margin-bottom: 15px; }
.ui-field label { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.ui-field .inp { margin-top: 6px; height: 38px; border: 1px solid #cdd9ea; border-radius: 9px; background: #eef3fb; display: flex; align-items: center; padding: 0 12px; font-size: 13.5px; color: var(--ink-2); }
.ui-field .inp.filled { border-color: rgba(47,107,255,.45); background: #fff; }
.ui-radio { display: flex; gap: 8px; margin-top: 8px; }
.ui-radio span { font-size: 12.5px; padding: 7px 13px; border-radius: 8px; border: 1px solid #cdd9ea; background: #eef3fb; color: var(--muted); }
.ui-radio span.on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.ui-progress { height: 6px; border-radius: 4px; background: var(--tint-2); overflow: hidden; margin: 4px 0 18px; }
.ui-progress i { display: block; height: 100%; width: 66%; background: linear-gradient(90deg,var(--blue),#6f9bff); border-radius: 4px; }
.ui-btn-row { display: flex; gap: 10px; }
.ui-btn { flex: 1; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.ui-btn.pri { background: var(--blue); color: #fff; }
.ui-btn.sec { background: var(--tint-2); color: var(--ink-2); }

/* signature mock */
.sig { font-family: 'Brush Script MT', cursive; font-size: 30px; color: var(--ink); transform: rotate(-4deg); }

/* Bars (insights) */
.bars { display: flex; flex-direction: column; gap: 11px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 54px; gap: 12px; align-items: center; }
.bar-row .bl { font-size: 13.5px; text-align: right; color: var(--muted); font-weight: 500; }
.bar-row.best .bl { color: var(--blue); font-weight: 700; }
.bar-track { height: 28px; background: var(--tint-2); border-radius: 8px; overflow: hidden; }
/* Fail-safe: bars are visible at their target width by default (even with no JS).
   Only when JS is active (html.js) do we hide-then-grow them on scroll-reveal. */
.bar-fill { height: 100%; border-radius: 8px; width: var(--w); transition: width 1s var(--ease); }
html.js .reveal:not(.in) .bar-fill { width: 0; }
.reveal.in .bar-fill { width: var(--w); }
.bar-fill.blue { background: linear-gradient(90deg,var(--blue),#6f9bff); }
.bar-fill.green { background: var(--green); }
.bar-fill.amber { background: var(--amber); }
.bar-fill.red { background: var(--red); }
.bar-row .bv { font-size: 13.5px; font-weight: 600; text-align: right; }
.bar-row.best .bv { color: var(--blue); }

.callout { display: flex; gap: 14px; padding: 20px 22px; border-radius: 14px; background: var(--blue-soft); border: 1px solid rgba(47,107,255,.15); margin-top: 26px; }
.callout.amber { background: var(--amber-soft); border-color: rgba(240,169,42,.2); }
.callout .co-ic { font-size: 20px; flex: 0 0 auto; }
.callout p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* Testimonial cards */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; height: 100%; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tcard .firm { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.tcard .tq { font-size: 15px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.tcard .stars { color: var(--amber); margin-bottom: 14px; letter-spacing: 2px; font-size: 14px; }
.tcard .tcta { margin-top: 18px; }

/* Client experience horizontal strip — kept on a single horizontal line
   showing the full workflow; scrolls horizontally on narrow screens. */
.xp-strip { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.xp-strip::-webkit-scrollbar { display: none; }
.xp-step { flex: 0 0 auto; white-space: nowrap; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--navy-line); border-radius: 999px; padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .xp-strip { justify-content: flex-start; } }
.xp-step .xn { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.xp-arrow { color: rgba(255,255,255,.3); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html.js .reveal:not(.in) .bar-fill { width: var(--w); }
  * { animation: none !important; }
}

/* Keyframes */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes doorbreathe { 0%,100%{opacity:.85} 50%{opacity:1} }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dashmove { to { stroke-dashoffset: -20; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Small helpers */
.mt-s{margin-top:14px} .mt-m{margin-top:26px} .mt-l{margin-top:44px}
.mb-m{margin-bottom:26px} .mb-l{margin-bottom:44px}
.maxw-640{max-width:640px} .maxw-560{max-width:560px} .maxw-720{max-width:720px}
.flex{display:flex} .gap-12{gap:12px} .gap-16{gap:16px} .wrap-btns{flex-wrap:wrap}
.eq-note{font-size:13.5px;color:var(--muted);margin-top:14px}
.dark-sec .eq-note{color:rgba(255,255,255,.55)}
