/* =========================================================================
   [Product] marketing site — shared design system
   Plain CSS, no preprocessor. Mobile-first. See README.md for structure.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Color — neutrals */
  --ink: #0b1020;
  --body: #3b4258;
  --muted: #6b7280;
  --faint: #9aa3b2;
  --border: #e6e8f2;
  --bg: #ffffff;
  --bg-alt: #f6f7fc;
  --bg-dark: #0a0e1c;
  --bg-dark-alt: #111731;

  /* Color — brand (indigo → violet) */
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-bg: #eef0ff;
  --primary-ring: #c7cbff;
  --violet: #7c3aed;
  --cyan: #06b6d4;

  /* Color — semantic accents */
  --teal: #0d9488;
  --teal-bg: #ecfdf5;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --rose: #e11d48;
  --rose-bg: #fff1f3;

  /* Signature gradients */
  --grad-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 48%, #06b6d4 100%);
  --grad-brand-soft: linear-gradient(135deg, #eef0ff 0%, #f3ecff 50%, #ecfeff 100%);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .06), 0 1px 3px rgba(11, 16, 32, .08);
  --shadow-md: 0 8px 24px -4px rgba(11, 16, 32, .12), 0 2px 6px rgba(11, 16, 32, .06);
  --shadow-lg: 0 24px 48px -12px rgba(11, 16, 32, .22);
  --shadow-glow: 0 30px 80px -24px rgba(79, 70, 229, .45);

  /* Layout */
  --container: 1160px;
  --header-h: 72px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", var(--font-sans);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Typography ---------------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.9vw, 2.35rem);
  line-height: 1.14;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  line-height: 1.55;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.eyebrow.chip {
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-full);
  background: var(--primary-bg);
  border: 1px solid var(--primary-ring);
}
.eyebrow.chip::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand);
}
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* ---- Layout helpers -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .text-muted { color: #94a3b8; }

.stack { display: flex; flex-direction: column; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.85rem; } .gap-4 { gap: 1.25rem; } .gap-6 { gap: 2rem; }

.header-space { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; max-width: 720px; }
.header-space.center { margin-inline: auto; text-align: center; align-items: center; }
.header-space.narrow { max-width: 640px; }

.container-sm { max-width: 640px; }
.container-md { max-width: 760px; }
.container-lg { max-width: 800px; }
.container.container-sm { max-width: 640px; }
.container.container-md { max-width: 760px; }
.container.container-lg { max-width: 800px; }

.grid { display: grid; gap: 1.75rem; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Even distribution when an odd last item would otherwise orphan left-aligned */
.grid-2 > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.875rem);
  justify-self: center;
  width: 100%;
}
.grid-3 > :last-child:nth-child(3n+1):not(:only-child) {
  grid-column: 1 / -1;
  max-width: calc(33.333% - 1.17rem);
  justify-self: center;
  width: 100%;
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(3n+1):not(:only-child) {
    max-width: calc(50% - 0.875rem);
  }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 > :last-child:nth-child(odd),
  .grid-3 > :last-child:nth-child(3n+1):not(:only-child) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
  .section { padding: 3.5rem 0; }
}

.flex { display: flex; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--primary-dark); }
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.on-dark.btn-secondary { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); }
.on-dark.btn-ghost { color: #e2e8f0; }

.cta-row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

.text-link { color: var(--primary-dark); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

.section-dark .eyebrow { color: #93c5fd; }
.section-dark .ico { background: rgba(147, 197, 253, 0.15); color: #93c5fd; }

.section-tall { padding-top: 6rem; padding-bottom: 6rem; }

/* ---- Badges / pills ------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.badge-blue { background: var(--primary-bg); color: var(--primary-dark); border-color: var(--primary-ring); }
.badge-teal { background: var(--teal-bg); color: var(--teal); border-color: #99f6e4; }
.badge-amber { background: var(--amber-bg); color: var(--amber); border-color: #fde68a; }
.badge-rose { background: var(--rose-bg); color: var(--rose); border-color: #fecdd3; }
.badge-neutral { background: var(--bg-alt); color: var(--muted); border-color: var(--border); }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.45rem 0.9rem; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--border); color: var(--body);
  font-size: 0.85rem; font-weight: 600;
}
.pill svg { width: 16px; height: 16px; color: var(--muted); }

/* ---- Cards --------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--primary-bg); color: var(--primary-dark);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.teal { background: var(--teal-bg); color: var(--teal); }
.card-icon.amber { background: var(--amber-bg); color: var(--amber); }
.card-icon.rose { background: var(--rose-bg); color: var(--rose); }
.card-icon.center { margin-left: auto; margin-right: auto; }
.card-icon.lg {
  width: 64px; height: 64px; margin-left: auto; margin-right: auto; margin-bottom: 1.5rem;
}
.card-icon.lg svg { width: 32px; height: 32px; }

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card > .btn, .card > .cta-row, .card > .badge { margin-top: auto; }

.icon-list { display: flex; flex-direction: column; gap: 1rem; }
.icon-list li, .bullet-row { display: flex; gap: 0.85rem; align-items: flex-start; }
.ico {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}
.ico svg { width: 15px; height: 15px; }
.icon-list strong, .bullet-row strong { color: var(--ink); }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.12rem; color: var(--ink);
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-brand);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px -4px rgba(79, 70, 229, .5);
}
.brand .mark svg { width: 18px; height: 18px; }
.brand .wordmark { display: inline-flex; align-items: baseline; gap: 5px; }
.brand .wordmark b { font-weight: 800; color: var(--ink); }
.brand .wordmark span { font-weight: 500; color: var(--muted); }
.site-footer .brand .wordmark b { color: #fff; }
.site-footer .brand .wordmark span { color: #94a3b8; }

.nav-primary { display: flex; align-items: center; gap: 0.4rem; }
.nav-primary > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0.6rem 0.85rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.94rem; color: var(--body);
  background: none; border: none;
}
.nav-link:hover, .nav-link.active { color: var(--primary-dark); background: var(--primary-bg); }
.nav-link svg { width: 15px; height: 15px; transition: transform .15s ease; }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 260px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.dropdown.open .dropdown-panel,
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown.open .nav-link svg { transform: rotate(180deg); }
.dropdown-panel a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0.65rem 0.8rem; border-radius: var(--r-sm); color: var(--ink);
}
.dropdown-panel a:hover { background: var(--bg-alt); }
.dropdown-panel a small { color: var(--muted); font-weight: 400; font-size: 0.8rem; }

.header-cta { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--r-sm); width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-primary, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav-primary {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--border); padding: 0.75rem; box-shadow: var(--shadow-md);
    gap: 0.15rem;
  }
  .site-header.menu-open .dropdown-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; display: none; margin-left: 0.5rem;
  }
  .site-header.menu-open .dropdown.open .dropdown-panel { display: flex; flex-direction: column; }
  .site-header.menu-open .nav-link { width: 100%; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(124, 58, 237, .16), transparent 60%),
    radial-gradient(760px 420px at 8% 8%, rgba(6, 182, 212, .12), transparent 55%),
    #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(680px 420px at 78% 20%, #000, transparent 70%);
          mask-image: radial-gradient(680px 420px at 78% 20%, #000, transparent 70%);
  opacity: .5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { margin-bottom: 1.75rem; max-width: 560px; }
.trust-bar { margin-top: 2rem; display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.trust-bar span.label { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ---- Abstract product mock (app window) ---------------------------------- */
.app-mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  overflow: hidden;
}
.app-mock::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  pointer-events: none;
}
.app-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.app-dots { display: inline-flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d8dbe6; display: block; }
.app-dots i:nth-child(1) { background: #ff5f57; }
.app-dots i:nth-child(2) { background: #febc2e; }
.app-dots i:nth-child(3) { background: #28c840; }
.app-url {
  margin-left: 8px; font-size: 0.72rem; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-full);
  padding: 0.2rem 0.7rem; font-weight: 500;
}
.app-body { padding: 1.15rem 1.15rem 1.35rem; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.app-head h4 { font-family: var(--font-display); font-size: 0.98rem; color: var(--ink); }
.app-head .app-owner {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; color: var(--muted); font-weight: 600;
}
.app-avatar {
  width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800; font-family: var(--font-display);
}

.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-bottom: 1rem; }
.app-stat {
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 0.7rem 0.75rem; background: #fff;
}
.app-stat .k { font-size: 0.62rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.app-stat .v { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-top: 2px; }
.app-stat .v.ok { color: var(--teal); }
.app-stat .v.warn { color: var(--amber); }

.app-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.app-row {
  display: grid; grid-template-columns: 1.4fr auto auto; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.7rem; border: 1px solid var(--border); border-radius: var(--r-md);
  background: #fff;
}
.app-row .name { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.app-row .name .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.g { background: #16a34a; } .dot.a { background: #d97706; } .dot.r { background: #e11d48; }
.mini-badge {
  font-size: 0.64rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: var(--r-full);
  border: 1px solid transparent; white-space: nowrap;
}
.mini-badge.ok { background: var(--teal-bg); color: var(--teal); border-color: #99f6e4; }
.mini-badge.warn { background: var(--amber-bg); color: var(--amber); border-color: #fde68a; }
.mini-badge.crit { background: var(--rose-bg); color: var(--rose); border-color: #fecdd3; }
.mini-owner { font-size: 0.68rem; color: var(--muted); font-weight: 600; }

/* floating chips around the mock */
.app-float {
  position: absolute; z-index: 2;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 0.55rem 0.75rem;
  display: flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 600; color: var(--ink);
}
.app-float svg { width: 16px; height: 16px; }
.app-float.tl { top: -14px; left: -18px; }
.app-float.br { bottom: -16px; right: -14px; }
.app-float .ico-ok { color: var(--teal); }
.app-float .ico-shield { color: var(--primary); }
@media (max-width: 900px) { .app-float { display: none; } }

/* ---- Placeholder screenshot boxes ----------------------------------- */
.placeholder-shot {
  border: 1.5px dashed #cbd5e1;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; text-align: center; padding: 3rem 1.5rem;
  color: var(--muted); min-height: 280px;
}
.placeholder-shot svg { width: 34px; height: 34px; color: var(--faint); }
.placeholder-shot strong { color: var(--body); font-size: 0.95rem; }
.placeholder-shot span { font-size: 0.82rem; max-width: 320px; }
.placeholder-shot.sm { min-height: 160px; padding: 2rem 1rem; }

/* ---- Steps ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: stretch; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; height: 100%; }
.step.card { padding: 1.9rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff;
  font-weight: 800; margin-bottom: 1rem;
}

/* ---- Quote / callout ----------------------------------------------------- */
.callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  border-radius: var(--r-md);
  padding: 1.75rem 2rem;
}
.callout p + p { margin-top: 0.9rem; }
.callout strong { color: var(--ink); }

.quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}

/* ---- Accordion (FAQ) ------------------------------------------------------ */
.accordion { border-top: 1px solid var(--border); }
.accordion details {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 700; color: var(--ink); font-size: 1rem;
  list-style: none; cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .chev { flex-shrink: 0; width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease; }
.accordion details[open] summary .chev { transform: rotate(180deg); }
.accordion .accordion-body { margin-top: 0.75rem; color: var(--muted); max-width: 700px; }

/* ---- Table (pricing / comparisons) ---------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-md); position: relative; }
.price-card .tier-name { font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.35rem; }
.price-card .tier-price { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin-bottom: 0.15rem; }
.price-card .tier-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.1rem; }
.price-card ul { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.2rem 0; flex: 1; }
.price-card li { display: flex; gap: 8px; font-size: 0.9rem; color: var(--body); align-items: flex-start; }
.price-card li svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer a { color: #94a3b8; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.75rem; font-size: 0.82rem; }
.footer-note { max-width: 320px; font-size: 0.85rem; color: #64748b; margin-top: 1rem; }

/* ---- Final CTA band -------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink), #1e2a4a);
  border-radius: var(--r-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: #cbd5e1; max-width: 560px; margin: 0 auto 1.75rem; }
.cta-band .cta-row { justify-content: center; }

/* ---- Feature row (alternating text/visual, used on Product page) --------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-row.reverse .feature-visual { order: -1; }
@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 0; }
}
.feature-copy ul { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.1rem; }
.feature-copy ul li { display: flex; gap: 8px; font-size: 0.94rem; color: var(--body); }
.feature-copy ul li svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }

/* ---- Forms (Contact page) --------------------------------------------------- */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-group .hint { font-size: 0.78rem; color: var(--muted); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}
.form-note {
  display: flex; gap: 0.6rem; align-items: flex-start;
  background: var(--primary-bg); border: 1px solid var(--primary-ring);
  border-radius: var(--r-md); padding: 0.9rem 1.1rem; font-size: 0.85rem; color: var(--primary-dark);
  margin-bottom: 1.5rem;
}
.form-note svg { flex-shrink: 0; margin-top: 2px; }
.anchor-offset { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---- Service cards (Services page) ----------------------------------------- */
.service-card { display: flex; flex-direction: column; gap: 0.9rem; height: 100%; }
.service-card .tagline { font-style: italic; color: var(--primary-dark); font-weight: 600; font-size: 0.95rem; }
.meta-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.3rem; }
.service-card .meta-block { border-top: 1px solid var(--border); padding-top: 0.9rem; margin-top: 0.3rem; }
.service-card .meta-block p { font-size: 0.88rem; color: var(--body); }
.service-card .meta-block:last-child { margin-top: auto; }

/* ---- Persona switcher (Solutions pages) ------------------------------------ */
.persona-switch { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.persona-switch a {
  padding: 0.55rem 1.1rem; border-radius: var(--r-full); border: 1px solid var(--border);
  background: #fff; font-weight: 600; font-size: 0.88rem; color: var(--muted);
}
.persona-switch a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.persona-switch a:hover:not(.active) { border-color: var(--primary); color: var(--primary-dark); }

/* ---- Page hero (secondary pages) ------------------------------------------ */
.page-hero { padding: 3.75rem 0 3rem; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.page-hero .eyebrow { margin-bottom: 0.9rem; }
.page-hero .h1,
.page-hero h1 { margin-top: 0.6rem; }
.page-hero .lede { max-width: 680px; }
.page-hero.text-center .lede { margin-inline: auto; }
.breadcrumb { display: flex; gap: 0.4rem; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--primary-dark); }

/* ---- Utility --------------------------------------------------------------- */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.italic { font-style: italic; }
.divider { height: 1px; background: var(--border); margin: 3rem 0; border: none; }
.small { font-size: 0.85rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 28px; height: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.svg-sprite { display: none; }

/* Trust / compliance equal-height cells */
.trust-grid .bullet-row {
  height: 100%;
  padding: 0.25rem 0;
}

.lede.spaced { margin: 0.75rem auto 2rem; max-width: 560px; }
.lede.narrow { max-width: 640px; margin-inline: auto; }
.footer-bottom.bare { border-top: none; padding-top: 0; }

/* ---- Logo wall (integrations / trust) ------------------------------------ */
.logo-wall { padding: 2.75rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.logo-wall .eyebrow { display: block; text-align: center; margin-bottom: 1.5rem; color: var(--muted); }
.logo-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 1rem 2.25rem;
}
.logo-item {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--body); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em;
  opacity: .82; transition: opacity .15s ease, transform .15s ease;
}
.logo-item:hover { opacity: 1; transform: translateY(-1px); }
.logo-item svg { width: 26px; height: 26px; }

/* ---- Metrics band -------------------------------------------------------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.metric { text-align: center; padding: 0.5rem; }
.metric .num {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric .lbl { margin-top: 0.55rem; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.section-dark .metric .lbl { color: #94a3b8; }

/* ---- Lineage diagram (abstract "how it works" visual) -------------------- */
.lineage {
  position: relative;
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(79,70,229,.06), transparent 70%),
    #fff;
  box-shadow: var(--shadow-md);
  padding: 2rem 1.5rem;
}
.lineage-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 720px) { .lineage-grid { grid-template-columns: 1fr; gap: 1rem; } }
.node {
  display: flex; align-items: center; gap: 10px;
  padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: 0.9rem; color: var(--ink);
}
.node .node-ico {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-bg); color: var(--primary-dark);
}
.node .node-ico.teal { background: var(--teal-bg); color: var(--teal); }
.node .node-ico.amber { background: var(--amber-bg); color: var(--amber); }
.node .node-ico svg { width: 18px; height: 18px; }
.node small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.lineage-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.lineage-svg path { fill: none; stroke: var(--primary-ring); stroke-width: 2; stroke-dasharray: 5 6; }

/* ---- Abstract feature visual (replaces placeholder screenshots) ---------- */
.abstract-shot {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--grad-brand-soft);
  padding: 1.5rem;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.abstract-shot .panel {
  width: 100%;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 1.1rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.abstract-shot .panel .row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--r-md);
}
.abstract-shot .panel .row .left { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.abstract-shot .panel .row .bar { height: 8px; border-radius: var(--r-full); background: var(--bg-alt); flex: 1; overflow: hidden; max-width: 120px; }
.abstract-shot .panel .row .bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-brand); }
.abstract-shot .ph-ico {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-bg); color: var(--primary-dark);
}
.abstract-shot .ph-ico svg { width: 17px; height: 17px; }
.abstract-shot .ph-ico.teal { background: var(--teal-bg); color: var(--teal); }
.abstract-shot .ph-ico.amber { background: var(--amber-bg); color: var(--amber); }
.abstract-shot.sm { min-height: 210px; }
.abstract-note {
  position: absolute; bottom: 10px; right: 14px; font-size: 0.68rem; color: var(--muted);
  background: rgba(255,255,255,.75); padding: 2px 8px; border-radius: var(--r-full);
}

/* ---- Pull quote (short, in-body accent) ---------------------------------- */
.pull-quote {
  border-left: 3px solid var(--primary);
  padding: 0.15rem 0 0.15rem 1.25rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}
.pull-quote .accent { color: var(--primary-dark); font-weight: 700; }
.pull-quote cite {
  display: block; margin-top: 0.6rem;
  font-style: normal; font-weight: 600; font-size: 0.82rem; color: var(--muted);
  letter-spacing: 0.02em;
}
.section-dark .pull-quote { color: #e2e8f0; border-left-color: #93c5fd; }
.section-dark .pull-quote .accent { color: #93c5fd; }
.section-dark .pull-quote cite { color: #94a3b8; }

/* Credential stat (light background variant of metrics) */
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }
.cred {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.25rem 1rem; text-align: center; background: #fff;
}
.cred .num {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cred .lbl { margin-top: 0.4rem; color: var(--muted); font-size: 0.82rem; }

/* ---- Offering split (product vs services) -------------------------------- */
.offer-card .offer-kind { font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.offer-card ul { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.9rem 0 1.2rem; }
.offer-card ul li { display: flex; gap: 8px; font-size: 0.9rem; color: var(--body); align-items: flex-start; }
.offer-card ul li svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }

/* ---- Scroll reveal motion ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
