/* ============================================================================
   Crelio marketing site — site-specific styles.
   Layered on top of the design system tokens in assets/tokens.css.
   Light theme default; .surface-dark scopes the dark navy moments.
   ============================================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--background);
  color: var(--text-primary-color);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Eyebrow ───────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary-color);
}
.eyebrow.brand { color: var(--brand-navy); }
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-sky);
  margin-right: 8px;
  vertical-align: 1px;
}

/* ── Typography utilities ──────────────────────────────────────────────── */
.h-display {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--brand-navy);
  text-wrap: balance;
  margin: 0;
}
.h-section {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  text-wrap: balance;
  margin: 0;
}
.h-sub {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--brand-navy);
  margin: 0;
}
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary-color);
  text-wrap: pretty;
  max-width: 56ch;
  margin: 0;
}
.body-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  text-wrap: pretty;
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
.mono { font-family: var(--font-mono); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background var(--duration-2) var(--ease-out),
              border-color var(--duration-2) var(--ease-out),
              color var(--duration-2) var(--ease-out);
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.btn.xs { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 6px; }

.btn-primary {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
  box-shadow: 0 1px 1px rgba(2, 31, 79, 0.08);
}
.btn-primary:hover { background: var(--brand-navy-deep); border-color: var(--brand-navy-deep); }

.btn-ghost {
  background: transparent;
  color: var(--brand-navy);
  border-color: rgba(1, 49, 124, 0.18);
}
.btn-ghost:hover { background: rgba(1, 49, 124, 0.04); border-color: rgba(1, 49, 124, 0.3); }

.btn-text {
  height: auto; padding: 0;
  color: var(--brand-navy);
  font-weight: 500;
  background: none; border: none;
}
.btn-text:hover { color: var(--brand-navy-deep); }

/* dark surface variants */
.surface-dark .btn-primary {
  background: var(--brand-sky);
  color: #00141F;
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 1px rgba(3, 198, 255, 0.4), 0 0 32px rgba(3, 198, 255, 0.18);
}
.surface-dark .btn-primary:hover { background: #1DD1FF; border-color: #1DD1FF; }
.surface-dark .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.surface-dark .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(250, 250, 248, 0);
  transition: background var(--duration-3) var(--ease-out),
              border-color var(--duration-3) var(--ease-out),
              backdrop-filter var(--duration-3) var(--ease-out);
}
.nav.scrolled {
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(1, 49, 124, 0.08);
}
.nav-inner {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand img { height: 26px; width: auto; }
.nav-brand {
  display: inline-flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.nav-brand.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 8px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy);
  border-radius: 6px;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(1, 49, 124, 0.05); }
.nav-link .chev {
  width: 12px; height: 12px;
  opacity: 0.55;
  transition: transform 120ms;
}
.nav-link:hover .chev { transform: translateY(1px); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-login { font-size: 14px; font-weight: 500; padding: 8px 14px; color: var(--brand-navy); border-radius: 6px; white-space: nowrap; }
.nav-login:hover { background: rgba(1, 49, 124, 0.05); }

/* Mega-dropdown */
.megamenu {
  position: absolute;
  top: 100%; left: 0;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border: 1px solid rgba(1,49,124,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px -8px rgba(2,31,79,0.18), 0 2px 6px rgba(2,31,79,0.04);
  padding: 10px;
  width: 680px;
  max-width: calc(100vw - 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
  z-index: 60;
}
.nav-link-wrap { position: relative; }
.nav-link-wrap:hover .megamenu,
.nav-link-wrap:focus-within .megamenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Narrow screens: the 680px panel no longer fits alongside the left-edge
   Product link, so anchor it to the viewport instead of the link so it can
   never run off-screen. */
@media (max-width: 880px) {
  .megamenu {
    position: fixed;
    top: 60px;
    left: 16px; right: 16px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
}
@media (max-width: 560px) {
  .megamenu { grid-template-columns: 1fr; }
}
.mega-item {
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mega-item:hover { background: var(--bg-secondary); }
.mega-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(1,49,124,0.07);
  color: var(--brand-navy);
  display: grid; place-items: center;
}
.mega-text .t { font-size: 14px; font-weight: 600; color: var(--brand-navy); line-height: 1.2; }
.mega-text .d { font-size: 12.5px; color: var(--text-secondary-color); margin-top: 2px; line-height: 1.35; }

/* ── Mobile nav (hamburger) ────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--brand-navy);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(1,49,124,0.05); }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,15,40,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out);
  z-index: 70;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-mobile {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(320px, 86vw);
  background: #fff;
  box-shadow: -12px 0 40px -12px rgba(2,15,40,0.28);
  transform: translateX(100%);
  transition: transform 260ms var(--ease-out);
  z-index: 71;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(1,49,124,0.08);
  position: sticky; top: 0;
  background: #fff;
}
.nav-mobile-close {
  border: none;
  background: transparent;
  color: var(--brand-navy);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 8px;
  cursor: pointer;
  margin-right: -8px;
}
.nav-mobile-close:hover { background: rgba(1,49,124,0.05); }
.nav-mobile-links { display: flex; flex-direction: column; padding: 12px; gap: 2px; }
.nav-mobile-link,
.nav-mobile-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: var(--brand-navy);
  text-align: left;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}
.nav-mobile-link:hover,
.nav-mobile-acc:hover { background: rgba(1,49,124,0.05); }
.nav-mobile-acc .acc-chev { opacity: 0.55; transition: transform 200ms var(--ease-out); }
.nav-mobile-acc.open .acc-chev { transform: rotate(180deg); }
.nav-mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms var(--ease-out);
}
.nav-mobile-sub.open { max-height: 760px; }
.nav-mobile-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  font-size: 14px;
  color: var(--text-secondary-color);
  border-radius: 8px;
}
.nav-mobile-sublink:hover { background: var(--bg-secondary); color: var(--brand-navy); }
.nav-mobile-subicon { color: var(--brand-navy); display: grid; place-items: center; flex-shrink: 0; }
.nav-mobile-divider { height: 1px; background: rgba(1,49,124,0.08); margin: 10px 12px; }
.nav-mobile-cta { margin: 6px 12px 12px; justify-content: center; }

@media (max-width: 820px) {
  .nav-links,
  .nav-right { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-overlay,
  .nav-mobile,
  .nav-mobile-sub,
  .nav-mobile-acc .acc-chev { transition: none; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 64px 0 24px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 0 16px; }
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-meta {
  font-size: 13px;
  color: var(--text-tertiary-color);
  margin-top: 12px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.cta-meta .sep { color: rgba(1,49,124,0.2); }
.hero-bg-glyph {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 480px;
  height: 720px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-glyph svg { width: 100%; height: 100%; }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section {
  padding: 96px 0;
}
.section-tight { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}
.section-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
  max-width: 720px;
}
.section-header.center { margin: 0 auto 56px; align-items: center; text-align: center; }
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(1,49,124,0.12), transparent);
  margin: 0;
}

/* ── Logo strip ────────────────────────────────────────────────────────── */
.logo-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.logo-mark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: rgba(1, 49, 124, 0.4);
  display: flex; align-items: center; gap: 8px;
  transition: color 150ms;
  white-space: nowrap;
}
.logo-mark:hover { color: rgba(1, 49, 124, 0.7); }
.logo-mark .mk { color: rgba(1,49,124,0.32); font-size: 18px; }

/* ── Credibility stat strip ────────────────────────────────────────────── */
.cred-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.cred-stat {
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.cred-stat + .cred-stat::before {
  content: "";
  position: absolute;
  left: -12px; top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(1,49,124,0.1);
}
.cred-stat .v {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cred-stat .l {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary-color);
  text-wrap: balance;
}
@media (max-width: 768px) {
  .cred-strip { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .cred-stat:nth-child(3)::before { display: none; }
}

/* ── Customer logo wall — two auto-scrolling rows ──────────────────────── */
.logo-wall {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.logo-wall-row { overflow: hidden; width: 100%; }
.logo-wall-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
}
.logo-wall-track.left  { animation: logo-wall-left 64s linear infinite; }
.logo-wall-track.right { animation: logo-wall-right 64s linear infinite; }
.logo-wall:hover .logo-wall-track { animation-play-state: paused; }
@keyframes logo-wall-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-50% - 8px), 0, 0); }
}
@keyframes logo-wall-right {
  from { transform: translate3d(calc(-50% - 8px), 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.logo-tile {
  flex: 0 0 auto;
  width: 176px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: var(--bg-primary, #fff);
  border: 1px solid rgba(1, 49, 124, 0.08);
  border-radius: 12px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.logo-tile img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 220ms ease, opacity 220ms ease;
}
.logo-tile:hover {
  border-color: rgba(1, 49, 124, 0.16);
  box-shadow: 0 10px 24px -14px rgba(1, 49, 124, 0.28);
  transform: translateY(-2px);
}
.logo-tile:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 768px) {
  .logo-tile { width: 140px; height: 72px; padding: 0 18px; }
  .logo-tile img { max-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-wall-track { animation: none; }
  .logo-wall-row { overflow-x: auto; }
  .logo-wall {
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* Single-line marquee ticker — loops via translateX(-50%) on a doubled track */
.logo-ticker {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 14px 0;
  /* fade the edges so logos enter/exit softly */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  padding: 0 28px;
  animation: logo-ticker 38s linear infinite;
}
.logo-ticker:hover .logo-ticker-track {
  animation-play-state: paused;
}
@keyframes logo-ticker {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-ticker-track { animation: none; }
  .logo-ticker {
    -webkit-mask-image: none;
            mask-image: none;
    overflow-x: auto;
  }
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-primary);
  border: 1px solid rgba(1,49,124,0.08);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 150ms, transform 150ms;
}
.card-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(1,49,124,0.07);
  color: var(--brand-navy);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-navy);
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  line-height: 1.25;
}
.card-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary-color);
  margin: 0;
  text-wrap: pretty;
}

/* Pillars 2x2 */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ── Problem before/after diagram ──────────────────────────────────────── */
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 56px;
}
@media (max-width: 768px) {
  .before-after { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
}
.ba-card {
  border: 1px solid rgba(1,49,124,0.1);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}
.ba-card-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-tertiary-color);
  margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.ba-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ba-tool {
  border: 1px solid rgba(1,49,124,0.1);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary-color);
  background: var(--bg-secondary);
  line-height: 1.3;
}
.ba-tool .ba-tool-cat { font-size: 9.5px; color: var(--text-tertiary-color); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; font-weight: 600; }
.ba-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #fff;
  display: grid; place-items: center;
}
.ba-after {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  color: #fff;
  border-color: var(--brand-navy);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.ba-after .ba-card-label { color: rgba(255,255,255,0.55); }
.ba-after-mark {
  display: flex; align-items: center; gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  margin-bottom: 12px;
}
.ba-after-mark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-sky); box-shadow: 0 0 12px rgba(3,198,255,0.6); }
.ba-after-mark .lab { font-size: 13px; font-weight: 500; }
.ba-after-mark .meta { font-size: 11px; color: rgba(255,255,255,0.55); margin-left: auto; font-family: var(--font-mono); }

/* ── Product tour ──────────────────────────────────────────────────────── */
.tour-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid rgba(1,49,124,0.06);
}
.tour-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tour-row.flip .tour-text { order: 2; }
.tour-row.flip .tour-visual { order: 1; }
@media (max-width: 960px) {
  .tour-row, .tour-row.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 56px 0; }
  .tour-row.flip .tour-text { order: 1; }
  .tour-row.flip .tour-visual { order: 2; }
}
.tour-text { display: flex; flex-direction: column; gap: 20px; }
.tour-text h2 {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--brand-navy);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.bullet-list {
  margin: 8px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 14px;
}
.bullet-list li {
  display: flex; gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary-color);
  text-wrap: pretty;
}
.bullet-list li .check {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-navy);
}

/* ── Numbers band ──────────────────────────────────────────────────────── */
.numbers-band {
  background: var(--bg-primary);
  border-top: 1px solid rgba(1,49,124,0.08);
  border-bottom: 1px solid rgba(1,49,124,0.08);
  padding: 72px 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
@media (max-width: 960px) { .numbers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .numbers-grid { grid-template-columns: 1fr; } }
.num-tile {
  padding: 24px 28px;
  border-right: 1px solid rgba(1,49,124,0.08);
}
.num-tile:last-child { border-right: none; }
@media (max-width: 960px) {
  .num-tile { border-right: 1px solid rgba(1,49,124,0.08); border-bottom: 1px solid rgba(1,49,124,0.08); }
  .num-tile:nth-child(2n) { border-right: none; }
}
.num-tile .v {
  font-size: clamp(34px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--brand-navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  display: flex; align-items: baseline; gap: 4px;
}
.num-tile .v .unit { font-size: 0.55em; font-weight: 500; color: rgba(1,49,124,0.55); letter-spacing: 0; }
.num-tile .v .spark { color: var(--brand-sky); }
.num-tile .lab { font-size: 13.5px; color: var(--text-secondary-color); margin-top: 8px; line-height: 1.35; max-width: 22ch; }

/* ── Dark mode moment ──────────────────────────────────────────────────── */
.surface-dark {
  background: #071B34;
  color: rgba(255,255,255,0.92);
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.surface-dark .eyebrow { color: rgba(91, 216, 255, 0.7); }
.surface-dark h2, .surface-dark .h-section { color: #fff; }
.surface-dark .lede { color: rgba(255,255,255,0.62); }
.surface-dark .body-text { color: rgba(255,255,255,0.62); }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff;
  border: 1px solid rgba(1,49,124,0.1);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.price-card.popular {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 1px var(--brand-navy), 0 24px 60px -20px rgba(2,31,79,0.18);
}
.price-ribbon {
  position: absolute; top: -1px; right: 24px;
  background: var(--brand-navy); color: #fff;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  padding: 5px 10px;
  border-radius: 0 0 6px 6px;
}
.price-name { font-size: 15px; font-weight: 600; color: var(--brand-navy); letter-spacing: -0.005em; }
.price-tag { font-size: 13.5px; color: var(--text-secondary-color); margin: 0 0 14px; line-height: 1.5; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-amount .v {
  font-size: 44px; font-weight: 600; color: var(--brand-navy);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.price-amount .unit { font-size: 14px; color: var(--text-secondary-color); }
.price-amount .v.custom { font-size: 36px; }
.price-features { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.price-features li { font-size: 14px; color: var(--brand-navy); display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.price-features li .ck { color: var(--brand-sky); margin-top: 2px; flex-shrink: 0; }
.price-card .btn { width: 100%; }
.price-fine {
  font-size: 13px; color: var(--text-secondary-color);
  text-align: center; margin-top: 24px;
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(1,49,124,0.08);
}
.faq-item {
  border-bottom: 1px solid rgba(1,49,124,0.08);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--brand-navy);
}
.faq-q .ic { color: var(--text-tertiary-color); transition: transform 200ms; flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); color: var(--brand-navy); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms var(--ease-out);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  padding-right: 60px;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }

/* ── Final CTA ────────────────────────────────────────────────────────── */
.final-cta {
  background: #071B34;
  color: #fff;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta .h-section { color: #fff; }
.final-cta .lede { color: rgba(255,255,255,0.62); margin: 16px auto 0; }
.final-cta-row { display: inline-flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.final-cta-bg-glyph {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 540px; height: 800px;
  opacity: 0.04;
  pointer-events: none;
}

/* ── Demo request — two-column closing section ───────────────────────── */
.final-cta { text-align: left; }
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
}
.final-cta .demo-copy .lede { margin-left: 0; }
.demo-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  letter-spacing: -0.005em;
}
.demo-points li svg { color: var(--brand-sky, #03C6FF); flex-shrink: 0; }
.demo-points a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.demo-card { width: 100%; }
.demo-form {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .demo-field-row { grid-template-columns: 1fr; }
}
.demo-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.demo-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-navy);
  letter-spacing: -0.005em;
}
.demo-opt { font-weight: 400; color: rgba(1,49,124,0.4); }
.demo-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(1,49,124,0.16);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--brand-navy);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.demo-input::placeholder { color: rgba(1,49,124,0.34); }
.demo-input:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(1,49,124,0.12);
}
.demo-input.err { border-color: #C0392B; }
.demo-input.err:focus { box-shadow: 0 0 0 3px rgba(192,57,43,0.14); }
.demo-textarea { resize: vertical; min-height: 44px; line-height: 1.45; }
select.demo-input { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2301317C' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.demo-err { font-size: 11.5px; color: #C0392B; font-weight: 500; }

.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chip {
  border: 1px solid rgba(1,49,124,0.16);
  background: #fff;
  color: rgba(1,49,124,0.72);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.demo-chip:hover { border-color: var(--brand-navy); color: var(--brand-navy); }
.demo-chip.on {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}
.demo-submit {
  margin-top: 4px;
  width: 100%;
  border: none;
  background: var(--brand-navy);
  color: #fff;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: -0.008em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 150ms ease;
}
.demo-submit:hover { background: #022a6d; }
.demo-submit svg { transition: transform 150ms ease; }
.demo-submit:hover svg { transform: translateX(3px); }
.demo-fine {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: rgba(1,49,124,0.5);
  text-align: center;
  letter-spacing: -0.005em;
}

.demo-form-done { align-items: center; text-align: center; padding: 44px 28px; gap: 10px; }
.demo-done-mark {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(1,49,124,0.08);
  color: var(--brand-navy);
  display: grid; place-items: center;
  margin-bottom: 6px;
}
.demo-form-done h3 {
  margin: 0; font-size: 20px; font-weight: 600;
  color: var(--brand-navy); letter-spacing: -0.015em;
}
.demo-form-done p {
  margin: 0; font-size: 14px; line-height: 1.5;
  color: rgba(1,49,124,0.68); max-width: 34ch;
}
.demo-form-reset {
  margin-top: 8px; border: none; background: none;
  color: var(--brand-navy); font-weight: 600; font-size: 13px;
  font-family: var(--font-sans); cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(1,49,124,0.08);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand img { height: 24px; margin-bottom: 18px; }
.footer-brand .tag { font-size: 13.5px; color: var(--text-secondary-color); line-height: 1.55; max-width: 32ch; }
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-tertiary-color);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--brand-navy);
  padding: 5px 0;
}
.footer-col a:hover { color: var(--brand-sky); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(1,49,124,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-tertiary-color);
}
.footer-bottom .right { display: flex; gap: 16px; align-items: center; }
.footer-bottom a { color: var(--text-secondary-color); }
.footer-bottom a:hover { color: var(--brand-navy); }

/* ── Status pill / chip ────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  background: rgba(3,198,255,0.1);
  color: var(--brand-navy);
  border: 1px solid rgba(3,198,255,0.25);
  font-size: 12px; font-weight: 500;
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-sky);
  box-shadow: 0 0 8px rgba(3,198,255,0.6);
}

/* dark surface mock containers — reusable */
.mock {
  background: #071B34;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 80px -24px rgba(2,15,40,0.4), 0 8px 16px -8px rgba(2,15,40,0.18);
  overflow: hidden;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-sans);
  position: relative;
}
.mock.light {
  background: #fff;
  color: var(--brand-navy);
  border-color: rgba(1,49,124,0.1);
}
.mock-chrome {
  height: 32px;
  background: #0A2039;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.mock.light .mock-chrome { background: #F4F5F7; border-bottom-color: rgba(1,49,124,0.08); }
.mock-chrome .tl { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock.light .mock-chrome .tl { background: rgba(1,49,124,0.18); }
.mock-chrome .tl:nth-child(2) { background: rgba(255,255,255,0.13); }
.mock-chrome .tl:nth-child(3) { background: rgba(255,255,255,0.1); }
.mock-chrome .url {
  margin-left: 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}
.mock.light .mock-chrome .url { color: rgba(1,49,124,0.45); }

/* count up tabular */
.count-up { font-variant-numeric: tabular-nums; }

/* Subtle entry animations */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in.visible { transition: none; transform: none; opacity: 1; }
}
