/* fonts.css */
/* Poppins, served from this site (no third-party font request).
   Same-origin, preloaded and cached, so text does not swap fonts between pages and the header tabs stay still.
   "Poppins Fallback" is Arial resized to Poppins' metrics, so the first paint has the same line widths. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  ascent-override: 93.62%;
  descent-override: 31.21%;
  line-gap-override: 8.92%;
  size-adjust: 112.16%;
}

/* tokens.css */
/* Pixels design tokens — from Figma variable defs */
:root {
  --color-brand-primary: #2563eb;
  --color-brand-primary-subtle: #eff6ff;
  --color-brand-secondary: #93c5fd;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-surface-main: #ffffff;

  --color-content-primary: #101828;
  --color-content-secondary: #475467;
  --color-content-brand: #2563eb;
  --color-content-white: #ffffff;

  --color-bg-default-subtle: #eaecf0;
  --color-bg-default-secondary: #eaecf0;

  --color-border-primary: #eaecf0;
  --color-border-primary-subtle: #f2f4f7;
  --color-border-secondary-pressed: #344054;
  --color-border-sidebar: #edf0f7;
  --color-border-brand: #2563eb;
  --color-border-disabled: #eaecf0;

  --color-utility-green: #12b76a;
  --color-utility-error: #f04438;
  --color-utility-border-purple: #a855f7;
  --color-utility-border-blue: #3c82f6;
  --color-utility-border-pink: #ec4899;
  --color-utility-border-green: #039855;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 24px;
  --spacing-4xl: 32px;
  --spacing-6xl: 40px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-12: 12px;
  --radius-3xl: 24px;

  --border-width-sm: 1px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);

  --font-family: 'Poppins', 'Poppins Fallback', system-ui, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --fs-body-sm: 12px;
  --lh-body-sm: 18px;
  --fs-body-md: 14px;
  --lh-body-md: 19px;
  --fs-headline-sm: 16px;
  --lh-headline-sm: 20px;
  --fs-headline-lg: 24px;
  --lh-headline-lg: 30px;
  --fs-button-sm: 12px;
  --lh-button-sm: 16px;
}

/* site.css */
/* Pixels marketing site — shared styles (header, dropdown, buttons, cards, CTA banner, footer, motion).
   Used by: index.html, solutions.html, solution-*.html, about.html, pricing.html, contact.html */

:root {
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --line: #eaecf0;
  --line-soft: #f2f4f7;
  --brand: #2563eb;
  --tint: #eff6ff;
  --page-bg: #f3f7ff;
  --btn-dark: #000;
  --radius-btn: 8px;
  --radius-card: 12px;
  --container: 1200px;
  --gutter: clamp(24px, (100vw - 1040px) / 2, 120px); /* 120px at 1280 (design), 24px below ~1090 */
  --t-fast: 160ms;
  --t-med: 220ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --card-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 16px rgba(48, 80, 160, 0.05);
  --card-shadow-hover: 0 2px 4px rgba(16, 24, 40, 0.05), 0 12px 28px rgba(48, 80, 160, 0.12);
}

/* Reset (marketing pages load tokens.css + this file only; layout.css is docs-shell specific) */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body.site p,
body.site h1,
body.site h2,
body.site h3,
body.site h4,
body.site ul,
body.site ol,
body.site figure {
  margin: 0;
  padding: 0;
}
body.site ul,
body.site ol {
  list-style: none;
}
:where(body.site) a {
  color: inherit;
  text-decoration: none;
}
body.site button,
body.site input,
body.site select,
body.site textarea {
  font-family: inherit;
}
body.site {
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body.site {
  background: var(--dk-bg-ffffff, #fff);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
:where(body.site) img,
:where(body.site) svg {
  max-width: 100%;
}
:where(body.site) svg {
  display: inline-block;
}
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* one hero heading style for every marketing page */
.h1 {
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--dk-fg-000000, #000);
}
.h2 {
  font-size: clamp(26px, 2.5vw, 32px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}
.lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.lead--lg {
  font-size: 16px;
  line-height: 1.6;
}
.center {
  text-align: center;
}
.stack {
  display: flex;
  flex-direction: column;
}
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

/* ---------- Buttons ----------
   One size everywhere (40px tall, 14px text), matching the design. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 22px;
  border-radius: var(--radius-btn);
  font: 500 14px/1.2 var(--font-family);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.btn .ico {
  font-size: 20px;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover .ico-arrow {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px);
}
.btn--dark {
  background: var(--btn-dark);
  color: var(--dk-fg-ffffff, #fff);
}
.btn--dark:hover {
  background: var(--dk-bg-1f2937, #1f2937);
  box-shadow: 0 6px 16px var(--dk-sh-10182838, rgba(16, 24, 40, 0.22));
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--dk-bd-000000, #000);
}
.btn--outline:hover {
  background: var(--dk-bg-1018280a, rgba(16, 24, 40, 0.04));
  box-shadow: 0 4px 12px var(--dk-sh-10182814, rgba(16, 24, 40, 0.08));
}
.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* solid (no backdrop blur): a blurred sticky header is repainted on every scroll frame */
  background: var(--dk-bg-f3f7ff, #f3f7ff);
}
.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  height: 28px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 68px;
  margin: 0 auto;
}
/* Pill tabs (same style as the docs tabs) */
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  cursor: pointer;
  font: 500 15px/1 var(--font-family);
  color: var(--ink-2);
  white-space: nowrap;
  transition:
    color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}
.nav__link:hover {
  color: var(--ink);
  background: rgba(16, 24, 40, 0.05);
}
.nav__link[aria-current='page'],
.nav__link.is-active {
  color: var(--ink);
  background: rgba(16, 24, 40, 0.07);
}
:root[data-px-theme='dark'] .nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
}
:root[data-px-theme='dark'] .nav__link[aria-current='page'],
:root[data-px-theme='dark'] .nav__link.is-active {
  background: rgba(255, 255, 255, 0.1);
}
.nav__chev {
  font-size: 16px;
  transition: transform var(--t-med) var(--ease);
}
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__item.is-open .nav__chev {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  min-width: 260px;
  padding: 8px;
  background: var(--dk-bg-ffffff, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px var(--dk-sh-10182824, rgba(16, 24, 40, 0.14));
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition:
    opacity var(--t-med) var(--ease),
    transform var(--t-med) var(--ease),
    visibility 0s linear var(--t-med);
}
.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  transition: background-color var(--t-fast) var(--ease);
}
.dropdown a small {
  font-size: 12px;
  color: var(--ink-3);
}
.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--tint);
}
.dropdown a[aria-current='page'] {
  background: var(--tint);
  font-weight: 500;
}


.site-header__theme {
  flex: none;
  margin-left: auto;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--dk-bg-ffffff, #fff);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
}
.mnav {
  display: none;
}

@media (hover: hover) and (min-width: 901px) {
  .nav__item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  .nav__item:hover .nav__chev {
    transform: rotate(180deg);
  }
}

@media (max-width: 900px) {
  .nav,
  .site-header__cta {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .site-header__in {
    height: 60px;
  }
  .mnav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dk-bg-ffffff, #fff);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px var(--dk-sh-1018281a, rgba(16, 24, 40, 0.1));
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition:
      max-height var(--t-med) var(--ease),
      visibility 0s linear var(--t-med);
  }
  .mnav.is-open {
    max-height: 80vh;
    overflow-y: auto;
    visibility: visible;
    transition-delay: 0s;
  }
  .mnav__in {
    padding: 8px 0 20px;
    display: flex;
    flex-direction: column;
  }
  .mnav a,
  .mnav button.mnav__sub-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 4px;
    font: 400 16px var(--font-family);
    color: var(--ink);
    border: 0;
    background: none;
    border-bottom: 1px solid var(--line-soft);
    cursor: pointer;
    text-align: left;
  }
  .mnav a[aria-current='page'],
  .mnav .mnav__sub-btn.is-active {
    font-weight: 500;
    color: var(--brand);
  }
  .mnav__sub {
    display: none;
    flex-direction: column;
    padding-left: 14px;
  }
  .mnav__sub.is-open {
    display: flex;
  }
  .mnav__sub a {
    font-size: 15px;
    color: var(--ink-2);
  }
  .mnav .btn {
    margin-top: 16px;
    border-bottom: 0;
    justify-content: center;
    color: var(--dk-fg-ffffff, #fff);
  }
}

/* ---------- Page hero background ---------- */
.hero-bg {
  background: linear-gradient(
    180deg,
    var(--dk-bg-eef4ff, #eef4ff) 0%,
    var(--dk-bg-f5f8ff, #f5f8ff) 55%,
    var(--dk-bg-ffffff, #fff) 100%
  );
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  right: -6%;
  top: -10%;
  width: 62%;
  height: 120%;
  background: radial-gradient(
    closest-side,
    var(--dk-bg-608cff47, rgba(96, 140, 255, 0.28)),
    var(--dk-bg-eff6ff00, rgba(239, 246, 255, 0))
  );
  pointer-events: none;
}
.hero-bg > * {
  position: relative;
}
.fade-bg {
  background: linear-gradient(180deg, var(--dk-bg-f4f7ff, #f4f7ff), var(--dk-bg-ffffff, #fff) 420px);
}

/* ---------- Cards ---------- */
.card {
  background: var(--dk-bg-ffffff, #fff);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  transition:
    transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}
.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--dk-bd-dbe6fb, #dbe6fb);
}
.ic-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dk-bg-f2f4f7, #f2f4f7);
  color: var(--ink);
  font-size: 20px;
  flex: none;
}

/* CTA banner: see css/cta.css (kept out of the generated dark theme; it is dark in both themes) */

/* Footer: see the end of this file */

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 320ms var(--ease),
    transform 320ms var(--ease);
  transition-delay: var(--rd, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 20px;
  }
  .btn {
    white-space: normal;
  }
}

/* ---------- Pricing cards (home preview + Pricing page) ----------
   Cards take their natural height and bottom-align, so the Professional card
   (one extra feature row) stands 32px taller, as in the design. */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  margin-top: 40px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-color: var(--line);
  border-radius: 16px;
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

/* Laptop frame around app screenshot */
.laptop {
  margin: 0;
  width: 100%;
  filter: drop-shadow(0 24px 36px var(--dk-sh-10182824, rgba(16, 24, 40, 0.14)));
  transition: transform var(--t-med) var(--ease);
}
.laptop:hover {
  transform: translateY(-4px);
}
.laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-inline: 4.5%;
  background: var(--dk-bg-0f172a, #0f172a);
  border: 7px solid var(--dk-bd-0f172a, #0f172a);
  border-bottom-width: 6px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.laptop__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: var(--dk-bg-ffffff, #fff);
}
.laptop__base {
  position: relative;
  height: 14px;
  background: linear-gradient(var(--dk-bg-e4e7ec, #e4e7ec), var(--dk-bg-bfc5d0, #bfc5d0));
  border-radius: 0 0 14px 14px;
}
.laptop__base::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 5px;
  transform: translateX(-50%);
  background: var(--dk-bg-98a2b3, #98a2b3);
  border-radius: 0 0 8px 8px;
}

/* Paused while off screen (js/site.js): no repainting of animations nobody can see */
.is-offscreen,
.is-offscreen * {
  animation-play-state: paused !important;
}

/* Required field mark */
.req-star {
  margin-inline-start: 2px;
  color: #d92d20;
  font-weight: 600;
}
/* Real brand marks (Storybook, Figma) keep their own colors */
.btn .ico-logo,
.ico-logo {
  width: 18px;
  height: 18px;
  fill: initial;
  stroke: none;
}
.nav__new {
  margin-inline-start: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: 2px;
}

/* ---------- Brand gradient for hero headlines (same as the Components page) ---------- */
.grad {
  background: linear-gradient(100deg, #2563eb, #a855f7, #60a5fa, #2563eb);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shine 8s linear infinite;
}
:root[data-px-theme='dark'] .grad {
  background-image: linear-gradient(100deg, #6b9bff, #c084fc, #93c5fd, #6b9bff);
}
@keyframes grad-shine {
  to {
    background-position: 300% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .grad {
    animation: none;
  }
}

/* ---------- Large hero buttons (same as the Components page) ---------- */
.btn--lg {
  height: 48px;
  padding: 0 20px;
  gap: 8px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s,
    background-color 0.15s,
    border-color 0.15s;
}
.btn--lg.btn--dark {
  background: #101828;
  border-color: #101828;
}
.btn--lg.btn--outline {
  border-color: #d0d5dd;
  background: var(--dk-bg-ffffff, #fff);
  color: var(--ink);
}
.btn--lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(16, 24, 40, 0.35);
}
.btn--lg .ico-arrow {
  transition: transform 0.2s var(--ease);
}
.btn--lg:hover .ico-arrow {
  transform: translateX(3px);
}
:root[data-px-theme='dark'] .btn--lg.btn--dark {
  background: #f5f6f8;
  border-color: #f5f6f8;
  color: #0b0c0f;
}
:root[data-px-theme='dark'] .btn--lg.btn--outline {
  border-color: #343b48;
  background: transparent;
  color: #f5f6f8;
}

/* ---------- Clean header: quiet tabs, thin line, compact actions ---------- */
.site-header {
  background: color-mix(in srgb, var(--dk-bg-ffffff, #fff) 92%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  gap: 2px;
}
.nav__link {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__link:hover {
  background: none;
  color: var(--ink);
}
.nav__link[aria-current='page'],
.nav__link.is-active {
  background: none;
  color: var(--ink);
  font-weight: 600;
}
.nav__link[aria-current='page']::after,
.nav > .nav__link.is-active::after,
.nav__item .nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
:root[data-px-theme='dark'] .nav__link:hover,
:root[data-px-theme='dark'] .nav__link[aria-current='page'],
:root[data-px-theme='dark'] .nav__link.is-active {
  background: none;
}
.site-header .theme-picker {
  padding: 2px;
  border-color: transparent;
  background: none;
}
.site-header .theme-picker button {
  width: 28px;
  height: 28px;
}

/* more air between header tabs */
.nav {
  gap: 12px;
}
.nav__link {
  padding: 0 10px;
}
/* No jumping when moving between pages:
   - the scrollbar space is always kept, so short and long pages line up
   - the active tab keeps the same weight (only color + underline change), so the tabs don't shift */
html {
  scrollbar-gutter: stable;
}
.nav__link[aria-current='page'],
.nav__link.is-active {
  font-weight: 500;
}

/* ---------- Full-width layout: content spans the page with standard side padding ----------
   80px on desktop, 40px on small laptops, 24px on tablets, 16px on phones. Capped at 1760px (80px each side on a 1920 screen). */
:root {
  --container: 1760px;
  --gutter: 80px;
}
@media (max-width: 1280px) {
  :root {
    --gutter: 40px;
  }
}
@media (max-width: 1024px) {
  :root {
    --gutter: 24px;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
}

/* Skip link: hidden until focused with the keyboard */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink, #09090b);
  color: #fff;
  font: 500 14px/1 var(--font-family);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.15s ease;
}
.skip-link:focus {
  transform: none;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  border-top: 1px solid var(--line);
  background: var(--dk-bg-ffffff, #fff);
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 64px;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 340px;
}
.site-footer__brand p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 22px;
}
.social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.social a.social__gh:has(.gh-stars:not([hidden])) {
  gap: 6px;
  width: auto;
  padding: 0 10px;
  color: var(--ink-2);
}
.social a:hover {
  border-color: var(--ink-3);
  background: var(--line-soft);
}
.social img {
  width: 18px;
  height: auto;
  opacity: 0.8;
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.site-footer .site-footer__h {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.site-footer__nav ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__nav a {
  color: var(--ink-2);
  font-size: 14px;
  transition: color var(--t-fast) var(--ease);
}
.site-footer__nav a:hover {
  color: var(--ink);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 64px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.site-footer .copy,
.site-footer .site-footer__meta {
  color: var(--ink-3);
  font-size: 13px;
}
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.site-footer__meta span + span::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 20px;
  border-radius: 50%;
  background: var(--ink-3);
  vertical-align: middle;
}
.site-footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  transition: color var(--t-fast) var(--ease);
}
.site-footer__top-link .ico {
  rotate: -90deg;
  font-size: 14px;
}
.site-footer__top-link:hover {
  color: var(--ink);
}
/* big outlined wordmark on the bottom edge: pixel grid fill, hairline outline, travelling lights */
.site-footer__word {
  margin: 8px auto 0;
  max-width: 1200px;
  line-height: 0;
  pointer-events: none;
  user-select: none;
}
.site-footer__word svg {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2%;
  overflow: visible;
}
.site-footer__word text {
  font-family: var(--font-family, 'Poppins', sans-serif);
  font-size: 300px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.site-footer__word pattern rect {
  fill: var(--ink-3);
}
.site-footer__word .w-grid {
  fill: url(#ft-px);
  opacity: 0.18;
}
.site-footer__word .w-line {
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1;
  opacity: 0.35;
}
.site-footer__word .w-run {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 60 900;
  opacity: 0.45;
  animation: ft-run 9s linear infinite;
  animation-play-state: paused;
}
.site-footer__word .w-run--b {
  stroke: #8b5cf6;
  stroke-dasharray: 30 1200;
  opacity: 0.35;
  animation-duration: 13s;
  animation-direction: reverse;
}
.site-footer.is-on .w-run {
  animation-play-state: running;
}
@keyframes ft-run {
  to {
    stroke-dashoffset: -960;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__word .w-run {
    display: none;
  }
}
@media (max-width: 1024px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding-top: 56px;
  }
  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 48px;
  }
}

:root[data-px-theme='dark'] .social img {
  filter: invert(1);
}

/* ---------- Dark fallbacks for pages that don't load the token file ----------
   Some page styles read Pixels tokens with a light fallback (var(--px-color-surface-default, #fff)).
   Pages without pixels-tokens.css fell back to those light colors in dark mode (white cards, pale buttons).
   In a layer, so the real token file always wins where it is loaded. */
:root {
  --surface: #fff;
}
:root[data-px-theme='dark'] {
  --surface: #191919;
}
@layer px-dark-fallback {
  :root[data-px-theme='dark'] {
    --px-color-surface-default: #191919;
    --px-color-surface-sunken: #121316;
    --px-color-background-neutral-default: #26272b;
    --px-color-content-neutral-primary: #f2f4f7;
    --px-color-content-neutral-secondary: #cfd4dc;
    --px-color-content-neutral-tertiary: #98a2b3;
    --px-color-border-neutral-default: #3a3b3f;
    --px-color-border-neutral-subtle: #2c2d2e;
    --px-color-content-success-default: #47cd89;
  }
}
/* motion library: the selected category was near-black on a dark page */
:root[data-px-theme='dark'] .ml-tabs button[aria-checked='true'] {
  background: #f2f4f7;
  color: #101828;
}

/* theme-dark.css */
/* GENERATED by tools/build-dark-theme.py. Do not edit by hand; edit the source colors and re-run. */
:root[data-px-theme='dark'] {
  color-scheme: dark;
  --alert-error-bg: #13100f;
  --alert-error-border: #513a38;
  --alert-info-bg: #182230;
  --alert-info-border: #364455;
  --alert-success-bg: #11271c;
  --alert-success-border: #1d452f;
  --alert-warning-bg: #27210e;
  --alert-warning-border: #473706;
  --badge-brand-bg: #182230;
  --badge-brand-text: #78a2fd;
  --badge-error-bg: #13100f;
  --badge-error-text: #ff7361;
  --badge-neutral-bg: #101011;
  --badge-neutral-text: #abbad2;
  --badge-purple-bg: #2d2930;
  --badge-purple-text: #b987fd;
  --badge-success-bg: #11271c;
  --badge-success-text: #5bbb85;
  --badge-warning-bg: #27210e;
  --badge-warning-text: #f3804e;
  --btn-danger-bg: #d92d20;
  --btn-danger-bg-hover: #b42318;
  --btn-dark: #383838;
  --btn-primary-bg-active: #1e40af;
  --btn-primary-bg-hover: #1d4ed8;
  --btn-secondary-bg: #2d3239;
  --btn-secondary-text: #78a2fd;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.096), 0 4px 16px rgba(0, 0, 0, 0.12);
  --card-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.12), 0 12px 28px rgba(0, 0, 0, 0.288);
  --color-bg-default-secondary: #2c2d2e;
  --color-bg-default-subtle: #2c2d2e;
  --color-border-brand: #3575fe;
  --color-border-disabled: #2c2d2e;
  --color-border-primary: #2c2d2e;
  --color-border-primary-subtle: #28292a;
  --color-border-secondary-pressed: #b1bac8;
  --color-border-sidebar: #27292c;
  --color-brand-primary-subtle: #182230;
  --color-brand-secondary: #315a86;
  --color-content-brand: #74a2fe;
  --color-content-primary: #cdd9ef;
  --color-content-secondary: #9dacc1;
  --color-surface-main: #191919;
  --color-white: #191919;
  --gx-danger: #d92d20;
  --gx-ok: #027a48;
  --gx-warn: #b54708;
  --ink: #cdd9ef;
  --ink-2: #9dacc1;
  --ink-3: #8b95ab;
  --input-border: #44464a;
  --line: #2c2d2e;
  --line-soft: #28292a;
  --page-bg: #0f1013;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.12);
  --tint: #182230;
  --tooltip-bg: #303848;
  --tooltip-text: #f9fafb;
  --dk-bd-000000: #ffffff;
  --dk-bd-0f172a: #d1d9e9;
  --dk-bd-0f766e: #78a7a1;
  --dk-bd-10133f: #ccd5f8;
  --dk-bd-101828: #d1d8e6;
  --dk-bd-10182814: rgba(209, 216, 230, 0.08);
  --dk-bd-10182826: rgba(209, 216, 230, 0.15);
  --dk-bd-12b76a: #12b76a;
  --dk-bd-1d4ed8: #3d74fd;
  --dk-bd-2563eb: #3575fe;
  --dk-bd-2563eb40: rgba(53, 117, 254, 0.25);
  --dk-bd-2563eb59: rgba(53, 117, 254, 0.35);
  --dk-bd-2e90fa: #2e90fa;
  --dk-bd-3b82f6: #3b82f6;
  --dk-bd-80808047: rgba(137, 137, 137, 0.28);
  --dk-bd-93b4f5: #93b4f5;
  --dk-bd-93c5fd: #405a77;
  --dk-bd-98a2b3: #6b717a;
  --dk-bd-a6f4c5: #1d452f;
  --dk-bd-abefc6: #254734;
  --dk-bd-b2ccff: #414e68;
  --dk-bd-b2ddff: #314757;
  --dk-bd-bfdbfe: #364455;
  --dk-bd-c7d0e0: #474b53;
  --dk-bd-c7d7fb: #3c4455;
  --dk-bd-c7d7fe: #3c4356;
  --dk-bd-d0d5dd: #44464a;
  --dk-bd-d92d20: #e23729;
  --dk-bd-d9dcff: #393b4b;
  --dk-bd-dbe6fb: #30353f;
  --dk-bd-e4e7ec: #323336;
  --dk-bd-e4e9f2: #2f3135;
  --dk-bd-eaecf0: #2c2d2e;
  --dk-bd-edf0f7: #27292c;
  --dk-bd-f04438: #f04438;
  --dk-bd-f2f4f7: #28292a;
  --dk-bd-f79009: #f79009;
  --dk-bd-fda29b: #7a4b47;
  --dk-bd-fecdca: #513a38;
  --dk-bd-fedf89: #473706;
  --dk-bd-ffffff: #292929;
  --dk-bd-ffffff2e: rgba(41, 41, 41, 0.18);
  --dk-bd-ffffff66: rgba(41, 41, 41, 0.4);
  --dk-bd-ffffffe6: rgba(41, 41, 41, 0.9);
  --dk-bg-000000: #383838;
  --dk-bg-039855: #039855;
  --dk-bg-0f172a: #2f384b;
  --dk-bg-0f766e: #60aca4;
  --dk-bg-101828: #303848;
  --dk-bg-1018280a: rgba(255, 255, 255, 0.056);
  --dk-bg-10182812: rgba(255, 255, 255, 0.098);
  --dk-bg-1018281a: rgba(255, 255, 255, 0.14);
  --dk-bg-10182859: rgba(0, 0, 0, 0.525);
  --dk-bg-10182866: rgba(0, 0, 0, 0.6);
  --dk-bg-1018286b: rgba(0, 0, 0, 0.63);
  --dk-bg-10182873: rgba(0, 0, 0, 0.675);
  --dk-bg-10182880: rgba(0, 0, 0, 0.75);
  --dk-bg-102651: #b0ccfd;
  --dk-bg-12b76a: #12b76a;
  --dk-bg-1d4ed8: #1d4ed8;
  --dk-bg-1e40af: #1e40af;
  --dk-bg-1f2937: #2f3946;
  --dk-bg-2563eb: #2563eb;
  --dk-bg-2f6bf0: #2f6bf0;
  --dk-bg-3b82f6: #3b82f6;
  --dk-bg-475467: #9eacbf;
  --dk-bg-4d8a6a: #659b7d;
  --dk-bg-4f46e5: #4f46e5;
  --dk-bg-5b8def: #5b8def;
  --dk-bg-608cff47: rgba(96, 140, 255, 0.28);
  --dk-bg-60a5fa: #60a5fa;
  --dk-bg-667085: #8c95a9;
  --dk-bg-6d8cf5: #6d8cf5;
  --dk-bg-7c8ff5: #7c8ff5;
  --dk-bg-7dd3fc: #035b79;
  --dk-bg-7e22ce: #7e22ce;
  --dk-bg-7f8eff: #7f8eff;
  --dk-bg-86b99a: #49745b;
  --dk-bg-912018: #912018;
  --dk-bg-93b4ff59: rgba(147, 180, 255, 0.35);
  --dk-bg-93c5fd: #315a86;
  --dk-bg-93c5fd38: rgba(49, 90, 134, 0.22);
  --dk-bg-98a2b3: #68717f;
  --dk-bg-9fb2d6: #556481;
  --dk-bg-a096ff59: rgba(160, 150, 255, 0.35);
  --dk-bg-a5b4fc: #a5b4fc;
  --dk-bg-b42318: #b42318;
  --dk-bg-b4cdff8c: rgba(58, 77, 115, 0.55);
  --dk-bg-b9abff: #b9abff;
  --dk-bg-bfc5d0: #50545d;
  --dk-bg-bfdbfe: #3a4451;
  --dk-bg-c7d2fe: #424656;
  --dk-bg-c7d7fb: #3e4451;
  --dk-bg-c7d7fe: #3e4352;
  --dk-bg-ccfbf1: #1a2a27;
  --dk-bg-d0d5dd: #444649;
  --dk-bg-d1fadf: #1f2d24;
  --dk-bg-d2d8ff: #3d3f4d;
  --dk-bg-d5e4fd: #333841;
  --dk-bg-d92d20: #d92d20;
  --dk-bg-dbe6fb: #31353c;
  --dk-bg-dbe7ff: #30343c;
  --dk-bg-dbe8ff: #2f333b;
  --dk-bg-dbeafe: #2d3239;
  --dk-bg-dc6803: #dc6803;
  --dk-bg-dcfae6: #002a15;
  --dk-bg-def7f3: #022824;
  --dk-bg-dfe3ec: #36383b;
  --dk-bg-e0e7ff: #30323a;
  --dk-bg-e4e7ec: #323335;
  --dk-bg-e4e9e6: #313332;
  --dk-bg-e4e9fb: #2e3036;
  --dk-bg-e5e7eb: #323335;
  --dk-bg-e6f4ff: #122430;
  --dk-bg-e6f5ff: #112430;
  --dk-bg-e6f7ef: #11271e;
  --dk-bg-e6f9ee: #0e271b;
  --dk-bg-e8eaff: #2c2c33;
  --dk-bg-e8f1ff: #182232;
  --dk-bg-e8f2ff: #172231;
  --dk-bg-e9d5ff: #403948;
  --dk-bg-eaecf0: #2c2d2e;
  --dk-bg-eaf8f5: #0f2623;
  --dk-bg-ebe9fe: #2d2c33;
  --dk-bg-eceef2: #29292b;
  --dk-bg-eceff5: #262729;
  --dk-bg-ecf8f6: #0f2623;
  --dk-bg-ecfdf3: #11271c;
  --dk-bg-eef0f5: #101012;
  --dk-bg-eef0ff: #1e2031;
  --dk-bg-eef1f9: #101013;
  --dk-bg-eef2ff: #1d2130;
  --dk-bg-eef4ff: #1a2230;
  --dk-bg-eef5ff: #182230;
  --dk-bg-efecff: #28272d;
  --dk-bg-efedff: #26262b;
  --dk-bg-eff4ff: #1b2130;
  --dk-bg-eff6ff: #182230;
  --dk-bg-eff6ff00: rgba(24, 34, 48, 0);
  --dk-bg-eff8ff: #14242f;
  --dk-bg-effbdb: #1c2600;
  --dk-bg-f04438: #f04438;
  --dk-bg-f0eeff: #221e32;
  --dk-bg-f0f0ff: #201f30;
  --dk-bg-f1f6ff: #1a2230;
  --dk-bg-f2f4f7: #101011;
  --dk-bg-f3e8ff: #2d2930;
  --dk-bg-f3ebff: #28262c;
  --dk-bg-f3f4f6: #101011;
  --dk-bg-f3f4ff: #1f2030;
  --dk-bg-f3f7ffe0: rgba(15, 16, 19, 0.88);
  --dk-bg-f3f7ff: #0f1013;
  --dk-bg-f4f3ff: #211f2f;
  --dk-bg-f4f7ff: #101013;
  --dk-bg-f5f6f8: #101011;
  --dk-bg-f5f8ff: #101012;
  --dk-bg-f6f1ff: #241e2e;
  --dk-bg-f6f7fb: #101012;
  --dk-bg-f79009: #f79009;
  --dk-bg-f7f1ff: #251e2e;
  --dk-bg-f8f9fb: #101011;
  --dk-bg-f8f9fc: #101011;
  --dk-bg-f8faff: #101012;
  --dk-bg-f9fafb: #101011;
  --dk-bg-fafbff: #101012;
  --dk-bg-fbfcff: #101011;
  --dk-bg-fcfcfd: #101011;
  --dk-bg-fde7d9: #332b27;
  --dk-bg-fee4e2: #342c2b;
  --dk-bg-fef0c7: #2b2000;
  --dk-bg-fef3f2: #13100f;
  --dk-bg-ffe9e7: #2d2625;
  --dk-bg-ffecf3: #2f1a23;
  --dk-bg-fff3e0: #2d1f05;
  --dk-bg-fff6e0: #2b2002;
  --dk-bg-fffaeb: #27210e;
  --dk-bg-ffffff: #191919;
  --dk-bg-ffffff00: rgba(25, 25, 25, 0);
  --dk-bg-ffffff1a: rgba(25, 25, 25, 0.1);
  --dk-bg-ffffff1f: rgba(25, 25, 25, 0.12);
  --dk-bg-ffffff2e: rgba(25, 25, 25, 0.18);
  --dk-bg-ffffff33: rgba(25, 25, 25, 0.2);
  --dk-bg-ffffffe6: rgba(25, 25, 25, 0.9);
  --dk-bg-ffffffeb: rgba(25, 25, 25, 0.92);
  --dk-fg-000000: #ffffff;
  --dk-fg-00a698: #33bcad;
  --dk-fg-027a48: #5bbb85;
  --dk-fg-039855: #46bf79;
  --dk-fg-05603a: #74c094;
  --dk-fg-067647: #5fbb87;
  --dk-fg-0d9488: #48baad;
  --dk-fg-0f766e: #5fb6ad;
  --dk-fg-101828: #cdd9ef;
  --dk-fg-12b76a: #2ac274;
  --dk-fg-175cd3: #70a3fe;
  --dk-fg-1d4ed8: #78a2fd;
  --dk-fg-1e3a8a: #96b6fe;
  --dk-fg-1e40af: #88acfd;
  --dk-fg-2563eb: #74a2fe;
  --dk-fg-2e5bd1: #78a2fd;
  --dk-fg-344054: #abbad2;
  --dk-fg-3730a3: #a1acfd;
  --dk-fg-3c82f6: #6ea4fe;
  --dk-fg-475467: #9dacc1;
  --dk-fg-4837ff: #8a9cfd;
  --dk-fg-4f46e5: #8e9aff;
  --dk-fg-5936ff: #9399fd;
  --dk-fg-65a30d: #7bba33;
  --dk-fg-667085: #8b95ab;
  --dk-fg-6d28d9: #a98ffd;
  --dk-fg-7c3aed: #a98ffe;
  --dk-fg-84caff: #67ace0;
  --dk-fg-912018: #fd8474;
  --dk-fg-93370d: #ec8862;
  --dk-fg-93c5fd: #78a9df;
  --dk-fg-98a2b3: #677181;
  --dk-fg-a855f7: #bd84fd;
  --dk-fg-b42318: #ff7361;
  --dk-fg-b54708: #f3804e;
  --dk-fg-d0d5dd: #42464d;
  --dk-fg-d92d20: #fe7461;
  --dk-fg-e2e8f0: #2f3339;
  --dk-fg-ec4899: #ff64ac;
  --dk-fg-f04438: #ff7363;
  --dk-fg-f59e0b: #e09111;
  --dk-fg-ffffff: #ffffff;
  --dk-sh-0000000f: rgba(0, 0, 0, 0.144);
  --dk-sh-00000033: rgba(0, 0, 0, 0.48);
  --dk-sh-00000040: rgba(0, 0, 0, 0.6);
  --dk-sh-03985526: rgba(0, 0, 0, 0.36);
  --dk-sh-10182808: rgba(0, 0, 0, 0.072);
  --dk-sh-1018280a: rgba(0, 0, 0, 0.096);
  --dk-sh-1018280f: rgba(0, 0, 0, 0.144);
  --dk-sh-10182814: rgba(0, 0, 0, 0.192);
  --dk-sh-1018281a: rgba(0, 0, 0, 0.24);
  --dk-sh-1018281f: rgba(0, 0, 0, 0.288);
  --dk-sh-10182824: rgba(0, 0, 0, 0.336);
  --dk-sh-1018282e: rgba(0, 0, 0, 0.432);
  --dk-sh-10182833: rgba(0, 0, 0, 0.48);
  --dk-sh-10182838: rgba(0, 0, 0, 0.528);
  --dk-sh-10182840: rgba(0, 0, 0, 0.6);
  --dk-sh-1018284c: rgba(0, 0, 0, 0.72);
  --dk-sh-12b76a33: rgba(255, 255, 255, 0.024);
  --dk-sh-1446dc66: rgba(0, 0, 0, 0.9);
  --dk-sh-2563eb1f: rgba(0, 0, 0, 0.48);
  --dk-sh-2563eb26: rgba(0, 0, 0, 0.36);
  --dk-sh-2563eb2e: rgba(0, 0, 0, 0.432);
  --dk-sh-2850c829: rgba(0, 0, 0, 0.384);
  --dk-sh-3050a01a: rgba(0, 0, 0, 0.24);
  --dk-sh-3050a01f: rgba(0, 0, 0, 0.288);
  --dk-sh-3050a026: rgba(0, 0, 0, 0.36);
  --dk-sh-3050c829: rgba(0, 0, 0, 0.384);
  --dk-sh-3050c833: rgba(0, 0, 0, 0.48);
  --dk-sh-3c64e640: rgba(0, 0, 0, 0.6);
  --dk-sh-6155ff33: rgba(0, 0, 0, 0.48);
  --dk-sh-6242ff1a: rgba(0, 0, 0, 0.24);
  --dk-sh-dbeafe: rgba(255, 255, 255, 0.12);
  --dk-sh-f044381a: rgba(255, 255, 255, 0.012);
  --dk-sh-f0443826: rgba(255, 255, 255, 0.018);
  --dk-sh-f0443833: rgba(255, 255, 255, 0.024);
}

/* theme.css */
/* Theme selector + theme-aware helpers. Dark colors themselves are generated into css/theme-dark.css. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* System / Light / Dark segmented control (rendered by js/theme.js into [data-theme-picker]) */
.theme-picker {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: var(--dk-bg-f2f4f7, #f2f4f7);
  border: 1px solid var(--dk-bd-eaecf0, #eaecf0);
}
.theme-picker button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--dk-fg-667085, #667085);
  cursor: pointer;
  transition:
    background-color 150ms,
    color 150ms;
}
.theme-picker button:hover {
  color: var(--dk-fg-101828, #101828);
}
.theme-picker button[aria-checked='true'] {
  background: var(--dk-bg-ffffff, #fff);
  color: var(--dk-fg-101828, #101828);
  box-shadow: 0 1px 2px var(--dk-sh-1018281a, rgba(16, 24, 40, 0.1));
}
.theme-picker button:focus-visible {
  outline: 2px solid var(--dk-bd-2563eb, #2563eb);
  outline-offset: 1px;
}
.theme-picker svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Logo and image swaps */
.logo-dark,
.img-dark {
  display: none !important;
}
:root[data-px-theme='dark'] .logo-light,
:root[data-px-theme='dark'] .img-light {
  display: none !important;
}
:root[data-px-theme='dark'] .logo-dark,
:root[data-px-theme='dark'] .img-dark {
  display: block !important;
}

/* @dark-manual */
/* ---------- Dark mode: hand-tuned details the generator can't infer ---------- */
:root[data-px-theme='dark'] body {
  background: #12141a;
}

/* Marketing site */
:root[data-px-theme='dark'] .btn--dark {
  background: #f2f4f7;
  color: #101828;
}
:root[data-px-theme='dark'] .btn--dark:hover {
  background: #fff;
}
:root[data-px-theme='dark'] .integ__img,
:root[data-px-theme='dark'] .about-story img {
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Guidelines: the contrast-ratio tag on color samples stays dark navy with white text */
:root[data-px-theme='dark'] .sw .ratio {
  background: #102651;
  color: #fff;
}

/* Landing: small colored kickers need lighter shades on dark cards */
:root[data-px-theme='dark'] .kicker {
  color: #84adff;
}
:root[data-px-theme='dark'] .kicker.kicker--green {
  color: #47cd89;
}

/* Pricing FAQ: the brand link needs a lighter blue on the dark page */
:root[data-px-theme='dark'] .faq__more,
:root[data-px-theme='dark'] .contact__email a {
  color: #84adff;
}

/* refine.css */
/* Pixels site refinement: simple, minimal, modern (shadcn-like).
   Loaded last on marketing pages. Neutral palette, thin borders, plain headings, one spacing scale. */

:root {
  --ink: #09090b;
  --ink-2: #52525b;
  --ink-3: #71717a;
  --line: #e4e4e7;
  --line-soft: #f4f4f5;
  --muted-bg: #fafafa;
  --radius-btn: 8px;
  --radius-card: 12px;
  --card-shadow: 0 1px 2px rgba(9, 9, 11, 0.04);
  --card-shadow-hover: 0 1px 2px rgba(9, 9, 11, 0.04), 0 8px 24px -12px rgba(9, 9, 11, 0.12);
  /* one spacing scale for every section */
  --sec-y: 96px;
  --hero-y: 88px;
  --head-gap: 48px;
}
:root[data-px-theme='dark'] {
  --muted-bg: #0f1012;
}
@media (max-width: 1024px) {
  :root {
    --sec-y: 72px;
    --hero-y: 64px;
    --head-gap: 40px;
  }
}
@media (max-width: 640px) {
  :root {
    --sec-y: 56px;
    --hero-y: 48px;
    --head-gap: 32px;
  }
}

body.site {
  background: var(--dk-bg-ffffff, #fff);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ---------- type: plain, tight, a little smaller ---------- */
.grad,
.hx-grad,
.mp-grad {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: inherit !important;
  animation: none !important;
}
/* one page-title style on every page (home, components, contact, pricing, solutions, motion…) */
.h1,
.contact .contact__title,
.hx .hx-hero h1 {
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}
.lead--lg {
  font-size: 17px;
}
/* eyebrow: a small quiet label */
.eyebrow {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- buttons ---------- */
.btn {
  min-height: 40px;
  padding: 6px 18px;
  gap: 8px;
  border-radius: var(--radius-btn);
  font-weight: 500;
}
.btn--dark,
.btn--lg.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
}
.btn--dark:hover {
  background: #27272a;
  box-shadow: none;
}
.btn--outline,
.btn--lg.btn--outline {
  border-color: var(--line);
  background: var(--dk-bg-ffffff, #fff);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.05);
}
.btn--outline:hover {
  background: var(--muted-bg);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.05);
}
.btn--lg {
  height: 44px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
}
.btn--lg:hover {
  transform: none;
  box-shadow: none;
}
:root[data-px-theme='dark'] .btn--dark,
:root[data-px-theme='dark'] .btn--lg.btn--dark {
  background: #fafafa;
  border-color: #fafafa;
  color: #09090b;
}
:root[data-px-theme='dark'] .btn--outline,
:root[data-px-theme='dark'] .btn--lg.btn--outline {
  background: transparent;
  border-color: #27272a;
  color: #fafafa;
}

/* ---------- surfaces: white, thin borders, no colored glows ---------- */
.hero-bg,
.fade-bg {
  background: var(--dk-bg-ffffff, #fff);
}
.hero-bg::before {
  display: none;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
}
.card--hover:hover {
  transform: none;
  border-color: var(--dk-bd-d4d4d8, #d4d4d8);
  box-shadow: var(--card-shadow-hover);
}
/* alternate sections get a very light gray band with hairlines */
.band {
  background: var(--muted-bg);
  border-block: 1px solid var(--line);
}

/* ---------- one spacing scale ---------- */
.sec,
.mp-sec,
.faq,
.story,
.values,
.approach,
.sol,
.sd-gray,
.sd-how,
.sd-ready {
  padding-block: var(--sec-y);
}
.sec .container > .sec-head + *,
.mp-sec .sec-head + *,
.mp-sec .container > .sec-head + * {
  margin-top: var(--head-gap);
}
.sec-head {
  gap: 12px;
  max-width: 680px;
}
.sec-head .lead {
  max-width: 600px;
}
/* page heroes (About, Pricing, Solutions, Motion…) */
.about-hero,
.price-hero,
.sol-hero,
.mp-hero,
.ap-hero {
  padding-block: var(--hero-y);
  min-height: 0;
}
.cta {
  padding-bottom: var(--sec-y);
}

/* ---------- header and footer ---------- */
.site-header {
  background: color-mix(in srgb, var(--dk-bg-ffffff, #fff) 85%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
}
.nav__link {
  color: var(--ink-3);
}
.nav__link:hover,
.nav__link[aria-current='page'],
.nav__link.is-active {
  color: var(--ink);
}
.nav__link[aria-current='page']::after,
.nav > .nav__link.is-active::after,
.nav__item .nav__link.is-active::after {
  height: 1.5px;
}

/* ---------- pricing cards follow the neutral palette ---------- */
.pc {
  --pc-fg: var(--ink);
  --pc-fg-2: var(--ink-2);
  --pc-fg-3: var(--ink-3);
  --pc-line: var(--line);
  --pc-bg-2: var(--muted-bg);
  --pc-shadow: 0 1px 2px rgba(9, 9, 11, 0.04);
}
.pc .pc-card:hover {
  transform: none;
}
.pc .pc-card.is-pop {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.pc .pc-tag {
  background: var(--ink);
}
.pc .pc-check {
  background: var(--line-soft);
  stroke: var(--ink);
}
.pc .pc-ent {
  background: var(--muted-bg);
  box-shadow: none;
}
:root[data-px-theme='dark'] .pc .pc-btn--pri,
:root[data-px-theme='dark'] .pc .pc-tag {
  border-color: #fafafa;
  background: #fafafa;
  color: #09090b !important;
}
:root[data-px-theme='dark'] .pc .pc-card.is-pop {
  border-color: #fafafa;
  box-shadow: 0 0 0 1px #fafafa;
}
.pc .pc-tag.pc-tag--soon {
  background: #f79009;
  color: #fff !important;
}

.hx-glow {
  display: none;
}

/* CTA band: calm, neutral dark, plain heading */
.cta__body h2 span {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #a1a1aa;
}
.cta__box,
.cta__card,
.cta__in {
  background: #09090b;
}
/* small "New" tags: neutral */
.mo-eyebrow b,
.hero__pill b,
.nav__new {
  background: var(--ink);
  color: #fff;
}
:root[data-px-theme='dark'] .mo-eyebrow b {
  background: #fafafa;
  color: #09090b;
}
/* section headings use one weight */
.sec .h2,
.mp-sec .h2,
.faq .h2,
.scale__msg .h2 {
  font-weight: 600;
}
.cta__card {
  border-radius: 16px;
  background: #09090b;
  box-shadow: none;
}
.cta__card::after,
.cta__orb {
  display: none;
}
.hero2 .h1 {
  font-weight: 600;
}
.hp-input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
/* Components page: room between the hero buttons and the showcase (the stats strip is gone) */
.hx .hx-show {
  margin-top: 56px;
}


/* Home, install section: links to popular free components */
.hm-install .hm-popular {
  margin: -4px 0 28px;
  font-size: 14px;
  color: var(--muted, #475467);
}
.hm-popular a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hm-popular a:hover {
  color: var(--brand, #2563eb);
}

/* mkt-anim.css */
/* About and Pricing banner animations (js/mkt-anim.js). 520 x 400 stage, scaled to the column.
   Not part of the generated dark theme: dark values are set on .mx below. */

.mx {
  --mx-card: #ffffff;
  --mx-line: #e4e9f4;
  --mx-soft: #f2f5fb;
  --mx-ink: #101828;
  --mx-mut: #667085;
  --mx-brand: #2563eb;
  --mx-sh: 0 1px 2px rgba(16, 24, 40, 0.04), 0 24px 50px -24px rgba(50, 60, 160, 0.4);
  --mx-sh-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 26px -14px rgba(50, 60, 160, 0.35);
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 520 / 400;
}
html[data-px-theme='dark'] .mx {
  --mx-card: #161d2c;
  --mx-line: #273149;
  --mx-soft: #1d2537;
  --mx-ink: #eef2f8;
  --mx-mut: #95a1b6;
  --mx-brand: #60a5fa;
  --mx-sh: 0 30px 60px -28px rgba(0, 0, 0, 0.8);
  --mx-sh-sm: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
}
.mx__stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 520px;
  height: 400px;
  transform: scale(var(--mx-s, 1));
  transform-origin: 0 0;
  font-family: var(--font-family);
  color: var(--mx-ink);
  -webkit-font-smoothing: antialiased;
}
.mx__stage * {
  box-sizing: border-box;
}
.mx__stage svg {
  display: block;
  width: 100%;
  height: 100%;
}
.mx__stage p,
.mx__stage ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mx-noanim {
  transition: none !important;
}

/* soft glow behind both scenes */
.mx__stage::before {
  content: '';
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.28), transparent);
  filter: blur(30px);
  z-index: 0;
}

/* entrance */
.mx.is-ready .mx__stage > * {
  animation: mx-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.mx.is-ready .mx__stage > *:nth-child(2) {
  animation-delay: 0.08s;
}
.mx.is-ready .mx__stage > *:nth-child(3) {
  animation-delay: 0.16s;
}
.mx.is-ready .mx__stage > *:nth-child(n + 4) {
  animation-delay: 0.24s;
}
@keyframes mx-rise {
  from {
    opacity: 0;
    translate: 0 14px;
  }
}

/* ================= About ================= */
.mx-ab__wires {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.mx-ab__wires path {
  fill: none;
  stroke: var(--mx-line);
  stroke-width: 1.6;
  stroke-dasharray: 0.02 0.015;
  transition: stroke 0.4s;
}
.mx-ab__wires path.is-on {
  stroke: var(--mx-brand);
  stroke-dasharray: 0.03 0.02;
  animation: mx-flow 1s linear infinite;
}
@keyframes mx-flow {
  to {
    stroke-dashoffset: -0.05;
  }
}
.mx-person {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 56px;
}
.mx-person__av {
  display: flex;
  width: 56px;
  height: 56px;
  padding: 16px;
  border-radius: 18px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh-sm);
  color: var(--mx-mut);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    color 0.4s,
    background-color 0.4s,
    border-color 0.4s;
}
.mx-person b {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--mx-mut);
  transition: color 0.4s;
}
.mx-person.is-on .mx-person__av {
  transform: translateY(-3px) scale(1.06);
  background: var(--mx-brand);
  border-color: var(--mx-brand);
  color: #fff;
}
.mx-person.is-on b {
  color: var(--mx-ink);
}
/* the item that travels from a team into the library */
.mx-fly {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font:
    500 11.5px/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(16, 24, 40, 0.5);
  transform: translate(var(--fx, 0), var(--fy, 0)) translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition:
    transform 0.85s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s;
}
html[data-px-theme='dark'] .mx-fly {
  background: #f2f4f7;
  color: #101828;
}
.mx-fly.is-on {
  opacity: 1;
  transform: translate(var(--fx, 0), var(--fy, 0)) translate(-50%, -50%) scale(1);
}
.mx-fly.is-land {
  opacity: 0;
  transform: translate(var(--fx, 0), var(--fy, 0)) translate(-50%, -50%) scale(0.4);
  transition:
    transform 0.35s ease-in,
    opacity 0.3s;
}
.mx-sw {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #1e40af;
}
.mx-ck {
  width: 13px !important;
  height: 13px !important;
  color: #6ee7b7;
}

.mx-lib {
  position: absolute;
  left: 150px;
  top: 64px;
  z-index: 3;
  width: 240px;
  height: 272px;
  padding: 16px;
  border-radius: 20px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh);
}
.mx-lib__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.mx-lib__head b {
  font-weight: 600;
}
.mx-lib__mark {
  display: flex;
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
}
.mx-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 10.5px;
  color: var(--mx-mut);
}
.mx-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.18);
}
.mx-lib__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.mx-t {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  border-radius: 12px;
  background: var(--mx-soft);
  border: 1px solid transparent;
  transition:
    border-color 0.4s,
    background-color 0.4s;
}
.mx-t.is-pop {
  animation: mx-pop 0.8s cubic-bezier(0.34, 1.4, 0.64, 1);
  border-color: color-mix(in oklab, var(--mx-brand) 50%, transparent);
  background: color-mix(in oklab, var(--mx-brand) 10%, var(--mx-card));
}
@keyframes mx-pop {
  40% {
    transform: scale(1.1);
  }
}
.mx-t__sw {
  display: flex;
}
.mx-t__sw i {
  width: 18px;
  height: 18px;
  margin-right: -5px;
  border-radius: 50%;
  border: 2px solid var(--mx-card);
  background: #2563eb;
  transition: background-color 0.8s;
}
.mx-alt .mx-t__sw i:first-child {
  background: #1e40af;
}
.mx-t__sw i:nth-child(2) {
  background: #12b76a;
}
.mx-t__sw i:nth-child(3) {
  background: #f79009;
}
.mx-t__btn {
  padding: 5px 9px;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}
.mx-t__aa {
  font-size: 20px;
  font-weight: 600;
  color: var(--mx-brand);
}
.mx-t__tg {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: #2563eb;
}
.mx-t__tg i {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}
.mx-t__ic {
  width: 22px;
  height: 22px;
  color: var(--mx-brand);
}
.mx-t__ok {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
  background: #12b76a;
  color: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.3s,
    transform 0.45s cubic-bezier(0.34, 1.6, 0.64, 1);
}
.mx-t.is-ok .mx-t__ok {
  opacity: 1;
  transform: none;
}
.mx-t__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 38px;
  padding: 6px;
  border-radius: 6px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
}
.mx-t__card i {
  height: 4px;
  border-radius: 2px;
  background: var(--mx-line);
}
.mx-t__card i:first-child {
  width: 70%;
  background: #bfdbfe;
}
.mx-lib__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--mx-line);
  font-size: 11.5px;
  color: var(--mx-mut);
}
.mx-avs {
  display: flex;
}
.mx-avs i {
  width: 22px;
  height: 22px;
  margin-right: -6px;
  border-radius: 50%;
  border: 2px solid var(--mx-card);
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
}
.mx-avs i:nth-child(2) {
  background: linear-gradient(135deg, #fda4af, #f97316);
}
.mx-avs i:nth-child(3) {
  background: linear-gradient(135deg, #86efac, #14b8a6);
}
.mx-lib__toast {
  position: absolute;
  left: 50%;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh-sm);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.35s,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mx-lib__toast i {
  display: flex;
  width: 14px;
  height: 14px;
  padding: 2px;
  border-radius: 50%;
  background: #12b76a;
  color: #fff;
}
.mx-lib__toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ================= Pricing ================= */
.mx-plan {
  position: absolute;
  left: 110px;
  top: 30px;
  z-index: 2;
  width: 300px;
  height: 340px;
  padding: 16px 20px 20px;
  border-radius: 22px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh);
  transition: border-color 0.5s;
}
.mx-plan[data-plan='1'] {
  border-color: color-mix(in oklab, var(--mx-brand) 45%, var(--mx-line));
}
.mx-seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  border-radius: 10px;
  background: var(--mx-soft);
}
.mx-seg span {
  position: relative;
  z-index: 1;
  padding: 6px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--mx-mut);
  transition: color 0.4s;
}
.mx-seg i {
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: calc((100% - 6px) / 3);
  border-radius: 8px;
  background: var(--mx-card);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.14);
  transition: transform 0.55s cubic-bezier(0.34, 1.25, 0.64, 1);
}
.mx-plan[data-plan='1'] .mx-seg i {
  transform: translateX(100%);
}
.mx-plan[data-plan='2'] .mx-seg i {
  transform: translateX(200%);
}
.mx-plan[data-plan='0'] .mx-seg span:nth-of-type(1),
.mx-plan[data-plan='1'] .mx-seg span:nth-of-type(2),
.mx-plan[data-plan='2'] .mx-seg span:nth-of-type(3) {
  color: var(--mx-ink);
}
.mx-pop {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition:
    opacity 0.35s,
    transform 0.45s cubic-bezier(0.34, 1.5, 0.64, 1);
}
html[data-px-theme='dark'] .mx-pop {
  background: #f2f4f7;
  color: #101828;
}
.mx-plan[data-plan='1'] .mx-pop {
  opacity: 1;
  transform: none;
}
.mx-plan__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.mx-plan__head.is-in {
  animation: mx-fade 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes mx-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.mx-plan__ico {
  display: flex;
  flex: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 11px;
  transition:
    background-color 0.5s,
    color 0.5s;
}
.mx-plan[data-tone='green'] .mx-plan__ico {
  background: #eaf8f5;
  color: #00a698;
}
.mx-plan[data-tone='indigo'] .mx-plan__ico {
  background: #eef5ff;
  color: #3c82f6;
}
.mx-plan[data-tone='purple'] .mx-plan__ico {
  background: #f0eeff;
  color: #4837ff;
}
.mx-plan__head div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mx-plan__name {
  font-size: 15px;
  font-weight: 600;
}
.mx-plan__tag {
  font-size: 11px;
  color: var(--mx-mut);
  white-space: nowrap;
}
.mx-price {
  margin-top: 16px !important;
  font-size: 38px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mx-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px !important;
}
.mx-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--mx-ink);
  animation: mx-fade 0.45s calc(var(--k) * 70ms) cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.mx-list i {
  display: flex;
  flex: none;
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--mx-brand) 14%, var(--mx-card));
  color: var(--mx-brand);
}
.mx-cta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--mx-line);
  font-size: 12.5px;
  font-weight: 500;
  transition:
    background-color 0.5s,
    color 0.5s,
    border-color 0.5s;
}
.mx-plan[data-plan='1'] .mx-cta {
  background: #101828;
  border-color: #101828;
  color: #fff;
}
html[data-px-theme='dark'] .mx-plan[data-plan='1'] .mx-cta {
  background: #f2f4f7;
  border-color: #f2f4f7;
  color: #101828;
}
.mx-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh-sm);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  animation: mx-float 7s ease-in-out infinite;
}
.mx-chip i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: conic-gradient(#f24e1e 0 25%, #a259ff 0 50%, #1abcfe 0 75%, #0acf83 0);
}
.mx-fly svg {
  flex: none;
}
.mx-chip svg {
  flex: none;
  width: 16px !important;
  height: 16px !important;
  color: var(--mx-brand);
}
.mx-chip--a {
  right: calc(100% - 118px);
  top: 150px;
}
.mx-chip--b {
  left: 402px;
  top: 262px;
  animation-delay: -3.5s;
}
@keyframes mx-float {
  50% {
    translate: 0 -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mx *,
  .mx *::before,
  .mx *::after {
    animation: none !important;
    transition: none !important;
  }
}
.mx-lib__mark--logo {
  padding: 0;
  background: none;
  overflow: hidden;
}
.mx-lib__mark--logo img {
  display: block;
  width: 100%;
  height: 100%;
}

/* shell.css */
/* Pixels shell: the header, call to action and footer shared by every page and the Storybook (explore/).
   Loaded last on every page so the site and the Storybook look like one product.
   Colors come only from Pixels semantic tokens, so light and dark both work. */

/* Dark theme uses the same neutral blacks as the Storybook (no blue tint). */
:root[data-px-theme='dark'] {
  --px-color-surface-default: #111112;
  --px-color-surface-raised: #19191b;
  --px-color-surface-sunken: #0b0b0c;
}

:root {
  --sh-bg: var(--px-color-surface-default, #ffffff);
  --sh-fg: var(--px-color-content-neutral-primary, #101828);
  --sh-fg-2: var(--px-color-content-neutral-secondary, #344054);
  --sh-fg-3: var(--px-color-content-neutral-tertiary, #667085);
  --sh-line: var(--px-color-border-neutral-subtle, #eaecf0);
  --sh-line-2: var(--px-color-border-neutral-default, #d0d5dd);
  --sh-muted: var(--px-color-background-neutral-default, #f2f4f7);
  --sh-brand: var(--px-color-background-brand-default, #2563eb);
  --sh-brand-hover: var(--px-color-background-brand-hover, #1d4ed8);
  --sh-btn-line: #d4d4d8;
}
:root[data-px-theme='dark'] {
  --sh-bg: #111112;
  --sh-fg: #f4f4f5;
  --sh-fg-2: #d4d4d8;
  --sh-fg-3: #8d8d94;
  --sh-line: #26262a;
  --sh-line-2: #3a3a3f;
  --sh-muted: #1f1f22;
  --sh-brand: var(--px-color-background-brand-default, #3b82f6);
  --sh-brand-hover: var(--px-color-background-brand-hover, #2563eb);
  --sh-btn-line: #3a3a3f;
}

/* ---------------------------------------------------------------- buttons
   Marketing variants only. Plain .px-btn is the design system component (pixels-ui.css, Figma tokens),
   so this must not restyle it. */
.px-btn:is(.px-btn--brand, .px-btn--line, .px-btn--light, .px-btn--ghost) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 500 14px/1 var(--font-family, 'Poppins', sans-serif);
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.px-btn--brand {
  background: var(--sh-brand);
  color: #fff;
}
.px-btn--brand:hover {
  background: var(--sh-brand-hover);
}
.px-btn--line {
  border-color: var(--sh-line-2);
  color: var(--sh-fg);
}
.px-btn--line:hover {
  background: var(--sh-muted);
}
.px-btn--light {
  background: #fff;
  color: var(--px-color-brand-700, #1d4ed8);
}
.px-btn--light:hover {
  background: rgba(255, 255, 255, 0.9);
}
.px-btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.px-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------------------- header
   Nothing in the header may change size between pages: the active tab keeps the same weight (only color and the
   underline change), the scrollbar space is always reserved, and the theme switch has its room before it draws. */
html {
  scrollbar-gutter: stable;
}
.site-header {
  background: color-mix(in srgb, var(--sh-bg) 88%, transparent);
  border-bottom: 1px solid var(--sh-line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__in {
  height: 64px;
  gap: 16px;
}
.site-header .brand img {
  height: 26px;
}
.site-header .nav {
  height: 64px;
  gap: 4px;
  margin: 0 0 0 24px;
}
.site-header .nav__link {
  height: 64px;
  padding: 0 12px;
  border-radius: 0;
  background: none !important;
  font-size: 14px;
  font-weight: 400;
  color: var(--sh-fg-3);
}
.site-header .nav__link:hover {
  color: var(--sh-fg);
}
.site-header .nav__link[aria-current='page'],
.site-header .nav__link.is-active {
  color: var(--sh-fg);
  font-weight: 400;
}
.site-header .nav__link[aria-current='page']::after,
.site-header .nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--sh-fg);
}
.site-header .dropdown {
  top: calc(100% - 4px);
  border-color: var(--sh-line);
  border-radius: 14px;
  background: var(--px-color-surface-overlay, var(--sh-bg));
}
.site-header .dropdown a {
  color: var(--sh-fg);
}
.site-header .dropdown a:hover,
.site-header .dropdown a:focus-visible,
.site-header .dropdown a[aria-current='page'] {
  background: var(--sh-muted);
}
.site-header__theme {
  margin-left: auto;
  /* room for the theme switch before js/theme.js draws it, so the header doesn't jump */
  min-width: 96px;
  min-height: 36px;
}
.site-header__links {
  display: flex;
  flex: none;
  gap: 6px;
  margin-left: auto;
}
.site-header__links + .site-header__theme {
  margin-left: 0;
}
.site-header__ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--sh-line);
  border-radius: 10px;
  color: var(--sh-fg);
  transition: background var(--t-fast, 0.15s) ease, border-color var(--t-fast, 0.15s) ease;
}
.site-header__ic--gh:has(.gh-stars:not([hidden])) {
  display: inline-flex;
  gap: 6px;
  width: auto;
  padding: 0 10px;
}
.gh-stars {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gh-stars::before {
  content: '★ ';
  font-size: 11px;
  opacity: 0.7;
}
.site-header__ic:hover {
  background: var(--sh-muted);
}
.site-header__ic:focus-visible {
  outline: 2px solid var(--sh-brand);
  outline-offset: 2px;
}
@media (max-width: 380px) {
  .site-header__links {
    display: none;
  }
  .site-header__links + .site-header__theme {
    margin-left: auto;
  }
}
.site-header .theme-picker {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--sh-line);
  border-radius: 10px;
  background: none;
}
.site-header .theme-picker button {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--sh-fg-3);
}
.site-header .theme-picker button[aria-checked='true'] {
  background: var(--sh-muted);
  color: var(--sh-fg);
}
.site-header__cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--sh-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.site-header__cta:hover {
  background: var(--sh-brand-hover);
}
.site-header .burger {
  border-color: var(--sh-line);
  background: none;
  color: var(--sh-fg);
}
.mnav .mnav__cta {
  margin-top: 12px;
  border-bottom: 0;
  justify-content: center !important;
  display: flex !important;
  justify-content: center;
  height: 44px;
  align-items: center;
  border-radius: 10px;
  background: var(--sh-brand);
  color: #fff !important;
  font-weight: 500;
}
.mnav .mnav__cta:hover {
  background: var(--sh-brand-hover);
}
@media (max-width: 1080px) {
  .site-header .nav__link {
    padding: 0 8px;
  }
  .site-header .nav__link[aria-current='page']::after,
  .site-header .nav__link.is-active::after {
    left: 8px;
    right: 8px;
  }
}
@media (max-width: 900px) {
  .site-header__in {
    height: 60px;
  }
  .site-header__cta {
    display: none;
  }
  .site-header .mnav {
    background: var(--sh-bg);
    border-bottom-color: var(--sh-line);
  }
}

/* ---------------------------------------------------------------- call to action */
.px-cta {
  padding: 48px 0 24px;
}
.px-cta__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 24px 76px;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 50% 120%, color-mix(in srgb, var(--sh-brand) 85%, #fff 0%) 0%, transparent 60%),
    radial-gradient(70% 60% at 85% -10%, rgba(124, 58, 237, 0.45), transparent 60%),
    linear-gradient(180deg, #0b1020 0%, #0f1a3d 55%, color-mix(in srgb, var(--sh-brand) 70%, #0b1020) 100%);
  box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--sh-brand) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
}
/* fine grid that fades toward the edges */
.px-cta__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask: radial-gradient(70% 80% at 50% 40%, #000, transparent 75%);
  mask: radial-gradient(70% 80% at 50% 40%, #000, transparent 75%);
}
.px-cta__orbits {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.px-cta__orbits circle {
  fill: none;
  stroke: rgba(173, 196, 255, 0.14);
  stroke-width: 1;
}
.px-cta__orbits .px-cta__comet {
  stroke: rgba(219, 230, 255, 0.95);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 30 970;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(147, 180, 255, 0.9));
  animation: px-cta-orbit 12s linear infinite;
}
@keyframes px-cta-orbit {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -1000; }
}
.px-cta__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.px-cta__stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 1px rgba(170, 195, 255, 0.8);
  opacity: 0.2;
  animation: px-cta-twinkle 3.2s ease-in-out infinite;
}
@keyframes px-cta-twinkle {
  50% { opacity: 0.95; transform: scale(1.4); }
}
/* slow light behind the heading */
.px-cta__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: 640px;
  height: 260px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sh-brand) 55%, transparent), transparent);
  filter: blur(30px);
  opacity: 0.6;
  animation: px-cta-breathe 8s ease-in-out infinite;
}
@keyframes px-cta-breathe {
  50% { opacity: 0.95; scale: 1.08; }
}
.px-cta__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
}
.px-cta__chip b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}
.px-cta__card h2 {
  position: relative;
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  background: linear-gradient(180deg, #fff 30%, #c7d6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.px-cta .px-cta__card p {
  position: relative;
  max-width: 520px;
  margin: 16px auto 0 !important;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}
.px-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.px-cta .px-btn--light {
  gap: 8px;
  box-shadow: 0 10px 30px -10px rgba(147, 180, 255, 0.8), inset 0 -1px 0 rgba(16, 24, 40, 0.08) !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.px-cta .px-btn--light:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px rgba(147, 180, 255, 0.95) !important;
}
.px-cta__arrow {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.px-cta .px-btn--light:hover .px-cta__arrow {
  transform: translateX(3px);
}
.px-cta .px-btn--ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.px-cta .px-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}
@media (max-width: 640px) {
  .px-cta__card {
    padding: 56px 20px 60px;
    border-radius: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .px-cta__comet,
  .px-cta__stars i,
  .px-cta__glow {
    animation: none !important;
  }
}

/* ---- call-to-action motion: aurora, light beam, pointer spotlight, shimmering title, button shine, intro */
.px-cta__aurora { position: absolute; inset: 0; z-index: -1; filter: blur(50px); opacity: 0.7; }
.px-cta__aurora i { position: absolute; width: 42%; height: 70%; border-radius: 50%; animation: px-cta-drift 16s ease-in-out infinite alternate; }
.px-cta__aurora i:nth-child(1) { left: -8%; top: 10%; background: rgba(99, 102, 241, 0.45); }
.px-cta__aurora i:nth-child(2) { right: -6%; top: -20%; background: rgba(168, 85, 247, 0.4); animation-duration: 19s; animation-delay: -6s; }
.px-cta__aurora i:nth-child(3) { left: 30%; bottom: -40%; background: rgba(56, 189, 248, 0.35); animation-duration: 22s; animation-delay: -11s; }
@keyframes px-cta-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12%, 8%) scale(1.15); }
  100% { transform: translate(-8%, -6%) scale(0.95); }
}
.px-cta__beam { position: absolute; inset: -20% auto -20% 0; z-index: -1; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.09) 45%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.09) 55%, transparent); transform: translateX(-120%) skewX(-18deg); animation: px-cta-beam 7s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
@keyframes px-cta-beam { 0%, 55% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
.px-cta__spot { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(165, 190, 255, 0.18), transparent 60%); }
.px-cta__card:hover .px-cta__spot { opacity: 1; }
.px-cta__card::before { animation: px-cta-grid 24s linear infinite; }
@keyframes px-cta-grid { to { background-position: 0 32px, 32px 0; } }
.px-cta__card h2 { background: linear-gradient(100deg, #fff 0%, #fff 40%, #a5bfff 50%, #fff 60%, #fff 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; animation: px-cta-shine 6s ease-in-out infinite; }
@keyframes px-cta-shine { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
.px-cta__chip b { animation: px-cta-pulse 2s ease-out infinite; }
@keyframes px-cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); } 100% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.px-cta .px-btn--light { position: relative; overflow: hidden; }
.px-cta .px-btn--light::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(165, 190, 255, 0.55) 50%, transparent 70%); transform: translateX(-100%); animation: px-cta-btn 4s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes px-cta-btn { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
/* intro: chip, title, text and buttons rise in one after another */
.px-cta__card > .px-cta__chip, .px-cta__card > h2, .px-cta__card > p, .px-cta__card > .px-cta__actions { opacity: 0; transform: translateY(16px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.px-cta__card.is-in > .px-cta__chip, .px-cta__card.is-in > h2, .px-cta__card.is-in > p, .px-cta__card.is-in > .px-cta__actions { opacity: 1; transform: none; }
.px-cta__card.is-in > h2 { transition-delay: 0.1s; }
.px-cta__card.is-in > p { transition-delay: 0.2s; }
.px-cta__card.is-in > .px-cta__actions { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .px-cta__aurora i, .px-cta__beam, .px-cta__card::before, .px-cta__card h2, .px-cta__chip b, .px-cta .px-btn--light::after { animation: none !important; }
  .px-cta__beam { display: none; }
  .px-cta__card > * { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------- footer
   Same as the Storybook footer: columns on top, the outlined "Pixels" wordmark sits behind them. */
.px-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 16px;
  padding: 64px 0 32px;
  border-top: 1px solid var(--sh-line);
  background: var(--sh-bg);
}
.px-footer .site-footer__top {
  position: relative;
  z-index: 1;
}
.px-footer .site-footer__brand p,
.px-footer .site-footer__nav a,
.px-footer .copy,
.px-footer .site-footer__meta {
  color: var(--sh-fg-3);
}
.px-footer .site-footer__h {
  color: var(--sh-fg);
}
.px-footer .site-footer__nav a:hover {
  color: var(--sh-fg);
}
.px-footer .site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top-color: var(--sh-line);
}
.px-footer .site-footer__word {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 1200px;
  margin: 0 auto;
  pointer-events: none;
}
.px-footer .site-footer__word svg {
  margin-bottom: -4%;
}
/* quieter wordmark: soft grid, faint outline, one brand-colored light */
.px-footer .site-footer__word .w-grid { opacity: 0.08; }
.px-footer .site-footer__word .w-line { opacity: 0.18; }
.px-footer .site-footer__word .w-run { opacity: 0.22; }
.px-footer .site-footer__word .w-run--b { stroke: var(--sh-brand); opacity: 0.14; }

/* Motion pages: plain black headings (no gradient text), like the rest of the site */
body[data-page='motion'] .grad {
  background: none;
  color: inherit;
  animation: none;
  -webkit-text-fill-color: currentColor;
}

/* ---------------------------------------------------------------- one button style for every marketing page
   Same height, radius, type and border on the home page, Components, Motion, Solutions, Pricing and the CTA.
   (Component demos inside the docs keep their own px-btn sizes: they show the component itself.) */
.btn,
.hx-ctas .px-btn,
.pc-btn {
  box-sizing: border-box !important;
  min-height: 0 !important;
  height: 40px !important;
  padding: 0 16px !important;
  gap: 8px !important;
  border-radius: 10px !important;
  font: 500 14px/1 var(--font-family, 'Poppins', sans-serif) !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}
.btn--lg,
.hx-ctas .px-btn--lg {
  height: 44px !important;
  padding: 0 18px !important;
}
.btn--dark,
.hx-ctas .hx-cta,
.pc-btn--dark {
  background: var(--sh-fg) !important;
  border: 1px solid var(--sh-fg) !important;
  color: var(--sh-bg) !important;
}
.btn--dark:hover,
.hx-ctas .hx-cta:hover,
.pc-btn--dark:hover {
  background: color-mix(in srgb, var(--sh-fg) 86%, var(--sh-bg)) !important;
}
/* plan cards: every plan button is the black primary, like the other site buttons */
.pc-btn--pri {
  background: var(--sh-fg) !important;
  border: 1px solid var(--sh-fg) !important;
  color: var(--sh-bg) !important;
}
.pc-btn--pri:hover {
  background: color-mix(in srgb, var(--sh-fg) 86%, var(--sh-bg)) !important;
}
.btn--outline,
.hx-ctas .px-btn--secondary-gray,
.pc-btn:not(.pc-btn--pri):not(.pc-btn--dark) {
  background: var(--sh-bg) !important;
  border: 1px solid var(--sh-btn-line, #d4d4d8) !important;
  color: var(--sh-fg) !important;
}
.btn--outline:hover,
.hx-ctas .px-btn--secondary-gray:hover,
.pc-btn:not(.pc-btn--pri):not(.pc-btn--dark):hover {
  background: var(--sh-muted) !important;
}
.px-cta .px-btn {
  height: 44px !important;
  padding: 0 18px !important;
}

/* ---------------------------------------------------------------- one hero style
   Home, Components and the Storybook overview share the same headline and intro text. */
.site .hero2 .h1,
.site .hx .hx-hero h1 {
  font-size: clamp(36px, 5.6vw, 64px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
  font-weight: 600 !important;
}
.site .hero2 .h1 + .lead,
.site .hero2 .lead,
.site .hx .hx-hero h1 + p {
  max-width: 640px;
  margin-inline: auto;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: var(--sh-fg-3) !important;
}
@media (max-width: 640px) {
  .site .hero2 .h1 + .lead,
  .site .hero2 .lead,
  .site .hx .hx-hero h1 + p {
    font-size: 16px !important;
  }
}

/* ---------------------------------------------------------------- hero pill: link to the Storybook */
.hm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--sh-line);
  border-radius: 999px;
  background: var(--sh-bg);
  font-size: 13px;
  color: var(--sh-fg-2);
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.hm-pill:hover {
  border-color: var(--sh-line-2);
}
.hm-pill__new {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sh-fg);
  color: var(--sh-bg);
  font-size: 11px;
  font-weight: 600;
}
.hm-pill svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ---------------------------------------------------------------- promo bar: free Figma kit, under the header */
.promo {
  --pr-bg: #0b1020;
  --pr-fg: #f4f6fb;
  --pr-mute: #a6b0c8;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 80px at 18% -40%, rgba(37, 99, 235, 0.55), transparent 70%),
    radial-gradient(520px 80px at 82% 140%, rgba(124, 58, 237, 0.45), transparent 70%),
    var(--pr-bg);
  color: var(--pr-fg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.promo::after {
  /* a soft light sweeps across once in a while */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.07) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: promo-sweep 7s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes promo-sweep {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.promo__in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}
.promo__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.3;
  padding: 8px 0;
}
.promo__fig {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.promo__tag {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #052e16;
  background: linear-gradient(180deg, #6ee7a8, #34d399);
}
.promo__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo__text b { font-weight: 600; }
.promo__sub { color: var(--pr-mute); }
.promo__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding: 4px 4px 4px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  color: #fff;
}
.promo__cta .ico { width: 14px; height: 14px; transition: transform 0.18s ease; }
.promo__link:hover .promo__cta .ico { transform: translateX(3px); }
.promo__link:hover .promo__text b { text-decoration: underline; text-underline-offset: 3px; }
.promo__link:focus-visible { outline: 2px solid #93b4ff; outline-offset: 2px; border-radius: 6px; }
@media (max-width: 720px) {
  .promo__sub, .promo__brand { display: none; }
  .promo__link { font-size: 13px; gap: 8px; }
}
@media (max-width: 380px) {
  .promo__fig { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .promo::after { animation: none; display: none; }
  .promo__cta .ico { transition: none; }
}

