/* ===========================================================
   comms — default-theme.css
   Klivolks family theme (tokens/classes match sibling apps —
   kpass.klivolks.com, klivolks.com). Loaded AFTER Bootstrap's
   CSS. Bootstrap supplies grid + utilities only; every visual
   component below uses its own class name (never .btn/.card/
   .navbar) so Bootstrap's component CSS never touches it.
   =========================================================== */

:root{
  --white:#FFFFFF;
  --surface:#F5F7FA;
  --ink:#14171C;
  --muted:#5B6572;
  --line:#E2E6EB;
  --brand:#22A7F0;
  --brand-dark:#1B87C4;
  --brand-tint: rgba(34,167,240,0.1);
  --navy:#0E2A44;
  --navy-2:#12365A;
  --radius-sig: 0 32px 0 32px;   /* signature: matches logo geometry */
  --radius-sig-sm: 0 18px 0 18px;
}

html{scroll-behavior:smooth;color-scheme:light;background:var(--white);}
body{
  font-family:'Inter', -apple-system, sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  margin:0;
}
h1,h2,h3,.display{font-family:'Space Grotesk', sans-serif;letter-spacing:-0.02em;font-weight:600;}
.mono{font-family:'JetBrains Mono', monospace;letter-spacing:-0.01em;}
a{color:inherit;text-decoration:none;}
:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:4px;}

/* ---------- Header / logo ---------- */
header{position:sticky;top:0;z-index:500;background:rgba(255,255,255,0.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);}
.header-row{display:flex;align-items:center;padding:14px 0;gap:28px;}
.logo{display:flex;align-items:center;gap:9px;font-weight:700;font-size:21px;font-family:'Space Grotesk',sans-serif;}
.logo-icon{width:30px;height:30px;object-fit:contain;flex:none;}
.logo-suffix{font-size:14px;font-weight:500;color:var(--muted);margin-left:1px;}

.primary-nav{display:flex;gap:4px;align-items:center;flex:1;}
.nav-link-plain{
  font-size:14.5px;font-weight:500;color:var(--muted);padding:10px 12px;border-radius:8px;
  transition:color .15s, background .15s;
}
.nav-link-plain:hover{color:var(--ink);background:var(--surface);}
.header-actions{display:flex;align-items:center;gap:12px;}

/* ---------- Buttons (custom name — no Bootstrap collision) ---------- */
.btn-kl{
  display:inline-flex;align-items:center;justify-content:center;
  font-size:14.5px;font-weight:600;padding:10px 20px;border-radius:8px;
  border:1px solid transparent;cursor:pointer;transition:all .15s;
}
.btn-kl-primary{background:var(--ink);color:var(--white);}
.btn-kl-primary:hover{background:var(--brand-dark);}
.btn-kl-ghost{color:var(--ink);border-color:var(--line);}
.btn-kl-ghost:hover{border-color:var(--ink);}
.btn-kl-lg{padding:14px 26px;font-size:15.5px;border-radius:10px;}

/* ---------- Hero ---------- */
.hero{padding:88px 0 72px;}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--brand-dark);margin-bottom:20px;}
.eyebrow::before{content:"";width:6px;height:6px;background:var(--brand);border-radius:2px;}
.hero h1{font-size:clamp(34px,4.6vw,52px);line-height:1.08;max-width:620px;margin-bottom:20px;}
.hero p{font-size:17.5px;color:var(--muted);max-width:520px;margin-bottom:32px;line-height:1.55;}
.hero-art{width:100%;height:auto;}

/* ---------- Hero SVG animation (kl-hero-*: shared naming across the
   Klivolks family so a future shared stylesheet stays drop-in) --- */
.kl-hero-line{fill:none;stroke:var(--line);stroke-width:2px;stroke-dasharray:4px 5px;}
.kl-hero-node-bg{fill:var(--white);stroke:var(--line);stroke-width:1px;}
.kl-hero-node-dot{fill:var(--brand-tint);stroke:var(--brand);stroke-width:1.5px;}
.kl-hero-node-line{fill:var(--line);}
.kl-hero-pulse-ring{fill:none;stroke:var(--brand);stroke-width:2px;}
.kl-hero-hub-bg{fill:var(--navy);}
.kl-hero-hub-icon{fill:none;stroke:var(--white);stroke-width:3.5px;stroke-linecap:round;stroke-linejoin:round;}
.kl-hero-dot{fill:var(--brand);}

/* ---------- How it works ---------- */
.steps{padding:72px 0;background:var(--surface);}
.section-head{max-width:600px;margin-bottom:44px;}
.section-head h2{font-size:clamp(24px,2.8vw,30px);margin-bottom:10px;}
.section-head p{color:var(--muted);font-size:15.5px;}
.step{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-sig-sm);padding:26px 24px;height:100%;}
.step .step-no{
  display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;
  border-radius:8px;background:var(--brand-tint);color:var(--brand-dark);
  font-family:'JetBrains Mono',monospace;font-size:13px;font-weight:600;margin-bottom:14px;
}
.step h3{font-size:16.5px;margin-bottom:8px;}
.step p{font-size:14px;color:var(--muted);line-height:1.55;margin:0;}

/* ---------- Bundled-with strip ---------- */
.bundled{padding:52px 0;text-align:center;}
.bundled p{font-size:13px;font-weight:600;letter-spacing:0.05em;text-transform:uppercase;color:var(--muted);margin-bottom:18px;}
.bundled-apps{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;}
.bundled-apps span{
  font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:14px;color:var(--ink);
  border:1px solid var(--line);border-radius:20px;padding:7px 16px;
}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--line);padding:24px 0;}
.footer-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted);}
.footer-row a{color:var(--muted);}
.footer-row a:hover{color:var(--ink);}

@media (max-width:767px){
  .primary-nav{display:none;}
  .hero{padding:56px 0 48px;text-align:left;}
}
