/* ===========================================================
   Quartz Capital — Crystal-clear funding.
   Light Glassmorphism SaaS marketing site
   Shared stylesheet for all 6 pages
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #F7F8FF;
  --bg-2: #EEF2FF;          /* lavender */
  --periwinkle: #6366F1;
  --periwinkle-d: #4F46E5;
  --sky: #38BDF8;
  --mint: #34D399;          /* accent */
  --white: #FFFFFF;
  --ink: #1E293B;
  --muted: #64748B;

  /* glass */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-stroke: rgba(99, 102, 241, 0.10);

  /* shadows */
  --shadow-sm: 0 4px 16px rgba(30, 41, 59, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(79, 70, 229, 0.14);
  --shadow-glow: 0 18px 50px rgba(99, 102, 241, 0.28);

  /* radii */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --grad-brand: linear-gradient(120deg, var(--periwinkle) 0%, var(--sky) 100%);
  --grad-mint: linear-gradient(120deg, var(--mint) 0%, var(--sky) 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
:focus-visible {
  outline: 3px solid var(--periwinkle);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Background mesh blobs ---------- */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 100% -5%, var(--bg-2), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.mesh::before, .mesh::after,
.mesh .blob {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.mesh::before {
  width: 520px; height: 520px;
  top: -140px; left: -120px;
  background: radial-gradient(circle at 30% 30%, var(--periwinkle), transparent 70%);
  animation: float1 22s var(--ease) infinite alternate;
}
.mesh::after {
  width: 480px; height: 480px;
  top: 30%; right: -160px;
  background: radial-gradient(circle at 30% 30%, var(--sky), transparent 70%);
  animation: float2 26s var(--ease) infinite alternate;
}
.mesh .blob {
  width: 420px; height: 420px;
  bottom: -160px; left: 35%;
  background: radial-gradient(circle at 40% 40%, var(--mint), transparent 70%);
  animation: float3 30s var(--ease) infinite alternate;
}
@keyframes float1 { to { transform: translate(80px, 60px) scale(1.1); } }
@keyframes float2 { to { transform: translate(-70px, 90px) scale(1.15); } }
@keyframes float3 { to { transform: translate(60px, -70px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  .mesh::before, .mesh::after, .mesh .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--periwinkle-d);
  background: rgba(99, 102, 241, 0.10);
  padding: 7px 14px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 56ch; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.97rem;
  padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(99,102,241,.4); }
.btn-ghost {
  background: var(--glass-bg-strong); color: var(--ink);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.6);
  border-radius: var(--r-lg);
}

/* ===========================================================
   Header / Nav
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
}
.site-header .nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 10px 14px 10px 20px;
  border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.7);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.04em; }
.brand .logo-mark {
  width: 34px; height: 34px; flex: none;
  filter: drop-shadow(0 6px 12px rgba(99,102,241,.35));
}
.brand .brand-sub { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); line-height: 1; margin-top: 2px; }
.brand-text { display: flex; flex-direction: column; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.93rem; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(99,102,241,.08); }
.nav-links a.active { color: var(--periwinkle-d); background: rgba(99,102,241,.12); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center;
  background: rgba(99,102,241,.08);
}
.hamburger span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease);
}
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px;
    border-radius: var(--r-lg);
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    transform-origin: top;
    transform: scaleY(.85) translateY(-8px); opacity: 0; pointer-events: none;
    transition: .25s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .site-header .nav-wrap { position: relative; }
  .nav-actions .btn-apply-text { display: none; }
}

/* ===========================================================
   Hero
   =========================================================== */
.hero { padding-block: clamp(48px, 7vw, 90px) clamp(40px, 6vw, 72px); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-microtrust { display: flex; flex-wrap: wrap; gap: 18px 26px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.hero-microtrust li { display: flex; align-items: center; gap: 8px; }
.hero-microtrust svg { width: 18px; height: 18px; color: var(--mint); flex: none; }

/* Quick apply card */
.quick-apply { padding: clamp(24px, 3vw, 34px); position: relative; }
.quick-apply h3 { margin-bottom: 6px; }
.quick-apply p { color: var(--muted); font-size: 0.93rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid rgba(99,102,241,.18);
  background: rgba(255,255,255,.7);
  color: var(--ink); transition: border .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--periwinkle);
  box-shadow: 0 0 0 4px rgba(99,102,241,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: 0.8rem; color: var(--muted); margin-top: 12px; text-align: center; }

.form-success {
  display: none; align-items: flex-start; gap: 12px;
  padding: 16px 18px; margin-top: 16px;
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, rgba(52,211,153,.16), rgba(56,189,248,.16));
  border: 1px solid rgba(52,211,153,.4);
  color: #065f46; font-weight: 600; font-size: 0.93rem;
}
.form-success.show { display: flex; animation: pop .4s var(--ease); }
.form-success svg { width: 22px; height: 22px; color: var(--mint); flex: none; margin-top: 1px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quick-apply { max-width: 480px; }
}

/* ===========================================================
   Trust badge row
   =========================================================== */
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 30px; padding: 22px clamp(20px,3vw,40px);
}
.trust-row .trust-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 0.92rem; }
.trust-row svg { width: 22px; height: 22px; color: var(--periwinkle); flex: none; }
.trust-divider { width: 1px; height: 26px; background: rgba(99,102,241,.16); }
@media (max-width: 640px){ .trust-divider { display: none; } }

/* ===========================================================
   Stats band
   =========================================================== */
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.stat { padding: 26px 22px; text-align: center; }
.stat .num {
  font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { font-size: 0.86rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
@media (max-width: 880px){ .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px){ .stats-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   How it works
   =========================================================== */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { padding: 30px 26px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step .step-num {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #fff;
  background: var(--grad-brand); box-shadow: var(--shadow-glow); margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }
.step .step-line { position: absolute; top: 54px; right: -11px; width: 22px; height: 2px; background: rgba(99,102,241,.3); }
@media (max-width: 800px){ .steps { grid-template-columns: 1fr; } .step .step-line { display: none; } }

/* ===========================================================
   Cards / grids (services, industries, values, etc.)
   =========================================================== */
.card-grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .cols-3, .cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.feature-card {
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px 140px at 85% -10%, rgba(56,189,248,.16), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover::after { opacity: 1; }
.icon-badge {
  width: 54px; height: 54px; border-radius: 16px; flex: none;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(99,102,241,.14), rgba(56,189,248,.14));
  border: 1px solid rgba(99,102,241,.16);
  color: var(--periwinkle-d);
}
.icon-badge svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }
.feature-card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--periwinkle-d); font-weight: 700; font-size: 0.9rem;
}
.feature-card .card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.feature-card:hover .card-link svg { transform: translateX(4px); }

/* ===========================================================
   Industries strip / cards
   =========================================================== */
.ind-card {
  padding: 22px 20px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ind-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ind-card .icon-badge { width: 46px; height: 46px; margin-bottom: 12px; }
.ind-card .icon-badge svg { width: 24px; height: 24px; }
.ind-card h3 { font-size: 1.08rem; }
.ind-card p { color: var(--muted); font-size: 0.9rem; }

.ind-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ind-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm); font-weight: 700; font-size: 0.92rem;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.ind-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ind-pill svg { width: 20px; height: 20px; color: var(--periwinkle); }

/* ===========================================================
   Testimonials
   =========================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px){ .testi-grid { grid-template-columns: 1fr; } }
.testi { padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.testi .stars { display: flex; gap: 3px; color: #FBBF24; }
.testi .stars svg { width: 18px; height: 18px; }
.testi blockquote { font-size: 1.02rem; color: var(--ink); font-weight: 500; line-height: 1.55; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.testi .who .name { font-weight: 700; font-size: 0.95rem; }
.testi .who .role { color: var(--muted); font-size: 0.83rem; }

/* ===========================================================
   FAQ / Accordion
   =========================================================== */
.accordion { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.acc-item { overflow: hidden; }
.acc-item .acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; padding: 20px 24px; font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.acc-item .acc-icon {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: rgba(99,102,241,.1); color: var(--periwinkle-d);
  transition: transform .3s var(--ease), background .3s;
}
.acc-item .acc-icon svg { width: 18px; height: 18px; }
.acc-item[aria-expanded-host="true"] .acc-icon,
.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--periwinkle); color: #fff; }
.acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 24px 22px; color: var(--muted); }
.acc-trigger[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }

/* ===========================================================
   Comparison table
   =========================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
table.compare {
  width: 100%; border-collapse: collapse; min-width: 760px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
table.compare th, table.compare td { padding: 16px 18px; text-align: left; font-size: 0.92rem; }
table.compare thead th {
  background: var(--grad-brand); color: #fff; font-weight: 700;
  letter-spacing: -0.01em;
}
table.compare thead th:first-child { border-top-left-radius: var(--r-lg); }
table.compare thead th:last-child { border-top-right-radius: var(--r-lg); }
table.compare tbody tr { border-top: 1px solid rgba(99,102,241,.1); }
table.compare tbody tr:nth-child(even) { background: rgba(238,242,255,.5); }
table.compare td:first-child { font-weight: 700; color: var(--ink); }

/* ===========================================================
   Service detail blocks
   =========================================================== */
.svc-block { padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.svc-block.alt { grid-template-columns: 1fr 1.4fr; }
.svc-block.alt .svc-text { order: 2; }
.svc-block .icon-badge { width: 60px; height: 60px; }
.svc-block .icon-badge svg { width: 32px; height: 32px; }
.svc-block h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 16px 0 12px; }
.svc-block p { color: var(--muted); margin-bottom: 18px; }
.svc-meta { display: grid; gap: 10px; }
.svc-meta .meta-row {
  display: flex; gap: 10px; align-items: baseline;
  padding: 12px 16px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.55); border: 1px solid rgba(99,102,241,.1);
}
.svc-meta .meta-row strong { color: var(--periwinkle-d); min-width: 92px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .04em; }
.svc-meta .meta-row span { color: var(--ink); font-size: 0.95rem; }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 0.96rem; }
.check-list svg { width: 22px; height: 22px; color: var(--mint); flex: none; margin-top: 1px; }
@media (max-width: 820px){
  .svc-block, .svc-block.alt { grid-template-columns: 1fr; }
  .svc-block.alt .svc-text { order: 0; }
}

/* ===========================================================
   Team
   =========================================================== */
.team-card { padding: 30px 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 26px; margin: 0 auto 18px;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.9rem;
  box-shadow: var(--shadow-glow);
}
.team-card h3 { font-size: 1.18rem; }
.team-card .role { color: var(--periwinkle-d); font-weight: 700; font-size: 0.88rem; margin: 2px 0 12px; }
.team-card p { color: var(--muted); font-size: 0.92rem; }

/* ===========================================================
   Timeline
   =========================================================== */
.timeline { max-width: 760px; margin-inline: auto; position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--periwinkle), var(--sky), var(--mint)); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--periwinkle); box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.tl-item .year { font-weight: 800; color: var(--periwinkle-d); font-size: 0.95rem; }
.tl-item h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.tl-item p { color: var(--muted); font-size: 0.94rem; }

/* ===========================================================
   Values
   =========================================================== */
.value-card { padding: 26px 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-card .icon-badge { margin-bottom: 14px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value-card p { color: var(--muted); font-size: 0.93rem; }

/* ===========================================================
   CTA band
   =========================================================== */
.cta-band { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-brand); opacity: .96;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background:
    radial-gradient(320px 200px at 12% 0%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(360px 240px at 95% 110%, rgba(52,211,153,.7), transparent 60%);
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-band .btn-primary { background: #fff; color: var(--periwinkle-d); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { box-shadow: 0 24px 50px rgba(0,0,0,.24); }
.cta-band .btn-ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===========================================================
   Page hero (interior pages)
   =========================================================== */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(20px, 3vw, 40px); text-align: center; }
.page-hero .lead { margin-inline: auto; }
.page-hero h1 { margin-bottom: 18px; }

/* ---------- Eligibility / mini info ---------- */
.eligibility { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.elig-card { padding: 26px 24px; text-align: center; }
.elig-card .icon-badge { margin: 0 auto 14px; }
.elig-card h3 { font-size: 1.4rem; }
.elig-card p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 720px){ .eligibility { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px,4vw,40px); align-items: start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info { padding: clamp(26px,3vw,36px); }
.contact-info .info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(99,102,241,.1); }
.contact-info .info-row:last-child { border-bottom: none; }
.contact-info .icon-badge { width: 44px; height: 44px; margin: 0; }
.contact-info .icon-badge svg { width: 22px; height: 22px; }
.contact-info .info-row .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.contact-info .info-row .val { font-weight: 700; font-size: 1rem; }
.contact-info .info-row .val small { display:block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.form-card { padding: clamp(26px,3vw,38px); }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; font-size: 0.95rem; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { margin-top: clamp(40px, 6vw, 80px); padding-top: 0; }
.footer-inner {
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 52px);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border); border-bottom: none;
  box-shadow: var(--shadow-md);
}
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.93rem; max-width: 34ch; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.93rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--periwinkle-d); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(99,102,241,.1); color: var(--periwinkle-d); transition: .25s var(--ease);
}
.footer-social a:hover { background: var(--periwinkle); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(99,102,241,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: 0.85rem;
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 16px; line-height: 1.5; max-width: 100%; opacity: .85; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }

/* ===========================================================
   Scroll reveal
   =========================================================== */
.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; }
}

/* ---------- Misc utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: clamp(28px,4vw,44px); }
.text-muted { color: var(--muted); }
.divider-soft { height: 1px; background: linear-gradient(90deg, transparent, rgba(99,102,241,.18), transparent); border: 0; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill); background: rgba(52,211,153,.14); color: #047857;
}

/* ===========================================================
   ENHANCEMENTS — added for new pages & interactive features
   =========================================================== */

/* ---------- Richer footer additions ---------- */
.footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; }
.footer-col .info-line { display: block; color: var(--muted); font-size: 0.9rem; padding: 5px 0; line-height: 1.5; }
.footer-col .info-line strong { color: var(--ink); font-weight: 700; }
.footer-trust {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(99,102,241,.12);
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
}
.footer-trust .ft-badge { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 700; font-size: 0.84rem; }
.footer-trust .ft-badge svg { width: 20px; height: 20px; color: var(--periwinkle); flex: none; }
.footer-trust .ft-badge .stars-mini { color: #FBBF24; letter-spacing: 1px; }
@media (max-width: 1040px){ .footer-top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand); z-index: 200; transition: width .1s linear;
  box-shadow: 0 1px 6px rgba(99,102,241,.5);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 150;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-brand); box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg { width: 22px; height: 22px; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 180; width: min(680px, calc(100% - 32px));
  display: none; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--r);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookie-banner.show { display: flex; opacity: 1; transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: 0.9rem; color: var(--muted); flex: 1 1 280px; margin: 0; }
.cookie-banner p a { color: var(--periwinkle-d); font-weight: 700; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Testimonial carousel ---------- */
.carousel { position: relative; max-width: 820px; margin-inline: auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--r-lg); }
.carousel-track { display: flex; transition: transform .5s var(--ease); }
.carousel-slide { min-width: 100%; padding: 6px; }
.carousel-slide .testi { height: 100%; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--periwinkle-d);
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm); transition: .25s var(--ease);
}
.carousel-btn:hover { background: var(--periwinkle); color: #fff; transform: translateY(-2px); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; padding: 0;
  background: rgba(99,102,241,.25); transition: .25s var(--ease);
}
.carousel-dots button.active { background: var(--periwinkle); transform: scale(1.25); width: 26px; border-radius: var(--r-pill); }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* ---------- Funding calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px,4vw,40px); align-items: stretch; }
@media (max-width: 820px){ .calc-grid { grid-template-columns: 1fr; } }
.calc-controls { padding: clamp(26px,3vw,36px); }
.calc-controls .field { margin-bottom: 22px; }
.calc-out { padding: clamp(26px,3vw,36px); display: flex; flex-direction: column; justify-content: center; gap: 16px;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(56,189,248,.12)); }
.calc-out .out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.calc-out .out-row .out-label { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.calc-out .out-row .out-val { font-weight: 800; font-size: clamp(1.4rem,2.6vw,2rem); letter-spacing: -0.03em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-out .out-row.small .out-val { font-size: 1.15rem; -webkit-text-fill-color: var(--ink); background: none; color: var(--ink); }
.calc-out .calc-disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* Range slider styling */
.range-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.range-row .range-val { font-weight: 800; color: var(--periwinkle-d); font-size: 1.1rem; }
input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--periwinkle), var(--sky)); outline-offset: 4px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--periwinkle); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--periwinkle);
  box-shadow: var(--shadow-sm); cursor: pointer;
}

/* ---------- Multi-step wizard ---------- */
.wizard { max-width: 760px; margin-inline: auto; }
.wizard-progress { margin-bottom: 30px; }
.wizard-steps { display: flex; justify-content: space-between; position: relative; margin-bottom: 14px; }
.wizard-steps::before {
  content: ""; position: absolute; top: 19px; left: 5%; right: 5%; height: 3px;
  background: rgba(99,102,241,.18); border-radius: var(--r-pill); z-index: 0;
}
.wizard-bar {
  position: absolute; top: 19px; left: 5%; height: 3px; width: 0%;
  background: var(--grad-brand); border-radius: var(--r-pill); z-index: 1;
  transition: width .45s var(--ease);
}
.wstep { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.wstep .dot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem; background: #fff; color: var(--muted);
  border: 2px solid rgba(99,102,241,.25); transition: .35s var(--ease);
}
.wstep .dot svg { width: 20px; height: 20px; display: none; }
.wstep .wlabel { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-align: center; transition: color .3s; }
.wstep.active .dot { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.wstep.active .wlabel { color: var(--periwinkle-d); }
.wstep.done .dot { background: var(--mint); border-color: transparent; color: #fff; }
.wstep.done .dot .num { display: none; }
.wstep.done .dot svg { display: block; }
@media (max-width: 560px){ .wstep .wlabel { display: none; } .wizard-steps::before, .wizard-bar { top: 19px; } }

.wizard-card { padding: clamp(26px,4vw,40px); }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: wfade .4s var(--ease); }
@keyframes wfade { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wizard-panel h2 { font-size: clamp(1.4rem,2.6vw,1.9rem); margin-bottom: 6px; }
.wizard-panel .panel-sub { color: var(--muted); margin-bottom: 24px; font-size: 0.96rem; }
.field .err { display: none; color: #dc2626; font-size: 0.8rem; font-weight: 600; margin-top: 6px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.checkbox-field { display: flex; gap: 11px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.55); border: 1px solid rgba(99,102,241,.12); }
.checkbox-field input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--periwinkle); }
.checkbox-field label { font-size: 0.88rem; color: var(--muted); font-weight: 500; margin: 0; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.wizard-actions .btn-back[hidden] { visibility: hidden; }

/* Wizard review */
.review-list { display: grid; gap: 12px; }
.review-group { padding: 18px 20px; border-radius: var(--r-sm); background: rgba(255,255,255,.55); border: 1px solid rgba(99,102,241,.1); }
.review-group h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--periwinkle-d); margin-bottom: 10px; }
.review-group .rrow { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 0.94rem; }
.review-group .rrow dt { color: var(--muted); }
.review-group .rrow dd { font-weight: 700; text-align: right; }

/* Wizard success */
.wizard-success { display: none; text-align: center; padding: clamp(30px,5vw,56px); }
.wizard-success.show { display: block; animation: pop .5s var(--ease); }
.wizard-success .success-ring {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; color: #fff; background: var(--grad-mint);
  box-shadow: 0 18px 50px rgba(52,211,153,.4); animation: ringpop .6s var(--ease);
}
.wizard-success .success-ring svg { width: 46px; height: 46px; }
@keyframes ringpop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.wizard-success h2 { margin-bottom: 12px; }
.wizard-success p { color: var(--muted); max-width: 44ch; margin: 0 auto 24px; }

/* ---------- Blog / Insights ---------- */
.featured-article { padding: clamp(28px,4vw,44px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px,4vw,40px); align-items: center; }
@media (max-width: 820px){ .featured-article { grid-template-columns: 1fr; } }
.featured-article .fa-visual {
  border-radius: var(--r-lg); min-height: 260px; position: relative; overflow: hidden;
  background: var(--grad-brand); box-shadow: var(--shadow-md);
}
.featured-article .fa-visual::after {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background: radial-gradient(260px 180px at 20% 20%, rgba(255,255,255,.45), transparent 60%),
              radial-gradient(280px 200px at 90% 100%, rgba(52,211,153,.6), transparent 60%);
}
.cat-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--periwinkle-d); background: rgba(99,102,241,.12);
  padding: 5px 12px; border-radius: var(--r-pill); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-top: 14px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }
.featured-article h2 { margin: 16px 0 12px; }
.featured-article p { color: var(--muted); margin-bottom: 18px; }

.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .post-thumb { height: 150px; position: relative; overflow: hidden; }
.post-card .post-thumb::after { content: ""; position: absolute; inset: 0; opacity: .35;
  background: radial-gradient(180px 120px at 80% 0%, rgba(255,255,255,.5), transparent 65%); }
.post-card .post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.12rem; margin: 12px 0 8px; }
.post-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.post-card .article-meta { margin-top: 16px; }

/* gradient thumb variants */
.g-peri { background: linear-gradient(135deg, var(--periwinkle), var(--sky)); }
.g-mint { background: linear-gradient(135deg, var(--mint), var(--sky)); }
.g-sky  { background: linear-gradient(135deg, var(--sky), var(--periwinkle)); }
.g-mix  { background: linear-gradient(135deg, var(--periwinkle-d), var(--mint)); }

/* Newsletter */
.newsletter { padding: clamp(30px,4vw,48px); text-align: center; }
.newsletter h2 { margin-bottom: 10px; }
.newsletter p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }
.newsletter form { display: flex; gap: 12px; max-width: 480px; margin-inline: auto; flex-wrap: wrap; }
.newsletter input[type="email"] { flex: 1 1 220px; padding: 14px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(99,102,241,.18); background: rgba(255,255,255,.8); }
.newsletter input[type="email"]:focus { outline: none; border-color: var(--periwinkle); box-shadow: 0 0 0 4px rgba(99,102,241,.14); }

/* ---------- Article (single post) ---------- */
.article-body { max-width: 720px; margin-inline: auto; }
.article-body > * { margin-bottom: 1.2em; }
.article-body h2 { font-size: clamp(1.5rem,2.8vw,2rem); margin-top: 1.6em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.3em; }
.article-body p { color: #334155; font-size: 1.06rem; line-height: 1.75; }
.article-body ul.bullets { display: grid; gap: 10px; padding-left: 0; }
.article-body ul.bullets li { display: flex; gap: 11px; align-items: flex-start; color: #334155; }
.article-body ul.bullets li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-top: 9px; flex: none;
  background: var(--periwinkle); }
.pull-quote { border-left: 4px solid var(--periwinkle); padding: 6px 0 6px 24px; margin: 1.8em 0;
  font-size: 1.3rem; font-weight: 700; line-height: 1.4; color: var(--ink); letter-spacing: -0.02em; }
.callout { padding: 22px 24px; border-radius: var(--r); display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(56,189,248,.12), rgba(99,102,241,.12)); border: 1px solid rgba(99,102,241,.16); }
.callout svg { width: 26px; height: 26px; color: var(--periwinkle-d); flex: none; margin-top: 2px; }
.callout p { margin: 0; font-size: 0.98rem; color: var(--ink); }
.takeaways { padding: 26px 28px; }
.takeaways h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.takeaways h3 svg { width: 24px; height: 24px; color: var(--mint); }
.share-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
.share-row .share-label { font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.share-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(99,102,241,.1); color: var(--periwinkle-d); transition: .25s var(--ease); }
.share-btn:hover { background: var(--periwinkle); color: #fff; transform: translateY(-3px); }
.share-btn svg { width: 19px; height: 19px; }
.article-hero-meta { display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.byline { display: flex; align-items: center; gap: 11px; }
.byline .avatar { width: 42px; height: 42px; font-size: .9rem; }
.byline .name { font-weight: 700; font-size: 0.95rem; }
.byline .role { color: var(--muted); font-size: 0.82rem; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px,4vw,52px); align-items: start; }
@media (max-width: 860px){ .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static !important; } }
.legal-toc { position: sticky; top: 90px; padding: 22px 20px; }
.legal-toc h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 12px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 0.9rem; font-weight: 600; transition: color .2s; }
.legal-toc a:hover { color: var(--periwinkle-d); }
.legal-content { padding: clamp(28px,4vw,44px); }
.legal-note { padding: 16px 20px; border-radius: var(--r-sm); margin-bottom: 26px; font-size: 0.9rem;
  background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.35); color: #92400e; }
.legal-content section { margin-bottom: 34px; scroll-margin-top: 90px; }
.legal-content section h2 { font-size: 1.3rem; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.legal-content section h2 .sec-num { color: var(--periwinkle-d); font-weight: 800; }
.legal-content p, .legal-content li { color: #475569; font-size: 0.98rem; }
.legal-content p { margin-bottom: 12px; }
.legal-content ul.legal-list { display: grid; gap: 8px; margin: 8px 0 14px; }
.legal-content ul.legal-list li { display: flex; gap: 10px; }
.legal-content ul.legal-list li::before { content: "—"; color: var(--periwinkle); flex: none; }
.last-updated { color: var(--muted); font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }

/* ===========================================================
   DETAIL PAGES — breadcrumb, hero badges, related grid
   (service-*.html and industry-*.html)
   =========================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-block: 18px 0; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 600; color: var(--muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--periwinkle-d); }
.breadcrumb li[aria-current="page"] { color: var(--periwinkle-d); }
.breadcrumb .sep { color: rgba(99,102,241,.4); flex: none; }
.breadcrumb .sep svg { width: 14px; height: 14px; display: block; }

/* ---------- Detail hero ---------- */
.detail-hero { padding-block: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 36px); }
.detail-hero .icon-badge { width: 60px; height: 60px; margin-bottom: 18px; }
.detail-hero .icon-badge svg { width: 32px; height: 32px; }
.detail-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin-bottom: 16px; }
.detail-hero .lead { margin-bottom: 24px; }
.key-terms { display: flex; flex-wrap: wrap; gap: 12px; }
.key-term {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.key-term .kt-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.key-term .kt-val { font-size: 1.02rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }

/* ---------- Generic two-column prose + side panel ---------- */
.detail-split { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 880px){ .detail-split { grid-template-columns: 1fr; } }
.prose-block h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.prose-block > p { color: var(--muted); margin-bottom: 14px; font-size: 1.04rem; }
.prose-block > p:last-child { margin-bottom: 0; }
.side-panel { padding: clamp(24px, 3vw, 32px); position: sticky; top: 90px; }
@media (max-width: 880px){ .side-panel { position: static; } }
.side-panel h3 { font-size: 1.15rem; margin-bottom: 16px; }
.side-panel .check-list { margin-bottom: 22px; }

/* ---------- Use-case / requirement list ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media (max-width: 620px){ .usecase-grid { grid-template-columns: 1fr; } }
.usecase {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.55); border: 1px solid rgba(99,102,241,.1);
}
.usecase svg { width: 24px; height: 24px; color: var(--periwinkle-d); flex: none; margin-top: 1px; }
.usecase h3 { font-size: 1rem; margin-bottom: 3px; }
.usecase p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Rates & terms detail rows ---------- */
.detail-rows { display: grid; gap: 10px; }
.detail-rows .meta-row {
  display: flex; gap: 12px; align-items: baseline; justify-content: space-between;
  padding: 14px 18px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.55); border: 1px solid rgba(99,102,241,.1);
}
.detail-rows .meta-row strong { color: var(--periwinkle-d); font-size: 0.84rem; text-transform: uppercase; letter-spacing: .04em; }
.detail-rows .meta-row span { color: var(--ink); font-size: 0.96rem; font-weight: 600; text-align: right; }

/* ---------- Benefits grid (small) ---------- */
.benefit-card { padding: 24px 22px; transition: transform .3s var(--ease), box-shadow .3s; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.benefit-card .icon-badge { width: 48px; height: 48px; margin-bottom: 14px; }
.benefit-card .icon-badge svg { width: 26px; height: 26px; }
.benefit-card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.benefit-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Related cards (link cards) ---------- */
.related-card { display: flex; flex-direction: column; padding: 24px 22px; transition: transform .3s var(--ease), box-shadow .3s; }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.related-card .icon-badge { width: 46px; height: 46px; margin-bottom: 12px; }
.related-card .icon-badge svg { width: 24px; height: 24px; }
.related-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.related-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.related-card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  color: var(--periwinkle-d); font-weight: 700; font-size: 0.9rem;
}
.related-card .card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.related-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Inline stats row (industry pages) ---------- */
.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 720px){ .mini-stats { grid-template-columns: 1fr; } }
.mini-stat { padding: 24px 22px; text-align: center; }
.mini-stat .num {
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mini-stat .label { font-size: 0.86rem; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ---------- Single tailored testimonial ---------- */
.solo-testi { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.solo-testi .stars { display: flex; gap: 3px; color: #FBBF24; }
.solo-testi .stars svg { width: 20px; height: 20px; }
.solo-testi blockquote { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.solo-testi .who { display: flex; align-items: center; gap: 14px; }

/* ---------- Eligibility inline note ---------- */
.elig-note {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--r);
  background: linear-gradient(135deg, rgba(56,189,248,.12), rgba(99,102,241,.12));
  border: 1px solid rgba(99,102,241,.16);
}
.elig-note svg { width: 28px; height: 28px; color: var(--periwinkle-d); flex: none; margin-top: 2px; }
.elig-note h3 { font-size: 1.1rem; margin-bottom: 6px; }
.elig-note p { color: var(--ink); font-size: 0.96rem; margin: 0; }
.elig-note p + p { margin-top: 8px; color: var(--muted); }

/* ---------- "Learn more" link on existing service blocks ---------- */
.svc-text .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  color: var(--periwinkle-d); font-weight: 700; font-size: 0.95rem;
}
.svc-text .card-link svg { width: 17px; height: 17px; transition: transform .2s; }
.svc-block:hover .svc-text .card-link svg { transform: translateX(4px); }
.ind-card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px;
  color: var(--periwinkle-d); font-weight: 700; font-size: 0.88rem;
}
.ind-card .card-link svg { width: 15px; height: 15px; transition: transform .2s; }
.ind-card:hover .card-link svg { transform: translateX(4px); }

/* ===========================================================
   PHOTOGRAPHY — real image treatment (brand glassmorphism)
   16–20px rounded corners, soft diffuse shadow, frosted border.
   Reuses existing tokens; light & airy look.
   =========================================================== */

/* Shared base for framed photos */
.img-frame {
  display: block; width: 100%; height: auto;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.5);
  background: var(--bg-2);
}
.img-frame-lg { border-radius: var(--r-lg); }

/* ---------- Home hero photo (paired with pastel gradient + scrim) ---------- */
.hero-photo {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.6);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16 / 11;
}
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* soft periwinkle/sky gradient wash + light scrim so any overlaid text stays legible */
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(120deg, rgba(99,102,241,.30), rgba(56,189,248,.18) 60%, transparent),
    radial-gradient(120% 80% at 80% 110%, rgba(52,211,153,.22), transparent 60%);
  mix-blend-mode: multiply;
}
.hero-photo .hero-photo-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 0.9rem; color: var(--ink);
}
.hero-photo .hero-photo-badge svg { width: 20px; height: 20px; color: var(--mint); flex: none; }

/* ---------- Generic media + copy split (home why-us, about story) ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.media-split.alt .media-figure { order: 2; }
@media (max-width: 820px){ .media-split, .media-split.alt { grid-template-columns: 1fr; } .media-split.alt .media-figure { order: 0; } }
.media-figure { position: relative; }
.media-figure img { aspect-ratio: 3 / 2; }
.media-figure figcaption {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 0.85rem; color: var(--ink);
}
.media-figure figcaption svg { width: 18px; height: 18px; color: var(--periwinkle); flex: none; }

/* ---------- About: round leadership headshots ---------- */
.team-card .team-photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 18px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-glow);
}

/* ---------- Industries grid: card thumbnails ---------- */
.ind-card { padding: 0; overflow: hidden; }
.ind-card .ind-thumb {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  display: block; border-radius: 0;
}
.ind-card .ind-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ind-card .ind-card-body .icon-badge { width: 42px; height: 42px; margin: -42px 0 6px; position: relative; z-index: 2;
  background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ind-card .ind-card-body .icon-badge svg { width: 22px; height: 22px; }

/* ---------- Detail page (industry/service) hero/feature photo ---------- */
.detail-hero-media {
  margin-top: clamp(20px,3vw,30px);
  border-radius: var(--r-lg);
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.55);
  border: 1px solid var(--glass-border);
}
.detail-hero-media img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; display: block; }
.detail-hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(99,102,241,.18), rgba(56,189,248,.10) 55%, transparent);
  mix-blend-mode: multiply;
}
@media (max-width: 620px){ .detail-hero-media img { aspect-ratio: 4 / 3; } }

/* ---------- Blog: real photos on cards & featured ---------- */
.fa-visual.fa-photo { background: none; padding: 0; min-height: 0; }
.fa-visual.fa-photo::after { display: none; }
.fa-visual.fa-photo img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; border-radius: var(--r-lg); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .post-thumb.has-photo::after { background: linear-gradient(180deg, transparent 60%, rgba(99,102,241,.10)); }

/* ---------- Article hero photo ---------- */
.article-hero-media {
  max-width: 980px; margin: clamp(22px,4vw,34px) auto 0;
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.55);
  border: 1px solid var(--glass-border);
}
.article-hero-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }

/* ===========================================================
   PHOTO-FREE VECTOR VISUALS
   Brand-consistent gradient-mesh + frosted-glass panels that
   stand in for photography. Pure CSS + inline SVG, fully offline.
   =========================================================== */

/* Shared gradient-mesh surface (soft periwinkle / sky / mint blobs
   on light lavender, like the page background mesh). */
.vmesh {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 12% 12%, rgba(99,102,241,.32), transparent 60%),
    radial-gradient(55% 75% at 88% 18%, rgba(56,189,248,.30), transparent 62%),
    radial-gradient(70% 90% at 78% 100%, rgba(52,211,153,.30), transparent 60%),
    radial-gradient(50% 70% at 30% 95%, rgba(99,102,241,.18), transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, #F4F1FF 55%, var(--bg) 100%);
}
/* Faint frosted highlight + grid sheen so panels read as "glass". */
.vmesh::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.45), transparent 38%),
    radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,.5), transparent 55%);
}

/* Centered decorative SVG/glyph layer for vector visuals. */
.vmesh-art {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.vmesh-art svg { width: 38%; max-width: 132px; height: auto; opacity: .9;
  color: var(--periwinkle-d);
  filter: drop-shadow(0 10px 22px rgba(79,70,229,.18)); }

/* Frosted "chip" floating inside a vector panel (badge / category label). */
.vmesh-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 0.85rem; color: var(--ink);
}
.vmesh-chip svg { width: 18px; height: 18px; color: var(--periwinkle); flex: none; }

/* ---- Home hero band (replaces .hero-photo img) ---- */
.hero-photo .vmesh { position: absolute; inset: 0; }
.hero-photo .vmesh-art svg { max-width: 168px; width: 30%; color: var(--periwinkle-d); }

/* ---- Generic media-split figure (home why-us, services story) ---- */
.media-figure .vmesh {
  display: block; width: 100%; aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.5);
}

/* ---- About: initials avatars on pastel gradient ---- */
.team-card .team-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em;
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-glow);
  background: var(--grad-brand);
}
.team-card:nth-child(2n) .team-avatar { background: var(--grad-mint); }
.team-card:nth-child(3n) .team-avatar {
  background: linear-gradient(120deg, var(--periwinkle-d) 0%, var(--mint) 100%); }
.team-card:nth-child(4n) .team-avatar {
  background: linear-gradient(120deg, var(--sky) 0%, var(--periwinkle) 100%); }

/* ---- Industries grid: vector cover panel ---- */
.ind-card .ind-thumb {
  width: 100%; aspect-ratio: 16 / 10; display: block; border-radius: 0;
}
.ind-card .ind-thumb .vmesh-art svg { width: 30%; max-width: 88px; }

/* ---- Industry / service detail hero: vector band ---- */
.detail-hero-media .vmesh { aspect-ratio: 16 / 6; display: block; }
.detail-hero-media .vmesh-art svg { max-width: 120px; width: 14%; }
@media (max-width: 620px){
  .detail-hero-media .vmesh { aspect-ratio: 4 / 3; }
  .detail-hero-media .vmesh-art svg { width: 28%; }
}

/* ---- Blog cards + featured: vector panel ---- */
.post-card .post-thumb .vmesh { position: absolute; inset: 0; }
.post-card .post-thumb .vmesh-chip { left: 12px; bottom: 12px; padding: 7px 12px; font-size: 0.78rem; }
.fa-visual.fa-vector { background: none; padding: 0; min-height: 0; }
.fa-visual.fa-vector::after { display: none; }
.fa-visual.fa-vector .vmesh {
  width: 100%; height: 100%; min-height: 260px; border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
}
.fa-visual.fa-vector .vmesh-art svg { max-width: 120px; }

/* ---- Article hero: vector band ---- */
.article-hero-media .vmesh { aspect-ratio: 2 / 1; display: block; }
.article-hero-media .vmesh-art svg { max-width: 140px; }

/* position helpers for chips inside vector panels */
.vmesh-chip.bl { left: 16px; bottom: 16px; }
.vmesh-chip.br { right: 16px; bottom: 16px; }

/* ===== Conversion boosters (CX): sticky CTA, exit-intent, social proof ===== */
:root { --cx-accent: var(--periwinkle); --cx-accent-ink: #FFFFFF; --cx-surface: var(--white); --cx-text: var(--ink); --cx-muted: var(--muted); --cx-line: rgba(99,102,241,0.22); --cx-bw: 1px; --cx-radius: 14px; --cx-radius-lg: 20px; --cx-kicker: var(--periwinkle); --cx-check: var(--mint); }

/* Sticky mobile CTA bar */
.cx-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: none; padding: 9px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--cx-surface, #fff); border-top: var(--cx-bw, 1px) solid var(--cx-line, rgba(0,0,0,.14)); box-shadow: 0 -12px 32px rgba(0,0,0,.22); transform: translateY(110%); transition: transform .35s ease; }
.cx-bar.show { transform: none; }
.cx-bar-note { font-size: .72rem; letter-spacing: .02em; color: var(--cx-muted, #777); text-align: center; margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-bar-btns { display: flex; gap: 10px; }
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .95rem; line-height: 1; padding: 14px 18px; border-radius: var(--cx-radius, 10px); text-decoration: none; cursor: pointer; border: 0; }
.cx-bar .cx-btn { flex: 1; }
.cx-bar .cx-btn-solid { flex: 1.6; }
.cx-btn-solid { background: var(--cx-accent, #111); color: var(--cx-accent-ink, #fff); }
.cx-btn-ghost { background: transparent; color: var(--cx-text, #111); border: var(--cx-bw, 1px) solid var(--cx-line, rgba(0,0,0,.25)); }
@media (max-width: 820px) {
  .cx-bar { display: block; }
  body.cx-bar-on .cookie-banner { bottom: 104px !important; }
  body.cx-bar-on .to-top { bottom: 104px !important; }
}

/* Exit-intent modal */
.cx-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 10, 14, .6); backdrop-filter: blur(5px); }
.cx-modal.open { display: flex; animation: cxFade .25s ease; }
@keyframes cxFade { from { opacity: 0; } to { opacity: 1; } }
.cx-modal-card { position: relative; width: min(520px, 100%); background: var(--cx-surface, #fff); color: var(--cx-text, #111); border: var(--cx-bw, 1px) solid var(--cx-line, rgba(0,0,0,.14)); border-radius: var(--cx-radius-lg, 18px); padding: 36px 34px 28px; box-shadow: 0 40px 90px rgba(0,0,0,.4); text-align: left; }
.cx-modal-x { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--cx-muted, #888); cursor: pointer; padding: 4px; }
.cx-modal-x:hover { color: var(--cx-text, #111); }
.cx-modal-kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-kicker, var(--cx-muted, #888)); margin-bottom: 10px; }
.cx-modal-title { font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.18; margin: 0 0 10px; color: var(--cx-text, #111); }
.cx-modal-sub { font-size: .96rem; color: var(--cx-muted, #666); margin: 0 0 18px; }
.cx-modal-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.cx-modal-list li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--cx-text, #222); }
.cx-modal-list svg { flex: none; color: var(--cx-check, currentColor); }
.cx-modal-cta { display: flex; width: 100%; font-size: 1.02rem; padding: 16px 20px; }
.cx-modal-no { display: block; width: 100%; margin-top: 12px; background: none; border: 0; color: var(--cx-muted, #888); font-size: .82rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cx-modal-no:hover { color: var(--cx-text, #111); }

/* Social-proof toast */
.cx-toast { position: fixed; left: 20px; bottom: 20px; z-index: 9994; display: none; align-items: flex-start; gap: 11px; width: min(330px, calc(100vw - 40px)); background: var(--cx-surface, #fff); color: var(--cx-text, #111); border: var(--cx-bw, 1px) solid var(--cx-line, rgba(0,0,0,.14)); border-radius: var(--cx-radius, 12px); box-shadow: 0 18px 48px rgba(0,0,0,.28); padding: 14px 34px 14px 14px; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.cx-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.cx-toast-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--cx-dot, #22c55e); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.cx-toast-body { font-size: .86rem; line-height: 1.45; }
.cx-toast-time { display: block; margin-top: 4px; font-size: .74rem; color: var(--cx-muted, #888); }
.cx-toast-x { position: absolute; top: 6px; right: 9px; background: none; border: 0; font-size: 1.15rem; line-height: 1; color: var(--cx-muted, #999); cursor: pointer; padding: 2px; }
@media (min-width: 821px) { .cx-toast { display: flex; } }
@media (prefers-reduced-motion: reduce) { .cx-bar, .cx-toast { transition: none; } .cx-modal.open { animation: none; } }
