/* =========================================================================
   Pipeline Risk — site design system (multi-page)
   Hand-built, no framework. Edit the CSS variables to re-skin everything.
   ========================================================================= */

:root {
  /* ---- BRAND (edit these to re-skin) ---- */
  --navy:       #0d1f33;
  --navy-2:     #16304d;
  --accent:     #38bdf8;   /* sky-blue accent */
  --accent-2:   #2563eb;   /* deeper blue for buttons/links */
  --ink:        #1e293b;
  --muted:      #475569;
  --line:       #e2e8f0;
  --bg:         #ffffff;
  --bg-alt:     #f7f9fc;

  --radius:     14px;
  --maxw:       1140px;
  --shadow:     0 10px 30px rgba(13, 31, 51, 0.08);
  --shadow-lg:  0 24px 60px rgba(13, 31, 51, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: var(--accent-2); margin-bottom: 0.6rem; display: block;
}
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 660px; margin: 1rem auto 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.98rem; padding: 0.8rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-primary { background: var(--accent-2); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,0.3); }
.btn-primary:hover { background: #1d4ed8; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ---------------- Temporary launch announcement bar ---------------- */
/* Delete the .announce markup in each .html (and optionally this rule) once
   sample dashboards are live (June 20, 2026). */
.announce {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #fff; text-align: center; font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1rem; line-height: 1.4;
}
.announce strong { font-weight: 800; }
.announce a { color: #fff; text-decoration: underline; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark { width: auto; height: 26px; display: block; }
.brand-name { font-size: 1.25rem; color: var(--navy); letter-spacing: -0.02em; }
.brand-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.96rem; }
.nav-links a:hover { color: var(--navy); text-decoration: none; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.25s; }

/* ---------------- Hero (home) ---------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(56,189,248,0.25), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 400px at 75% 0%, #000, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; padding: 6rem 0 5rem; max-width: 760px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; }
.hero-sub { font-size: 1.18rem; color: #cdd9e8; margin-top: 1.3rem; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.hero .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  color: #fff; padding: 4rem 0 3.5rem;
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(56,189,248,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: #cdd9e8; font-size: 1.1rem; max-width: 640px; margin-top: 0.9rem; }

/* ---------------- Stat band ---------------- */
.stat-band { background: var(--navy); color: #fff; }
.stat-band .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding-top: 2.4rem; padding-bottom: 2.4rem; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; }
.stat-item span { font-size: 0.82rem; color: #9fb3c8; }
/* On the dark hero, a lighter inline variant */
.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3rem; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.7rem; color: #fff; font-weight: 800; }
.stat span { font-size: 0.86rem; color: #9fb3c8; }

/* ---------------- Cards (capabilities / services) ---------------- */
.cards { display: grid; gap: 1.4rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe0f5; }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.5rem;
  border-radius: 12px; margin-bottom: 1rem; background: linear-gradient(135deg, #e8f5ff, #eef4ff);
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ---------------- Differentiators (split) ---------------- */
.split { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split p { color: var(--muted); margin: 1rem 0; font-size: 1.04rem; }
.panel-dark {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-lg);
}
/* Founder lockup (About) */
.founder { display: flex; align-items: center; gap: 1rem; margin: 0.4rem 0 1.4rem; }
.headshot { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow); flex-shrink: 0; }
.founder h3 { margin: 0; color: var(--navy); }
.founder span { color: var(--muted); font-size: 0.92rem; }

.checklist { list-style: none; }
.checklist li { color: #e2ebf5; padding: 0.7rem 0 0.7rem 2rem; position: relative; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0.7rem; color: var(--accent); font-weight: 800; }

/* image placeholder for screenshots */
.shot {
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  width: 100%; display: block; background: var(--bg-alt);
}
.shot-ph {
  border-radius: var(--radius); border: 1px dashed #b9c6d8; background:
    repeating-linear-gradient(45deg, #f1f5fb, #f1f5fb 12px, #e9eff7 12px, #e9eff7 24px);
  display: grid; place-items: center; min-height: 280px; color: var(--muted); font-size: 0.9rem; text-align: center; padding: 1.5rem;
}

/* ---------------- Steps (approach) ---------------- */
.steps { display: grid; gap: 1.4rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.step-num { font-size: 0.85rem; font-weight: 800; color: var(--accent-2); background: #eaf1ff; border-radius: 8px; padding: 0.25rem 0.6rem; display: inline-block; margin-bottom: 0.9rem; }
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------------- Use cases ---------------- */
.usecases { display: grid; gap: 1.4rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.usecase {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem;
  box-shadow: var(--shadow); border-left: 4px solid var(--accent);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.usecase-tag { display: inline-block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); background: #eaf1ff; padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem; }
.usecase h3 { margin-bottom: 0.6rem; }
.usecase p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0.7rem; }
.usecase-result { color: var(--navy) !important; font-weight: 600; font-size: 0.95rem !important; border-top: 1px dashed var(--line); padding-top: 0.7rem; margin-bottom: 0 !important; }

/* ---------------- CTA band ---------------- */
.cta {
  text-align: center; color: #fff;
  background:
    radial-gradient(900px 400px at 50% 120%, rgba(56,189,248,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: #c7d6e6; margin: 1rem 0 1.8rem; font-size: 1.1rem; }
.cta .btn-primary { background: #fff; color: var(--navy); }
.cta .btn-primary:hover { background: var(--accent); color: var(--navy); }
.cta-note { font-size: 0.9rem !important; color: #9fb3c8 !important; margin-top: 1.4rem !important; }

/* ---------------- Forms (Get Started) ---------------- */
.form-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 0.96rem; color: var(--ink); outline: none; transition: border 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px #dbeafe; }
.field textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; }
.embed-ph {
  border: 1px dashed #b9c6d8; border-radius: var(--radius); min-height: 520px; display: grid; place-items: center;
  text-align: center; color: var(--muted); padding: 2rem; background: var(--bg-alt);
}
.bait { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 1.4rem; }
.bait strong { color: var(--accent); }
.bait p { color: #cdd9e8; font-size: 0.95rem; margin-top: 0.3rem; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #9fb3c8; padding: 3rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-col a, .footer-col p { color: #9fb3c8; font-size: 0.92rem; display: block; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 0.7rem; max-width: 280px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding-top: 1.4rem; font-size: 0.86rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .stat-band .container { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 24px 1.2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.2s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 0.8rem; border-bottom: 0; }
}
@media (max-width: 480px) {
  .stat-band .container { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
