/* ==========================================================================
   Agora AI design system: site.css
   The contract for every page. Component catalog and snippets: docs/DESIGN.md
   Sections:
     1  Fonts                    10  Tabs, accordion, switch
     2  Tokens                   11  Pricing, comparison table
     3  Reset and base           12  Forms
     4  Typography               13  Callout, CTA band, marquee, chips
     5  Layout                   14  Chat UI kit, app window, inbox, context panel
     6  Background effects       15  Mini charts
     7  Buttons, links, badges   16  Header, mobile menu, footer
     8  Cards, spotlight, bento  17  Page hero, hero shell, sub-nav, prose
     9  Features, steps, flow    18  Reveal, reduced motion, utilities
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
/* Self-hosted Latin subsets (SIL OFL 1.1, licences in /assets/fonts). The ?v=1
   query must match the <link rel="preload"> in layout.html byte for byte. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-wght.woff2?v=1) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/assets/fonts/sora-latin-wght.woff2?v=1) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono ships one static weight (500, used for eyebrows and labels). The
   face also answers weight 400, so regular-weight mono text uses it unsynthesized
   and every page downloads a single mono file. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-500.woff2?v=1) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so the swap to Inter does not shift layout. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

/* 2. Tokens (from brand/tokens.json) -------------------------------------- */
:root {
  /* Backgrounds */
  --ink: #06070B;
  --bg-subtle: #0A0B11;
  --surface-1: #0E1018;
  --surface-2: #141723;
  --surface-3: #1B1F2E;
  --surface-4: #232839;
  --overlay: rgba(6, 7, 11, 0.72);
  --glass: rgba(18, 21, 32, 0.62);
  --glass-strong: rgba(20, 23, 35, 0.86);

  /* Borders */
  --border-subtle: #1A1D2A;
  --border: #262B3C;
  --border-strong: #363C52;
  --border-brand: rgba(138, 110, 255, 0.45);
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-strong: rgba(255, 255, 255, 0.12);

  /* Text */
  --text-1: #F3F5FA;
  --text-2: #A3ABC4;
  --text-3: #878FAA; /* 4.5:1+ on every surface up to --surface-4 (#232839) */
  --text-disabled: #4A5068;
  --text-link: #A9A6FF;
  --text-on-brand: #FFFFFF;
  --text-inverse: #0B0D17;

  /* Brand */
  --violet-50: #F1EEFF;
  --violet-100: #E2DCFF;
  --violet-200: #CBC2FF;
  --violet-300: #A9A6FF;
  --violet-400: #8A6EFF;
  --violet-500: #6C4DFF;
  --violet-600: #5634EC;
  --violet-700: #4321DE;
  --violet-800: #2E159E;
  --violet-900: #1A0C5C;
  --aqua-200: #B5F7EE;
  --aqua-300: #7DF0E2;
  --aqua-400: #46E8D4;
  --aqua-500: #1FCDB8;
  --aqua-700: #0B8A90;
  --aqua-800: #0A7F86;

  /* Status */
  --success: #3DDC97;
  --warning: #F5B544;
  --danger: #FF5C7A;
  --info: #8A6EFF;

  /* Gradients */
  --grad-brand: linear-gradient(45deg, #5A3BF5 0%, #6C4DFF 50%, #8A6EFF 77%, #A9A6FF 88%, #7DF0E2 96%, #46E8D4 100%);
  --grad-button: linear-gradient(180deg, #7B5CFF 0%, #6C4DFF 100%);
  --grad-text: linear-gradient(90deg, #A9A6FF 0%, #7DF0E2 100%);
  --grad-hero-glow: radial-gradient(60% 50% at 50% 0%, rgba(108, 77, 255, 0.32) 0%, rgba(108, 77, 255, 0) 70%), radial-gradient(28% 22% at 62% 8%, rgba(70, 232, 212, 0.16) 0%, rgba(70, 232, 212, 0) 70%);
  --grad-border: linear-gradient(140deg, rgba(169, 166, 255, 0.55), rgba(108, 77, 255, 0.12) 38%, rgba(108, 77, 255, 0.06) 62%, rgba(70, 232, 212, 0.38));
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%);

  /* Shadows */
  --shadow-glow-brand: 0 0 0 1px rgba(138, 110, 255, 0.35), 0 8px 40px -8px rgba(108, 77, 255, 0.55);
  --shadow-glow-aqua: 0 0 24px rgba(70, 232, 212, 0.45);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-float: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04);

  /* Radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;
  --r-bubble-in: 18px 18px 18px 4px;   /* customer: square corner lower left (house bubble) */
  --r-bubble-out: 18px 18px 4px 18px;  /* agent/teammate: mirrored */

  /* Type */
  --font-display: 'Sora', 'Inter', 'Inter Fallback', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --container-wide: 1360px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --section-y-tight: clamp(48px, 6vw, 88px);
  --header-h: 68px;
  --stack: 16px;
}

/* 3. Reset and base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
  hanging-punctuation: first last;
}
/* Pages with a sticky .subnav under the header: keep focused controls and anchor
   targets clear of both bars (page CSS lowers its section scroll-margins to match). */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }
/* No global scroll-behavior:smooth: it would also smooth programmatic scrolls (tests,
   screenshots, scroll restoration). site.js smooth-scrolls same-page #anchor clicks instead. */
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.is-menu-open, html.is-menu-open body { overflow: hidden; }
main { display: block; outline: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p a:not([class]), dd a:not([class]), .link-list a:not([class]) {
  color: var(--text-link);
  text-decoration: underline;
  text-decoration-color: rgba(169, 166, 255, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-base);
}
p a:not([class]):hover, dd a:not([class]):hover, .link-list a:not([class]):hover { text-decoration-color: currentColor; }
strong, b { color: var(--text-1); font-weight: 600; }
hr { border: 0; height: 1px; background: var(--border-subtle); margin: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: rgba(108, 77, 255, 0.55); color: #fff; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: var(--violet-500);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur-base) var(--ease-out);
}
.skip-link:focus-visible { transform: none; outline-color: #fff; }

.icon {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.25em;
}
.icon--sm { width: 16px; height: 16px; }
.icon--md { width: 20px; height: 20px; }
.icon--lg { width: 24px; height: 24px; }

/* 4. Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
p, li, dd, figcaption { text-wrap: pretty; }

.t-display-xl { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 1.15rem + 4.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--text-1); }
.t-display-lg { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.125rem, 1.3rem + 2.7vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--text-1); }
.t-h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.45rem + 1.9vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; color: var(--text-1); }
.t-h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.18; letter-spacing: -0.02em; color: var(--text-1); }
.t-h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem); line-height: 1.3; letter-spacing: -0.012em; color: var(--text-1); }
.t-h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.4; letter-spacing: -0.005em; color: var(--text-1); }
.t-body-lg, .lede { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; color: var(--text-2); }
.t-body { font-size: 1rem; line-height: 1.6; }
.t-small { font-size: 0.875rem; line-height: 1.5; }
.t-xs { font-size: 0.8125rem; line-height: 1.45; }
.t-mono { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-300);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(169, 166, 255, 0), var(--violet-300));
}
.eyebrow--plain::before { display: none; }
.eyebrow--pill {
  padding: 6px 12px 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(108, 77, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.28);
  backdrop-filter: blur(8px);
}
.eyebrow--pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua-400);
  box-shadow: 0 0 10px rgba(70, 232, 212, 0.8);
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.text-brand { color: var(--violet-300); }
.text-ai { color: var(--aqua-300); }
.text-1 { color: var(--text-1); }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.mono { font-family: var(--font-mono); }

/* 5. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--first { padding-top: calc(var(--header-h) + var(--section-y-tight)); }
.section--subtle { background: var(--bg-subtle); }
.section--bordered { border-block: 1px solid var(--border-subtle); }
.section--clip { overflow: clip; }
.section > .container { position: relative; z-index: 1; }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > * + * { margin-top: 16px; }
.section-head .eyebrow + * { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; gap: 20px 64px; align-items: end; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .section-head--split > * + * { margin-top: 0; }
}
.section-head__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem); line-height: 1.06; letter-spacing: -0.03em; color: var(--text-1); }
.section-head__lede { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; color: var(--text-2); max-width: 640px; }
.section-head--center .section-head__lede { margin-inline: auto; }

.grid { display: grid; gap: var(--grid-gap, 20px); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid--gap-lg { --grid-gap: 32px; }
.grid--gap-sm { --grid-gap: 12px; }

.stack { display: flex; flex-direction: column; gap: var(--stack); }
.stack--sm { --stack: 8px; }
.stack--lg { --stack: 28px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, 12px); }

.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse > :first-child { order: 2; }
}

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) {
  .btn-row--stack-sm { flex-direction: column; align-items: stretch; }
  .btn-row--stack-sm .btn { width: 100%; }
}

/* 6. Background effects ---------------------------------------------------- */
/* Decorative layers. Put them as the first children of a position:relative
   section; they are absolutely positioned and pointer-events:none. */
.fx-aurora, .fx-grid, .fx-noise, .fx-plaza, .fx-rays, .fx-beam {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.fx-aurora { inset: 0; overflow: hidden; }
.fx-aurora::before, .fx-aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.fx-aurora::before {
  width: min(1100px, 140vw);
  height: 640px;
  left: 50%;
  top: -340px;
  margin-left: calc(min(1100px, 140vw) / -2);
  background: radial-gradient(closest-side, rgba(108, 77, 255, 0.42), rgba(108, 77, 255, 0.12) 55%, rgba(108, 77, 255, 0) 100%);
}
.fx-aurora::after {
  width: 520px;
  height: 340px;
  left: 58%;
  top: -150px;
  background: radial-gradient(closest-side, rgba(70, 232, 212, 0.16), rgba(70, 232, 212, 0) 100%);
}
.fx-aurora--center::before { top: 50%; margin-top: -320px; }
.fx-aurora--center::after { top: 50%; margin-top: -170px; left: 52%; }
.fx-aurora--bottom::before { top: auto; bottom: -380px; }
.fx-aurora--bottom::after { top: auto; bottom: -180px; left: 30%; }
.fx-aurora--soft::before { opacity: 0.6; }
@media (prefers-reduced-motion: no-preference) {
  .fx-aurora::before { animation: fx-drift-a 22s var(--ease-in-out) infinite alternate; }
  .fx-aurora::after { animation: fx-drift-b 18s var(--ease-in-out) infinite alternate; }
}
@keyframes fx-drift-a { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, 4%, 0) scale(1.08); } }
@keyframes fx-drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-18%, 12%, 0); } }

.fx-grid {
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
}
.fx-grid--center {
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 75%);
}
.fx-grid--dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.5px);
  background-size: 22px 22px;
}

.fx-noise {
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxODAnIGhlaWdodD0nMTgwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjg1JyBudW1PY3RhdmVzPSczJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPScwIDAgMCAwIDEgMCAwIDAgMCAxIDAgMCAwIDAgMSAwIDAgMCAuNiAwJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
  background-size: 180px 180px;
}

/* One-point perspective plaza floor: near edge at the bottom of the layer, grid
   lines converging on a vanishing point at its top centre (the brand's "agora"). */
.fx-plaza {
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  overflow: hidden;
  perspective: 300px;
  perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 35%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 35%, #000 100%);
}
.fx-plaza::before {
  content: "";
  position: absolute;
  left: -150%;
  right: -150%;
  bottom: 0;
  height: 320%;
  transform-origin: 50% 100%;
  transform: rotateX(76deg);
  background-image:
    linear-gradient(to right, rgba(138, 110, 255, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138, 110, 255, 0.5) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center bottom;
  -webkit-mask-image: radial-gradient(ellipse 34% 70% at 50% 100%, #000 20%, transparent 85%);
  mask-image: radial-gradient(ellipse 34% 70% at 50% 100%, #000 20%, transparent 85%);
}
@media (prefers-reduced-motion: no-preference) {
  .fx-plaza--moving::before { animation: fx-plaza-move 5s linear infinite; will-change: transform; }
}
/* Moves the plane one grid cell toward the viewer (transform only), so the loop is seamless. */
@keyframes fx-plaza-move { from { transform: rotateX(76deg) translate3d(0, 0, 0); } to { transform: rotateX(76deg) translate3d(0, 64px, 0); } }

/* Converging rays toward a point (default: bottom centre). */
.fx-rays {
  inset: 0;
  background: repeating-conic-gradient(from 180deg at 50% 100%, rgba(138, 110, 255, 0.16) 0deg 0.6deg, transparent 0.6deg 7.5deg);
  -webkit-mask-image: radial-gradient(ellipse 60% 85% at 50% 100%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 85% at 50% 100%, #000 0%, transparent 70%);
}
.fx-rays--top {
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(138, 110, 255, 0.14) 0deg 0.6deg, transparent 0.6deg 7.5deg);
  -webkit-mask-image: radial-gradient(ellipse 60% 85% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 85% at 50% 0%, #000 0%, transparent 70%);
}

/* Glowing hairline, e.g. at the top edge of a band. */
.fx-beam {
  left: 50%;
  top: 0;
  width: min(880px, 90%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(169, 166, 255, 0.7) 30%, rgba(125, 240, 226, 0.8) 55%, rgba(169, 166, 255, 0.5) 75%, transparent);
}
.fx-beam::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: -24px;
  height: 48px;
  background: radial-gradient(closest-side, rgba(108, 77, 255, 0.35), transparent);
}

.divider-glow {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--border-strong) 20%, rgba(138, 110, 255, 0.55) 50%, var(--border-strong) 80%, transparent);
}

/* 7. Buttons, links, badges ------------------------------------------------ */
.btn {
  --btn-h: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--btn-h);
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), background-color var(--dur-base), border-color var(--dur-base), color var(--dur-base);
}
.btn .icon { width: 16px; height: 16px; transition: transform var(--dur-slow) var(--ease-out); }
.btn:hover .icon--arrow, .btn:focus-visible .icon--arrow { transform: translateX(3px); }
.btn:focus-visible { outline-offset: 3px; border-radius: var(--r-pill); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.btn--primary {
  color: var(--text-on-brand);
  background:
    linear-gradient(180deg, #7B5CFF 0%, #6C4DFF 100%) padding-box,
    linear-gradient(120deg, #B8B5FF 0%, #7B5CFF 35%, #6C4DFF 60%, #46E8D4 100%) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 22px -6px rgba(108, 77, 255, 0.75), 0 0 0 0 rgba(108, 77, 255, 0);
  text-shadow: 0 1px 1px rgba(30, 10, 120, 0.35);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 10px 32px -6px rgba(108, 77, 255, 0.9), 0 0 0 4px rgba(108, 77, 255, 0.16);
}
@media (prefers-reduced-motion: no-preference) {
  .btn--primary:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-out); }
}

.btn--secondary {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-1px); }

.btn--ghost { color: var(--text-2); background: transparent; }
.btn--ghost:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.05); }

.btn--sm { --btn-h: 36px; padding: 0 15px; font-size: 0.875rem; }
.btn--lg { --btn-h: 52px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--icon { width: var(--btn-h); padding: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-link);
  font-weight: 550;
  font-size: 0.9375rem;
  line-height: 1.3;
  transition: color var(--dur-base), gap var(--dur-slow) var(--ease-out);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--dur-slow) var(--ease-out); }
.link-arrow:hover { color: var(--violet-100); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--muted { color: var(--text-2); }
.link-arrow--muted:hover { color: var(--text-1); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border);
  vertical-align: middle;
}
.badge .icon { width: 12px; height: 12px; }
.badge--sm { height: 20px; padding: 0 8px; font-size: 0.625rem; }
.badge--brand { color: var(--violet-200); background: rgba(108, 77, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.4); }
.badge--ai { color: var(--aqua-300); background: rgba(70, 232, 212, 0.08); box-shadow: inset 0 0 0 1px rgba(70, 232, 212, 0.28); }
.badge--ai::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua-400);
  box-shadow: 0 0 8px rgba(70, 232, 212, 0.9);
}
.badge--sample { color: var(--warning); background: rgba(245, 181, 68, 0.08); box-shadow: inset 0 0 0 1px rgba(245, 181, 68, 0.38); }
.badge--success { color: var(--success); background: rgba(61, 220, 151, 0.08); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.3); }
.badge--warning { color: var(--warning); background: rgba(245, 181, 68, 0.08); box-shadow: inset 0 0 0 1px rgba(245, 181, 68, 0.3); }
.badge--danger { color: var(--danger); background: rgba(255, 92, 122, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.3); }
.badge--solid { color: #fff; background: var(--grad-button); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px -4px rgba(108, 77, 255, 0.8); }

/* "AI is responding" pulse dot (motion.ai-pulse) */
.ai-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua-400);
  box-shadow: 0 0 10px rgba(70, 232, 212, 0.75);
}
@media (prefers-reduced-motion: no-preference) {
  .ai-dot { animation: ai-pulse 1600ms cubic-bezier(0.4, 0, 0.2, 1) infinite; }
}
@keyframes ai-pulse { 0%, 100% { opacity: 0.35; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }

/* 8. Cards, spotlight, bento ---------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-xl);
  background: var(--grad-surface), var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--border-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  isolation: isolate;
}
.card > * { position: relative; z-index: 1; }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.125rem, 1.04rem + 0.3vw, 1.3125rem); line-height: 1.3; letter-spacing: -0.012em; color: var(--text-1); }
.card__text { margin-top: 10px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.6; }
.card__footer { margin-top: auto; padding-top: 22px; }
.card__icon + .card__title, .card__visual + .card__title, .card__kicker + .card__title { margin-top: 18px; }
.card__kicker { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--text-3); text-transform: uppercase; }

.card--raised { background: var(--grad-surface), var(--surface-2); box-shadow: inset 0 0 0 1px var(--border), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 40px -16px rgba(0, 0, 0, 0.7); }
.card--glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-float);
}
.card--brand {
  background:
    linear-gradient(var(--surface-1), var(--surface-1)) padding-box,
    var(--grad-border) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 transparent, 0 24px 60px -24px rgba(108, 77, 255, 0.45);
}
.card--flat { background: transparent; box-shadow: inset 0 0 0 1px var(--border-subtle); }
.card--compact { padding: 20px; border-radius: var(--r-lg); }

/* Whole-card link: put .card__link on the main <a>; its ::after covers the card.
   The ::after must resolve against the card, so the link and the card's child that
   holds it (.card__footer, a body wrapper, a title) drop the position that
   `.card > *` gives them; z-index 2 keeps the overlay above the other children. */
.card > .card__link, .card > :has(.card__link) { position: static; z-index: 2; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--violet-300); outline-offset: 3px; }
.card--interactive { transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out); }
.card--interactive:hover { transform: translateY(-3px); }

/* Icon tile used at the top of cards and features. */
.icon-tile {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--violet-200);
  background:
    radial-gradient(120% 120% at 30% 0%, rgba(138, 110, 255, 0.35), rgba(108, 77, 255, 0.06) 60%) padding-box,
    linear-gradient(160deg, rgba(169, 166, 255, 0.6), rgba(108, 77, 255, 0.12) 60%) border-box;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px -8px rgba(108, 77, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile--sm { width: 34px; height: 34px; border-radius: 10px; }
.icon-tile--sm .icon { width: 17px; height: 17px; }
.icon-tile--ai {
  color: var(--aqua-300);
  background:
    radial-gradient(120% 120% at 30% 0%, rgba(70, 232, 212, 0.22), rgba(70, 232, 212, 0.03) 60%) padding-box,
    linear-gradient(160deg, rgba(125, 240, 226, 0.55), rgba(70, 232, 212, 0.08) 60%) border-box;
  box-shadow: 0 8px 20px -10px rgba(70, 232, 212, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.icon-tile--neutral {
  color: var(--text-1);
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2)) padding-box, linear-gradient(180deg, var(--border-strong), var(--border-subtle)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Spotlight: a soft light and a lit border follow the pointer (JS sets --mx/--my). */
.spotlight { --mx: 50%; --my: 0%; }
.spotlight::before, .spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  z-index: 0;
}
.spotlight::before {
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(108, 77, 255, 0.13), transparent 42%);
}
.spotlight::after {
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(169, 166, 255, 0.75), rgba(125, 240, 226, 0.25) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spotlight:hover::before, .spotlight:hover::after, .spotlight:focus-within::before, .spotlight:focus-within::after { opacity: 1; }
[data-spotlight-group]:hover .spotlight::after { opacity: 0.6; }
[data-spotlight-group] .spotlight:hover::after { opacity: 1; }

/* Bento grid: 6 columns on desktop, items span 2, 3, 4 or 6. */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__item--6 { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento__item { grid-column: span 3; }
  .bento__item--2 { grid-column: span 2; }
  .bento__item--3 { grid-column: span 3; }
  .bento__item--4 { grid-column: span 4; }
  .bento__item--6 { grid-column: span 6; }
  .bento__item--tall { grid-row: span 2; }
}
.bento__item { min-width: 0; padding: 0; overflow: hidden; }
/* The fade covers the bottom padding only, so the art's last line (a source chip, a
   summary row) is never ghosted, and every card keeps the same air above its body. */
.bento__visual {
  position: relative;
  min-height: 220px;
  padding: 24px 24px 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%);
}
.bento__visual > .badge--sample { position: absolute; top: 18px; right: 18px; z-index: 3; }
.bento__visual:has(> .badge--sample) { padding-top: 54px; }
.bento__body { padding: 12px clamp(22px, 2.6vw, 30px) clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; flex: 1; }
.bento__body .card__footer { padding-top: 18px; }

/* 9. Features, check list, steps, flow ------------------------------------ */
.feature-list { display: grid; gap: 28px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .feature-list--2, .feature-list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* align-content: start keeps title and text together when a taller neighbour stretches the row. */
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; align-content: start; }
.feature .icon-tile { grid-row: span 2; }
.feature__title { font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--text-1); letter-spacing: -0.005em; padding-top: 2px; }
.feature__text { font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }
.feature--stacked { grid-template-columns: minmax(0, 1fr); gap: 0; }
.feature--stacked .icon-tile { grid-row: auto; margin-bottom: 16px; }
.feature--stacked .feature__text { margin-top: 6px; }

.check-list { display: grid; gap: 10px; }
.check-list > li { position: relative; padding-left: 28px; font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }
.check-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(108, 77, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.4);
}
.check-list > li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4.5px;
  border-left: 1.75px solid var(--violet-200);
  border-bottom: 1.75px solid var(--violet-200);
  transform: rotate(-45deg);
}
.check-list--ai > li::before { background: rgba(70, 232, 212, 0.12); box-shadow: inset 0 0 0 1px rgba(70, 232, 212, 0.35); }
.check-list--ai > li::after { border-color: var(--aqua-300); }
.dash-list { display: grid; gap: 10px; }
.dash-list > li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }
/* 2px tall and centred on the first line: a 1.5px dash at a fractional y anti-aliases
   to a grey-looking stroke, which loses the --warning colour. */
.dash-list > li::before { content: ""; position: absolute; left: 2px; top: calc(0.775em - 1px); top: calc(0.5lh - 1px); width: 10px; height: 2px; background: var(--text-3); }
.dash-list--warn > li::before { background: var(--warning); }

/* Steps: numbered process, horizontal from 960px with a connecting line. */
.steps { display: grid; gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; align-items: start; align-content: start; }
.step__num {
  grid-row: span 2;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--violet-100);
  background: radial-gradient(circle at 30% 20%, rgba(138, 110, 255, 0.4), rgba(14, 16, 24, 1) 70%) padding-box, var(--grad-brand) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 0 6px var(--ink), 0 0 24px -4px rgba(108, 77, 255, 0.7);
}
.step__title { font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.012em; color: var(--text-1); padding-top: 9px; }
.step__text { color: var(--text-2); font-size: 0.9375rem; line-height: 1.6; }
.steps::before {
  content: "";
  position: absolute;
  left: 21.5px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(138, 110, 255, 0.7), rgba(70, 232, 212, 0.5) 70%, rgba(70, 232, 212, 0));
}
@media (min-width: 960px) {
  .steps:not(.steps--vertical) { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 32px; }
  .steps:not(.steps--vertical) .step { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps:not(.steps--vertical) .step__num { grid-row: auto; margin-bottom: 22px; }
  .steps:not(.steps--vertical) .step__title { padding-top: 0; }
  .steps:not(.steps--vertical) .step__text { margin-top: 10px; }
  .steps:not(.steps--vertical)::before {
    left: 22px;
    right: 0;
    top: 22px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(138, 110, 255, 0.8), rgba(138, 110, 255, 0.35) 50%, rgba(70, 232, 212, 0.6) 85%, rgba(70, 232, 212, 0));
  }
}

/* Flow: a short chain of actions (A -> B -> C), e.g. sample workflows. */
.flow { display: flex; flex-direction: column; gap: 8px; counter-reset: flow; }
.flow__step {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px var(--border-subtle);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-2);
}
.flow__step::before {
  counter-increment: flow;
  content: counter(flow);
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--violet-200);
  background: rgba(108, 77, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.35);
}
.flow__step + .flow__step::after {
  content: "";
  position: absolute;
  left: 24px;
  top: -9px;
  width: 1px;
  height: 9px;
  background: rgba(138, 110, 255, 0.5);
}
@media (min-width: 960px) {
  .flow--row { flex-direction: row; align-items: stretch; gap: 14px; }
  .flow--row .flow__step { flex: 1; flex-direction: column; }
  .flow--row .flow__step + .flow__step::after { left: -14px; top: 50%; width: 14px; height: 1px; }
}

/* 10. Tabs, accordion, switch --------------------------------------------- */
.tabs__list {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--hairline);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--text-2);
  white-space: nowrap;
  transition: color var(--dur-base);
}
.tabs__tab .icon { width: 16px; height: 16px; }
.tabs__tab:hover { color: var(--text-1); }
.tabs__tab[aria-selected="true"] { color: var(--text-1); }
.tabs__tab:focus-visible { outline-offset: -2px; border-radius: var(--r-pill); }
/* Indicator: JS positions it; without JS the selected tab gets a plain background. */
.tabs__indicator {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--w, 0);
  transform: translateX(var(--x, 0));
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(138, 110, 255, 0.32), rgba(108, 77, 255, 0.2));
  box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.35), 0 4px 16px -6px rgba(108, 77, 255, 0.7);
  transition: transform var(--dur-slow) var(--ease-out), width var(--dur-slow) var(--ease-out);
}
.tabs:not(.is-ready) .tabs__tab[aria-selected="true"] { background: rgba(108, 77, 255, 0.25); }
.tabs__panel { margin-top: 28px; }
.tabs__panel:focus-visible { outline-offset: 6px; border-radius: var(--r-md); }
/* No JS (or site.js failed: boot.js then removes html.js): show every panel. */
html:not(.js) .tabs__list { display: none; }
html:not(.js) .tabs__panel { display: block !important; }

.accordion { border-top: 1px solid var(--border-subtle); }
.accordion__item { border-bottom: 1px solid var(--border-subtle); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-1);
  transition: color var(--dur-base);
}
.accordion__trigger::-webkit-details-marker { display: none; }
.accordion__trigger:hover { color: var(--violet-100); }
.accordion__trigger:focus-visible { outline-offset: 2px; }
.accordion__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--border-strong);
  transition: background var(--dur-base), box-shadow var(--dur-base);
}
.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  margin: -0.75px 0 0 -5px;
  border-radius: 1px;
  background: var(--text-1);
  transition: transform var(--dur-slow) var(--ease-out);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__item[open] .accordion__icon { background: rgba(108, 77, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.5); }
.accordion__item[open] .accordion__icon::after { transform: rotate(0deg); }
.accordion__panel { padding: 0 52px 24px 4px; color: var(--text-2); font-size: 0.9875rem; line-height: 1.65; }
.accordion__panel > * + * { margin-top: 12px; }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .accordion { interpolate-size: allow-keywords; }
    .accordion__item::details-content { block-size: 0; overflow: clip; transition: block-size 360ms var(--ease-out), content-visibility 360ms allow-discrete; }
    .accordion__item[open]::details-content { block-size: auto; }
  }
}

/* Switch (role="switch"). */
.switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border-radius: var(--r-pill);
  background: var(--surface-4);
  box-shadow: inset 0 0 0 1px var(--border-strong), inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: background var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow);
}
.switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, #DCDFF0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  transition: transform var(--dur-slow) var(--ease-out);
}
/* Invisible hit area: 60 x 44px, so the 48 x 28px switch meets the 40px touch-target rule. */
.switch::before { content: ""; position: absolute; inset: -8px -6px; border-radius: var(--r-pill); }
.switch[aria-checked="true"] { background: var(--grad-button); box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.6), 0 0 18px -2px rgba(108, 77, 255, 0.7); }
.switch[aria-checked="true"] .switch__thumb { transform: translateX(20px); }
.switch:focus-visible { outline-offset: 3px; border-radius: var(--r-pill); }

.billing-toggle { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.billing-toggle__label { font-size: 0.9375rem; font-weight: 550; color: var(--text-3); cursor: pointer; transition: color var(--dur-base); user-select: none; display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle__label.is-active { color: var(--text-1); }
/* Reserved slot: a [data-billing-show] note and an invisible aria-hidden twin
   (.billing-slot__ghost) share one grid cell, so the slot always has the note's
   height and switching modes never shifts the layout below it. */
.billing-slot { display: grid; align-items: start; }
.billing-slot > * { grid-area: 1 / 1; }
.billing-slot__ghost { visibility: hidden; }
/* Without JS (or when site.js failed: boot.js then removes html.js) the switch cannot
   work: hide it (and its note slot) and show the static .billing-nojs lines that print
   the annual prices. */
.billing-nojs { display: none; }
html:not(.js) [data-billing-toggle], html:not(.js) .billing-slot { display: none; }
html:not(.js) .billing-nojs { display: block; margin-top: 4px; font-size: 0.8125rem; line-height: 1.5; color: var(--text-2); }

/* 11. Pricing cards, comparison table ------------------------------------- */
.pricing-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card { gap: 0; padding: clamp(26px, 2.8vw, 34px); }
.price-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.015em; color: var(--text-1); }
.price-card__desc { margin-top: 8px; font-size: 0.9375rem; color: var(--text-2); min-height: 3.2em; }
.price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 26px; }
.price-card__amount { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); line-height: 1; letter-spacing: -0.04em; color: var(--text-1); font-variant-numeric: tabular-nums; }
.price-card__unit { font-size: 0.9375rem; color: var(--text-2); }
.price-card__note { margin-top: 10px; font-size: 0.8125rem; color: var(--text-3); min-height: 1.5em; }
.price-card__meta { margin-top: 22px; padding: 16px 0; border-block: 1px solid var(--border-subtle); display: grid; gap: 10px; }
.price-card__meta > div { display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; }
.price-card__meta dt { color: var(--text-3); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px; }
.price-card__meta dd { color: var(--text-1); text-align: right; }
.price-card__cta { margin-top: 24px; }
.price-card__list-title { margin: 26px 0 14px; font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.price-card--featured {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(108, 77, 255, 0.22), rgba(108, 77, 255, 0) 70%) padding-box,
    linear-gradient(var(--surface-1), var(--surface-1)) padding-box,
    linear-gradient(160deg, rgba(169, 166, 255, 0.9), rgba(108, 77, 255, 0.35) 40%, rgba(70, 232, 212, 0.6)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(108, 77, 255, 0.7);
}
/* The featured card lifts 8px; the grid's top padding keeps the lift inside the grid
   box, so a .section--clip.section--flush-top section does not cut its top edge off. */
@media (min-width: 1024px) {
  .pricing-grid { padding-top: 8px; }
  .price-card--featured { transform: translateY(-8px); }
}

.compare {
  position: relative;
  overflow-x: auto;
  border-radius: var(--r-xl);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--border-subtle);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--border-strong) transparent;
}
.compare:focus-visible { outline-offset: 4px; border-radius: var(--r-xl); }
.compare__table { width: 100%; min-width: 720px; font-size: 0.9375rem; }
.compare__table th, .compare__table td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }
.compare__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-block: 20px;
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-1);
}
.compare__table th[scope="row"], .compare__table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--text-2);
  background: var(--surface-1);
  box-shadow: 1px 0 0 var(--border-subtle);
  min-width: 260px;
}
.compare__table thead th:first-child { z-index: 3; background: var(--surface-2); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }
.compare__table td { color: var(--text-1); }
.compare__group th {
  text-align: left !important;
  padding-top: 26px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-300) !important;
  background: var(--surface-1);
}
.compare__table tbody tr:not(.compare__group):hover > * { background-color: rgba(255, 255, 255, 0.02); }
.compare__table .is-featured { background-color: rgba(108, 77, 255, 0.06); }
.compare__table thead .is-featured { background: linear-gradient(180deg, rgba(108, 77, 255, 0.28), rgba(108, 77, 255, 0.1)), var(--surface-2); box-shadow: inset 0 2px 0 var(--violet-400); }
.compare__yes, .compare__no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; }
.compare__yes { color: var(--violet-100); background: rgba(108, 77, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.45); }
.compare__yes .icon { width: 14px; height: 14px; }
.compare__no { color: var(--text-disabled); }
.compare__no .icon { width: 14px; height: 14px; }

/* .compare--sticky: from 860px the table fits its container, so the wrapper clips
   (rounded corners, no scroll container) and the plan header row sticks under the
   site header. Below 860px it is the plain scrolling table unless .compare--stack. */
@media (min-width: 860px) {
  .compare--sticky { overflow: clip; }
  .compare--sticky .compare__table { table-layout: fixed; min-width: 0; }
  .compare--sticky .compare__table thead th { top: var(--header-h); box-shadow: inset 0 -1px 0 var(--border); }
  .compare--sticky .compare__table thead th:first-child { width: 34%; box-shadow: inset 0 -1px 0 var(--border), 1px 0 0 var(--border-subtle); }
  .compare--sticky .compare__table thead th.is-featured { box-shadow: inset 0 2px 0 var(--violet-400), inset 0 -1px 0 var(--border); }
  .compare--sticky .compare__table th[scope="row"] { min-width: 0; }
  .compare--sticky .compare__table tbody:last-child tr:last-child > * { border-bottom: 0; }
  /* The wrapper's inset outline paints under opaque sticky cells; redraw it on top so
     the card edge is continuous. */
  .compare--sticky::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--border-subtle); pointer-events: none; }
}
/* .compare--stack: under 860px every row becomes the feature label on its own line
   with the plan values in aligned columns below it, under a sticky plan bar. CSS
   display changes can drop native table semantics, so the markup MUST carry explicit
   ARIA roles (table, rowgroup, row, columnheader, rowheader, cell). Plan columns:
   --compare-cols (default 3). */
@media (max-width: 859px) {
  .compare--stack { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .compare--stack .compare__table { display: block; min-width: 0; font-size: 0.875rem; }
  .compare--stack .compare__table thead { display: block; position: sticky; top: var(--header-h); z-index: 3; padding-top: 8px; background: var(--ink); }
  .compare--stack .compare__table thead tr {
    display: grid;
    grid-template-columns: repeat(var(--compare-cols, 3), minmax(0, 1fr));
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: inset 0 0 0 1px var(--border), 0 14px 28px -14px rgba(0, 0, 0, 0.9);
  }
  .compare--stack .compare__table thead th { position: static; padding: 12px 4px; border-bottom: 0; background: transparent; }
  /* Out of the grid but still in the accessibility tree, so plan headers keep their columns. */
  .compare--stack .compare__table thead th:first-child { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .compare--stack .compare__table thead th.is-featured { background: linear-gradient(180deg, rgba(108, 77, 255, 0.3), rgba(108, 77, 255, 0.1)); box-shadow: inset 0 2px 0 var(--violet-400); }
  .compare--stack .compare__table tbody { display: block; }
  .compare--stack .compare__table tbody tr { display: grid; grid-template-columns: repeat(var(--compare-cols, 3), minmax(0, 1fr)); border-bottom: 1px solid var(--border-subtle); }
  .compare--stack .compare__table tbody tr:not(.compare__group):hover > * { background-color: transparent; }
  .compare--stack .compare__table th[scope="row"] { grid-column: 1 / -1; position: static; min-width: 0; padding: 14px 4px 2px; border-bottom: 0; background: none; box-shadow: none; font-size: 0.875rem; color: var(--text-1); }
  .compare--stack .compare__table td { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 4px 12px; border-bottom: 0; background: none; text-align: center; }
  .compare--stack .compare__table td.is-featured { background: linear-gradient(180deg, rgba(108, 77, 255, 0), rgba(108, 77, 255, 0.07)); }
  .compare--stack .compare__table tr.compare__group { display: block; border-bottom: 1px solid var(--border); }
  .compare--stack .compare__table .compare__group th { display: block; padding-inline: 4px; padding-bottom: 12px; background: none; }
}

/* Generic data table (e.g. integrations). */
.table-wrap { overflow-x: auto; border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--surface-1); }
.table { width: 100%; min-width: 640px; font-size: 0.9375rem; }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.table thead th { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); }
.table tbody th { color: var(--text-1); font-weight: 600; }
.table td { color: var(--text-2); }
.table tbody tr:last-child > * { border-bottom: 0; }

/* 12. Forms ----------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 720px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field__label { font-size: 0.875rem; font-weight: 550; color: var(--text-1); padding: 0; }
.field__label .field__req { color: var(--violet-300); margin-left: 2px; }
.field__label .field__optional { color: var(--text-3); font-weight: 400; margin-left: 6px; }
.field__help { font-size: 0.8125rem; color: var(--text-3); line-height: 1.45; }
.field__error { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--danger); line-height: 1.4; }
.field__error .icon { width: 14px; height: 14px; }

.input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface-3);
  color: var(--text-1);
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background var(--dur-base);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--text-3); opacity: 1; }
.input:hover { border-color: var(--border-strong); }
.input:focus-visible, .input:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 3px rgba(108, 77, 255, 0.28); background: #1D2132; }
.input[aria-invalid="true"] { border-color: rgba(255, 92, 122, 0.8); box-shadow: 0 0 0 3px rgba(255, 92, 122, 0.15); }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
textarea.input { min-height: 132px; resize: vertical; }
.select { position: relative; }
.select .input { padding-right: 42px; cursor: pointer; }
.select .icon { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--text-2); pointer-events: none; }
select.input option { background: var(--surface-3); color: var(--text-1); }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; display: inline-flex; }
.chip-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-check__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: color var(--dur-base), background var(--dur-base), box-shadow var(--dur-base);
  pointer-events: none;
}
.chip-check__label .icon { width: 16px; height: 16px; }
.chip-check__box {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1.5px var(--border-strong);
  transition: background var(--dur-base), box-shadow var(--dur-base);
}
.chip-check__box::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 4px;
  width: 7px;
  height: 4px;
  border-left: 1.75px solid #fff;
  border-bottom: 1.75px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform var(--dur-base) var(--ease-out);
}
.chip-check:hover .chip-check__label { color: var(--text-1); box-shadow: inset 0 0 0 1px var(--border-strong); }
.chip-check input:checked + .chip-check__label { color: var(--text-1); background: rgba(108, 77, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.6); }
.chip-check input:checked + .chip-check__label .chip-check__box { background: var(--violet-500); box-shadow: none; }
.chip-check input:checked + .chip-check__label .chip-check__box::after { transform: rotate(-45deg) scale(1); }
.chip-check input:focus-visible + .chip-check__label { outline: 2px solid var(--violet-300); outline-offset: 2px; }
.field.is-invalid .chip-check__label { box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.5); }

.checkbox { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; color: var(--text-2); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--violet-500); }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__fineprint { font-size: 0.8125rem; color: var(--text-3); }

/* 13. Callout, CTA band, marquee, chips ----------------------------------- */
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: rgba(108, 77, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.28);
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.callout > .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--violet-300); }
.callout__title { color: var(--text-1); font-weight: 600; }
.callout--note { background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--border); }
.callout--note > .icon { color: var(--text-2); }
.callout--ai { background: rgba(70, 232, 212, 0.06); box-shadow: inset 0 0 0 1px rgba(70, 232, 212, 0.25); }
.callout--ai > .icon { color: var(--aqua-300); }
.callout--warning { background: rgba(245, 181, 68, 0.07); box-shadow: inset 0 0 0 1px rgba(245, 181, 68, 0.3); }
.callout--warning > .icon { color: var(--warning); }
.callout--danger { background: rgba(255, 92, 122, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.32); }
.callout--danger > .icon { color: var(--danger); }
.callout--success { background: rgba(61, 220, 151, 0.07); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.3); }
.callout--success > .icon { color: var(--success); }

.cta-band { position: relative; padding-block: 0 var(--section-y); }
.cta-band:first-child { padding-top: calc(var(--header-h) + var(--section-y-tight)); }
.cta-band__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 112px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-2xl);
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(108, 77, 255, 0.45), rgba(108, 77, 255, 0) 70%),
    radial-gradient(30% 40% at 50% 100%, rgba(70, 232, 212, 0.18), rgba(70, 232, 212, 0) 70%),
    linear-gradient(180deg, var(--surface-1), #0B0C15);
  box-shadow: inset 0 0 0 1px var(--border-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 120px -40px rgba(108, 77, 255, 0.5);
}
.cta-band__panel > :not([class^="fx-"]) { position: relative; z-index: 1; }
.cta-band__panel > .fx-plaza { height: 44%; }
.cta-band__mark { width: 56px; height: 56px; margin: 0 auto 28px; filter: drop-shadow(0 8px 30px rgba(108, 77, 255, 0.7)); }
.cta-band__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--text-1); }
.cta-band__text { max-width: 600px; margin: 20px auto 0; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--text-2); }
.cta-band .btn-row { justify-content: center; margin-top: 36px; }

/* Marquee strip (channels). Two identical groups; the second is aria-hidden. */
.marquee {
  --marquee-gap: 12px;
  --marquee-duration: 48s;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: var(--marquee-gap); }
.marquee__group { display: flex; gap: var(--marquee-gap); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee var(--marquee-duration) linear infinite; }
  .marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - var(--marquee-gap) / 2), 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: 100%; padding-inline: var(--gutter); }
  .marquee__group { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; }
  .marquee__group[aria-hidden="true"], .marquee__group > [aria-hidden="true"] { display: none; }
}
/* Same static row when the visitor paused animations. */
html.motion-paused .marquee { -webkit-mask-image: none; mask-image: none; }
html.motion-paused .marquee__track { width: 100%; padding-inline: var(--gutter); }
html.motion-paused .marquee__group { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; }
html.motion-paused .marquee__group[aria-hidden="true"], html.motion-paused .marquee__group > [aria-hidden="true"] { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-1);
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--hairline), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.chip .icon { width: 18px; height: 18px; color: var(--text-1); }
.chip--sm { height: 32px; padding: 0 12px; font-size: 0.8125rem; gap: 8px; }
.chip--sm .icon { width: 15px; height: 15px; }
.chip--mono { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0; }

/* 14. Chat UI kit, app window, inbox, context panel ----------------------- */
/* App window: the frame for every product mock. Always carry a Sample badge. */
.app-window {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #10121B, #0B0C14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  text-align: left;
}
.app-window__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}
.app-window__dots { display: flex; gap: 6px; flex: none; }
.app-window__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.app-window__title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 0.8125rem; font-weight: 550; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-window__title .icon { width: 16px; height: 16px; color: var(--violet-300); }
.app-window__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.app-window__body { position: relative; }
/* .app-window--compact-sm: on phones the bar keeps only its actions (the Sample badge).
   Use it on mocks whose bar carries the long "Sample · Fictional store and customer"
   badge or a long title; short "Sample" bars keep their title. */
@media (max-width: 599px) {
  .app-window--compact-sm .app-window__title, .app-window--compact-sm .app-window__dots { display: none; }
  .app-window--compact-sm .app-window__actions { margin-left: 0; min-width: 0; }
  .app-window--compact-sm .app-window__actions .badge { font-size: 0.625rem; letter-spacing: 0.04em; padding: 0 8px; }
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-1);
  background: linear-gradient(140deg, #3A3F57, #23283A);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.avatar--sm { width: 24px; height: 24px; font-size: 0.625rem; }
.avatar--lg { width: 48px; height: 48px; font-size: 0.9375rem; }
.avatar--customer { background: linear-gradient(140deg, #5B4A8B, #2D2650); }
.avatar--human { background: linear-gradient(140deg, #2F6B5E, #1B3A35); }
.avatar--ai { color: #fff; background: radial-gradient(circle at 30% 20%, #8A6EFF, #4321DE 75%); box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.5), 0 0 14px -2px rgba(108, 77, 255, 0.8); }
.avatar--ai .icon { width: 55%; height: 55%; }
.avatar__channel {
  position: absolute;
  right: -5px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: 0 0 0 2px #0E1018;
  color: var(--text-1);
}
.avatar__channel .icon { width: 10px; height: 10px; }
.avatar-wrap { position: relative; display: inline-flex; flex: none; }

/* Channel glyph in a circle (inbox avatars, hero nodes, chips). */
.channel-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-1);
  background: linear-gradient(160deg, var(--surface-4), var(--surface-2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.channel-icon .icon { width: 16px; height: 16px; }

/* Chat thread */
.chat { display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; flex-direction: column; gap: 6px; max-width: min(84%, 520px); align-self: flex-start; }
.msg--out, .msg--ai, .msg--human { align-self: flex-end; align-items: flex-end; }
.msg__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 0.75rem; color: var(--text-3); padding-inline: 4px; }
.msg__name { color: var(--text-2); font-weight: 600; }
.msg__bubble {
  padding: 11px 14px;
  border-radius: var(--r-bubble-in);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-1);
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.msg--ai .msg__bubble {
  border-radius: var(--r-bubble-out);
  background: linear-gradient(160deg, rgba(123, 92, 255, 0.32), rgba(86, 52, 236, 0.22));
  box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -14px rgba(108, 77, 255, 0.7);
}
.msg--human .msg__bubble {
  border-radius: var(--r-bubble-out);
  background: linear-gradient(160deg, rgba(61, 220, 151, 0.14), rgba(61, 220, 151, 0.06));
  box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.3);
}
.msg__bubble > * + * { margin-top: 10px; }
.msg__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(6, 7, 11, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--text-1);
}
.msg__link .icon { width: 16px; height: 16px; color: var(--violet-200); }
.msg__link .icon:last-child { margin-left: auto; color: var(--text-3); }
.msg__attachment {
  display: grid;
  place-items: center;
  gap: 6px;
  width: 180px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 0.75rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.06) 75%, transparent 75%) 0 0 / 14px 14px,
    linear-gradient(160deg, #3B3550, #232036);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.msg__attachment .icon { width: 22px; height: 22px; }

/* System / team-view events in the thread */
.chat-event {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  align-self: center;
  max-width: 100%;
  padding: 7px 14px 7px 10px;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--border);
}
.chat-event > .icon { width: 16px; height: 16px; flex: none; color: var(--text-2); }
.chat-event__label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.chat-event--team { border-radius: var(--r-md); background: transparent; box-shadow: none; outline: 1px dashed var(--border-strong); outline-offset: -1px; }
.chat-event--team > .icon { color: var(--text-3); }
.chat-event--action > .icon { color: var(--violet-300); }
.chat-event--action { background: rgba(108, 77, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.25); }
.chat-event--handoff { color: var(--text-1); background: rgba(245, 181, 68, 0.08); box-shadow: inset 0 0 0 1px rgba(245, 181, 68, 0.38); border-radius: var(--r-md); }
.chat-event--handoff > .icon { color: var(--warning); }
.chat-event--email > .icon { color: var(--violet-300); }
.chat-event--insight { background: rgba(70, 232, 212, 0.06); box-shadow: inset 0 0 0 1px rgba(70, 232, 212, 0.25); border-radius: var(--r-md); }
.chat-event--insight > .icon { color: var(--aqua-300); }

/* Handoff summary card (team view only) */
.chat-summary {
  align-self: stretch;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(245, 181, 68, 0.06), rgba(245, 181, 68, 0.02));
  box-shadow: inset 0 0 0 1px rgba(245, 181, 68, 0.28);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.chat-summary__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.chat-summary__title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-1); font-size: 0.875rem; }
.chat-summary__title .icon { width: 16px; height: 16px; color: var(--warning); }
.chat-summary dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; }
.chat-summary dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); padding-top: 2px; }
.chat-summary dd { color: var(--text-1); }
.chat-summary__suggest { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(245, 181, 68, 0.3); color: var(--text-1); }

/* Typing indicator */
.typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  border-radius: var(--r-bubble-out);
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.typing > span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); opacity: 0.5; }
.typing--ai { background: rgba(108, 77, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.28); }
.typing--ai > span { background: var(--aqua-400); box-shadow: 0 0 8px rgba(70, 232, 212, 0.7); }
.typing--in { border-radius: var(--r-bubble-in); }
@media (prefers-reduced-motion: no-preference) {
  .typing > span { animation: typing-dot 1.2s var(--ease-in-out) infinite; }
  .typing > span:nth-child(2) { animation-delay: 0.15s; }
  .typing > span:nth-child(3) { animation-delay: 0.3s; }
}
@keyframes typing-dot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0) scale(0.85); } 30% { opacity: 1; transform: translateY(-3px) scale(1); } }

/* Inbox list */
.inbox-list { display: flex; flex-direction: column; gap: 2px; }
.inbox-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 11px 12px;
  border-radius: var(--r-md);
  transition: background var(--dur-base);
}
.inbox-row.is-active { background: rgba(108, 77, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.28); }
.inbox-row.is-active::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--violet-400); }
.inbox-row__main { min-width: 0; }
.inbox-row__name { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row__preview { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row.is-unread .inbox-row__preview { color: var(--text-2); }
.inbox-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-3); white-space: nowrap; }
.inbox-row__unread { width: 8px; height: 8px; border-radius: 50%; background: var(--violet-400); box-shadow: 0 0 8px rgba(138, 110, 255, 0.9); }
.skeleton { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)); }
.inbox-row--skeleton .inbox-row__name, .inbox-row--skeleton .inbox-row__preview { display: block; }
.inbox-row--skeleton .skeleton + .skeleton { margin-top: 8px; }
.inbox-row--skeleton { opacity: 0.75; }

/* Context panel (customer record) */
.context-panel { display: flex; flex-direction: column; gap: 18px; padding: 18px; font-size: 0.8125rem; }
.context-panel__profile { display: flex; align-items: center; gap: 12px; }
.context-panel__name { font-size: 0.9375rem; font-weight: 600; color: var(--text-1); }
.context-panel__sub { color: var(--text-3); font-size: 0.75rem; }
.context-panel__section { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.context-panel__label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.context-panel__value { color: var(--text-1); line-height: 1.5; }
.context-panel__quote { padding: 10px 12px; border-radius: var(--r-bubble-in); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--text-1); line-height: 1.45; }
.context-panel__note { margin-top: 6px; display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 0.75rem; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.order-row__id { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-1); }

/* 15. Mini charts (Insights mocks). No real numbers: label as sample data. -- */
.chart-card { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.chart-card__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }

.spark { width: 100%; height: 64px; overflow: visible; }
.spark__area { fill: rgba(138, 110, 255, 0.14); }
.spark__line { fill: none; stroke: var(--violet-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark__line--ai { stroke: var(--aqua-400); }
.spark__dot { fill: var(--aqua-300); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.bars > span {
  flex: 1;
  height: calc(var(--v, 0.5) * 100%);
  min-height: 4px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(138, 110, 255, 0.9), rgba(108, 77, 255, 0.25));
  transform-origin: bottom;
}
.bars > span.is-hl { background: linear-gradient(180deg, var(--aqua-300), rgba(70, 232, 212, 0.2)); box-shadow: 0 0 16px -4px rgba(70, 232, 212, 0.6); }

.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; font-size: 0.75rem; color: var(--text-2); }
.hbar__track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.hbar__fill { display: block; height: 100%; width: calc(var(--v, 0.5) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--violet-500), var(--violet-300)); transform-origin: left; }
.hbar--ai .hbar__fill { background: linear-gradient(90deg, var(--aqua-500), var(--aqua-300)); }

.donut {
  --v: 0.7;
  position: relative;
  width: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--violet-400) calc(var(--v) * 360deg), var(--aqua-400) calc(var(--v) * 360deg) calc(var(--v) * 360deg + 40deg), rgba(255, 255, 255, 0.06) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
  mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
}

.funnel { display: grid; gap: 6px; }
.funnel__step { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 32px; width: calc(var(--v, 1) * 100%); padding: 0 12px; border-radius: 8px; font-size: 0.75rem; color: var(--text-1); background: linear-gradient(90deg, rgba(108, 77, 255, 0.4), rgba(108, 77, 255, 0.12)); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.3); white-space: nowrap; }
.funnel__step:last-child { background: linear-gradient(90deg, rgba(70, 232, 212, 0.3), rgba(70, 232, 212, 0.08)); box-shadow: inset 0 0 0 1px rgba(70, 232, 212, 0.3); }

.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.75rem; color: var(--text-3); }
.legend__item { display: inline-flex; align-items: center; gap: 6px; }
.legend__swatch { width: 8px; height: 8px; border-radius: 2px; background: var(--violet-400); }
.legend__swatch--ai { background: var(--aqua-400); }

/* 16. Header, mobile menu, footer ----------------------------------------- */
/* The blurred backdrop lives on ::before: a backdrop-filter on the header itself would
   become the containing block of the fixed mobile menu and collapse it. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(6, 7, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--hairline);
  transition: opacity var(--dur-slow), background-color var(--dur-slow);
}
.site-header.is-scrolled::before, .site-header.is-menu-open::before { opacity: 1; }
.site-header.is-menu-open::before { background: rgba(6, 7, 11, 0.94); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.site-logo { display: inline-flex; align-items: center; flex: none; padding: 6px 0; border-radius: var(--r-sm); }
.site-logo__svg { width: 144px; height: 28px; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--dur-base), background var(--dur-base);
}
.site-nav__link:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.05); }
.site-nav__link[aria-current="page"] { color: var(--text-1); }
.site-nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--aqua-400); box-shadow: 0 0 8px rgba(70, 232, 212, 0.9); }
.site-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.site-nav + .site-header__actions { margin-left: 12px; }
.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border-radius: var(--r-pill);
  color: var(--text-1);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }
.nav-toggle__bars { position: relative; width: 20px; height: 12px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.75px; border-radius: 2px; background: currentColor; transition: transform var(--dur-slow) var(--ease-out), top var(--dur-slow) var(--ease-out); }
.nav-toggle__bars span:first-child { top: 1px; }
.nav-toggle__bars span:last-child { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 59;
  overflow-y: auto;
  background: rgba(6, 7, 11, 0.985);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--hairline);
}
.mobile-menu__nav { display: flex; flex-direction: column; min-height: 100%; padding-top: 16px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.mobile-menu__link .icon { width: 20px; height: 20px; color: var(--text-3); transition: transform var(--dur-slow) var(--ease-out), color var(--dur-base); }
.mobile-menu__link:hover .icon, .mobile-menu__link[aria-current="page"] .icon { color: var(--violet-300); transform: translateX(3px); }
.mobile-menu__link[aria-current="page"] { color: var(--violet-200); }
.mobile-menu__footer { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; justify-items: center; }
.mobile-menu__email { font-size: 0.9375rem; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.is-open .mobile-menu__list > li { animation: menu-in 480ms var(--ease-out) both; }
  .mobile-menu.is-open .mobile-menu__list > li:nth-child(2) { animation-delay: 40ms; }
  .mobile-menu.is-open .mobile-menu__list > li:nth-child(3) { animation-delay: 80ms; }
  .mobile-menu.is-open .mobile-menu__list > li:nth-child(4) { animation-delay: 120ms; }
  .mobile-menu.is-open .mobile-menu__footer { animation: menu-in 480ms 160ms var(--ease-out) both; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 899px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .site-header__actions, .site-nav + .site-header__actions { margin-left: auto; }
}
/* No JS, or site.js failed (boot.js then removes html.js): the menu button would be
   dead, so the nav shows as a wrapped row instead. */
@media (max-width: 899px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { position: absolute; height: auto; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 12px; row-gap: 4px; }
  html:not(.js) .site-nav { display: block; order: 3; width: 100%; margin: 0; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; gap: 0; margin-left: -14px; }
}
@media (max-width: 419px) {
  .site-header__cta { display: none; }
  /* Without JS the mobile menu (which holds the CTA) is unavailable, so keep it. */
  html:not(.js) .site-header__cta { display: inline-flex; }
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

.site-footer { position: relative; margin-top: 0; padding: clamp(64px, 8vw, 96px) 0 32px; border-top: 1px solid var(--border-subtle); background: linear-gradient(180deg, var(--bg-subtle), var(--ink) 60%); overflow: hidden; }
.site-footer__glow { position: absolute; left: 50%; top: -1px; width: min(720px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(169, 166, 255, 0.6), rgba(125, 240, 226, 0.6), transparent); }
.site-footer__glow::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 120px; background: radial-gradient(50% 100% at 50% 0%, rgba(108, 77, 255, 0.14), transparent); }
.site-footer__grid { position: relative; display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: auto; }
}
.site-footer__logo { display: inline-flex; border-radius: var(--r-sm); }
.site-footer__logo-svg { width: 154px; height: 30px; }
.site-footer__tagline { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; letter-spacing: -0.015em; color: var(--text-1); margin-top: 6px; }
.site-footer__email { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--text-2); transition: color var(--dur-base); }
.site-footer__email .icon { width: 16px; height: 16px; color: var(--violet-300); }
.site-footer__email:hover { color: var(--text-1); }
.site-footer__heading { font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.site-footer__links { display: grid; gap: 12px; }
.site-footer__links a, .site-footer__legal a { font-size: 0.9375rem; color: var(--text-2); transition: color var(--dur-base); }
.site-footer__links a:hover, .site-footer__legal a:hover { color: var(--text-1); }
.site-footer__bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(48px, 7vw, 80px); padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.site-footer__copy { font-size: 0.875rem; color: var(--text-3); }
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a { font-size: 0.875rem; color: var(--text-3); }

/* 17. Page hero, hero shell, sub-nav, prose ------------------------------- */
/* Inner-page hero. Reserves room for the fixed header. */
.page-hero { position: relative; overflow: clip; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 104px); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero--center .page-hero__inner { text-align: center; }
.page-hero--center .page-hero__title { margin-inline: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero__title { max-width: 920px; margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.375rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.03; letter-spacing: -0.035em; color: var(--text-1); }
.page-hero__lede { margin-top: 22px; max-width: 680px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--text-2); }
.page-hero--center .page-hero__lede { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.page-hero .btn-row { margin-top: 36px; }
.page-hero--compact { padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero--compact .page-hero__title { font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.25rem); }

/* Home-style hero shell: text column + visual column. */
.hero { position: relative; overflow: clip; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1080px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.hero__title { margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 1.15rem + 4.4vw, 4.375rem); line-height: 1.02; letter-spacing: -0.04em; color: var(--text-1); }
.hero__lede { margin-top: 24px; max-width: 580px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--text-2); }
.hero .btn-row { margin-top: 36px; }
.hero__micro { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 0.875rem; color: var(--text-3); }
.hero__micro .ai-dot { width: 6px; height: 6px; }

/* In-page sub-navigation (Platform, Solutions). JS scroll-spy sets aria-current. */
.subnav { position: sticky; top: var(--header-h); z-index: 40; padding-block: 10px; background: rgba(6, 7, 11, 0.78); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); border-block: 1px solid var(--hairline); }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.subnav__list::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .subnav__list { justify-content: center; -webkit-mask-image: none; mask-image: none; } }
.subnav__link { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color var(--dur-base), background var(--dur-base), box-shadow var(--dur-base); }
.subnav__link:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.05); }
.subnav__link[aria-current="true"] { color: var(--text-1); background: rgba(108, 77, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.4); }

/* Long-form text (legal pages). */
.prose { max-width: 720px; color: var(--text-2); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.625rem; line-height: 1.25; letter-spacing: -0.02em; }
.prose h3 { margin-top: 1.8em; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--violet-300); }
/* Unclassed links only, like `p a:not([class])`: a .btn or .link-arrow inside prose keeps its own look.
   :where() keeps the old specificity, so `p a:not([class])` still styles links inside paragraphs. */
.prose a:where(:not([class])) { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(169, 166, 255, 0.45); }
.prose a:where(:not([class])):hover { text-decoration-color: currentColor; }
.prose hr { margin-block: 2.4em; }
.prose code { font-family: var(--font-mono); font-size: 0.875em; padding: 2px 6px; border-radius: 6px; background: var(--surface-3); color: var(--text-1); }
.prose .prose__meta { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-3); }

/* Number kicker for principles and indexed lists. */
.num-kicker { font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; color: var(--violet-300); letter-spacing: 0.04em; }

/* 18. Reveal-on-scroll, reduced motion, utilities ------------------------- */
/* Content is visible by default. site.js arms elements below the fold with
   .reveal-armed (hidden), then adds .is-revealed when they scroll in.
   Reveals move with the individual `translate` and `scale` properties, never
   `transform`, so an element's own transform (the featured price card's lift, a
   .card--interactive hover lift) is left alone. The transition list keeps those
   transform and box-shadow transitions running without the reveal delay. */
.reveal-armed {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 480ms var(--ease-out), translate 560ms var(--ease-out), scale 560ms var(--ease-out), transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms;
}
.reveal-armed[data-reveal="fade"] { translate: none; }
.reveal-armed[data-reveal="scale"] { translate: none; scale: 0.96; }
.reveal-armed[data-reveal="left"] { translate: -24px 0; }
.reveal-armed[data-reveal="right"] { translate: 24px 0; }
.reveal-armed.is-revealed { opacity: 1; translate: none; scale: none; }
/* Mini charts grow in when their revealed ancestor appears. */
.reveal-armed .bars > span, .reveal-armed .hbar__fill { transform: scaleY(0.05); transition: transform 700ms var(--ease-out); }
.reveal-armed .hbar__fill { transform: scaleX(0.02); }
.reveal-armed .spark__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1100ms var(--ease-out) 150ms; }
.reveal-armed.is-revealed .bars > span, .reveal-armed.is-revealed .hbar__fill { transform: none; }
.reveal-armed.is-revealed .spark__line { stroke-dashoffset: 0; }
.reveal-armed .bars > span:nth-child(2n) { transition-delay: 60ms; }
.reveal-armed .bars > span:nth-child(3n) { transition-delay: 120ms; }

/* First-screen entrance (reveal-on-scroll never touches the first screen): use it as
   `animation: rise-in 800ms var(--ease-out) both` inside a no-preference media query. */
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Continuous decorative CSS animations: site.js adds .is-offscreen to [data-anim-pause]
   while it is off-screen (120px margin) or the tab is hidden. */
[data-anim-pause].is-offscreen, [data-anim-pause].is-offscreen::before, [data-anim-pause].is-offscreen::after,
[data-anim-pause].is-offscreen *, [data-anim-pause].is-offscreen *::before, [data-anim-pause].is-offscreen *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-armed { opacity: 1 !important; translate: none !important; scale: none !important; }
}
/* "Pause animations" (html.motion-paused: the [data-motion-toggle] buttons, restored
   by boot.js before first paint) gives the same still page as reduced motion: every
   CSS animation, entrances included, jumps straight to its end with no delay, so
   nothing is ever frozen half-faded. Hover and focus transitions keep working. */
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  animation-delay: 0s !important;
}
html.motion-paused .reveal-armed { opacity: 1 !important; translate: none !important; scale: none !important; }

/* "Pause animations" button. Without JS it could not work, and with the OS set to
   reduce motion there is nothing to pause, so it is hidden in both cases. */
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 13px 0 11px;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--border);
  white-space: nowrap;
  transition: color var(--dur-base), background var(--dur-base), box-shadow var(--dur-base);
}
/* Invisible hit area: 40px tall, so the 32px pill meets the 40px touch-target rule. */
.motion-toggle { position: relative; }
.motion-toggle::before { content: ""; position: absolute; inset: -4px -2px; border-radius: var(--r-pill); }
.motion-toggle:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--border-strong); }
.motion-toggle:focus-visible { border-radius: var(--r-pill); }
.motion-toggle .icon { width: 13px; height: 13px; flex: none; }
html:not(.js) .motion-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

/* Windows contrast themes / forced colors: restore the edges and states that the
   dark theme draws with backgrounds and box-shadows (both are dropped). */
@media (forced-colors: active) {
  .site-logo__svg path:not([fill^="url"]), .site-footer__logo-svg path:not([fill^="url"]) { fill: CanvasText; }
  .btn, .motion-toggle, .chip, .badge { border: 1px solid ButtonText; }
  .switch { border: 1px solid ButtonText; }
  .switch__thumb { forced-color-adjust: none; top: 2px; left: 2px; background: ButtonText; box-shadow: none; }
  .switch[aria-checked="true"] { forced-color-adjust: none; background: Highlight; border-color: Highlight; }
  .switch[aria-checked="true"] .switch__thumb { background: HighlightText; }
  .chip-check__label { border: 1px solid ButtonText; }
  .chip-check__box { forced-color-adjust: none; border: 1px solid ButtonText; background: Canvas; box-shadow: none; }
  .chip-check__box::after { border-color: HighlightText; }
  .chip-check input:checked + .chip-check__label { border-color: Highlight; }
  .chip-check input:checked + .chip-check__label .chip-check__box { background: Highlight; border-color: Highlight; }
  .field.is-invalid .chip-check__label { border-color: Mark; }
  .input:focus, .input:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
  .compare__yes, .compare__no { border: 1px solid CanvasText; }
  .tabs__tab[aria-selected="true"], .subnav__link[aria-current="true"] { border: 1px solid Highlight; }
}

/* Print (pricing is a likely page to print for procurement): light theme, no fixed
   header or decoration, every reveal shown and every animation at its end state.
   site.js also shows each chat demo's final state and opens <details> before print. */
@media print {
  :root {
    --ink: #fff; --bg-subtle: #fff; --surface-1: #fff; --surface-2: #F4F5F8; --surface-3: #EEF0F5; --surface-4: #E6E8EF;
    --border-subtle: #D9DCE5; --border: #C9CDD9; --border-strong: #AEB3C2;
    --text-1: #0B0D17; --text-2: #2A2F42; --text-3: #4A5068; --text-link: #4321DE;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    animation-play-state: running !important;
    transition: none !important;
  }
  html, body { background: #fff !important; color: var(--text-2); }
  .reveal-armed { opacity: 1 !important; translate: none !important; scale: none !important; }
  .skip-link, .site-header, .mobile-menu, .nav-toggle, .subnav, .motion-toggle, .chat-demo__controls, canvas,
  .fx-aurora, .fx-plaza, .fx-noise, .fx-grid, .fx-rays, .fx-beam, .site-footer__glow { display: none !important; }
  .text-gradient { color: var(--violet-700) !important; background: none !important; -webkit-text-fill-color: currentColor; }
  .site-logo__svg path:not([fill^="url"]), .site-footer__logo-svg path:not([fill^="url"]) { fill: #0B0D17; }
  .compare__yes { color: var(--violet-700); box-shadow: inset 0 0 0 1px var(--violet-400); }
  .compare__no { color: var(--text-3); }
  .section, .page-hero, .hero { padding-block: 24px !important; }
  .page-hero, .hero, .section--first { padding-top: 0 !important; }
  h1, h2, h3, h4 { break-after: avoid; }
  .card, .price-card, tr, figure, .callout { break-inside: avoid; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.maxw-prose { max-width: 640px; }
.relative { position: relative; }
.nowrap { white-space: nowrap; }
@media (max-width: 719px) { .hide-sm { display: none !important; } }
@media (min-width: 720px) { .show-sm { display: none !important; } }

/* 19. Chat demo player + three-pane inbox mock ---------------------------- */
/* Player hooks are data attributes (see DESIGN.md "Chat demo player"). */
.chat-demo { position: relative; }
.chat-demo__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.chat-demo__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px 0 6px;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px var(--border-subtle);
  transition: color var(--dur-slow), background var(--dur-slow), box-shadow var(--dur-slow);
}
.demo-chip__num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-family: var(--font-mono); font-size: 0.6875rem; background: rgba(255, 255, 255, 0.05); color: var(--text-3); transition: inherit; }
.demo-chip.is-done { color: var(--text-2); box-shadow: inset 0 0 0 1px var(--border); }
.demo-chip.is-done .demo-chip__num { background: rgba(108, 77, 255, 0.25); color: var(--violet-100); }
.demo-chip.is-current { color: var(--text-1); background: rgba(108, 77, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.55), 0 0 22px -6px rgba(108, 77, 255, 0.8); }
.demo-chip.is-current .demo-chip__num { background: var(--violet-500); color: #fff; }
.chat-demo__controls { display: flex; gap: 8px; }
html:not(.js) .chat-demo__controls { display: none; } /* no JS, or site.js failed */
.chat-demo__end { margin-top: 22px; text-align: center; }
.chat-demo__caption { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); letter-spacing: -0.012em; color: var(--text-1); }
.chat-demo__caption .ai-dot { display: inline-block; margin-right: 10px; vertical-align: middle; }
.chat-demo__after { margin-top: 14px; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  [data-demo-log] > .is-entering, [data-demo-end].is-entering { animation: msg-in 460ms var(--ease-out) both; }
  [data-demo-log] > .msg--in.is-entering { animation-name: msg-in-left; }
  [data-demo-log] > .msg--ai.is-entering, [data-demo-log] > .msg--human.is-entering { animation-name: msg-in-right; }
}
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes msg-in-left { from { opacity: 0; transform: translate(-10px, 10px) scale(0.97); transform-origin: left bottom; } to { opacity: 1; transform: none; } }
@keyframes msg-in-right { from { opacity: 0; transform: translate(10px, 10px) scale(0.97); transform-origin: right bottom; } to { opacity: 1; transform: none; } }

.inbox-mock__body { display: grid; grid-template-columns: minmax(0, 1fr); height: clamp(560px, 70vh, 680px); }
@media (min-width: 900px) { .inbox-mock__body { grid-template-columns: 260px minmax(0, 1fr); } }
@media (min-width: 1140px) { .inbox-mock__body { grid-template-columns: 268px minmax(0, 1fr) 280px; } }
.inbox-mock__list { display: none; flex-direction: column; gap: 10px; padding: 14px 10px; border-right: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.012); overflow: hidden; }
@media (min-width: 900px) { .inbox-mock__list { display: flex; } }
.inbox-mock__list-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 6px; font-size: 0.8125rem; font-weight: 600; color: var(--text-1); }
.inbox-mock__filters { display: flex; gap: 4px; padding: 0 4px 6px; }
.inbox-mock__filters span { padding: 3px 9px; border-radius: var(--r-pill); font-size: 0.6875rem; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.inbox-mock__filters span:first-child { color: var(--text-1); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--border); }
.inbox-mock__thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.inbox-mock__thread-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--border-subtle); }
.inbox-mock__who { min-width: 0; }
.inbox-mock__who strong { display: block; font-size: 0.875rem; }
.inbox-mock__who span { display: block; font-size: 0.75rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-mock__status { margin-left: auto; }
/* The short top fade shows that the log scrolls (at the end of playback it is parked
   at the bottom, so earlier messages sit above the pane's top edge). */
.inbox-mock__log { flex: 1; min-height: 0; overflow-y: auto; padding: 22px clamp(14px, 2.4vw, 26px) 28px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; overscroll-behavior: contain; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24px); mask-image: linear-gradient(to bottom, transparent 0, #000 24px); }
.inbox-mock__log:focus-visible { outline-offset: -3px; -webkit-mask-image: none; mask-image: none; }
.inbox-mock__composer { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 10px 12px 10px 16px; border-radius: var(--r-lg); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-subtle); font-size: 0.8125rem; color: var(--text-3); }
.inbox-mock__composer .icon { width: 16px; height: 16px; }
.inbox-mock__composer .btn { margin-left: auto; }
.inbox-mock__panel { display: none; border-left: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.012); overflow-y: auto; scrollbar-width: thin; }
@media (min-width: 1140px) { .inbox-mock__panel { display: flex; } }
.inbox-mock__panel-mobile { display: grid; gap: 4px; padding: 10px 16px 11px; border-bottom: 1px solid var(--border-subtle); font-size: 0.75rem; line-height: 1.45; color: var(--text-3); }
.inbox-mock__panel-mobile .icon { width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; color: var(--text-2); }
@media (min-width: 1140px) { .inbox-mock__panel-mobile { display: none; } }
@media (max-width: 599px) {
  .inbox-mock__body { height: 620px; }
  .inbox-mock__log .msg { max-width: 92%; }
}
