/* ==========================================================================
   Jsonify v4 design system — "Cloudflare-style" rebrand, July 2026.
   Loaded by _layouts/v4.html. Legacy pages keep site.css until migrated.
   ========================================================================== */

/* Self-hosted fonts (same-origin + preloaded in the head) so they're ready at
   first paint — avoids the fallback→webfont swap flash of the old Google CDN. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/instrument-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-sans-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/spline-sans-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/spline-sans-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --bg: #FFFFFF;
  --text: #17151F;
  --text-soft: #4D4959;
  --muted: #6E6A7B;
  --border: #E8E7EE;
  --dots: #D9D7E4;
  --brand: #653DE9;
  /* Derived from --brand so a per-page accent override rethemes everything. */
  --brand-deep: color-mix(in srgb, var(--brand) 82%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
  --up: #0F8F69;
  --down: #C4320A;
  --signal: #B54708;
  --signal-wash: #FEF4E6;
  --sans: 'Instrument Sans', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, monospace;
  /* How far a canvas hero tucks up behind the sticky subnav (hides its
     rounded top so the panel reads as emerging from under the bar). */
  --subnav-tuck: 50px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(101, 61, 233, 0.18); }

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
img { display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ---------- buttons ---------- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pill-brand { background: var(--brand); color: #fff; }
.pill-brand:hover { background: var(--brand-deep); }
.pill-white { background: #fff; color: var(--text); }
.pill-white:hover { transform: translateY(-1px); }
.pill-ghost { border-color: var(--border); background: #fff; color: var(--text); }
.pill-ghost:hover { border-color: #C9C6D6; }
.pill-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.pill-outline-light:hover { border-color: #fff; }
.pill-deep { background: var(--brand-deep); color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.pill-deep:hover { background: color-mix(in srgb, var(--brand-deep) 88%, #000); }

.textlink { font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: var(--brand); }
.textlink:hover { text-decoration: underline; }

/* ---------- nav ---------- */
.v4-nav { background: var(--bg); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid transparent; }
.v4-nav.scrolled { border-bottom-color: var(--border); }

.v4-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.v4-nav-logo { display: flex; align-items: center; text-decoration: none; }
.v4-nav-logo svg { height: 32px; width: auto; }

.v4-nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }

.v4-nav-links > li > a,
.v4-nav-links .nav-group > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.v4-nav-links > li > a:hover,
.v4-nav-links .nav-group:hover > button { color: var(--text); background: #F5F4F8; }

.nav-group { position: relative; }

.nav-group .chev { width: 12px; height: 12px; transition: transform 0.15s ease; }
.nav-group:hover .chev { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(23, 21, 31, 0.05), 0 24px 60px -12px rgba(23, 21, 31, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 60;
}

/* invisible hover bridge between trigger and panel */
.nav-group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }

.nav-group:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.dd-products { width: 560px; padding: 20px; }
.dd-products .dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.dd-product { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.dd-product .dd-ico {
  width: 72px; height: 72px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); margin-bottom: 14px;
}
.dd-product .dd-ico svg { width: 36px; height: 36px; color: #fff; }
.dd-product .dd-name { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.dd-product .dd-desc { font-size: 0.8438rem; color: var(--muted); line-height: 1.45; margin-bottom: 10px; }
.dd-product .dd-for { font-size: 0.8125rem; color: #A5A1B2; font-style: italic; margin-bottom: 12px; margin-top: auto; }
.dd-product .dd-cta { font-size: 0.875rem; font-weight: 600; color: var(--brand); }
.dd-product:hover .dd-cta { text-decoration: underline; }

.dd-foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.875rem; color: var(--muted); text-decoration: none;
}
.dd-foot:hover { color: var(--brand); }
.dd-foot b { color: var(--text-soft); font-weight: 600; }
.dd-foot:hover b { color: var(--brand); }

.dd-solutions { width: 640px; }
.dd-solutions .dd-cols { display: flex; }
.dd-solutions .dd-left { flex: 1; padding: 14px; }
.dd-label {
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #A5A1B2; padding: 6px 12px 12px;
}
.dd-ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.dd-ind {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 12px; border-radius: 12px; text-decoration: none;
  transition: background 0.12s ease;
}
.dd-ind:hover { background: #F5F4F8; }
.dd-ind .ind-ico {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
  font-size: 0.9375rem;
}
.dd-ind .ind-name { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.dd-ind .ind-desc { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.dd-ind .ind-ico svg { width: 16px; height: 16px; }

.dd-ind-foot {
  margin-top: 8px; padding: 10px 12px 4px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.75rem; color: var(--muted);
}
.dd-ind-foot b { color: var(--text-soft); }
.dd-ind-foot .links { display: flex; gap: 12px; }
.dd-ind-foot a { font-weight: 600; color: var(--brand); text-decoration: none; }
.dd-ind-foot a:hover { text-decoration: underline; }

.dd-featured {
  width: 210px; border-left: 1px solid var(--border); padding: 16px;
  display: flex; flex-direction: column; background: #FAF9FC;
  border-radius: 0 16px 16px 0;
}
.dd-featured .feat-card {
  display: block; border-radius: 12px; overflow: hidden; margin-bottom: 12px;
  background: linear-gradient(135deg, #2B1D6E 0%, var(--brand) 100%);
  padding: 14px; text-decoration: none;
}
.dd-featured .feat-tag {
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6); display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
}
.dd-featured .feat-tag svg { width: 12px; height: 12px; }
.dd-featured .feat-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin-bottom: 10px; }
.dd-featured .feat-stat { background: rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 6px 2px; text-align: center; }
.dd-featured .feat-stat b { display: block; font-size: 0.875rem; color: #fff; }
.dd-featured .feat-stat span { font-size: 0.5625rem; color: rgba(255, 255, 255, 0.5); }
.dd-featured .feat-title { font-size: 0.75rem; font-weight: 600; color: #fff; }
.dd-featured .feat-card:hover .feat-title { text-decoration: underline; }
.dd-featured .feat-desc { font-size: 0.71875rem; color: var(--muted); line-height: 1.4; margin-bottom: 10px; }
.dd-featured .feat-link { font-size: 0.75rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.dd-featured .feat-link:hover { text-decoration: underline; }

.v4-nav-cta { display: flex; align-items: center; gap: 0.625rem; }

.v4-nav-burger { display: none; padding: 8px; color: var(--text-soft); }

@media (max-width: 940px) {
  .v4-nav-links, .v4-nav-cta { display: none; }
  .v4-nav-burger { display: block; }
}

/* ---------- mobile menu ---------- */
.v4-mobile { position: fixed; inset: 0; z-index: 2000; visibility: hidden; }
.v4-mobile.open { visibility: visible; }
.v4-mobile-backdrop { position: absolute; inset: 0; background: rgba(23, 21, 31, 0.4); opacity: 0; transition: opacity 0.2s ease; }
.v4-mobile.open .v4-mobile-backdrop { opacity: 1; }
.v4-mobile-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
  background: #fff; padding: 20px 20px 32px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.25s ease;
}
.v4-mobile.open .v4-mobile-panel { transform: none; }
.v4-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.v4-mobile-head svg { height: 28px; width: auto; }
.v4-mobile-label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #A5A1B2; padding: 0 12px; margin: 18px 0 6px;
}
.v4-mobile-panel nav a {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 500; color: var(--text-soft); text-decoration: none;
}
.v4-mobile-panel nav a:hover { background: #F5F4F8; color: var(--text); }
.v4-mobile-ctas { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- hero canvas ---------- */
.hero-wrap { padding: 8px 16px 0; margin-bottom: 0; }

.hero {
  background: var(--brand);
  border-radius: 20px;
  color: #fff;
  text-align: center;
  padding: clamp(44px, 5.5vw, 64px) 24px 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(900px 420px at 50% -10%, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.hero::after, .final::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.11) 1.2px, transparent 1.6px),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  pointer-events: none;
  animation: dots-breathe 5.5s ease-in-out infinite;
}

@keyframes dots-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.hero > * { position: relative; z-index: 1; }

/* Purple heroes use a canvas dot field (magnetic to the cursor) instead of
   the CSS dot texture; other dotted canvases (final, deploy) keep CSS dots. */
.hero::after, .canvas-hero::after, .final::after { content: none; }
.hero .hero-dots, .canvas-hero .hero-dots, .final .hero-dots { position: absolute; inset: 0; z-index: 0; border-radius: 20px; pointer-events: none; }

.announce {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.35em 1em;
  text-decoration: none;
  margin-bottom: 2.25rem;
}
.announce::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); flex: none; }
.announce u { text-underline-offset: 3px; }
.announce:hover { border-color: rgba(255, 255, 255, 0.7); }

.hero h1 {
  font-size: clamp(2.125rem, 5.4vw, 3.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 950px;
  margin: 0 auto;
  text-wrap: balance;
}

/* "continuously" — a light that flows through the word, endlessly. */
.h1-flow {
  background: linear-gradient(100deg, #fff 18%, #cdb8ff 34%, #fff 50%, #cdb8ff 66%, #fff 82%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: h1-flow 4.5s linear infinite;
}
@keyframes h1-flow { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 1.5rem auto 0;
}

.hero-ctas { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2.25rem; flex-wrap: wrap; }

/* ---------- hero term tooltips (mini product embeds on hover) ---------- */
.hero-term {
  position: relative;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
  cursor: default;
  outline: none;
}
.hero-term:hover, .hero-term:focus-visible { border-bottom-color: #fff; }
.hero-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: 244px;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 50;
}
.hero-term:hover .hero-tip, .hero-term:focus-visible .hero-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.htip-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 44px -14px rgba(23, 21, 31, 0.5);
  padding: 0.625rem 0.7rem;
  text-align: left;
  position: relative;
}
.htip-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}
.htip-head {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 0.5rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.htip-live { width: 6px; height: 6px; border-radius: 50%; background: var(--up); flex: none; }

.htip-table { display: flex; flex-direction: column; gap: 0.3rem; }
.htip-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.6875rem; font-variant-numeric: tabular-nums; }
.htip-row .hr-n { flex: 1; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htip-row b { color: var(--text); font-weight: 600; }
.htip-row em { font-style: normal; font-weight: 600; width: 3.2em; text-align: right; }
.htip-row em.up { color: var(--up); }
.htip-row em.dn { color: var(--down); }

.htip-bars { display: flex; flex-direction: column; gap: 0.45rem; }
.htip-bar { display: flex; align-items: center; gap: 0.45rem; font-size: 0.6875rem; }
.htip-bar .hb-n { width: 4.6em; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htip-bar .hb { flex: 1; height: 6px; border-radius: 3px; background: var(--brand-soft); overflow: hidden; }
.htip-bar .hb i { display: block; height: 100%; border-radius: 3px; background: var(--brand); }
.htip-bar b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; width: 2.4em; text-align: right; }

.htip-alerts { display: flex; flex-direction: column; gap: 0.35rem; }
.htip-al { display: flex; align-items: center; gap: 0.4rem; font-size: 0.6875rem; color: var(--text-soft); }
.htip-al .hal { flex: none; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.04em; border-radius: 4px; padding: 0.1em 0.4em; }
.hal.al-promo { background: var(--signal-wash); color: var(--signal); }
.hal.al-new { background: #E4F3ED; color: var(--up); }
.hal.al-p1 { background: #FBEDE8; color: var(--down); }

/* ---------- hero stage: animated workspace ---------- */
.hero-stage {
  position: relative;
  max-width: 1010px;
  margin: 3.25rem auto 0;
  padding-bottom: clamp(48px, 6vw, 72px);
}

.f-sticker {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2.5px solid;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(23, 21, 31, 0.18);
  z-index: 3;
  animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-7px) rotate(var(--rot, 0deg)); }
}

.mockup {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(23, 21, 31, 0.12), 0 32px 80px -16px rgba(23, 21, 31, 0.38);
  overflow: hidden;
  text-align: left;
  z-index: 2;
  color: var(--text);
}

/* The hero mockup is decorative, not a real UI — one click target that opens
   the wizard. Its inner "controls" and the floating bits don't grab clicks. */
.mock-cover { position: absolute; inset: 0; z-index: 20; cursor: pointer; border-radius: inherit; }
.hero-stage .f-sticker, .hero-stage .agent-cursor { pointer-events: none; }
.hero-stage .mockup .mock-body { pointer-events: none; }

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #F7F6FA;
}

.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock-dots i:nth-child(1) { background: #FC5753; }
.mock-dots i:nth-child(2) { background: #FDBC40; }
.mock-dots i:nth-child(3) { background: #33C748; }

.mock-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25em 0.75em;
}

.mock-share { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: var(--text-soft); }

.mock-body { display: grid; grid-template-columns: 208px 1fr; min-height: 480px; }

.mock-side {
  border-right: 1px solid var(--border);
  background: #F7F6FA;
  padding: 0.875rem 0.625rem;
  display: flex;
  flex-direction: column;
  font-size: 0.8125rem;
}

.mock-ws { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; padding: 0.375rem 0.5rem; }

.mock-ws .ws-icon {
  width: 22px; height: 22px; border-radius: 5px;
  background: var(--brand); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.side-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.3125rem 0.5rem; border-radius: 5px;
  color: var(--text-soft); font-weight: 500;
}

.side-item.on { background: #EDEBF3; color: var(--text); }
.side-item .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-live { background: #33C748; }
.dot-idle { background: #C9C6D6; }

.side-badge {
  margin-left: auto; min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--brand); color: #fff;
  font-size: 0.6875rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
  transition: transform 0.2s ease;
}

.side-badge.pop { transform: scale(1.35); }

.side-label {
  font-size: 0.6563rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0.875rem 0 0.25rem 0.5rem;
}

.jason-bar {
  margin-top: auto;
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 0.5rem 0.625rem;
  font-size: 0.75rem; color: var(--muted);
  box-shadow: 0 1px 3px rgba(23, 21, 31, 0.06);
}

.jason-face {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, #8B6EFF, #653DE9);
  color: #fff; font-size: 0.6875rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}

#jason-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.jason-caret { display: inline-block; width: 5px; height: 11px; background: var(--brand); animation: caret 1s steps(1) infinite; flex: none; }
@keyframes caret { 50% { opacity: 0; } }

.mock-main { padding: 1.125rem 1.25rem; display: flex; flex-direction: column; gap: 0.875rem; min-width: 0; }

.mock-header { display: flex; align-items: baseline; gap: 1rem; }
.mock-header h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }

.mock-tabs { display: flex; gap: 0.875rem; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.mock-tabs span.on { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); padding-bottom: 2px; }

.stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }

.stat-card { border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 0.875rem; background: #fff; }
.stat-card .sc-label { font-size: 0.6875rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-card .sc-num { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color 0.3s ease; }
.stat-card .sc-num.bump { color: var(--brand); }
.stat-card .sc-sub { font-size: 0.6875rem; color: var(--muted); }
.stat-card .sc-sub .up-t { color: var(--up); font-weight: 600; }
.stat-card svg { width: 100%; height: 26px; margin-top: 2px; }
.stat-card polyline { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.mock-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0.75rem; flex: 1; min-height: 0; }

.mock-card {
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}

.mc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.5625rem 0.875rem; border-bottom: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 600;
}

.mc-head .live-chip { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.6563rem; font-weight: 600; color: var(--up); }
.mc-head .live-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--up); }

.mock-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.mock-table td { padding: 0.5rem 0.875rem; border-bottom: 1px solid #F1F0F5; white-space: nowrap; }
.mock-table tr:last-child td { border-bottom: none; }
.mock-table .t-name { font-weight: 600; }
.mock-table .t-src { color: var(--muted); font-size: 0.6875rem; }
.source-ref { display: inline-flex; align-items: center; gap: 0.45em; min-width: 0; vertical-align: middle; }
.source-favicon { width: 14px; height: 14px; border-radius: 3px; object-fit: contain; flex: none; }
.mock-table .t-price { text-align: right; font-weight: 600; font-family: var(--mono); font-size: 0.71875rem; }
.mock-table .t-delta { text-align: right; font-family: var(--mono); font-size: 0.6875rem; }
.mock-table .d-up { color: var(--up); }
.mock-table .d-down { color: var(--down); }
.mock-table .d-flat { color: var(--muted); }
.mock-table tr.flash td { background: var(--signal-wash); }
.mock-table .promo { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.06em; color: var(--signal); background: var(--signal-wash); border-radius: 3px; padding: 0.1em 0.4em; margin-left: 0.5em; }
.mock-table .newt { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); background: var(--brand-soft); border-radius: 3px; padding: 0.1em 0.4em; margin-left: 0.5em; }

.feed { list-style: none; padding: 0.375rem 0; flex: 1; overflow: hidden; }

.feed li { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.4375rem 0.875rem; font-size: 0.71875rem; color: var(--text-soft); line-height: 1.45; }
.feed li.enter { animation: feed-in 0.45s ease both; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.feed .f-ico { width: 20px; height: 20px; border-radius: 5px; background: #F7F6FA; display: inline-flex; align-items: center; justify-content: center; font-size: 0.6875rem; flex: none; }
.feed li:nth-child(4n+1) .f-ico { background: #FFF6DB; }
.feed li:nth-child(4n+2) .f-ico { background: var(--brand-soft); }
.feed li:nth-child(4n+3) .f-ico { background: #E4F3ED; }
.feed li:nth-child(4n+4) .f-ico { background: #E7F0FC; }
.feed b { color: var(--text); font-weight: 600; }
.feed .f-time { color: var(--muted); font-size: 0.625rem; margin-top: 1px; }

.agent-cursor {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  transition: left 1s cubic-bezier(0.45, 0.05, 0.35, 1), top 1s cubic-bezier(0.45, 0.05, 0.35, 1);
  filter: drop-shadow(0 2px 6px rgba(101, 61, 233, 0.35));
}

.agent-cursor svg { display: block; }

.agent-cursor .cur-label {
  position: absolute; left: 14px; top: 16px;
  background: var(--brand); color: #fff;
  font-size: 0.625rem; font-weight: 600;
  border-radius: 999px; padding: 0.15em 0.6em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-grid { grid-template-columns: 1fr; }
  .f-sticker { display: none; }
  .agent-cursor { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-card:nth-child(3) { display: none; }
}

/* ---------- blueprint frame ---------- */
.frame { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

.rails {
  position: relative;
  --rail: 96px;
  background-image:
    linear-gradient(var(--bg), var(--bg)),
    radial-gradient(var(--dots) 1.2px, transparent 1.6px);
  background-position: var(--rail) 0, 0 0;
  background-repeat: no-repeat, repeat;
  background-size: calc(100% - var(--rail) * 2) 100%, 14px 14px;
}

.rail-inner {
  max-width: calc(100% - var(--rail) * 2);
  margin: 0 auto;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg);
  padding: 0 clamp(20px, 4vw, 56px);
}

@media (max-width: 900px) { .rails { --rail: 20px; } }

.cross { position: relative; }
.cross::before, .cross::after {
  content: "+";
  position: absolute;
  top: -0.72em;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: #B6B2C4;
  background: var(--bg);
  line-height: 1;
  padding: 2px;
}
.cross::before { left: -8px; }
.cross::after { right: -8px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--border); text-align: center; }
.section:first-child { border-top: none; }
/* Last railed section sits close to the final canvas below the frame. */
.rail-inner > .section:last-child { padding-bottom: 32px; }

.section h2 {
  font-size: clamp(1.875rem, 4.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

/* Accent highlight for a heading's key phrase; uses the page accent. */
.hl { color: var(--brand); }

.section .sub { margin: 1rem auto 0; color: var(--text-soft); font-size: 1.0313rem; max-width: 560px; }
.section .aside-note { font-size: 0.9375rem; color: var(--muted); margin-top: 0.5rem; }

@media (max-width: 860px) { .section { padding: 64px 0; } }

/* ---------- globe ---------- */
.globe-wrap {
  margin: 2.75rem auto 0;
  width: min(460px, 86vw);
  height: min(460px, 86vw);
  position: relative;
}

.globe-wrap canvas { width: 100%; height: 100%; display: block; }

/* Popup the globe shows when it selects a country. */
.globe-pop {
  position: absolute; z-index: 3; pointer-events: none;
  display: flex; align-items: center; gap: 0.55rem; white-space: nowrap;
  padding: 0.5rem 0.7rem;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 32px -10px rgba(23, 21, 31, 0.28);
  text-decoration: none; color: inherit;
  transform: translate(-50%, calc(-100% - 14px)) scale(0.9);
  opacity: 0; transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.15s ease, box-shadow 0.15s ease;
}
.globe-pop.on { opacity: 1; pointer-events: auto; cursor: pointer; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
.globe-pop.on:hover { border-color: var(--brand); box-shadow: 0 16px 42px -8px rgba(101, 61, 233, 0.5); }
.globe-pop.on:hover .gp-text b { color: var(--brand); }
.globe-pop::after {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  width: 11px; height: 11px; background: #fff;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.globe-pop .gp-flag { width: 26px; height: 18px; flex: none; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(23, 21, 31, 0.08); }
.globe-pop .gp-flag svg { display: block; width: 100%; height: 100%; }
.globe-pop .gp-text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.globe-pop .gp-text b { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.globe-pop .gp-text span { font-size: 0.6875rem; color: var(--muted); }

/* ---------- coverage chips ---------- */
.coverage {
  margin: 3rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 860px;
}

.cov-chip {
  font-family: var(--mono);
  font-size: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35em 0.9em;
  color: var(--text-soft);
  background: #fff;
}

.cov-chip b { color: var(--text); font-weight: 600; }

/* ---------- markets grid (flag-led, relatable) ---------- */
.markets-label {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.8125rem; font-weight: 600; color: var(--text-soft);
  margin-top: 2.5rem;
}
.markets-label .ml-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--up); flex: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 55%, transparent);
  animation: ml-pulse 2.4s ease-out infinite;
}
@keyframes ml-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(0, 0, 0, 0); }
}
.markets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.625rem;
  max-width: 760px;
  margin: 0.875rem auto 0;
}
.market {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-align: left;
}
.mk-flag {
  width: 27px;
  height: 18px;
  flex: none;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(23, 21, 31, 0.08);
}
.mk-flag svg { display: block; width: 100%; height: 100%; }
.mk-text { min-width: 0; }
.mk-name { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text); line-height: 1.25; }
.mk-cov { display: block; font-size: 0.6875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* "Your market" strip — the punchline: the grid isn't a ceiling. */
.market-strip {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  max-width: 760px; margin: 2.5rem auto 0;
  padding: 1.125rem 1.5rem;
  border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--border));
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 5%, #fff);
}
.market-strip .ms-icon {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand);
}
.market-strip .ms-icon svg { width: 21px; height: 21px; }
.market-strip .ms-title { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--brand); }
.market-strip .ms-sub { display: block; font-size: 0.9063rem; color: var(--text-soft); margin-top: 0.15rem; }
/* ---------- feature grid ---------- */
.fgrid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  text-align: left;
}

.fcard {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.fcard h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.fcard > p { font-size: 0.9375rem; color: var(--text-soft); max-width: 52ch; }

.fcard-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.fcard-brand h3 { font-size: 1.1875rem; }
.fcard-brand > p { color: rgba(255, 255, 255, 0.88); }
.fcard-brand .glyph { font-size: 1.5rem; }
.fcard-brand .glyph svg { display: block; color: #fff; }

.versions { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-size: 0.8125rem; }

.vrow {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.6875rem 1rem; border-bottom: 1px solid #F1F0F5; background: #fff;
}
.vrow:last-child { border-bottom: none; }
.vrow .vname { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; color: var(--brand); }
.vrow .vtime { color: var(--muted); font-size: 0.75rem; flex: 1; }

.vstatus { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.75rem; font-weight: 600; }
.vstatus.done { color: var(--up); }
.vstatus.busy { color: var(--signal); }
.vstatus .spin { display: inline-block; animation: vspin 1s linear infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }

.term {
  background: #17151F;
  border-radius: 10px;
  padding: 1rem 1.125rem;
  font-family: var(--mono);
  font-size: 0.71875rem;
  line-height: 1.9;
  color: #C9C5D8;
  overflow-x: auto;
  white-space: nowrap;
}

.term .t-agent { color: #A78BFF; font-weight: 500; }
.term .t-ok { color: #3DCF9B; }
.term .t-dim { color: #6E6A7B; }
.term .t-head { color: #fff; font-weight: 500; }
.term .t-live { color: #3DCF9B; }

.term-caret { display: inline-block; width: 6px; height: 11px; background: #A78BFF; vertical-align: -1px; animation: caret 1s steps(1) infinite; }

.stickers { display: flex; flex-direction: column; gap: 0.625rem; }

.alert-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(23, 21, 31, 0.06);
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.alert-card.enter { animation: al-in 0.4s ease both; }
@keyframes al-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.al-tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.2em 0.5em;
  flex: none;
  margin-top: 1px;
}

.al-promo { background: var(--signal-wash); color: var(--signal); }
.al-new { background: var(--brand-soft); color: var(--brand); }
.al-drop { background: #FDEBE7; color: var(--down); }

.alert-card .al-body b { font-weight: 600; }
.alert-card .al-sub { color: var(--muted); font-size: 0.71875rem; }

@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.quality-bar {
  margin: 3rem auto 0;
  max-width: 760px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem 1rem;
}

.qb-head { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.875rem; }
.qb-head .yr { color: var(--brand); font-weight: 600; }
.qb-icons { display: flex; justify-content: space-between; gap: 0.5rem; }
.qb-ico { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; font-size: 0.8125rem; font-weight: 500; color: var(--text-soft); flex: 1; }
.qb-ico i { font-style: normal; font-size: 1.125rem; color: var(--brand); }
.qb-ico i svg { width: 20px; height: 20px; display: block; }
.qb-note { text-align: center; font-size: 0.78125rem; color: var(--muted); margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 0.75rem; }

.tiers {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: left;
  border-top: 1px solid var(--border);
}

.tier { padding: 1.75rem 1.5rem; border-right: 1px solid var(--border); }
.tier:last-child { border-right: none; }
.tier .t-name { font-weight: 600; font-size: 1rem; }
.tier .t-for { font-size: 0.8438rem; color: var(--muted); }
.tier .t-price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 0.875rem; }
.tier .t-price small { font-size: 0.8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
/* Tiers with no numeric anchor: the qualifier reads as a label, not a price. */
.tier .t-price-text { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-soft); line-height: 1.9; }
.tier .t-note { font-size: 0.8125rem; color: var(--text-soft); margin-top: 0.5rem; }

@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier { border-bottom: 1px solid var(--border); }
}

/* ---------- example deployments (per-vertical scale proof) ---------- */
.deploy-eyebrow { font-family: var(--mono); font-size: 0.71875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.deploy-vcard { text-align: left; display: flex; flex-direction: column; }
.deploy-vcard .dv-eyebrow { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.5rem; }
.deploy-vcard h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.deploy-vcard .dv-stats { display: flex; gap: 1.25rem; }
.deploy-vcard .dv-stats > div { flex: 1; min-width: 0; }
.deploy-vcard .dv-stats b { display: block; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.deploy-vcard .dv-stats span { font-size: 0.75rem; color: var(--muted); }
.deploy-vcard .dv-link { margin-top: 1.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--brand); opacity: 0; transition: opacity 0.15s ease; }
a.deploy-vcard:hover .dv-link { opacity: 1; }

/* ---------- proof ---------- */
.quote-card {
  margin: 3rem auto 0;
  max-width: 780px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem 2.5rem;
  text-align: left;
}

.quote-card blockquote { font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.5; }
.quote-attrib { display: flex; align-items: center; gap: 0.875rem; margin-top: 1.5rem; }
.quote-attrib img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote-attrib .name { font-weight: 600; font-size: 0.9375rem; }
.quote-attrib .role { font-size: 0.8438rem; color: var(--muted); }

.logo-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2rem 2.75rem; margin-top: 3rem; }
.logo-row img { height: 22px; width: auto; filter: grayscale(1); opacity: 0.55; }
.thousands { font-size: 0.9375rem; color: var(--muted); margin-top: 2rem; }

/* ---------- final canvas ---------- */
.final-wrap { padding: 0 16px 16px; }

.final {
  background: var(--brand);
  border-radius: 20px;
  color: #fff;
  text-align: center;
  padding: clamp(64px, 9vw, 104px) 24px 150px;
  position: relative;
  overflow: hidden;
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 50% 115%, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.final > * { position: relative; z-index: 1; }

.final-wordmark {
  position: absolute;
  left: 50%;
  bottom: -0.32em;
  transform: translate(-50%, 48px);
  font-weight: 700;
  font-size: clamp(7rem, 19vw, 17rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transition: color 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0 !important;
}

.final-wordmark.in-view {
  color: rgba(255, 255, 255, 0.09);
  transform: translate(-50%, 0);
}

.final h2 { font-size: clamp(1.875rem, 4.2vw, 3rem); font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.final p { margin: 1rem auto 0; color: rgba(255, 255, 255, 0.88); max-width: 520px; font-size: 1.0313rem; }
.final-ctas { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
.final-trust { margin-top: 2.5rem; font-family: var(--mono); font-size: 0.71875rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }

/* ---------- footer ---------- */
.v4-footer { background: #fff; }

.v4-footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}

.v4-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.v4-footer-brand > a > svg { height: 42px; width: auto; margin-bottom: 1.25rem; }
.v4-footer-brand .tagline { font-size: 0.875rem; color: var(--muted); line-height: 1.6; max-width: 30ch; }
.v4-footer-brand .llm-note { font-size: 0.75rem; color: #A5A1B2; line-height: 1.6; max-width: 32ch; margin-top: 0.75rem; }
.v4-footer-brand .llm-note a { color: var(--brand); text-decoration: none; }
.v4-footer-brand .llm-note a:hover { text-decoration: underline; }
.v4-footer-brand .badge-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.v4-footer-brand .badge-row img { height: 20px; width: auto; opacity: 0.7; }
.v4-footer-brand .badge-row a:hover img { opacity: 1; }

.v4-social { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.v4-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: #F5F4F8; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.v4-social a:hover { background: var(--brand); color: #fff; }

.v4-footer-col .col-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A5A1B2;
  margin-bottom: 1.125rem;
}

.v4-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.v4-footer-col a, .v4-footer-col button {
  font-size: 0.875rem;
  color: var(--text-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0;
  text-align: left;
}
.v4-footer-col a:hover, .v4-footer-col button:hover { color: var(--brand); }

.v4-footer-strip {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.v4-footer-strip .legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-size: 0.75rem; color: #A5A1B2; }
.v4-footer-strip .trust { display: flex; align-items: center; gap: 1rem; }
.v4-footer-strip .status {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.75rem; color: #A5A1B2; text-decoration: none;
}
.v4-footer-strip .status:hover { color: var(--brand); }
.v4-footer-strip .status i { width: 6px; height: 6px; border-radius: 50%; background: #33C748; display: inline-block; }

.trust-badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  border: 1px solid var(--border); border-radius: 6px;
  background: #FAF9FC; padding: 0.2em 0.6em;
  font-size: 0.75rem; font-weight: 500; color: var(--muted);
}

@media (max-width: 940px) {
  .v4-footer-grid { grid-template-columns: 1fr 1fr; }
  .v4-footer-brand { grid-column: span 2; }
}

/* ---------- login modal ---------- */
.v4-modal { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; }
.v4-modal.open { display: flex; }
.v4-modal-backdrop { position: absolute; inset: 0; background: rgba(23, 21, 31, 0.45); }
.v4-modal-panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px -12px rgba(23, 21, 31, 0.35);
  width: 100%;
  max-width: 430px;
  margin: 0 20px;
  padding: 24px;
}
.v4-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.v4-modal-head h2 { font-size: 1.0625rem; font-weight: 700; }
.v4-modal-head button { color: var(--muted); padding: 6px; border-radius: 8px; }
.v4-modal-head button:hover { background: #F5F4F8; color: var(--text); }
.v4-modal-sub { font-size: 0.875rem; color: var(--muted); margin-bottom: 16px; }

.login-dest {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 8px;
}
.login-dest:hover { border-color: #C9C6D6; box-shadow: 0 4px 14px rgba(23, 21, 31, 0.06); }
.login-dest .ld-left { display: flex; align-items: center; gap: 12px; }
.login-dest .ld-ico {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.125rem;
}
.login-dest .ld-ico svg { width: 20px; height: 20px; }
.login-dest .ld-name, .login-dest .ld-desc { display: block; }
.login-dest .ld-name { display: flex; }
.login-dest .ld-name { font-size: 0.875rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.login-dest .ld-desc { font-size: 0.75rem; color: var(--muted); }
.login-dest .ld-arrow { color: #A5A1B2; font-size: 1.125rem; }
.login-dest:hover .ld-arrow { color: var(--brand); }
.ld-beta, .ld-tag {
  font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 4px; padding: 0.15em 0.5em;
}
.ld-beta { background: var(--signal-wash); color: var(--signal); }
.ld-new { background: #E4F3ED; color: var(--up); }
.ld-legacy { background: #F1F0F5; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vstatus .spin { animation: none; }
  .term-caret, .jason-caret { animation: none; }
  .markets-label .ml-dot { animation: none; }
  .h1-flow { animation: none; -webkit-text-fill-color: #fff; color: #fff; }
  .alert-card.enter, .feed li.enter { animation: none; }
  .f-sticker { animation: none; }
  .hero::after, .final::after { animation: none; opacity: 0.8; }
  .agent-cursor { display: none; }
  .final-wordmark { color: rgba(255, 255, 255, 0.09); transform: translate(-50%, 0); }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ==========================================================================
   Content-page components (docs, legal, products, solutions, usecases…)
   ========================================================================== */

.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  max-width: 1280px; margin: 0 auto; padding: 12px 24px;
  font-size: 0.75rem; color: #A5A1B2;
}
.breadcrumb a { text-decoration: none; color: #A5A1B2; }
.breadcrumb a:hover { color: var(--text-soft); }
.breadcrumb .here { color: var(--text-soft); }

.page-hero { padding: 72px 24px 56px; max-width: 1280px; margin: 0 auto; }
.page-hero.center { text-align: center; }
.page-hero .eyebrow-sm {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; max-width: 820px;
}
.page-hero.center h1 { margin-left: auto; margin-right: auto; }
.page-hero .lede { font-size: 1.125rem; color: var(--text-soft); max-width: 620px; margin-top: 1.25rem; }
.page-hero.center .lede { margin-left: auto; margin-right: auto; }
.page-hero .hero-actions { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
.page-hero.center .hero-actions { justify-content: center; }

.content-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.content-wide { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.section-left { text-align: left; }
.section-left .sub { margin-left: 0; }

.band { padding: 72px 0; }
.band.alt { background: #FAF9FC; }

/* prose — long-form typography for docs/legal/markdown content */
.prose { font-size: 1rem; line-height: 1.75; color: var(--text-soft); }
.prose h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); margin: 2.25em 0 0.75em; }
.prose h3 { font-size: 1.1875rem; font-weight: 600; color: var(--text); margin: 1.75em 0 0.5em; }
.prose h4 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 1.5em 0 0.5em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--brand); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--brand); padding-left: 1.25em; color: var(--muted); margin: 1.5em 0; }
.prose code { font-family: var(--mono); font-size: 0.875em; background: #F5F4F8; border-radius: 4px; padding: 0.15em 0.4em; }
.prose pre { background: #17151F; color: #C9C5D8; border-radius: 10px; padding: 1em 1.25em; overflow-x: auto; margin: 1.5em 0; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9375rem; }
.prose th { text-align: left; font-weight: 600; color: var(--text); border-bottom: 2px solid var(--border); padding: 0.5em 0.75em; }
.prose td { border-bottom: 1px solid var(--border); padding: 0.5em 0.75em; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }
.prose img { border-radius: 12px; border: 1px solid var(--border); }

/* generic cards */
.v4-card {
  border: 1px solid var(--border); border-radius: 14px; background: #fff;
  padding: 1.5rem; text-align: left; min-width: 0;
}
a.v4-card { display: block; text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
a.v4-card:hover { border-color: #C9C6D6; box-shadow: 0 6px 18px rgba(23, 21, 31, 0.07); }
.v4-card h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.v4-card .card-desc { font-size: 0.9063rem; color: var(--text-soft); margin-top: 0.375rem; }
.v4-card .card-meta { font-size: 0.8125rem; color: var(--muted); margin-top: 0.375rem; }

.v4-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.v4-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
@media (max-width: 860px) { .v4-grid-2, .v4-grid-3 { grid-template-columns: 1fr; } }

.tag-chip {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.8125rem; font-weight: 500;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--text-soft);
  padding: 0.3em 0.9em; text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.tag-chip:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.tag-chip.on { background: var(--text); border-color: var(--text); color: #fff; }

/* inputs + wizard band */
.v4-input {
  width: 100%; font: inherit; font-size: 0.9375rem;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.7rem 1.25rem; background: #fff; color: var(--text);
  outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.v4-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(101, 61, 233, 0.15); }
.v4-input::placeholder { color: #A5A1B2; }

.wizard-band { padding: 80px 24px; background: #FAF9FC; text-align: center; }
.wizard-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.wizard-band .wb-sub { color: var(--muted); font-size: 0.9688rem; margin: 0.625rem auto 2rem; max-width: 480px; }
.wizard-form { display: flex; gap: 0.5rem; max-width: 620px; margin: 0 auto 1rem; }
.wizard-form .v4-input { flex: 1; }
@media (max-width: 640px) { .wizard-form { flex-direction: column; } }
.wizard-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }

/* stat strip for content pages */
.stat-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 4rem; padding: 2rem 0; }
.stat-strip .st b { display: block; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--brand); }
.stat-strip .st span { font-size: 0.875rem; color: var(--muted); }

/* Canonical stats inside a purple canvas panel, like the hero. */
.stats-canvas {
  background: var(--brand); color: #fff; border-radius: 20px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 24px;
  position: relative; overflow: hidden;
}
.stats-canvas > * { position: relative; z-index: 1; }
.stats-canvas .stat-strip { padding: 0; }
.stats-canvas .stat-strip .st b { color: #fff; }
.stats-canvas .stat-strip .st span { color: rgba(255, 255, 255, 0.72); }

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.125rem 0; font-weight: 600; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--muted); font-size: 1.125rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 0 1.25rem; color: var(--text-soft); font-size: 0.9688rem; line-height: 1.65; }

/* ==========================================================================
   Canvas hero — the rounded purple hero, reusable on content pages.
   Markup: .canvas-hero-wrap > .canvas-hero(.left) > [.eyebrow-sm, h1, .lede, .hero-actions]
   Buttons inside: .pill-white (primary) / .pill-outline-light (secondary).
   ========================================================================== */

.canvas-hero-wrap { padding: 8px 16px 0; }

.canvas-hero {
  background: var(--brand);
  border-radius: 20px;
  color: #fff;
  text-align: center;
  padding: clamp(56px, 8vw, 88px) 24px;
  position: relative;
  overflow: hidden;
}

.canvas-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(900px 420px at 50% -10%, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.canvas-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.11) 1.2px, transparent 1.6px),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  pointer-events: none;
  animation: dots-breathe 5.5s ease-in-out infinite;
}

.canvas-hero > * { position: relative; z-index: 1; }

.canvas-hero .eyebrow-sm { color: rgba(255, 255, 255, 0.75); margin-bottom: 1rem; }

.canvas-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  max-width: 860px;
  margin: 0 auto;
}

.canvas-hero .lede {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 1.25rem auto 0;
}

.canvas-hero .hero-actions { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }

.canvas-hero .announce { margin-bottom: 2rem; }

.canvas-hero.left { text-align: left; }
.canvas-hero.left h1, .canvas-hero.left .lede { margin-left: 0; margin-right: 0; }
.canvas-hero.left .hero-actions { justify-content: flex-start; }

@media (prefers-reduced-motion: reduce) {
  .canvas-hero::after { animation: none; opacity: 0.8; }
}

/* ==========================================================================
   Canvas stage — a demo embed/mockup slot inside .canvas-hero, like the
   homepage's hero workspace. Markup: place inside .canvas-hero after actions:
   <div class="canvas-stage"> …mockup/embed card… </div>
   ========================================================================== */

.canvas-stage {
  max-width: 1010px;
  margin: 3rem auto 0;
  text-align: left;
}

.canvas-stage .mockup,
.canvas-stage .embed-card,
.canvas-stage > div {
  box-shadow: 0 2px 6px rgba(23, 21, 31, 0.12), 0 32px 80px -16px rgba(23, 21, 31, 0.38);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

/* ==========================================================================
   Subnav — distinct secondary navigation band under the main nav
   (e.g. product switcher). Sticky below the 68px nav.
   ========================================================================== */

.subnav {
  position: sticky;
  top: 68px;
  z-index: 900;
  background: #FAF9FC;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.subnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 52px;
}

.subnav .subnav-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A5A1B2;
  margin-right: 0.25rem;
}

.subnav a.subnav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.subnav a.subnav-item:hover { background: #fff; border-color: var(--border); color: var(--text); }
.subnav a.subnav-item.on { background: var(--brand); color: #fff; }
.subnav a.subnav-item svg { width: 14px; height: 14px; flex: none; opacity: 0.75; }
.subnav a.subnav-item.on svg { opacity: 1; }
.subnav a.subnav-item.solution-item svg { color: var(--subnav-icon); opacity: 1; }
.subnav a.subnav-item.solution-item.on svg { color: #fff; }

.subnav .subnav-note { margin-left: auto; font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
.subnav .subnav-note b { color: var(--text-soft); font-weight: 600; }

@media (max-width: 700px) { .subnav .subnav-note { display: none; } }

/* Below a subnav, the canvas hero tucks up behind the sticky bar: its rounded
   top slides under the subnav, so the panel reads as emerging from it. The
   subnav is opaque and z-indexed above, so it covers the overlap cleanly.
   Pull whichever element is the subnav's direct sibling — the wrap itself on
   product pages, the hero section on solution pages (its overflow:hidden would
   clip the inner wrap) — then zero the wrap's top padding so the panel meets
   the pulled-up edge. Side/bottom gutters are untouched. */
.subnav + .canvas-hero-wrap,
.subnav + .ind-hero { margin-top: calc(-1 * var(--subnav-tuck)); }
.subnav + .canvas-hero-wrap,
.subnav + .ind-hero > .canvas-hero-wrap { padding-top: 0; }

/* ==========================================================================
   Agent-console widget pieces — for hero mockups that show an agent working
   (typewriter check bar, price scrambles, sparklines, alert toast).
   Compose inside .mockup; table uses .mock-table.
   ========================================================================== */

.mock-agentbar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5625rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.71875rem;
  color: var(--text-soft);
  background: #F7F6FA;
  white-space: nowrap;
  overflow: hidden;
}

.mock-agentbar .agent-glyph { color: var(--brand); flex: none; }
.mock-agentbar .agent-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mock-agentbar .agent-status { color: var(--muted); }
.mock-agentbar .agent-status .ok { color: var(--up); font-weight: 600; }

.mock-caret {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: var(--brand);
  vertical-align: -2px;
  animation: caret 1s steps(1) infinite;
  flex: none;
}

.scrambling { color: var(--muted); }

.mock-table .t-spark { text-align: right; width: 72px; }
.mock-table .t-spark svg { display: inline-block; vertical-align: middle; }
.mock-table .t-spark polyline {
  fill: none;
  stroke: #B6B2C4;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mock-table tr.flash .t-spark polyline { stroke: var(--signal); }

.mock-toast {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px -8px rgba(23, 21, 31, 0.25);
  padding: 0.625rem 0.875rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  max-width: 88%;
}

.mock-toast.show { opacity: 1; transform: none; }
.mock-toast .bolt { color: var(--signal); flex: none; }
.mock-toast b { color: var(--text); font-weight: 600; }

/* form-fill mockup (benchmark-style) */
.mock-formrow { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }
.mock-formrow label {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.mock-field {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  padding: 0.45rem 0.7rem;
  font-size: 0.8125rem;
  color: var(--text);
  min-height: 2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mock-field.active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(101, 61, 233, 0.15); }
.mock-field .placeholder { color: #A5A1B2; }

.lowest-chip {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--up);
  background: #E4F3ED;
  border-radius: 3px;
  padding: 0.1em 0.5em;
  margin-left: 0.5em;
}

@media (prefers-reduced-motion: reduce) {
  .mock-caret { animation: none; }
}

/* wizard modal */
.wizard-modal-panel { max-width: 560px; }
.wizard-modal-form { max-width: none; margin: 0 0 0.6rem; }
.wizard-modal-note { font-size: 0.75rem; color: var(--muted); margin: 0 0 1.1rem; text-align: left; }
.wizard-modal-suggestions { justify-content: flex-start; }
.wizard-modal-suggestions .tag-chip { font-size: 0.78125rem; display: inline-flex; align-items: center; gap: 0.4em; }
.wizard-modal-suggestions .tag-chip::after { content: "→"; color: var(--muted); font-weight: 600; transition: transform 0.15s ease, color 0.15s ease; }
.wizard-modal-suggestions .tag-chip:hover::after { color: var(--brand); transform: translateX(2px); }

/* Calendly modal — custom container around Calendly's inline embed. */
.calendly-modal-panel { max-width: 640px; padding: 0; overflow: hidden; }
.calendly-modal-panel .v4-modal-head { margin: 0; padding: 16px 20px 12px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.calendly-modal-sub { margin: 0.2rem 0 0; font-size: 0.8125rem; }
.calendly-modal-sub a { color: var(--brand); text-decoration: none; font-weight: 500; }
.calendly-modal-sub a:hover { text-decoration: underline; }
.calendly-modal-body { height: 72vh; max-height: 640px; }
#calendly-inline-widget { width: 100%; height: 100%; min-width: 0; }

/* Buttons INSIDE product mockups — deliberately styled as generic third-party
   UI (not our pill system) so nobody mistakes them for real site CTAs. */
.mock-btn {
  display: block;
  background: #2563EB;
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.mock-btn.flash { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25); filter: brightness(1.12); }

/* ==========================================================================
   Canvas badge — THE canonical badge for canvas heroes, site-wide.
   Markup: <span class="canvas-badge"><i></i> Label</span>
   Plain .eyebrow-sm inside a canvas hero auto-renders as this pill too.
   ========================================================================== */

.canvas-badge,
.canvas-hero .eyebrow-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 1em;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.25rem;
}

.canvas-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
}

.canvas-hero .eyebrow-sm::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}
