/* =========================================================================
   Commleap — Enterprise CPaaS
   Global stylesheet. Design tokens live in :root — re-skin the site there.
   ========================================================================= */

:root {
  /* Brand */
  --brand: #e31446;          /* CommLeap Red — primary actions, links (brand master) */
  --brand-rgb: 227, 20, 70;
  --brand-300: #ff8aa5;      /* brand tint for use on dark surfaces */
  --glow2-rgb: 72, 98, 190;  /* cool secondary glow on dark surfaces */
  --brand-600: #c40f3b;      /* hover */
  --brand-700: #a30c32;
  --brand-50: #fdeef2;
  --brand-100: #fad3dd;
  --teal: #0ea596;           /* Success / "delivered" / live states only */
  --teal-400: #19c7b5;
  --teal-700: #0b7f74;       /* teal for text (AA on white) */
  --teal-50: #e7f8f5;
  --amber: #f5a524;

  /* Neutrals */
  --ink-950: #07090f;
  --ink-900: #0f1220;
  --ink-800: #1d2133;
  --ink-700: #2e3348;
  --slate-600: #4f5468;
  --slate-500: #646a80;
  --slate-400: #9ca1b3;
  --slate-300: #c9ccd8;
  --line: #e6e7ee;
  --line-strong: #d4d6e0;
  --bg: #ffffff;
  --bg-soft: #f6f6f9;
  --bg-tint: #fdf3f5;
  --tile-bg: #eef0f5;        /* neutral icon tiles */

  /* Dark surfaces */
  --dark-bg: #0b0d16;
  --dark-bg-2: #121522;
  --dark-card: rgba(255, 255, 255, 0.04);
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-text: #c9ccd9;
  --dark-muted: #9196ab;

  --grad: linear-gradient(125deg, #ff4b6e 0%, #e31446 55%, #a80f3c 100%);
  --grad-text: linear-gradient(105deg, #e31446 15%, #9c0f45 95%);

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --maxw: 1200px;
  --r-xl: 24px;
  --r-lg: 18px;
  --r: 14px;
  --r-sm: 10px;
  --header-h: 72px;
  --sh-sm: 0 1px 2px rgba(12, 18, 48, 0.06), 0 1px 3px rgba(12, 18, 48, 0.05);
  --sh-md: 0 10px 28px -8px rgba(12, 18, 48, 0.14), 0 2px 6px rgba(12, 18, 48, 0.04);
  --sh-lg: 0 34px 70px -20px rgba(12, 18, 48, 0.3), 0 10px 24px -10px rgba(12, 18, 48, 0.12);
  --sh-brand: 0 10px 24px -8px rgba(var(--brand-rgb),0.55);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1, h2, h3, h4, h5 {
  color: var(--ink-900);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3, h4, h5 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
p { text-wrap: pretty; }
strong { font-weight: 650; color: var(--ink-900); }
code, kbd, pre { font-family: var(--mono); }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-100); color: var(--ink-900); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.container-wide { max-width: 1320px; }

/* ---------- Typography helpers ---------- */
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; line-height: 1.6; color: var(--slate-600); }
.muted { color: var(--slate-500); }
.small { font-size: 14px; }
.text-center { text-align: center; }
.mono { font-family: var(--mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow.no-rule::before { display: none; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 100px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-700);
  margin-bottom: 26px;
}
.eyebrow-pill .tag {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--brand-50); color: var(--brand-700); padding: 4px 9px; border-radius: 100px;
}
.eyebrow-pill:hover { border-color: var(--brand-100); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 14px 22px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .18s ease; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink-900); border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.btn-secondary:hover { border-color: var(--ink-700); color: var(--ink-900); }
.btn-ghost { background: transparent; color: var(--ink-800); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink-900); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); color: #fff; }
.btn-white { background: #fff; color: var(--ink-900); }
.btn-white:hover { background: var(--brand-50); color: var(--ink-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-lg { padding: 17px 28px; font-size: 16.5px; border-radius: 12px; }
.btn-sm { padding: 10px 16px; font-size: 14.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15.5px; color: var(--brand);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover { color: var(--brand-600); }
.link-arrow:hover svg { transform: translateX(3px); }
.prose a, .text-link { color: var(--brand); text-decoration: underline; text-decoration-color: var(--brand-100); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover, .text-link:hover { text-decoration-color: var(--brand); }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 100px;
  background: var(--brand-50); color: var(--brand-700);
}
.badge-teal { background: var(--teal-50); color: var(--teal-700); }
.badge-neutral { background: var(--bg-soft); color: var(--slate-600); border: 1px solid var(--line); }
.badge-dark { background: rgba(255,255,255,.08); color: #e6e9f7; border: 1px solid var(--dark-line); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(14,165,150,.18); }

/* =========================================================================
   Header & navigation
   ========================================================================= */
.announce {
  background: var(--ink-900); color: #dfe3f5; font-size: 14px;
  text-align: center; padding: 9px 16px;
}
.announce a { display: inline-flex; align-items: center; gap: 8px; }
.announce strong { color: #fff; }
.announce .badge { background: rgba(255,255,255,.1); color: #fff; }
.announce svg { width: 15px; height: 15px; }
.announce a:hover span.u { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(12,18,48,.18); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { height: 34px; width: auto; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink-900); line-height: 1; }
.brand-word b { font-weight: 800; color: var(--brand); }

.primary-nav { flex: 1; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 9px;
  font-size: 15px; font-weight: 500; color: var(--ink-700);
  background: none; border: 0; cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.nav-trigger svg { width: 15px; height: 15px; transition: transform .2s ease; color: var(--slate-400); }
.nav-link:hover, .nav-trigger:hover, .has-mega.open > .nav-trigger { color: var(--ink-900); background: var(--bg-soft); }
.nav-link[aria-current="page"] { color: var(--brand); }
.has-mega.open > .nav-trigger svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-drawer-actions { display: none; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: -12px;
  width: max-content; max-width: min(860px, calc(100vw - 48px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 14px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega.open > .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.mega-grid { display: grid; grid-template-columns: repeat(2, 280px); gap: 6px 10px; }
.mega-grid.cols-3 { grid-template-columns: 270px 270px 250px; }
.mega-grid.cols-1 { grid-template-columns: 300px; }
.mega-label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate-500); padding: 8px 12px 6px;
}
.mega-link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 12px; border-radius: 12px;
  transition: background-color .15s ease;
}
.mega-link:hover { background: var(--bg-soft); }
.mega-link .mi {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
}
.mega-link .mi svg { width: 18px; height: 18px; }
.mega-link .mi.teal { background: var(--tile-bg); color: var(--ink-800); }
.mega-link strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink-900); line-height: 1.3; }
.mega-link small { display: block; font-size: 13px; color: var(--slate-500); line-height: 1.4; margin-top: 2px; }
.mega-link.compact { padding: 7px 12px; align-items: center; }
.mega-link.compact strong { font-weight: 500; font-size: 14.5px; }
.mega-feature {
  border-radius: 14px; padding: 20px;
  background: var(--dark-bg) radial-gradient(120% 90% at 100% 0%, rgba(var(--brand-rgb),.45), transparent 60%);
  color: var(--dark-text); display: flex; flex-direction: column; gap: 10px;
}
.mega-feature .badge { align-self: flex-start; }
.mega-feature strong { color: #fff; font-size: 16px; line-height: 1.35; }
.mega-feature p { font-size: 13.5px; line-height: 1.5; color: var(--dark-muted); }
.mega-feature .link-arrow { color: #fff; font-size: 14px; margin-top: auto; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle span + span { margin-top: 4px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav { gap: 12px; }
  .nav-toggle { display: grid; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 190;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 20px 32px;
    display: none;
    border-top: 1px solid var(--line);
  }
  .nav-open .primary-nav { display: block; }
  .nav-open { overflow: hidden; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; font-weight: 600; color: var(--ink-900); border-radius: 0; }
  .nav-link:hover, .nav-trigger:hover, .has-mega.open > .nav-trigger { background: none; }
  .mega {
    position: static; width: auto; max-width: none; box-shadow: none; border: 0; padding: 0 0 14px;
    opacity: 1; visibility: visible; transform: none; display: none; transition: none;
  }
  .mega::before { display: none; }
  .has-mega.open > .mega { display: block; }
  .mega-grid, .mega-grid.cols-3, .mega-grid.cols-1 { grid-template-columns: 1fr; }
  .mega-feature { display: none; }
  .mega-link { padding: 9px 4px; }
  .nav-drawer-actions { display: grid; gap: 10px; margin-top: 22px; }
}
@media (max-width: 480px) {
  .nav-actions .btn-primary { display: none; }
  .nav-toggle { margin-left: auto; }
}

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-flush-top { padding-top: 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); }
.section-bordered { border-top: 1px solid var(--line); }

.section-dark {
  background: var(--dark-bg);
  color: var(--dark-text);
  overflow: hidden;
  isolation: isolate;
}
.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(var(--brand-rgb),0.28), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(var(--glow2-rgb), 0.18), transparent 70%);
}
.section-dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: #fff; }
.section-dark .lead, .section-dark p { color: var(--dark-text); }
.section-dark .muted { color: var(--dark-muted); }
.section-dark .eyebrow { color: var(--brand-300); }
.section-dark .link-arrow { color: var(--brand-300); }
.section-dark .link-arrow:hover { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.section-head p { font-size: 19px; color: var(--slate-600); }
.section-dark .section-head p { color: var(--dark-text); }
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.section-head-split .section-head { margin-bottom: 0; }

/* =========================================================================
   Home hero
   ========================================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 88px 0 104px;
  background: linear-gradient(180deg, #fbf6f7 0%, #fcfbfc 55%, #fff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(12,18,48,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(12,18,48,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; top: -260px; right: -200px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(var(--brand-rgb),.13), rgba(var(--glow2-rgb),.06) 45%, transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin-bottom: 24px; letter-spacing: -0.04em; }
.hero .lead { max-width: 580px; margin-bottom: 34px; }
.hero .btn-row { margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--slate-600); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--teal-700); }

/* Hero composition */
.hero-visual { position: relative; min-height: 540px; }
.code-card {
  position: absolute; top: 0; left: 0; width: 88%;
  background: #0b1026; border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.code-card .code-body { font-size: 13px; }
.phone-card {
  position: absolute; right: 0; bottom: 0; width: 300px;
  background: #fff; border-radius: 28px; padding: 12px;
  border: 1px solid var(--line); box-shadow: var(--sh-lg);
}
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-md);
  padding: 10px 14px; font-size: 13px; color: var(--slate-600); line-height: 1.3;
}
.float-chip strong { display: block; font-size: 14px; color: var(--ink-900); }
.float-chip .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); flex: none; }
.float-chip .ic.brand { background: var(--brand-50); color: var(--brand); }
.float-chip .ic svg { width: 17px; height: 17px; }
.chip-a { left: -4%; bottom: 128px; }
.chip-b { right: 262px; bottom: 18px; }

/* Chat (reused from Onovix, refined) */
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.chat-name { font-weight: 700; font-size: 14px; color: var(--ink-900); display: flex; align-items: center; gap: 5px; line-height: 1.2; }
.chat-name svg { width: 14px; height: 14px; color: var(--teal); }
.chat-status { font-size: 12px; color: var(--slate-500); }
.chat-body { background: #f1f2f8; border-radius: 16px; margin-top: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; box-shadow: var(--sh-sm); background: #fff; color: var(--ink-800); }
.bubble.in { align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: #e4f7ef; color: #0e3b2c; border-bottom-right-radius: 4px; }
.bubble .time { display: block; font-size: 10.5px; color: var(--slate-400); text-align: right; margin-top: 3px; }
.bubble.card-msg { padding: 0; overflow: hidden; }
.bubble.card-msg .msg-media { height: 84px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.bubble.card-msg .msg-media svg { width: 30px; height: 30px; opacity: .9; }
.bubble.card-msg .msg-text { padding: 9px 12px 4px; }
.msg-buttons { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.msg-buttons span { background: #fff; text-align: center; font-size: 13px; font-weight: 600; color: var(--brand); padding: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.msg-buttons svg { width: 14px; height: 14px; }

/* =========================================================================
   Inner page hero
   ========================================================================= */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 40px 0 88px;
  background: linear-gradient(180deg, #fbf6f7 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(12,18,48,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(12,18,48,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 15%, transparent 70%);
}
.page-hero .breadcrumbs { margin-bottom: 44px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 22px; letter-spacing: -0.04em; }
.page-hero .lead { max-width: 640px; margin-bottom: 32px; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .btn-row, .page-hero.center .hero-proof { justify-content: center; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.page-hero.compact { padding-bottom: 64px; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: 13.5px; color: var(--slate-500); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--slate-300); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current] { color: var(--ink-700); font-weight: 500; }
.page-hero.center .breadcrumbs ol { justify-content: center; }

/* =========================================================================
   Channel / trust strip
   ========================================================================= */
.strip { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.strip-label { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 20px; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.strip-row span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px; color: var(--ink-700); }
.strip-row svg { width: 20px; height: 20px; color: var(--brand); }

/* =========================================================================
   Cards & grids
   ========================================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap-lg { gap: 32px; }

.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--slate-600); }
.card p + p { margin-top: 10px; }
.card .link-arrow { margin-top: 18px; font-size: 15px; }
a.card:hover, .card.hoverable:hover { border-color: var(--brand-100); box-shadow: var(--sh-md); transform: translateY(-3px); }
a.card { display: block; }
a.card::after { content: ""; }
.card-soft { background: var(--bg-soft); border-color: transparent; }
.card-dark { background: var(--dark-card); border-color: var(--dark-line); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--dark-text); }
.section-dark a.card-dark:hover { border-color: rgba(255,138,165,.4); box-shadow: none; }

.icon-tile {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 20px;
}
.icon-tile svg { width: 23px; height: 23px; }
.icon-tile.teal { background: var(--tile-bg); color: var(--ink-800); }
.icon-tile.dark { background: var(--ink-900); color: #fff; }
.icon-tile.grad { background: var(--grad); color: #fff; }
.card-dark .icon-tile, .section-dark .icon-tile { background: rgba(255,255,255,.07); color: var(--brand-300); border: 1px solid var(--dark-line); }
.icon-tile.sm { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; }
.icon-tile.sm svg { width: 20px; height: 20px; }

.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-meta .icon-tile { margin-bottom: 0; }

/* Channel bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
.bento-feature {
  background: var(--dark-bg); border: 0; color: var(--dark-text);
  background-image: radial-gradient(90% 90% at 100% 0%, rgba(var(--brand-rgb),.4), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(var(--glow2-rgb),.22), transparent 70%);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; overflow: hidden;
}
.bento-feature h3 { color: #fff; font-size: 26px; }
.bento-feature p { color: var(--dark-text); font-size: 16px; }
.bento-feature .link-arrow { color: #fff; }
.bento-feature .icon-tile { background: rgba(255,255,255,.1); color: #fff; }
a.bento-feature:hover { border-color: transparent; box-shadow: var(--sh-lg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 100px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--slate-600); }
.bento-feature .chips span, .section-dark .chips span { background: rgba(255,255,255,.06); border-color: var(--dark-line); color: #dfe3f5; }

/* Check lists */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-700); line-height: 1.55; }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7f74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.compact { gap: 9px; }
.check-list.compact li { font-size: 15px; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.section-dark .check-list li { color: var(--dark-text); }
.section-dark .check-list li::before { background-color: rgba(14,165,150,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319c7b5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* =========================================================================
   Split / showcase rows
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 112px; }
.split.reverse > :first-child { order: 2; }
.split-text h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
.split-text h3 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 16px; }
.split-text > p { font-size: 18px; color: var(--slate-600); margin-bottom: 24px; }
.split-text .check-list { margin-bottom: 28px; }
.section-dark .split-text > p { color: var(--dark-text); }

.media-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); padding: 32px;
  background: var(--dark-bg);
  background-image: radial-gradient(80% 80% at 90% 0%, rgba(var(--brand-rgb),.42), transparent 60%), radial-gradient(70% 70% at 0% 100%, rgba(var(--glow2-rgb),.2), transparent 70%);
  box-shadow: var(--sh-lg);
  min-height: 360px;
  color: var(--dark-text);
}
.media-panel.light { background: var(--bg-soft); background-image: radial-gradient(80% 80% at 90% 0%, rgba(var(--brand-rgb),.12), transparent 60%); box-shadow: none; border: 1px solid var(--line); color: var(--ink-800); }
.media-panel.center { display: grid; place-items: center; }

/* Mini UI elements used inside media panels */
.ui-card {
  position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 16px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 13.5px; color: var(--dark-text);
}
.ui-card + .ui-card { margin-top: 12px; }
.ui-card.solid { background: #fff; border-color: var(--line); color: var(--ink-800); box-shadow: var(--sh-md); }
.ui-row { display: flex; align-items: center; gap: 12px; }
.ui-row + .ui-row { margin-top: 12px; }
.ui-avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.ui-title { font-weight: 600; color: #fff; font-size: 14px; line-height: 1.3; }
.ui-card.solid .ui-title { color: var(--ink-900); }
.ui-sub { font-size: 12.5px; color: var(--dark-muted); line-height: 1.35; }
.ui-card.solid .ui-sub { color: var(--slate-500); }
.ui-pill { margin-left: auto; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 100px; background: rgba(25,199,181,.16); color: #7ff0e2; white-space: nowrap; }
.ui-pill.brand { background: rgba(var(--brand-rgb),.22); color: #ffb3c4; }
.ui-pill.amber { background: rgba(245,165,36,.18); color: #ffd48a; }
.ui-card.solid .ui-pill { background: var(--teal-50); color: var(--teal-700); }
.ui-card.solid .ui-pill.brand { background: var(--brand-50); color: var(--brand-700); }
.ui-bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,.16); overflow: hidden; }
.ui-bar > i { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
.ui-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ui-metric b { display: block; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.2; }
.ui-metric span { font-size: 12px; color: var(--dark-muted); }
.ui-card.solid .ui-metric b { color: var(--ink-900); }
.ui-card.solid .ui-metric span { color: var(--slate-500); }
.ui-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 10px; }
.ui-card.solid .ui-label { color: var(--slate-500); }
.ui-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ui-node { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 500; }
.ui-node svg { width: 15px; height: 15px; color: #9fe9df; }
.ui-arrow { color: var(--dark-muted); font-family: var(--mono); font-size: 13px; }

/* =========================================================================
   Steps
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--brand); margin-bottom: 14px;
}
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--grad); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--slate-600); }
.section-dark .step { border-top-color: var(--dark-line); }
.section-dark .step::before { color: var(--brand-300); }
.section-dark .step p { color: var(--dark-text); }

/* =========================================================================
   Architecture diagram
   ========================================================================= */
.arch { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 40px; align-items: center; }
.arch-col { display: grid; gap: 12px; position: relative; }
.arch-col-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 4px; }
.arch-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); color: #e6e9f7; font-size: 14.5px; font-weight: 500;
  position: relative;
}
.arch-item svg { width: 18px; height: 18px; color: #9fe9df; flex: none; }
.arch-left .arch-item::after, .arch-right .arch-item::before {
  content: ""; position: absolute; top: 50%; width: 40px; height: 1px;
  background: linear-gradient(90deg, rgba(255,138,165,0), rgba(255,138,165,.55));
}
.arch-left .arch-item::after { left: 100%; }
.arch-right .arch-item::before { right: 100%; background: linear-gradient(90deg, rgba(25,199,181,.55), rgba(25,199,181,0)); }
.arch-core {
  position: relative; border-radius: 22px; padding: 26px;
  background: linear-gradient(180deg, rgba(var(--brand-rgb),.14), rgba(var(--glow2-rgb),.08));
  border: 1px solid rgba(255,138,165,.35);
  box-shadow: 0 0 0 6px rgba(var(--brand-rgb),.06), 0 30px 60px -20px rgba(0,0,0,.5);
}
.arch-core-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.arch-core-head .brand-mark { width: 32px; height: 32px; }
.arch-core-head strong { color: #fff; font-size: 17px; display: block; line-height: 1.2; }
.arch-core-head span { font-size: 12.5px; color: var(--dark-muted); }
.arch-layer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 10px; background: rgba(8,13,34,.55); border: 1px solid var(--dark-line);
  font-size: 14px; color: #e6e9f7;
}
.arch-layer + .arch-layer { margin-top: 8px; }
.arch-layer small { font-family: var(--mono); font-size: 11px; color: var(--dark-muted); }

/* =========================================================================
   Code window
   ========================================================================= */
.code-window {
  background: #0b1026; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); box-shadow: var(--sh-lg);
}
.code-top {
  display: flex; align-items: center; gap: 12px; padding: 0 14px 0 16px; height: 46px;
  background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.07);
}
.code-dots { display: flex; gap: 6px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3150; }
.code-title { font-family: var(--mono); font-size: 12px; color: #8f97ba; }
.code-tabs { display: flex; gap: 2px; margin-left: auto; }
.code-tab {
  font-family: var(--mono); font-size: 12px; color: #8f97ba; background: none; border: 0; cursor: pointer;
  padding: 7px 10px; border-radius: 7px;
}
.code-tab:hover { color: #fff; }
.code-tab[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.08); }
.code-body { padding: 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #d4daf2; }
.code-body pre { margin: 0; white-space: pre; }
.code-panel[hidden] { display: none; }
.tk-k { color: #c9a6ff; }   /* keyword */
.tk-s { color: #8fe3c7; }   /* string */
.tk-p { color: #86b3ff; }   /* property / key */
.tk-n { color: #ffc98a; }   /* number / literal */
.tk-c { color: #5f6890; font-style: italic; } /* comment */
.tk-f { color: #7fd4ff; }   /* function / method */
.tk-m { color: #ff9bb8; }   /* http method */

/* Status line under code */
.code-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 22px; border-top: 1px solid rgba(255,255,255,.07); font-family: var(--mono); font-size: 12px; color: #8f97ba; }
.code-foot .ok { color: #5fe0cf; }

/* =========================================================================
   Stats
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-size: clamp(36px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink-900); margin-bottom: 12px; }
.stat .num .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { font-size: 15px; color: var(--slate-600); line-height: 1.5; }
.section-dark .stats { border-color: var(--dark-line); }
.section-dark .stat + .stat { border-color: var(--dark-line); }
.section-dark .stat .num { color: #fff; }
.section-dark .stat .lbl { color: var(--dark-text); }
.footnote { font-size: 13px; color: var(--slate-500); margin-top: 20px; }
.section-dark .footnote { color: var(--dark-muted); }

/* =========================================================================
   Tables
   ========================================================================= */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.table th, .table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: 13px; font-weight: 600; color: var(--slate-500); background: var(--bg-soft); text-transform: uppercase; letter-spacing: .05em; }
.table tbody th { font-weight: 600; color: var(--ink-900); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table td { color: var(--slate-600); }
.table .yes { color: var(--teal-700); font-weight: 600; }
.table .no { color: var(--slate-400); }
.table .hl { background: var(--bg-tint); }

/* =========================================================================
   Pricing
   ========================================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px 30px; background: #fff;
}
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--sh-lg); position: relative; }
.plan.featured .plan-flag { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; }
.plan h3 { font-size: 21px; margin-bottom: 8px; }
.plan .plan-desc { font-size: 15px; color: var(--slate-600); min-height: 48px; margin-bottom: 22px; }
.plan .plan-price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink-900); line-height: 1.1; }
.plan .plan-price small { font-size: 15px; font-weight: 500; color: var(--slate-500); letter-spacing: 0; }
.plan .plan-note { font-size: 13.5px; color: var(--slate-500); margin: 6px 0 24px; }
.plan .btn { margin-bottom: 26px; }
.plan .check-list { margin-top: auto; }
.plan-sep { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 14px; }

/* =========================================================================
   Logo / integration tiles
   ========================================================================= */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 76px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  font-weight: 600; font-size: 15px; color: var(--ink-700);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tile:hover { border-color: var(--brand-100); box-shadow: var(--sh-sm); }
.section-dark .tile { background: var(--dark-card); border-color: var(--dark-line); color: #e6e9f7; }

/* =========================================================================
   Quote / callout
   ========================================================================= */
.callout {
  border-radius: var(--r-lg); padding: 26px 28px; background: var(--bg-tint); border: 1px solid var(--brand-100);
  display: flex; gap: 18px; align-items: flex-start;
}
.callout .icon-tile { margin: 0; flex: none; }
.callout h3, .callout h4 { font-size: 17px; margin-bottom: 6px; }
.callout p { font-size: 15.5px; color: var(--slate-600); }
.callout.teal { background: var(--teal-50); border-color: rgba(14,165,150,.25); }

/* =========================================================================
   FAQ (native details/summary)
   ========================================================================= */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 18px; font-weight: 600; color: var(--ink-900); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e31446' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq .faq-a { padding: 0 48px 24px 0; color: var(--slate-600); font-size: 16.5px; }
.faq .faq-a p + p { margin-top: 10px; }
.faq .faq-a a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: 72px 56px;
  background: var(--dark-bg);
  color: var(--dark-text);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 100% 0%, rgba(var(--brand-rgb),.5), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(var(--glow2-rgb),.25), transparent 70%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: var(--dark-text); max-width: 560px; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-points { list-style: none; display: grid; gap: 10px; margin-top: 22px; font-size: 15px; }
.cta-points li { display: flex; gap: 10px; align-items: center; color: var(--dark-text); }
.cta-points svg { width: 17px; height: 17px; color: var(--teal-400); flex: none; }

/* =========================================================================
   Forms
   ========================================================================= */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--sh-md); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--slate-600); font-size: 15.5px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-800); margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--slate-500); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  font-size: 15.5px; color: var(--ink-900); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23636b8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.14); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 100px;
  border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; color: var(--ink-700); cursor: pointer; user-select: none;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.check-chip input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.check-chip input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.form-consent { font-size: 13px; color: var(--slate-500); margin-top: 14px; text-align: center; }
.form-consent a { color: var(--brand); text-decoration: underline; }
.form-alert { display: none; padding: 14px 16px; border-radius: 10px; font-weight: 500; font-size: 15px; margin-bottom: 20px; }
.form-alert.show { display: block; }
.form-alert.ok { background: var(--teal-50); border: 1px solid rgba(14,165,150,.3); color: var(--teal-700); }
.form-alert.err { background: #fdeeee; border: 1px solid #f3b9b9; color: #a42323; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 1px solid var(--line); }
.contact-item .icon-tile { margin: 0; flex: none; }
.contact-item .lbl { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); }
.contact-item .val { font-size: 16.5px; font-weight: 600; color: var(--ink-900); }
.contact-item a.val:hover { color: var(--brand); }
.contact-item p { font-size: 14.5px; color: var(--slate-600); }

/* =========================================================================
   Prose (blog / legal)
   ========================================================================= */
.prose { font-size: 18px; line-height: 1.8; color: var(--ink-700); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 2em; letter-spacing: -0.03em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--brand); }
.prose blockquote { border-left: 3px solid var(--brand); padding: 4px 0 4px 20px; color: var(--ink-800); font-size: 19px; }
.prose code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .88em; }
.prose pre { background: #0b1026; color: #d4daf2; border-radius: var(--r); padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.7; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--ink-900); font-weight: 600; }
.prose .table-wrap { border: 0; border-radius: 0; }
.prose .callout { margin-top: 1.6em; margin-bottom: 1.6em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .lead { font-size: 21px; color: var(--slate-600); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14.5px; color: var(--slate-500); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-300); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #fff; }
.toc p { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.toc a { color: var(--slate-600); }
.toc a:hover { color: var(--brand); }
.toc .btn { margin-top: 20px; }

/* Blog cards */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.post-card:hover { border-color: var(--brand-100); box-shadow: var(--sh-md); transform: translateY(-3px); }
.post-cover { aspect-ratio: 16 / 8; background: var(--dark-bg); background-image: radial-gradient(90% 120% at 100% 0%, rgba(var(--brand-rgb),.55), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(var(--glow2-rgb),.35), transparent 70%); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.post-cover svg { width: 44px; height: 44px; opacity: .9; }
.post-cover .mono { position: absolute; left: 18px; bottom: 14px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h2, .post-body h3 { font-size: 20px; line-height: 1.3; }
.post-body p { font-size: 15.5px; color: var(--slate-600); }
.post-body .article-meta { margin-top: auto; padding-top: 8px; font-size: 13.5px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink-950); color: var(--dark-muted); padding: 80px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-word b { color: var(--brand-300); }
.footer-brand p { margin: 18px 0 22px; max-width: 300px; line-height: 1.6; }
.footer-contact { display: grid; gap: 8px; font-size: 14.5px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; color: #c9cfe6; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 16px; height: 16px; color: var(--dark-muted); }
.footer-col h2 { font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--dark-muted); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: 13.5px;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { margin-top: 18px; font-size: 12.5px; color: #6b739a; line-height: 1.6; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #c9cfe6; transition: background-color .15s ease, color .15s ease; }
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 17px; height: 17px; }

/* =========================================================================
   Misc utilities
   ========================================================================= */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-0 { margin-bottom: 0 !important; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.max-640 { max-width: 640px; } .max-760 { max-width: 760px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: var(--line); border: 0; margin: 48px 0; }
.kicker-num { font-family: var(--mono); font-size: 13px; color: var(--brand); display: block; margin-bottom: 12px; }
.anchor-offset { scroll-margin-top: calc(var(--header-h) + 24px); }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-nav a { padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--ink-700); transition: border-color .15s ease, color .15s ease; }
.pill-nav a:hover { border-color: var(--brand); color: var(--brand); }
.page-hero.center .pill-nav { justify-content: center; }

/* Scroll reveal (only when JS is running, so content is never hidden from crawlers/no-JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .hero { padding: 64px 0 84px; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 1; }
  .bento .span-6, .bento .bento-feature { grid-column: 1 / -1; }
  .bento-feature { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .split + .split { margin-top: 80px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps.cols-3 { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; gap: 20px; }
  .arch-left .arch-item::after, .arch-right .arch-item::before { display: none; }
  .arch-col { grid-template-columns: repeat(2, 1fr); }
  .arch-col-label { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-dark .stat:nth-child(n+3) { border-top-color: var(--dark-line); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 56px 36px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .section-head-split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section-sm { padding: 52px 0; }
  .lead { font-size: 18px; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 17px; }
  .grid-2, .grid-3, .grid-4, .bento { grid-template-columns: 1fr; }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .arch-col { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .section-dark .stat + .stat { border-top-color: var(--dark-line); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .card { padding: 24px; }
  .media-panel { padding: 22px; min-height: 0; }
  .cta-band { padding: 44px 24px; border-radius: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .faq summary { font-size: 16.5px; }
  .faq .faq-a { padding-right: 0; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 25px; }
  /* Hero composition collapses to a stacked layout */
  .hero-visual { min-height: 0; display: grid; gap: 16px; }
  .code-card, .phone-card, .float-chip { position: relative; inset: auto; width: 100%; }
  .phone-card { max-width: 320px; margin: 0 auto; }
  .float-chip { display: none; }
}

/* ---------- Additions: hero pill icon, page-hero phone visual ---------- */
.eyebrow-pill svg { width: 15px; height: 15px; color: var(--slate-500); }
.hero-visual.hv-phone { min-height: 560px; }
.hv-phone .phone-card { left: 50%; right: auto; top: 0; bottom: auto; transform: translateX(-50%); width: 320px; }
.hv-phone .chip-a { left: 0; bottom: 110px; }
.hv-phone .chip-b { right: 0; left: auto; top: 90px; bottom: auto; }
.arch-core-head .brand-mark { width: 34px; height: 34px; }
.footer-contact-loc { color: var(--dark-muted); font-size: 14px; padding-left: 25px; }
@media (max-width: 980px) { .hero-visual.hv-phone { max-width: 520px; } }
@media (max-width: 640px) {
  .hero-visual.hv-phone { min-height: 0; }
  .hv-phone .phone-card { left: auto; transform: none; }
}

/* ---------- Contact page ---------- */
.h-sub { font-size: 22px; margin-bottom: 26px; }
.steps-stack { grid-template-columns: 1fr; row-gap: 24px; }
.steps-stack .step { padding-top: 18px; }
fieldset.field { border: 0; min-width: 0; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate-600); margin: 4px 0 20px; cursor: pointer; }
.consent-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.form-alert a { text-decoration: underline; }
.d-block { display: block; }

/* ---------- Links & chips on dark surfaces ---------- */
.section-dark .text-link, .section-dark .prose a, .card-dark a:not(.btn):not(.link-arrow) { color: var(--brand-300); text-decoration: underline; text-decoration-color: rgba(255,138,165,.45); text-underline-offset: 3px; }
.section-dark .text-link:hover, .section-dark .prose a:hover { color: #fff; text-decoration-color: #fff; }
.chips a { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 100px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--slate-600); transition: border-color .15s ease, color .15s ease; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.section-dark .chips a { background: rgba(255,255,255,.06); border-color: var(--dark-line); color: #dfe3f5; }
.section-dark .chips a:hover { border-color: var(--brand-300); color: #fff; }

/* ---------- Inline code outside prose ---------- */
.table code, .card code, .step code, .check-list code, .faq code, .callout code, .split-text code, .section-head code {
  font-size: .86em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink-800); white-space: nowrap;
}
.section-dark code, .card-dark code { background: rgba(255,255,255,.07); border-color: var(--dark-line); color: #f1f2f8; }

/* ---------- Tables on dark sections ---------- */
.section-dark .table-wrap { background: rgba(255,255,255,.03); border-color: var(--dark-line); }
.section-dark .table th, .section-dark .table td { border-bottom-color: var(--dark-line); }
.section-dark .table thead th { background: rgba(255,255,255,.05); color: var(--dark-muted); }
.section-dark .table tbody th { color: #fff; }
.section-dark .table td { color: var(--dark-text); }
.section-dark .table .yes { color: #5fe0cf; }
.section-dark .table .hl { background: rgba(var(--brand-rgb), .08); }

/* ---------- Statement (mission) block ---------- */
.statement { max-width: 920px; margin: 0 auto; text-align: center; }
.statement .eyebrow { justify-content: center; }
.statement blockquote, .statement .statement-text {
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; font-weight: 700; letter-spacing: -0.025em; color: var(--ink-900); text-wrap: balance;
}
.section-dark .statement blockquote, .section-dark .statement .statement-text { color: #fff; }
.statement .statement-by { margin-top: 22px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); }
.section-dark .statement .statement-by { color: var(--dark-muted); }

/* ---------- Spacing helpers ---------- */
.btn-row + .pill-nav, .hero-proof + .pill-nav { margin-top: 28px; }
.pill-nav + .pill-nav { margin-top: 10px; }
.media-panel.center img { max-width: 60%; height: auto; }

/* ---------- Mobile drawer & announcement fixes ---------- */
.announce-short { display: none; }
@media (max-width: 720px) {
  .announce { font-size: 13.5px; padding: 8px 14px; }
  .announce .badge { display: none; }
  .announce-long { display: none; }
  .announce-short { display: inline; }
}
@media (max-width: 1100px) {
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .primary-nav { inset: var(--drawer-top, var(--header-h)) 0 0 0; }
}

/* ---------- Tables inside split columns ---------- */
.split .table { min-width: 500px; }

/* ---------- UI mock helpers ---------- */
.ui-card.solid .ui-pill.amber { background: #fff4e0; color: #8a5300; }
.w-10 { width: 10%; } .w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; } .w-40 { width: 40%; }
.w-50 { width: 50%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; } .w-90 { width: 90%; }

/* ---------- Hamburger: pack bars so the X aligns ---------- */
.nav-toggle { align-content: center; justify-content: center; row-gap: 4px; }
.nav-toggle span + span { margin-top: 0; }

/* ---------- "Coming soon" badge ({{soon}}) ---------- */
.soon {
  display: inline-flex; align-items: center; white-space: nowrap; vertical-align: middle;
  font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 8px; margin-left: 8px; border-radius: 100px; position: relative; top: -1px;
  background: #fff4e0; color: #8a5300; border: 1px solid rgba(245,165,36,.4);
}
h1 .soon, h2 .soon { font-size: 12px; top: -4px; }
.section-dark .soon, .card-dark .soon, .bento-feature .soon, .media-panel .soon, .mega-feature .soon, .cta-band .soon, .code-window .soon {
  background: rgba(245,165,36,.16); color: #ffd48a; border-color: rgba(245,165,36,.32);
}
.mega-link .soon { margin-left: 6px; padding: 3px 6px; font-size: 9.5px; }

/* =========================================================================
   Light brand treatment — overrides the dark bands defined above.
   The CommLeap brand master is red on white, so emphasis bands are light and
   tinted with CommLeap Red. Only code blocks and the footer stay dark.
   ========================================================================= */
.announce { background: var(--brand-50); color: var(--ink-800); border-bottom: 1px solid var(--brand-100); }
.announce strong { color: var(--ink-900); }
.announce .badge { background: var(--brand); color: #fff; }
.announce svg { color: var(--brand); }

.section-dark { background: var(--bg-soft); color: var(--ink-800); }
.section-dark::before { background: radial-gradient(60% 60% at 90% 0%, rgba(var(--brand-rgb), .07), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(var(--brand-rgb), .04), transparent 70%); }
.section-dark::after { background-image: linear-gradient(rgba(15,18,32,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15,18,32,.035) 1px, transparent 1px); }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: var(--ink-900); }
.section-dark .lead, .section-dark p, .section-dark .section-head p, .section-dark .split-text > p { color: var(--slate-600); }
.section-dark .muted, .section-dark .footnote { color: var(--slate-500); }
.section-dark .eyebrow, .section-dark .link-arrow { color: var(--brand); }
.section-dark .link-arrow:hover { color: var(--brand-600); }
.section-dark .check-list li { color: var(--ink-700); }
.section-dark .check-list li::before { background-color: var(--teal-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7f74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.section-dark .step { border-top-color: var(--line); }
.section-dark .step::before { color: var(--brand); }
.section-dark .step p { color: var(--slate-600); }
.section-dark .stats, .section-dark .stat + .stat, .section-dark .stat:nth-child(n+3) { border-color: var(--line); }
.section-dark .stat .num { color: var(--ink-900); }
.section-dark .stat .lbl { color: var(--slate-600); }
.section-dark .icon-tile, .card-dark .icon-tile { background: var(--brand-50); color: var(--brand); border: 0; }
.section-dark .chips span, .section-dark .chips a { background: #fff; border-color: var(--line); color: var(--slate-600); }
.section-dark .chips a:hover { border-color: var(--brand); color: var(--brand); }
.section-dark .tile { background: #fff; border-color: var(--line); color: var(--ink-700); }
.section-dark .text-link, .section-dark .prose a, .card-dark a:not(.btn):not(.link-arrow) { color: var(--brand); text-decoration-color: var(--brand-100); }
.section-dark .text-link:hover, .section-dark .prose a:hover { color: var(--brand-600); text-decoration-color: var(--brand); }
.section-dark code, .card-dark code { background: #fff; border-color: var(--line); color: var(--ink-800); }
.section-dark .table-wrap { background: #fff; border-color: var(--line); }
.section-dark .table th, .section-dark .table td { border-bottom-color: var(--line); }
.section-dark .table thead th { background: var(--bg-soft); color: var(--slate-500); }
.section-dark .table tbody th { color: var(--ink-900); }
.section-dark .table td { color: var(--slate-600); }
.section-dark .table .yes { color: var(--teal-700); }
.section-dark .table .hl { background: var(--bg-tint); }
.section-dark .btn-white { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.section-dark .btn-white:hover { background: var(--brand-600); color: #fff; }
.section-dark .btn-outline-light { background: #fff; color: var(--ink-900); border-color: var(--line-strong); }
.section-dark .btn-outline-light:hover { background: #fff; color: var(--ink-900); border-color: var(--ink-700); }

.card-dark { background: #fff; border-color: var(--line); }
.card-dark h3 { color: var(--ink-900); }
.card-dark p { color: var(--slate-600); }
.section-dark a.card-dark:hover { border-color: var(--brand-100); box-shadow: var(--sh-md); }
.badge-dark { background: #fff; color: var(--brand-700); border: 1px solid var(--brand-100); }

.bento-feature { background: var(--brand-50); background-image: radial-gradient(90% 90% at 100% 0%, rgba(var(--brand-rgb), .10), transparent 60%); color: var(--ink-800); border: 1px solid var(--brand-100); }
.bento-feature h3 { color: var(--ink-900); }
.bento-feature p { color: var(--slate-600); }
.bento-feature .link-arrow { color: var(--brand); }
.bento-feature .icon-tile { background: #fff; color: var(--brand); }
.bento-feature .chips span { background: #fff; border-color: var(--brand-100); color: var(--slate-600); }
a.bento-feature:hover { border-color: rgba(var(--brand-rgb), .35); box-shadow: var(--sh-md); }

/* Product mock-ups */
.media-panel { background: var(--bg-soft); background-image: radial-gradient(80% 80% at 90% 0%, rgba(var(--brand-rgb), .08), transparent 60%); border: 1px solid var(--line); box-shadow: none; color: var(--ink-800); }
.ui-card { background: #fff; border-color: var(--line); color: var(--ink-800); box-shadow: var(--sh-sm); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ui-title { color: var(--ink-900); }
.ui-sub, .ui-label { color: var(--slate-500); }
.ui-pill { background: var(--teal-50); color: var(--teal-700); }
.ui-pill.brand { background: var(--brand-50); color: var(--brand-700); }
.ui-pill.amber { background: #fff4e0; color: #8a5300; }
.ui-metric b { color: var(--ink-900); }
.ui-metric span { color: var(--slate-500); }
.ui-bar { background: var(--line); }
.ui-node { background: var(--bg-soft); border-color: var(--line); color: var(--ink-800); }
.ui-node svg { color: var(--brand); }
.ui-arrow { color: var(--slate-400); }

/* Architecture diagram */
.arch-col-label { color: var(--slate-500); }
.arch-item { background: #fff; border-color: var(--line); color: var(--ink-800); box-shadow: var(--sh-sm); }
.arch-item svg { color: var(--brand); }
.arch-left .arch-item::after { background: linear-gradient(90deg, rgba(var(--brand-rgb), 0), rgba(var(--brand-rgb), .45)); }
.arch-right .arch-item::before { background: linear-gradient(90deg, rgba(var(--brand-rgb), .45), rgba(var(--brand-rgb), 0)); }
.arch-core { background: #fff; border-color: var(--brand-100); box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .05), var(--sh-lg); }
.arch-core-head strong { color: var(--ink-900); }
.arch-core-head span { color: var(--slate-500); }
.arch-layer { background: var(--bg-soft); border-color: var(--line); color: var(--ink-800); }
.arch-layer small { color: var(--slate-500); }

/* Call-to-action band: CommLeap Red instead of near-black */
.cta-band { background: var(--brand); color: #fff; }
.cta-band::before { background: radial-gradient(70% 90% at 100% 0%, rgba(255,255,255,.18), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(110,0,28,.35), transparent 70%); }
.cta-band::after { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); }
.cta-band h2 { color: #fff; }
.cta-band p, .cta-points li { color: rgba(255,255,255,.94); }
.cta-points svg { color: #fff; }
.cta-band .btn-white { color: var(--brand-700); }
.cta-band .btn-white:hover { background: #fff; color: var(--ink-900); }
.cta-band .soon { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.4); }

/* Mega-menu feature card */
.mega-feature { background: var(--brand-50); background-image: radial-gradient(120% 90% at 100% 0%, rgba(var(--brand-rgb), .12), transparent 60%); color: var(--ink-800); border: 1px solid var(--brand-100); }
.mega-feature strong { color: var(--ink-900); }
.mega-feature p { color: var(--slate-600); }
.mega-feature .link-arrow { color: var(--brand); }

/* Insights covers */
.post-cover { background: var(--brand-50); background-image: radial-gradient(90% 120% at 100% 0%, rgba(var(--brand-rgb), .18), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(var(--brand-rgb), .08), transparent 70%); color: var(--brand); }
.post-cover .mono { color: var(--brand-700); }

/* "Coming soon" badges on the formerly dark surfaces use the standard light style */
.section-dark .soon, .card-dark .soon, .bento-feature .soon, .media-panel .soon, .mega-feature .soon { background: #fff4e0; color: #8a5300; border-color: rgba(245,165,36,.4); }

/* ---------- Self-hosted fonts (no third-party requests) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Contrast fixes (WCAG AA for small text) ---------- */
.link-arrow, .eyebrow, .text-link, .prose a, .kicker-num, .faq .faq-a a, .form-consent a,
.section-dark .eyebrow, .section-dark .link-arrow, .section-dark .text-link, .section-dark .prose a,
.bento-feature .link-arrow, .mega-feature .link-arrow, .card-dark a:not(.btn):not(.link-arrow),
.nav-link[aria-current="page"] { color: var(--brand-600); }
.link-arrow:hover, .text-link:hover, .prose a:hover, .section-dark .link-arrow:hover { color: var(--brand-700); }
.bubble .time, .ui-arrow { color: var(--slate-500); }
.ui-pill, .ui-card.solid .ui-pill, .table .yes, .section-dark .table .yes { color: #0a6b62; }
.footer-legal { color: var(--dark-muted); }
