:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --text: #1b2333;
  --muted: #5b6577;
  --primary: #3b5bdb;
  --primary-dark: #2f4ac0;
  --border: #e3e7ef;
  --radius: 12px;
  --max: 1100px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; font-weight: 700; font-size: 1.25rem; color: var(--text); }
.logo img { width: 32px; height: 32px; margin-right: .6rem; }
.logo span { color: var(--primary); }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 1.75rem; list-style: none; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* Buttons */
.btn { display: inline-block; padding: .75rem 1.4rem; border-radius: 8px; font-weight: 600;
  border: 2px solid var(--primary); transition: background .2s, color .2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); text-decoration: none; }
.btn-outline { color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* Sections */
section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2rem; margin-bottom: .75rem; }
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 2.5rem; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 6rem 0 5rem; background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 60%); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; max-width: 760px; margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin-bottom: 2rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.page-hero { padding: 4rem 0 3rem; background: var(--bg-alt); }
.page-hero h1 { font-size: 2.5rem; margin-bottom: .5rem; }
.page-hero p { color: var(--muted); max-width: 640px; }

/* Cards */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
  transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(27,35,51,.08); }
.card .icon { font-size: 1.8rem; margin-bottom: .75rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); }
.card ul { color: var(--muted); margin: .75rem 0 0 1.1rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-size: 2.2rem; color: var(--primary); }
.stat span { color: var(--muted); }

/* Two-column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

/* Products */
.product-jump { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.25rem; }
.product-jump a { font-weight: 600; }
.product { scroll-margin-top: 68px; }
.product .split { align-items: center; }
.product-figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.product-tagline { font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }
.product p { color: var(--muted); margin-bottom: 1rem; }
.product h3 { margin: 1.5rem 0 .75rem; }
.value-list { list-style: none; display: grid; gap: .85rem; margin-bottom: 1.5rem; }
.value-list li { position: relative; padding-left: 1.75rem; color: var(--muted); }
.value-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }
.value-list strong, .product-uses strong { color: var(--text); }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--primary); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .75rem; }
.section-alt .badge { background: var(--bg); }

/* Home: product cards */
.product-cards { text-align: left; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin: 0 auto; }
.product-card { display: block; color: var(--text); }
.product-card:hover { text-decoration: none; }
.product-card img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 1rem; }
.product-card h3 { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.product-card .badge { margin-bottom: 0; }

/* Home: customer logos */
.logo-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem 3.5rem; }
.logo-row img { height: 40px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
.logo-row img.logo-compact { height: 30px; }
@media (max-width: 760px) {
  .logo-row { gap: 2rem 2.5rem; }
  .logo-row img { height: 30px; }
  .logo-row img.logo-compact { height: 22px; }
}

/* Engagement: POD cards */
.pod-grid { text-align: left; }

/* CTA */
.cta { background: var(--primary); color: #fff; text-align: center; border-radius: var(--radius); padding: 3.5rem 1.5rem; }
.cta h2 { font-size: 1.9rem; margin-bottom: .75rem; }
.cta p { opacity: .9; margin-bottom: 1.5rem; }
.cta .btn { background: #fff; color: var(--primary); border-color: #fff; }
.cta .btn:hover { background: transparent; color: #fff; }

/* Form */
.form { display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: .95rem; }
.form input, .form textarea, .form select { width: 100%; padding: .75rem .9rem; border: 1px solid var(--border);
  border-radius: 8px; font: inherit; margin-top: .35rem; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--primary); border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: .9rem; }
.contact-info p { margin-bottom: 1rem; color: var(--muted); }
.contact-info strong { color: var(--text); display: block; }

/* Footer */
.site-footer { background: #111827; color: #cbd2e0; padding: 3rem 0 2rem; margin-top: 0; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.site-footer a { color: #cbd2e0; }
.site-footer .footer-links { display: flex; gap: 1.25rem; list-style: none; }
.site-footer small { display: block; margin-top: .5rem; color: #8b93a7; }

/* Responsive */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav li a { display: block; padding: 1rem 1.25rem; }
  .split { grid-template-columns: 1fr; }
  #sentiq .product-figure { order: -1; }
  section { padding: 3.5rem 0; }
}
