:root {
  --navy: #0b1f3a;
  --ink: #0b110f;
  --blue: #2f6fed;
  --blue-light: #8ac1fb;
  --blue-pale: #cde7fc;
  --bg-pale: #f2f8f9;
  --muted: #505256;
  --border: #e5e9ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #111827;
}

/* Grows to fill leftover space so the footer stays pinned to the bottom of
   the viewport on short pages, instead of floating right under sparse content. */
main {
  flex: 1 0 auto;
}

/* ---------- POS / integration compatibility chips ---------- */

.pos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 60rem;
  margin: 0 auto;
}

.pos-chip {
  display: inline-block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* Shared by ThankYou and Error pages */
.confirm {
  text-align: center;
  padding: 5rem 1.5rem;
}

/* ======================================================================
   Shared design system — used by the landing page and every themed page.
   Promoted here from a single page's scoped CSS once more pages needed
   the same design language, to avoid duplicating (and drifting) rules
   across multiple files.
   ====================================================================== */

/* ---------- Hero ---------- */

.hero-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.site-header {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.wordmark {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: white;
}

.brand-logo {
  height: 28px;
  width: auto;
}

.brand-logo-full {
  height: 36px;
  width: auto;
}

  .wordmark span {
    color: var(--blue-light);
  }

.hero-badge {
  position: absolute;
  top: 0;
  right: 3rem;
  width: 8rem;
  text-align: center;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: none;
  border-radius: 0 0 1rem 1rem;
  padding: 0.85rem 0.5rem 0.75rem;
}

  .hero-badge svg {
    width: 1.75rem;
    height: 1.75rem;
    margin: 0 auto 0.4rem;
    display: block;
    color: var(--blue-light);
  }

  .hero-badge strong {
    color: var(--blue-light);
  }

.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 1rem;
}

  .hero h1 .accent {
    color: var(--blue-light);
  }

.subhead {
  color: var(--blue-pale);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.cta {
  display: inline-block;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

  .cta:hover {
    background: #2758c4;
  }

.cta-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 0.5rem;
  padding: calc(0.9rem - 2px) calc(1.6rem - 2px);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

  .cta-outline:hover {
    background: var(--blue);
    color: white;
  }

.cta-secondary {
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

  .cta-secondary:hover {
    border-color: white;
  }

.trust-row {
  color: var(--blue-pale);
  font-size: 0.85rem;
}

.trust-row li::before {
  content: "✓ ";
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Hero visual (mock stat card) ---------- */

.hero-card {
  width: 100%;
  max-width: 22rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.08);
  padding: 1.5rem;
}

.hero-card-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.hero-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--blue-pale);
}

.hero-card-stat {
  margin-bottom: 1.25rem;
}

  .hero-card-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--navy);
  }

  .hero-card-stat span {
    color: var(--muted);
    font-size: 0.85rem;
  }

.hero-card-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  height: 6rem;
}

  .hero-card-bars div {
    flex: 1;
    background: linear-gradient(180deg, var(--blue-light), var(--blue));
    border-radius: 0.35rem 0.35rem 0 0;
  }

/* ---------- Stat bar ---------- */

.stat-bar {
  background: var(--bg-pale);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.stat-bar-label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.5rem;
}

.stat-bar-items {
  max-width: 56rem;
  margin: 0 auto;
}

  .stat-bar-items strong {
    display: block;
    font-size: 1.6rem;
    color: var(--navy);
  }

  .stat-bar-items span {
    color: var(--muted);
    font-size: 0.8rem;
  }

/* ---------- Section shared styles ---------- */

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  margin: 0 0 0.6rem;
}

.capabilities, .feature-highlight, .solutions, .testimonials {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

  .capabilities h2, .feature-highlight h2, .solutions h2, .testimonials h2 {
    color: var(--ink);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    max-width: 40rem;
    margin: 0 auto 2.5rem;
    letter-spacing: -0.01em;
  }

/* ---------- Capability grid ---------- */

.capability-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: white;
}

.capability-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

  .capability-icon svg {
    width: 100%;
    height: 100%;
  }

.capability-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.capability-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Feature highlight ---------- */

.feature-highlight {
  background: var(--bg-pale);
  border-radius: 1.25rem;
  max-width: 68rem;
}

.feature-highlight-copy {
  max-width: 40rem;
  margin: 0 auto;
}

.feature-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

.feature-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

  .feature-item h4 {
    color: var(--navy);
    margin: 0 0 0.35rem;
    font-size: 1rem;
  }

  .feature-item p {
    color: var(--muted);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
  }

/* ---------- Content gallery (report samples / marketing samples / lightbox) ---------- */

.content-gallery {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

  .content-gallery h2 {
    color: var(--ink);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    max-width: 40rem;
    margin: 0 auto 0.75rem;
    letter-spacing: -0.01em;
  }

.gallery-lead {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.gallery-item {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  background: white;
  margin: 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

  .gallery-item:hover, .gallery-item:focus-visible {
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.14);
    transform: translateY(-2px);
  }

  .gallery-item:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

.gallery-thumb {
  position: relative;
  overflow: hidden;
  background: var(--bg-pale);
}

  .gallery-thumb img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.2s ease;
  }

  .gallery-item:hover .gallery-thumb img {
    transform: scale(1.04);
  }

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 58, 0.72);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

  .gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
  }

.gallery-item figcaption {
  padding: 0.85rem 1rem;
  text-align: left;
}

.gallery-caption-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.gallery-caption-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

#reportModalImage {
  border-radius: 0.5rem;
}

#reportModalSubcaption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Solutions grid ---------- */

.solution-card {
  border-top: 3px solid var(--blue);
  background: white;
  box-shadow: 0 6px 20px rgba(11, 31, 58, 0.05);
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 1.25rem 1.25rem 1.5rem;
}

  .solution-card h4 {
    color: var(--navy);
    margin: 0 0 0.4rem;
  }

  .solution-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
  }

/* ---------- Testimonials ---------- */

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06);
}

.testimonial-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

  .testimonial-stats strong {
    display: block;
    font-size: 1.4rem;
    color: var(--blue);
  }

  .testimonial-stats span {
    color: var(--muted);
    font-size: 0.75rem;
  }

.quote {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.attribution {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.testimonial-note {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 2rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--navy);
  padding: 1.75rem 1.5rem;
  margin: 3rem 0 -1rem;
}

.cta-banner-item {
  color: white;
}

  .cta-banner-item svg {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    color: var(--blue-light);
  }

  .cta-banner-item p {
    margin: 0;
    font-weight: 700;
  }

  .cta-banner-item strong {
    color: var(--blue-light);
  }

.cta-banner-title {
  font-weight: 700;
}

.cta-banner-sub {
  color: var(--blue-pale);
  font-size: 0.85rem;
  font-weight: 400 !important;
}

.cta-banner-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Consult / lead form ---------- */

.consult {
  max-width: 34rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
  text-align: center;
}

  .consult h2 {
    color: var(--navy);
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
  }

  .consult > p {
    color: var(--muted);
    margin: 0 0 1.75rem;
    line-height: 1.6;
  }

.lead-form {
  text-align: left;
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  padding: 2rem;
}

  .lead-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Honeypot spam trap -- moved off-screen rather than display:none so it still
     looks "fillable" to bots that skip hidden/invisible inputs but don't check
     actual layout position. Real visitors never see or reach it. */
  .hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .lead-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
  }

  .lead-form input {
    padding: 0.65rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
  }

    .lead-form input:focus {
      outline: none;
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
    }

    .lead-form input.invalid {
      border-color: #dc2626;
    }

    .lead-form input.invalid:focus {
      border-color: #dc2626;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    }

  .lead-form .validation-message {
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: -0.15rem;
  }

.fine-print {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}
