/* Measurebase — premium homepage design system (homepage-first rollout).
   Standalone stylesheet: the redesigned index.html loads THIS instead of
   style.css. Other marketing pages keep style.css until their own pass.
   Design language distilled from the six reference Framer templates
   (Solva/Trillo/Saalyn/Parley/CloudCraft/Aide): warm paper ground, one
   display face at large sizes with tight tracking, flat tonal cards,
   a single cobalt accent, product UI as hero centerpiece. */

/* ---------- Fonts (self-hosted: no third-party requests, per privacy policy) ---------- */

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --paper: #f9f9f7;          /* page ground — warm off-white, never grey */
  --paper-deep: #f3f3ef;     /* slightly deeper wash for alt sections */
  --tint: #efefe9;           /* flat tonal card fill */
  --white: #ffffff;          /* elevated surfaces */
  --ink: #17181a;            /* primary text */
  --ink-soft: #55585e;       /* secondary text */
  --ink-faint: #8a8d93;      /* captions, meta */
  --line: #e6e6e0;           /* hairlines on paper */
  --line-strong: #d8d8d1;
  --accent: #0071e3;         /* the Measurebase blue */
  --accent-hover: #0077ed;
  --accent-deep: #0058b0;
  --accent-wash: #e8f2fd;    /* pale blue chip/tint */
  --orange: #ff8a00;         /* logo gradient + pulse dot only */
  --success: #1e8e3e;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --max: 1120px;
  --font: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-card: 0 1px 2px rgba(23, 24, 26, 0.04), 0 12px 32px rgba(23, 24, 26, 0.05);
  --shadow-float: 0 2px 6px rgba(23, 24, 26, 0.05), 0 32px 80px rgba(23, 24, 26, 0.10);
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

::selection { background: rgba(0, 113, 227, 0.16); }

h1, h2, h3, h4 { margin: 0; font-weight: 700; }

p { margin: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 13px 24px;
  box-shadow: 0 1px 2px rgba(0, 74, 143, 0.25), 0 8px 24px rgba(0, 113, 227, 0.22);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 74, 143, 0.25), 0 12px 32px rgba(0, 113, 227, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
  padding: 13px 24px;
}
.btn-secondary:hover { border-color: #b9b9b0; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 10px 16px;
}
.btn-ghost:hover { background: rgba(23, 24, 26, 0.05); }

.btn-lg { font-size: 16.5px; }
.btn-lg.btn-primary, .btn-lg.btn-secondary { padding: 16px 30px; }

.btn-sm { font-size: 14.5px; }
.btn-sm.btn-primary { padding: 10px 18px; }

.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 249, 247, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

/* Vector wordmark "Measurebase" drawn from Satoshi-Bold outlines,
   referenced from the hidden #mbLockup defs at the top of the page.
   Monochrome: fills with currentColor. */
.logo-lockup {
  height: 17px;
  width: auto;
  display: block;
  color: var(--ink);
}
.footer .logo-lockup { height: 15px; }

.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(23, 24, 26, 0.05); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

/* ---------- Hero (split: copy left, product right — Solva-style) ---------- */

.hero {
  position: relative;
  padding: 64px 0 0;
  display: grid;
  /* col 1: gutter that lines up with .wrap; col 2: copy; col 3: visual,
     bleeding all the way to the right viewport edge */
  grid-template-columns: minmax(24px, calc((100% - var(--max) + 48px) / 2)) minmax(0, 47fr) minmax(0, 53fr);
  align-items: center;
}

.hero-copy { grid-column: 2; min-width: 0; padding-right: 56px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px 7px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(23, 24, 26, 0.04);
}
.eyebrow .flag { font-size: 15px; line-height: 1; }

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(38px, 4.4vw, 55px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-copy > p {
  margin: 20px 0 0;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------- Hero product shot (cropped app window on a soft wash) ---------- */

.hero-shot {
  grid-column: 3;
  position: relative;
  height: 560px;
  border-radius: 22px 0 0 22px;
  overflow: hidden;
  background:
    radial-gradient(480px 320px at 78% 12%, rgba(255, 138, 0, 0.10), transparent 68%),
    linear-gradient(155deg, #e9f1fc, #f2f6fd 55%, #eef4fc);
  border: 1px solid #e2e9f5;
  border-right: 0;
}

.hero-shot .mock {
  position: absolute;
  top: 46px;
  left: 46px;
  width: 860px;
  border-radius: 14px;
}

.mock {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  text-align: left;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: #fcfcfa;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e4e4de; display: block;
}
.mock-url {
  flex: 0 1 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-faint);
  padding: 5px 12px;
}
.mock-url svg { flex: none; }

.mock-body { display: flex; min-height: 430px; }

.mock-side {
  flex: 0 0 196px;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fcfcfa;
}
.ms-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 10px;
  border-radius: 8px;
}
.ms-item svg { width: 15px; height: 15px; stroke-width: 1.9; }
.ms-item.on { background: var(--accent-wash); color: var(--accent-deep); }
.ms-plan {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 10px 11px;
  font-size: 11.5px;
  color: var(--ink-faint);
}
.ms-plan b { display: block; color: var(--ink); font-size: 12px; margin-bottom: 6px; }
.ms-plan .bar {
  display: block;
  height: 4px; border-radius: 4px; background: var(--tint);
  overflow: hidden; margin-bottom: 5px;
}
.ms-plan .bar i { display: block; height: 100%; width: 31%; background: var(--accent); border-radius: 4px; }

.mock-main { flex: 1; padding: 18px 20px; min-width: 0; }

.mm-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.mm-top h5 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.mm-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; background: var(--white);
}
.mm-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(30, 142, 62, 0.15);
}

.mm-stats { display: flex; gap: 10px; margin-bottom: 14px; }
.mm-stat {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  background: var(--white);
}
.mm-stat span { display: block; font-size: 11px; color: var(--ink-faint); margin-bottom: 4px; }
.mm-stat b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mm-stat small { font-size: 10.5px; color: var(--success); font-weight: 500; margin-left: 5px; }

.mm-chart {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 13px 13px 6px;
  margin-bottom: 14px;
}
.mm-chart .cap {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--ink-faint); margin-bottom: 6px;
}
.mm-chart svg { width: 100%; height: auto; display: block; }

.mm-rows { border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.mm-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  padding: 8.5px 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.mm-row:first-child { border-top: 0; }
.mm-row .mono { font-family: var(--mono); font-size: 11px; color: var(--ink); }
.mm-row .grow { flex: 1; }
.mm-pill {
  font-size: 10.5px; font-weight: 500;
  border-radius: 999px; padding: 2.5px 8px;
}
.mm-pill.ok { background: rgba(30, 142, 62, 0.10); color: var(--success); }
.mm-pill.info { background: var(--accent-wash); color: var(--accent-deep); }

/* ---------- Platform marquee (real vendor destinations, not fake customers) ---------- */

.platforms {
  padding: 64px 0 8px;
}
.platforms .caption {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 26px;
}
.pl-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.pl-track {
  display: flex;
  width: max-content;
  animation: pl-scroll 36s linear infinite;
}
.pl-marquee:hover .pl-track { animation-play-state: paused; }
.pl-group { display: flex; align-items: center; }
.pl-item {
  padding: 0 36px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--ink-soft);
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
.pl-item:hover { opacity: 1; }
@keyframes pl-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .pl-track { animation: none; }
}

/* ---------- Pillars (Three ways...) — Trillo-style alternating split cards:
   text + checklist on one half, blurred gradient mesh with a floating
   dashboard-style widget on the other. ---------- */

.pillars {
  display: grid;
  gap: 18px;
}
.pcard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 340px;
}
.pcard.flip .ptext { order: 2; }
.pcard.flip .pviz { order: 1; }

.pcard .ptext {
  padding: 48px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pcard .ptag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.pcard .ptag svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex: none;
}
.pcard h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.pcard .ptext > p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 22px;
}
.pchecks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.pchecks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.pchecks svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* Gradient mesh half with a floating widget */
.pviz {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  min-height: 300px;
}
.pviz::before {
  content: '';
  position: absolute;
  inset: -35%;
  filter: blur(42px);
  transform: translateZ(0);
}
/* per-card mesh: accuracy (blue+orange), compliance (blue+violet), reliability (blue+teal) */
.pviz.mesh-a::before,
.article-visual.mesh-a::before,
.rc-thumb.mesh-a::before {
  background:
    radial-gradient(42% 42% at 28% 28%, rgba(0, 113, 227, 0.55), transparent 68%),
    radial-gradient(46% 46% at 76% 32%, rgba(255, 138, 0, 0.55), transparent 68%),
    radial-gradient(50% 50% at 58% 82%, rgba(255, 92, 128, 0.30), transparent 70%),
    linear-gradient(150deg, #eaf2fd, #fdf1e6);
}
.pviz.mesh-b::before,
.article-visual.mesh-b::before,
.rc-thumb.mesh-b::before {
  background:
    radial-gradient(46% 46% at 30% 70%, rgba(0, 113, 227, 0.55), transparent 68%),
    radial-gradient(44% 44% at 72% 26%, rgba(124, 92, 255, 0.48), transparent 68%),
    radial-gradient(40% 40% at 80% 85%, rgba(255, 138, 0, 0.25), transparent 70%),
    linear-gradient(150deg, #ecf1fd, #f2edfd);
}
.pviz.mesh-c::before,
.article-visual.mesh-c::before,
.rc-thumb.mesh-c::before {
  background:
    radial-gradient(44% 44% at 70% 68%, rgba(0, 113, 227, 0.50), transparent 68%),
    radial-gradient(44% 44% at 26% 30%, rgba(22, 179, 130, 0.45), transparent 68%),
    radial-gradient(40% 40% at 82% 22%, rgba(255, 138, 0, 0.22), transparent 70%),
    linear-gradient(150deg, #eaf6f1, #ecf2fd);
}

.pviz-card {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(23, 24, 26, 0.20);
  padding: 20px 22px;
  width: min(310px, 94%);
}
.pv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.pv-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}
.pv-head .live .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(30, 142, 62, 0.15);
}
.pv-ring { display: flex; align-items: center; gap: 16px; }
.pv-ring svg { flex: none; }
.pv-ring .big {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pv-ring small { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 2px; }
.pv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.pv-row:first-of-type { border-top: 0; padding-top: 0; }
.pv-row .sub { display: block; font-size: 11px; font-weight: 400; color: var(--ink-faint); margin-top: 1px; }
.pv-pill {
  flex: none;
  font-size: 10.5px;
  font-weight: 500;
  border-radius: 999px;
  padding: 3px 9px;
}
.pv-pill.ok { background: rgba(30, 142, 62, 0.10); color: var(--success); }
.pv-pill.info { background: var(--accent-wash); color: var(--accent-deep); }
.pv-pill.bad { background: #faf2f2; color: #a04545; }
.pv-check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(30, 142, 62, 0.10);
  color: var(--success);
}
.pv-check svg { width: 13px; height: 13px; }

/* ---------- Sections ---------- */

.section { padding: 108px 0; }
.section-tight { padding: 84px 0; }
.section-alt { background: var(--paper-deep); }

.section-header { max-width: 640px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.section-header p {
  margin-top: 16px;
  font-size: 17.5px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ---------- Bento features ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.bcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.bcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
}
.bcard.wide { grid-column: span 3; }
.bcard.std { grid-column: span 2; }

.bcard .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.bcard .icon svg { width: 20px; height: 20px; }

.bcard h3 {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.bcard p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

.bcard .bviz {
  margin-top: 22px;
  border-radius: 12px;
  overflow: hidden;
}

/* wide-card visual: server inside a ring of EU stars, caption chip floating */
.viz-eu {
  position: relative;
  background:
    radial-gradient(60% 80% at 75% 20%, rgba(0, 113, 227, 0.10), transparent 70%),
    linear-gradient(160deg, #eaf1fc, #f6f9fe);
  border: 1px solid #e0e8f7;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 158px;
}
.viz-eu .ring { width: 126px; height: 126px; display: block; }
.viz-eu .chip {
  position: absolute;
  bottom: 13px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 26px rgba(23, 24, 26, 0.14);
}

/* wide-card visual: loader URL comparison */
.viz-url {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  display: grid;
  gap: 9px;
}
.viz-url .row {
  display: flex; align-items: center; gap: 9px;
  border-radius: 9px;
  padding: 9px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.viz-url .row.bad { background: #faf2f2; color: #a04545; text-decoration: line-through; text-decoration-thickness: 1px; }
.viz-url .row.good { background: #f0f7f1; color: #1c6e35; }
.viz-url .row svg { flex: none; width: 13px; height: 13px; }

.bento-extra {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.bento-extra span { display: inline-flex; align-items: center; gap: 8px; }
.bento-extra svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }

.step .snippet {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding: 11px 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.step .snippet b { color: var(--accent-deep); font-weight: 500; }

/* ---------- Pricing preview ---------- */

.pricing-line {
  display: flex;
  justify-content: center;
  margin-top: -12px;
}

/* ---------- Agency band ---------- */

.agency-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.agency-card h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}
.agency-card > div > p {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--ink-soft);
}

.agency-points { margin: 22px 0 30px; display: grid; gap: 11px; padding: 0; list-style: none; }
.agency-points li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 15.5px; color: var(--ink-soft);
}
.agency-points svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2.5px; }

.kick-figure {
  text-align: center;
  background: linear-gradient(165deg, var(--accent-wash), #f8f9fe);
  border: 1px solid #e3e8fb;
  border-radius: var(--r-lg);
  padding: 44px 28px;
}
.kick-upto {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  opacity: 0.65;
  margin-bottom: 4px;
}
.kick-figure .big {
  font-size: clamp(64px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.kick-figure .big sup { font-size: 0.42em; font-weight: 500; vertical-align: 0.72em; margin-left: 2px; }
.kick-figure p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.kick-figure small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Resources ---------- */

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
}

.resource-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-wash);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 16px;
}

.resource-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.28;
  margin-bottom: 8px;
}
.resource-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.resource-meta { margin-top: 18px; font-size: 13px; color: var(--ink-faint); }

/* ---------- FAQ ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.faq-col { display: grid; gap: 14px; align-content: start; min-width: 0; }

.faq-item {
  background: var(--white);
  border-radius: 12px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 22px;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: transform 0.25s ease, color 0.25s ease;
}
.faq-item[open] summary .plus {
  transform: rotate(45deg);
  color: var(--ink);
}
.faq-item .faq-a {
  padding: 0 44px 21px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .faq-wrap { grid-template-columns: 1fr; }
}

.faq-more { text-align: center; margin-top: 36px; }
.faq-more a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--accent-deep);
}
.faq-more a:hover { text-decoration: underline; }

/* ---------- Testimonials (enable once real customer quotes exist) ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.qcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.qcard .qmark {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 10px;
}
.qcard blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}
.qcard .qwho {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.qcard .qavatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex: none;
}
.qcard .qname { font-size: 14.5px; font-weight: 700; }
.qcard .qrole { font-size: 13px; color: var(--ink-faint); }

/* ---------- Final CTA ----------
   Centered, light and quiet: a soft aurora wash on a plain card. */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid #d7e5f7;
  background: linear-gradient(180deg, #f6fafe, #e7f1fc);
  padding: 96px 32px 100px;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: -30% -10%;
  background:
    radial-gradient(42% 48% at 14% 86%, rgba(0, 113, 227, 0.26), transparent 70%),
    radial-gradient(36% 44% at 87% 12%, rgba(255, 138, 0, 0.15), transparent 70%),
    radial-gradient(32% 42% at 78% 90%, rgba(96, 74, 228, 0.14), transparent 70%),
    radial-gradient(30% 38% at 40% 8%, rgba(0, 113, 227, 0.12), transparent 70%);
  filter: blur(46px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.cta-band p {
  margin: 18px auto 34px;
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
}
.cta-band .btn-primary { box-shadow: 0 12px 30px rgba(0, 113, 227, 0.26); }

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-wash);
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 22px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34ch;
}

.footer h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--ink-soft); transition: color 0.15s ease; }
.footer ul a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-faint);
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--ink); }

/* ---------- Prelaunch banner (injected by js/prelaunch.js) ---------- */

.prelaunch-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  color: #fff;
  font-size: 13.5px;
  text-align: center;
  padding: 9px 18px;
  position: relative;
  z-index: 110;
}
.prelaunch-banner .pl-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
}
.prelaunch-banner .pl-text strong { font-weight: 700; }
.prelaunch-banner .pl-cta {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prelaunch-banner .pl-cta:hover { opacity: 0.85; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Micro animations (html.anim is set by JS unless reduced-motion) ----------
   .cascade children stagger in once their ancestor .reveal card lands. */

html.anim .reveal .cascade > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.6, 0.2, 1);
}
html.anim .reveal.in .cascade > * { opacity: 1; transform: none; }
html.anim .reveal.in .cascade > *:nth-child(1) { transition-delay: 0.15s; }
html.anim .reveal.in .cascade > *:nth-child(2) { transition-delay: 0.3s; }
html.anim .reveal.in .cascade > *:nth-child(3) { transition-delay: 0.45s; }
html.anim .reveal.in .cascade > *:nth-child(4) { transition-delay: 0.6s; }
html.anim .reveal.in .cascade > *:nth-child(5) { transition-delay: 0.75s; }

/* EU ring: boundary slowly orbits; caption chip pops in after the card lands */
html.anim .viz-eu .orbit {
  transform-origin: 60px 60px;
  animation: mbSpin 50s linear infinite;
}
@keyframes mbSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
html.anim .reveal .viz-eu .chip {
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: 0.5s;
}
html.anim .reveal.in .viz-eu .chip { opacity: 1; transform: none; }

/* Live status dots gently pulse */
html.anim .mm-chip .dot,
html.anim .pv-head .live .dot {
  animation: mbPulse 2.4s ease-out infinite;
}
@keyframes mbPulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 142, 62, 0.35); }
  70% { box-shadow: 0 0 0 7px rgba(30, 142, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 142, 62, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .bcard, .resource-card { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; row-gap: 40px; padding-top: 48px; }
  .hero-copy { grid-column: 1; padding: 0 24px; }
  .hero-shot { grid-column: 1; height: 440px; border-radius: 0; border-left: 0; }
  .hero-shot .mock { top: 36px; left: 36px; width: 780px; }
  .bcard.wide { grid-column: span 6; }
  .bcard.std { grid-column: span 3; }
  .pcard { grid-template-columns: 1fr; min-height: 0; }
  .pcard.flip .ptext { order: 1; }
  .pcard.flip .pviz { order: 2; }
  .pcard .ptext { padding: 36px 30px; }
  .pviz { min-height: 260px; }
  .quotes { grid-template-columns: 1fr; }
  .agency-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .section { padding: 76px 0; }
  .section-tight { padding: 60px 0; }
  .hero { padding-top: 40px; }
  .hero-copy > p { font-size: 16.5px; }
  .hero-shot { height: 360px; }
  .hero-shot .mock { top: 26px; left: 22px; width: 640px; }
  .mock-side { display: none; }
  .mock-body { min-height: 0; }
  .mm-stats { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .step + .step::before,
  .step + .step::after { display: none; }
  .resources-grid { grid-template-columns: 1fr; }
  .bcard.std { grid-column: span 6; }
  .section-header { margin-bottom: 40px; }
  .platforms { padding-top: 48px; }
  .cta-band { padding: 68px 22px 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ====================================================================
   Subpage components (sitewide rollout of the homepage design system)
   ==================================================================== */

/* ---------- Page hero (centered subpage header) ---------- */

.page-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 96px 24px 44px;
  text-align: center;
}
.page-hero h1 {
  margin: 24px 0 0;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-hero > p {
  margin: 20px auto 0;
  max-width: 60ch;
  font-size: 17.5px;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.page-hero .hero-actions { justify-content: center; margin-top: 36px; }
.page-hero .hero-note { margin-top: 20px; }

/* ---------- Info cards ---------- */

.grid-2, .grid-3 {
  display: grid;
  gap: 14px;
}
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 28px;
}
.card .icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-wash);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 16px;
}
.card .icon svg { width: 19px; height: 19px; }
.card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.card p a { color: var(--accent-deep); font-weight: 500; }
.card p a:hover { text-decoration: underline; }
.card .btn { margin-top: 18px; }

/* ---------- Trustbar (quiet fact row under a page hero) ---------- */

.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  margin-top: 36px;
}
.trustbar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 44px;
  padding-top: 19px;
  padding-bottom: 19px;
}
.trustbar span { font-size: 14px; color: var(--ink-soft); }

/* ---------- CTA footnote link line ---------- */

.cta-band-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-faint);
}
.cta-band-note a { color: var(--accent-deep); font-weight: 500; }
.cta-band-note a:hover { text-decoration: underline; }

/* ---------- Pricing ---------- */

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 36px;
}
.switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}
.switch.on { background: var(--accent); }
.switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 24, 26, 0.25);
  transition: transform 0.2s ease;
}
.switch.on .knob { transform: translateX(20px); }
.save-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  background: rgba(30, 142, 62, 0.10);
  border-radius: 999px;
  padding: 4px 10px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 1px 2px rgba(0, 74, 143, 0.06), 0 18px 44px rgba(0, 113, 227, 0.12);
}
.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.plan h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.plan-desc { font-size: 13.5px; color: var(--ink-faint); margin: 4px 0 18px; }
.price {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price span { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-faint); margin-left: 3px; }
.price-note { font-size: 13px; color: var(--ink-faint); margin: 8px 0 18px; }
.plan ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.plan li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 5px 0;
}
.plan .check { color: var(--accent); font-weight: 700; font-size: 12.5px; flex: none; }
.btn-block { width: 100%; }
.pricing-footnote {
  margin-top: 26px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-faint);
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Resources index ---------- */

.resources-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 34px;
}
.resources-filter {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.resources-filter:hover { color: var(--ink); border-color: var(--line-strong); }
.resources-filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.resources-featured {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.resources-featured .resource-card h3 { font-size: 20px; }
.resources-featured .resource-card-featured h3 { font-size: 24px; max-width: 24ch; }

/* ---------- Article pages ---------- */

.article-page { padding: 66px 0 10px; }
/* Legal pages end at bare prose (no CTA band after the article), so they
   carry the bottom spacing themselves. */
.article-page.legal-page { padding-bottom: 96px; }
.article-header {
  max-width: 720px;
  margin: 0 auto 34px;
}
.article-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 26px;
}
.article-back:hover { text-decoration: underline; }
.article-header .resource-tag { margin-bottom: 14px; }
.article-header h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 18px;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.article-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  flex: none;
}
.article-author-name { font-size: 14.5px; font-weight: 500; }
.article-meta {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

.article-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.7;
}
.article-prose p { color: var(--ink-soft); margin: 0 0 18px; text-wrap: pretty; }
.article-prose h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 42px 0 14px;
}
.article-prose h3 {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 30px 0 10px;
}
.article-prose ul, .article-prose ol { margin: 0 0 18px; padding-left: 24px; color: var(--ink-soft); }
.article-prose li { margin: 7px 0; }
.article-prose li::marker { color: var(--accent); }
.article-prose a { color: var(--accent-deep); font-weight: 500; }
.article-prose a:hover { text-decoration: underline; }
.article-prose strong { color: var(--ink); font-weight: 700; }
.article-prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--tint);
  border-radius: 6px;
  padding: 2px 6px;
}
.article-prose pre {
  background: #16181d;
  color: #e6e9ee;
  border-radius: 14px;
  padding: 18px 22px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.article-prose pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.article-prose blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
}
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 0 0 20px;
}
.article-prose th, .article-prose td {
  text-align: left;
  border: 1px solid var(--line);
  padding: 9px 13px;
}
.article-prose th { background: var(--paper-deep); font-weight: 700; font-size: 13.5px; }
.article-prose img { border-radius: 14px; }

.article-related {
  max-width: var(--max);
  margin: 76px auto 0;
}
.article-related h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* ---------- Auth-lite pages (early access, 404) ---------- */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-nav { padding: 20px 0 0; }
.auth-wrap {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 44px 24px;
}
.auth-card {
  width: min(460px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 40px 38px 34px;
  text-align: center;
}
.auth-card h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.auth-sub { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 26px; }
.auth-emblem {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--accent-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 18px;
}
.auth-emblem.success { background: rgba(30, 142, 62, 0.12); color: var(--success); }
.auth-footer-note { font-size: 13.5px; color: var(--ink-faint); margin-top: 20px; }
.auth-footer-note a { color: var(--accent-deep); font-weight: 500; }
.auth-footer-note a:hover { text-decoration: underline; }
.auth-trust {
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
  padding: 0 24px 30px;
}
.auth-email-strong { color: var(--ink); font-weight: 700; }

.field { text-align: left; margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 6px;
}
.field-optional { color: var(--ink-faint); font-weight: 400; }
.field input, .field select {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}
.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 4px 0 18px;
}
.check-row input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.check-row label { cursor: pointer; }
.field-error {
  display: none;
  font-size: 13.5px;
  color: #c5221f;
  margin-bottom: 14px;
}

/* ---------- Subpage responsive ---------- */

@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .resources-featured { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-hero { padding-top: 52px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trustbar .wrap { gap: 8px 20px; }
  .article-page { padding-top: 48px; }
  .auth-card { padding: 32px 24px 28px; }
}

/* ---------- Article hero visuals (mesh gradient + floating widget) ---------- */

.article-visual {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  width: calc(100% - 48px);
  margin: 0 auto 40px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 28px;
  min-height: 290px;
}
.article-visual::before {
  content: '';
  position: absolute;
  inset: -35%;
  filter: blur(42px);
  transform: translateZ(0);
}
/* the mesh ::before is positioned, so all widget content must be too,
   or it paints underneath the blur layer */
.article-visual > * { position: relative; }
.article-visual .pviz-card { width: min(340px, 100%); }
.article-visual .viz-eu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(340px, 100%);
  min-height: 212px;
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(23, 24, 26, 0.18);
}

/* ---------- Article visual primitives (varied widget archetypes) ---------- */

.pviz-card.wide { width: min(420px, 100%); }

.av-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(420px, 100%);
}
.av-icon-chip {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(23, 24, 26, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.av-icon-chip svg { width: 26px; height: 26px; }
.av-stack .viz-url { width: 100%; }
.av-stack .viz-url .row { box-shadow: 0 10px 28px rgba(23, 24, 26, 0.10); }

/* pipeline (horizontal steps) */
.av-pipe { display: flex; align-items: flex-start; gap: 6px; padding-top: 8px; }
.av-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  flex: 1;
}
.av-step .av-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.av-step.done .av-dot { background: rgba(30, 142, 62, 0.12); color: var(--success); }
.av-step.done .av-dot svg { width: 14px; height: 14px; }
.av-step.live .av-dot { background: var(--accent-wash); }
.av-step.live .av-dot .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(30, 142, 62, 0.18);
}
html.anim .av-step.live .av-dot .dot { animation: mbPulse 2.4s ease-out infinite; }
.av-pipe-line { flex: none; height: 2px; background: var(--line-strong); width: 24px; margin-top: 14px; border-radius: 2px; }

/* toggle row */
.av-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; font-weight: 700; }
.av-toggle-row .sub { display: block; font-size: 11px; font-weight: 400; color: var(--ink-faint); margin-top: 1px; }
.switch.sm { width: 38px; height: 22px; flex: none; }
.switch.sm .knob { width: 16px; height: 16px; }
.switch.sm.on .knob { transform: translateX(16px); }

/* chips */
.av-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.av-chip { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 5px 11px; }
.av-chip.ok { background: rgba(30, 142, 62, 0.10); color: var(--success); }
.av-chip.info { background: var(--accent-wash); color: var(--accent-deep); }
.av-chip.warn { background: rgba(255, 138, 0, 0.14); color: #a05a00; }
.pviz-card .av-chips { justify-content: flex-start; margin-top: 12px; }

/* duration bars */
.av-bar-row {
  display: grid;
  grid-template-columns: 104px 1fr 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}
.av-track { height: 8px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.av-fill { display: block; height: 100%; border-radius: 999px; }
.av-fill.ok { background: var(--success); }
.av-fill.bad { background: #d06868; }
.av-val { text-align: right; font-weight: 700; color: var(--ink); font-size: 12px; }

/* mono rows & transformations */
.av-mono-row {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 10px 28px rgba(23, 24, 26, 0.10);
  color: var(--ink);
}
.av-mono-row b.bad { color: #a04545; text-decoration: line-through; font-weight: 500; }
.av-mono-row b.ok { color: #1c6e35; font-weight: 700; }
.pviz-card .av-mono-row { box-shadow: none; background: var(--paper); }
.av-arrow-down { color: var(--ink-faint); display: flex; }
.av-arrow-down svg { width: 16px; height: 16px; }
.av-plus { text-align: center; color: var(--ink-faint); font-weight: 700; margin: 8px 0 2px; }

/* dark code card */
.av-code {
  position: relative;
  width: min(430px, 100%);
  background: #16181d;
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(23, 24, 26, 0.30);
  overflow: hidden;
}
.av-code-bar { display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.av-code-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.av-code-bar span { margin-left: 6px; font-size: 11px; color: rgba(255, 255, 255, 0.45); font-family: var(--mono); }
.av-code pre {
  margin: 0;
  padding: 16px 18px 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: #cdd3dd;
  white-space: pre-wrap;
  word-break: break-all;
}
.av-code pre b { color: #7cc0ff; font-weight: 500; }

/* mono log rows */
.av-log-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.av-log-row .faint { color: var(--ink-faint); font-family: var(--font); font-size: 11px; }

/* alert header */
.av-alert-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; margin-bottom: 12px; }
.av-bell {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #faf2f2;
  color: #a04545;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.av-bell svg { width: 15px; height: 15px; }

/* flow diagram */
.av-flow { display: flex; align-items: center; gap: 10px; }
.av-node {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(23, 24, 26, 0.14);
  padding: 12px 15px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}
.av-node .sub { display: block; font-size: 10.5px; font-weight: 400; color: var(--ink-faint); margin-top: 2px; }
.av-node.accent { border: 1px solid rgba(0, 113, 227, 0.35); color: var(--accent-deep); }
.av-flow > svg { flex: none; width: 18px; height: 18px; color: var(--ink-faint); }
@media (max-width: 520px) {
  .av-flow { flex-direction: column; align-items: center; gap: 5px; }
  .av-flow > svg { transform: rotate(90deg); }
  .av-node { text-align: center; }
}

/* mini card row */
.av-grid { display: flex; gap: 10px; }
.av-mini {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(23, 24, 26, 0.14);
  padding: 14px 16px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}
.av-mini .sub { font-size: 10.5px; font-weight: 400; color: var(--ink-faint); }
.av-mini .pv-pill { margin-top: 8px; }

/* floating pill chip */
.av-chip-float {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(23, 24, 26, 0.14);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
}
.av-chip-float svg { width: 13px; height: 13px; color: var(--success); }
.av-chip-float.info svg { color: var(--accent); }

/* domain rows */
.av-domain {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(23, 24, 26, 0.10);
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.av-domain .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; }
.av-domain .pv-pill { margin-left: auto; }
.av-domain.add {
  justify-content: center;
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed rgba(23, 24, 26, 0.22);
  color: var(--ink-faint);
  font-family: var(--font);
  font-weight: 500;
}

/* status badge legend */
.av-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 18px; padding-top: 6px; }
.av-badge { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink-soft); }
.av-badge .pv-pill { flex: none; }

/* ---------- Resources index: feature card + card thumbs ---------- */

.feature-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.feature-copy {
  padding: 36px 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-copy .resource-tag { margin-bottom: 14px; }
.feature-copy h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  text-wrap: balance;
}
.feature-copy p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.feature-copy .resource-meta { margin-top: auto; padding-top: 18px; }
.feature-link { color: var(--accent-deep); font-weight: 700; }
.feature-card .pviz { min-height: 260px; padding: 32px 26px; }

.rc-thumb {
  position: relative;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc-thumb::before {
  content: '';
  position: absolute;
  inset: -45%;
  filter: blur(26px);
  transform: translateZ(0);
}
.rc-thumb .ic {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 18px rgba(23, 24, 26, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc-thumb .ic svg { width: 18px; height: 18px; color: var(--accent-deep); }

.res-section { margin-top: 46px; }
.res-section .section-header { margin-bottom: 22px; }

/* kick-figure floated inside a mesh panel (agencies page) */
.pviz .kick-figure { position: relative; width: min(320px, 100%); box-shadow: 0 20px 55px rgba(23, 24, 26, 0.14); }

.feature-card.flip .feature-copy { order: 2; }
.feature-card.flip .pviz { order: 1; }

@media (max-width: 1000px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card.flip .feature-copy,
  .feature-card.flip .pviz { order: 0; }
}

/* chart legend (client colors under stacked request chart) */
.av-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 11.5px; font-weight: 500; color: var(--ink-soft); margin-top: 12px; }
.av-legend span { display: inline-flex; align-items: center; gap: 6px; }
.av-legend i { width: 9px; height: 9px; border-radius: 3px; flex: none; }

/* mini client-request cards (agencies page, mirrors partner/client-requests.html) */
.av-rq-stack { position: relative; display: flex; flex-direction: column; gap: 12px; width: min(320px, 100%); }
.av-rq-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(23, 24, 26, 0.16);
  padding: 13px 15px 12px;
}
.av-rq-head { display: flex; align-items: center; gap: 9px; }
.av-rq-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.av-rq-head .meta { font-size: 12px; font-weight: 700; line-height: 1.25; }
.av-rq-head .meta .sub { display: block; font-size: 10.5px; font-weight: 400; color: var(--ink-faint); }
.av-rq-total { margin-left: auto; text-align: right; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.av-rq-total .sub { display: block; font-size: 9.5px; font-weight: 400; color: var(--ink-faint); }
.av-rq-card svg { display: block; margin-top: 10px; max-width: 100%; }

/* ---------- Reliability pillar: monitoring story animation ---------- */
/* Base styles = the story's end state (what reduced-motion visitors see).
   With html.anim, an 18s loop replays the full sequence in two scenes:
   monitoring tableau (draw, drop, detect, fan-out), then a Slack mock. */

.mon-loop {
  position: relative;
  width: min(340px, 100%);
}
.mon-scene1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mon-card { width: 100%; padding: 16px 18px; }
.mon-card .pv-head { margin-bottom: 12px; }
.mon-state { position: relative; display: inline-flex; align-items: center; margin-left: auto; }
.mon-live { white-space: nowrap; opacity: 0; }
.mon-flag { position: absolute; right: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; opacity: 1; }
.mon-chartwrap { position: relative; overflow: hidden; border-radius: 6px; }
.mon-chart { display: block; width: 100%; height: auto; }
.mon-dot { display: none; }
.mon-scan {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 34px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.10) 55%, rgba(0, 113, 227, 0.22) 82%, transparent 84%);
}

.mon-alert {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border: 1px solid rgba(196, 69, 69, 0.22);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(23, 24, 26, 0.14);
  padding: 10px 14px;
}
.mon-bell {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px; height: 27px;
  border-radius: 8px;
  background: #faf2f2;
  color: #a04545;
}
.mon-bell svg { width: 15px; height: 15px; }
.mon-alert-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; margin-right: auto; }
.mon-alert-text b { font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; }
.mon-alert-text span { font-size: 11px; color: var(--ink-faint); }

.mon-channels { display: flex; gap: 8px; }
.mon-ch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(0, 113, 227, 0.38);
  border-radius: 999px;
  padding: 5px 11px;
  box-shadow: 0 8px 20px rgba(23, 24, 26, 0.10);
}
.mon-ch svg { width: 12.5px; height: 12.5px; color: var(--accent); }

/* Scene 2: the alert as it lands in Slack */
.mon-slack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.slack-card {
  width: 100%;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 55px rgba(23, 24, 26, 0.20);
  overflow: hidden;
}
.slack-chan {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.slack-chan .slack-hash { color: var(--ink-faint); font-weight: 500; }
.slack-row { display: flex; gap: 10px; padding: 14px 16px 16px; }
.slack-avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}
.slack-body { min-width: 0; }
.slack-meta { display: flex; align-items: center; gap: 6px; }
.slack-meta b { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.slack-app-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #616061;
  background: #ececec;
  border-radius: 3px;
  padding: 1.5px 4px;
}
.slack-time { font-size: 11px; color: var(--ink-faint); }
.slack-text { font-size: 12.5px; line-height: 1.5; margin-top: 3px; color: var(--ink); overflow-wrap: break-word; }
.slack-text b { font-weight: 700; }
.pviz .slack-card { width: min(360px, 100%); }
.slack-emoji { font-size: 12px; }

/* -- animated sequence (only when JS enables html.anim) -- */
html.anim .reveal.in .viz-mon .mon-loop { animation: monFade 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-scene1 { animation: monScene1 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-slack { animation: monSlackIn 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-line-a {
  stroke-dasharray: 100;
  animation: monLineA 18s linear infinite;
}
html.anim .reveal.in .viz-mon .mon-line-b {
  stroke-dasharray: 100;
  animation: monLineB 18s linear infinite;
}
@supports (offset-path: path("M0 0 L1 1")) {
  html.anim .reveal.in .viz-mon .mon-dot {
    display: block;
    offset-path: path("M6 34 C 16 26 24 40 34 34 C 44 28 50 40 60 34 C 70 27 78 40 88 33 C 98 26 106 39 116 33 C 126 27 134 38 144 31 C 152 26 158 30 166 30 C 172 30 174 40 176 52 C 178 64 179 72 184 72 L 242 72");
    offset-rotate: 0deg;
    animation: monDot 18s linear infinite;
  }
}
html.anim .reveal.in .viz-mon .mon-scan { animation: monScan 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-live { animation: monLive 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-live .dot { animation: mbPulse 2.4s ease-out infinite; }
html.anim .reveal.in .viz-mon .mon-flag { animation: monFlag 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-alert { animation: monAlert 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-bell svg { transform-origin: 50% 8%; animation: monBell 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-ch-1 { animation: monCh1 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-ch-2 { animation: monCh2 18s linear infinite; }
html.anim .reveal.in .viz-mon .mon-ch-3 { animation: monCh3 18s linear infinite; }

@keyframes monFade {
  0%, 95.5% { opacity: 1; }
  96.8% { opacity: 0; }
  99% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes monScene1 {
  0%, 70% { opacity: 1; transform: none; }
  73% { opacity: 0; transform: translateY(-8px); }
  97% { opacity: 0; transform: translateY(-8px); }
  98%, 100% { opacity: 1; transform: none; }
}
@keyframes monSlackIn {
  0%, 72% { opacity: 0; transform: translateY(12px) scale(0.96); }
  72.01% { animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1.15); }
  75% { opacity: 1; transform: none; }
  93% { opacity: 1; transform: none; }
  96% { opacity: 0; transform: translateY(4px) scale(0.98); }
  100% { opacity: 0; transform: translateY(12px) scale(0.96); }
}
@keyframes monLineA {
  0%, 3% { stroke-dashoffset: 101; }
  30% { stroke-dashoffset: 0; }
  97% { stroke-dashoffset: 0; }
  98%, 100% { stroke-dashoffset: 101; }
}
@keyframes monLineB {
  0%, 30% { stroke-dashoffset: 101; }
  34.5% { stroke-dashoffset: 54; }
  40% { stroke-dashoffset: 0; }
  97% { stroke-dashoffset: 0; }
  98%, 100% { stroke-dashoffset: 101; }
}
@keyframes monDot {
  0%, 3% { offset-distance: 0%; fill: #0071e3; opacity: 1; }
  30% { offset-distance: 62%; fill: #0071e3; }
  33% { fill: #c44545; }
  34.5% { offset-distance: 78%; }
  40% { offset-distance: 100%; fill: #c44545; opacity: 1; }
  97% { offset-distance: 100%; fill: #c44545; opacity: 1; }
  98%, 100% { offset-distance: 0%; fill: #0071e3; opacity: 0; }
}
@keyframes monScan {
  0%, 36% { opacity: 0; transform: translateX(-36px); }
  37.5% { opacity: 1; }
  43% { opacity: 1; transform: translateX(250px); }
  44.5% { opacity: 0; transform: translateX(250px); }
  46%, 100% { opacity: 0; transform: translateX(-36px); }
}
@keyframes monLive {
  0%, 43% { opacity: 1; }
  45% { opacity: 0; }
  97% { opacity: 0; }
  98.5%, 100% { opacity: 1; }
}
@keyframes monFlag {
  0%, 44% { opacity: 0; }
  46% { opacity: 1; }
  96.5% { opacity: 1; }
  98%, 100% { opacity: 0; }
}
@keyframes monAlert {
  0%, 44% { opacity: 0; transform: translateY(10px) scale(0.97); }
  44.01% { animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1.15); }
  47% { opacity: 1; transform: none; }
  97% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(10px) scale(0.97); }
}
@keyframes monBell {
  0%, 47% { transform: rotate(0deg); }
  48.5% { transform: rotate(13deg); }
  50% { transform: rotate(-11deg); }
  51.5% { transform: rotate(8deg); }
  53% { transform: rotate(-5deg); }
  54.5%, 100% { transform: rotate(0deg); }
}
@keyframes monCh1 {
  0%, 50% { opacity: 0.55; color: var(--ink-faint); border-color: var(--line); box-shadow: 0 8px 20px rgba(23, 24, 26, 0.06); }
  52% { opacity: 1; color: var(--ink); border-color: rgba(0, 113, 227, 0.38); box-shadow: 0 8px 20px rgba(23, 24, 26, 0.10), 0 0 0 0 rgba(0, 113, 227, 0.30); }
  55% { box-shadow: 0 8px 20px rgba(23, 24, 26, 0.10), 0 0 0 9px rgba(0, 113, 227, 0); }
  97% { opacity: 1; color: var(--ink); border-color: rgba(0, 113, 227, 0.38); }
  98.5%, 100% { opacity: 0.55; color: var(--ink-faint); border-color: var(--line); }
}
@keyframes monCh2 {
  0%, 55% { opacity: 0.55; color: var(--ink-faint); border-color: var(--line); box-shadow: 0 8px 20px rgba(23, 24, 26, 0.06); }
  57% { opacity: 1; color: var(--ink); border-color: rgba(0, 113, 227, 0.38); box-shadow: 0 8px 20px rgba(23, 24, 26, 0.10), 0 0 0 0 rgba(0, 113, 227, 0.30); }
  60% { box-shadow: 0 8px 20px rgba(23, 24, 26, 0.10), 0 0 0 9px rgba(0, 113, 227, 0); }
  97% { opacity: 1; color: var(--ink); border-color: rgba(0, 113, 227, 0.38); }
  98.5%, 100% { opacity: 0.55; color: var(--ink-faint); border-color: var(--line); }
}
@keyframes monCh3 {
  0%, 60% { opacity: 0.55; color: var(--ink-faint); border-color: var(--line); box-shadow: 0 8px 20px rgba(23, 24, 26, 0.06); }
  62% { opacity: 1; color: var(--ink); border-color: rgba(0, 113, 227, 0.38); box-shadow: 0 8px 20px rgba(23, 24, 26, 0.10), 0 0 0 0 rgba(0, 113, 227, 0.30); }
  65% { box-shadow: 0 8px 20px rgba(23, 24, 26, 0.10), 0 0 0 9px rgba(0, 113, 227, 0); }
  97% { opacity: 1; color: var(--ink); border-color: rgba(0, 113, 227, 0.38); }
  98.5%, 100% { opacity: 0.55; color: var(--ink-faint); border-color: var(--line); }
}

/* ---------- Homepage power-ups grid: centered more-link ---------- */
.section-more { text-align: center; margin-top: 44px; }
/* Homepage rhythm: tighten white-on-white seams; features gets full
   spacing again now that it follows the grey steps band. */
#why-tracking.section,
#tracking-problem.section,
#integrations.section { padding-top: 40px; }
#partners.section { padding-top: 40px; padding-bottom: 40px; }

/* how-it-works step cards: connector arrows between cards */
.step .snippet { overflow-wrap: anywhere; }
.step + .step::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 44px;
  width: 36px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(23, 24, 26, 0.20) 0 4px, transparent 4px 9px);
}
.step + .step::after {
  content: '';
  position: absolute;
  left: -36px;
  top: 41px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
  opacity: 0;
}
.num { position: relative; }
.num .ck { position: absolute; width: 15px; height: 15px; opacity: 0; }
html.anim .step:nth-child(2)::after { animation: stepFlow1 4.2s linear infinite; }
html.anim .step:nth-child(3)::after { animation: stepFlow2 4.2s linear infinite; }
html.anim .step:nth-child(1) .num { animation: numBg1 4.2s linear infinite; }
html.anim .step:nth-child(1) .num span { animation: numText1 4.2s linear infinite; }
html.anim .step:nth-child(1) .num .ck { animation: numCk1 4.2s linear infinite; }
html.anim .step:nth-child(2) .num { animation: numBg2 4.2s linear infinite; }
html.anim .step:nth-child(2) .num span { animation: numText2 4.2s linear infinite; }
html.anim .step:nth-child(2) .num .ck { animation: numCk2 4.2s linear infinite; }
html.anim .step:nth-child(3) .num { animation: numBg3 4.2s linear infinite; }
html.anim .step:nth-child(3) .num span { animation: numText3 4.2s linear infinite; }
html.anim .step:nth-child(3) .num .ck { animation: numCk3 4.2s linear infinite; }
@keyframes stepFlow1 {
  0%, 8% { opacity: 0; transform: translateX(0); }
  11% { opacity: 1; }
  30% { opacity: 1; }
  33%, 100% { opacity: 0; transform: translateX(29px); }
}
@keyframes stepFlow2 {
  0%, 41% { opacity: 0; transform: translateX(0); }
  44% { opacity: 1; }
  63% { opacity: 1; }
  66%, 100% { opacity: 0; transform: translateX(29px); }
}
@keyframes numBg1 {
  0%, 10% { background: var(--ink); }
  16% { background: var(--success); }
  90% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes numText1 { 0%, 10% { opacity: 1; } 16% { opacity: 0; } 90% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes numCk1 { 0%, 10% { opacity: 0; } 16% { opacity: 1; } 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes numBg2 {
  0%, 43% { background: var(--ink); }
  49% { background: var(--success); }
  90% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes numText2 { 0%, 43% { opacity: 1; } 49% { opacity: 0; } 90% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes numCk2 { 0%, 43% { opacity: 0; } 49% { opacity: 1; } 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes numBg3 {
  0%, 64% { background: var(--ink); }
  70% { background: var(--success); }
  90% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes numText3 { 0%, 64% { opacity: 1; } 70% { opacity: 0; } 90% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes numCk3 { 0%, 64% { opacity: 0; } 70% { opacity: 1; } 90% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* ---------- Pricing: plan comparison table ---------- */
.compare-scroll { overflow-x: auto; }
.compare-card {
  min-width: 860px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 13px 18px; text-align: left; }
.compare thead th { padding-top: 22px; padding-bottom: 16px; vertical-align: top; }
.compare thead th:first-child { width: 26%; }
.cmp-plan { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.cmp-sub { display: block; font-size: 12px; font-weight: 400; color: var(--ink-faint); margin-top: 3px; }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare tbody td { color: var(--ink-soft); }
.compare tbody tr:not(.cmp-group):not(:first-child) th,
.compare tbody tr:not(.cmp-group):not(:first-child) td { border-top: 1px solid var(--line); }
.cmp-group td {
  padding: 24px 18px 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  border-top: 0 !important;
}
.compare th:nth-child(4), .compare td:nth-child(4) { background: #f4f9fe; }
.cmp-ck { width: 16px; height: 16px; color: var(--success); }
.cmp-dash { color: var(--line-strong, #cfcfc7); }
.cmp-cta td { padding: 18px; border-top: 1px solid var(--line); }

/* ---------- Setup-guide 6-step relay visual ---------- */
.sg-window { position: relative; height: 162px; overflow: hidden; }
.sg-step { position: relative; height: 54px; display: flex; align-items: center; gap: 12px; }
.sg-num {
  position: relative; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 700;
}
.sg-num .ck { position: absolute; width: 13px; height: 13px; opacity: 0; }
.sg-label { font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; min-width: 0; }
.sg-label .sub { display: block; font-size: 11px; font-weight: 400; color: var(--ink-faint); margin-top: 2px; }
.sg-step:not(:last-child)::before {
  content: ''; position: absolute; left: 12px; top: 42px; width: 2px; height: 24px;
  background: repeating-linear-gradient(180deg, rgba(23, 24, 26, 0.22) 0 3px, transparent 3px 7px);
}
.sg-step:not(:last-child)::after {
  content: ''; position: absolute; left: 9.5px; top: 39px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
  opacity: 0;
}
html.anim .sg-window { animation: sgFade 14s linear infinite; }
html.anim .sg-track { animation: sgScroll 14s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
html.anim .sg-step:nth-child(1) .sg-num { animation: sgBg1 14s linear infinite; }
html.anim .sg-step:nth-child(1) .sg-num span { animation: sgTxt1 14s linear infinite; }
html.anim .sg-step:nth-child(1) .sg-num .ck { animation: sgCk1 14s linear infinite; }
html.anim .sg-step:nth-child(2) .sg-num { animation: sgBg2 14s linear infinite; }
html.anim .sg-step:nth-child(2) .sg-num span { animation: sgTxt2 14s linear infinite; }
html.anim .sg-step:nth-child(2) .sg-num .ck { animation: sgCk2 14s linear infinite; }
html.anim .sg-step:nth-child(3) .sg-num { animation: sgBg3 14s linear infinite; }
html.anim .sg-step:nth-child(3) .sg-num span { animation: sgTxt3 14s linear infinite; }
html.anim .sg-step:nth-child(3) .sg-num .ck { animation: sgCk3 14s linear infinite; }
html.anim .sg-step:nth-child(4) .sg-num { animation: sgBg4 14s linear infinite; }
html.anim .sg-step:nth-child(4) .sg-num span { animation: sgTxt4 14s linear infinite; }
html.anim .sg-step:nth-child(4) .sg-num .ck { animation: sgCk4 14s linear infinite; }
html.anim .sg-step:nth-child(5) .sg-num { animation: sgBg5 14s linear infinite; }
html.anim .sg-step:nth-child(5) .sg-num span { animation: sgTxt5 14s linear infinite; }
html.anim .sg-step:nth-child(5) .sg-num .ck { animation: sgCk5 14s linear infinite; }
html.anim .sg-step:nth-child(6) .sg-num { animation: sgBg6 14s linear infinite; }
html.anim .sg-step:nth-child(6) .sg-num span { animation: sgTxt6 14s linear infinite; }
html.anim .sg-step:nth-child(6) .sg-num .ck { animation: sgCk6 14s linear infinite; }
html.anim .sg-step:nth-child(1)::after { animation: sgDot1 14s linear infinite; }
html.anim .sg-step:nth-child(2)::after { animation: sgDot2 14s linear infinite; }
html.anim .sg-step:nth-child(3)::after { animation: sgDot3 14s linear infinite; }
html.anim .sg-step:nth-child(4)::after { animation: sgDot4 14s linear infinite; }
html.anim .sg-step:nth-child(5)::after { animation: sgDot5 14s linear infinite; }
@keyframes sgFade {
  0%, 92% { opacity: 1; }
  94%, 97% { opacity: 0; }
  99.5%, 100% { opacity: 1; }
}
@keyframes sgScroll {
  0%, 24% { transform: translateY(0); }
  28%, 40% { transform: translateY(-54px); }
  44%, 56% { transform: translateY(-108px); }
  60%, 94.5% { transform: translateY(-162px); }
  96%, 100% { transform: translateY(0); }
}
@keyframes sgBg1 {
  0%, 3% { background: var(--ink); }
  4%, 94.5% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes sgTxt1 {
  0%, 3% { opacity: 1; }
  3.8%, 94.5% { opacity: 0; }
  96%, 100% { opacity: 1; }
}
@keyframes sgCk1 {
  0%, 3% { opacity: 0; transform: scale(0.4); }
  3.8% { opacity: 1; transform: scale(1.22); }
  4.6%, 94.5% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes sgBg2 {
  0%, 12% { background: var(--ink); }
  13%, 94.5% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes sgTxt2 {
  0%, 12% { opacity: 1; }
  12.8%, 94.5% { opacity: 0; }
  96%, 100% { opacity: 1; }
}
@keyframes sgCk2 {
  0%, 12% { opacity: 0; transform: scale(0.4); }
  12.8% { opacity: 1; transform: scale(1.22); }
  13.6%, 94.5% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes sgBg3 {
  0%, 21% { background: var(--ink); }
  22%, 94.5% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes sgTxt3 {
  0%, 21% { opacity: 1; }
  21.8%, 94.5% { opacity: 0; }
  96%, 100% { opacity: 1; }
}
@keyframes sgCk3 {
  0%, 21% { opacity: 0; transform: scale(0.4); }
  21.8% { opacity: 1; transform: scale(1.22); }
  22.6%, 94.5% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes sgBg4 {
  0%, 36% { background: var(--ink); }
  37%, 94.5% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes sgTxt4 {
  0%, 36% { opacity: 1; }
  36.8%, 94.5% { opacity: 0; }
  96%, 100% { opacity: 1; }
}
@keyframes sgCk4 {
  0%, 36% { opacity: 0; transform: scale(0.4); }
  36.8% { opacity: 1; transform: scale(1.22); }
  37.6%, 94.5% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes sgBg5 {
  0%, 52% { background: var(--ink); }
  53%, 94.5% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes sgTxt5 {
  0%, 52% { opacity: 1; }
  52.8%, 94.5% { opacity: 0; }
  96%, 100% { opacity: 1; }
}
@keyframes sgCk5 {
  0%, 52% { opacity: 0; transform: scale(0.4); }
  52.8% { opacity: 1; transform: scale(1.22); }
  53.6%, 94.5% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes sgBg6 {
  0%, 68% { background: var(--ink); }
  69%, 94.5% { background: var(--success); }
  96%, 100% { background: var(--ink); }
}
@keyframes sgTxt6 {
  0%, 68% { opacity: 1; }
  68.8%, 94.5% { opacity: 0; }
  96%, 100% { opacity: 1; }
}
@keyframes sgCk6 {
  0%, 68% { opacity: 0; transform: scale(0.4); }
  68.8% { opacity: 1; transform: scale(1.22); }
  69.6%, 94.5% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes sgDot1 {
  0%, 7% { opacity: 0; transform: translateY(0); }
  7.6% { opacity: 1; transform: translateY(2px); }
  10.4% { opacity: 1; transform: translateY(20px); }
  11% { opacity: 0; transform: translateY(22px); }
  11.5%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes sgDot2 {
  0%, 16% { opacity: 0; transform: translateY(0); }
  16.6% { opacity: 1; transform: translateY(2px); }
  19.4% { opacity: 1; transform: translateY(20px); }
  20% { opacity: 0; transform: translateY(22px); }
  20.5%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes sgDot3 {
  0%, 31% { opacity: 0; transform: translateY(0); }
  31.6% { opacity: 1; transform: translateY(2px); }
  34.4% { opacity: 1; transform: translateY(20px); }
  35% { opacity: 0; transform: translateY(22px); }
  35.5%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes sgDot4 {
  0%, 47% { opacity: 0; transform: translateY(0); }
  47.6% { opacity: 1; transform: translateY(2px); }
  50.4% { opacity: 1; transform: translateY(20px); }
  51% { opacity: 0; transform: translateY(22px); }
  51.5%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes sgDot5 {
  0%, 63% { opacity: 0; transform: translateY(0); }
  63.6% { opacity: 1; transform: translateY(2px); }
  66.4% { opacity: 1; transform: translateY(20px); }
  67% { opacity: 0; transform: translateY(22px); }
  67.5%, 100% { opacity: 0; transform: translateY(0); }
}

/* ---------- FAQ page: tighter vertical rhythm ---------- */
.faq-page .section { padding: 60px 0; }
.faq-page .faq-nav { padding: 0 0 8px; }
.faq-page .faq-nav .resources-filters { margin-bottom: 0; }

/* ---------- Contact page ---------- */
.contact-meta {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-soft);
}
.contact-meta a { color: var(--accent-deep); font-weight: 500; }
.contact-meta a:hover { text-decoration: underline; }

/* ---------- Without/with comparison ---------- */
.vs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.vs-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.vs-card .vs-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.vs-card h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 14px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-card li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.vs-card li .mk {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.vs-card .mk svg { width: 11px; height: 11px; display: block; }
.vs-card.bad .mk { background: rgba(23, 24, 26, 0.06); color: var(--ink-faint); }
.vs-card.good { border-color: rgba(0, 113, 227, 0.35); box-shadow: 0 14px 40px rgba(23, 24, 26, 0.08); }
.vs-card.good .vs-label { color: var(--accent-deep); }
.vs-card.good .mk { background: rgba(30, 142, 62, 0.10); color: var(--success); }
@media (max-width: 860px) {
  .vs-grid { grid-template-columns: 1fr; }
}

/* ---------- Integrations logo rows (opposing marquees) ---------- */
/* The mask does ALL the cropping: horizontal track overflow fades out at
   the strip edges, and with no-repeat everything outside the padded box is
   simply not painted. No overflow clipping anywhere, so tile shadows and
   the hover lift render freely; vertical padding (cancelled by negative
   margins) keeps them inside the masked area. */
.logo-rows {
  --mq-period: 420px; /* 6 tiles x (56px + 14px gap) = one logo set */
  max-width: 560px; /* ~6 tiles visible at a time inside the fade */
  margin: -32px auto;
  padding: 32px 0;
  display: grid;
  gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.logo-row.marquee-l { transform: translateX(-35px); }
.logo-track { display: flex; gap: 14px; width: max-content; }
html.anim .marquee-r .logo-track { animation: mqRight 42s linear infinite; }
html.anim .marquee-l .logo-track { animation: mqLeft 42s linear infinite; }
@keyframes mqLeft {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--mq-period))); }
}
@keyframes mqRight {
  from { transform: translateX(calc(-1 * var(--mq-period))); }
  to { transform: translateX(0); }
}
.logo-tile {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(23, 24, 26, 0.05);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(23, 24, 26, 0.10); }
.logo-tile svg { width: 26px; height: 26px; display: block; }
/* Snapchat: brand-yellow rounded square nested inside the white tile */
.logo-tile.snap svg {
  width: 34px; height: 34px;
  padding: 8px;
  box-sizing: border-box;
  background: #FFFC00;
  border-radius: 9px;
}
@media (max-width: 640px) {
  .logo-rows { --mq-period: 348px; gap: 10px; }
  .logo-track { gap: 10px; }
  .logo-tile { width: 48px; height: 48px; border-radius: 12px; }
  .logo-tile svg { width: 22px; height: 22px; }
  .logo-tile.snap svg { width: 29px; height: 29px; padding: 7px; border-radius: 8px; }
}

/* ---------- Mobile nav (hamburger) ---------- */
.nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu { display: none; }

@media (max-width: 760px) {
  .nav-burger { display: flex; }
  /* Pack the CTA against the burger on the right instead of centered:
     the logo's auto margin absorbs the free space before space-between
     gets to distribute it. */
  .nav .wrap > .nav-logo { margin-right: auto; }
  .nav .wrap { gap: 6px; }
  .nav .wrap > .nav-cta .btn-ghost { display: none; }
  .nav-menu {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(23, 24, 26, 0.10);
    padding: 10px 24px 22px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav.menu-open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .nav-menu .nav-links a {
    display: block;
    padding: 12px 10px;
    font-size: 16px;
    border-radius: 10px;
  }
  .nav-menu .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .nav-menu .nav-cta .btn { justify-content: center; }
}
