/* Klaros marketing site — styles */

:root {
  --navy: #0A3170;
  --navy-dark: #071F49;
  --purple: #A418D4;
  --purple-light: #C24FEB;
  --bg-light: #F7F8FB;
  --bg-card: #FFFFFF;
  --text-dark: #1B2333;
  --text-muted: #5B6472;
  --border: #E4E7EE;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(10, 49, 112, 0.06);
  --shadow-lift: 0 12px 32px rgba(10, 49, 112, 0.12);
  --gradient: linear-gradient(120deg, var(--navy) 0%, var(--purple) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { padding: 96px 0; }
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0; color: var(--navy-dark); }
h1 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: 19px; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 17px; margin-top: 14px; }

p { color: var(--text-muted); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-lift); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(164, 24, 212, 0.28); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}
.nav-links a:hover { color: var(--purple); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-dark);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
  background: linear-gradient(180deg, #FBFAFF 0%, #FFFFFF 70%);
}
.hero-decoration {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px);
  justify-content: start;
  gap: 40px;
}
.hero p.lead {
  font-size: 19px;
  margin-top: 20px;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* Badge bar */
.badge-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}
.badge-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 24px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
}
.badge .icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
  position: relative;
}
.step { position: relative; padding-left: 4px; }
.step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  color: var(--purple);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; }

/* Who it's for */
.personas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.persona {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  background: #fff;
}
.persona .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.persona h3 { font-size: 16px; }

#contact { padding-bottom: 40px; }

/* CTA band */
.cta-band {
  background: var(--gradient);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
  max-width: 1112px;
  margin-inline: auto;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); margin-top: 14px; font-size: 17px; }
.cta-band .hero-ctas { justify-content: center; margin-top: 30px; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-header .container > .header-actions .btn-ghost { display: none; }
  .badge-bar .container { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .personas { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-decoration { opacity: 0.6; width: 380px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .personas { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 26px; margin: 0 16px; }
  .hero { padding: 56px 0 48px; }
  .hero-decoration { display: none; }
}

/* Legal pages */
.draft-banner {
  background: #FFF7E6;
  border-bottom: 1px solid #F3D9A4;
  color: #7A5A15;
  font-size: 14px;
  text-align: center;
  padding: 12px 24px;
}
.draft-banner strong { color: #5C4210; }

.legal-hero {
  padding: 56px 0 24px;
  background: linear-gradient(180deg, #FBFAFF 0%, #FFFFFF 100%);
}
.legal-hero .eyebrow { margin-bottom: 10px; }
.legal-hero .updated { color: var(--text-muted); font-size: 14px; margin-top: 10px; }

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}
.legal-content h2 {
  font-size: 21px;
  margin-top: 44px;
  margin-bottom: 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin-bottom: 16px; font-size: 15.5px; color: var(--text-dark); }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; font-size: 15.5px; color: var(--text-dark); }
.legal-content a { color: var(--purple); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-content .note {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 40px;
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: #fff;
  z-index: 49;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .header-actions { flex-direction: column; margin-top: 24px; gap: 12px; }
.mobile-menu .btn { width: 100%; }
