/* =====================================================================
   Minting Minds — site.css
   Premium, minimal, technical. Indigo ink + mint-orange accent.
   ===================================================================== */

/* Self-hosted webfonts (variable woff2, latin + latin-ext, from Google Fonts). The latin files are
   preloaded in <head> so they are on hand for the first paint: no fallback-font flash, no re-layout. */
@font-face {
  font-family: "Ubuntu Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/ubuntu-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
  font-family: "Ubuntu Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/ubuntu-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
  font-family: "Ubuntu Sans";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/ubuntu-sans-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
  font-family: "Ubuntu Sans";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/ubuntu-sans-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF
}

:root {
  --ink: #120E34;
  --ink-2: #1A1447;
  --ink-3: #241C5C;
  --indigo: #322A70;
  --indigo-2: #4B3F9E;
  --orange: #F7881D;
  --amber: #FFB35C;
  /* light sections: a soft lilac from the brand indigo, clearly a colour and not white (about 40%
     less light than white, so moving from a dark section is gentle on the eyes). Cards are a
     lighter lavender, never white. The whole light look is set by the tokens below. */
  --paper: #E5E0F5;
  /* light lilac: services, why, faq */
  --paper-2: #DFD9F2;
  /* a shade deeper: agents, engage (.tint) */
  --bg-1: var(--paper);
  --bg-2: var(--paper-2);
  --glow-1: rgba(75, 63, 158, .08);
  --glow-2: rgba(247, 136, 29, .06);
  --card: #F5F3FC;
  --white: #FFFFFF;
  --text: #17133D;
  --muted: #4A4572;
  --muted-d: #A9A3D2;
  --accent-ink: #C85F0A;
  /* the brand orange, deeper, for small orange text on lilac */
  --line: #D1CAEA;
  --line-2: #C2BAE1;
  --line-d: rgba(255, 255, 255, .12);
  --edge: rgba(18, 14, 52, .06);
  /* soft shade where a light section meets a dark one */
  --edge-len: 360px;

  --display: "Ubuntu Sans", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --body: "Ubuntu Sans", "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Ubuntu Sans", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  /* logo-matched italic accent */
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --pad: clamp(4.5rem, 9vw, 8.5rem);
  --r: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .4, 1);
}

* {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%
}

/* smooth scrolling is switched on by site.js after load, so the browser's scroll restoration
   on reload / back-forward jumps straight to the saved position instead of animating there */
html.smooth {
  scroll-behavior: smooth
}

@media (prefers-reduced-motion:reduce) {
  html.smooth {
    scroll-behavior: auto
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -.025em;
  line-height: 1.06
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem)
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -.015em;
  line-height: 1.25
}

p {
  margin: 0
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px
}

::selection {
  background: var(--orange);
  color: var(--ink)
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter)
}

.band {
  padding-block: var(--pad);
  position: relative
}

.dark {
  background: var(--ink);
  color: var(--white)
}

.dark p {
  color: #C9C4E6
}

.violet {
  background: var(--indigo);
  color: var(--white)
}

.violet p {
  color: #D6D1F0
}

.tint {
  background: var(--paper-2)
}

/* light sections: base colour (--bg-1 / --bg-2) with two soft glows. An edge that meets a dark
   section starts a shade deeper (--edge) and fades out, so moving between dark and light sections
   is a gentle step, not a hard line. The selectors follow the section order on their own. */
:is(.hero, .dark, .cta)+.band:not(.dark, .cta) {
  --edge-top: var(--edge)
}

.band:not(.dark, .cta):has(+ :is(.dark, .cta)) {
  --edge-bottom: var(--edge)
}

.services,
.why,
.paper {
  background:
    linear-gradient(180deg, var(--edge-top, transparent), transparent var(--edge-len)),
    linear-gradient(0deg, var(--edge-bottom, transparent), transparent var(--edge-len)),
    radial-gradient(55% 65% at 88% 12%, var(--glow-1), transparent 70%),
    radial-gradient(50% 60% at 6% 94%, var(--glow-2), transparent 70%),
    var(--bg-1)
}

.tint {
  background:
    linear-gradient(180deg, var(--edge-top, transparent), transparent var(--edge-len)),
    linear-gradient(0deg, var(--edge-bottom, transparent), transparent var(--edge-len)),
    radial-gradient(55% 65% at 8% 12%, var(--glow-1), transparent 70%),
    radial-gradient(50% 60% at 94% 90%, var(--glow-2), transparent 70%),
    var(--bg-2)
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.01em
}

/* block-level flex (not inline-flex): an inline box sits on a line box sized by the parent's
   line-height, which added ~9px above the eyebrow in some sections and not in others */
.eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--orange);
  border-radius: 2px
}

.lede {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch
}

.dark .lede,
.violet .lede {
  color: #BDB7E2
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem)
}

.sec-head .lede {
  margin-top: 1.1rem
}

.sec-head.center {
  margin-inline: auto;
  text-align: center
}

.sec-head.center .eyebrow {
  justify-content: center;
  margin-inline: auto
}

.sec-head.center .lede {
  margin-inline: auto
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .25s ease, border-color .25s ease, color .25s ease, box-shadow .35s ease;
  will-change: transform;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .35s var(--ease)
}

.btn:hover svg {
  transform: translateX(3px)
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(247, 136, 29, .6)
}

.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(247, 136, 29, .7)
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--white)
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .7);
  transform: translateY(-2px)
}

.btn-dark {
  background: var(--ink);
  color: var(--white)
}

.btn-dark:hover {
  background: var(--indigo);
  transform: translateY(-2px)
}

.btn-outline {
  border: 1px solid var(--line-2);
  color: var(--text)
}

.btn-outline:hover {
  border-color: var(--indigo);
  transform: translateY(-2px)
}

.btn-sm {
  padding: 11px 20px;
  font-size: .9rem
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s ease, box-shadow .4s ease
}

.nav-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  display: block;
  height: 58px;
  width: 112px;
  position: relative;
  flex: none
}

.brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .3s ease
}

.brand .lg-dark {
  opacity: 0
}

.nav-links {
  display: flex;
  gap: 6px
}

.nav-links>a,
.nav-dd-btn {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  transition: color .25s, background .25s
}

.nav-links>a:hover,
.nav-dd-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08)
}

/* Products while its dropdown is open: orange text and chevron on a soft orange pill with a yellow border */
.nav-dd.open .nav-dd-btn {
  color: var(--orange);
  background: rgba(247, 136, 29, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 179, 92, .7)
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px
}

/* products dropdown (desktop nav): dark glass card under the "Products" button.
   site.js: click toggles it, hover opens it, outside click / Esc / picking an item closes it. */
.nav-dd {
  position: relative;
  display: flex
}

.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.nav-dd-btn .chev {
  width: 14px;
  height: 14px;
  transition: transform .35s var(--ease)
}

.nav-dd.open .nav-dd-btn .chev {
  transform: rotate(180deg)
}

.nav-dd-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 16px);
  width: 380px;
  padding: 10px;
  border-radius: 20px;
  z-index: 60;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(247, 136, 29, .14), transparent 70%),
    radial-gradient(70% 70% at 0% 100%, rgba(75, 63, 158, .45), transparent 70%),
    linear-gradient(180deg, #1B1549 0%, #130F36 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 34px 70px -24px rgba(12, 9, 38, .7), inset 0 1px 0 rgba(255, 255, 255, .07);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(.97);
  transform-origin: 50% 0;
  transition: opacity .22s ease, transform .4s var(--ease), visibility 0s linear .4s
}

.nav-dd-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px
}

/* hover bridge to the button */
.nav-dd.open .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition: opacity .22s ease, transform .4s var(--ease), visibility 0s
}

.dd-label {
  margin: 6px 10px 8px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8E86C4
}

.dd-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  color: #fff;
  border: 1px solid transparent;
  transition: background .25s, border-color .25s
}

/* thin divider between items; it hides next to the hovered item so the highlight stays clean */
.dd-item {
  position: relative
}

.dd-item+.dd-item {
  margin-top: 3px
}

.dd-item+.dd-item::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: -2px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 179, 92, .3), rgba(255, 179, 92, .85) 50%, rgba(255, 179, 92, .3));
  transition: opacity .25s
}

.dd-item:hover::before,
.dd-item:focus-visible::before,
.dd-item:hover+.dd-item::before,
.dd-item:focus-visible+.dd-item::before {
  opacity: 0
}

.dd-item:hover,
.dd-item:focus-visible {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(247, 136, 29, .35)
}

.dd-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  background: radial-gradient(120% 120% at 30% 20%, #5A4DA3 0%, #372C7F 50%, #211A58 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6)
}

.dd-ic svg {
  width: 20px;
  height: 20px
}

.dd-txt b {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: #fff
}

.dd-txt small {
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber)
}

.dd-txt em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: .82rem;
  line-height: 1.45;
  color: #B4ACE0
}

.dd-item>svg {
  width: 18px;
  height: 18px;
  color: #8E86C4;
  transition: transform .3s var(--ease), color .3s
}

.dd-item:hover>svg,
.dd-item:focus-visible>svg {
  transform: translateX(3px);
  color: var(--orange)
}

@media (prefers-reduced-motion:reduce) {

  .nav-dd-menu,
  .nav-dd-btn .chev {
    transition: none
  }
}

/* current page (each page marks its own links with aria-current="page"): the nav item gets a
   small orange bar under it, the page's product is marked "Current" in the dropdown */
.nav-links>a[aria-current="page"],
.nav-dd:not(.open):has([aria-current="page"]) .nav-dd-btn {
  color: #fff
}

.nav-links>a[aria-current="page"]::after,
.nav-dd:has([aria-current="page"]) .nav-dd-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--orange);
  transition: opacity .2s
}

.nav-dd:has([aria-current="page"]) .nav-dd-btn::after {
  margin-left: -19px
}

/* centred under the word, not the chevron */
.nav-dd.open .nav-dd-btn::after {
  opacity: 0
}

.dd-item[aria-current="page"] {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  background: rgba(247, 136, 29, .08);
  border-color: rgba(247, 136, 29, .42)
}

.dd-item[aria-current="page"]>svg {
  display: none
}

.dd-item[aria-current="page"]::after {
  content: "Current";
  align-self: center;
  padding: 4px 9px 3px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase
}

.dd-item[aria-current="page"] .dd-ic {
  border-color: rgba(247, 136, 29, .7);
  box-shadow: 0 0 0 3px rgba(247, 136, 29, .14), 0 10px 22px -10px rgba(0, 0, 0, .6)
}

.dd-item[aria-current="page"]::before,
.dd-item[aria-current="page"]+.dd-item::before {
  opacity: 0
}

.mobile-menu a[aria-current="page"] {
  color: var(--orange)
}

.mobile-menu .mm-dd-list a[aria-current="page"]::after {
  content: "Current";
  margin-left: auto;
  align-self: center;
  padding: 4px 9px 3px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase
}

/* stuck nav (after scrolling): very light dusty grey with the dark logo, on every section */
.nav.stuck {
  background: rgba(236, 235, 238, .97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(23, 19, 61, .08)
}

.nav.stuck .brand .lg-dark {
  opacity: 1
}

.nav.stuck .brand .lg-light {
  opacity: 0
}

.nav.stuck .nav-links>a,
.nav.stuck .nav-dd-btn {
  color: var(--muted)
}

.nav.stuck .nav-links>a:hover,
.nav.stuck .nav-dd-btn:hover {
  color: var(--text);
  background: rgba(50, 42, 112, .07)
}

.nav.stuck .nav-links>a[aria-current="page"],
.nav.stuck .nav-dd:not(.open):has([aria-current="page"]) .nav-dd-btn {
  color: var(--text)
}

.nav.stuck .nav-dd.open .nav-dd-btn {
  color: var(--accent-ink);
  background: rgba(247, 136, 29, .14);
  box-shadow: inset 0 0 0 1px rgba(247, 136, 29, .6)
}

.nav.stuck .burger {
  border-color: var(--line-2)
}

.nav.stuck .burger span {
  background: var(--text)
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .25)
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.6px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease)
}

.burger span:nth-child(1) {
  top: 15px
}

.burger span:nth-child(2) {
  top: 20px
}

.burger span:nth-child(3) {
  top: 25px
}

.nav.open .burger span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg)
}

.nav.open .burger span:nth-child(2) {
  opacity: 0
}

.nav.open .burger span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg)
}

.mobile-menu {
  display: none
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: calc(84px + .5vw) 0 clamp(1.2rem, 2.5vh, 2rem);
  justify-content: center;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(75, 63, 158, .42), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .98fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .22em;
  color: var(--muted-d);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 136, 29, .55)
  }

  100% {
    box-shadow: 0 0 0 12px rgba(247, 136, 29, 0)
  }
}

/* H1 (SEO headline) sits above the big tagline as a short lead line */
.hero h1.hero-h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 .5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #D6D1F0
}

.hero h1.hero-h1::before {
  content: "";
  flex: none;
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--orange)
}

/* the big "Build. Automate. Scale." tagline: same look the H1 had before */
.hero-tag {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.9vw, 4.3rem);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff
}

.hero-tag span {
  display: block
}

.hero-tag .accent {
  color: var(--orange)
}

.hero-sub {
  margin: 1.6rem 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -.02em;
  max-width: 24ch;
  color: #fff
}

.hero-copy {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: #B7B1DD;
  max-width: 44ch
}

/* intro paragraph: takes the old sub-line's place and gap (1.6rem) so the hero keeps its height */
.hero .hero-copy {
  margin-top: 1.6rem;
  font-size: clamp(.95rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  max-width: 60ch
}

.hero-cta {
  margin-top: 2.2rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-foot {
  margin-top: 2.4rem;
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7A73AE
}

/* =====================================================================
   AI JOURNEY — hero showcase (chat → voice → gen-BI → security → digital human)
   ===================================================================== */
/* the panel keeps the same size against the copy on every screen and browser zoom: its width
   only follows the column (up to 520px), never the screen height. On a short screen site.js
   zooms the whole hero (copy and panel together) so it still fits. */
.journey-wrap {
  container-type: inline-size;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  justify-self: end
}

.journey {
  position: relative;
  width: 100%;
  height: 102cqw;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #1B1549 0%, #130F36 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06)
}

.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 10cqw 10cqw;
  background-position: center;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent)
}

.journey .hud .led i {
  display: none
}

.scene {
  position: absolute;
  left: 0;
  right: 0;
  top: 11cqw;
  bottom: 13cqw;
  opacity: 0;
  transform: translateY(2.5cqw);
  transition: opacity .5s ease, transform .7s var(--ease);
  pointer-events: none
}

.scene.active {
  opacity: 1;
  transform: none
}

.j-nav {
  position: absolute;
  left: 4.2cqw;
  right: 4.2cqw;
  bottom: 3.6cqw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4cqw
}

.j-nav button {
  position: relative;
  padding: 2.2cqw 0 0;
  text-align: left;
  font-family: var(--mono);
  font-size: 1.9cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6F68A8;
  transition: color .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.j-nav button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: .5cqw;
  background: rgba(255, 255, 255, .12);
  border-radius: 1cqw
}

/* the progress bar fills with scaleX, not width: a width transition re-runs layout on every
   frame for the whole stage, a transform runs on the compositor */
.j-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: .5cqw;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--orange);
  border-radius: 1cqw
}

.j-nav button.on {
  color: #fff
}

.j-nav button.on::after {
  transform: none;
  transition: transform var(--dur, 4.2s) linear
}

.j-nav button:hover {
  color: #C9C4E6
}

/* shared bits */
.scene .fade {
  opacity: 0
}

@keyframes jpop {
  0% {
    opacity: 0;
    transform: translateY(2cqw) scale(.96)
  }

  100% {
    opacity: 1;
    transform: none
  }
}

@keyframes jrise {
  0% {
    opacity: 0;
    transform: translateY(1.5cqw)
  }

  100% {
    opacity: 1;
    transform: none
  }
}

/* 1 · chat */
.chat {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 10cqw;
  display: flex;
  flex-direction: column;
  gap: 2.2cqw
}

.bub {
  max-width: 80%;
  padding: 2.6cqw 3.4cqw;
  border-radius: 3.6cqw;
  font-size: 2.9cqw;
  line-height: 1.35;
  opacity: 0
}

.scene.active .bub {
  animation: jpop .5s var(--spring) both;
  animation-delay: var(--d)
}

.bub.me {
  align-self: flex-end;
  background: var(--orange);
  color: var(--ink);
  border-bottom-right-radius: 1cqw;
  font-weight: 500
}

.bub.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  border-bottom-left-radius: 1cqw
}

.bub.act {
  align-self: flex-start;
  background: rgba(62, 213, 152, .14);
  color: #9BF2CB;
  font-family: var(--mono);
  font-size: 2.2cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2cqw
}

.bub.act::before {
  content: "";
  display: inline-block;
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: #3ED598;
  margin-right: 1.6cqw;
  vertical-align: .2cqw
}

.bub.typing {
  align-self: flex-start;
  background: rgba(255, 255, 255, .09);
  display: flex;
  gap: 1cqw;
  padding: 2.4cqw 3cqw
}

.bub.typing i {
  width: 1.5cqw;
  height: 1.5cqw;
  border-radius: 50%;
  background: #B4ACE0;
  animation: jdot 1s ease-in-out infinite
}

.bub.typing i:nth-child(2) {
  animation-delay: .15s
}

.bub.typing i:nth-child(3) {
  animation-delay: .3s
}

@keyframes jdot {

  0%,
  100% {
    opacity: .35;
    transform: translateY(0)
  }

  50% {
    opacity: 1;
    transform: translateY(-.8cqw)
  }
}

.scene.active .bub.typing {
  animation: jtyping 1.1s ease both;
  animation-delay: var(--d)
}

@keyframes jtyping {
  0% {
    opacity: 0;
    transform: scale(.9)
  }

  20%,
  75% {
    opacity: 1;
    transform: none
  }

  100% {
    opacity: 0;
    transform: scale(.9);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -2.2cqw
  }
}

/* 2 · voice */
.call {
  position: absolute;
  left: 50%;
  top: 6cqw;
  width: 15cqw;
  height: 15cqw;
  margin-left: -7.5cqw;
  border-radius: 50%;
  background: linear-gradient(180deg, #4B3F9E, #2E2670);
  border: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange)
}

.call svg {
  width: 6.5cqw;
  height: 6.5cqw
}

.call .pulse {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(247, 136, 29, .6);
  animation: jpulse 2s ease-out infinite
}

@keyframes jpulse {
  0% {
    transform: scale(1);
    opacity: .8
  }

  100% {
    transform: scale(1.9);
    opacity: 0
  }
}

.j-wave {
  position: absolute;
  left: 10cqw;
  right: 10cqw;
  top: 25cqw;
  height: 16cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9cqw
}

/* full height (--h) always; the animation scales it (--s = 1.6cqw / --h, set in site.js),
   so nothing around it re-lays out (no CLS) */
.j-wave i {
  width: .9cqw;
  border-radius: 1cqw;
  background: linear-gradient(180deg, var(--amber), var(--orange));
  height: var(--h, 2cqw);
  opacity: .9;
  transform: scaleY(var(--s, 1));
  animation: jwave 1.5s ease-in-out infinite;
  animation-delay: var(--d)
}

@keyframes jwave {

  0%,
  100% {
    transform: scaleY(var(--s, .2));
    opacity: .5
  }

  50% {
    transform: scaleY(1);
    opacity: 1
  }
}

.s-voice .lines {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 46cqw;
  display: grid;
  gap: 2.2cqw
}

.s-voice .lines div {
  display: flex;
  gap: 2cqw;
  align-items: flex-start;
  font-size: 2.9cqw;
  color: #E1DDF5;
  opacity: 0
}

.s-voice.active .lines div {
  animation: jrise .6s var(--ease) both;
  animation-delay: var(--d)
}

.s-voice .lines b {
  flex: none;
  width: 14.5cqw;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 1.9cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: .7cqw
}

.s-voice .lines .sys,
.s-voice .lines .sys b {
  color: #8E86C4;
  font-family: var(--mono);
  font-size: 2.2cqw
}

/* 3 · gen-bi */
.q {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 5cqw;
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 2.6cqw 3cqw;
  border-radius: 2.4cqw;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--mono);
  font-size: 2.6cqw;
  color: #fff
}

.q i {
  font-family: var(--serif);
  font-style: italic;
  color: var(--orange);
  font-size: 3.6cqw;
  line-height: 1
}

.q span {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: .4cqw solid var(--orange)
}

.s-bi.active .q span {
  animation: jtype 1.1s steps(32) .2s forwards, jcaret .8s step-end infinite
}

@keyframes jtype {
  to {
    width: 32ch
  }
}

@keyframes jcaret {
  50% {
    border-color: transparent
  }
}

.chart {
  position: absolute;
  left: 10cqw;
  right: 10cqw;
  top: 20cqw;
  height: 34cqw;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2cqw;
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.chart i {
  flex: 1;
  height: 0;
  border-radius: 1cqw 1cqw 0 0;
  background: linear-gradient(180deg, #7A6CD6, #4B3F9E)
}

.chart i:nth-child(4) {
  background: linear-gradient(180deg, var(--amber), var(--orange))
}

.s-bi.active .chart i {
  animation: jgrow .8s var(--ease) both;
  animation-delay: var(--d)
}

@keyframes jgrow {
  0% {
    height: 0
  }

  100% {
    height: var(--h)
  }
}

.axis {
  position: absolute;
  left: 10cqw;
  right: 10cqw;
  top: 55.5cqw;
  display: flex;
  justify-content: space-between;
  gap: 2cqw
}

.axis span {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6F68A8
}

.insight {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 62cqw;
  padding: 2.4cqw 3cqw;
  border-radius: 2cqw;
  background: rgba(247, 136, 29, .1);
  border: 1px solid rgba(247, 136, 29, .35);
  font-size: 2.7cqw;
  color: #fff;
  opacity: 0
}

.insight b {
  display: block;
  font-family: var(--mono);
  font-size: 1.8cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6cqw
}

.s-bi.active .insight {
  animation: jrise .6s var(--ease) both;
  animation-delay: var(--d)
}

/* 4 · ai security */
.shield {
  position: absolute;
  left: 50%;
  top: 4cqw;
  width: 16cqw;
  height: 18cqw;
  margin-left: -8cqw;
  color: #3ED598;
  overflow: hidden
}

.shield svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 1.5cqw rgba(62, 213, 152, .5))
}


.prompt {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 27cqw;
  padding: 3cqw 3.4cqw;
  border-radius: 2.4cqw;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 2.9cqw;
  line-height: 1.5;
  color: #E1DDF5
}

.prompt b {
  display: block;
  font-family: var(--mono);
  font-size: 1.8cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4;
  margin-bottom: 1.2cqw;
  font-weight: 500
}

.pii {
  display: inline-grid;
  vertical-align: baseline;
  border-radius: .8cqw;
  padding: 0 .6cqw;
  margin: 0 -.2cqw
}

.pii>span {
  grid-area: 1/1;
  white-space: nowrap
}

.pii .raw {
  color: #fff
}

.pii .masked {
  opacity: 0;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 2.4cqw
}

.s-sec.active .pii {
  animation: jflag .5s ease both;
  animation-delay: var(--d)
}

.s-sec.active .pii .raw {
  animation: jhide .3s ease forwards;
  animation-delay: calc(var(--d) + .9s)
}

.s-sec.active .pii .masked {
  animation: jshow .3s ease forwards;
  animation-delay: calc(var(--d) + .9s)
}

@keyframes jflag {
  0% {
    background: rgba(247, 136, 29, 0);
    box-shadow: none
  }

  100% {
    background: rgba(247, 136, 29, .18);
    box-shadow: 0 0 0 1px rgba(247, 136, 29, .6)
  }
}

@keyframes jhide {
  to {
    opacity: 0
  }
}

@keyframes jshow {
  to {
    opacity: 1
  }
}

.verdict {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 62cqw;
  padding: 2.2cqw 3cqw;
  border-radius: 2cqw;
  background: rgba(62, 213, 152, .12);
  border: 1px solid rgba(62, 213, 152, .4);
  font-family: var(--mono);
  font-size: 2.1cqw;
  letter-spacing: .06em;
  color: #9BF2CB;
  opacity: 0
}

.s-sec.active .verdict {
  animation: jrise .6s var(--ease) both;
  animation-delay: var(--d)
}

/* 5 · digital human */
.s-human {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 9cqw
}

.avatar {
  position: relative;
  width: 38cqw;
  height: 38cqw;
  flex: none
}

.avatar video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #2E2670;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .5)
}

.avatar .halo {
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  border: 1px solid rgba(247, 136, 29, .5);
  animation: jhalo 3s ease-out infinite;
  pointer-events: none
}

.avatar .halo.h2 {
  animation-delay: 1.5s
}

@keyframes jhalo {
  0% {
    transform: scale(.94);
    opacity: .9
  }

  100% {
    transform: scale(1.3);
    opacity: 0
  }
}

.s-human .caption {
  position: relative;
  margin-top: 5cqw;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.6cqw;
  line-height: 1.3;
  color: #fff;
  opacity: 0
}

.s-human.active .caption {
  animation: jrise .7s var(--ease) both;
  animation-delay: var(--d)
}

.s-human .tagline {
  position: relative;
  margin-top: 3.5cqw;
  text-align: center;
  font-family: var(--mono);
  font-size: 2cqw;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4;
  opacity: 0
}

.s-human.active .tagline {
  animation: jrise .6s var(--ease) both;
  animation-delay: var(--d)
}

@media (prefers-reduced-motion:reduce) {
  .journey * {
    animation: none !important
  }

  .scene .bub,
  .s-voice .lines div,
  .insight,
  .verdict,
  .s-human .caption,
  .s-human .tagline,
  .pii .masked {
    opacity: 1 !important
  }

  .pii .raw {
    opacity: 0
  }

  .q span {
    width: auto
  }

  .chart i {
    height: var(--h)
  }

  .bub.typing {
    display: none
  }
}

/* entrance. Starts at .01, not 0: Chrome never counts text first painted at opacity 0 as the
   Largest Contentful Paint, so the hero headline was skipped and LCP fell on a demo that
   appears seconds later (Mind-X: ~4.2 s). At .01 the headline counts on its first paint. */
.rl {
  opacity: .01;
  transform: translateY(22px);
  animation: rise .9s var(--ease) forwards
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none
  }
}

/* =====================================================================
   THE MINT — coin press animation
   All geometry in container-query units so it scales with its box.
   ===================================================================== */
.mint-wrap {
  container-type: inline-size;
  width: 100%;
  max-width: min(500px, calc((100svh - 200px) / 1.12));
  margin: 0 auto;
  justify-self: end
}

.mint {
  position: relative;
  width: 100%;
  height: 112cqw;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #1B1549 0%, #130F36 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  --cz: 26cqw;
  /* coin diameter */
  --drop: 26.8cqw;
  /* press travel */
  --py: 51cqw;
  /* park offset y */
  --pk: .6;
  /* parked coin scale */
}

.mint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 10cqw 10cqw;
  background-position: center;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent);
}

.mint.shake {
  animation: shake .38s ease-out
}

@keyframes shake {
  0% {
    transform: translate(0, 0)
  }

  15% {
    transform: translate(-.6cqw, .5cqw)
  }

  30% {
    transform: translate(.5cqw, -.3cqw)
  }

  45% {
    transform: translate(-.3cqw, .3cqw)
  }

  60% {
    transform: translate(.25cqw, .2cqw)
  }

  80% {
    transform: translate(-.1cqw, 0)
  }

  100% {
    transform: translate(0, 0)
  }
}

.mint-glow {
  position: absolute;
  left: 50%;
  top: 53.7cqw;
  width: 60cqw;
  height: 60cqw;
  margin: -30cqw 0 0 -30cqw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 136, 29, .22), rgba(247, 136, 29, 0) 65%);
  opacity: .5;
  transition: opacity .4s;
  pointer-events: none
}

.mint.hot .mint-glow {
  opacity: 1
}

/* stage: holds the press, tray and coins; its width is their cqw reference */
.mint-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  container-type: inline-size
}

/* hud */
.hud {
  position: absolute;
  left: 4.2cqw;
  right: 4.2cqw;
  top: 3.8cqw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 2.35cqw;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7C75B4;
  z-index: 6
}

.hud .led {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw
}

.mint.hot .hud .led {
  color: var(--orange)
}

.hud .count b {
  color: #fff;
  font-weight: 500;
  font-variant-numeric: tabular-nums
}

/* press */
.column {
  position: absolute;
  left: 50%;
  top: 0;
  width: 7.5cqw;
  height: 9cqw;
  margin-left: -3.75cqw;
  z-index: 4;
  background: linear-gradient(90deg, #241C5C, #4B3F9E 45%, #2B2270);
  border-radius: 0 0 1cqw 1cqw;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transform-origin: top;
  transition: transform .55s var(--spring)
}

.column::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1cqw;
  margin-left: -.5cqw;
  background: linear-gradient(180deg, rgba(247, 136, 29, 0), rgba(247, 136, 29, .9));
  opacity: 0;
  transition: opacity .2s
}

.mint.hot .column::after {
  opacity: 1
}

.column.down {
  transform: scaleY(4);
  transition: transform .24s cubic-bezier(.7, 0, 1, .45)
}

.head {
  position: absolute;
  left: 50%;
  top: 8cqw;
  width: 31cqw;
  height: 15cqw;
  margin-left: -15.5cqw;
  z-index: 5;
  border-radius: 2.2cqw 2.2cqw 2.8cqw 2.8cqw;
  background: linear-gradient(180deg, #4B3F9E 0%, #2E2670 55%, #1E1850 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 5cqw 8cqw -3cqw rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .55s var(--spring)
}

.head::before {
  content: "";
  position: absolute;
  left: 2.4cqw;
  right: 2.4cqw;
  top: 2cqw;
  height: 1px;
  background: rgba(255, 255, 255, .12)
}

.head span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 7cqw;
  line-height: 1;
  color: rgba(255, 255, 255, .35);
  transform: translateY(-.3cqw)
}

.head .die {
  position: absolute;
  left: 50%;
  bottom: -2.2cqw;
  width: 28cqw;
  height: 2.6cqw;
  margin-left: -14cqw;
  border-radius: 0 0 1.4cqw 1.4cqw;
  background: linear-gradient(180deg, #FFA54A, #C7660D);
  box-shadow: 0 .4cqw 1.2cqw rgba(247, 136, 29, .35)
}

.head.down {
  transform: translateY(var(--drop));
  transition: transform .24s cubic-bezier(.7, 0, 1, .45)
}

/* anvil */
.anvil {
  position: absolute;
  left: 50%;
  top: 55cqw;
  width: 44cqw;
  height: 3.2cqw;
  margin-left: -22cqw;
  z-index: 1;
  border-radius: 1.6cqw;
  background: linear-gradient(180deg, #3B3288, #1F1955);
  box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .18)
}

.anvil::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3cqw;
  width: 13cqw;
  height: 18cqw;
  margin-left: -6.5cqw;
  background: linear-gradient(180deg, #241C5C, #150F3C);
  border-radius: 0 0 2cqw 2cqw;
  z-index: -1
}

/* tray */
.tray {
  position: absolute;
  left: 50%;
  top: 93cqw;
  width: 0;
  height: 0;
  z-index: 1
}

.tray .slot {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--cz)*var(--pk));
  height: calc(var(--cz)*var(--pk));
  margin: calc(var(--cz)*var(--pk)/-2) 0 0 calc(var(--cz)*var(--pk)/-2);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .16);
  transform: translateX(var(--px));
  transition: border-color .5s, box-shadow .5s
}

.tray .slot.lit {
  border-color: rgba(247, 136, 29, .55);
  box-shadow: 0 0 0 .8cqw rgba(247, 136, 29, .08)
}

.tray-line {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 104.5cqw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent)
}

/* coin — states in timeline order; later rules win */
.coin {
  position: absolute;
  left: 50%;
  top: 42cqw;
  width: var(--cz);
  height: var(--cz);
  margin: calc(var(--cz)/-2) 0 0 calc(var(--cz)/-2);
  z-index: 3;
  perspective: 120cqw;
  opacity: 0;
  transform: translateX(-70cqw) rotate(-560deg);
  transition: transform .75s cubic-bezier(.2, .8, .2, 1), opacity .3s ease
}

.coin.in {
  opacity: 1;
  transform: translateX(0) rotate(0)
}

.coin.park {
  transform: translate(var(--px), var(--py)) scale(var(--pk));
  transition: transform .7s cubic-bezier(.3, 1.25, .4, 1), opacity .3s ease
}

.coin.out {
  opacity: 0;
  transform: translate(var(--px), calc(var(--py) + 6cqw)) scale(.6);
  transition: transform .5s ease-in, opacity .4s ease
}

.c3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  border-radius: 50%;
  transform-origin: 50% 100%;
  transition: transform .6s cubic-bezier(.6, 0, .7, 1.2)
}

.coin.flat .c3d {
  transform: translateY(-2.6cqw) rotateX(90deg)
}

.coin.struck .c3d {
  animation: squashflat .5s cubic-bezier(.3, 1.5, .4, 1)
}

@keyframes squashflat {
  0% {
    transform: translateY(-2.6cqw) rotateX(90deg) scale(1)
  }

  20% {
    transform: translateY(-2.2cqw) rotateX(90deg) scale(1.03, 1)
  }

  55% {
    transform: translateY(-2.7cqw) rotateX(90deg) scale(.99, 1)
  }

  100% {
    transform: translateY(-2.6cqw) rotateX(90deg) scale(1)
  }
}

.coin.stand .c3d {
  animation: stand .9s cubic-bezier(.3, 1.25, .4, 1) forwards
}

@keyframes stand {
  0% {
    transform: translateY(-2.6cqw) rotateX(90deg)
  }

  100% {
    transform: translateY(0) rotateX(0)
  }
}

.coin.flip .c3d {
  animation: flip 1.7s cubic-bezier(.4, 0, .2, 1)
}

@keyframes flip {
  0% {
    transform: rotateY(0) translateY(0)
  }

  32% {
    transform: rotateY(180deg) translateY(-3cqw)
  }

  68% {
    transform: rotateY(180deg) translateY(-3cqw)
  }

  100% {
    transform: rotateY(360deg) translateY(0)
  }
}

.coin.park .c3d {
  animation: idle 4s ease-in-out infinite
}

@keyframes idle {

  0%,
  100% {
    transform: translateY(0) rotateY(0)
  }

  50% {
    transform: translateY(-.8cqw) rotateY(12deg)
  }
}

/* coin rim (visible while the blank lies flat on the anvil) */
.edge {
  position: absolute;
  left: 3%;
  top: 50%;
  width: 94%;
  height: 2.6cqw;
  margin-top: -1.3cqw;
  border-radius: .8cqw;
  transform: translateY(calc(var(--cz)/2)) translateZ(-1.3cqw) rotateX(90deg);
  background: repeating-linear-gradient(90deg, #2B2372 0 .3cqw, #4A3F9E .3cqw .5cqw);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .2s ease .45s
}

.coin.flat .edge {
  opacity: 1
}

.coin.stand .edge,
.coin.flip .edge,
.coin.park .edge {
  opacity: 0;
  transition: opacity .15s ease
}

.face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 32% 22%, #5A4DA3 0%, #372C7F 48%, #211A58 100%);
  box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .08), inset 0 .4cqw 1.4cqw rgba(255, 255, 255, .18), inset 0 -.6cqw 1.6cqw rgba(0, 0, 0, .45);
  transition: box-shadow .6s ease, filter .8s ease
}

.face.front {
  transform: translateZ(0)
}

.face.back {
  transform: translateZ(-2.6cqw) rotateY(180deg)
}

.face.back {
  background: radial-gradient(120% 120% at 32% 22%, #4F4396 0%, #2F2574 48%, #1C1650 100%)
}

.rev {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 70%
}

.rev b {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: calc(var(--cz)*.24);
  line-height: .9;
  color: var(--orange);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .6)
}

.rev em {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: calc(var(--cz)*.115);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #fff;
  margin-top: calc(var(--cz)*.03);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .6)
}

.ly {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, #2B2372 0 .3cqw, #4A3F9E .3cqw .5cqw)
}

.face::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .5s ease .1s;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .28) 0 1.1deg, rgba(0, 0, 0, .25) 1.1deg 3.2deg);
  -webkit-mask: radial-gradient(circle, transparent 0 42%, #000 44%);
  mask: radial-gradient(circle, transparent 0 42%, #000 44%)
}

.coin.struck .face::before {
  opacity: 1
}

.coin.struck .face.front,
.coin.struck .face.back {
  box-shadow: inset 0 0 0 .55cqw rgba(247, 136, 29, .95), inset 0 .4cqw 1.4cqw rgba(255, 255, 255, .22), inset 0 -.6cqw 1.6cqw rgba(0, 0, 0, .45), 0 0 4cqw rgba(247, 136, 29, .25)
}

.coin.struck .face {
  animation: heat 1.4s ease-out
}

@keyframes heat {
  0% {
    filter: brightness(1.9) saturate(1.2)
  }

  100% {
    filter: brightness(1)
  }
}

.engrave {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .25s ease .05s, transform .5s var(--spring) .05s
}

.coin.struck .engrave {
  opacity: 1;
  transform: scale(1)
}

.engrave b {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: calc(var(--cz)*.3);
  line-height: .9;
  color: var(--orange);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .6)
}

.engrave em {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: calc(var(--cz)*.135);
  color: #fff;
  margin-top: calc(var(--cz)*.03);
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .6)
}

.engrave i {
  display: block;
  font-style: normal;
  font-size: calc(var(--cz)*.07);
  letter-spacing: .04em;
  color: #B4ACE0;
  margin-top: .15em
}

.coin.struck .engrave {
  animation: glow 1.3s ease-out
}

@keyframes glow {
  0% {
    text-shadow: 0 0 1cqw rgba(255, 180, 90, .9), 0 0 3cqw rgba(247, 136, 29, .8)
  }

  100% {
    text-shadow: none
  }
}

/* impact fx */
.flash {
  position: absolute;
  left: 50%;
  top: 53.7cqw;
  width: var(--cz);
  height: var(--cz);
  margin: calc(var(--cz)/-2) 0 0 calc(var(--cz)/-2);
  border-radius: 50%;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 226, 180, .95), rgba(247, 136, 29, 0) 66%)
}

.flash.go {
  animation: pop .6s ease-out
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(.5)
  }

  12% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: scale(2.4)
  }
}

.ring {
  position: absolute;
  left: 50%;
  top: 53.7cqw;
  width: var(--cz);
  height: var(--cz);
  margin: calc(var(--cz)/-2) 0 0 calc(var(--cz)/-2);
  border-radius: 50%;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  border: .5cqw solid rgba(255, 190, 120, .9)
}

.ring.go {
  animation: ringout .75s cubic-bezier(.1, .7, .3, 1)
}

@keyframes ringout {
  0% {
    opacity: .9;
    transform: scale(.7)
  }

  100% {
    opacity: 0;
    transform: scale(2.6)
  }
}

.sparks {
  position: absolute;
  left: 50%;
  top: 53.7cqw;
  width: 0;
  height: 0;
  z-index: 4;
  pointer-events: none
}

.sparks i {
  position: absolute;
  width: 1cqw;
  height: 1cqw;
  margin: -.5cqw;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0
}

.sparks.go i {
  animation: spark .7s cubic-bezier(.1, .6, .3, 1)
}

@keyframes spark {
  0% {
    opacity: 1;
    transform: rotate(var(--a)) translateY(calc(var(--cz)/-2)) scale(1.2)
  }

  100% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(calc(var(--cz)*-1.4)) scale(.2)
  }
}

/* dust */
.dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.dust i {
  position: absolute;
  width: .6cqw;
  height: .6cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  left: var(--x);
  top: 110%;
  animation: float var(--t) linear var(--dl) infinite
}

@keyframes float {
  0% {
    transform: translateY(0);
    opacity: 0
  }

  10% {
    opacity: .6
  }

  90% {
    opacity: .4
  }

  100% {
    transform: translateY(-120cqw);
    opacity: 0
  }
}

/* payoff */
.payoff {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2cqw;
  text-align: center;
  font-family: var(--mono);
  font-size: 2.3cqw;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4;
  opacity: 0;
  transform: translateY(1.5cqw);
  transition: opacity .7s ease, transform .8s var(--ease)
}

.payoff.on {
  opacity: 1;
  transform: none
}

.payoff b {
  color: var(--orange);
  font-weight: 500
}

/* ---------- logo strip ---------- */
.hero-logos {
  margin-top: clamp(1.6rem, 4vh, 3rem);
  padding-top: clamp(1rem, 2.5vh, 1.6rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 3.5rem);
  flex-wrap: wrap
}

.hero-logos .label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7A73AE;
  white-space: nowrap
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem clamp(1.6rem, 4vw, 3.5rem)
}

.logo {
  height: 32px;
  display: flex;
  align-items: center;
  opacity: .55;
  transition: opacity .35s
}

.logo:hover {
  opacity: 1
}

.logo img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1)
}

.logo.word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  color: #fff
}

.logo.placeholder {
  opacity: .5;
  border: 1px dashed rgba(255, 255, 255, .3);
  border-radius: 8px;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7A73AE
}

/* ---------- how it works ---------- */
.statement {
  background: var(--paper)
}

.statement-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(1.8rem, 4vh, 3rem)
}

.statement h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  letter-spacing: -.04em;
  line-height: 1;
  max-width: 14ch
}

.statement .lines {
  margin-top: 1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--muted)
}

.statement .lines span {
  display: block
}

.statement .lines .final {
  color: var(--text)
}

.statement-head .lede {
  margin: 0;
  padding-bottom: .4rem
}

.pipe {
  position: relative;
  --n: 4
}

.pipe-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  height: 176px;
  align-items: end;
  margin-bottom: 22px
}

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  transition: opacity .45s var(--ease), transform .55s var(--spring), border-color .3s, box-shadow .45s;
  position: relative
}

.pcard::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: var(--card);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg)
}

.pcard.on {
  opacity: 1;
  transform: none;
  border-color: rgba(247, 136, 29, .5);
  box-shadow: 0 24px 40px -24px rgba(23, 19, 61, .35)
}

.pcard.on::after {
  border-color: rgba(247, 136, 29, .5)
}

.pcard>b {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px
}

.pcard .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.pcard .chips span {
  font-size: .8rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  opacity: 0;
  transform: scale(.9)
}

.pcard.on .chips span {
  animation: pchip .45s var(--spring) forwards;
  animation-delay: var(--d)
}

@keyframes pchip {
  to {
    opacity: 1;
    transform: none;
    border-color: var(--indigo);
    color: var(--text)
  }
}

.pcard dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 0;
  font-size: .84rem
}

.pcard dt {
  font-size: .8rem;
  color: var(--muted);
  opacity: 0;
  white-space: nowrap
}

.pcard dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
  opacity: 0
}

.pcard.on dt,
.pcard.on dd {
  animation: prow .4s ease forwards;
  animation-delay: var(--d)
}

@keyframes prow {
  to {
    opacity: 1
  }
}

.pcard ol,
.pcard ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: .86rem;
  color: var(--muted)
}

.pcard li {
  opacity: 0;
  transform: translateX(-6px);
  position: relative;
  padding-left: 16px
}

.pcard ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-2)
}

.pcard ol li em {
  font-style: normal;
  font-weight: 600;
  color: var(--text)
}

.pcard ol li:last-child::before {
  background: var(--orange)
}

.pcard .ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 9px;
  height: 5px;
  border-left: 2px solid #1FA36B;
  border-bottom: 2px solid #1FA36B;
  transform: rotate(-45deg)
}

.pcard .ticks li {
  color: var(--text)
}

.pcard.on li {
  animation: pli .45s var(--ease) forwards;
  animation-delay: var(--d)
}

@keyframes pli {
  to {
    opacity: 1;
    transform: none
  }
}

.pipe-track {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 30px;
  height: 2px;
  background: var(--line-2);
  border-radius: 2px
}

.pipe-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--indigo), var(--orange));
  border-radius: 2px;
  transition: width .9s var(--ease)
}

.pipe-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative
}

.pnode {
  text-align: center
}

.pnode i {
  display: flex;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--card);
  border: 2px solid var(--line-2);
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  position: relative;
  transition: border-color .35s, color .35s, transform .45s var(--spring), box-shadow .4s
}

.pnode i svg {
  width: 24px;
  height: 24px
}

.pnode i::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
  transform: scale(1)
}

.pnode.on i {
  border-color: var(--orange);
  color: var(--orange);
  transform: scale(1.08);
  box-shadow: 0 12px 28px -10px rgba(247, 136, 29, .6)
}

.pnode.on i::after {
  animation: pring .9s ease-out
}

@keyframes pring {
  0% {
    opacity: .9;
    transform: scale(1)
  }

  100% {
    opacity: 0;
    transform: scale(1.9)
  }
}

.pnode.done i {
  border-color: var(--indigo);
  color: var(--indigo)
}

.pnode b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  transition: color .3s
}

.pnode small {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  margin-top: 2px;
  white-space: nowrap
}

.pnode.on b {
  color: var(--orange)
}

.pipe-packet {
  position: relative;
  margin-top: 16px;
  transform: translateX(var(--x, 0));
  width: 25%;
  padding: 0 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: transform .9s var(--ease), opacity .3s;
  opacity: 0
}

.pipe.live .pipe-packet {
  opacity: 1
}

.pipe-packet b {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange)
}

.pipe-packet span {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .86rem;
  line-height: 1.35;
  box-shadow: 0 14px 30px -14px rgba(23, 19, 61, .5);
  transition: transform .3s var(--spring), opacity .25s
}

.pipe-packet.swap span {
  transform: scale(.92);
  opacity: 0
}

.pipe-packet.act span {
  background: var(--orange);
  color: var(--ink);
  font-weight: 600
}

@media (max-width:760px) {
  .statement-head {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    align-items: start
  }

  .pipe {
    padding-bottom: 0
  }

  .pipe-cards,
  .pipe-track,
  .pipe-packet {
    display: none
  }

  .pipe-nodes {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .pnode {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 14px;
    text-align: left;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card)
  }

  .pnode i {
    width: 46px;
    height: 46px;
    margin: 0;
    grid-row: 1/3
  }

  .pnode.on {
    border-color: rgba(247, 136, 29, .5)
  }
}

/* ---------- agentic AI ---------- */
/* the two columns are centred on each other; the taller one sets the row, so the section's top and
   bottom gaps stay exactly the band padding (a top margin on the panel used to add extra space above) */
.ag-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center
}

.ag-left h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem)
}

.ag-left h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.ag-left .lede {
  margin-top: 1rem;
  max-width: 44ch
}

.ag-feed {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-rows: repeat(5, 40px);
  gap: 6px;
  height: 224px;
  overflow: hidden
}

.ag-feed li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--text);
  animation: agin .5s var(--ease) both
}

.ag-feed li i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c, var(--indigo))
}

.ag-feed li>span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.ag-feed li b {
  font-weight: 600;
  color: var(--ink)
}

.ag-feed li small {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.ag-feed li.you {
  border-color: rgba(247, 136, 29, .6);
  background: #F5DCC6
}

@keyframes agin {
  0% {
    opacity: 0;
    transform: translateY(-8px)
  }

  100% {
    opacity: 1;
    transform: none
  }
}

.ag-caps {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted)
}

.ag-caps span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 8px;
  vertical-align: 2px
}

.ag-stage {
  container-type: inline-size;
  width: 100%;
  max-width: min(560px, calc((100svh - 190px) / .96));
  margin: 0 auto;
  justify-self: end
}

.ag-panel {
  position: relative;
  width: 100%;
  height: 96cqw;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #1B1549 0%, #130F36 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06)
}

.ag-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 10cqw 10cqw;
  background-position: center;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent)
}

.ag-panel.busy .hud .led {
  color: var(--orange)
}

.ag-lines {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.ag-lines line.base {
  stroke: rgba(255, 255, 255, .14);
  stroke-width: .35;
  vector-effect: non-scaling-stroke;
  transition: stroke .4s
}

.ag-lines line.up {
  stroke: rgba(247, 136, 29, .45);
  stroke-dasharray: 1.2 1.2
}

.ag-lines line.hot {
  stroke: rgba(255, 255, 255, .5)
}

.ag-lines line.p {
  stroke: var(--orange);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 22 78;
  stroke-dashoffset: 22;
  opacity: 0;
  filter: blur(.35cqw) drop-shadow(0 0 .8cqw rgba(247, 136, 29, .9))
}

.ag-lines line.core {
  stroke: #fff;
  stroke-width: .45;
  stroke-linecap: round;
  stroke-dasharray: 9 91;
  stroke-dashoffset: 9;
  opacity: 0;
  filter: drop-shadow(0 0 .3cqw #fff)
}

.ag-lines line.p.out {
  animation: agflowout .6s cubic-bezier(.3, .1, .7, .9) forwards
}

.ag-lines line.p.in {
  animation: agflowin .6s cubic-bezier(.3, .1, .7, .9) forwards
}

.ag-lines line.core.out {
  animation: agcoreout .6s cubic-bezier(.3, .1, .7, .9) forwards, agflicker .12s steps(2) 5
}

.ag-lines line.core.in {
  animation: agcorein .6s cubic-bezier(.3, .1, .7, .9) forwards, agflicker .12s steps(2) 5
}

@keyframes agflowout {
  0% {
    opacity: 0;
    stroke-dashoffset: 22
  }

  10% {
    opacity: .85
  }

  90% {
    opacity: .85
  }

  100% {
    opacity: 0;
    stroke-dashoffset: -100
  }
}

@keyframes agflowin {
  0% {
    opacity: 0;
    stroke-dashoffset: -100
  }

  10% {
    opacity: .85
  }

  90% {
    opacity: .85
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 22
  }
}

@keyframes agcoreout {
  0% {
    opacity: 0;
    stroke-dashoffset: 9
  }

  8% {
    opacity: 1
  }

  92% {
    opacity: 1
  }

  100% {
    opacity: 0;
    stroke-dashoffset: -100
  }
}

@keyframes agcorein {
  0% {
    opacity: 0;
    stroke-dashoffset: -100
  }

  8% {
    opacity: 1
  }

  92% {
    opacity: 1
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 9
  }
}

@keyframes agflicker {
  50% {
    stroke-width: .8
  }
}

.ag-node {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) / 96 * 100%);
  transform: translate(-50%, -5.25cqw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9cqw;
  width: 20cqw;
  text-align: center
}

.ag-node {
  --c: #4B3F9E
}

.ag-node .av {
  width: 10.5cqw;
  height: 10.5cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E1DDF5;
  background: radial-gradient(120% 120% at 32% 22%, #5A4DA3 0%, #372C7F 48%, #211A58 100%);
  border: .35cqw solid rgba(255, 255, 255, .18);
  box-shadow: 0 1.5cqw 3cqw rgba(0, 0, 0, .45);
  transition: transform .5s var(--spring), box-shadow .4s, border-color .4s
}

.ag-node b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.3cqw;
  color: #fff;
  line-height: 1.1
}

.ag-node .chip-s {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  min-height: 2.4cqw;
  opacity: 0;
  transform: translateY(.6cqw);
  transition: opacity .35s, transform .45s var(--ease)
}

.ag-node .av svg {
  width: 5.4cqw;
  height: 5.4cqw
}

.ag-node.on .av {
  transform: scale(1.12);
  border-color: rgba(247, 136, 29, .8);
  color: #fff;
  box-shadow: 0 0 0 .9cqw rgba(247, 136, 29, .22), 0 1.5cqw 3cqw rgba(0, 0, 0, .45)
}

.ag-node.done .av {
  border-color: rgba(62, 213, 152, .6)
}

.ag-node.on .chip-s,
.ag-node.done .chip-s {
  opacity: 1;
  transform: none
}

.ag-node.done .chip-s {
  color: #9BF2CB
}

#ag-orch {
  transform: translate(-50%, -7.5cqw)
}

#ag-orch .av {
  width: 15cqw;
  height: 15cqw;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 7cqw;
  color: var(--orange)
}

.ag-feed li i {
  background: var(--c, #4B3F9E)
}

#ag-you {
  --c: #F7881D
}

#ag-you .av {
  background: radial-gradient(120% 120% at 32% 22%, #FFC27A, var(--orange) 55%, #B85B0A);
  color: var(--ink)
}

#ag-you .av svg {
  width: 5.8cqw;
  height: 5.8cqw
}

#ag-you.need .av {
  animation: agneed 1.2s ease-in-out infinite
}

@keyframes agneed {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(247, 136, 29, .55), 0 1.5cqw 3cqw rgba(0, 0, 0, .45)
  }

  50% {
    box-shadow: 0 0 0 2.2cqw rgba(247, 136, 29, 0), 0 1.5cqw 3cqw rgba(0, 0, 0, .45)
  }
}

.ag-decision {
  position: absolute;
  left: 50%;
  top: 33cqw;
  transform: translate(-50%, 0) scale(.9);
  width: 52cqw;
  padding: 2.6cqw 3cqw;
  border-radius: 2.6cqw;
  background: #EEEAFA;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 3cqw 6cqw rgba(0, 0, 0, .5);
  transition: opacity .35s, transform .5s var(--spring);
  z-index: 3
}

.ag-decision.on {
  opacity: 1;
  transform: translate(-50%, 0) scale(1)
}

.ag-decision b {
  display: block;
  font-family: var(--mono);
  font-size: 1.8cqw;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .8cqw
}

.ag-decision span {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.9cqw;
  line-height: 1.3;
  letter-spacing: -.01em
}

.ag-decision .btns {
  display: flex;
  gap: 1.6cqw;
  margin-top: 2cqw
}

.ag-decision .btns i {
  font-style: normal;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.3cqw;
  padding: 1.5cqw 3cqw;
  border-radius: 999px;
  border: 1.5px solid var(--indigo-2);
  background: rgba(75, 63, 158, .06);
  color: var(--indigo);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, opacity .3s, box-shadow .3s
}

.ag-decision .btns i:hover {
  background: rgba(75, 63, 158, .12);
  border-color: var(--indigo);
  box-shadow: 0 0 0 .5cqw rgba(75, 63, 158, .12)
}

.ag-decision .btns i.ok {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.ag-decision .btns i.ok:hover {
  background: var(--ink-3);
  border-color: var(--ink-3);
  box-shadow: 0 .6cqw 1.6cqw rgba(18, 14, 52, .3)
}

.ag-decision.approved .btns i.ok {
  background: #1FA36B;
  border-color: #1FA36B;
  box-shadow: none
}

.ag-decision.approved .btns i.ok::after {
  content: " ✓"
}

.ag-decision.approved .btns i:not(.ok) {
  opacity: .7;
  background: #EFEDF6;
  border-color: #D3CFE6;
  border-style: dashed;
  color: #5F5A8A;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none
}

.ag-legend {
  position: absolute;
  left: 4.2cqw;
  right: 4.2cqw;
  bottom: 3.4cqw;
  display: flex;
  gap: 3cqw;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7C75B4
}

.ag-legend i {
  display: inline-block;
  width: 2.6cqw;
  height: .35cqw;
  margin-right: 1cqw;
  vertical-align: middle;
  background: rgba(255, 255, 255, .4)
}

.ag-legend i.l2 {
  background: var(--orange)
}

.ag-legend i.l3 {
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  background: #fff
}

@media (max-width:920px) {
  .ag-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem
  }

  .ag-left {
    display: contents
  }

  .ag-left .eyebrow {
    order: 1
  }

  .ag-left h2 {
    order: 2
  }

  .ag-left .lede {
    order: 3;
    margin-top: 0
  }

  .ag-stage {
    order: 4;
    justify-self: stretch;
    max-width: 560px;
    margin-top: .4rem;
    align-self: auto
  }

  .ag-feed {
    order: 5;
    height: auto;
    grid-template-rows: none;
    margin-top: .2rem
  }

  .ag-feed li:nth-child(n+4) {
    display: none
  }

  .ag-caps {
    order: 6;
    margin-top: .4rem
  }

  .ag-left .btn {
    order: 7
  }
}

@media (prefers-reduced-motion:reduce) {
  #ag-you.need .av {
    animation: none
  }

  .ag-lines line.p,
  .ag-lines line.core {
    animation: none !important
  }
}

/* ---------- differentiator ---------- */
.diff .big {
  font-size: clamp(2.4rem, 6.2vw, 5.4rem);
  letter-spacing: -.045em;
  line-height: 1
}

.diff .big .dim {
  color: #7C75B4;
  display: block;
  font-size: .55em;
  font-weight: 500;
  letter-spacing: -.03em;
  margin-bottom: .35em
}

.diff .big .hit {
  display: block;
  color: #fff
}

.diff .big .hit em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.equation {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px
}

.equation .tok {
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--line-d);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: -.01em;
  color: #fff;
  background: rgba(255, 255, 255, .03);
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d)
}

.equation .op {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.9rem;
  color: #7C75B4;
  opacity: 0;
  transition: opacity .5s ease;
  transition-delay: var(--d)
}

.equation .tok.result {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
  box-shadow: 0 20px 40px -18px rgba(247, 136, 29, .6)
}

.equation .eq {
  font-size: 2.4rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 300;
  padding: 0 6px
}

.in .equation .tok,
.in .equation .op {
  opacity: 1;
  transform: none
}

.diff-note {
  margin-top: 2rem;
  color: #9C95CC;
  font-size: .98rem;
  max-width: 52ch
}

/* ---------- case study ---------- */
.case {
  background: var(--paper)
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0
}

.tag {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted)
}

.case .case-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -.035em;
  line-height: 1.05
}

.case .client {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem
}

.case .client i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange)
}

.case .lede {
  margin-top: 0
}

.case-cta {
  margin-top: 1.4rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line)
}

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  color: var(--muted);
  transition: color .3s
}

.steps li b {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--line-2);
  transition: color .3s
}

.steps li span {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -.01em
}

.steps li small {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 1px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .4s, max-height .4s
}

.steps li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--orange)
}

.steps li.active {
  color: var(--text)
}

.steps li.active b {
  color: var(--orange)
}

.steps li.active small {
  opacity: 1;
  max-height: 40px
}

.steps li.active::after {
  width: 100%;
  transition: width var(--dur, 3.6s) linear
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 2rem
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 32px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(50, 42, 112, .14), transparent 70%)
}

.phone {
  position: relative;
  width: min(280px, 80vw, calc((100svh - 260px) * 9 / 19.3));
  aspect-ratio: 9/19.3;
  border-radius: 46px;
  background: #0E0B2A;
  padding: 11px;
  box-shadow: 0 50px 90px -30px rgba(23, 19, 61, .55), 0 0 0 1px rgba(255, 255, 255, .05) inset
}

.phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 96px;
  height: 26px;
  margin-left: -48px;
  border-radius: 14px;
  background: #0E0B2A;
  z-index: 3
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #14103A
}

.shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(6%) scale(1.02);
  transition: opacity .55s ease, transform .7s var(--ease);
  will-change: transform, opacity
}

.shot.active {
  opacity: 1;
  transform: none;
  z-index: 1
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top
}

.shot .ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1E1750, #120E34);
  display: flex;
  flex-direction: column
}

.shot .ph .bar {
  height: 74px;
  background: rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: flex-end;
  padding: 0 18px 12px;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  color: #fff;
  font-size: .9rem
}

.shot .ph .bar i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 16px
}

.shot .ph .box {
  flex: 1;
  margin: 18px 18px 78px;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  gap: 8px
}

.shot .ph .box b {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange)
}

.shot .ph .box span {
  font-family: var(--display);
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem
}

.shot .ph .box small {
  font-family: var(--mono);
  font-size: .62rem;
  color: #8E86C4;
  word-break: break-all
}

.shot .cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(14, 11, 42, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .86rem;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center
}

.shot .cap b {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .14em;
  color: var(--orange)
}

.phone-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px
}

.phone-nav button {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--line-2);
  padding: 0;
  transition: background .3s, width .3s
}

.phone-nav button.on {
  background: var(--orange);
  width: 34px
}

/* ---------- products ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center
}

.prod-grid .lede {
  margin-top: 1.1rem
}

.prod-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-d)
}

.prod-list li {
  border-bottom: 1px solid var(--line-d)
}

.prod-list a {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: baseline;
  padding: 11px 0 11px 18px;
  position: relative;
  transition: padding .35s var(--ease)
}

.prod-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease)
}

.prod-list .pname {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: #fff;
  transition: color .3s
}

.prod-list .ptag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4;
  transition: color .3s
}

.prod-list p {
  grid-column: 1/-1;
  margin-top: 3px;
  color: #A9A3D2;
  font-size: .9rem;
  line-height: 1.5;
  max-width: 52ch
}

.prod-list li.on a::before,
.prod-list a:hover::before {
  transform: scaleY(1)
}

.prod-list li.on .pname,
.prod-list a:hover .pname {
  color: var(--orange)
}

.prod-list li.on .ptag,
.prod-list a:hover .ptag {
  color: #D6D1F0
}

/* ---------- mindtalk ---------- */
.mindtalk {
  background: var(--ink);
  border-top: 1px solid var(--line-d)
}

.mt-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center
}

.mt-grid h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem)
}

.mt-grid h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: .8rem
}

.chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-d);
  font-size: .84rem;
  font-weight: 500;
  color: #E1DDF5;
  background: rgba(255, 255, 255, .03);
  transition: border-color .3s, background .3s
}

.chip:hover {
  border-color: rgba(247, 136, 29, .6);
  background: rgba(247, 136, 29, .08)
}

.mt-note {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7C75B4
}

.voice {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line-d);
  background: linear-gradient(180deg, #1B1549, #130F36);
  padding: 34px 30px;
  overflow: hidden
}

.voice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(247, 136, 29, .12), transparent 70%)
}

.voice .head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4;
  position: relative
}

.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 120px;
  margin: 28px 0;
  position: relative
}

.wave i {
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--amber), var(--orange));
  height: 14px;
  animation: wave 1.6s ease-in-out infinite;
  animation-delay: var(--d);
  opacity: .9
}

@keyframes wave {

  0%,
  100% {
    height: 12px;
    opacity: .55
  }

  50% {
    height: var(--h);
    opacity: 1
  }
}

.transcript {
  position: relative;
  display: grid;
  gap: 10px
}

.transcript div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: #D6D1F0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d)
}

.in .transcript div {
  opacity: 1;
  transform: none
}

.transcript b {
  flex: none;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 4px;
  width: 56px
}

.transcript .sys b {
  color: #8E86C4
}

.transcript .sys {
  color: #8E86C4;
  font-family: var(--mono);
  font-size: .74rem
}

/* product status + mind-talk/cx blocks */
.pstat {
  justify-self: start;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(247, 136, 29, .45);
  color: var(--amber);
  white-space: nowrap
}

.pstat.live {
  border-color: rgba(62, 213, 152, .5);
  color: #7EE9BC
}

.mt-block {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-d)
}

.mt-block:first-of-type {
  margin-top: 1.6rem
}

.mt-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap
}

.mt-head .pname {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: #fff
}

.mt-head .ptag {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4
}

.chip.soon {
  border-style: dashed;
  color: #B4ACE0
}

.cx-strip {
  position: relative;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-d);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8E86C4
}

.cx-strip b {
  color: var(--orange);
  font-weight: 500
}

/* =====================================================================
   PRODUCT SHOWCASE
   ===================================================================== */
.showcase {
  background: var(--ink)
}

.show-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center
}

.show-left :is(h1, h2) {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem)
}

.show-left :is(h1, h2) em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.show-left .lede {
  margin-top: .9rem
}

.show-left .btn {
  margin-top: 1.4rem
}

.show-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-d)
}

.show-item {
  border-bottom: 1px solid var(--line-d);
  position: relative
}

.show-item button {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 11px 0 11px 18px;
  text-align: left;
  position: relative;
  cursor: pointer
}

.show-item button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease)
}

.show-item .pname {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: #fff;
  transition: color .3s
}

.show-item .ptag {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4
}

.show-item .feats {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s var(--ease), opacity .4s ease, padding .4s ease
}

.show-item .feats li {
  position: relative;
  padding-left: 16px;
  font-size: .92rem;
  color: #C9C4E6;
  line-height: 1.4;
  opacity: 0;
  transform: translateX(-6px)
}

.show-item .feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange)
}

.show-item.on button::before {
  transform: scaleY(1)
}

.show-item.on .pname {
  color: var(--orange)
}

.show-item.on .feats {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 12px
}

/* Mind-X: fixed open height (site.js sets --feats-h to the tallest list) so opening and closing
   add up to the same total and the section never moves */
.mx-caps .show-item .feats {
  max-height: none;
  height: 0;
  transition: height .6s var(--ease), opacity .4s ease, padding .4s ease
}

.mx-caps .show-item.on .feats {
  height: var(--feats-h, auto)
}

/* site.js sets a new --feats-h with the transition off, so the list takes its new height at once */
.mx-caps.feats-snap .show-item .feats {
  transition: none !important
}

/* until the first item opens (when the section comes into view) the list keeps the room that item
   will take, and gives it back with the same timing as the item opens, so the list's height never
   changes. Without it the list grew as the first item opened and the whole section (centred on the
   screen, and scaled down to fit when it is too tall) moved with it. */
.mx-caps .show-list:not(:has(.show-item.on)) {
  padding-bottom: var(--feats-h, 0px)
}

.mx-caps .show-list:has(.show-item.on) {
  transition: padding-bottom .6s var(--ease)
}

.show-item.on .feats li {
  animation: pli .5s var(--ease) forwards
}

.show-item.on .feats li:nth-child(1) {
  animation-delay: .15s
}

.show-item.on .feats li:nth-child(2) {
  animation-delay: .3s
}

.show-item.on .feats li:nth-child(3) {
  animation-delay: .45s
}

.show-item.on .feats li:nth-child(4) {
  animation-delay: .6s
}

.show-item button:hover .pname {
  color: #fff
}

.show-stage {
  container-type: inline-size;
  width: 100%;
  max-width: min(500px, calc((100svh - 190px) / .98));
  margin: 0 auto;
  justify-self: end
}

/* desktop: the right-column stage hugs the wrap's right edge so a section's outer margins match
   left and right. The auto side margins above would otherwise centre it inside its grid column. */
@media (min-width:921px) {

  .journey-wrap,
  .ag-stage,
  .show-stage {
    margin-left: auto;
    margin-right: 0
  }
}

.show-panel {
  position: relative;
  width: 100%;
  height: 98cqw;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #1B1549 0%, #130F36 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06)
}

.show-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 10cqw 10cqw;
  background-position: center;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent)
}

.show-panel .hud .led {
  color: #fff
}

.sscene {
  position: absolute;
  left: 0;
  right: 0;
  top: 11cqw;
  bottom: 6cqw;
  opacity: 0;
  transform: translateY(2.5cqw);
  transition: opacity .5s ease, transform .7s var(--ease);
  pointer-events: none
}

.sscene.active {
  opacity: 1;
  transform: none
}

.show-bar {
  position: absolute;
  left: 4.2cqw;
  right: 4.2cqw;
  bottom: 3.4cqw;
  height: .5cqw;
  background: rgba(255, 255, 255, .12);
  border-radius: 1cqw;
  overflow: hidden
}

.show-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange)
}

.show-bar span.run {
  width: 100%;
  transition: width var(--dur, 6s) linear
}

/* Mind-X */
.sx-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0
}

.sx-lines line.b {
  stroke: rgba(255, 255, 255, .16);
  stroke-width: .35;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1 1;
  opacity: 0
}

.sx.active .sx-lines line.b {
  animation: sxline .6s ease 1.7s forwards
}

@keyframes sxline {
  to {
    opacity: 1
  }
}

.sx-lines line.p {
  stroke: #FFD9B0;
  stroke-width: .9;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
  stroke-dashoffset: 14;
  opacity: 0;
  filter: drop-shadow(0 0 .7cqw var(--orange)) drop-shadow(0 0 1.6cqw rgba(247, 136, 29, .6))
}

.sx.active .sx-lines line.p {
  animation: sxflow .6s cubic-bezier(.3, .1, .7, .9) forwards;
  animation-delay: var(--d)
}

@keyframes sxflow {
  0% {
    opacity: 0;
    stroke-dashoffset: 14
  }

  10% {
    opacity: 1
  }

  90% {
    opacity: 1
  }

  100% {
    opacity: 0;
    stroke-dashoffset: -100
  }
}

.sx-node {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) / 82 * 100%);
  transform: translate(-50%, -50%) scale(.85);
  width: max-content;
  min-width: 24.5cqw;
  height: 8.5cqw;
  border-radius: 2.2cqw;
  background: #1E1850;
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 1
}

.sx-node {
  gap: 1.5cqw;
  padding: 0 2cqw;
  box-sizing: border-box
}

.sx-node i {
  width: 4.2cqw;
  height: 4.2cqw;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber)
}

.sx-node i svg {
  width: 100%;
  height: 100%;
  display: block
}

/* margin-right cancels the trailing letter-spacing after the last glyph, so the label sits dead centre */
.sx-node b {
  font-family: var(--mono);
  font-size: 1.95cqw;
  line-height: 1;
  letter-spacing: .14em;
  margin-right: -.14em;
  text-transform: uppercase;
  color: #D6D1F0;
  font-weight: 500;
  white-space: nowrap
}

.sx.active .sx-node {
  animation: sxnode .5s var(--spring) forwards;
  animation-delay: var(--d)
}

@keyframes sxnode {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1)
  }
}

.sx-hub {
  position: absolute;
  left: 50%;
  top: calc(44 / 82 * 100%);
  width: 17cqw;
  height: 17cqw;
  margin: -8.5cqw 0 0 -8.5cqw;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 32% 22%, #5A4DA3, #211A58);
  border: 1px solid rgba(247, 136, 29, .7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0
}

.sx.active .sx-hub {
  animation: sxhubin .6s var(--spring) forwards, sxhub 3s ease-in-out 1s infinite;
  animation-delay: var(--d), 1s
}

@keyframes sxhubin {
  0% {
    opacity: 0;
    transform: scale(.85)
  }

  100% {
    opacity: 1;
    transform: scale(1)
  }
}

.sx-hub i {
  font-family: var(--serif);
  font-style: italic;
  font-size: 6cqw;
  line-height: 1;
  color: var(--orange)
}

.sx-hub span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.5cqw;
  color: #fff;
  margin-top: .3cqw
}

@keyframes sxhub {

  0%,
  100% {
    box-shadow: 0 0 4cqw rgba(247, 136, 29, .25)
  }

  50% {
    box-shadow: 0 0 8cqw rgba(247, 136, 29, .5)
  }
}

.sx-pill {
  position: absolute;
  left: 8cqw;
  top: 0;
  padding: 1.2cqw 2cqw;
  border-radius: 999px;
  border: 1px solid rgba(62, 213, 152, .5);
  font-family: var(--mono);
  font-size: 1.8cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9BF2CB;
  opacity: 0;
  z-index: 2
}

.sx.active .sx-pill {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

.sx-ask {
  position: absolute;
  right: 8cqw;
  top: 8cqw;
  max-width: 70%;
  padding: 2.4cqw 3cqw;
  border-radius: 2.4cqw;
  border-bottom-right-radius: 1cqw;
  background: var(--orange);
  color: var(--ink);
  font-weight: 500;
  font-size: 2.8cqw;
  line-height: 1.4;
  opacity: 0;
  z-index: 2
}

.sx-ans {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  bottom: 0;
  max-width: none;
  padding: 2.4cqw 3cqw;
  border-radius: 2.4cqw;
  border-bottom-left-radius: 1cqw;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 2.8cqw;
  line-height: 1.4;
  opacity: 0;
  z-index: 2;
  backdrop-filter: blur(6px)
}

.sx-ans b {
  color: var(--amber)
}

.sx-ans small {
  display: block;
  margin-top: 1cqw;
  font-family: var(--mono);
  font-size: 1.9cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.sx.active .sx-ask,
.sx.active .sx-ans {
  animation: jpop .5s var(--spring) both;
  animation-delay: var(--d)
}

/* Mind-BI extras (reuses .q .chart .axis .insight) */
.sb .q {
  top: 0
}

.sb .chart {
  top: 19cqw
}

.sb .axis {
  top: 54.5cqw
}

.sb .insight {
  top: 60cqw
}

.sb.active .q span {
  animation: jtype 1.1s steps(32) .2s forwards, jcaret .8s step-end infinite
}

.sb.active .chart i {
  animation: jgrow .8s var(--ease) both;
  animation-delay: var(--d)
}

.sb.active .insight {
  animation: jrise .6s var(--ease) both;
  animation-delay: var(--d)
}

.sb-mcp {
  position: absolute;
  right: 8cqw;
  top: 12.5cqw;
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.1cqw 2cqw;
  border-radius: 999px;
  border: 1px solid rgba(62, 213, 152, .5);
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9BF2CB;
  opacity: 0;
  z-index: 2
}

.sb.active .sb-mcp {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

.sb-share {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 75cqw;
  display: flex;
  gap: 1.6cqw;
  opacity: 0
}

.sb-share span {
  padding: 1.6cqw 2.6cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--mono);
  font-size: 2cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #D6D1F0
}

.sb.active .sb-share {
  animation: jrise .6s var(--ease) both;
  animation-delay: var(--d)
}

/* Mind-Talk extras (reuses .call .j-wave .lines) */
.st .call {
  top: 0
}

.st .j-wave {
  top: 19cqw
}

.st .lines {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 40cqw;
  display: grid;
  gap: 2.2cqw
}

.st .lines div {
  display: flex;
  gap: 2cqw;
  align-items: flex-start;
  font-size: 2.9cqw;
  color: #E1DDF5;
  opacity: 0
}

.st .lines b {
  flex: none;
  width: 14.5cqw;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 1.9cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: .7cqw
}

.st.active .lines div {
  animation: jrise .6s var(--ease) both;
  animation-delay: var(--d)
}

.st-lang {
  position: absolute;
  right: 8cqw;
  top: 2cqw;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  font-family: var(--mono);
  font-size: 2.2cqw;
  letter-spacing: .12em;
  color: #D6D1F0;
  padding: 1.2cqw 2cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  opacity: 0
}

.st-lang i {
  font-style: normal;
  color: var(--orange)
}

.st.active .st-lang {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

.st-acts {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 62cqw;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4cqw
}

.st-acts span {
  padding: 1.5cqw 2.4cqw;
  border-radius: 999px;
  background: rgba(62, 213, 152, .14);
  color: #9BF2CB;
  font-family: var(--mono);
  font-size: 1.9cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0
}

.st-acts span.hand {
  background: rgba(247, 136, 29, .14);
  color: var(--amber)
}

.st.active .st-acts span {
  animation: jpop .45s var(--spring) both;
  animation-delay: var(--d)
}

/* Mind-CX wallboard */
.sc-queues {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw
}

.sc-queues div {
  padding: 2.2cqw 2.4cqw;
  border-radius: 2.2cqw;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0
}

.sc-queues small {
  display: block;
  font-family: var(--mono);
  font-size: 1.8cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4
}

.sc-queues b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 5.2cqw;
  line-height: 1.1;
  color: #fff;
  margin-top: .6cqw
}

.sc-queues span {
  font-size: 2.1cqw;
  color: #B4ACE0
}

.sc.active .sc-queues div {
  animation: jpop .5s var(--spring) both;
  animation-delay: var(--d)
}

.sc-agents {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 24cqw;
  display: grid;
  gap: 1.2cqw
}

.sc-agents div {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 1.8cqw 2.4cqw;
  border-radius: 1.8cqw;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: 2.6cqw;
  color: #E1DDF5;
  opacity: 0;
  transition: border-color .4s, background .4s
}

.sc-agents div em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.9cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.sc-agents i {
  width: 1.8cqw;
  height: 1.8cqw;
  border-radius: 50%;
  background: #8E86C4
}

.sc-agents i.on {
  background: var(--orange)
}

.sc-agents i.free {
  background: #3ED598;
  box-shadow: 0 0 1.4cqw #3ED598
}

.sc-agents i.wu {
  background: #B4ACE0
}

.sc.active .sc-agents div {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

.sc.active .sc-agents .target {
  animation: jrise .5s var(--ease) both, sctarget .6s ease 2.6s forwards;
  animation-delay: var(--d), 2.6s
}

@keyframes sctarget {
  to {
    border-color: rgba(247, 136, 29, .7);
    background: rgba(247, 136, 29, .12)
  }
}

.sc-call {
  position: absolute;
  left: 8cqw;
  top: 62cqw;
  padding: 2cqw 2.8cqw;
  border-radius: 2cqw;
  background: var(--orange);
  color: var(--ink);
  font-size: 2.5cqw;
  font-weight: 500;
  opacity: 0
}

.sc-call b {
  display: block;
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .8
}

.sc.active .sc-call {
  animation: jpop .5s var(--spring) both, sccall .7s var(--ease) 2.6s forwards;
  animation-delay: var(--d), 2.6s
}

@keyframes sccall {
  to {
    transform: translate(0, -26cqw) scale(.85);
    opacity: 0
  }
}

.sc-route {
  position: absolute;
  right: 8cqw;
  top: 64cqw;
  font-family: var(--mono);
  font-size: 2cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9BF2CB;
  opacity: 0
}

.sc.active .sc-route {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

.sc-sup {
  position: absolute;
  left: 8cqw;
  top: 73cqw;
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  font-family: var(--mono);
  font-size: 2cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #D6D1F0;
  padding: 1.4cqw 2.4cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  opacity: 0
}

.sc.active .sc-sup {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

/* Mind-Guard extras (reuses .shield .prompt .pii .verdict) */
.sg .shield {
  top: 0
}

.sg .prompt {
  top: 31cqw
}

.sg .verdict {
  top: 66cqw
}

.sg.active .pii {
  animation: jflag .5s ease both;
  animation-delay: var(--d)
}

.sg.active .pii .raw {
  animation: jhide .3s ease forwards;
  animation-delay: calc(var(--d) + .9s)
}

.sg.active .pii .masked {
  animation: jshow .3s ease forwards;
  animation-delay: calc(var(--d) + .9s)
}

.sg.active .verdict {
  animation: jrise .6s var(--ease) both;
  animation-delay: var(--d)
}

.sg-layers {
  position: absolute;
  left: 0;
  right: 0;
  top: 21cqw;
  display: flex;
  justify-content: center;
  gap: 1.6cqw
}

.sg-layers span {
  padding: 1.3cqw 2.4cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--mono);
  font-size: 1.9cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B4ACE0;
  opacity: 0
}

.sg.active .sg-layers span {
  animation: sglayer .5s var(--ease) both;
  animation-delay: var(--d)
}

@keyframes sglayer {
  0% {
    opacity: 0;
    transform: translateY(1cqw)
  }

  100% {
    opacity: 1;
    transform: none;
    border-color: rgba(62, 213, 152, .6);
    color: #9BF2CB
  }
}

@media (max-width:920px) {
  .show-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .show-stage {
    justify-self: stretch;
    max-width: 520px
  }
}

@media (prefers-reduced-motion:reduce) {
  .show-panel * {
    animation: none !important
  }

  .sscene [style*="--d"],
  .sb-mcp,
  .sx-node,
  .sx-ask,
  .sx-ans,
  .sb-share,
  .st-lang,
  .st-acts span,
  .sc-queues div,
  .sc-agents div,
  .sc-call,
  .sc-route,
  .sc-sup,
  .sg-layers span {
    opacity: 1 !important
  }

  .sx-lines line.b,
  .sx-node,
  .sx-hub,
  .sx-pill,
  .sx-ask,
  .sx-ans {
    opacity: 1 !important;
    transform: none !important
  }

  .sx-node {
    transform: translate(-50%, -50%) !important
  }

  /* keep the nodes centred on their anchor points */
  .show-item .feats li {
    opacity: 1;
    transform: none
  }
}

/* ---------- why / engagement ---------- */
.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

/* services ("What we do"): same look as the "Why us" items; no scroll reveal so
   the text is visible on load */
.services .sec-head {
  margin-bottom: clamp(2rem, 4vw, 3.2rem)
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px)
}

.svc {
  padding: 28px 0 0;
  border-top: 2px solid var(--line-2);
  transition: border-color .4s
}

.svc:hover {
  border-color: var(--orange)
}

.svc .k {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--orange)
}

.svc h3 {
  font-size: 1.3rem;
  letter-spacing: -.02em;
  margin-bottom: 10px
}

.svc p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44ch
}

@media (max-width:760px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

.why .item {
  padding: 28px 0 0;
  border-top: 2px solid var(--line-2);
  transition: border-color .4s
}

.why .item:hover {
  border-color: var(--orange)
}

.why .item b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  margin-bottom: 8px
}

.why .item p {
  color: var(--muted);
  font-size: .98rem
}

.why .item .k {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--orange);
  display: block;
  margin-bottom: 14px
}

/* orange text on the lilac sections uses the deeper brand orange so it stays crisp and readable */
:is(.services, .why, .paper, .tint, .faq) :is(.eyebrow, .svc .k, .item .k, h2 em) {
  color: var(--accent-ink)
}

:is(.services, .why, .paper, .tint, .faq) .eyebrow::before {
  background: var(--accent-ink)
}

.engage .item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 26px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 26px;
  transition: transform .45s var(--ease), box-shadow .45s ease, background .3s, color .3s
}

.engage .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -30px rgba(23, 19, 61, .35);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.engage .item b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .02em
}

.engage .item p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 16px;
  transition: color .3s
}

.engage .item:hover p {
  color: #C9C4E6
}

.engage .item svg {
  width: 28px;
  height: 28px;
  color: var(--orange)
}

/* ---------- global ---------- */
.global {
  background: var(--paper-2);
  overflow: hidden
}

.global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center
}

.loc-line {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted)
}

.loc-line i {
  font-style: normal;
  color: var(--orange);
  padding: 0 10px
}

.clocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.clock {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px
}

.clock small {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted)
}

.clock b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: -.03em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums
}

.clock span {
  display: block;
  color: var(--muted);
  font-size: .9rem
}

.clock.wide {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap
}

.clock.wide b {
  font-size: 1.3rem;
  margin: 0
}

.clock.wide .pill {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted)
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem)
}

.about p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch
}

.about p+p {
  margin-top: 1rem
}

.about .stat {
  display: flex;
  gap: 40px;
  margin-top: 2rem;
  flex-wrap: wrap
}

.about .stat b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.02em
}

.about .stat small {
  color: var(--muted);
  font-size: .85rem
}

/* ---------- final cta ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  overflow: hidden
}

.cta .eyebrow {
  color: var(--orange)
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 70% 50%, rgba(75, 63, 158, .4), transparent 70%);
  pointer-events: none
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  position: relative
}

.cta h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem)
}

.cta .huge {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--orange);
  margin-top: .5rem
}

.cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2.2rem
}

.cta-loc {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7A73AE;
  line-height: 1.7
}

.form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-d);
  border-radius: 20px;
  padding: 22px 24px
}

.form label {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4;
  margin-bottom: 6px
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.form .f {
  margin-bottom: 11px
}

.form input,
.form textarea {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-d);
  border-radius: 10px;
  color: #fff;
  padding: 13px 14px;
  font: inherit;
  font-size: .95rem;
  transition: border-color .25s, background .25s
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, .08)
}

/* browser autofill: Chrome, Edge and Safari paint a light blue box with dark text over a saved
   value. The field keeps its own see-through dark look instead: the autofill background is pushed
   out of reach with a very long transition delay, and the text stays white. */
.form input:-webkit-autofill,
.form input:-webkit-autofill:hover,
.form input:-webkit-autofill:focus,
.form textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: border-color .25s, background-color 0s 600000s, color 0s 600000s
}

/* Firefox paints its autofill colour with !important, so it is covered with the field's colour */
@supports (-moz-appearance: none) {
  .form input:autofill {
    filter: none;
    box-shadow: inset 0 0 0 100px #2B2459;
    color: #fff
  }
}

.form textarea {
  min-height: 84px;
  resize: vertical
}

.form .note {
  font-size: .84rem;
  color: #8E86C4;
  margin-top: 10px;
  min-height: 1.2em
}

/* status slot under the form: the result message (and on MindGuard the privacy line, which it
   replaces while shown) share one slot that always keeps the height of a one-line message box.
   A message appearing never changes the form's height, so the section around it (centred and,
   when needed, zoomed to fit one screen on desktop; see "one section per screen") doesn't jump
   or resize. */
.form .form-status {
  position: relative;
  display: grid;
  margin-top: 10px;
  min-height: calc(.84rem * 1.45 + 22px)
}

.form .form-status>p {
  grid-area: 1 / 1;
  align-self: start;
  margin: 0
}

.form .form-status .note {
  min-height: 0;
  line-height: 1.45
}

.form .form-status .note:empty {
  visibility: hidden
}

.form .form-status:has(.note:not(:empty)) .form-privacy {
  visibility: hidden
}

/* one section per screen: a longer (two-line) message laps into the form's bottom padding
   instead of making the slot taller */
@media (min-width:921px) and (min-height:600px) and (orientation:landscape) {
  .form .form-status .note {
    position: absolute;
    top: 0;
    left: 0;
    right: 0
  }
}

.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.form button[disabled] {
  opacity: .6;
  cursor: wait
}

.form .foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px
}

.form .foot-row a {
  color: #C9C4E6;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .2)
}

/* product slides */
.pslide.alt {
  background: var(--ink-2)
}

.pslide :is(h1, h2) {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  letter-spacing: -.035em
}

.pslide :is(h1, h2) em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  display: block;
  font-size: .58em;
  margin-top: .1em;
  letter-spacing: -.01em
}

.pslide .pstat {
  display: inline-block;
  margin-top: .9rem
}

.pslide .lede {
  margin-top: 1rem
}

.pfeats {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 9px
}

.pfeats li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  color: #C9C4E6;
  line-height: 1.45
}

.pfeats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange)
}

.pslide .btn {
  margin-top: 1.6rem
}

/* the two buttons under each product slide: talk to us, and the product's own page */
.pslide .pacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6rem
}

.pslide .pacts .btn {
  margin-top: 0
}

.pslide .show-panel .hud .led {
  color: #fff
}

.pslide .sscene {
  top: 11cqw;
  bottom: 5cqw
}

/* contact: press beside the form */
.cta-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: clamp(1.2rem, 2.5vh, 2rem);
  position: relative
}

.cta-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1
}

.cta-head h2 .tail {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15em;
  margin-left: .25em;
  color: #fff
}

.cta-head h2 em {
  font-style: italic;
  color: var(--orange)
}

.cta-side {
  justify-self: end;
  text-align: right
}

.cta-side .cta-btns {
  margin-top: 0;
  justify-content: flex-end
}

/* min-height (not a fixed height) so a form taller than the box grows the row instead of spilling out.
   Capped at 600px so tall screens (1080p+, portrait tablets) don't stretch the press and the textarea. */
.cta-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
  min-height: clamp(380px, calc(100svh - 300px), 600px)
}

.cta .mint-wrap {
  max-width: none;
  width: 100%;
  height: 100%;
  justify-self: stretch
}

.cta .mint {
  height: 100%;
  --cz: 22cqw;
  --drop: 25cqw;
  --py: 44cqw;
  --pk: .6
}

.cta .mint .head {
  top: 2cqw
}

.cta .mint .column {
  height: 7cqw
}

.cta .mint .anvil {
  top: 47cqw
}

.cta .mint .coin {
  top: 36cqw
}

.cta .mint .mint-glow,
.cta .mint .flash,
.cta .mint .ring,
.cta .mint .sparks {
  top: 45.7cqw
}

.cta .mint .tray {
  top: 80cqw
}

.cta .mint .tray-line {
  top: 90cqw
}

.cta .mint .payoff {
  bottom: 1.6cqw
}

/* desktop: the card's height follows the form, not its width. Fit the press
   scene (92% as tall as wide) above the payoff line: shrink it when the card
   is short. When the card is tall, split the spare height 1/2 above the press,
   1/4 between anvil and tray, 1/4 below the tray. */
@media (min-width:921px) {
  .cta .mint-wrap {
    container-type: size
  }

  .cta .mint-stage {
    --stw: min(100cqw, calc((100cqh - 6.5cqw) / .92));
    width: var(--stw);
    height: calc(var(--stw) * .92);
    left: calc(50% - var(--stw) / 2);
    top: max(0px, calc((100cqh - 6.5cqw - var(--stw) * .92) / 2));
    /* resolved on each child: cqw = stage width, cqh = card height */
    --mg: max(0px, calc((100cqh - 98.5cqw) / 4));
  }

  .cta .mint .tray {
    top: calc(80cqw + var(--mg))
  }

  .cta .mint .tray-line {
    top: calc(90cqw + var(--mg))
  }

  .cta .mint .coin {
    --py: calc(44cqw + var(--mg))
  }

  /* press rod reaches the card top when the stage sits lower */
  .cta .mint .column {
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08), inset -1px 0 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(255, 255, 255, .08)
  }

  .cta .mint .column::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 400cqw;
    background: inherit;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08), inset -1px 0 0 rgba(255, 255, 255, .08)
  }
}

.cta .form {
  max-width: none;
  width: 100%
}

.cta .form {
  display: flex;
  flex-direction: column
}

.cta .form .f:has(textarea) {
  flex: 1;
  display: flex;
  flex-direction: column
}

.cta .form .f:has(textarea) textarea {
  flex: 1
}

@media (max-width:920px) {
  .cta-head {
    grid-template-columns: 1fr
  }

  .cta-side {
    justify-self: start;
    text-align: left
  }

  .cta-side .cta-btns {
    justify-content: flex-start
  }

  .cta-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 380px
  }

  .cta .mint-wrap {
    height: auto
  }

  .cta .mint {
    height: 112cqw
  }
}

/* ---------- faq ----------
   Desktop: question list on the left, the open answer in a dark panel on the
   right (all answers share one grid cell, so the panel never changes height).
   Mobile: plain accordion. */
.faq {
  background:
    linear-gradient(180deg, var(--edge-top, transparent), transparent var(--edge-len)),
    radial-gradient(45% 55% at 85% 20%, var(--glow-1), transparent 70%),
    radial-gradient(40% 50% at 5% 90%, var(--glow-2), transparent 70%),
    var(--bg-1)
}

.faq-head {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem 4rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.6rem, 3.5vh, 2.8rem)
}

.faq-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem)
}

.faq-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.faq-head .lede {
  max-width: 40ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem)
}

/* question rows */
.faq-qh {
  margin: 0;
  font: inherit
}

.faq-q {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 17px 18px 17px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(.98rem, 1.15vw, 1.06rem);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--muted);
  transition: color .3s, background .35s, border-color .35s, box-shadow .45s var(--ease)
}

.faq-q::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 1px;
  background: var(--line-2);
  transition: opacity .3s
}

.faq-q .n {
  flex: none;
  width: 22px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: #6E6898;
  transition: color .3s
}

.faq-q .t {
  flex: 1
}

.faq-q .ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: background .3s, border-color .3s, color .3s, transform .45s var(--ease)
}

.faq-q .ic svg {
  width: 15px;
  height: 15px;
  transition: transform .45s var(--ease)
}

.faq-q:hover {
  color: var(--text)
}

.faq-q:hover .ic {
  border-color: var(--indigo)
}

.faq-q:hover .ic svg {
  transform: translateX(2px)
}

.faq-item.open .faq-q {
  color: var(--text);
  font-weight: 600;
  background: var(--card);
  border-color: var(--line);
  box-shadow: 0 26px 44px -30px rgba(23, 19, 61, .32)
}

.faq-item.open .faq-q::after,
.faq-item:has(+ .faq-item.open) .faq-q::after {
  opacity: 0
}

.faq-item.open .faq-q .n {
  color: var(--orange)
}

.faq-item.open .faq-q .ic {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink)
}

/* answer card */
.faq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(26px, 3vw, 42px);
  color: #fff
}

.faq-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4
}

.faq-meta b {
  color: #fff;
  font-weight: 500
}

.faq-bar {
  position: relative;
  width: min(140px, 40%);
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden
}

.faq-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--p) / 6 * 100%);
  background: linear-gradient(90deg, var(--amber), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease) .15s
}

.faq-item.open .faq-bar::after {
  transform: scaleX(1)
}

.faq-ttl {
  margin-top: clamp(1rem, 2.2vh, 1.5rem);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  max-width: 24ch
}

.faq-body {
  margin-top: clamp(.8rem, 1.6vh, 1.1rem)
}

.faq-body p {
  color: #C9C4E6;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 58ch
}

.faq-body p+p,
.faq-body p+ul {
  margin-top: .75rem
}

.faq-body strong {
  color: #fff;
  font-weight: 600
}

.faq-sub {
  font-family: var(--mono);
  font-size: .68rem !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E86C4 !important;
  margin-top: 1.1rem !important
}

.faq-chips {
  list-style: none;
  margin: .6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.faq-chips li {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: .84rem;
  color: #E1DDF5;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .3s, background .3s, color .3s, box-shadow .3s
}

/* same one-after-another light as the Build/Extend cards, across the six chips */
@keyframes faq-chip {

  0%,
  20%,
  100% {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: #E1DDF5;
    box-shadow: none
  }

  4%,
  14% {
    border-color: rgba(247, 136, 29, .6);
    background: rgba(247, 136, 29, .1);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(247, 136, 29, .07), 0 10px 24px -14px rgba(247, 136, 29, .6)
  }
}

.faq-item.open .faq-chips li {
  animation: faq-chip 4.8s ease-in-out .4s infinite both
}

.faq-item.open .faq-chips li:nth-child(2) {
  animation-delay: 1.2s
}

.faq-item.open .faq-chips li:nth-child(3) {
  animation-delay: 2s
}

.faq-item.open .faq-chips li:nth-child(4) {
  animation-delay: 2.8s
}

.faq-item.open .faq-chips li:nth-child(5) {
  animation-delay: 3.6s
}

.faq-item.open .faq-chips li:nth-child(6) {
  animation-delay: 4.4s
}

.faq-modes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.faq-modes li {
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: border-color .3s, background .3s
}

/* when the answer opens, the four cards light up one after another, on a loop */
@keyframes faq-mode {

  0%,
  30%,
  100% {
    border-color: rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .04);
    box-shadow: none
  }

  6%,
  22% {
    border-color: rgba(247, 136, 29, .6);
    background: rgba(247, 136, 29, .08);
    box-shadow: 0 0 0 3px rgba(247, 136, 29, .07), 0 14px 30px -18px rgba(247, 136, 29, .55)
  }
}

.faq-item.open .faq-modes li {
  animation: faq-mode 4.8s ease-in-out .4s infinite both
}

.faq-item.open .faq-modes li:nth-child(2) {
  animation-delay: 1.6s
}

.faq-item.open .faq-modes li:nth-child(3) {
  animation-delay: 2.8s
}

.faq-item.open .faq-modes li:nth-child(4) {
  animation-delay: 4s
}

.faq-modes b {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px
}

.faq-modes span {
  display: block;
  font-size: .92rem;
  line-height: 1.45;
  color: #C9C4E6
}

.faq-card .faq-body {
  margin-bottom: 1.5rem
}

.faq-link {
  align-self: flex-start;
  margin-top: auto;
  position: relative;
  z-index: 1
}

.faq-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 18px 0 20px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted)
}

.faq-more .btn {
  text-transform: none
}

/* desktop: list + side panel */
@media (min-width:921px) {

  /* rows: 1 heading, 2-7 the six questions, 8 "still have a question" */
  .js .faq-list {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    grid-template-rows: auto repeat(6, auto) 1fr;
    column-gap: clamp(2rem, 4vw, 3.5rem)
  }

  .js .faq-head {
    grid-column: 1 / -1;
    grid-row: 1
  }

  .js .faq-item {
    display: contents
  }

  .js .faq-qh {
    grid-column: 1
  }

  .js .faq-item:nth-child(2) .faq-qh {
    grid-row: 2
  }

  .js .faq-item:nth-child(3) .faq-qh {
    grid-row: 3
  }

  .js .faq-item:nth-child(4) .faq-qh {
    grid-row: 4
  }

  .js .faq-item:nth-child(5) .faq-qh {
    grid-row: 5
  }

  .js .faq-item:nth-child(6) .faq-qh {
    grid-row: 6
  }

  .js .faq-item:nth-child(7) .faq-qh {
    grid-row: 7
  }

  .js .faq-more {
    grid-column: 1;
    grid-row: 8;
    align-self: end
  }

  /* the panel itself: one static card behind every answer */
  .js .faq-list::before {
    content: "";
    grid-column: 2;
    grid-row: 2 / -1;
    border-radius: 24px;
    background:
      radial-gradient(55% 45% at 100% 0%, rgba(247, 136, 29, .20), transparent 70%),
      radial-gradient(60% 60% at 0% 100%, rgba(75, 63, 158, .55), transparent 70%),
      linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0/32px 32px,
      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0/32px 32px,
      linear-gradient(180deg, #1B1549 0%, #130F36 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 50px 90px -45px rgba(18, 14, 52, .65)
  }

  .js .faq-list::after {
    content: "\222B";
    grid-column: 2;
    grid-row: 2 / -1;
    align-self: end;
    justify-self: end;
    z-index: 0;
    pointer-events: none;
    margin: 0 clamp(20px, 3vw, 40px) 0 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(9rem, 15vw, 14rem);
    line-height: 1;
    color: rgba(255, 255, 255, .045)
  }

  /* closed answers stay in place (no offset), so they never add height to the
     section; the opening answer slides up with a one-off animation instead */
  .js .faq-a {
    grid-column: 2;
    grid-row: 2 / -1;
    z-index: 1;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s linear .3s
  }

  .js .faq-item.open .faq-a {
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease .12s, visibility 0s;
    animation: faq-in .7s var(--ease) .12s both
  }

  .js .faq-a-in {
    height: 100%
  }
}

@keyframes faq-in {
  from {
    transform: translateY(14px)
  }

  to {
    transform: none
  }
}

/* wide desktop: every question on one line. The question column gets a little more
   width, and the text only scales down (never up) when the column is too narrow
   for the longest question (~27em incl. the bold open state, plus ~140px for
   number, icon and padding). Below 1100px they wrap as before. */
@media (min-width:1100px) {
  .js .faq-list {
    container-type: inline-size;
    grid-template-columns: minmax(0, 1.09fr) minmax(0, .91fr)
  }

  .js .faq-q .t {
    white-space: nowrap;
    font-size: min(clamp(.98rem, 1.15vw, 1.06rem), calc(((100cqw - clamp(2rem, 4vw, 3.5rem)) * .545 - 140px) / 27))
  }
}

/* the FAQ fades in on scroll without the slide */
.faq-list.rv {
  transform: none
}

/* short laptop screens: the heading moves into the left column and the answer card
   runs the full height beside it, so the whole FAQ fits on one screen */
@media (min-width:921px) and (max-height:820px) {
  .js .faq-head {
    grid-column: 1
  }

  .js .faq-head .lede {
    display: none
  }

  .js .faq-list::before,
  .js .faq-list::after,
  .js .faq-a {
    grid-row: 1 / -1
  }

  .faq-head {
    margin-bottom: clamp(1rem, 2.4vh, 1.6rem)
  }

  .faq-head .eyebrow {
    margin-bottom: .8rem
  }

  .faq-card {
    padding: clamp(22px, 2.4vw, 32px)
  }

  .faq-ttl {
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    margin-top: .9rem
  }

  .faq-body p {
    font-size: .95rem;
    line-height: 1.55
  }

  .faq-card .faq-body {
    margin-bottom: 1.1rem
  }

  .faq-modes li {
    padding: 10px 13px
  }

  .faq-more {
    padding-top: 8px
  }

  .faq-head h2 {
    font-size: clamp(1.8rem, 2.7vw, 2.25rem)
  }

  .faq-q {
    padding-top: 10px;
    padding-bottom: 10px
  }

  .faq-q .ic {
    width: 28px;
    height: 28px
  }

  .faq-q .ic svg {
    width: 13px;
    height: 13px
  }
}

@media (min-width:921px) and (max-height:680px) {
  .faq-ttl {
    display: none
  }

  /* the open question is already highlighted on the left */
}

@media (min-width:921px) and (max-height:640px) {
  .faq-head {
    margin-bottom: .8rem
  }

  .faq-head .eyebrow {
    margin-bottom: .5rem
  }

  .faq-head h2 {
    font-size: 1.8rem
  }

  .faq-q {
    padding-top: 8px;
    padding-bottom: 8px
  }
}

/* autoplay timer (desktop): an invisible animation on the open question; when it
   ends, site.js opens the next question. Pausing the animation pauses autoplay. */
@keyframes faq-timer {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

.faq-list.faq-auto .faq-item.open .faq-q::after {
  animation: faq-timer var(--dwell, 3s) linear forwards
}

.faq-list.faq-auto .faq-item.open:has(.faq-a:hover) .faq-q::after,
.faq-list.faq-auto:has(:focus-visible) .faq-item.open .faq-q::after,
.faq-list.faq-auto.faq-idle .faq-item.open .faq-q::after {
  animation-play-state: paused
}

/* switching layouts (window resized across 920px): no cross-fades */
.faq-snap .faq-a,
.faq-snap .faq-a *,
.faq-snap .faq-q,
.faq-snap .faq-q * {
  transition: none !important
}

.faq .nb {
  white-space: nowrap
}

/* mobile: accordion */
@media (max-width:920px) {
  .faq-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem
  }

  .faq-q {
    padding: 16px 12px 16px 16px;
    gap: 14px
  }

  .faq-q .ic svg {
    transform: rotate(90deg)
  }

  .faq-q:hover .ic svg {
    transform: rotate(90deg)
  }

  .faq-item.open .faq-q .ic svg {
    transform: rotate(-90deg)
  }

  .faq-ttl {
    display: none
  }

  .faq-body {
    margin-top: .9rem
  }

  .js .faq-a {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .5s var(--ease), visibility 0s linear .5s
  }

  .js .faq-item.open .faq-a {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .5s var(--ease), visibility 0s
  }

  .faq-a-in {
    min-height: 0;
    overflow: hidden
  }

  .faq-card {
    height: auto;
    margin: 8px 0 14px;
    border-radius: 18px;
    padding: 22px 20px 24px;
    background: radial-gradient(60% 50% at 100% 0%, rgba(247, 136, 29, .18), transparent 70%), linear-gradient(180deg, #1B1549 0%, #130F36 100%)
  }

  .faq-more {
    padding: 22px 12px 0 16px
  }

  /* lines up with the question numbers and icons above */
}

@media (max-width:480px) {
  .faq-modes {
    grid-template-columns: 1fr
  }
}

/* no JS: every answer shown inline */
.no-js .faq-card {
  margin: 8px 0 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1B1549 0%, #130F36 100%)
}

.no-js .faq-ttl {
  display: none
}

/* =====================================================================
   MIND-X PAGE — how it works, capabilities, privacy, contact
   ===================================================================== */
.mx-head {
  max-width: 760px;
  margin-bottom: clamp(1.6rem, 3.5vh, 2.6rem)
}

.mx-head h2,
.mx-trust h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem)
}

.mx-head .lede {
  margin-top: .9rem
}

.mx-page h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500
}

@keyframes mxpop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(.96)
  }

  100% {
    opacity: 1;
    transform: none
  }
}

@keyframes mxspin {
  to {
    transform: rotate(360deg)
  }
}

/* ---- landing: copy on the left, a live Mind-X app window on the right (site.js plays the chat
   by adding .s0 type, .s1 sent, .s2 searching, .s3 answer, .s4 sources, .s5 summary ready, .out) ---- */
.mxh {
  overflow: hidden
}

.mxh::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(55% 60% at 78% 45%, rgba(75, 63, 158, .45), transparent 70%)
}

.mxh::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%)
}

.mxh .wrap {
  position: relative;
  z-index: 1
}

.mxh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.mxh .mxh-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 8px 13px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #D6D1F0;
  margin-bottom: 1.4rem
}

.mxh-badge i {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: -1px;
  border-radius: 50%;
  background: #3ED598;
  animation: mxlive 2s ease-out infinite
}

.mxh-badge span {
  margin-right: -.14em
}

/* cancels the trailing letter-spacing so the text is centred */
@keyframes mxlive {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 213, 152, .55)
  }

  100% {
    box-shadow: 0 0 0 6px rgba(62, 213, 152, 0)
  }
}

.mxh h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -.04em;
  font-weight: 700;
  color: #fff
}

.mxh h1 .nm {
  display: block
}

.mxh h1 em {
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  background: linear-gradient(90deg, var(--amber), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.mxh .lede {
  margin-top: 1.2rem;
  max-width: 50ch
}

.mxh-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.mxh-feats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line-d);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 26px
}

.mxh-feats li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start
}

.mxh-feats i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 136, 29, .1);
  border: 1px solid rgba(247, 136, 29, .3);
  color: var(--amber)
}

.mxh-feats i svg {
  width: 17px;
  height: 17px
}

.mxh-feats span {
  font-size: .84rem;
  line-height: 1.4;
  color: #A9A3D2
}

.mxh-feats b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 1px
}

/* the app window */
/* Same size on every desktop screen. site.js may zoom the whole hero down on short screens;
   dividing by that zoom (--fz, see the MindGuard inspector) keeps the demo at its real size
   instead of shrinking it with the copy. The height cap (screen height minus the hero's 126px of
   padding at 600px, plus a little room, divided by the demo's height/width ratio) only bites
   below ~645px high, where the full-size demo would not fit one screen. */
.mxh-stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: calc(min(620px, calc((100svh - 140px) / .8)) / var(--fz, 1));
  margin-left: auto
}

.mxh-app {
  position: relative;
  height: 78cqw;
  display: flex;
  flex-direction: column;
  border-radius: 3cqw;
  overflow: hidden;
  background: linear-gradient(180deg, #1B1549 0%, #130F36 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06)
}

.mxh-bar {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 2cqw 2.8cqw;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .025)
}

.mxh-bar .dots {
  display: flex;
  gap: 1cqw
}

.mxh-bar .dots i {
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: #F7881D
}

.mxh-bar .dots i:nth-child(2) {
  background: #7A73AE
}

.mxh-bar .dots i:nth-child(3) {
  background: #7A73AE
}

.mxh-bar b {
  font-family: var(--display);
  font-size: 2.3cqw;
  font-weight: 600;
  color: #fff;
  margin-left: 1cqw
}

.mxh-bar em {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.65cqw;
  letter-spacing: .04em;
  color: #A9A3D2;
  padding: .8cqw 1.8cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08)
}

.mxh-bar em svg {
  width: 2cqw;
  height: 2cqw;
  color: #3ED598
}

.mxh-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 25cqw minmax(0, 1fr)
}

.mxh-side {
  display: flex;
  flex-direction: column;
  gap: .6cqw;
  padding: 2.6cqw 1.8cqw;
  border-right: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .14)
}

.mxh-side .new {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.3cqw;
  margin-bottom: 1.2cqw;
  border-radius: 1.6cqw;
  border: 1px dashed rgba(255, 255, 255, .2);
  font-size: 1.85cqw;
  color: #D6D1F0
}

.mxh .mxh-side p {
  margin: 0 0 .8cqw 1.2cqw;
  font-family: var(--mono);
  font-size: 1.35cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6F68A8
}

.mxh-side span {
  padding: 1.3cqw 1.4cqw;
  border-radius: 1.2cqw;
  font-size: 1.95cqw;
  color: #A9A3D2;
  transition: background .3s, color .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.mxh-side span.on {
  background: rgba(255, 255, 255, .07);
  color: #fff
}

.mxh-side .me {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  font-size: 1.75cqw;
  color: #D6D1F0;
  white-space: nowrap;
  overflow: hidden
}

.mxh-side .me i {
  width: 3.6cqw;
  height: 3.6cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
  font-size: 1.8cqw;
  background: var(--orange);
  color: var(--ink)
}

.mxh-chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2.6cqw 3cqw 2.4cqw
}

.mxh-msgs {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
  transition: opacity .4s ease
}

.mxh-app.out .mxh-msgs {
  opacity: 0
}

.mxh-q {
  align-self: flex-end;
  max-width: 86%;
  padding: 1.8cqw 2.4cqw;
  border-radius: 2.2cqw 2.2cqw .8cqw 2.2cqw;
  background: var(--orange);
  color: var(--ink);
  font-weight: 500;
  font-size: 2.5cqw;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(1.5cqw) scale(.97);
  transition: opacity .35s ease, transform .45s var(--spring)
}

.s1 .mxh-q {
  opacity: 1;
  transform: none
}

.mxh-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2cqw;
  font-family: var(--mono);
  font-size: 1.55cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8E86C4;
  opacity: 0;
  transition: opacity .3s ease
}

.s2 .mxh-search {
  opacity: 1
}

.mxh-search .spin {
  width: 2.2cqw;
  height: 2.2cqw;
  border-radius: 50%;
  border: .35cqw solid rgba(255, 179, 92, .25);
  border-top-color: var(--amber);
  animation: mxspin .8s linear infinite
}

.s3 .mxh-search .spin {
  animation: none;
  border-color: #3ED598;
  background: #3ED598
}

.mxh-search .t2,
.s3 .mxh-search .t1 {
  display: none
}

.s3 .mxh-search .t2 {
  display: inline
}

.mxh-search b {
  font-weight: 500;
  padding: .6cqw 1.4cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #8E86C4
}

.s2 .mxh-search b {
  animation: mxsrc .35s ease forwards;
  animation-delay: var(--d)
}

@keyframes mxsrc {
  to {
    border-color: rgba(255, 179, 92, .45);
    color: #FFD9B0
  }
}

.mxh-a {
  display: grid;
  grid-template-columns: 4.4cqw minmax(0, 1fr);
  gap: 1.8cqw;
  align-items: start;
  opacity: 0;
  transform: translateY(1cqw);
  transition: opacity .35s ease, transform .45s var(--ease)
}

.s3 .mxh-a {
  opacity: 1;
  transform: none
}

.mxh-av {
  width: 4.4cqw;
  height: 4.4cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6cqw;
  color: var(--orange);
  background: radial-gradient(120% 120% at 30% 20%, #5A4DA3, #211A58);
  border: 1px solid rgba(247, 136, 29, .6)
}

.mxh .mxh-a p {
  font-size: 2.45cqw;
  line-height: 1.6;
  color: #E1DDF5
}

.mxh-a p b {
  color: var(--amber);
  font-weight: 600
}

.mxh-a p span {
  opacity: 0
}

.s3 .mxh-a p span {
  animation: mxword .25s ease forwards;
  animation-delay: calc(var(--i) * 45ms)
}

@keyframes mxword {
  to {
    opacity: 1
  }
}

.mxh-a sup {
  font-family: var(--mono);
  font-size: 1.4cqw;
  color: var(--amber);
  margin-left: .3cqw
}

.mxh-src {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2cqw;
  margin-top: 1.8cqw
}

.mxh-src span {
  font-family: var(--mono);
  font-size: 1.55cqw;
  letter-spacing: .04em;
  padding: .8cqw 1.4cqw;
  border-radius: 1.2cqw;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #D6D1F0;
  opacity: 0;
  transform: translateY(.8cqw)
}

.mxh-src span b {
  color: var(--amber);
  font-weight: 500
}

.s4 .mxh-src span {
  animation: mxin .35s var(--ease) forwards;
  animation-delay: var(--d, 0s)
}

@keyframes mxin {
  to {
    opacity: 1;
    transform: none
  }
}

.mxh-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2cqw;
  margin-top: 1.6cqw
}

.mxh-acts span {
  font-size: 1.85cqw;
  padding: 1cqw 1.8cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #D6D1F0;
  opacity: 0;
  transform: translateY(.8cqw);
  transition: border-color .3s, background .3s, color .3s
}

.s4 .mxh-acts span {
  animation: mxin .35s var(--ease) forwards;
  animation-delay: var(--d)
}

.s5 .mxh-acts span:first-child {
  border-color: var(--orange);
  background: rgba(247, 136, 29, .16);
  color: #fff
}

.mxh-input {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  margin-top: 2cqw;
  padding: 1.5cqw 1.5cqw 1.5cqw 2.4cqw;
  border-radius: 2.2cqw;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1)
}

.mxh-input .ph {
  font-size: 2.1cqw;
  color: #6F68A8
}

.mxh-input .ty {
  display: none;
  font-size: 2.1cqw;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: .3cqw solid var(--orange)
}

.s0 .mxh-input .ph {
  display: none
}

.s0 .mxh-input .ty {
  display: block;
  animation: mxty 1s steps(40) forwards, jcaret .8s step-end infinite
}

@keyframes mxty {
  to {
    width: var(--tw, 40ch)
  }
}

.mxh-input i {
  flex: none;
  margin-left: auto;
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--ink)
}

.mxh-input i svg {
  width: 2cqw;
  height: 2cqw
}

/* floating glass badges around the window */
.mxh-float {
  position: absolute;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.6cqw;
  align-items: center;
  padding: 1.8cqw 2.6cqw 1.8cqw 2cqw;
  border-radius: 2.2cqw;
  background: rgba(27, 21, 73, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .7)
}

.mxh-float>svg,
.mxh-float>i {
  grid-row: 1 / 3
}

.mxh-float b {
  font-size: 2cqw;
  font-weight: 600;
  color: #fff;
  line-height: 1.3
}

.mxh-float em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.45cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8E86C4
}

.mxh-float.f1 {
  left: -7cqw;
  top: 56cqw;
  animation: mxfloat 6s ease-in-out infinite
}

.mxh-float.f1>svg {
  width: 4cqw;
  height: 4cqw;
  color: #3ED598
}

.mxh-float.f2 {
  right: -5cqw;
  bottom: 11cqw;
  opacity: 0;
  transform: translateY(2cqw) scale(.95);
  transition: opacity .4s ease, transform .5s var(--spring)
}

.mxh-float.f2>i {
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 2.2cqw;
  background: #1FA36B;
  color: #fff
}

.mxh-app.s5~.mxh-float.f2 {
  opacity: 1;
  transform: none
}

@keyframes mxfloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-1.4cqw)
  }
}

@media (max-width:920px) {
  .mxh-grid {
    grid-template-columns: 1fr
  }

  .mxh-stage {
    max-width: 560px;
    margin: 0 auto
  }

  .mxh-float.f1 {
    left: 2cqw;
    top: auto;
    bottom: -4cqw
  }

  .mxh-float.f2 {
    right: 2cqw;
    bottom: -4cqw
  }
}

@media (max-width:560px) {
  .mxh-feats {
    grid-template-columns: 1fr
  }

  /* app window on phones: no sidebar (the chat gets the full width), larger type, badges off */
  .mxh-app {
    height: 122cqw;
    border-radius: 4.4cqw
  }

  .mxh-body {
    grid-template-columns: 1fr
  }

  .mxh-side {
    display: none
  }

  .mxh-bar {
    padding: 3cqw 3.6cqw;
    gap: 2.4cqw
  }

  .mxh-bar .dots i {
    width: 2.2cqw;
    height: 2.2cqw
  }

  .mxh-bar b {
    font-size: 3.6cqw
  }

  .mxh-bar em {
    font-size: 2.5cqw;
    padding: 1.1cqw 2.2cqw
  }

  .mxh-bar em svg {
    width: 2.8cqw;
    height: 2.8cqw
  }

  .mxh-chat {
    padding: 4cqw 4cqw 3.6cqw
  }

  .mxh-msgs {
    gap: 3cqw
  }

  .mxh-q {
    font-size: 3.8cqw;
    padding: 2.6cqw 3.4cqw;
    border-radius: 3.4cqw 3.4cqw 1.2cqw 3.4cqw
  }

  .mxh-search {
    font-size: 2.4cqw;
    gap: 1.6cqw
  }

  .mxh-search .spin {
    width: 3cqw;
    height: 3cqw
  }

  .mxh-search b {
    padding: .9cqw 2cqw
  }

  .mxh-a {
    grid-template-columns: 6.4cqw minmax(0, 1fr);
    gap: 2.6cqw
  }

  .mxh-av {
    width: 6.4cqw;
    height: 6.4cqw;
    font-size: 3.6cqw
  }

  .mxh .mxh-a p {
    font-size: 3.7cqw
  }

  .mxh-a sup {
    font-size: 2.2cqw
  }

  .mxh-src {
    gap: 1.6cqw;
    margin-top: 2.6cqw
  }

  .mxh-src span {
    font-size: 2.5cqw;
    padding: 1.2cqw 2cqw
  }

  .mxh-acts {
    gap: 1.6cqw;
    margin-top: 2.4cqw
  }

  .mxh-acts span {
    font-size: 2.9cqw;
    padding: 1.5cqw 2.6cqw
  }

  .mxh-input {
    margin-top: 3cqw;
    padding: 2.2cqw 2.2cqw 2.2cqw 3.4cqw;
    border-radius: 3.4cqw
  }

  .mxh-input .ph,
  .mxh-input .ty {
    font-size: 3.4cqw
  }

  .mxh-input i {
    width: 6.4cqw;
    height: 6.4cqw
  }

  .mxh-input i svg {
    width: 3cqw;
    height: 3cqw
  }

  .mxh-float {
    display: none
  }
}

.no-js .mxh-q,
.no-js .mxh-search,
.no-js .mxh-a,
.no-js .mxh-a p span,
.no-js .mxh-src span,
.no-js .mxh-acts span {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {

  .mxh-badge i,
  .mxh-float.f1 {
    animation: none
  }

  .mxh-a p span,
  .mxh-src span,
  .mxh-acts span {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important
  }
}

/* ---- how it works: three steps light up one after another (site.js adds .on / .now) ---- */
.mx-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px)
}

.mx-track {
  position: absolute;
  left: calc(100% / 6);
  right: calc(100% / 6);
  top: 27px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-2)
}

.mx-track i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--indigo-2), var(--orange));
  transition: width .55s var(--ease)
}

.mx-node {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 2px solid var(--line-2);
  color: var(--indigo-2);
  transition: border-color .4s, color .4s, transform .5s var(--spring), box-shadow .4s
}

.mx-node svg {
  width: 22px;
  height: 22px
}

.mx-node::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0
}

.mx-step.on .mx-node {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 12px 26px -10px rgba(247, 136, 29, .6)
}

.mx-step.now .mx-node {
  transform: scale(1.1)
}

.mx-step.now .mx-node::after {
  animation: pring 1s ease-out
}

.mx-card {
  display: flex;
  flex-direction: column;
  height: calc(100% - 74px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 20px;
  transition: border-color .4s, box-shadow .5s, transform .5s var(--ease)
}

.mx-step.on .mx-card {
  border-color: rgba(247, 136, 29, .45);
  box-shadow: 0 24px 44px -28px rgba(23, 19, 61, .45);
  transform: translateY(-4px)
}

.mx-card .k {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 8px
}

.mx-card h3 {
  font-size: 1.2rem;
  letter-spacing: -.02em;
  margin-bottom: 8px
}

.mx-card>p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 16px
}

/* the small dark "screen" in each step card */
.mx-mini {
  margin-top: auto;
  min-height: 106px;
  border-radius: 12px;
  padding: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1B1549 0%, #130F36 100%);
  border: 1px solid rgba(255, 255, 255, .08)
}

.mx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.mx-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #E1DDF5;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0
}

.mx-chips span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ED598
}

.mx-step.on .mx-chips span {
  animation: mxpop .45s var(--spring) both;
  animation-delay: var(--d)
}

.mx-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12)
}

.mx-input span {
  flex: 0 1 auto;
  min-width: 0;
  font-size: .82rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: 2px solid var(--orange)
}

.mx-step.on .mx-input span {
  animation: mxtype 1.1s steps(32) .2s forwards, jcaret .8s step-end infinite
}

@keyframes mxtype {
  to {
    width: var(--tw, 27ch)
  }
}

.mx-input i {
  flex: none;
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center
}

.mx-input i svg {
  width: 13px;
  height: 13px
}

.mx-hint {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.mx-reply {
  font-size: .8rem;
  line-height: 1.45;
  color: #fff;
  opacity: 0
}

.mx-reply b {
  color: var(--amber);
  font-weight: 600
}

.mx-cite {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px
}

.mx-cite span {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .06em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(62, 213, 152, .45);
  color: #9BF2CB;
  opacity: 0
}

.mx-step.on .mx-reply {
  animation: mxpop .5s var(--spring) .2s both
}

.mx-step.on .mx-cite span {
  animation: mxpop .45s var(--spring) both;
  animation-delay: var(--d)
}

/* ---- capabilities: list on the left, a demo screen per capability on the right (site.js) ---- */
.mx-caps .show-item .ptag {
  color: #A9A3D2
}

.mx-caps .hud .count b {
  color: #fff;
  font-weight: 500
}

.mxs .m-ask {
  position: absolute;
  right: 7cqw;
  top: 0;
  max-width: 80%;
  padding: 2.4cqw 3cqw;
  border-radius: 2.4cqw;
  border-bottom-right-radius: 1cqw;
  background: var(--orange);
  color: var(--ink);
  font-weight: 500;
  font-size: 2.8cqw;
  line-height: 1.4;
  opacity: 0
}

.mxs.active .m-ask {
  animation: jpop .5s var(--spring) both;
  animation-delay: var(--d, .2s)
}

/* 1 · documents */
.m-docs {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  top: 17cqw;
  display: grid;
  gap: 1.6cqw
}

.m-docs span {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 2.1cqw 2.4cqw;
  border-radius: 2cqw;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 2.5cqw;
  color: #E1DDF5;
  opacity: 0
}

.m-docs i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .08em;
  padding: .6cqw 1.2cqw;
  border-radius: 1cqw;
  background: rgba(247, 136, 29, .16);
  color: var(--amber)
}

.mxs.active .m-docs span {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

.mxs.active .m-docs span.hit {
  animation: jrise .5s var(--ease) both, mxhit .4s ease forwards;
  animation-delay: var(--d), calc(var(--d) + 1.5s)
}

@keyframes mxhit {
  to {
    border-color: rgba(247, 136, 29, .65);
    background: rgba(247, 136, 29, .1)
  }
}

.m-ans {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  bottom: 0;
  padding: 2.6cqw 3cqw;
  border-radius: 2.4cqw;
  border-bottom-left-radius: 1cqw;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 2.7cqw;
  line-height: 1.45;
  opacity: 0
}

.m-ans b {
  color: var(--amber);
  font-weight: 600
}

.m-cites {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2cqw;
  margin-top: 1.6cqw
}

.m-cites span {
  font-family: var(--mono);
  font-size: 1.75cqw;
  letter-spacing: .06em;
  padding: .8cqw 1.6cqw;
  border-radius: 999px;
  border: 1px solid rgba(62, 213, 152, .45);
  color: #9BF2CB
}

.mxs.active .m-ans {
  animation: jpop .5s var(--spring) both;
  animation-delay: var(--d)
}

/* 2 · databases */
.m-sql {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  top: 12cqw;
  padding: 2.2cqw 2.6cqw;
  border-radius: 2cqw;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .1);
  opacity: 0
}

.m-sql b {
  display: block;
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .14em;
  color: #8E86C4;
  font-weight: 500;
  margin-bottom: .8cqw
}

.m-sql code {
  display: block;
  font-family: var(--mono);
  font-size: 2.1cqw;
  line-height: 1.55;
  color: #9BF2CB;
  clip-path: inset(0 100% 0 0)
}

.mxs.active .m-sql {
  animation: jrise .4s var(--ease) both;
  animation-delay: var(--d)
}

.mxs.active .m-sql code {
  animation: mxwipe 1.1s steps(28) forwards;
  animation-delay: calc(var(--d) + .3s)
}

@keyframes mxwipe {
  to {
    clip-path: inset(0 0 0 0)
  }
}

.m-table {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  top: 33cqw;
  display: grid;
  gap: 1cqw
}

.m-row {
  display: grid;
  grid-template-columns: 32cqw 1fr 13cqw;
  align-items: center;
  gap: 2cqw;
  padding: 1.3cqw 2cqw;
  border-radius: 1.4cqw;
  background: rgba(255, 255, 255, .04);
  font-size: 2.3cqw;
  color: #E1DDF5;
  opacity: 0
}

.m-row.h {
  background: none;
  font-family: var(--mono);
  font-size: 1.6cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4;
  padding-top: 0;
  padding-bottom: 0
}

.m-row i {
  height: 1.4cqw;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #7A6CD6, #4B3F9E);
  width: 0
}

.m-row:nth-child(2) i {
  background: linear-gradient(90deg, var(--amber), var(--orange))
}

.m-row b {
  text-align: right;
  font-weight: 600;
  color: #fff
}

.mxs.active .m-row {
  animation: jrise .4s var(--ease) both;
  animation-delay: var(--d)
}

.mxs.active .m-row i {
  animation: mxgrow .8s var(--ease) both;
  animation-delay: calc(var(--d) + .2s)
}

@keyframes mxgrow {
  to {
    width: var(--w)
  }
}

.m-rls {
  position: absolute;
  left: 7cqw;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.3cqw 2.4cqw;
  border-radius: 999px;
  border: 1px solid rgba(62, 213, 152, .5);
  font-family: var(--mono);
  font-size: 1.8cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9BF2CB;
  opacity: 0
}

.m-rls svg {
  width: 2.6cqw;
  height: 2.6cqw
}

.mxs.active .m-rls {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

/* 3 · office drafts */
.m-files {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  top: 22cqw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2cqw
}

.m-file {
  position: relative;
  display: grid;
  grid-template-columns: 7.5cqw 1fr;
  gap: 2cqw;
  align-items: center;
  padding: 2.2cqw;
  border-radius: 2.2cqw;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  opacity: 0
}

.m-file i {
  width: 7.5cqw;
  height: 7.5cqw;
  border-radius: 1.8cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.4cqw;
  color: #fff;
  background: var(--c)
}

.m-file b {
  display: block;
  font-size: 2.3cqw;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.m-file em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.6cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8E86C4;
  margin-top: .4cqw
}

.m-file u {
  position: absolute;
  left: 0;
  bottom: 0;
  height: .6cqw;
  width: 0;
  background: var(--c);
  text-decoration: none
}

.m-file s {
  position: absolute;
  right: 2cqw;
  top: 2cqw;
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 50%;
  background: #1FA36B;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2cqw;
  opacity: 0;
  transform: scale(.5)
}

.mxs.active .m-file {
  animation: jpop .5s var(--spring) both;
  animation-delay: var(--d)
}

.mxs.active .m-file u {
  animation: mxfill 1.2s var(--ease) both;
  animation-delay: calc(var(--d) + .3s)
}

.mxs.active .m-file s {
  animation: mxcheck .4s var(--spring) forwards;
  animation-delay: calc(var(--d) + 1.5s)
}

@keyframes mxfill {
  to {
    width: 100%
  }
}

@keyframes mxcheck {
  to {
    opacity: 1;
    transform: none
  }
}

.m-done {
  position: absolute;
  left: 7cqw;
  bottom: 0;
  padding: 2cqw 3cqw;
  border-radius: 2cqw;
  background: rgba(62, 213, 152, .12);
  border: 1px solid rgba(62, 213, 152, .4);
  font-family: var(--mono);
  font-size: 2cqw;
  letter-spacing: .06em;
  color: #9BF2CB;
  opacity: 0
}

.mxs.active .m-done {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

/* 4 · admin and control */
.m-sso {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  top: 0;
  display: grid;
  grid-template-columns: 7cqw 1fr auto;
  gap: 2.4cqw;
  align-items: center;
  padding: 2.4cqw;
  border-radius: 2.4cqw;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0
}

.m-sso i {
  width: 7cqw;
  height: 7cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 30% 20%, #5A4DA3, #2E2670);
  color: var(--amber)
}

.m-sso i svg {
  width: 3.4cqw;
  height: 3.4cqw
}

.m-sso b {
  display: block;
  font-size: 2.6cqw;
  font-weight: 600;
  color: #fff
}

.m-sso em {
  display: block;
  font-style: normal;
  font-size: 2.1cqw;
  color: #A9A3D2;
  margin-top: .3cqw
}

.m-sso small {
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9BF2CB
}

.mxs.active .m-sso {
  animation: jpop .5s var(--spring) both;
  animation-delay: var(--d)
}

.m-usage {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  top: 20cqw;
  display: grid;
  gap: 1.6cqw;
  opacity: 0
}

.m-usage p,
.m-models p {
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4
}

.m-bar {
  display: grid;
  grid-template-columns: 20cqw 1fr 8cqw;
  gap: 2cqw;
  align-items: center;
  font-size: 2.3cqw;
  color: #E1DDF5
}

.m-bar i {
  position: relative;
  height: 1.6cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, .08);
  overflow: hidden
}

.m-bar i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #7A6CD6, #4B3F9E)
}

.m-bar.warn i::after {
  background: linear-gradient(90deg, var(--amber), var(--orange))
}

.m-bar b {
  text-align: right;
  font-weight: 600;
  color: #fff
}

.mxs.active .m-usage {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

.mxs.active .m-bar i::after {
  animation: mxgrow .9s var(--ease) both;
  animation-delay: var(--d)
}

.m-models {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  bottom: 0;
  opacity: 0
}

.m-models div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4cqw;
  margin-top: 1.4cqw
}

.m-models span {
  padding: 1.4cqw 2.4cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 2.2cqw;
  color: #D6D1F0
}

.mxs.active .m-models {
  animation: jrise .5s var(--ease) both;
  animation-delay: var(--d)
}

.mxs.active .m-models .pick {
  animation: mxpick .4s ease forwards;
  animation-delay: calc(var(--d) + .9s)
}

@keyframes mxpick {
  to {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--ink);
    font-weight: 600
  }
}

/* ---- private by design: points + a "your servers" diagram (CSS only) ---- */
.mx-trust {
  overflow: hidden
}

.mx-trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center
}

.mx-trust .lede {
  margin-top: .9rem
}

.mx-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 30px;
  margin-top: clamp(1.4rem, 3.5vh, 2.4rem)
}

.mx-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: start
}

.mx-point i {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--indigo-2);
  transition: color .3s, border-color .3s, transform .4s var(--spring)
}

.mx-point i svg {
  width: 20px;
  height: 20px
}

.mx-point:hover i {
  color: var(--accent-ink);
  border-color: rgba(247, 136, 29, .5);
  transform: translateY(-2px)
}

.mx-point b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  margin-top: 1px
}

.mx-point p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  margin-top: 2px
}

.mx-vault {
  position: relative;
  container-type: inline-size;
  width: min(440px, 100%);
  aspect-ratio: 1;
  margin-left: auto
}

.mx-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(75, 63, 158, .25)
}

.mx-ring.r1 {
  inset: 0;
  border-style: dashed;
  border-color: rgba(75, 63, 158, .3)
}

.mx-ring.r2 {
  inset: 15%;
  background: radial-gradient(circle, rgba(75, 63, 158, .08), transparent 70%)
}

.mx-ring.r3 {
  inset: 29%;
  border-color: rgba(247, 136, 29, .4)
}

.mx-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(247, 136, 29, .06) 50deg, transparent 70deg);
  -webkit-mask: radial-gradient(circle, transparent 29%, #000 29.5%);
  mask: radial-gradient(circle, transparent 29%, #000 29.5%);
  animation: mxspin 10s linear infinite
}

.mx-core {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(120% 120% at 32% 22%, #5A4DA3 0%, #372C7F 48%, #211A58 100%);
  border: 1px solid rgba(247, 136, 29, .6);
  box-shadow: 0 22px 44px -18px rgba(18, 14, 52, .7);
  animation: mxbreath 3.6s ease-in-out infinite
}

@keyframes mxbreath {

  0%,
  100% {
    box-shadow: 0 22px 44px -18px rgba(18, 14, 52, .7), 0 0 0 0 rgba(247, 136, 29, .35)
  }

  50% {
    box-shadow: 0 22px 44px -18px rgba(18, 14, 52, .7), 0 0 0 4cqw rgba(247, 136, 29, 0)
  }
}

.mx-core i {
  font-family: var(--serif);
  font-style: italic;
  font-size: 9cqw;
  line-height: 1;
  color: var(--orange)
}

.mx-core b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.8cqw;
  color: #fff;
  margin-top: .4cqw
}

.mx-core small {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1cqw;
  font-family: var(--mono);
  font-size: 2.1cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #D6D1F0;
  white-space: nowrap
}

/* the phrase types in and out (site.js); the orange caret blinks after it */
.mx-core small span {
  display: inline-block;
  min-height: 1.3em;
  line-height: 1.3;
  padding-right: .4cqw;
  border-right: .35cqw solid var(--orange);
  animation: jcaret .8s step-end infinite
}

/* two glowing dots that orbit the middle ring */
.mx-comet {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  animation: mxspin 9s linear infinite;
  pointer-events: none
}

.mx-comet.c2 {
  inset: 29%;
  animation-duration: 6s;
  animation-direction: reverse
}

.mx-comet::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1cqw;
  width: 2cqw;
  height: 2cqw;
  margin-left: -1cqw;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1cqw rgba(247, 136, 29, .14), 0 0 3cqw rgba(247, 136, 29, .75)
}

.mx-comet.c2::after {
  width: 1.5cqw;
  height: 1.5cqw;
  margin-left: -.75cqw;
  top: -.75cqw;
  background: #7A6CD6;
  box-shadow: 0 0 0 .8cqw rgba(122, 108, 214, .15), 0 0 2.4cqw rgba(122, 108, 214, .8)
}

.mx-orbit {
  position: absolute;
  inset: 7.5%;
  animation: mxspin 40s linear infinite;
  animation-delay: calc(-40s * var(--p))
}

.mx-orbit span {
  position: absolute;
  left: 50%;
  top: 0;
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.7cqw 2.8cqw;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px -12px rgba(23, 19, 61, .45);
  font-family: var(--mono);
  font-size: 2.3cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  animation: mxspinr 40s linear infinite;
  animation-delay: calc(-40s * var(--p))
}

.mx-orbit span::before {
  content: "";
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: var(--orange)
}

@keyframes mxspinr {
  from {
    transform: translate(-50%, -50%) rotate(0)
  }

  to {
    transform: translate(-50%, -50%) rotate(-360deg)
  }
}

/* ---- contact ---- */
.mx-cta-grid {
  align-items: center
}

.mx-cta h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1
}

.mx-cta h2 em {
  color: var(--orange)
}

.mx-cta .lede {
  color: #BDB7E2;
  margin-top: 1rem
}

.mx-cta .pfeats {
  margin-top: 1.4rem
}

.mx-cta .form {
  align-self: stretch
}

@media (max-width:920px) {
  .mx-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px
  }

  .mx-track {
    display: none
  }

  .mx-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start
  }

  .mx-node {
    margin: 0;
    width: 44px;
    height: 44px
  }

  .mx-node svg {
    width: 19px;
    height: 19px
  }

  .mx-card {
    height: auto
  }

  .mx-trust-grid {
    grid-template-columns: 1fr
  }

  .mx-vault {
    margin: 1rem auto 0;
    width: min(340px, 84%)
  }

  .mx-orbit {
    inset: 13%
  }
}

@media (max-width:560px) {
  .mx-points {
    grid-template-columns: 1fr
  }
}

@media (prefers-reduced-motion:reduce) {

  .mx-sweep,
  .mx-orbit,
  .mx-orbit span,
  .mx-core,
  .mx-comet,
  .mx-core small span {
    animation: none !important
  }

  .mx-orbit span {
    transform: translate(-50%, -50%)
  }

  .mx-chips span,
  .mx-reply,
  .mx-cite span {
    opacity: 1;
    animation: none !important
  }

  .mx-input span {
    width: auto;
    animation: none !important
  }

  .mxs [style*="--d"],
  .mxs [style*="--d"] * {
    opacity: 1 !important;
    clip-path: none !important
  }

  .m-row i,
  .m-bar i::after {
    width: var(--w) !important
  }

  .m-file s {
    opacity: 1 !important;
    transform: none !important
  }
}

/* =====================================================================
   MIND-BI PAGE — its own sections and animations: analytics canvas (landing),
   query trace, capability bento, team question gallery, working-session contact
   ===================================================================== */
.bi-page h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500
}

.bi-head {
  max-width: 800px;
  margin-bottom: clamp(1.3rem, 3vh, 2.2rem)
}

.bi-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.08
}

.bi-head .lede {
  margin-top: .9rem;
  max-width: 64ch
}

@keyframes biblink {
  50% {
    opacity: 0
  }
}

@keyframes bifade {
  to {
    opacity: 1;
    transform: none
  }
}

/* ---- landing: copy + live analytics canvas. site.js adds, per question: typing, p1..p5
   (pipeline stages), viz (chart + KPI), ins (insight), out (fade); reset turns transitions off ---- */
.bih {
  overflow: hidden
}

.bih::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 72% 100%, rgba(247, 136, 29, .15), transparent 70%), radial-gradient(50% 60% at 86% 18%, rgba(75, 63, 158, .5), transparent 70%)
}

.bih::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 70% at 60% 50%, #000 20%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 60% 50%, #000 20%, transparent 100%)
}

.bih .wrap {
  position: relative;
  z-index: 1
}

.bih-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.bih-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.3rem
}

.bih-kicker span {
  padding: 7px 12px 6px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1
}

.bih-kicker code {
  font-family: var(--mono);
  font-size: .76rem;
  color: #A9A3D2
}

.bih h1 {
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 700;
  color: #fff
}

.bih h1 .nm {
  display: block;
  font-size: .42em;
  letter-spacing: -.01em;
  font-weight: 600;
  color: #C9C4E6;
  margin-bottom: .45em
}

.bih h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.bih .lede {
  margin-top: 1.2rem;
  max-width: 52ch
}

.bih-cta {
  margin-top: 1.7rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.bih-spec {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-d);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .02)
}

.bih-spec li {
  padding: 14px 16px;
  border-right: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d)
}

.bih-spec li:nth-child(2n) {
  border-right: 0
}

.bih-spec li:nth-child(n+3) {
  border-bottom: 0
}

.bih-spec b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--amber)
}

.bih-spec span {
  display: block;
  margin-top: 4px;
  font-size: .84rem;
  line-height: 1.4;
  color: #B4ACE0
}

/* Same size on every desktop screen. site.js may zoom the whole hero down on short screens;
   dividing by that zoom (--fz, see the MindGuard inspector) keeps the demo at its real size
   instead of shrinking it with the copy. The height cap (screen height minus the hero's 126px of
   padding at 600px, plus a little room, divided by the demo's height/width ratio) only bites
   below ~645px high, where the full-size demo would not fit one screen. */
.bi-stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: calc(min(640px, calc((100svh - 140px) / .86)) / var(--fz, 1));
  margin-left: auto
}

.bi-canvas {
  position: relative;
  height: 86cqw;
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
  padding: 2.6cqw;
  border-radius: 3cqw;
  background: linear-gradient(180deg, rgba(30, 23, 80, .94), rgba(19, 15, 54, .97));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .07)
}

.bi-canvas::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(247, 136, 29, .55), transparent 30%, transparent 70%, rgba(122, 108, 214, .55));
  -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)
}

.bi-canvas.reset,
.bi-canvas.reset * {
  transition: none !important;
  animation: none !important
}

.bic-top {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  font-size: 1.9cqw;
  color: #A9A3D2;
  white-space: nowrap
}

.bic-top b {
  display: inline-flex;
  align-items: center;
  gap: .8cqw;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.3cqw;
  color: #fff
}

.bic-top b i {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.9cqw;
  color: var(--orange)
}

.bic-top .crumb {
  color: #6F68A8
}

.bic-top .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: .8cqw 1.8cqw;
  border-radius: 999px;
  border: 1px solid rgba(62, 213, 152, .35);
  font-family: var(--mono);
  font-size: 1.55cqw;
  letter-spacing: .06em;
  color: #9BF2CB
}

.bic-top .live::before {
  content: "";
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 50%;
  background: #3ED598;
  box-shadow: 0 0 0 .6cqw rgba(62, 213, 152, .18)
}

.bic-cmd {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  height: 8.2cqw;
  flex: none;
  padding: 0 1.6cqw 0 2.2cqw;
  border-radius: 2cqw;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: border-color .3s, box-shadow .3s
}

.bi-canvas.typing .bic-cmd {
  border-color: rgba(247, 136, 29, .65);
  box-shadow: 0 0 0 .8cqw rgba(247, 136, 29, .1)
}

.bic-cmd svg {
  flex: none;
  width: 2.8cqw;
  height: 2.8cqw;
  color: #8E86C4
}

.bic-cmd .ty {
  flex: 1;
  min-width: 0;
  font-size: 2.5cqw;
  color: #fff;
  white-space: nowrap;
  overflow: hidden
}

.bi-canvas.typing .bic-cmd .ty::after {
  content: "";
  display: inline-block;
  width: .3cqw;
  height: 2.7cqw;
  margin-left: .3cqw;
  vertical-align: -.4cqw;
  background: var(--orange);
  animation: biblink .8s step-end infinite
}

.bic-cmd kbd {
  flex: none;
  font-family: var(--mono);
  font-size: 1.6cqw;
  color: #A9A3D2;
  padding: .5cqw 1.2cqw;
  border-radius: 1cqw;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04)
}

.bic-pipe {
  position: relative;
  flex: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr)
}

.bic-pipe::before,
.bic-pipe .fill {
  content: "";
  position: absolute;
  left: 10%;
  top: 1.85cqw;
  height: .3cqw;
  border-radius: 1cqw
}

.bic-pipe::before {
  right: 10%;
  background: rgba(255, 255, 255, .1)
}

.bic-pipe .fill {
  width: 0;
  background: linear-gradient(90deg, #7A6CD6, var(--orange));
  transition: width .3s var(--ease)
}

.p2 .bic-pipe .fill {
  width: 20%
}

.p3 .bic-pipe .fill {
  width: 40%
}

.p4 .bic-pipe .fill {
  width: 60%
}

.p5 .bic-pipe .fill {
  width: 80%
}

.bic-pipe span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9cqw;
  font-family: var(--mono);
  font-size: 1.45cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6F68A8;
  transition: color .3s
}

.bic-pipe span i {
  width: 4cqw;
  height: 4cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A1447;
  border: .3cqw solid rgba(255, 255, 255, .16);
  transition: border-color .3s, background .3s, box-shadow .3s
}

.bic-pipe span i::after {
  content: "";
  width: 1.2cqw;
  height: 1.2cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: background .3s
}

.p1 .n1,
.p2 .n2,
.p3 .n3,
.p4 .n4,
.p5 .n5 {
  color: #fff
}

.p1 .n1 i,
.p2 .n2 i,
.p3 .n3 i,
.p4 .n4 i,
.p5 .n5 i {
  border-color: var(--orange);
  background: rgba(247, 136, 29, .16);
  box-shadow: 0 0 2cqw rgba(247, 136, 29, .45)
}

.p1 .n1 i::after,
.p2 .n2 i::after,
.p3 .n3 i::after,
.p4 .n4 i::after,
.p5 .n5 i::after {
  background: var(--orange)
}

.bic-main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 2cqw;
  transition: opacity .4s ease
}

.bi-canvas.out .bic-main,
.bi-canvas.out .bic-foot span:first-child {
  opacity: 0
}

.bic-chart {
  position: relative;
  min-height: 0;
  border-radius: 2.2cqw;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 2cqw;
  overflow: hidden
}

.bic-chart .hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2cqw;
  font-family: var(--mono);
  font-size: 1.45cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8E86C4
}

.bic-chart .hd b {
  font-weight: 500;
  color: #D6D1F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.bic-chart .hd em {
  flex: none;
  font-style: normal;
  padding: .5cqw 1.2cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 92, .45);
  color: var(--amber)
}

.bi-layer {
  position: absolute;
  left: 2cqw;
  right: 2cqw;
  top: 7cqw;
  bottom: 2cqw;
  opacity: 0;
  transition: opacity .35s ease
}

.bi-layer.on {
  opacity: 1
}

.bl-bars {
  display: flex;
  gap: 1.6cqw
}

.bl-bars div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: .8cqw
}

.bl-bars i {
  width: 100%;
  height: var(--h);
  border-radius: 1cqw 1cqw .3cqw .3cqw;
  background: linear-gradient(180deg, #7A6CD6, #3B3288);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .7s var(--ease)
}

.bl-bars .hi i {
  background: linear-gradient(180deg, var(--amber), var(--orange));
  box-shadow: 0 0 2.4cqw rgba(247, 136, 29, .4)
}

.bl-bars span {
  font-family: var(--mono);
  font-size: 1.3cqw;
  color: #8E86C4
}

.viz .bl-bars i {
  transform: scaleY(1)
}

.viz .bl-bars div:nth-child(2) i {
  transition-delay: .06s
}

.viz .bl-bars div:nth-child(3) i {
  transition-delay: .12s
}

.viz .bl-bars div:nth-child(4) i {
  transition-delay: .18s
}

.viz .bl-bars div:nth-child(5) i {
  transition-delay: .24s
}

.viz .bl-bars div:nth-child(6) i {
  transition-delay: .3s
}

.bl-line svg {
  display: block;
  width: 100%;
  height: calc(100% - 3.2cqw);
  overflow: visible;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease)
}

.viz .bl-line svg {
  clip-path: inset(0 0 0 0)
}

.bl-line .g line {
  stroke: rgba(255, 255, 255, .07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke
}

.bl-line .a {
  fill: url(#bi-area)
}

.bl-line .l {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke
}

.bl-line .x {
  display: flex;
  justify-content: space-between;
  margin-top: 1cqw;
  font-family: var(--mono);
  font-size: 1.3cqw;
  color: #6F68A8
}

.bl-donut {
  display: flex;
  align-items: center;
  gap: 3cqw
}

.bl-donut svg {
  flex: none;
  width: 23cqw;
  height: 23cqw;
  transform: rotate(-90deg)
}

.bl-donut circle {
  fill: none;
  stroke-width: 5.4
}

.bl-donut circle.bg {
  stroke: rgba(255, 255, 255, .07)
}

.bl-donut circle.s {
  stroke-dasharray: 0 100;
  transition: stroke-dasharray .9s var(--ease)
}

.viz .bl-donut circle.s {
  stroke-dasharray: var(--l) 100
}

.bl-donut ul {
  flex: 1;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.3cqw
}

.bl-donut li {
  display: flex;
  align-items: center;
  gap: 1.1cqw;
  font-size: 1.8cqw;
  color: #D6D1F0
}

.bl-donut li i {
  flex: none;
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: .4cqw;
  background: var(--c)
}

.bl-donut li b {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 1.6cqw;
  font-weight: 500;
  color: #fff
}

.bic-side {
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
  min-width: 0;
  min-height: 0
}

.bic-kpi {
  padding: 1.9cqw 2.1cqw;
  border-radius: 2.2cqw;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1)
}

.bic-kpi small {
  display: block;
  font-family: var(--mono);
  font-size: 1.4cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.bic-kpi b {
  display: block;
  margin-top: .5cqw;
  font-family: var(--display);
  font-weight: 700;
  font-size: 4.8cqw;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums
}

.bic-kpi em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.55cqw;
  color: #7EE9BC;
  opacity: 0;
  transition: opacity .4s ease .5s
}

.viz .bic-kpi em {
  opacity: 1
}

.bic-sql {
  padding: 1.5cqw 1.8cqw;
  border-radius: 2cqw;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .08)
}

.bic-sql small {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 1.3cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6F68A8
}

.bic-sql code {
  display: block;
  margin-top: .8cqw;
  font-family: var(--mono);
  font-size: 1.45cqw;
  line-height: 1.55;
  color: #9BF2CB;
  clip-path: inset(0 100% 0 0)
}

.p3 .bic-sql code {
  animation: mxwipe .8s steps(24) forwards
}

.bic-ins {
  flex: 1;
  min-height: 0;
  padding: 1.7cqw 2cqw;
  border-radius: 2cqw;
  background: linear-gradient(135deg, rgba(247, 136, 29, .16), rgba(247, 136, 29, .04));
  border: 1px solid rgba(247, 136, 29, .35);
  font-size: 1.85cqw;
  line-height: 1.5;
  color: #fff;
  opacity: 0;
  transform: translateY(1cqw);
  transition: opacity .4s ease, transform .5s var(--ease)
}

.bic-ins b {
  display: block;
  margin-bottom: .5cqw;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.35cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber)
}

.ins .bic-ins {
  opacity: 1;
  transform: none
}

.bic-foot {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2cqw;
  font-family: var(--mono);
  font-size: 1.4cqw;
  letter-spacing: .06em;
  color: #6F68A8;
  white-space: nowrap
}

.bic-foot span:first-child {
  opacity: 0;
  transition: opacity .3s
}

.viz .bic-foot span:first-child {
  opacity: 1
}

.bic-foot b {
  font-weight: 500;
  color: #D6D1F0
}

/* ---- inside a query: waterfall trace + the output of the current step (site.js) ---- */
/* ---- inside a query: vertical timeline (left) + one output card (right). site.js adds on / done
   to the steps and on to the output of the current step. ---- */
.vt2 {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(23, 19, 61, .45)
}

.vt2-q {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line)
}

.vt2-q .lb {
  display: block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink)
}

.vt2-q b {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  color: var(--text)
}

.vt2-q em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: var(--mono);
  font-size: .7rem;
  color: #7A73AE
}

.vt2-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0
}

.vt2 .bt-row {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 7px 0 13px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer
}

/* connector from this dot down to the next one */
.vt2 li:not(:last-child) .bt-row::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 31px;
  bottom: -5px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-2);
  transition: background .35s
}

.vt2 .bt-row.done::after {
  background: var(--indigo-2) !important
}

.vt2 .dot {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--card);
  transition: background .3s, border-color .3s, box-shadow .3s
}

.vt2 .bt-row.done .dot {
  border-color: var(--indigo-2);
  background: var(--indigo-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat
}

.vt2 .bt-row.on .dot {
  border-color: var(--orange);
  box-shadow: 0 0 0 5px rgba(247, 136, 29, .16)
}

.vt2 .bt-row.on .dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--orange)
}

.vt2 .tx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: baseline
}

.vt2 .nm {
  font-size: .98rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s
}

.vt2 .ms {
  font-family: var(--mono);
  font-size: .72rem;
  color: #7A73AE;
  transition: color .3s
}

/* every open description gets the same pixel height (--ds-h, set by site.js from the tallest one), and
   opening and closing use the same timing, so the step list keeps one height while steps change */
.vt2 .ds {
  grid-column: 1 / -1;
  height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--muted);
  transition: height .4s var(--ease), margin-top .4s var(--ease), opacity .3s
}

.vt2 .bt-row.done .nm {
  color: var(--text)
}

.vt2 .bt-row.on .nm {
  color: var(--text);
  font-weight: 600
}

.vt2 .bt-row.on .ms {
  color: var(--accent-ink);
  font-weight: 500
}

.vt2 .bt-row.on .ds {
  height: var(--ds-h, 3em);
  opacity: 1;
  margin-top: 4px
}

/* site.js opens the first step and sets a new --ds-h with the transitions off (.ds-snap), so the
   step list takes its height at once instead of growing over several frames */
.vt2.ds-snap .ds {
  transition: none !important
}

.vt2 .bt-row:hover .nm {
  color: var(--text)
}

/* output card: as tall as the step list; the step outputs share one grid cell (centred in it), so the
   card keeps one height. The old output fades out first, then the new one fades in. */
.vt2 .vt2-out {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  padding: 20px 22px 22px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, #1B1549, #130F36);
  box-shadow: 0 30px 60px -34px rgba(18, 14, 52, .7)
}

.vt2-out .hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #C9C4E6
}

.vt2-out .hd span:last-child {
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .04em;
  background: rgba(247, 136, 29, .14);
  color: var(--amber)
}

.vt2 .bt-art {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  grid-row: 2;
  grid-column: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .3s var(--ease)
}

.vt2 .bt-art.on {
  transform: none;
  transition: opacity .24s ease .14s, transform .35s var(--ease) .14s
}

/* items stay visible while their output fades out, then reset once it is hidden */
.vt2 .bt-art [style*="--i"] {
  transition: opacity 0s .2s, transform 0s .2s
}

.vt2 .bt-art.on [style*="--i"] {
  animation: none;
  opacity: 1;
  transform: none;
  transition: opacity .3s ease, transform .35s var(--ease);
  transition-delay: calc(var(--i) * 55ms + .2s)
}

.vt2 .bt-art:has(.bt-mini) {
  justify-content: flex-start
}

.vt2 .bt-mini {
  flex: 1 1 150px;
  min-height: 150px;
  border-bottom: 0
}

/* footer: elapsed time and a bar split by each step's share of the 1.42 s */
.vt2-ft {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--mono);
  font-size: .68rem;
  color: #8E86C4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap
}

.vt2-ft b {
  font-weight: 500;
  color: #fff
}

.vt2-bar {
  flex: 1;
  display: flex;
  gap: 3px;
  height: 6px
}

.vt2-bar i {
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
  transition: background .35s
}

.vt2-bar i.done {
  background: #7A6CD6
}

.vt2-bar i.on {
  background: var(--orange)
}

.vt2 .bt-table {
  gap: 4px
}

.vt2 .bt-table p {
  padding: 6px 11px;
  font-size: .86rem
}

.vt2 .bt-note.top {
  margin-bottom: 8px
}

@media (max-width:920px) {
  .vt2 {
    grid-template-columns: 1fr;
    gap: 22px
  }
}

@media (max-width:640px) {
  .vt2 {
    padding: 18px 16px
  }

  .vt2 .vt2-out {
    padding: 16px
  }

  .vt2 .bt-mini {
    min-height: 170px
  }
}

/* six bars and their labels must fit a 320px phone without pushing the page sideways */
@media (max-width:400px) {
  .vt2 .vt2-out {
    padding: 14px 12px
  }

  .bt-mini {
    gap: 4px;
    padding: 0
  }

  .bt-mini span {
    min-width: 0
  }

  .bt-mini em {
    font-size: .58rem
  }

  .bt-mini b {
    font-size: .56rem;
    letter-spacing: 0
  }
}

.bt-right {
  position: relative;
  min-height: 330px;
  padding: 20px 22px;
  color: #fff;
  background: radial-gradient(70% 60% at 100% 0%, rgba(247, 136, 29, .14), transparent 70%), linear-gradient(180deg, #1B1549, #130F36)
}

.bt-right .hd {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4
}

.bt-right .hd span:first-child {
  color: var(--amber)
}

.bt-art {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 58px;
  bottom: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .45s var(--ease);
  pointer-events: none
}

.bt-art.on {
  opacity: 1;
  transform: none
}

.bt-art [style*="--i"] {
  opacity: 0;
  transform: translateY(6px)
}

.bt-art.on [style*="--i"] {
  animation: bifade .4s var(--ease) forwards;
  animation-delay: calc(var(--i) * 110ms + .15s)
}

.bt-note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.5;
  color: #A9A3D2
}

.bt-note.top {
  margin: 0 0 10px
}

.bt-note b {
  font-weight: 500;
  color: var(--amber)
}

.bt-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.bt-chips span {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--mono);
  font-size: .86rem;
  color: #fff
}

.bt-chips small {
  display: block;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4;
  margin-bottom: 3px
}

.bt-map {
  display: grid;
  gap: 10px
}

.bt-map p {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px
}

.bt-map code {
  font-family: var(--mono);
  font-size: .8rem;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff
}

.bt-map p code:last-child {
  border-color: rgba(62, 213, 152, .4);
  color: #9BF2CB
}

.bt-map i {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 179, 92, .7) 0 4px, transparent 4px 8px);
  position: relative
}

.bt-map i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border: 3.5px solid transparent;
  border-left: 5px solid rgba(255, 179, 92, .9)
}

.bt-sql {
  margin: 0;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.75;
  color: #D6D1F0;
  white-space: normal
}

.bt-sql span {
  display: block;
  white-space: pre-wrap
}

.bt-sql b {
  font-weight: 500;
  color: var(--amber)
}

.bt-sql q {
  quotes: none;
  color: #9BF2CB
}

.bt-table {
  display: grid;
  gap: 5px
}

.bt-table p {
  display: flex;
  justify-content: space-between;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
  font-size: .86rem;
  color: #D6D1F0
}

.bt-table p:first-child {
  background: rgba(247, 136, 29, .12);
  color: #fff
}

.bt-table b {
  font-family: var(--mono);
  font-weight: 500;
  color: #fff
}

.bt-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.bt-pick span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--mono);
  font-size: .72rem;
  color: #D6D1F0
}

/* chart-choice output: labelled bars that fill the rest of the panel (no empty band below) */
.bt-mini {
  flex: 1;
  min-height: 110px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 12px;
  margin-top: 14px;
  padding: 0 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.bt-mini span {
  flex: 1;
  max-width: 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px
}

.bt-mini em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .7rem;
  color: #C9C4E6
}

.bt-mini span:first-child em {
  color: var(--amber)
}

.bt-mini i {
  width: 100%;
  height: calc(var(--h) * .62);
  min-height: 6px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #7A6CD6, #4B3F9E);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease)
}

.bt-mini span:first-child i {
  background: linear-gradient(180deg, var(--amber), var(--orange))
}

.bt-mini b {
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #8E86C4
}

.bt-art.on .bt-mini i {
  transform: scaleY(1)
}

.bt-art.on .bt-mini span:nth-child(2) i {
  transition-delay: .06s
}

.bt-art.on .bt-mini span:nth-child(3) i {
  transition-delay: .12s
}

.bt-art.on .bt-mini span:nth-child(4) i {
  transition-delay: .18s
}

.bt-art.on .bt-mini span:nth-child(5) i {
  transition-delay: .24s
}

.bt-art.on .bt-mini span:nth-child(6) i {
  transition-delay: .3s
}

.bt-story {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #E1DDF5
}

.bt-story b {
  color: #fff
}

.bt-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px
}

.bt-share span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247, 136, 29, .5);
  background: rgba(247, 136, 29, .1);
  font-size: .84rem;
  color: #fff
}

/* ---- capabilities: bento tiles, each with a CSS loop that starts once the grid is on screen ---- */
.bi-caps h2 em {
  color: var(--orange)
}

.bi-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.bb {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09);
  transition: border-color .3s, transform .4s var(--ease)
}

.bb:hover {
  border-color: rgba(247, 136, 29, .45);
  transform: translateY(-3px)
}

.bb.w2 {
  grid-column: span 2
}

.bb .tg {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber)
}

.bb h3 {
  margin-top: 6px;
  font-size: 1.08rem;
  color: #fff
}

.dark .bb p {
  margin: 5px 0 14px;
  font-size: .85rem;
  line-height: 1.5;
  color: #B4ACE0;
  max-width: 52ch
}

.bb .vis {
  position: relative;
  margin-top: auto;
  height: 118px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .24);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden
}

/* text to SQL: the SQL writes itself line by line, then the result badge; loops */
.v-sql {
  padding: 12px 16px
}

.dark .v-sql .nl {
  font-family: var(--mono);
  font-size: .74rem;
  color: #FFD9B0;
  margin: 0 0 6px
}

.v-sql pre {
  margin: 0;
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.6;
  color: #D6D1F0;
  white-space: normal
}

.v-sql .ln {
  display: block;
  white-space: pre
}

.v-sql b,
.v-mcp b {
  font-weight: 500;
  color: var(--amber)
}

.v-sql q {
  quotes: none;
  color: #9BF2CB
}

.v-sql .ok {
  position: absolute;
  right: 14px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(62, 213, 152, .45);
  font-family: var(--mono);
  font-size: .66rem;
  color: #9BF2CB;
  opacity: 0
}

.bi-bento.in .v-sql .ln,
.bi-bento.in .v-mcp .ln {
  animation: biln 6.4s var(--ease) infinite both;
  animation-delay: calc(var(--i) * .45s)
}

.bi-bento.in .v-sql .ok {
  animation: biok 6.4s ease infinite
}

@keyframes biln {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1
  }

  9% {
    clip-path: inset(0 0 0 0)
  }

  88% {
    clip-path: inset(0 0 0 0);
    opacity: 1
  }

  96%,
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0
  }
}

@keyframes biok {

  0%,
  36% {
    opacity: 0;
    transform: scale(.9)
  }

  42%,
  88% {
    opacity: 1;
    transform: none
  }

  96%,
  100% {
    opacity: 0
  }
}

/* auto-visualisation: bar, line and donut take turns */
.v-viz .c {
  position: absolute;
  inset: 0;
  padding: 12px 14px;
  opacity: 0
}

.v-viz em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.v-viz .bars {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  top: 34px;
  display: flex;
  align-items: flex-end;
  gap: 8px
}

.v-viz .bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #7A6CD6, #4B3F9E)
}

.v-viz .bars i.o,
.v-share .doc i.o {
  background: linear-gradient(180deg, var(--amber), var(--orange))
}

.v-viz svg {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  top: 34px;
  width: calc(100% - 28px);
  height: calc(100% - 46px)
}

.v-viz .c2 path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.4;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke
}

.v-viz .c3 svg {
  left: 50%;
  width: auto;
  aspect-ratio: 1;
  transform: translateX(-50%) rotate(-90deg)
}

.v-viz .c3 circle {
  fill: none;
  stroke-width: 6
}

.bi-bento.in .v-viz .c {
  animation: bivz 7.2s ease infinite
}

.bi-bento.in .v-viz .c2 {
  animation-delay: 2.4s
}

.bi-bento.in .v-viz .c3 {
  animation-delay: 4.8s
}

@keyframes bivz {
  0% {
    opacity: 0;
    transform: scale(.96)
  }

  5%,
  30% {
    opacity: 1;
    transform: none
  }

  35%,
  100% {
    opacity: 0;
    transform: scale(1.02)
  }
}

.v-viz .c1 {
  opacity: 1
}

.bi-bento.in .v-viz .c1 {
  opacity: 0
}

/* follow-ups: a numbered trail of refinements, each pops in after the last one; loops */
.v-drill {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 10px 8px;
  padding: 14px 16px;
  counter-reset: drill
}

.v-drill span {
  counter-increment: drill;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 5px;
  border-radius: 999px;
  font-size: .76rem;
  line-height: 1.2;
  color: #E1DDF5;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12)
}

.v-drill span::before {
  content: counter(drill);
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .6rem;
  background: rgba(255, 255, 255, .1);
  color: #C9C4E6
}

.v-drill span:last-child {
  border-color: rgba(247, 136, 29, .55);
  background: rgba(247, 136, 29, .12);
  color: #fff
}

.v-drill span:last-child::before {
  background: var(--orange);
  color: var(--ink)
}

.bi-bento.in .v-drill span {
  animation: bidrill 6.2s var(--spring) infinite both;
  animation-delay: calc(var(--i) * .55s)
}

@keyframes bidrill {
  0% {
    opacity: 0;
    transform: translateX(-8px)
  }

  6%,
  86% {
    opacity: 1;
    transform: none
  }

  94%,
  100% {
    opacity: 0
  }
}

/* MCP: a tool call and its result, then the clients that can make it */
.v-mcp {
  padding: 12px 14px
}

.v-mcp pre {
  margin: 0;
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 1.65;
  color: #D6D1F0;
  white-space: pre
}

.v-mcp em {
  font-style: normal;
  color: var(--amber)
}

.v-mcp em.g {
  color: #3ED598
}

.v-mcp .clients {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 11px;
  display: flex;
  gap: 6px
}

.v-mcp .clients span {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .68rem;
  color: #D6D1F0
}

/* sharing: the report, then PDF / slides / digest tick in turn */
.v-share {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 14px
}

.v-share .doc {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1)
}

.v-share .doc b {
  font-size: .74rem;
  font-weight: 600;
  color: #fff
}

.v-share .doc span {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 8px
}

.v-share .doc i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #7A6CD6, #4B3F9E)
}

.v-share ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px
}

.v-share li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .76rem;
  color: #D6D1F0
}

.v-share li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3)
}

.bi-bento.in .v-share li {
  animation: bitick 5.6s ease infinite both;
  animation-delay: calc(var(--i) * .5s + .3s)
}

.bi-bento.in .v-share li::before {
  animation: bitickdot 5.6s ease infinite both;
  animation-delay: calc(var(--i) * .5s + .3s)
}

@keyframes bitick {

  0%,
  8% {
    border-color: rgba(255, 255, 255, .12);
    color: #D6D1F0
  }

  14%,
  85% {
    border-color: rgba(247, 136, 29, .55);
    color: #fff;
    background: rgba(247, 136, 29, .1)
  }

  95%,
  100% {
    border-color: rgba(255, 255, 255, .12)
  }
}

@keyframes bitickdot {

  0%,
  8% {
    background: transparent;
    border-color: rgba(255, 255, 255, .3)
  }

  14%,
  85% {
    background: #1FA36B;
    border-color: #1FA36B;
    box-shadow: inset 0 0 0 3px #1B1549
  }

  95%,
  100% {
    background: transparent
  }
}

/* ---- for every team: 3D card carousel. site.js gives each card data-pos (0 = front, ±1, ±2,
   far) and adds .live to the front card, which plays its count-up, trend line and bars. ---- */
.bi-teams {
  overflow: hidden
}

.bi-teams .bi-head {
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(1rem, 2.4vh, 1.6rem)
}

.bi-teams .bi-head .eyebrow,
.bi-teams .bi-head .lede {
  margin-inline: auto
}

.cf {
  --cw: min(410px, 84vw);
  position: relative
}

/* the side cards sit behind the stage's own plane (translateZ < 0), so the stage itself would take
   their clicks: it lets clicks through and only the cards take them */
.cf-stage {
  position: relative;
  height: 410px;
  perspective: 1500px;
  transform-style: preserve-3d;
  pointer-events: none
}

.cf-card {
  pointer-events: auto
}

.cf-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: min(760px, 90vw);
  height: 40px;
  margin-left: calc(min(760px, 90vw) / -2);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 14, 52, .28), transparent);
  pointer-events: none
}

.cf-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  display: flex;
  flex-direction: column;
  padding: 20px 22px 18px;
  border-radius: 22px;
  color: #fff;
  background: radial-gradient(70% 55% at 100% 0%, rgba(247, 136, 29, .16), transparent 70%), linear-gradient(180deg, #1E1750, #130F36);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px -30px rgba(18, 14, 52, .7);
  cursor: pointer;
  transition: transform .75s var(--ease), opacity .55s ease, filter .55s ease, box-shadow .55s ease;
  will-change: transform
}

.cf-card[data-pos="0"] {
  z-index: 5;
  transform: none;
  border-color: rgba(247, 136, 29, .45);
  box-shadow: 0 40px 80px -34px rgba(18, 14, 52, .8), 0 0 0 1px rgba(247, 136, 29, .2), 0 0 46px -10px rgba(247, 136, 29, .35)
}

.cf-card[data-pos="1"] {
  z-index: 4;
  transform: translateX(66%) translateZ(-170px) rotateY(-26deg);
  filter: brightness(.68) saturate(.8)
}

.cf-card[data-pos="-1"] {
  z-index: 4;
  transform: translateX(-66%) translateZ(-170px) rotateY(26deg);
  filter: brightness(.68) saturate(.8)
}

.cf-card[data-pos="2"] {
  z-index: 3;
  transform: translateX(116%) translateZ(-330px) rotateY(-34deg);
  filter: brightness(.5) saturate(.7);
  opacity: .6
}

.cf-card[data-pos="-2"] {
  z-index: 3;
  transform: translateX(-116%) translateZ(-330px) rotateY(34deg);
  filter: brightness(.5) saturate(.7);
  opacity: .6
}

.cf-card[data-pos="far"] {
  z-index: 1;
  transform: translateZ(-520px) scale(.7);
  opacity: 0;
  pointer-events: none
}

.cf-card:not([data-pos="0"]):hover {
  filter: brightness(.85)
}

.cf-top {
  display: flex;
  align-items: center;
  gap: 10px
}

.cf-top .ic {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--ink)
}

.cf-top .ic svg {
  width: 18px;
  height: 18px
}

.cf-top b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem
}

.cf-top em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4;
  white-space: nowrap
}

.bi-teams .cf-q {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.35;
  color: #fff
}

.cf-kpi {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin-top: 10px
}

.cf-kpi b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums
}

.cf-kpi em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .76rem;
  color: #7EE9BC
}

.cf-kpi span {
  flex-basis: 100%;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.cf-spark {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 10px;
  overflow: visible
}

.cf-spark .ar {
  fill: rgba(247, 136, 29, .16)
}

.cf-spark .ln {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(247, 136, 29, .5))
}

.cf-rows {
  display: grid;
  gap: 8px;
  margin-top: 12px
}

.cf-rows p {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: .84rem;
  color: #D6D1F0
}

.cf-rows i {
  position: relative;
  height: 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden
}

.cf-rows i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w);
  border-radius: 5px;
  background: linear-gradient(90deg, #4B3F9E, #7A6CD6)
}

.cf-rows p.o i::after {
  background: linear-gradient(90deg, var(--orange), var(--amber))
}

.cf-rows b {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap
}

.bi-teams .cf-ins {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(247, 136, 29, .1);
  border: 1px solid rgba(247, 136, 29, .32);
  font-size: .84rem;
  line-height: 1.5;
  color: #fff
}

.cf-ins b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2px
}

/* the front card plays when it arrives */
.cf-card.live .cf-spark {
  animation: cfdraw 1.1s var(--ease) .2s both
}

.cf-card.live .cf-rows i::after {
  animation: cfgrow .8s var(--ease) both;
  animation-delay: calc(var(--i) * .1s + .25s)
}

.cf-card.live .cf-ins {
  animation: cfrise .5s var(--ease) .7s both
}

@keyframes cfdraw {
  from {
    clip-path: inset(0 100% 0 0)
  }

  to {
    clip-path: inset(0 0 0 0)
  }
}

@keyframes cfgrow {
  from {
    transform: scaleX(0);
    transform-origin: left
  }

  to {
    transform: scaleX(1);
    transform-origin: left
  }
}

@keyframes cfrise {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* controls: arrows + a pill per team. The current team is a solid dark pill; a thin orange line
   along its bottom edge fills over --dwell, then the next team. */
.cf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(1.4rem, 3vh, 2rem)
}

.cf-arrow {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: background .25s, border-color .25s, color .25s
}

.cf-arrow svg {
  width: 17px;
  height: 17px
}

.cf-arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.cf-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px
}

.cf-pill {
  position: relative;
  overflow: hidden;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, .35);
  border: 1px solid var(--line);
  transition: color .25s, background .25s, border-color .25s
}

.cf-pill:hover {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .55)
}

.cf-pill[aria-current="true"] {
  color: #fff;
  font-weight: 600;
  background: var(--ink);
  border-color: var(--ink)
}

/* the timer: a track and an orange fill along the bottom of the current pill */
.cf-pill::before,
.cf-pill::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s
}

.cf-pill::before {
  background: rgba(255, 255, 255, .18)
}

.cf-pill::after {
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left
}

.cf-pill[aria-current="true"]::before,
.cf-pill[aria-current="true"]::after {
  opacity: 1
}

.cf-run .cf-pill[aria-current="true"]::after {
  animation: cfprog var(--dwell, 2800ms) linear forwards
}

@keyframes cfprog {
  to {
    transform: scaleX(1)
  }
}

@media (max-width:920px) {
  .cf-card[data-pos="1"] {
    transform: translateX(74%) translateZ(-160px) rotateY(-24deg)
  }

  .cf-card[data-pos="-1"] {
    transform: translateX(-74%) translateZ(-160px) rotateY(24deg)
  }

  .cf-card[data-pos="2"],
  .cf-card[data-pos="-2"] {
    opacity: 0;
    pointer-events: none
  }
}

@media (max-width:640px) {
  .cf {
    --cw: min(330px, 84vw)
  }

  .cf-stage {
    height: 452px
  }

  .cf-rows p {
    grid-template-columns: 78px 1fr auto
  }

  .cf-arrow {
    display: none
  }
}

/* ---- contact: working-session steps beside the form ---- */
.bi-cta h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  line-height: 1.12
}

.bi-cta h2 em {
  display: block;
  color: var(--orange)
}

.bi-cta-grid {
  align-items: center
}

.bi-steps {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  position: relative
}

.bi-steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(255, 255, 255, .12)
}

.bi-steps::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, var(--orange), #7A6CD6);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease) .3s
}

.rv.in .bi-steps::after {
  transform: scaleY(1)
}

.bi-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 11px 0
}

.bi-steps li>b {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  color: var(--amber);
  background: #1A1447;
  border: 1px solid rgba(247, 136, 29, .5);
  box-shadow: 0 0 0 5px rgba(18, 14, 52, 1)
}

.bi-steps span {
  font-size: .95rem;
  line-height: 1.5;
  color: #C9C4E6
}

.bi-steps strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff
}

@media (max-width:920px) {
  .bih-grid {
    grid-template-columns: 1fr
  }

  .bi-stage {
    max-width: 580px;
    margin: 0 auto
  }

  .bi-bento {
    grid-template-columns: 1fr 1fr
  }

  .bb.w2 {
    grid-column: 1 / -1
  }
}

@media (max-width:640px) {
  .bi-bento {
    grid-template-columns: 1fr
  }

  /* analytics canvas on phones: chart full width, KPI + SQL side by side under it, insight below, larger type */
  .bi-canvas {
    height: auto;
    gap: 3cqw;
    padding: 3.8cqw;
    border-radius: 4.4cqw
  }

  .bic-top {
    font-size: 2.8cqw
  }

  .bic-top b {
    font-size: 3.6cqw
  }

  .bic-top b i {
    font-size: 4.2cqw
  }

  .bic-top .crumb {
    display: none
  }

  .bic-top .live {
    font-size: 2.4cqw;
    padding: 1.1cqw 2.4cqw
  }

  .bic-cmd {
    height: 11cqw;
    padding: 0 2.4cqw 0 3cqw;
    border-radius: 3cqw
  }

  .bic-cmd svg {
    width: 4cqw;
    height: 4cqw
  }

  .bic-cmd .ty {
    font-size: 3.6cqw
  }

  .bic-cmd kbd {
    font-size: 2.6cqw
  }

  .bic-pipe::before,
  .bic-pipe .fill {
    top: 2.6cqw;
    height: .45cqw
  }

  .bic-pipe span {
    font-size: 2.3cqw;
    gap: 1.2cqw
  }

  .bic-pipe span i {
    width: 5.6cqw;
    height: 5.6cqw
  }

  .bic-pipe span i::after {
    width: 1.8cqw;
    height: 1.8cqw
  }

  .bic-main {
    grid-template-columns: 1fr;
    gap: 2.8cqw
  }

  .bic-chart {
    height: 64cqw;
    padding: 3cqw;
    border-radius: 3cqw
  }

  .bic-chart .hd {
    font-size: 2.4cqw
  }

  .bi-layer {
    left: 3cqw;
    right: 3cqw;
    top: 10cqw;
    bottom: 3cqw
  }

  .bl-bars {
    gap: 2.2cqw
  }

  .bl-bars span {
    font-size: 2.3cqw
  }

  .bl-line .x {
    font-size: 2.3cqw
  }

  .bl-donut svg {
    width: 34cqw;
    height: 34cqw
  }

  .bl-donut li {
    font-size: 3.1cqw;
    gap: 1.6cqw
  }

  .bl-donut li i {
    width: 2.4cqw;
    height: 2.4cqw
  }

  .bl-donut li b {
    font-size: 2.9cqw
  }

  .bic-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.8cqw
  }

  .bic-kpi {
    padding: 3cqw
  }

  .bic-kpi small {
    font-size: 2.3cqw
  }

  .bic-kpi b {
    font-size: 6.6cqw
  }

  .bic-kpi em {
    font-size: 2.7cqw
  }

  .bic-sql {
    padding: 2.6cqw 3cqw
  }

  .bic-sql small {
    font-size: 2.1cqw
  }

  .bic-sql code {
    font-size: 2.5cqw
  }

  .bic-ins {
    grid-column: 1 / -1;
    font-size: 3.3cqw;
    padding: 3cqw 3.4cqw
  }

  .bic-ins b {
    font-size: 2.3cqw
  }

  .bic-foot {
    font-size: 2.4cqw
  }

  /* query trace: room for the longest step output; follow-up tile fits its chips */
  .bb .vis.v-drill {
    height: 140px
  }

  .bih-spec {
    grid-template-columns: 1fr
  }

  .bih-spec li {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-d) !important
  }

  .bih-spec li:last-child {
    border-bottom: 0 !important
  }

  .v-sql pre {
    font-size: .62rem
  }

  .v-sql {
    padding: 10px 12px 36px
  }

  .bb .vis.v-sql {
    height: auto;
    min-height: 126px
  }

  .v-sql .ln {
    white-space: pre-wrap
  }

  .v-sql .ok {
    top: auto;
    bottom: 10px
  }

  .bb .vis {
    height: 126px
  }
}

@media (prefers-reduced-motion:reduce) {
  .bi-canvas * {
    transition: none !important
  }

  .bl-bars i,
  .bt-mini i {
    transform: none !important
  }

  .bl-line svg,
  .bic-sql code {
    clip-path: none !important;
    animation: none !important
  }

  .bl-donut circle.s {
    stroke-dasharray: var(--l) 100 !important
  }

  .bi-bento .v-sql .ln,
  .bi-bento .v-mcp .ln,
  .bi-bento .v-drill span,
  .bi-bento .v-share li,
  .bi-bento .v-share li::before {
    animation: none !important;
    opacity: 1 !important;
    clip-path: none !important
  }

  .bi-bento .v-sql .ok {
    animation: none !important;
    opacity: 1
  }

  .bi-bento .v-viz .c {
    animation: none !important
  }

  .bi-bento .v-viz .c1 {
    opacity: 1 !important
  }

  .bt-art [style*="--i"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important
  }

  .cf-card {
    transition: none !important
  }

  .cf-card * {
    animation: none !important
  }
}

.no-js .bl-bars i {
  transform: none
}

.no-js .bic-sql code,
.no-js .bl-line svg {
  clip-path: none
}

.no-js .bic-ins,
.no-js .bic-kpi em,
.no-js .bic-foot span {
  opacity: 1;
  transform: none
}

.no-js .bl-donut circle.s {
  stroke-dasharray: var(--l) 100
}

/* =====================================================================
   MIND-TALK PAGE — live call with a voice orb (landing), anatomy of a call (waveform),
   three jobs (segmented scenes), handover brief, contact
   ===================================================================== */
.vt-page h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500
}

.vt-head {
  max-width: 780px;
  margin-bottom: clamp(1.3rem, 3vh, 2.1rem)
}

.vt-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.08
}

.vt-head .lede {
  margin-top: .9rem;
  max-width: 62ch
}

.vt-modes h2 em,
.vt-cta h2 em {
  color: var(--orange)
}

@keyframes vtspin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes vtring {
  0% {
    transform: scale(.92);
    opacity: .85
  }

  100% {
    transform: scale(1.6);
    opacity: 0
  }
}

@keyframes vtpop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.94)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes vtin {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes vtswapout {
  to {
    opacity: 0;
    transform: translateY(-6px)
  }
}

@keyframes vtprog {
  to {
    transform: scaleX(1)
  }
}

/* shared by the Mind-Talk scenes and the handover panel */
@keyframes vqdot {
  0% {
    left: 0;
    opacity: 0
  }

  15% {
    opacity: 1
  }

  85% {
    opacity: 1
  }

  100% {
    left: calc(100% - 8px);
    opacity: 0
  }
}

@keyframes vqtick {
  to {
    background: #7A6CD6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
    border-color: #7A6CD6
  }
}

@keyframes vqhit {
  to {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 10px 24px -10px rgba(247, 136, 29, .7)
  }
}

/* ---- landing: copy + live call. site.js sets s-caller / s-agent / s-idle (who is speaking),
   fills the caption word by word, pops the actions, then .out fades and the next call starts ---- */
.vth {
  overflow: hidden
}

.vth::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 60% at 18% 0%, rgba(75, 63, 158, .45), transparent 70%)
}

.vth::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background: repeating-radial-gradient(circle at 76% 52%, rgba(255, 255, 255, .055) 0 1px, transparent 1px 70px);
  -webkit-mask-image: radial-gradient(55% 75% at 76% 52%, #000 15%, transparent 80%);
  mask-image: radial-gradient(55% 75% at 76% 52%, #000 15%, transparent 80%)
}

.vth .wrap {
  position: relative;
  z-index: 1
}

.vth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.vth .vth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.4rem;
  padding: 8px 15px 8px 11px;
  border-radius: 999px;
  line-height: 1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #D6D1F0
}

.vth-kicker i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: vtlive 1.6s ease-out infinite
}

@keyframes vtlive {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 136, 29, .6)
  }

  100% {
    box-shadow: 0 0 0 8px rgba(247, 136, 29, 0)
  }
}

.vth h1 {
  font-size: clamp(2.5rem, 4.3vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 700;
  color: #fff
}

.vth h1 .nm {
  display: block;
  font-size: .42em;
  letter-spacing: -.01em;
  font-weight: 600;
  color: #C9C4E6;
  margin-bottom: .45em
}

.vth h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.vth .lede {
  margin-top: 1.2rem;
  max-width: 52ch
}

.vth-cta {
  margin-top: 1.7rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.vth-stats {
  list-style: none;
  margin: 2.1rem 0 0;
  padding: 1.3rem 0 0;
  display: flex;
  border-top: 1px solid var(--line-d)
}

.vth-stats li {
  flex: 1;
  padding: 0 18px;
  border-left: 1px solid var(--line-d)
}

.vth-stats li:first-child {
  padding-left: 0;
  border-left: 0
}

.vth-stats b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -.02em;
  color: #fff
}

.vth-stats span {
  display: block;
  margin-top: 2px;
  font-size: .84rem;
  line-height: 1.4;
  color: #A9A3D2
}

/* Same size on every desktop screen. site.js may zoom the whole hero down on short screens;
   dividing by that zoom (--fz, see the MindGuard inspector) keeps the demo at its real size
   instead of shrinking it with the copy. The height cap (screen height minus the hero's 126px of
   padding at 600px, plus a little room, divided by the demo's height/width ratio) only bites
   below ~645px high, where the full-size demo would not fit one screen. */
.vt-stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: calc(min(540px, calc((100svh - 140px) / .98)) / var(--fz, 1));
  margin-left: auto
}

.vt-call {
  position: relative;
  height: 98cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.4cqw;
  border-radius: 4cqw;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 23, 80, .92), rgba(19, 15, 54, .96));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .07)
}

.vt-top {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  font-family: var(--mono);
  font-size: 1.75cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #A9A3D2;
  white-space: nowrap
}

.vt-top .live {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: .9cqw 1.8cqw;
  border-radius: 999px;
  background: rgba(247, 136, 29, .12);
  border: 1px solid rgba(247, 136, 29, .35);
  color: #FFB35C
}

.vt-top .live i {
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  background: #F7881D;
  animation: biblink 1.2s step-end infinite
}

.vt-top .tag {
  color: #D6D1F0;
  overflow: hidden;
  text-overflow: ellipsis
}

.vt-top .lang {
  margin-left: auto;
  padding: .8cqw 1.6cqw;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 92, .45);
  color: var(--amber)
}

.vt-top .time {
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums
}

.vt-orb {
  position: relative;
  flex: none;
  width: 28cqw;
  aspect-ratio: 1;
  margin: 3.6cqw 0 1.4cqw
}

.vt-orb .ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: .3cqw solid rgba(255, 179, 92, .55);
  opacity: 0
}

.s-caller .vt-orb .ring {
  border-color: rgba(122, 108, 214, .6)
}

.vt-call:not(.s-idle) .vt-orb .ring {
  animation: vtring 2.4s ease-out infinite
}

.vt-call:not(.s-idle) .vt-orb .ring:nth-child(2) {
  animation-delay: .8s
}

.vt-call:not(.s-idle) .vt-orb .ring:nth-child(3) {
  animation-delay: 1.6s
}

.vt-orb .body {
  position: absolute;
  inset: 0;
  transition: transform .6s var(--ease)
}

.s-agent .vt-orb .body,
.s-caller .vt-orb .body {
  animation: vttalk 1.15s ease-in-out infinite
}

@keyframes vttalk {

  0%,
  100% {
    transform: scale(1)
  }

  20% {
    transform: scale(1.06)
  }

  40% {
    transform: scale(.97)
  }

  62% {
    transform: scale(1.08)
  }

  82% {
    transform: scale(1.01)
  }
}

.vt-orb .core {
  position: absolute;
  inset: 12%;
  opacity: 0;
  transition: opacity .7s ease;
  border-radius: 46% 54% 52% 48% / 50% 45% 55% 50%;
  animation: vtmorph 8s ease-in-out infinite, vtspin 11s linear infinite
}

.vt-orb .core.a {
  background: conic-gradient(from 30deg, #F7881D, #FFB35C, #FFA54A, #FFD9B0, #F7881D);
  box-shadow: 0 0 9cqw rgba(247, 136, 29, .6), inset 0 0 6cqw rgba(255, 255, 255, .28)
}

.vt-orb .core.c {
  background: conic-gradient(from 30deg, #4B3F9E, #7A6CD6, #B4ACE0, #7A6CD6, #4B3F9E);
  box-shadow: 0 0 9cqw rgba(122, 108, 214, .6), inset 0 0 6cqw rgba(255, 255, 255, .22);
  animation-duration: 9s, 14s
}

.s-agent .vt-orb .core.a,
.s-caller .vt-orb .core.c {
  opacity: 1
}

.s-idle .vt-orb .core.c {
  opacity: .55
}

@keyframes vtmorph {

  0%,
  100% {
    border-radius: 46% 54% 52% 48% / 50% 45% 55% 50%
  }

  33% {
    border-radius: 56% 44% 40% 60% / 45% 58% 42% 55%
  }

  66% {
    border-radius: 42% 58% 60% 40% / 58% 44% 56% 42%
  }
}

.vt-orb .hl {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .55), transparent 30%), radial-gradient(circle at 70% 82%, rgba(18, 14, 52, .32), transparent 52%)
}

/* speaker row under the orb: who is speaking + the live sound bars, then the detected intent */
.vt-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  height: 5cqw
}

.vt-call .vt-now p {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1cqw;
  min-width: 24cqw;
  font-family: var(--mono);
  font-size: 1.6cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #A9A3D2;
  transition: color .3s
}

.vt-now p i {
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  transition: background .3s, box-shadow .3s
}

.s-agent .vt-now p {
  color: var(--amber)
}

.s-agent .vt-now p i {
  background: var(--orange);
  box-shadow: 0 0 0 .6cqw rgba(247, 136, 29, .2)
}

.s-caller .vt-now p {
  color: #B4ACE0
}

.s-caller .vt-now p i {
  background: #7A6CD6;
  box-shadow: 0 0 0 .6cqw rgba(122, 108, 214, .22)
}

.vt-eq {
  flex: none;
  display: flex;
  align-items: center;
  gap: .6cqw;
  height: 5cqw
}

.vt-eq i {
  width: .6cqw;
  height: .7cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, .22);
  transition: background .4s
}

.s-agent .vt-eq i {
  background: var(--amber);
  animation: vteq .9s ease-in-out infinite;
  animation-delay: var(--d)
}

.s-caller .vt-eq i {
  background: #7A6CD6;
  animation: vteq 1.05s ease-in-out infinite;
  animation-delay: var(--d)
}

@keyframes vteq {

  0%,
  100% {
    height: .7cqw
  }

  50% {
    height: var(--h)
  }
}

.vt-intent {
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  margin-top: 1.6cqw;
  padding: 1cqw 2cqw;
  border-radius: 999px;
  background: rgba(247, 136, 29, .09);
  border: 1px solid rgba(255, 179, 92, .4);
  font-family: var(--mono);
  font-size: 1.55cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #A9A3D2;
  opacity: 0;
  transform: translateY(1cqw) scale(.95);
  transition: opacity .4s ease, transform .5s var(--spring)
}

.vt-intent b {
  font-weight: 500;
  color: #FFD9B0
}

.vt-intent.on {
  opacity: 1;
  transform: none
}

/* live transcript: caller on the left, Mind-Talk on the right, system actions in between;
   older lines slide up and fade out under the top edge */
.vt-log {
  align-self: stretch;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.3cqw;
  margin-top: 2.2cqw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%);
  mask-image: linear-gradient(180deg, transparent, #000 26%);
  transition: opacity .4s ease
}

.vt-msg {
  flex: none;
  max-width: 82%;
  padding: 1.5cqw 2.2cqw;
  border-radius: 2.4cqw;
  animation: vtpop .4s var(--spring) both
}

.vt-msg.caller {
  align-self: flex-start;
  background: rgba(122, 108, 214, .13);
  border: 1px solid rgba(122, 108, 214, .28);
  border-bottom-left-radius: .8cqw
}

.vt-msg.agent {
  align-self: flex-end;
  background: rgba(247, 136, 29, .13);
  border: 1px solid rgba(247, 136, 29, .34);
  border-bottom-right-radius: .8cqw
}

.vt-msg b {
  display: block;
  margin-bottom: .4cqw;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.35cqw;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B4ACE0
}

.vt-msg.agent b {
  color: var(--amber)
}

.vt-call .vt-msg p {
  font-size: 2.3cqw;
  line-height: 1.45;
  color: #fff
}

.vt-msg p span {
  animation: vtword .35s ease both
}

@keyframes vtword {
  from {
    opacity: 0;
    filter: blur(4px)
  }

  to {
    opacity: 1;
    filter: none
  }
}

.vt-call .vt-msg p[dir="rtl"] {
  text-align: right;
  font-size: 2.6cqw
}

.vt-call .vt-msg .tr {
  margin-top: .5cqw;
  font-size: 1.85cqw;
  line-height: 1.4;
  font-style: italic;
  color: #B4ACE0;
  animation: vtin .4s var(--ease) both
}

.vt-msg .tr::before {
  content: "EN · ";
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.35cqw;
  letter-spacing: .12em;
  color: var(--amber)
}

.vt-sysrow {
  flex: none;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1cqw
}

.vt-sys {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: .9cqw 1.9cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--mono);
  font-size: 1.55cqw;
  letter-spacing: .06em;
  color: #E1DDF5;
  animation: vtpop .4s var(--spring) both
}

.vt-sys i {
  font-style: normal;
  color: var(--amber)
}

/* phone controls */
.vt-ctrl {
  align-self: stretch;
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.8cqw;
  margin-top: 2.4cqw;
  padding-top: 2.4cqw;
  border-top: 1px solid rgba(255, 255, 255, .07)
}

.vt-ctrl span {
  width: 7cqw;
  height: 7cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #D6D1F0
}

.vt-ctrl svg {
  width: 3cqw;
  height: 3cqw
}

.vt-ctrl .end {
  width: 9cqw;
  height: 7cqw;
  border-radius: 999px;
  background: #E5484D;
  border-color: #E5484D;
  color: #fff;
  box-shadow: 0 1.6cqw 3.4cqw -1.6cqw rgba(229, 72, 77, .8)
}

.vt-ctrl .end svg {
  transform: rotate(135deg)
}

.vt-call.out .vt-log,
.vt-call.out .vt-intent {
  opacity: 0
}

/* ---- anatomy of a call: the six steps of one call on a timeline. A rail runs through the step
   dots and fills from one step to the next while the call clock runs; each step lights up as the
   rail reaches it and its event chip turns dark (the event has fired). site.js sets .on / .done
   on the steps and drives the rail and the clock. Every card keeps its size, so nothing around
   the timeline moves while it plays. ---- */
.vf-card {
  padding: 20px 22px 24px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(23, 19, 61, .45)
}

/* call header */
.vf-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.vf-ic {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff
}

.vf-ic svg {
  width: 16px;
  height: 16px
}

.vf-id {
  min-width: 0
}

.vf-id b {
  display: block;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text)
}

.vf-id small {
  display: block;
  margin-top: 2px;
  font-size: .74rem;
  color: var(--muted)
}

.vf-live {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1F9D6A;
  background: rgba(62, 213, 152, .12);
  border: 1px solid rgba(31, 157, 106, .3)
}

.vf-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.vf-time {
  flex: none;
  min-width: 7.5em;
  text-align: right;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums
}

/* the timeline: six equal columns, a dot on the rail above each card */
.vf-flow {
  --g: 12px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--g);
  margin-top: 22px
}

/* from the first dot's centre to the last one's (half a column in from each side) */
.vf-rail {
  position: absolute;
  top: 15px;
  left: calc((100% - 5 * var(--g)) / 12);
  right: calc((100% - 5 * var(--g)) / 12);
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--line-2);
  pointer-events: none
}

.vf-rail i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--indigo-2);
  transform-origin: 0 50%;
  transform: scaleX(0)
}

.vf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-align: left
}

.vf-dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .66rem;
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--muted);
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s
}

.vf-box {
  flex: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--line);
  opacity: .55;
  transition: opacity .25s, background .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease)
}

.vf-box time {
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

.vf-box b {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text)
}

.vf-tx {
  font-size: .8rem;
  line-height: 1.45;
  color: var(--muted)
}

.vf-box code {
  align-self: flex-start;
  max-width: 100%;
  margin-top: auto;
  padding: 5px 8px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(75, 63, 158, .08);
  color: var(--indigo-2);
  transition: background .25s, color .25s
}

/* the gap above the chip, kept when the description is short */
.vf-tx {
  margin-bottom: 6px
}

.vf-step:hover .vf-box {
  border-color: var(--line-2)
}

/* reached steps */
.vf-step.done .vf-box,
.vf-step.on .vf-box {
  opacity: 1
}

.vf-step.done .vf-dot {
  background: var(--indigo-2);
  border-color: var(--indigo-2);
  color: #fff
}

.vf-step.done .vf-box code,
.vf-step.on .vf-box code {
  background: var(--ink);
  color: #fff
}

/* the step happening now */
.vf-step.on .vf-dot {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  box-shadow: 0 0 0 5px rgba(247, 136, 29, .16)
}

.vf-step.on .vf-box {
  background: #fff;
  border-color: rgba(247, 136, 29, .5);
  box-shadow: 0 18px 36px -24px rgba(23, 19, 61, .5);
  transform: translateY(-4px)
}

.no-js .vf-box {
  opacity: 1
}

/* ---- three jobs: segmented control with a sliding pill (the pill fills while it waits) ---- */
.vm-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.2rem, 2.6vh, 1.8rem)
}

.vm-top .vt-head {
  margin-bottom: 0
}

.vt-modes {
  overflow: hidden
}

.vm-top {
  position: relative;
  z-index: 0
}

.vm-seg {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: #1B1549;
  border: 1px solid rgba(255, 255, 255, .12)
}

/* two dotted amber lines run behind the tab group and out of both sides: the top one flows
   right, the bottom one flows left, so the dots keep passing behind the tabs */
.vm-seg::before,
.vm-seg::after {
  content: "";
  position: absolute;
  left: -120px;
  right: -120px;
  height: 4px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, var(--amber) 1.4px, transparent 1.9px) 0 50% / 10px 4px repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent)
}

.vm-seg::before {
  top: calc(50% - 8px);
  animation: vtflowr 1s linear infinite
}

.vm-seg::after {
  top: calc(50% + 4px);
  opacity: .55;
  animation: vtflowl 1.4s linear infinite
}

@keyframes vtflowr {
  to {
    background-position: 10px 50%
  }
}

@keyframes vtflowl {
  to {
    background-position: -10px 50%
  }
}

.vm-seg .ind {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: var(--l, 5px);
  width: var(--w, 0);
  border-radius: 999px;
  overflow: hidden;
  background: var(--orange);
  transition: left .55s var(--ease), width .55s var(--ease)
}

.vm-seg .ind::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .16);
  transform: scaleX(0);
  transform-origin: left
}

.vm-run .vm-seg .ind::after {
  animation: vtprog var(--dwell, 3300ms) linear forwards
}

.vm-seg button {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: #C9C4E6;
  white-space: nowrap;
  transition: color .35s
}

.vm-seg button:hover {
  color: #fff
}

.vm-seg button[aria-selected="true"] {
  color: var(--ink);
  font-weight: 600
}

.vm-stage {
  position: relative;
  height: 430px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1)
}

.vm-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(22px, 3vw, 38px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s
}

.vm-panel.on {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility 0s
}

.vm-copy h3 {
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: #fff
}

.dark .vm-copy p {
  margin-top: 10px;
  font-size: .98rem;
  line-height: 1.6;
  color: #C9C4E6
}

.vm-copy ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px
}

.vm-copy li {
  position: relative;
  padding-left: 28px;
  font-size: .92rem;
  color: #E1DDF5
}

.vm-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(247, 136, 29, .55);
  background: rgba(247, 136, 29, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB35C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat
}

.vm-panel.on .vm-copy>* {
  animation: vtin .5s var(--ease) both
}

.vm-panel.on .vm-copy> :nth-child(2) {
  animation-delay: .08s
}

.vm-panel.on .vm-copy> :nth-child(3) {
  animation-delay: .16s
}

.vm-vis {
  position: relative;
  min-width: 0
}

/* scene 1 · inbound: the caller rings, connects to Mind-Talk (the line lights up, voice starts);
   outbound: a campaign works through its list, each result slides in, then a summary */
.va2 {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: stretch
}

.va2-in,
.va2-out {
  position: relative;
  padding: 16px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1)
}

.va2-in {
  display: flex;
  flex-direction: column
}

.va2-in .va2-link {
  margin-top: auto
}

.va2-in .va2-st {
  margin-bottom: auto
}

.va2-in::before,
.va2-out::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none
}

.va2-in::before {
  background: radial-gradient(80% 50% at 50% 0%, rgba(122, 108, 214, .2), transparent 70%)
}

.va2-out::before {
  background: none
}

.va2-hd {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4;
  white-space: nowrap
}

.va2-hd .tg {
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 500
}

.va2-hd .tg.in {
  background: rgba(122, 108, 214, .2);
  color: #D6D1F0
}

.va2-hd .tg.out {
  background: rgba(247, 136, 29, .2);
  color: var(--amber)
}

.va2-hd .cnt {
  margin-left: auto;
  color: #fff;
  font-weight: 500
}

.va2-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 20px
}

.va2-who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px
}

.va2-who b {
  font-size: .74rem;
  font-weight: 500;
  color: #D6D1F0;
  white-space: nowrap
}

.va2-who .av {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .64rem;
  background: rgba(122, 108, 214, .25);
  border: 1px solid rgba(122, 108, 214, .5);
  color: #fff
}

.va2-who .av svg {
  width: 20px;
  height: 20px
}

.va2-who .av::before,
.va2-who .av::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 108, 214, .7);
  opacity: 0
}

.vm-panel.on .va2-who.c .av::before {
  animation: vtring 1s ease-out
}

.vm-panel.on .va2-who.c .av::after {
  animation: vtring 1s ease-out .45s
}

.va2-who .av.orb {
  background: radial-gradient(circle at 32% 28%, #FFC27A, #F7881D 60%, #B85B0A);
  border-color: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  box-shadow: 0 0 24px rgba(247, 136, 29, .45)
}

.vm-panel.on .va2-who.a .av {
  animation: vaglow 2s ease-in-out 1.2s infinite
}

@keyframes vaglow {

  0%,
  100% {
    box-shadow: 0 0 18px rgba(247, 136, 29, .35)
  }

  50% {
    box-shadow: 0 0 34px rgba(247, 136, 29, .7)
  }
}

.va2-wire {
  position: relative;
  height: 2px;
  margin-bottom: 22px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 4px, transparent 4px 8px)
}

.va2-wire i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--orange);
  opacity: 0
}

.va2-wire i:nth-child(2) {
  background: #B4ACE0;
  box-shadow: 0 0 10px #7A6CD6
}

.vm-panel.on .va2-wire {
  animation: vawire .01s linear 1.1s forwards
}

@keyframes vawire {
  to {
    background: repeating-linear-gradient(90deg, rgba(255, 179, 92, .55) 0 4px, transparent 4px 8px)
  }
}

.vm-panel.on .va2-wire i:nth-child(1) {
  animation: vqdot 1.2s ease-in-out 1.2s infinite
}

.vm-panel.on .va2-wire i:nth-child(2) {
  animation: vqdot 1.2s ease-in-out 1.8s infinite reverse
}

.va2-wave {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 38px;
  margin-top: 16px
}

.va2-wave i {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .18)
}

.vm-panel.on .va2-wave i {
  animation: vawv .9s ease-in-out infinite;
  animation-delay: calc(1.2s + var(--d))
}

@keyframes vawv {

  0%,
  100% {
    height: 4px;
    background: rgba(255, 179, 92, .55)
  }

  50% {
    height: var(--h);
    background: var(--amber)
  }
}

.va2-st {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 14px
}

/* status ticker: two pills stacked in a one-pill window; the second slides up into view */
.va2-tick {
  height: 28px;
  overflow: hidden
}

.va2-tick>span {
  display: flex;
  flex-direction: column
}

.va2-st .va2-tick>span {
  align-items: center
}

.va2-row .va2-tick>span {
  align-items: flex-end
}

.va2-tick s {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .05em;
  white-space: nowrap
}

.va2-tick s.w {
  background: rgba(255, 255, 255, .07);
  color: #D6D1F0
}

.va2-tick s.ok {
  background: rgba(255, 255, 255, .07);
  color: #E1DDF5
}

.va2-tick s.cb {
  background: rgba(247, 136, 29, .16);
  color: var(--amber)
}

.va2-tick s.re {
  background: rgba(255, 255, 255, .09);
  color: #C9C4E6
}

.va2-tick s.ok::before {
  content: "✓";
  color: var(--amber)
}

.va2-tick s.w i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  animation: vadot 1s ease-in-out infinite
}

.va2-tick s.w i:nth-of-type(2) {
  animation-delay: .15s
}

.va2-tick s.w i:nth-of-type(3) {
  animation-delay: .3s
}

@keyframes vadot {

  0%,
  80%,
  100% {
    opacity: .25;
    transform: none
  }

  40% {
    opacity: 1;
    transform: translateY(-3px)
  }
}

@keyframes vatick {
  to {
    transform: translateY(-28px)
  }
}

.vm-panel.on .va2-st .va2-tick>span {
  animation: vatick .4s var(--ease) 1.1s forwards
}

.va2-prog {
  position: relative;
  height: 4px;
  margin: 12px 0 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden
}

.va2-prog i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 4px;
  background: var(--orange)
}

.vm-panel.on .va2-prog i {
  animation: vaprog 1.9s linear .6s forwards
}

@keyframes vaprog {
  to {
    width: 100%
  }
}

.va2-row {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 6px;
  border-radius: 10px
}

.va2-row+.va2-row {
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .06)
}

.va2-row .av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .6rem;
  background: rgba(122, 108, 214, .3);
  color: #fff
}

.va2-row b {
  display: block;
  font-size: .86rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.va2-row small {
  display: block;
  font-family: var(--mono);
  font-size: .6rem;
  color: #8E86C4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.vm-panel.on .va2-row {
  animation: vtin .35s var(--ease) both, vahl .9s ease both;
  animation-delay: calc(var(--i) * .07s), calc(var(--i) * .38s + .5s)
}

@keyframes vahl {

  0%,
  100% {
    background: rgba(247, 136, 29, 0)
  }

  35% {
    background: rgba(247, 136, 29, .09)
  }
}

.vm-panel.on .va2-row .va2-tick>span {
  animation: vatick .4s var(--ease) forwards;
  animation-delay: calc(var(--i) * .38s + .9s)
}

.va2-sum {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
  opacity: 0
}

.va2-sum span {
  padding: 7px 6px;
  border-radius: 10px;
  text-align: center;
  background: rgba(255, 255, 255, .05);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #A9A3D2
}

.va2-sum b {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0;
  color: #fff
}

.vm-panel.on .va2-sum {
  animation: vtin .4s var(--ease) 2.6s forwards
}

/* scene 2 · routing board: caller → qualify (checks tick, lead score fills) → route (the Sales
   branch of the fork draws in, Sales lights, the others dim) → booking + handover cards */
.vq2 {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.vq2-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) minmax(0, .92fr);
  align-items: stretch
}

.vq2-caller,
.vq2-qual,
.vq2-route {
  position: relative;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1)
}

.vq2-route {
  margin-left: 12px
}

.vm-panel.on .vq2-caller {
  animation: vtpop .4s var(--spring) both
}

.vm-panel.on .vq2-qual {
  animation: vtpop .4s var(--spring) .12s both
}

.vm-panel.on .vq2-route {
  animation: vtpop .4s var(--spring) .24s both
}

.vq2-caller .who {
  display: flex;
  align-items: center;
  gap: 10px
}

.vq2-caller .av {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .62rem;
  background: rgba(122, 108, 214, .25);
  border: 1px solid rgba(122, 108, 214, .5);
  color: #fff
}

.vq2-caller .av::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 108, 214, .7);
  opacity: 0
}

.vm-panel.on .vq2-caller .av::after {
  animation: vtring 1.2s ease-out .1s
}

.vq2-caller b {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #fff
}

.vq2-caller small {
  display: block;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .06em;
  color: #8E86C4
}

.dark .vq2-caller p {
  position: relative;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(122, 108, 214, .13);
  border: 1px solid rgba(122, 108, 214, .26);
  font-size: .84rem;
  line-height: 1.45;
  color: #E1DDF5
}

.vq2-link {
  align-self: center;
  position: relative;
  height: 2px;
  margin: 0 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 5px, transparent 5px 9px)
}

.vq2-link i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--orange);
  opacity: 0
}

.vm-panel.on .vq2-link i {
  animation: vqdot .8s ease-in-out .25s 2
}

.dark .vq2 .hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4
}

.vq2 .score {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0;
  color: #fff;
  opacity: 0
}

.vq2 .score em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .1em;
  color: #8E86C4
}

.vm-panel.on .vq2 .score {
  animation: vtin .35s var(--ease) 1.2s forwards
}

.vq2-qual>span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: .82rem;
  color: #C9C4E6
}

.vq2-qual>span::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3)
}

.vq2-qual>span b {
  margin-left: auto;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .74rem;
  color: #fff
}

.vm-panel.on .vq2-qual>span::before {
  animation: vqtick .3s ease forwards;
  animation-delay: calc(var(--i) * .25s + .45s)
}

.vq2 .meter {
  height: 5px;
  margin-top: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden
}

.vq2 .meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 5px;
  background: var(--orange)
}

.vm-panel.on .vq2 .meter i {
  animation: vqmeter .7s var(--ease) 1.05s forwards
}

@keyframes vqmeter {
  to {
    width: 86%
  }
}

.vq2 .fork {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  height: 120px
}

.vq2 .fork svg {
  width: 100%;
  height: 100%;
  overflow: visible
}

.vq2 .fork .ln {
  fill: none;
  stroke: rgba(255, 255, 255, .2);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke
}

.vq2 .fork .hot {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 4px rgba(247, 136, 29, .85))
}

.vm-panel.on .vq2 .fork .hot {
  animation: vqdraw .55s var(--ease) 1.5s forwards
}

@keyframes vqdraw {
  to {
    stroke-dashoffset: 0
  }
}

.vq2 .dst {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  align-items: center
}

.vq2 .dst span {
  padding: 7px 8px;
  border-radius: 10px;
  font-size: .8rem;
  text-align: center;
  color: #A9A3D2;
  border: 1px solid rgba(255, 255, 255, .12)
}

.vm-panel.on .vq2 .dst span.hit {
  animation: vqhit .35s ease 2s forwards
}

.vm-panel.on .vq2 .dst span:not(.hit) {
  animation: vqdim .35s ease 2s forwards
}

@keyframes vqdim {
  to {
    opacity: .4
  }
}

.vq2-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.vq2-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(10px)
}

.vq2-card.book {
  background: rgba(247, 136, 29, .08);
  border: 1px solid rgba(247, 136, 29, .4)
}

.vq2-card.brief {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14)
}

.vq2-card .cal {
  flex: none;
  width: 42px;
  border-radius: 9px;
  overflow: hidden;
  text-align: center;
  background: #F7F6FB;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6)
}

.vq2-card .cal em {
  display: block;
  padding: 2px 0;
  font-style: normal;
  font-family: var(--mono);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--ink)
}

.vq2-card .cal b {
  display: block;
  padding: 1px 0 3px;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--ink)
}

.vq2-card>i {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  background: #7A6CD6;
  color: #fff
}

.vq2-card div>b {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #fff
}

.vq2-card small {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: .64rem;
  color: #C9C4E6
}

.vq2-card.brief small {
  color: #E1DDF5
}

.vm-panel.on .vq2-card.book {
  animation: vtpop .45s var(--spring) 2.2s forwards
}

.vm-panel.on .vq2-card.brief {
  animation: vtpop .45s var(--spring) 2.5s forwards
}

/* scene 3 · agent console: translated transcript + suggested next step */
.vc {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .08)
}

.vc-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.vc-hd .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFB35C
}

.vc-hd .live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F7881D;
  animation: biblink 1.2s step-end infinite
}

.vc-hd span:last-child {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 92, .45);
  color: var(--amber)
}

.vc-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px
}

.dark .vc-lines p {
  display: grid;
  gap: 1px;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  opacity: 0
}

.vc-lines p.ag {
  background: rgba(247, 136, 29, .1);
  border: 1px solid rgba(247, 136, 29, .25)
}

.vc-lines b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7A6CD6
}

.vc-lines p.ag b {
  color: var(--amber)
}

.vc-lines span {
  font-size: .88rem;
  line-height: 1.45
}

.vc-lines [dir="rtl"] {
  text-align: right
}

.vc-lines em {
  font-size: .78rem;
  font-style: italic;
  line-height: 1.4;
  color: #A9A3D2
}

.vm-panel.on .vc-lines p {
  animation: vtin .4s var(--ease) forwards;
  animation-delay: calc(var(--i) * .5s + .2s)
}

.vc-assist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 10px
}

.dark .vc-assist p {
  flex-basis: 100%;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4
}

.vc-assist span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 179, 92, .55);
  font-size: .8rem;
  color: #FFD9B0;
  opacity: 0
}

.vm-panel.on .vc-assist span {
  animation: vtpop .35s var(--spring) forwards;
  animation-delay: calc(var(--i) * .15s + 1.8s)
}

/* ---- handover brief: the fields type in, the status turns Ready, then it is assigned ---- */
.vb-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center
}

.vb-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px
}

.vb-points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
  align-items: start
}

.vb-points i {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--accent-ink)
}

.vb-points i svg {
  width: 19px;
  height: 19px
}

.vb-points b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-top: 1px
}

.tint .vb-points p {
  margin-top: 2px;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted)
}

.vb-stage {
  position: relative
}

/* the handover panel. site.js adds s1..s6 in turn: caller + recording (s1), transfer running (s2),
   request (s3), qualification ticks (s4), actions done (s5), next step + "Handed over" (s6) */
.vb2 {
  position: relative;
  padding: 20px;
  border-radius: 24px;
  color: #fff;
  overflow: hidden;
  background: #18123F;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 80px -40px rgba(18, 14, 52, .7);
  transition: opacity .4s ease
}

.vb-stage.out .vb2 {
  opacity: 0
}

.vb2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.vb2-hand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0
}

.vb2-hand b {
  font-size: .8rem;
  font-weight: 500;
  color: #D6D1F0;
  white-space: nowrap
}

.vb2-hand .node {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.vb2-hand .node.ai {
  background: radial-gradient(circle at 32% 28%, #FFC27A, #F7881D 60%, #B85B0A);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem
}

.vb2-hand .node.hu {
  background: linear-gradient(135deg, #7A6CD6, #4B3F9E);
  color: #fff;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500
}

.vb2-hand .wire {
  position: relative;
  flex: none;
  width: 52px;
  height: 2px;
  margin: 0 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 4px, transparent 4px 8px);
  transition: background .4s
}

.vb2-hand .wire i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--orange);
  opacity: 0
}

.vb-stage.s2 .vb2-hand .wire i {
  animation: vqdot 1.05s ease-in-out infinite
}

.vb-stage.s6 .vb2-hand .wire {
  background: linear-gradient(90deg, var(--orange), #7A6CD6)
}

.vb-stage.s6 .vb2-hand .wire i {
  animation: none;
  opacity: 0
}

.vb-stage.s6 .vb2-hand .node.hu {
  animation: vbring 1.4s ease-out 2
}

@keyframes vbring {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 108, 214, .7)
  }

  100% {
    box-shadow: 0 0 0 12px rgba(122, 108, 214, 0)
  }
}

.vb2-st {
  display: grid;
  flex: none;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase
}

.vb2-st span {
  grid-area: 1 / 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity .35s, transform .4s var(--ease)
}

.vb2-st .w {
  background: rgba(255, 179, 92, .12);
  border: 1px solid rgba(255, 179, 92, .35);
  color: var(--amber)
}

.vb2-st .w::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 179, 92, .3);
  border-top-color: var(--amber);
  animation: vtspin .8s linear infinite
}

.vb2-st .r {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #E1DDF5;
  opacity: 0;
  transform: scale(.9)
}

.vb2-st .r::before {
  content: "✓";
  font-family: var(--body);
  font-size: .7rem
}

.vb-stage.s6 .vb2-st .w {
  opacity: 0;
  transform: scale(.9)
}

.vb-stage.s6 .vb2-st .r {
  opacity: 1;
  transform: none
}

.vb2-caller {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .5s var(--ease)
}

.vb-stage.s1 .vb2-caller {
  opacity: 1;
  transform: none
}

.vb2-caller .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff
}

.vb2-caller b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  color: #fff
}

.vb2-caller small {
  display: block;
  margin-top: 1px;
  font-family: var(--mono);
  font-size: .66rem;
  color: #A9A3D2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.vb2-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 92px;
  height: 26px
}

.vb2-wave i {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: rgba(122, 108, 214, .55);
  transform-origin: center
}

.vb-stage.s1:not(.s3) .vb2-wave i {
  background: var(--amber);
  animation: vbeq .85s ease-in-out infinite;
  animation-delay: var(--d)
}

@keyframes vbeq {

  0%,
  100% {
    transform: scaleY(.35)
  }

  50% {
    transform: scaleY(1)
  }
}

.vb2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px
}

.vb2 .tile {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .45s ease, transform .55s var(--spring)
}

.vb2 .t-done {
  grid-column: 1 / -1
}

.vb-stage.s3 .t-intent,
.vb-stage.s4 .t-qual,
.vb-stage.s5 .t-done {
  opacity: 1;
  transform: none
}

.vb2 .tile p,
.vb2-next p {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4
}

.t-intent b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.3;
  color: #fff
}

.t-intent span {
  display: block;
  margin-top: 3px;
  font-size: .84rem;
  color: #C9C4E6
}

.t-qual ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px
}

.t-qual li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: #E1DDF5
}

.t-qual li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3);
  transition: background .3s, border-color .3s;
  transition-delay: calc(var(--i) * .25s + .3s)
}

.vb-stage.s4 .t-qual li::before {
  border-color: #7A6CD6;
  background: #7A6CD6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat
}

.t-done .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.t-done .chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: .8rem;
  color: #E1DDF5;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  opacity: 0;
  transform: scale(.9);
  transition: opacity .35s ease, transform .45s var(--spring);
  transition-delay: calc(var(--i) * .16s + .2s)
}

.t-done .chips span::before {
  content: "✓";
  color: var(--amber)
}

.vb-stage.s5 .t-done .chips span {
  opacity: 1;
  transform: none
}

.vb2-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(247, 136, 29, .08);
  border: 1px solid rgba(247, 136, 29, .45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .55s var(--ease), box-shadow .6s ease
}

.vb2-next p {
  color: var(--amber);
  margin-bottom: 3px
}

.vb2-next b {
  grid-column: 1;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff
}

.vb2-next .due {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap
}

.vb-stage.s6 .vb2-next {
  opacity: 1;
  transform: none;
  box-shadow: 0 18px 40px -20px rgba(247, 136, 29, .6)
}

/* ---- contact: ringing call button + checks ---- */
.vt-cta h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.1
}

.vt-cta .lede {
  margin-top: 1rem;
  color: #BDB7E2
}

.vt-cta-grid {
  align-items: center
}

.vt-dial {
  position: relative;
  width: 62px;
  height: 62px;
  margin-bottom: 1.5rem
}

.vt-dial i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 14px 30px -10px rgba(247, 136, 29, .75)
}

.vt-dial i svg {
  width: 25px;
  height: 25px;
  animation: vtwiggle2 2.8s ease-in-out infinite
}

@keyframes vtwiggle2 {

  0%,
  55%,
  100% {
    transform: rotate(0)
  }

  60%,
  70%,
  80% {
    transform: rotate(-14deg)
  }

  65%,
  75%,
  85% {
    transform: rotate(14deg)
  }
}

.vt-dial span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(247, 136, 29, .6);
  animation: vtring 2.8s ease-out infinite
}

.vt-dial span:nth-child(2) {
  animation-delay: .9s
}

.vt-dial span:nth-child(3) {
  animation-delay: 1.8s
}

.vt-checks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.vt-checks li {
  position: relative;
  padding-left: 30px;
  font-size: .98rem;
  line-height: 1.5;
  color: #E1DDF5
}

.vt-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(247, 136, 29, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB35C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  border: 1px solid rgba(247, 136, 29, .55)
}

@media (max-width:920px) {

  .vth-grid,
  .vb-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .vt-stage {
    max-width: 520px;
    margin: 0 auto
  }

  /* anatomy of a call: three steps per row; the rail only works on a single row */
  .vf-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px
  }

  .vf-rail {
    display: none
  }

  .vf-step {
    align-items: flex-start
  }

  .vm-top {
    flex-direction: column;
    align-items: flex-start
  }

  .vm-stage {
    display: grid;
    height: auto;
    min-height: 0
  }

  .vm-panel {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    grid-template-columns: 1fr;
    align-content: start
  }

  .va2 {
    grid-template-columns: 1fr
  }

  .va2-in .va2-link {
    margin-top: 24px
  }

  .va2-in .va2-st {
    margin-bottom: 6px
  }
}

@media (max-width:640px) {
  .vth-stats {
    flex-wrap: wrap;
    gap: 12px 0
  }

  .vth-stats li {
    flex: 1 1 33%;
    padding: 0 10px
  }

  .vf-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .vf-live {
    display: none
  }

  .vf-time {
    margin-left: auto
  }

  .va2-row b {
    white-space: normal;
    line-height: 1.25
  }

  /* tabs: share the full width and wrap their labels instead of running off the screen */
  .vm-seg {
    display: flex;
    width: 100%
  }

  .vm-seg button {
    flex: 1;
    padding: 8px 6px;
    font-size: .76rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center
  }

  /* live call card: larger type on phones (it scales with the card width) */
  .vt-call {
    height: 142cqw;
    padding: 4.4cqw;
    border-radius: 5cqw
  }

  .vt-top {
    font-size: 2.5cqw;
    gap: 2cqw
  }

  .vt-top .live,
  .vt-top .lang {
    padding: 1.1cqw 2.2cqw
  }

  .vt-top .live i {
    width: 1.8cqw;
    height: 1.8cqw
  }

  .vt-orb {
    width: 34cqw;
    margin: 5cqw 0 2cqw
  }

  .vt-now {
    height: 7cqw;
    gap: 2.6cqw
  }

  .vt-call .vt-now p {
    font-size: 2.5cqw;
    min-width: 32cqw
  }

  .vt-now p i {
    width: 2cqw;
    height: 2cqw
  }

  .vt-eq {
    height: 7cqw
  }

  .vt-intent {
    font-size: 2.4cqw;
    padding: 1.4cqw 2.8cqw;
    margin-top: 2.4cqw
  }

  .vt-log {
    gap: 2cqw;
    margin-top: 3cqw
  }

  .vt-msg {
    max-width: 88%;
    padding: 2.2cqw 3cqw;
    border-radius: 3.4cqw
  }

  .vt-msg b {
    font-size: 2.1cqw;
    margin-bottom: .8cqw
  }

  .vt-call .vt-msg p {
    font-size: 3.7cqw
  }

  .vt-call .vt-msg p[dir="rtl"] {
    font-size: 4cqw
  }

  .vt-call .vt-msg .tr {
    font-size: 3cqw
  }

  .vt-msg .tr::before {
    font-size: 2.1cqw
  }

  .vt-sysrow {
    gap: 1.6cqw
  }

  .vt-sys {
    font-size: 2.4cqw;
    padding: 1.3cqw 2.4cqw
  }

  .vt-ctrl {
    gap: 3.6cqw;
    margin-top: 3cqw;
    padding-top: 3cqw
  }

  .vt-ctrl span {
    width: 10cqw;
    height: 10cqw
  }

  .vt-ctrl svg {
    width: 4.4cqw;
    height: 4.4cqw
  }

  .vt-ctrl .end {
    width: 13cqw;
    height: 10cqw
  }

  .vq2-top {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .vq2-link {
    display: none
  }

  .vq2-route {
    margin-left: 0
  }

  .vq2-out {
    grid-template-columns: 1fr
  }

  .vb2 {
    padding: 16px
  }

  .vb2-grid {
    grid-template-columns: 1fr
  }

  .vb2-hand b {
    display: none
  }

  .vb2-wave {
    display: none
  }

  .vb2-caller {
    grid-template-columns: 42px minmax(0, 1fr)
  }
}

@media (prefers-reduced-motion:reduce) {

  .vt-orb .core,
  .vt-orb .body,
  .vt-orb .ring,
  .vt-eq i,
  .vt-dial i svg,
  .vt-dial span,
  .vth-kicker i {
    animation: none !important
  }

  .vm-panel *,
  .vm-panel *::before {
    animation: none !important
  }

  .vm-seg::before,
  .vm-seg::after {
    animation: none !important
  }

  .va2-tick>span {
    transform: translateY(-28px)
  }

  .va2-sum,
  .vq2-card,
  .vq2 .score,
  .vc-lines p,
  .vc-assist span {
    opacity: 1 !important;
    transform: none !important
  }

  .vf-box,
  .vf-dot,
  .vf-box code {
    transition: none !important
  }

  .vb2 *,
  .vb2 *::before {
    animation: none !important;
    transition: none !important
  }
}


/* =====================================================================
   MIND-CX PAGE — live wallboard (landing), visual IVR builder, softphone + supervisor
   modes, recording vault + AI quality review, contact
   ===================================================================== */
.cx-page h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500
}

.cx-head {
  max-width: 780px;
  margin-bottom: clamp(1.3rem, 3vh, 2.1rem)
}

.cx-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.08
}

.cx-head .lede {
  margin-top: .9rem;
  max-width: 62ch
}

.cx-sup h2 em,
.cx-cta h2 em {
  color: var(--orange)
}

@keyframes cxpop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.95)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes cxflow {
  to {
    stroke-dashoffset: -16
  }
}

/* ---- landing: copy + wallboard ---- */
.cxh {
  overflow: hidden
}

.cxh::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(48% 55% at 78% 50%, rgba(75, 63, 158, .5), transparent 70%)
}

.cxh::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 70% at 75% 50%, #000 20%, transparent 85%);
  mask-image: radial-gradient(60% 70% at 75% 50%, #000 20%, transparent 85%)
}

.cxh .wrap {
  position: relative;
  z-index: 1
}

.cxh-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

/* when the column is too narrow for one line, the two halves stack as full-width rows
   (flex-wrap + flex-grow) instead of each wrapping inside a squashed pill */
.cxh .cxh-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 0;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  line-height: 1;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase
}

.cxh-kicker span,
.cxh-kicker em {
  flex: 1 1 auto;
  white-space: nowrap
}

.cxh-kicker span {
  padding: 8px 12px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 500
}

.cxh-kicker em {
  padding: 8px 13px;
  font-style: normal;
  color: #D6D1F0;
  background: rgba(255, 255, 255, .04)
}

.cxh h1 {
  font-size: clamp(2.4rem, 4.1vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 700;
  color: #fff
}

.cxh h1 .nm {
  display: block;
  font-size: .44em;
  letter-spacing: -.01em;
  font-weight: 600;
  color: #C9C4E6;
  margin-bottom: .45em
}

.cxh h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.cxh .lede {
  margin-top: 1.2rem;
  max-width: 54ch
}

.cxh-cta {
  margin-top: 1.7rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.cxh-feats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.cxh-feats li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
  color: #E1DDF5
}

.cxh-feats i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 136, 29, .16);
  color: var(--amber)
}

.cxh-feats i svg {
  width: 13px;
  height: 13px
}

/* the agent screen keeps the same size against the copy on every screen and browser zoom:
   its width only follows the column (up to 540px), never the screen height. When the hero is
   too tall for a short screen, site.js zooms the whole section (copy and screen together). */
/* Same size on every desktop screen. site.js may zoom the whole hero down on short screens;
   dividing by that zoom (--fz, see the MindGuard inspector) keeps the demo at its real size
   instead of shrinking it with the copy. The height cap (screen height minus the hero's 126px of
   padding at 600px, plus a little room, divided by the demo's height/width ratio) only bites
   below ~645px high, where the full-size demo would not fit one screen. */
.cx-stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: calc(min(540px, calc((100svh - 140px) / .91)) / var(--fz, 1));
  margin-left: auto
}

/* agent screen: the browser softphone through one call. site.js sets is-idle / is-ring / is-live /
   is-wrap on .cx-agent (plus .accept just before the call connects, .saved in wrap-up) */
.cx-agent {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
  padding: 3.4cqw;
  border-radius: 4cqw;
  background: linear-gradient(180deg, rgba(30, 23, 80, .94), rgba(19, 15, 54, .97));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .07)
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 2cqw;
  white-space: nowrap
}

.ca-bar>b {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.9cqw;
  color: #fff
}

.ca-bar>b i {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.5cqw;
  color: var(--orange)
}

.ca-bar .who {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  font-size: 2.3cqw;
  color: #D6D1F0
}

.ca-bar .who .av {
  width: 5.4cqw;
  height: 5.4cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1.7cqw;
  background: linear-gradient(135deg, #B4ACE0, #4B3F9E);
  color: #fff
}

.ca-bar .st {
  --c: #3ED598;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 1cqw 2cqw;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 1.8cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  transition: color .3s, background .3s, border-color .3s
}

.ca-bar .st i {
  width: 1.5cqw;
  height: 1.5cqw;
  border-radius: 50%;
  background: var(--c)
}

.cx-agent.is-ring .ca-bar .st {
  --c: #FFB35C
}

.cx-agent.is-ring .ca-bar .st i {
  animation: biblink .8s step-end infinite
}

.cx-agent.is-live .ca-bar .st {
  --c: #F7881D
}

.cx-agent.is-wrap .ca-bar .st {
  --c: #B4ACE0
}

.ca-qs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6cqw
}

.ca-qs span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6cqw 2.2cqw;
  border-radius: 2cqw;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08)
}

.ca-qs b {
  font-size: 2.2cqw;
  font-weight: 500;
  color: #D6D1F0
}

.ca-qs em {
  min-width: 4cqw;
  padding: .3cqw 1.2cqw;
  border-radius: 999px;
  text-align: center;
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.9cqw;
  font-weight: 500;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .3s, color .3s
}

.ca-qs em.has {
  background: rgba(247, 136, 29, .2);
  color: var(--amber)
}

.ca-screen {
  position: relative;
  height: 52cqw;
  border-radius: 3cqw;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden
}

.ca-v {
  position: absolute;
  inset: 0;
  padding: 3.2cqw;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.4cqw) scale(.985);
  transition: opacity .2s ease, transform .3s var(--ease), visibility 0s linear .3s
}

.cx-agent.is-idle .v-idle,
.cx-agent.is-ring .v-ring,
.cx-agent.is-live .v-live,
.cx-agent.is-wrap .v-wrap {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .4s ease .24s, transform .55s var(--ease) .24s, visibility 0s
}

/* idle */
.v-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4cqw;
  text-align: center
}

.v-idle .ic {
  position: relative;
  width: 13cqw;
  height: 13cqw;
  margin-bottom: 1.4cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 213, 152, .12);
  color: #9BF2CB
}

.v-idle .ic svg {
  width: 5.6cqw;
  height: 5.6cqw
}

.v-idle .ic::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: .35cqw solid rgba(62, 213, 152, .5);
  animation: vtring 2.2s ease-out infinite
}

.v-idle b {
  font-size: 3.2cqw;
  font-weight: 600;
  color: #fff
}

.v-idle small {
  font-family: var(--mono);
  font-size: 1.9cqw;
  color: #8E86C4
}

/* incoming */
.v-ring {
  display: flex;
  flex-direction: column;
  gap: 2.2cqw
}

.rc-top {
  display: flex;
  align-items: center;
  gap: 2.6cqw
}

.rc-top .rav {
  position: relative;
  flex: none;
  width: 11cqw;
  height: 11cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--ink)
}

.rc-top .rav svg {
  width: 4.8cqw;
  height: 4.8cqw;
  animation: vtwiggle2 1.6s ease-in-out infinite
}

.rc-top .rav::before,
.rc-top .rav::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: .35cqw solid rgba(247, 136, 29, .6);
  animation: vtring 1.4s ease-out infinite
}

.rc-top .rav::after {
  animation-delay: .7s
}

.rc-top small {
  display: block;
  font-family: var(--mono);
  font-size: 1.9cqw;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber)
}

.rc-top .ca-num {
  display: block;
  margin-top: .4cqw;
  font-family: var(--display);
  font-size: 4.4cqw;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff
}

.rc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2cqw
}

.rc-tags span {
  padding: .9cqw 1.8cqw;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 1.85cqw;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #E1DDF5
}

.cx-agent .rc-hist {
  padding: 1.6cqw 2.2cqw;
  border-radius: 1.8cqw;
  border-left: .5cqw solid #7A6CD6;
  background: rgba(122, 108, 214, .1);
  font-size: 2.2cqw;
  color: #D6D1F0
}

.rc-btns {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.8cqw;
  margin-top: auto
}

.rc-btns span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 8cqw;
  border-radius: 999px;
  font-size: 2.5cqw;
  font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .3s, filter .2s
}

.rc-btns .no {
  border: 1px solid rgba(255, 255, 255, .18);
  color: #D6D1F0
}

.rc-btns .ok {
  background: #1FA36B;
  color: #fff;
  box-shadow: 0 1.6cqw 3.4cqw -1.6cqw rgba(31, 163, 107, .8)
}

.cx-agent.accept .rc-btns .ok {
  transform: scale(.95);
  filter: brightness(1.15);
  box-shadow: 0 0 0 1cqw rgba(31, 163, 107, .25)
}

/* live */
.v-live {
  display: flex;
  flex-direction: column;
  gap: 2.4cqw
}

.lc-top {
  display: grid;
  grid-template-columns: 9cqw minmax(0, 1fr) auto;
  gap: 2.4cqw;
  align-items: center
}

.lc-top .lav {
  width: 9cqw;
  height: 9cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 2.2cqw;
  background: linear-gradient(135deg, #7A6CD6, #5A4DA3);
  color: #fff
}

.lc-top .ca-num {
  display: block;
  font-size: 3.2cqw;
  font-weight: 600;
  color: #fff
}

.lc-top small {
  display: block;
  font-family: var(--mono);
  font-size: 1.9cqw;
  color: #A9A3D2
}

.lc-top .tm {
  font-family: var(--mono);
  font-size: 4.4cqw;
  font-weight: 500;
  color: var(--amber);
  font-variant-numeric: tabular-nums
}

.lc-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7cqw;
  height: 9cqw
}

.lc-wave i {
  width: .8cqw;
  height: 1cqw;
  border-radius: 1cqw;
  background: linear-gradient(180deg, var(--amber), var(--orange))
}

.cx-agent.is-live .lc-wave i {
  animation: caeq .9s ease-in-out infinite;
  animation-delay: var(--d)
}

@keyframes caeq {

  0%,
  100% {
    height: 1cqw;
    opacity: .55
  }

  50% {
    height: var(--h);
    opacity: 1
  }
}

.lc-rec {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  padding: .8cqw 1.8cqw;
  border-radius: 999px;
  background: rgba(247, 136, 29, .1);
  border: 1px solid rgba(247, 136, 29, .32);
  font-family: var(--mono);
  font-size: 1.75cqw;
  letter-spacing: .06em;
  color: #FFB35C
}

.lc-rec i {
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  background: #F7881D;
  animation: biblink 1.2s step-end infinite
}

.lc-ctl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4cqw;
  margin-top: auto
}

.lc-ctl span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9cqw;
  font-size: 0
}

.lc-ctl svg {
  box-sizing: content-box;
  width: 3.2cqw;
  height: 3.2cqw;
  padding: 2.2cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #E1DDF5
}

.lc-ctl em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.6cqw;
  color: #A9A3D2
}

.lc-ctl .end svg {
  background: #E5484D;
  border-color: #E5484D;
  color: #fff;
  transform: rotate(135deg)
}

/* wrap-up */
.v-wrap {
  display: flex;
  flex-direction: column;
  gap: 2cqw
}

.wr-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between
}

.wr-top b {
  font-size: 3.4cqw;
  font-weight: 600;
  color: #fff
}

.wr-top small {
  font-family: var(--mono);
  font-size: 1.9cqw;
  color: #A9A3D2
}

.cx-agent .v-wrap p {
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.wr-opts {
  display: grid;
  gap: 1.2cqw
}

.wr-opts span {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.8cqw 2.2cqw;
  border-radius: 1.8cqw;
  font-size: 2.3cqw;
  color: #D6D1F0;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .3s, border-color .3s, color .3s
}

.wr-opts span::before {
  content: "";
  flex: none;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  border: .35cqw solid rgba(255, 255, 255, .3);
  box-sizing: border-box;
  transition: border-color .3s, box-shadow .3s
}

.cx-agent.chosen .wr-opts .pick {
  background: rgba(247, 136, 29, .12);
  border-color: rgba(247, 136, 29, .5);
  color: #fff
}

.cx-agent.chosen .wr-opts .pick::before {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 .6cqw #1B1549, inset 0 0 0 2cqw var(--orange)
}

.wr-saved {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  margin-top: auto;
  padding: 1cqw 2cqw;
  border-radius: 999px;
  background: rgba(62, 213, 152, .12);
  border: 1px solid rgba(62, 213, 152, .4);
  font-family: var(--mono);
  font-size: 1.8cqw;
  color: #9BF2CB;
  opacity: 0;
  transform: translateY(1cqw);
  transition: opacity .35s, transform .45s var(--spring)
}

.wr-saved i {
  font-style: normal;
  color: #3ED598
}

.cx-agent.saved .wr-saved {
  opacity: 1;
  transform: none
}

.ca-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 2.4cqw;
  border-top: 1px solid rgba(255, 255, 255, .08)
}

.ca-foot span {
  padding: 0 2.4cqw;
  border-left: 1px solid rgba(255, 255, 255, .08)
}

.ca-foot span:first-child {
  padding-left: 0;
  border-left: 0
}

.ca-foot em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.6cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8E86C4;
  white-space: nowrap
}

.ca-foot b {
  display: block;
  margin-top: .4cqw;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.6cqw;
  color: #fff;
  font-variant-numeric: tabular-nums
}

/* ---- visual IVR builder: palette + canvas; a test call lights the path (site.js) ---- */
.ivr {
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(23, 19, 61, .45)
}

.ivr-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  color: var(--muted)
}

.ivr-bar .file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text)
}

.ivr-bar .file svg {
  width: 17px;
  height: 17px;
  color: var(--accent-ink)
}

.ivr-bar .ver {
  font-family: var(--mono);
  font-size: .68rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(75, 63, 158, .1);
  color: var(--indigo-2)
}

.ivr-bar .status {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .7rem;
  color: #7A73AE
}

.ivr-bar .b-test {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  transition: background .3s, border-color .3s, color .3s
}

.ivr-bar .b-test svg {
  width: 11px;
  height: 11px
}

.ivr.run .ivr-bar .b-test {
  background: rgba(247, 136, 29, .12);
  border-color: rgba(247, 136, 29, .55);
  color: var(--accent-ink)
}

.ivr-bar .b-pub {
  display: grid;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  transition: background .3s
}

.ivr-bar .b-pub s {
  grid-area: 1 / 1;
  text-decoration: none;
  text-align: center;
  transition: opacity .3s, transform .35s var(--ease)
}

.ivr-bar .b-pub s:last-child {
  opacity: 0;
  transform: translateY(6px)
}

.ivr.pub .ivr-bar .b-pub {
  background: #1FA36B
}

.ivr.pub .ivr-bar .b-pub s:first-child {
  opacity: 0;
  transform: translateY(-6px)
}

.ivr.pub .ivr-bar .b-pub s:last-child {
  opacity: 1;
  transform: none
}

.ivr-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr)
}

.ivr-pal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: rgba(75, 63, 158, .03)
}

.cx-ivr .ivr-pal p {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7A73AE
}

.ivr-pal .pk {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed var(--line-2);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, .4)
}

.ivr-pal .pk i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--tc)
}

.t-msg {
  --tc: #7A6CD6
}

.t-menu {
  --tc: #F7881D
}

.t-hours {
  --tc: #1FA36B
}

.t-queue {
  --tc: #4B3F9E
}

.t-vm {
  --tc: #7A73AE
}

.t-start {
  --tc: #1FA36B
}

.ivr-scroll {
  position: relative;
  min-width: 0
}

.ivr-cv {
  position: relative;
  height: 330px;
  background: radial-gradient(rgba(75, 63, 158, .18) 1px, transparent 1.2px) 0 0 / 18px 18px
}

.ivr-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible
}

.ivr-edges path {
  fill: none;
  stroke: #A6A1C8;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: stroke .3s
}

.ivr.built .ivr-edges path {
  animation: cxfade .5s ease forwards
}

.ivr.built .ivr-edges path:nth-child(n+3) {
  animation-delay: .35s
}

.ivr.built .ivr-edges path:nth-child(n+6) {
  animation-delay: .6s
}

@keyframes cxfade {
  to {
    opacity: 1
  }
}

.ivr-edges path.hot {
  stroke: var(--orange);
  stroke-width: 2.6;
  stroke-dasharray: 6 4;
  animation: cxfade .01s forwards, cxflow .6s linear infinite !important
}

.nd {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  transform: translate(-50%, -50%) scale(.9);
  width: 15%;
  min-width: 118px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px -16px rgba(23, 19, 61, .5);
  opacity: 0;
  transition: border-color .3s, box-shadow .3s, transform .4s var(--spring)
}

.ivr.built .nd {
  animation: cxndin .45s var(--spring) forwards
}

.ivr.built .nd[data-n="greet"] {
  animation-delay: .08s
}

.ivr.built .nd[data-n="menu"] {
  animation-delay: .16s
}

.ivr.built .nd[data-n="hours"],
.ivr.built .nd[data-n="support"],
.ivr.built .nd[data-n="billing"] {
  animation-delay: .28s
}

.ivr.built .nd[data-n="sales"],
.ivr.built .nd[data-n="vm"],
.ivr.built .nd[data-n="cb"],
.ivr.built .nd[data-n="pay"] {
  animation-delay: .42s
}

@keyframes cxndin {
  to {
    opacity: 1;
    transform: translate(-50%, -50%)
  }
}

.nd>i {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tc);
  color: #fff
}

.nd>i svg {
  width: 14px;
  height: 14px
}

.nd>span {
  min-width: 0
}

.nd b {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.nd em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: .58rem;
  color: #7A73AE;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.nd.t-start {
  width: auto;
  min-width: 0;
  padding: 5px;
  border-radius: 50%
}

.nd.t-start>i {
  width: 30px;
  height: 30px;
  border-radius: 50%
}

.nd.hot {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(247, 136, 29, .16), 0 14px 26px -14px rgba(247, 136, 29, .6);
  transform: translate(-50%, -50%) scale(1.04)
}

.nd .key {
  position: absolute;
  right: -10px;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 600;
  background: var(--ink);
  color: var(--amber);
  box-shadow: 0 8px 16px -8px rgba(18, 14, 52, .7);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s, transform .35s var(--spring)
}

.ivr.key .nd .key {
  opacity: 1;
  transform: none
}

.ivr-cv .el {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  transform: translate(-50%, -50%);
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  text-align: center;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 600;
  background: #F7F6FB;
  border: 1px solid var(--line-2);
  color: var(--indigo-2);
  opacity: 0;
  transition: opacity .4s ease .7s
}

.ivr.built .el {
  opacity: 1
}

.ivr-cv .el.w {
  font-weight: 500;
  color: #7A73AE
}

.ivr-toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
  white-space: nowrap;
  box-shadow: 0 18px 34px -16px rgba(18, 14, 52, .7);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .35s, transform .45s var(--spring)
}

.ivr-toast i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: .66rem;
  background: #1FA36B
}

.ivr-toast b {
  color: var(--amber);
  font-weight: 600
}

.ivr.done .ivr-toast {
  opacity: 1;
  transform: translate(-50%, 0)
}

/* ---- softphone + supervisor: who hears whom, per mode (data-m 0 listen / 1 whisper / 2 barge) ---- */
.sup-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.sup-modes {
  display: grid;
  gap: 8px
}

.sup-mode {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px 17px;
  border-radius: 16px;
  text-align: left;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  transition: background .35s, border-color .35s
}

.sup-mode i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .07);
  color: #C9C4E6;
  transition: background .35s, color .35s
}

.sup-mode i svg {
  width: 19px;
  height: 19px
}

.sup-mode span {
  font-size: .88rem;
  line-height: 1.45;
  color: #A9A3D2
}

.sup-mode b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff
}

/* progress while a mode is shown: a slim rounded line under the text, on a faint track */
.sup-mode::before,
.sup-mode::after {
  content: "";
  position: absolute;
  left: 70px;
  right: 18px;
  bottom: 8px;
  height: 3px;
  border-radius: 3px;
  pointer-events: none
}

.sup-mode::before {
  background: rgba(255, 255, 255, .08);
  opacity: 0;
  transition: opacity .3s
}

.sup-mode::after {
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left
}

.sup-mode[aria-selected="true"]::before {
  opacity: 1
}

.sup-mode:hover {
  background: rgba(255, 255, 255, .06)
}

.sup-mode[aria-selected="true"] {
  background: rgba(247, 136, 29, .09);
  border-color: rgba(247, 136, 29, .45)
}

.sup-mode[aria-selected="true"] i {
  background: var(--orange);
  color: var(--ink)
}

.sup-run .sup-mode[aria-selected="true"]::after {
  animation: vtprog var(--dwell, 3400ms) linear forwards
}

/* supervisor console: live call cards, a "who hears whom" stage for the selected call, the mode
   switch and a status line. site.js sets data-m on .sup-panel (0 listen / 1 whisper / 2 barge),
   moves .sel between the call cards, writes the texts and draws the stage lines.
   Sizes follow the panel's own width (container queries), so it adapts in the grid and on phones. */
.sup-panel {
  position: relative;
  container: svpanel / inline-size;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background: #18123F;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 50px 100px -45px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06)
}

/* header */
.sv-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.sv-hd>b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  white-space: nowrap
}

.sv-hd em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: .68rem;
  color: #A9A3D2;
  white-space: nowrap
}

.sv-hd em span {
  color: #fff
}

.sv-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3ED598;
  background: rgba(62, 213, 152, .1);
  border: 1px solid rgba(62, 213, 152, .35)
}

.sv-live i {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.sv-live i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: svping 1.8s ease-out infinite
}

@keyframes svping {
  to {
    transform: scale(3.2);
    opacity: 0
  }
}

/* live call cards */
.sv-calls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 18px 4px
}

.sv-call {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  padding: 10px 11px;
  border-radius: 14px;
  text-align: left;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: background .3s, border-color .3s, box-shadow .3s, transform .35s var(--ease)
}

.sv-call:hover {
  background: rgba(255, 255, 255, .065);
  transform: translateY(-2px)
}

.sup-panel.in .sv-call {
  animation: cxpop .55s var(--ease) backwards;
  animation-delay: calc(.3s + var(--i, 0) * .07s)
}

.sv-call .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px
}

.sv-call .av {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-family: var(--mono);
  font-size: .58rem;
  background: #2E2670;
  color: #C9C4E6;
  transition: background .3s, color .3s
}

.sv-call .eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px
}

.sv-call .eq i {
  width: 2.5px;
  height: 100%;
  border-radius: 2px;
  background: #5A4FB0;
  transform-origin: bottom;
  transform: scaleY(.3);
  animation: sveq 1.1s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -.37s);
  transition: background .3s
}

/* each card's bars are offset by its --i, so no two cards move together */
.sv-call .eq i:nth-child(2) {
  animation-delay: calc(var(--i, 0) * -.37s - .35s);
  animation-duration: .9s
}

.sv-call .eq i:nth-child(3) {
  animation-delay: calc(var(--i, 0) * -.37s - .7s);
  animation-duration: 1.25s
}

.sv-call .eq i:nth-child(4) {
  animation-delay: calc(var(--i, 0) * -.37s - .2s);
  animation-duration: 1s
}

@keyframes sveq {

  0%,
  100% {
    transform: scaleY(.3)
  }

  50% {
    transform: scaleY(1)
  }
}

.sv-call b {
  font-size: .82rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sv-call small {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: .68rem;
  color: #8E86C4;
  white-space: nowrap
}

.sv-call .tm {
  font-family: var(--mono);
  color: #C9C4E6;
  font-variant-numeric: tabular-nums
}

.sv-call.sel {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(247, 136, 29, .55)
}

.sv-call.sel .av {
  background: var(--orange);
  color: var(--ink)
}

.sv-call.sel .eq i {
  background: var(--orange)
}

.sv-call.sel .tm {
  color: #fff
}

/* stage: the selected call as three nodes. Lines (drawn by site.js) run behind the nodes;
   packets show the audio: lilac ones come to you, orange ones go out from you. */
.sv-stage {
  position: relative;
  height: 290px;
  margin: 10px 18px 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(8, 6, 30, .32);
  border: 1px solid rgba(255, 255, 255, .06)
}

.sv-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none
}

/* a faint dot grid, fading out at the edges */
.sv-stage::before {
  inset: 0;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .1) 1px, transparent 1.6px) 0 0 / 16px 16px;
  -webkit-mask: radial-gradient(75% 75% at 50% 50%, #000 30%, transparent);
  mask: radial-gradient(75% 75% at 50% 50%, #000 30%, transparent)
}

.sv-net {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transition: opacity .8s .4s
}

.sup-panel.in .sv-net.on {
  opacity: 1
}

.sv-net .ln {
  fill: none;
  stroke: rgba(255, 255, 255, .1);
  stroke-width: 1.6;
  transition: stroke .5s
}

.sv-net .ln.call {
  stroke: rgba(180, 172, 224, .3);
  stroke-dasharray: 2 5;
  stroke-linecap: round
}

.sup-panel:not([data-m="0"]) .ln.la,
.sup-panel[data-m="2"] .ln.lc {
  stroke: rgba(247, 136, 29, .6)
}

.sv-net .pk {
  transition: opacity .45s
}

.pk-call circle {
  fill: #D6D1F0
}

.pk-in circle {
  fill: #9C94D6
}

.pk-out circle {
  fill: var(--orange)
}

.pk-out,
.sup-panel:not([data-m="0"]) .pk-a-in,
.sup-panel[data-m="2"] .pk-c-in {
  opacity: 0
}

.sup-panel:not([data-m="0"]) .pk-a-out,
.sup-panel[data-m="2"] .pk-c-out {
  opacity: 1
}

/* nodes */
.sv-node {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border-radius: 16px;
  white-space: nowrap;
  background: #1C1650;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .9);
  transition: border-color .45s, box-shadow .45s
}

.n-ag {
  --x: 20%;
  --y: 24%
}

.n-cu {
  --x: 80%;
  --y: 24%
}

.n-you {
  --x: 50%;
  --y: 76%
}

.sup-panel.in .sv-node {
  animation: svnode .6s var(--ease) backwards
}

.sup-panel.in .n-ag {
  animation-delay: .35s
}

.sup-panel.in .n-cu {
  animation-delay: .45s
}

.sup-panel.in .n-you {
  animation-delay: .55s
}

@keyframes svnode {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.88)
  }
}

/* the side(s) that can hear you light up */
.sup-panel:not([data-m="0"]) .n-ag,
.sup-panel:not([data-m="0"]) .n-you,
.sup-panel[data-m="2"] .n-cu {
  border-color: rgba(247, 136, 29, .5)
}

.sv-node .av {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .66rem;
  background: #5A4FB0;
  color: #fff
}

.sv-node .av>svg {
  width: 18px;
  height: 18px
}

.n-cu .av {
  background: #2E2670;
  color: #C9C4E6
}

.n-you .av {
  background: var(--orange);
  color: var(--ink)
}

.sv-node .av::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .4s, transform .45s var(--ease)
}

.sup-panel:not([data-m="0"]) .n-ag .av::after,
.sup-panel:not([data-m="0"]) .n-you .av::after,
.sup-panel[data-m="2"] .n-cu .av::after {
  opacity: 1;
  transform: none;
  animation: svring 1.6s ease-out infinite
}

@keyframes svring {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 136, 29, .55)
  }

  100% {
    box-shadow: 0 0 0 12px rgba(247, 136, 29, 0)
  }
}

/* mic badge on "you": slashed and grey while listening, live green otherwise */
.n-you .mic {
  position: absolute;
  z-index: 1;
  right: -5px;
  bottom: -5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3A3180;
  border: 2px solid #1C1650;
  color: #C9C4E6;
  transition: background .35s, color .35s
}

.n-you .mic svg {
  width: 10px;
  height: 10px
}

.n-you .mic .sl {
  transition: opacity .3s
}

.sup-panel:not([data-m="0"]) .n-you .mic {
  background: #3ED598;
  color: var(--ink)
}

.sup-panel:not([data-m="0"]) .n-you .mic .sl {
  opacity: 0
}

.sv-node .tx {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  line-height: 1.15
}

.sv-node .tx b {
  font-size: .86rem;
  font-weight: 500;
  color: #fff
}

.n-cu .tx b {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 400
}

.sv-stage.swap .n-ag .tx,
.sv-stage.swap .n-cu .tx,
.sv-stage.swap .n-ag .av {
  animation: vtin .4s var(--ease) both
}

/* "hears you" pills */
.sv-node .hp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  font-style: normal;
  font-family: var(--mono);
  font-size: .6rem;
  color: #8E86C4;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: color .35s, background .35s, border-color .35s
}

.sv-node .hp::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7
}

.sv-node .hp.on {
  color: var(--orange);
  background: rgba(247, 136, 29, .1);
  border-color: rgba(247, 136, 29, .35)
}

.sv-node .hp.on::before {
  opacity: 1
}

/* call timer, sitting on the agent-customer line */
.sv-clock {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 24%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: #16113F;
  border: 1px solid rgba(255, 255, 255, .1)
}

.sv-clock i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ED598;
  box-shadow: 0 0 0 3px rgba(62, 213, 152, .18)
}

.sv-clock em {
  font-style: normal;
  color: #8E86C4
}

.sv-clock em::before {
  content: "· "
}

/* mode switch: a sliding thumb under the active button */
.sv-ctl {
  padding: 14px 18px 0
}

.sv-seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .08)
}

.sv-seg::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 10px;
  background: var(--orange);
  transition: transform .55s var(--spring)
}

.sup-panel[data-m="1"] .sv-seg::before {
  transform: translateX(100%)
}

.sup-panel[data-m="2"] .sv-seg::before {
  transform: translateX(200%)
}

.sv-seg button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 9px 6px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 500;
  color: #A9A3D2;
  transition: color .3s
}

.sv-seg button svg {
  flex: none;
  width: 15px;
  height: 15px
}

.sv-seg button:hover {
  color: #fff
}

.sup-panel[data-m="0"] .sv-seg button:nth-child(1),
.sup-panel[data-m="1"] .sv-seg button:nth-child(2),
.sup-panel[data-m="2"] .sv-seg button:nth-child(3) {
  color: var(--ink)
}

/* status: your mic level and what the mode means */
.sv-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 18px
}

.sv-status .lvl {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px
}

.sv-status .lvl i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: #4A3F9E;
  transform: scaleY(.25);
  transition: background .3s
}

.sup-panel:not([data-m="0"]) .sv-status .lvl i {
  background: var(--orange);
  animation: svlvl .8s ease-in-out infinite
}

.sv-status .lvl i:nth-child(2) {
  animation-delay: .12s
}

.sv-status .lvl i:nth-child(3) {
  animation-delay: .24s
}

.sv-status .lvl i:nth-child(4) {
  animation-delay: .36s
}

.sv-status .lvl i:nth-child(5) {
  animation-delay: .48s
}

@keyframes svlvl {

  0%,
  100% {
    transform: scaleY(.25)
  }

  50% {
    transform: scaleY(1)
  }
}

.cx-sup .sv-status p {
  font-size: .9rem;
  line-height: 1.4;
  color: #fff;
  animation: vtin .35s var(--ease) both
}

/* narrower panels (the grid between 920px and ~1300px, tablets, phones): call cards scroll
   sideways, the stage gets taller and its nodes stack avatar over text */
@container svpanel (max-width: 560px) {

  .sv-hd,
  .sv-ctl {
    padding-left: 14px;
    padding-right: 14px
  }

  .sv-calls {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
    padding: 12px 14px 6px;
    -webkit-mask: linear-gradient(90deg, #000 82%, transparent);
    mask: linear-gradient(90deg, #000 82%, transparent)
  }

  .sv-calls::-webkit-scrollbar {
    display: none
  }

  .sv-call {
    flex: 0 0 116px;
    scroll-snap-align: start
  }

  .sv-call:hover {
    transform: none
  }

  .sv-stage {
    height: 340px;
    margin: 8px 14px 0
  }

  .sv-node {
    flex-direction: column;
    gap: 8px;
    width: min(136px, 40cqw);
    padding: 12px 8px;
    text-align: center
  }

  .sv-node .tx {
    align-items: center;
    max-width: 100%
  }

  .n-ag {
    --x: max(21%, calc(min(136px, 40cqw) / 2 + 6px));
    --y: 31%
  }

  .n-cu {
    --x: min(79%, calc(100% - min(136px, 40cqw) / 2 - 6px));
    --y: 31%
  }

  .n-you {
    --y: 79%;
    width: auto;
    padding: 12px 16px
  }

  .sv-clock {
    top: 26px
  }

  .sv-clock em {
    display: none
  }

  .sv-status {
    padding: 14px 14px 16px
  }

  .cx-sup .sv-status p {
    font-size: .86rem
  }
}

@container svpanel (max-width: 360px) {
  .sv-hd em {
    display: none
  }

  .sv-seg button {
    font-size: .8rem;
    gap: 5px
  }

  .sv-seg button svg {
    width: 13px;
    height: 13px
  }

  .sv-node .tx b {
    font-size: .8rem
  }

  .n-cu .tx b {
    font-size: .66rem
  }

  .sv-node .hp {
    font-size: .56rem;
    padding: 2px 6px 2px 5px
  }
}

@media (prefers-reduced-motion: reduce) {

  .sv-live i::after,
  .sv-call .eq i,
  .sv-node .av::after,
  .sv-status .lvl i,
  .sup-panel.in .sv-call,
  .sup-panel.in .sv-node,
  .sv-stage.swap .tx,
  .sv-stage.swap .av {
    animation: none !important
  }

  .sv-call .eq i {
    transform: scaleY(.6)
  }

  .sv-net .pk {
    display: none
  }
}

/* ---- recording vault + AI quality: the review replays (site.js toggles .play) ---- */
.qa-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center
}

.qa-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px
}

.qa-points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: start
}

.qa-points i {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--accent-ink)
}

.qa-points i svg {
  width: 19px;
  height: 19px
}

.qa-points b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-top: 1px
}

.tint .qa-points p {
  margin-top: 2px;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--muted)
}

.qa-card {
  padding: 20px 22px;
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(60% 50% at 100% 0%, rgba(247, 136, 29, .15), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(75, 63, 158, .45), transparent 70%), linear-gradient(180deg, #1E1750, #130F36);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 80px -40px rgba(18, 14, 52, .7)
}

.qa-hd {
  display: flex;
  align-items: center;
  gap: 12px
}

.qa-hd .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 136, 29, .14);
  color: #F7881D
}

.qa-hd .ic svg {
  width: 19px;
  height: 19px
}

.qa-hd b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff
}

.qa-hd small {
  display: block;
  font-family: var(--mono);
  font-size: .64rem;
  color: #A9A3D2
}

.qa-ring {
  position: relative;
  margin-left: auto;
  flex: none;
  width: 62px;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.qa-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg)
}

.qa-ring circle {
  fill: none;
  stroke-width: 3.4
}

.qa-ring .bg {
  stroke: rgba(255, 255, 255, .1)
}

.qa-ring .fg {
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.2s var(--ease)
}

.qa-card.scored .qa-ring .fg {
  stroke-dasharray: 90 100
}

.qa-ring b {
  position: relative;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums
}

.qa-ring small {
  position: relative;
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .14em;
  color: #A9A3D2
}

.qa-wave {
  position: relative;
  height: 76px;
  margin-top: 16px;
  padding-top: 22px
}

.qa-wave .bars {
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 2px
}

.qa-wave .bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: rgba(255, 255, 255, .16)
}

.qa-wave .bars.on {
  clip-path: inset(0 100% 0 0)
}

.qa-wave .bars.on i {
  background: linear-gradient(180deg, var(--amber), var(--orange))
}

.qa-wave .ph {
  position: absolute;
  top: 18px;
  bottom: -4px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: #fff;
  opacity: 0
}

.qa-card.play .qa-wave .bars.on {
  animation: qaclip 4.2s linear forwards
}

.qa-card.play .qa-wave .ph {
  animation: qaph 4.2s linear forwards
}

@keyframes qaclip {
  to {
    clip-path: inset(0 0 0 0)
  }
}

@keyframes qaph {
  0% {
    left: 0;
    opacity: 1
  }

  98% {
    opacity: 1
  }

  100% {
    left: 100%;
    opacity: 0
  }
}

.qa-wave .mk {
  position: absolute;
  top: 0;
  left: calc(var(--x) * 1%);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .58rem;
  background: rgba(62, 213, 152, .14);
  border: 1px solid rgba(62, 213, 152, .4);
  color: #9BF2CB;
  opacity: 0
}

.qa-wave .mk i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3ED598
}

.qa-wave .mk::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 58px;
  background: rgba(62, 213, 152, .35)
}

.qa-wave .mk.warn {
  background: rgba(247, 136, 29, .15);
  border-color: rgba(247, 136, 29, .45);
  color: var(--amber)
}

.qa-wave .mk.warn i {
  background: var(--orange)
}

.qa-wave .mk.warn::after {
  background: rgba(247, 136, 29, .4)
}

.qa-card.play .qa-wave .mk {
  animation: cxpop .35s var(--spring) forwards;
  animation-delay: calc(var(--x) * 42ms)
}

.qa-rows {
  display: grid;
  gap: 8px;
  margin-top: 16px
}

.qa-rows p {
  display: grid;
  grid-template-columns: 96px 1fr 30px;
  gap: 12px;
  align-items: center;
  font-size: .84rem;
  color: #D6D1F0
}

.qa-rows i {
  position: relative;
  height: 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden
}

.qa-rows i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--v);
  border-radius: 5px;
  background: linear-gradient(90deg, #4B3F9E, #7A6CD6);
  transform: scaleX(0);
  transform-origin: left
}

.qa-rows p.warn i::after {
  background: linear-gradient(90deg, var(--orange), var(--amber))
}

.qa-rows b {
  text-align: right;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .76rem;
  color: #fff
}

.qa-card.scored .qa-rows i::after {
  animation: bigrowx .7s var(--ease) forwards;
  animation-delay: calc(var(--i) * .1s)
}

.qa-card .qa-ai {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  font-size: .84rem;
  line-height: 1.5;
  color: #E1DDF5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease .5s, transform .5s var(--ease) .5s
}

.qa-card .qa-ai b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber)
}

.qa-card.scored .qa-ai {
  opacity: 1;
  transform: none
}

@keyframes bigrowx {
  to {
    transform: scaleX(1)
  }
}

/* ---- contact: channel status + checks ---- */
.cx-cta h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.1
}

.cx-cta .lede {
  margin-top: 1rem;
  color: #BDB7E2
}

.cx-cta-grid {
  align-items: center
}

.cx-chan {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem
}

.cx-chan span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, .22);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9C4E6
}

.cx-chan span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber)
}

.cx-chan span.on {
  border-style: solid;
  border-color: rgba(62, 213, 152, .45);
  background: rgba(62, 213, 152, .1);
  color: #9BF2CB
}

.cx-chan span.on i {
  background: #3ED598;
  animation: vtlive 1.6s ease-out infinite
}

.cx-checks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.cx-checks li {
  position: relative;
  padding-left: 30px;
  font-size: .98rem;
  line-height: 1.5;
  color: #E1DDF5
}

.cx-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid rgba(247, 136, 29, .55);
  background: rgba(247, 136, 29, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB35C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat
}

@media (max-width:920px) {

  .cxh-grid,
  .sup-grid,
  .qa-grid {
    grid-template-columns: 1fr
  }

  .cx-stage {
    max-width: 580px;
    margin: 0 auto
  }

  .ivr-body {
    grid-template-columns: 1fr
  }

  .ivr-pal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .cx-ivr .ivr-pal p {
    margin: 0 6px 0 0
  }

  .ivr-scroll {
    overflow-x: auto
  }

  .ivr-cv {
    min-width: 720px
  }

  .ivr-scroll {
    scroll-behavior: smooth
  }
}

@media (max-width:640px) {
  .ivr-bar {
    flex-wrap: wrap
  }

  .ivr-bar .status {
    margin-left: 0
  }

  .qa-points {
    grid-template-columns: 1fr
  }

  .qa-rows p {
    grid-template-columns: 84px 1fr 28px
  }
}

@media (prefers-reduced-motion:reduce) {

  .cx-agent *,
  .cx-agent *::before,
  .cx-agent *::after {
    animation: none !important
  }

  .ca-v {
    transition: none !important
  }

  .ivr .nd,
  .ivr .ivr-edges path {
    animation: none !important;
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important
  }

  .ivr .ivr-edges path {
    transform: none !important
  }

  .ivr .el {
    opacity: 1
  }

  .sv-status .lvl i {
    animation: none !important
  }

  .qa-wave .bars.on {
    clip-path: none !important;
    animation: none !important
  }

  .qa-wave .mk {
    opacity: 1 !important;
    animation: none !important
  }

  .qa-rows i::after {
    transform: none !important;
    animation: none !important
  }
}

/* phones: the agent screen gets larger type; the IVR canvas scrolls (with a hint);
   bigger supervisor labels; QA flags staggered on two rows */
.ivr-hint {
  display: none
}

@media (max-width:920px) {
  .ivr-hint {
    display: block;
    margin: 0;
    padding: 8px 14px 0;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .06em;
    color: #7A73AE
  }
}

@media (max-width:640px) {
  .cx-agent {
    gap: 3.4cqw;
    padding: 4.4cqw;
    border-radius: 5cqw
  }

  .ca-bar>b {
    font-size: 3.8cqw
  }

  .ca-bar>b i {
    font-size: 4.6cqw
  }

  .ca-bar .who {
    font-size: 3cqw
  }

  .ca-bar .who .av {
    width: 7cqw;
    height: 7cqw;
    font-size: 2.2cqw
  }

  .ca-bar .st {
    font-size: 2.4cqw;
    padding: 1.3cqw 2.6cqw
  }

  .ca-bar .st i {
    width: 2cqw;
    height: 2cqw
  }

  .ca-qs span {
    padding: 2.2cqw 2.8cqw
  }

  .ca-qs b {
    font-size: 2.9cqw
  }

  .ca-qs em {
    font-size: 2.6cqw;
    min-width: 5cqw
  }

  .ca-screen {
    height: 98cqw
  }

  .ca-v {
    padding: 4cqw
  }

  .v-idle .ic {
    width: 17cqw;
    height: 17cqw
  }

  .v-idle .ic svg {
    width: 7cqw;
    height: 7cqw
  }

  .v-idle b {
    font-size: 4.2cqw
  }

  .v-idle small {
    font-size: 2.6cqw
  }

  .rc-top .rav {
    width: 14cqw;
    height: 14cqw
  }

  .rc-top .rav svg {
    width: 6cqw;
    height: 6cqw
  }

  .rc-top small {
    font-size: 2.5cqw
  }

  .rc-top .ca-num {
    font-size: 5.6cqw
  }

  .rc-tags span {
    font-size: 2.6cqw;
    padding: 1.2cqw 2.4cqw
  }

  .cx-agent .rc-hist {
    font-size: 3cqw;
    padding: 2.2cqw 2.8cqw
  }

  .rc-btns span {
    height: 11cqw;
    font-size: 3.4cqw
  }

  .lc-top {
    grid-template-columns: 12cqw minmax(0, 1fr) auto
  }

  .lc-top .lav {
    width: 12cqw;
    height: 12cqw;
    font-size: 2.8cqw
  }

  .lc-top .ca-num {
    font-size: 4.2cqw
  }

  .lc-top small {
    font-size: 2.6cqw
  }

  .lc-top .tm {
    font-size: 5.4cqw
  }

  .lc-wave {
    height: 12cqw
  }

  .lc-rec {
    font-size: 2.4cqw;
    padding: 1.2cqw 2.4cqw
  }

  .lc-ctl svg {
    width: 4.4cqw;
    height: 4.4cqw;
    padding: 3cqw
  }

  .lc-ctl em {
    font-size: 2.2cqw
  }

  .wr-top b {
    font-size: 4.4cqw
  }

  .wr-top small {
    font-size: 2.6cqw
  }

  .cx-agent .v-wrap p {
    font-size: 2.3cqw
  }

  .wr-opts span {
    font-size: 3cqw;
    padding: 2.4cqw 2.8cqw
  }

  .wr-opts span::before {
    width: 3.4cqw;
    height: 3.4cqw
  }

  .wr-saved {
    font-size: 2.5cqw;
    padding: 1.4cqw 2.6cqw
  }

  .ca-foot em {
    font-size: 2.2cqw
  }

  .ca-foot b {
    font-size: 5cqw
  }

  .ivr-pal {
    display: none
  }

  .ivr-bar .file {
    flex: 1 1 100%
  }

  .ivr-bar .ver,
  .ivr-bar .status {
    display: none
  }

  .qa-wave {
    height: 98px;
    padding-top: 44px
  }

  .qa-wave .bars {
    top: 44px
  }

  .qa-wave .mk:nth-child(odd) {
    top: 22px
  }

  .qa-wave .mk:nth-child(even) {
    top: 0
  }

  .qa-wave .mk::after {
    height: 76px
  }

  .qa-wave .mk:nth-child(odd)::after {
    height: 54px
  }

  .qa-wave .mk:last-child {
    transform: translateX(-78%)
  }

  .qa-wave .mk:nth-child(4) {
    transform: translateX(-22%)
  }
}

/* =====================================================================
   MIND-GUARD PAGE — prompt inspector (landing), detection scan, policy rollout,
   what people see (allow / warn / block), contact
   ===================================================================== */
.gd-page {
  --gsec: #F7881D;
  --gpd: #F7881D;
  --gconf: #F7881D
}

.gd-page h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500
}

.gd-head {
  max-width: 780px;
  margin-bottom: clamp(1.3rem, 3vh, 2.1rem)
}

.gd-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.08
}

.gd-head .lede {
  margin-top: .9rem;
  max-width: 62ch
}

.gd-roll h2 em,
.gd-cta h2 em {
  color: var(--orange)
}

@keyframes gdpop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.96)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes gdshake {

  0%,
  100% {
    transform: none
  }

  20% {
    transform: translateX(-5px)
  }

  40% {
    transform: translateX(5px)
  }

  60% {
    transform: translateX(-3px)
  }

  80% {
    transform: translateX(3px)
  }
}

/* ---- landing: copy + prompt inspector ---- */
.gdh {
  overflow: hidden
}

.gdh::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(45% 55% at 78% 50%, rgba(75, 63, 158, .48), transparent 70%)
}

.gdh::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 6px);
  -webkit-mask-image: radial-gradient(55% 70% at 76% 50%, #000 10%, transparent 80%);
  mask-image: radial-gradient(55% 70% at 76% 50%, #000 10%, transparent 80%)
}

.gdh .wrap {
  position: relative;
  z-index: 1
}

.gdh-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.gdh .gdh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 1.4rem;
  padding: 8px 15px 8px 11px;
  border-radius: 999px;
  line-height: 1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #D6D1F0
}

.gdh-kicker svg {
  width: 15px;
  height: 15px;
  color: var(--amber)
}

/* the h1 is the search line ("MindGuard: AI data loss prevention for ..."), set small above the
   big display line, which is a styled <p> (.gdh-disp) */
.gdh h1 {
  max-width: 34em;
  font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  line-height: 1.38;
  letter-spacing: -.005em;
  font-weight: 500;
  color: #C9C4E6
}

.gdh h1 .nm {
  font-weight: 700;
  color: #fff
}

.gdh .gdh-disp {
  margin-top: .45em;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.3vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 700;
  color: #fff
}

.gdh .gdh-disp em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange)
}

.gdh .gdh-fn {
  margin-top: .7rem;
  max-width: 52ch;
  font-size: .8rem;
  line-height: 1.45;
  color: #A9A3D2
}

.gdh .lede {
  margin-top: 1.2rem;
  max-width: 52ch
}

.gdh-cta {
  margin-top: 1.7rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.gdh-facts {
  margin: 2.1rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-d);
  padding-top: 1.3rem
}

.gdh-facts div {
  padding: 0 16px;
  border-left: 1px solid var(--line-d)
}

.gdh-facts div:first-child {
  padding-left: 0;
  border-left: 0
}

.gdh-facts dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  color: #fff
}

.gdh-facts dd {
  margin: 3px 0 0;
  font-size: .82rem;
  line-height: 1.4;
  color: #A9A3D2
}

/* width follows the column only (never the screen height). On short screens site.js zooms the
   whole hero and widens it by 1/zoom; the cap is divided by that zoom (--fz) so the inspector
   still renders at the same size (560px, or the column width if narrower) on every screen,
   instead of shrinking and leaving a gap beside the copy. 560px wide is about 455px tall, which
   fits the shortest desktop layout (600px high). */
.gd-stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: calc(560px / var(--fz, 1));
  margin-left: auto
}

.gi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
  padding: 3.4cqw;
  border-radius: 4cqw;
  background: linear-gradient(180deg, rgba(30, 23, 80, .94), rgba(19, 15, 54, .97));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: border-color .4s, box-shadow .4s
}

.gi.v-block {
  border-color: rgba(247, 136, 29, .45);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 .6cqw rgba(247, 136, 29, .08)
}

.gi.v-warn {
  border-color: rgba(255, 179, 92, .4)
}

.gi-top {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  white-space: nowrap
}

.gi-dots {
  display: flex;
  gap: 1cqw
}

.gi-dots i {
  width: 1.5cqw;
  height: 1.5cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18)
}

.gi-top>b {
  font-size: 2.4cqw;
  font-weight: 600;
  color: #fff
}

.gi-dest {
  font-family: var(--mono);
  font-size: 1.9cqw;
  color: #8E86C4
}

.gi-mg {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: .9cqw 1.8cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--mono);
  font-size: 1.75cqw;
  letter-spacing: .06em;
  color: #C9C4E6
}

.gi-mg svg {
  width: 2.2cqw;
  height: 2.2cqw
}

.gi-box {
  position: relative;
  min-height: 25cqw;
  padding: 2.4cqw 3cqw 2cqw;
  border-radius: 2.6cqw;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden
}

.gd-page .gi-text {
  font-size: 2.9cqw;
  line-height: 1.8;
  color: #EFEDF6;
  word-break: break-word
}

.gi-text .cur {
  display: inline-block;
  width: .35cqw;
  height: 3.2cqw;
  margin-left: .2cqw;
  vertical-align: -.5cqw;
  background: var(--orange);
  animation: biblink .8s step-end infinite
}

.gi.done .gi-text .cur {
  display: none
}

.gi-tok {
  position: relative;
  padding: .2cqw .6cqw;
  margin: 0 .1cqw;
  border-radius: .8cqw;
  transition: background .3s, color .3s, box-shadow .3s
}

.gi-tok.hit {
  --c: var(--gpd);
  background: rgba(247, 136, 29, .12);
  box-shadow: inset 0 -.3cqw 0 var(--orange);
  color: #fff
}

.gi-tok.sec {
  --c: var(--gsec)
}

.gi-tok.pd {
  --c: var(--gpd)
}

.gi-tok.conf {
  --c: var(--gconf)
}

.gi-tok.masked {
  font-family: var(--mono);
  font-size: .86em;
  color: #E1DDF5
}

.gi-tok .lb {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + .2cqw);
  padding: .2cqw .9cqw;
  border-radius: .6cqw;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 1.45cqw;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--c);
  color: #1B1549;
  line-height: 1.5;
  animation: gdpop .3s var(--spring) both
}

.gi-sub {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 1.6cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E86C4
}

.gi-sub span:last-child {
  color: #fff
}

.gi-dets {
  display: grid;
  gap: 1.2cqw;
  min-height: 13cqw;
  align-content: start
}

.gi-det {
  --c: var(--gpd);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.8cqw;
  align-items: center;
  padding: 1.3cqw 2cqw;
  border-radius: 1.8cqw;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-left: .5cqw solid var(--c);
  font-size: 2cqw;
  animation: gdpop .35s var(--spring) both
}

.gi-det.sec {
  --c: var(--gsec)
}

.gi-det.conf {
  --c: var(--gconf)
}

.gi-det b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.6cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c)
}

.gi-det span {
  font-family: var(--mono);
  font-size: 1.8cqw;
  color: #D6D1F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.gi-det em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 1.55cqw;
  color: #8E86C4;
  white-space: nowrap
}

.gi-verdict {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 2cqw 2.6cqw;
  border-radius: 2.4cqw;
  opacity: 0;
  transform: translateY(1.2cqw);
  transition: opacity .35s ease, transform .45s var(--spring)
}

.gi-verdict i {
  flex: none;
  width: 5cqw;
  height: 5cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
  font-size: 2.6cqw
}

.gi-verdict b {
  display: block;
  font-size: 2.7cqw;
  font-weight: 600;
  color: #fff
}

.gi-verdict span {
  display: block;
  margin-top: .2cqw;
  font-size: 1.95cqw;
  color: #D6D1F0
}

.gi.v-warn .gi-verdict,
.gi.v-block .gi-verdict {
  opacity: 1;
  transform: none
}

.gi.v-warn .gi-verdict {
  background: rgba(255, 179, 92, .1);
  border: 1px solid rgba(255, 179, 92, .42)
}

.gi.v-warn .gi-verdict i {
  background: rgba(247, 136, 29, .18);
  color: var(--amber)
}

.gi.v-warn .gi-verdict i::before {
  content: "!"
}

.gi.v-block .gi-verdict {
  background: rgba(247, 136, 29, .1);
  border: 1px solid rgba(247, 136, 29, .45)
}

.gi.v-block .gi-verdict i {
  background: var(--orange);
  color: var(--ink)
}

.gi.v-block .gi-verdict i::before {
  content: "✕"
}

.gi.v-block .gi-box {
  animation: gdshake .45s ease
}

.gi-foot {
  display: flex;
  justify-content: space-between;
  gap: 2cqw;
  padding-top: 2cqw;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--mono);
  font-size: 1.6cqw;
  color: #6F68A8;
  white-space: nowrap
}

.gi.out .gi-box,
.gi.out .gi-dets,
.gi.out .gi-verdict {
  opacity: 0;
  transition: opacity .3s ease
}

/* ---- detection: beam sweeps the message; marks light up; each lands in its class ---- */
.dt {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 18px;
  align-items: stretch
}

.dt-doc {
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(23, 19, 61, .45)
}

.dt-hd {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .72rem;
  color: #7A73AE
}

.dt-hd span:first-child {
  color: var(--text);
  font-weight: 500
}

/* one line always: the status flips between "Scanning…" and the longer "Scan complete · 7 found",
   which must not wrap the header onto a second line (and change the card's height) */
.dt-hd {
  gap: 12px
}

.dt-hd span {
  white-space: nowrap
}

.dt-hd span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis
}

.dt.done .dt-hd span:last-child {
  color: var(--accent-ink)
}

.dt-body {
  position: relative;
  padding: 16px 20px 18px;
  overflow: hidden
}

.gd-page .dt-body p {
  padding: 7px 0;
  font-family: var(--mono);
  font-size: .84rem;
  line-height: 1.55;
  color: var(--text);
  border-bottom: 1px dashed var(--line)
}

.dt-body p:last-of-type {
  border-bottom: 0
}

.dt-body mark {
  padding: 1px 5px;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  transition: background .3s, color .3s, box-shadow .3s
}

.dt-body mark.hit {
  background: rgba(247, 136, 29, .12);
  box-shadow: inset 0 -2px 0 var(--orange);
  color: var(--text)
}

.dt-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 46px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(75, 63, 158, .04));
  border-bottom: 1px solid rgba(75, 63, 158, .25)
}

.dt.play .dt-beam {
  animation: dtbeam 3.2s linear forwards
}

@keyframes dtbeam {
  0% {
    top: -46px;
    opacity: 1
  }

  95% {
    opacity: 1
  }

  100% {
    top: 100%;
    opacity: 0
  }
}

.dt-cats {
  display: grid;
  gap: 12px
}

.dt-cat {
  --c: var(--indigo-2);
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s
}

.dt-cat.bump {
  border-color: rgba(247, 136, 29, .6);
  box-shadow: 0 0 0 4px rgba(247, 136, 29, .12)
}

.dt-ch {
  display: flex;
  align-items: center;
  gap: 10px
}

.dt-ch i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c)
}

.dt-ch i svg {
  width: 16px;
  height: 16px
}

.dt-ch h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text)
}

.dt-ch .n {
  margin-left: auto;
  min-width: 30px;
  padding: 2px 9px;
  border-radius: 999px;
  text-align: center;
  font-style: normal;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 500;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c)
}

.gd-detect .dt-cat>p {
  margin-top: 6px;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--muted)
}

.dt-found {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
  margin-top: 8px
}

.dt-found span {
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .68rem;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  color: var(--text);
  opacity: 0
}

/* chips are in the card from the start (keeping its height), shown as the scan finds them */
.dt-found span.on {
  animation: gdpop .35s var(--spring) both
}

/* ---- policy rollout: the diff, Publish, then the fleet flips v12 → v13 in a wave ---- */
.rl-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.rl-layers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.rl-layers li {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08)
}

.rl-layers i {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 136, 29, .14);
  color: var(--amber)
}

.rl-layers i svg {
  width: 20px;
  height: 20px
}

.rl-layers b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff
}

.rl-layers span {
  font-size: .86rem;
  color: #A9A3D2
}

.rl-card {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 23, 80, .94), rgba(19, 15, 54, .97));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .7)
}

.rl-ed {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.rl-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: .72rem;
  color: #8E86C4
}

.rl-hd .f {
  color: #fff
}

.rl-hd .ver,
.rl-hd .pub {
  display: grid
}

.rl-hd .ver s,
.rl-hd .pub s {
  grid-area: 1 / 1;
  text-decoration: none;
  transition: opacity .3s, transform .35s var(--ease)
}

.rl-hd .ver s {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: #D6D1F0
}

.rl-hd .ver s:last-child {
  background: rgba(247, 136, 29, .2);
  color: var(--amber)
}

.rl-hd .pub {
  margin-left: auto
}

.rl-hd .pub s {
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  background: var(--orange);
  color: var(--ink)
}

.rl-hd .pub s:last-child {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.rl-hd .ver s:last-child,
.rl-hd .pub s:last-child {
  opacity: 0;
  transform: translateY(6px)
}

.rl-card.pub .rl-hd .ver s:first-child,
.rl-card.pub .rl-hd .pub s:first-child {
  opacity: 0;
  transform: translateY(-6px)
}

.rl-card.pub .rl-hd .ver s:last-child,
.rl-card.pub .rl-hd .pub s:last-child {
  opacity: 1;
  transform: none
}

.rl-card.press .rl-hd .pub s:first-child {
  transform: scale(.94);
  filter: brightness(1.1)
}

.rl-code {
  margin: 0;
  padding: 10px 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, .25);
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.75;
  color: #D6D1F0;
  white-space: normal
}

.rl-code .ln {
  display: block;
  padding: 0 14px;
  white-space: pre;
  position: relative
}

.rl-code .ln::before {
  content: " ";
  display: inline-block;
  width: 14px;
  color: #6F68A8
}

.rl-code b {
  font-weight: 500;
  color: #C9C4E6
}

.rl-code q {
  quotes: none
}

.rl-code q.b,
.rl-code q.w {
  color: var(--amber)
}

.rl-code .del,
.rl-code .add {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), opacity .3s, background .3s
}

.rl-code .del {
  max-height: 2em;
  opacity: 1
}

.rl-card.edit .rl-code .del {
  background: rgba(255, 255, 255, .04);
  text-decoration: line-through;
  text-decoration-color: rgba(247, 136, 29, .6)
}

.rl-card.edit .rl-code .del::before {
  content: "−";
  color: #8E86C4
}

.rl-card.edit .rl-code .add {
  max-height: 2em;
  opacity: 1;
  background: rgba(255, 179, 92, .1)
}

.rl-card.edit .rl-code .add::before {
  content: "+";
  color: var(--amber)
}

.rl-card.pub .rl-code .del {
  max-height: 0;
  opacity: 0
}

.rl-card.pub .rl-code .add {
  background: transparent
}

.rl-card.pub .rl-code .add::before {
  content: " "
}

.rl-fleet {
  padding: 16px 18px 18px
}

.rl-fh {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8E86C4
}

.rl-fh b {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: #fff
}

.rl-fh em {
  margin-left: auto;
  font-style: normal;
  color: var(--amber);
  font-variant-numeric: tabular-nums
}

.rl-grid24 {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px
}

.rl-dev {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 2px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, border-color .3s
}

.rl-dev svg {
  width: 18px;
  height: 18px;
  color: #8E86C4;
  transition: color .3s
}

.rl-dev span {
  font-family: var(--mono);
  font-size: .56rem;
  color: #8E86C4;
  transition: color .3s
}

.rl-dev.up {
  background: rgba(247, 136, 29, .08);
  border-color: rgba(247, 136, 29, .42);
  animation: rlup .45s var(--spring)
}

.rl-dev.up svg {
  color: var(--amber)
}

.rl-dev.up span {
  color: #fff
}

@keyframes rlup {
  0% {
    transform: scale(.85)
  }

  60% {
    transform: scale(1.08)
  }

  100% {
    transform: none
  }
}

.rl-bar {
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden
}

.rl-bar i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: width .2s linear
}

/* ---- what people see: three chat boxes, each plays its outcome ---- */
.see-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.see-card {
  --c: var(--indigo-2);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px -34px rgba(23, 19, 61, .5);
  overflow: hidden
}

.see-card.s-warn {
  --c: var(--amber)
}

.see-card.s-block {
  --c: var(--orange)
}

.see-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
  color: var(--muted)
}

.see-hd .tg {
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--c);
  color: #fff
}

.see-card.s-warn .see-hd .tg,
.see-card.s-block .see-hd .tg {
  color: var(--ink)
}

.see-chat {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  min-height: 220px;
  background: radial-gradient(rgba(75, 63, 158, .12) 1px, transparent 1.2px) 0 0 / 16px 16px
}

.gd-see .see-in {
  align-self: flex-end;
  max-width: 92%;
  padding: 10px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--ink);
  color: #fff;
  font-size: .88rem;
  line-height: 1.45;
  opacity: 0
}

.see-in mark {
  padding: 0 3px;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  transition: background .3s, box-shadow .3s
}

.see-grid.play .see-in {
  animation: gdpop .4s var(--spring) .2s forwards
}

.see-grid.play .s-warn .see-in mark {
  animation: seemark .3s ease 1s forwards
}

.see-grid.play .s-block .see-in mark {
  animation: seemarkr .3s ease 1s forwards
}

@keyframes seemark {
  to {
    background: rgba(247, 136, 29, .35);
    box-shadow: inset 0 -2px 0 var(--amber)
  }
}

@keyframes seemarkr {
  to {
    background: rgba(247, 136, 29, .35);
    box-shadow: inset 0 -2px 0 #F7881D
  }
}

.see-pop {
  align-self: stretch;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(247, 136, 29, .45);
  box-shadow: 0 16px 30px -18px rgba(23, 19, 61, .5);
  opacity: 0;
  transform: translateY(8px)
}

.see-pop b {
  display: block;
  font-size: .86rem;
  color: var(--text)
}

.see-pop>span {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  color: #7A73AE
}

.see-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px
}

.see-btns em {
  flex: 1;
  padding: 7px 8px;
  border-radius: 999px;
  text-align: center;
  font-style: normal;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: transform .2s, filter .2s
}

.see-btns em.go {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink)
}

.see-grid.play .see-pop {
  animation: gdpop .4s var(--spring) 1.3s forwards, seehide .3s ease 2.9s forwards
}

.see-grid.play .see-btns em.go {
  animation: seepress .25s ease 2.5s
}

@keyframes seepress {
  50% {
    transform: scale(.92);
    filter: brightness(1.1)
  }
}

/* fades only: the pop keeps its space (see the warn card's grid below), so the card never
   changes height while it replays */
@keyframes seehide {
  to {
    opacity: 0;
    transform: translateY(-6px)
  }
}

/* warn card: the warning pop-up and the result share one slot at the bottom (row 2), so the
   chat is always as tall as its tallest state. Collapsing the pop made the card, and with it
   the whole centred section, shrink and grow on every replay. */
.see-card.s-warn .see-chat {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: minmax(0, 1fr)
}

.see-card.s-warn .see-in {
  grid-area: 1 / 1;
  justify-self: end;
  align-self: start
}

.see-card.s-warn .see-pop,
.see-card.s-warn .see-res {
  grid-area: 2 / 1;
  align-self: end
}

.see-res {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .84rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px)
}

.see-res i {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: .66rem;
  font-weight: 700;
  color: #fff
}

.see-res.ok {
  background: rgba(75, 63, 158, .07);
  border: 1px solid rgba(75, 63, 158, .22);
  color: var(--text)
}

.see-res.ok i {
  background: var(--indigo-2)
}

.see-res.no {
  background: rgba(247, 136, 29, .09);
  border: 1px solid rgba(247, 136, 29, .45);
  color: #B85B0A
}

.see-res.no i {
  background: var(--orange);
  color: var(--ink)
}

.see-grid.play .s-allow .see-res {
  animation: gdpop .4s var(--spring) 1.2s forwards
}

.see-grid.play .s-warn .see-res {
  animation: gdpop .4s var(--spring) 3.1s forwards
}

.see-grid.play .s-block .see-res {
  animation: gdpop .4s var(--spring) 1.4s forwards, gdshake .45s ease 1.8s
}

/* ---- contact ---- */
.gd-cta h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.1
}

.gd-cta .lede {
  margin-top: 1rem;
  color: #BDB7E2
}

.gd-cta-grid {
  align-items: center
}

.gd-cov {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem
}

.gd-cov span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9C4E6
}

.gd-cov span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: vtlive 1.6s ease-out infinite
}

.gd-cov span:nth-child(2) i {
  animation-delay: .5s
}

.gd-cov span:nth-child(3) i {
  animation-delay: 1s
}

.gd-checks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.gd-checks li {
  position: relative;
  padding-left: 30px;
  font-size: .98rem;
  line-height: 1.5;
  color: #E1DDF5
}

.gd-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid rgba(247, 136, 29, .55);
  background: rgba(247, 136, 29, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB35C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat
}

@media (max-width:920px) {

  .gdh-grid,
  .rl-grid {
    grid-template-columns: 1fr
  }

  .gd-stage {
    max-width: 560px;
    margin: 0 auto
  }

  .dt {
    grid-template-columns: 1fr
  }

  .see-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .gdh-facts {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .gdh .gdh-kicker {
    font-size: .6rem;
    letter-spacing: .08em;
    line-height: 1.35;
    padding: 8px 13px 8px 10px
  }

  /* prompt inspector: readable detections, verdict and footer on phones */
  .gd-page .gi-top>b {
    font-size: 3.9cqw
  }

  .gd-page .gi-dest {
    font-size: 3cqw
  }

  .gd-page .gi-mg {
    font-size: 2.8cqw
  }

  .gd-page .gi-sub {
    font-size: 2.8cqw
  }

  .gd-page .gi-det {
    font-size: 3.4cqw;
    padding: 2.4cqw 3cqw
  }

  .gd-page .gi-det b {
    font-size: 2.9cqw
  }

  .gd-page .gi-det span {
    font-size: 3.2cqw
  }

  .gd-page .gi-verdict b {
    font-size: 4.2cqw
  }

  .gd-page .gi-verdict span {
    font-size: 3.3cqw
  }

  .gd-page .gi-foot {
    font-size: 2.9cqw
  }

  /* warn / block cards: no empty gap in the middle when they stack */
  .see-chat {
    min-height: 0
  }

  .see-res {
    margin-top: 4px
  }

  .gdh-facts div {
    padding: 0;
    border-left: 0
  }

  .gi {
    gap: 3.4cqw;
    padding: 4.4cqw;
    border-radius: 5cqw
  }

  .gi-top>b {
    font-size: 3.4cqw
  }

  .gi-dest {
    font-size: 2.7cqw
  }

  .gi-mg {
    font-size: 2.5cqw;
    padding: 1.2cqw 2.4cqw
  }

  .gi-mg svg {
    width: 3cqw;
    height: 3cqw
  }

  .gi-dots {
    display: none
  }

  .gi-box {
    min-height: 40cqw;
    padding: 3cqw 3.6cqw
  }

  .gd-page .gi-text {
    font-size: 4cqw;
    line-height: 1.75
  }

  .gi-tok .lb {
    font-size: 2.2cqw
  }

  .gi-text .cur {
    height: 4.4cqw
  }

  .gi-sub {
    font-size: 2.3cqw
  }

  .gi-dets {
    min-height: 18cqw;
    gap: 1.8cqw
  }

  .gi-det {
    font-size: 2.8cqw;
    padding: 2cqw 2.6cqw
  }

  .gi-det b {
    font-size: 2.3cqw
  }

  .gi-det span {
    font-size: 2.6cqw
  }

  .gi-det em {
    display: none
  }

  .gi-det {
    grid-template-columns: auto minmax(0, 1fr)
  }

  .gi-verdict {
    padding: 2.8cqw 3.2cqw
  }

  .gi-verdict i {
    width: 7cqw;
    height: 7cqw;
    font-size: 3.6cqw
  }

  .gi-verdict b {
    font-size: 3.8cqw
  }

  .gi-verdict span {
    font-size: 2.8cqw
  }

  .gi-foot {
    font-size: 2.3cqw
  }

  .gi-foot span:last-child {
    display: none
  }

  .gd-page .dt-body p {
    font-size: .76rem
  }

  .rl-grid24 {
    grid-template-columns: repeat(6, minmax(0, 1fr))
  }

  .rl-code {
    font-size: .7rem
  }

  .rl-code .ln {
    white-space: normal;
    padding-left: 28px;
    text-indent: -14px
  }
}

@media (prefers-reduced-motion:reduce) {

  .gi *,
  .gi {
    animation: none !important;
    transition: none !important
  }

  .dt-beam {
    display: none
  }

  .see-in,
  .see-res {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important
  }

  .see-pop {
    display: none
  }

  .rl-dev {
    animation: none !important
  }
}

/* =====================================================================
   MINDGUARD PAGE (rebuilt 2026-11-16 from the product brief) — problem, how it works,
   four categories, layers + measured results, privacy, coverage, admin portal, requirements.
   site.js plays #hw (how it works), #ly (layers) and #inc (illustrative incident).
   ===================================================================== */
.gd-page .dark h2 em {
  color: var(--orange)
}

/* grid children may shrink below their content's width, so a long unbreakable string (a masked
   key, a nowrap label) can never widen the page on a small phone */
/* MindGuard card titles are real headings (h3, h4 on the status board) so the page has a proper
   outline; this resets the browser heading look so they keep the look they had as <b>. Zero
   specificity, so each card's own title rule still wins. */
:where(.gd-page :is(.pb-card, .hw-part, .dt-ch, .dm, .pv-points, .wb-top, .wb-t, .ad)) :is(h3, h4) {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit
}

/* text for screen readers and search engines only (e.g. the ":" after "MindGuard" in the h1) */
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap
}

.gd-page :is(.gdh-grid, .ad-top, .ly-grid, .pv-grid, .wb-head, .wb, .sp-head, .sp, .ins, .lm-head, .lm-list, .pb-grid, .hw-parts, .dt, .dt-cats, .dt-more, .ad-grid, .pv-facts, .ly-stats, .see-grid, .wh-grid, .cm-head, .fq-head, .fq)>* {
  min-width: 0
}

/* the hero line is longer than the other product heroes; a touch smaller so it sets in two lines */
.gd-page .gdh .gdh-disp {
  font-size: clamp(2.3rem, 3.9vw, 3.5rem)
}

/* section headings lead with the search phrase, then the italic flourish, so they run longer than
   on the other pages: a little smaller, a little wider */
.gd-page .gd-head {
  max-width: 880px
}

.gd-page .gd-head h2,
.gd-page .gd-cta h2 {
  font-size: clamp(1.75rem, 2.75vw, 2.4rem);
  line-height: 1.12
}

/* orange text on the lilac sections: a deeper orange than the site's --accent-ink so the eyebrows
   and italic heading words read at 4.5:1 or better on both lilacs (#C85F0A measured about 3.0:1
   on --paper-2 and 3.2:1 on --paper) */
.gd-page :is(.paper, .tint) {
  --accent-ink: #9A4703
}

/* status tag for next-release features */
.gd-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  color: var(--accent-ink);
  background: rgba(200, 95, 10, .08);
  border: 1px solid rgba(200, 95, 10, .32)
}

.dark .gd-tag {
  color: var(--amber);
  background: rgba(247, 136, 29, .1);
  border-color: rgba(255, 179, 92, .38)
}

/* ---- the problem ---- */
.pb-paste {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px
}

/* overflow-x clip: the chips drift past the lane's end into the cloud; without it they widen
   the page on phones (clip, not hidden, so their shadows still show above and below) */
.pb-lane {
  position: relative;
  flex: 1;
  height: 44px;
  overflow-x: clip;
  container-type: inline-size;
  background: linear-gradient(90deg, transparent, rgba(75, 63, 158, .25) 12%, rgba(75, 63, 158, .25) 88%, transparent) center / 100% 1px no-repeat
}

.pb-lane span {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px -16px rgba(23, 19, 61, .55);
  translate: 0 -50%;
  opacity: 0;
  animation: pbfly 10s linear infinite;
  animation-delay: calc(var(--i) * -2.5s)
}

.pb-lane span i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: .66rem;
  font-weight: 600;
  background: rgba(247, 136, 29, .14);
  color: var(--accent-ink)
}

/* Four chips on the lane at once need about 820px (each is up to ~190px wide and they are a
   quarter of the lane apart). On a narrower lane (small desktop screens) each chip crosses in half
   the cycle instead, so at most two are on it, half a lane apart, and they never overlap. */
@container (max-width: 820px) {
  .pb-lane span {
    animation-name: pbfly2
  }
}

@keyframes pbfly2 {
  0% {
    left: 0;
    opacity: 0;
    scale: .9
  }

  4% {
    opacity: 1;
    scale: 1
  }

  41% {
    opacity: 1;
    scale: 1
  }

  50%,
  100% {
    left: calc(100% - 40px);
    opacity: 0;
    scale: .55
  }
}

/* phones: a pasted item lights up as it is "sent", then settles */
@keyframes pbsend {

  0%,
  25%,
  100% {
    border-color: var(--line);
    background: var(--card);
    transform: none
  }

  8%,
  17% {
    border-color: rgba(247, 136, 29, .6);
    background: #FFF4E8;
    transform: translateY(2px)
  }
}

@keyframes pbdrop {
  0% {
    transform: translateY(0);
    opacity: 0
  }

  25% {
    opacity: 1
  }

  100% {
    transform: translateY(22px);
    opacity: 0
  }
}

@keyframes pbfly {
  0% {
    left: 0;
    opacity: 0;
    scale: .9
  }

  8% {
    opacity: 1;
    scale: 1
  }

  82% {
    opacity: 1;
    scale: 1
  }

  100% {
    left: calc(100% - 40px);
    opacity: 0;
    scale: .55
  }
}

.pb-cloud {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 10px 16px 10px 12px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff
}

.pb-cloud svg {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  color: var(--amber)
}

.pb-cloud b {
  font-size: .84rem;
  font-weight: 600
}

.pb-cloud em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .06em;
  color: #A9A3D2
}

.pb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px
}

.pb-card {
  position: relative;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 22px 44px -34px rgba(23, 19, 61, .45);
  transition: transform .45s var(--ease), border-color .45s
}

.pb-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 95, 10, .3)
}

.pb-card .k {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: #9C94D6
}

.pb-card>i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(247, 136, 29, .1);
  color: var(--accent-ink)
}

.pb-card>i svg {
  width: 20px;
  height: 20px
}

.pb-card h3 {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -.01em;
  color: var(--text)
}

.gd-pb .pb-card p {
  margin-top: 6px;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted)
}

.pb-answer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 50px -30px rgba(18, 14, 52, .8)
}

.pb-answer>i {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink)
}

.pb-answer>i svg {
  width: 21px;
  height: 21px
}

.gd-pb .pb-answer p {
  font-size: .98rem;
  line-height: 1.5;
  color: #D6D1F0
}

.pb-answer p b {
  color: #fff
}

/* ---- how it works: one message rides the five steps ---- */
.hw {
  --x: 0%;
  position: relative;
  padding: 22px 24px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1E1750, #130F36);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 80px -44px rgba(0, 0, 0, .8)
}

.hw-msg {
  position: relative;
  height: 38px;
  margin-bottom: 12px
}

.hw-chip {
  position: absolute;
  top: 0;
  left: var(--x);
  max-width: 100%;
  transform: translateX(calc(var(--x) * -1));
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: left .65s var(--ease), transform .65s var(--ease), border-color .35s, background .35s, opacity .35s
}

.hw-chip b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: .78rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.hw[data-v="allow"] .hw-chip {
  border-color: rgba(62, 213, 152, .55);
  background: rgba(62, 213, 152, .1)
}

.hw[data-v="warn"] .hw-chip {
  border-color: rgba(255, 179, 92, .6);
  background: rgba(255, 179, 92, .1)
}

.hw[data-v="block"] .hw-chip {
  border-color: rgba(247, 136, 29, .7);
  background: rgba(247, 136, 29, .14);
  animation: gdshake .45s ease
}

.hw-track {
  position: relative;
  height: 3px;
  margin: 22px 10% 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1)
}

.hw-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--x);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  box-shadow: 0 0 12px rgba(247, 136, 29, .6);
  transition: width .65s var(--ease)
}

.hw-steps {
  list-style: none;
  margin: -24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px
}

.hw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px
}

.hw-step i {
  position: relative;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #221A58;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #8E86C4;
  transition: background .35s, border-color .35s, color .35s, box-shadow .35s
}

.hw-step i svg {
  width: 20px;
  height: 20px
}

.hw-step b {
  font-size: .9rem;
  font-weight: 600;
  color: #fff
}

.hw-step span {
  font-size: .76rem;
  line-height: 1.4;
  color: #8E86C4
}

.hw-step.on i {
  background: #2C1F4E;
  border-color: rgba(247, 136, 29, .65);
  color: var(--amber)
}

.hw-step.cur i {
  box-shadow: 0 0 0 6px rgba(247, 136, 29, .14), 0 0 24px rgba(247, 136, 29, .35)
}

.hw[data-v="allow"] .hw-step:nth-child(4).on i {
  border-color: rgba(62, 213, 152, .7);
  color: #3ED598
}

.hw[data-v="block"] .hw-step:nth-child(4).on i {
  background: var(--orange);
  color: var(--ink)
}

.hw-out {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08)
}

.hw-badge {
  flex: none;
  min-width: 84px;
  padding: 5px 12px;
  border-radius: 999px;
  text-align: center;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #A9A3D2;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: color .3s, background .3s, border-color .3s
}

.hw[data-v="allow"] .hw-badge {
  color: #3ED598;
  background: rgba(62, 213, 152, .12);
  border-color: rgba(62, 213, 152, .45)
}

.hw[data-v="warn"] .hw-badge {
  color: var(--amber);
  background: rgba(255, 179, 92, .12);
  border-color: rgba(255, 179, 92, .5)
}

.hw[data-v="block"] .hw-badge {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange)
}

.gd-how .hw-out p {
  flex: 1;
  min-width: 0;
  font-size: .9rem;
  line-height: 1.4;
  color: #fff
}

.hw.hw-verdict .hw-out p {
  animation: vtin .35s var(--ease) both
}

.hw-out em {
  flex: none;
  font-style: normal;
  font-family: var(--mono);
  font-size: .68rem;
  color: #8E86C4;
  opacity: 0;
  transition: opacity .3s
}

.hw.hw-rec .hw-out em {
  opacity: 1
}

.hw.hw-fade .hw-chip,
.hw.hw-fade .hw-out p,
.hw.hw-fade .hw-out em {
  opacity: 0
}

.hw-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px
}

.hw-part {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, border-color .3s
}

.hw-part:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(247, 136, 29, .35)
}

.hw-part>i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 136, 29, .12);
  color: var(--amber)
}

.hw-part>i svg {
  width: 18px;
  height: 18px
}

.hw-part h3 {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: #fff
}

.hw-part span {
  display: block;
  margin-top: 2px;
  font-size: .78rem;
  line-height: 1.45;
  color: #A9A3D2
}

.gd-how .hw-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: .86rem;
  color: #A9A3D2
}

.hw-note svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--amber)
}

/* ---- what it catches: four classes, each in its own colour ---- */
.gd-detect .dt {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
}

.gd-detect .dt-cats {
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.gd-detect .dt-cat {
  padding: 12px 14px
}

.gd-detect .dt-cat>p {
  font-size: .76rem
}

.gd-detect .dt-ch h3 {
  font-size: .92rem
}

.gd-detect .dt-cat.sec,
.gd-detect .dt-body mark.sec {
  --c: #C85F0A
}

.gd-detect .dt-cat.pd,
.gd-detect .dt-body mark.pd {
  --c: #4B3F9E
}

.gd-detect .dt-cat.ind,
.gd-detect .dt-body mark.ind {
  --c: #16825C
}

.gd-detect .dt-cat.conf,
.gd-detect .dt-body mark.conf {
  --c: #A3367A
}

.gd-detect .dt-body mark.hit {
  background: color-mix(in srgb, var(--c) 13%, transparent);
  box-shadow: inset 0 -2px 0 var(--c)
}

.gd-detect .dt-cat.bump {
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 12%, transparent)
}

.gd-page .gd-detect .dt-body p {
  word-break: break-word
}

.dt-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px
}

.dm {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line)
}

.dm>i {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 63, 158, .1);
  color: var(--indigo-2)
}

.dm>i svg {
  width: 18px;
  height: 18px
}

.dm h3 {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text)
}

.gd-detect .dm p {
  margin-top: 3px;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--muted)
}

/* ---- quiet on harmless text: layers + measured results ---- */
.ly-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.ly-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.ly-stat {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09)
}

.ly-stat b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff
}

.ly-stat span {
  display: block;
  margin-top: 4px;
  font-size: .82rem;
  line-height: 1.4;
  color: #A9A3D2
}

.ly-stat.hero-stat {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(247, 136, 29, .12), rgba(247, 136, 29, .03));
  border-color: rgba(247, 136, 29, .35)
}

.ly-stat.hero-stat b {
  font-size: 2.8rem;
  color: var(--amber)
}

/* the false-alarm bar shrinks from 66% (where we started) to 5.4% when it comes into view */
.ly-bar {
  position: relative;
  display: block;
  height: 6px;
  margin: 12px 0 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08)
}

.ly-bar s {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 66%;
  border-radius: 6px;
  background: #6F68A8
}

.ly-bar::before {
  content: "";
  position: absolute;
  left: 66%;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: rgba(255, 255, 255, .35)
}

.ly-bar::after {
  content: "66% at the start";
  position: absolute;
  left: 66%;
  top: 11px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .06em;
  color: #8E86C4
}

.ly-stats.in .ly-bar s {
  animation: lybar 2s var(--ease) .7s forwards
}

@keyframes lybar {
  to {
    width: 5.4%;
    background: var(--amber);
    box-shadow: 0 0 12px rgba(255, 179, 92, .7)
  }
}

.gd-layers .ly-note {
  margin-top: 12px;
  font-size: .76rem;
  line-height: 1.5;
  color: #8E86C4
}

.lyr {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1E1750, #130F36);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8)
}

.ly-in span {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E86C4
}

.gd-layers .ly-in p {
  margin-top: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.45;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: opacity .3s
}

.ly-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: border-color .35s, background .35s
}

.ly-row>i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-family: var(--mono);
  font-size: .64rem;
  color: #A9A3D2;
  background: rgba(255, 255, 255, .06);
  transition: background .35s, color .35s
}

.ly-row b {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  color: #fff
}

.ly-row span {
  display: block;
  font-size: .72rem;
  line-height: 1.35;
  color: #8E86C4
}

/* a reading never gets cut off: the labels in site.js are short enough for one line, and a longer
   one wraps inside the pill instead of ending in an ellipsis */
.ly-r {
  max-width: 16em;
  padding: 4px 10px;
  border-radius: 12px;
  font-style: normal;
  font-family: var(--mono);
  font-size: .64rem;
  line-height: 1.35;
  text-align: right;
  white-space: normal;
  overflow-wrap: break-word;
  opacity: 0;
  transition: opacity .3s
}

.ly-row.on .ly-r {
  opacity: 1;
  animation: gdpop .35s var(--spring) both
}

.ly-row.s-n .ly-r {
  color: #8E86C4;
  background: rgba(255, 255, 255, .05)
}

.ly-row.s-hit {
  border-color: rgba(247, 136, 29, .4);
  background: rgba(247, 136, 29, .06)
}

.ly-row.s-hit>i {
  background: var(--orange);
  color: var(--ink)
}

.ly-row.s-hit .ly-r {
  color: var(--amber);
  background: rgba(247, 136, 29, .14)
}

.ly-row.s-ok {
  border-color: rgba(62, 213, 152, .35)
}

.ly-row.s-ok>i {
  background: rgba(62, 213, 152, .2);
  color: #3ED598
}

.ly-row.s-ok .ly-r {
  color: #3ED598;
  background: rgba(62, 213, 152, .12)
}

.ly-out {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08)
}

.ly-v {
  flex: none;
  min-width: 78px;
  padding: 5px 10px;
  border-radius: 999px;
  text-align: center;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #A9A3D2;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12)
}

.lyr[data-v="allow"] .ly-v {
  color: #3ED598;
  background: rgba(62, 213, 152, .12);
  border-color: rgba(62, 213, 152, .45)
}

.lyr[data-v="warn"] .ly-v {
  color: var(--amber);
  background: rgba(255, 179, 92, .12);
  border-color: rgba(255, 179, 92, .5)
}

.lyr[data-v="block"] .ly-v {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange)
}

.gd-layers .ly-out p {
  font-size: .84rem;
  line-height: 1.4;
  color: #fff
}

.lyr.ly-done .ly-out p {
  animation: vtin .35s var(--ease) both
}

.lyr.ly-fade .ly-r,
.lyr.ly-fade .ly-out p,
.lyr.ly-fade .ly-in p {
  opacity: 0
}

.gd-layers .ly-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: .74rem;
  color: #A9A3D2
}

/* ---- what people see: extras under the three cards ---- */
.see-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: .84rem;
  color: var(--muted)
}

.see-more b {
  margin-right: 3px;
  font-weight: 600;
  color: var(--text)
}

.see-more .see-nr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: .76rem
}

/* ---- privacy: points + the map of what goes where ---- */
.pv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.pv-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px
}

.pv-points li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start
}

.pv-points i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 136, 29, .12);
  color: var(--amber)
}

.pv-points i svg {
  width: 20px;
  height: 20px
}

.pv-points h3 {
  display: inline;
  font-size: 1rem;
  font-weight: 600;
  color: #fff
}

.gd-priv .pv-points p {
  margin-top: 3px;
  font-size: .86rem;
  line-height: 1.5;
  color: #A9A3D2
}

/* .pv-side is the size container, so the map below can switch layout by its own width */
.pv-side {
  container-type: inline-size;
  display: grid;
  gap: 14px
}

.pv-map {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, auto);
  row-gap: 12px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1E1750, #130F36);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8)
}

.pv-node {
  position: relative;
  padding: 10px 8px;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1)
}

.pv-node>i {
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .07);
  color: #C9C4E6
}

.pv-node>i svg {
  width: 19px;
  height: 19px
}

.pv-node b {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff
}

.pv-node span {
  display: block;
  margin-top: 2px;
  font-size: .68rem;
  line-height: 1.35;
  color: #8E86C4
}

.pv-node.lap {
  grid-column: 1;
  grid-row: 1 / 4;
  padding: 18px 10px;
  background: linear-gradient(180deg, rgba(247, 136, 29, .16), rgba(247, 136, 29, .04));
  border-color: rgba(247, 136, 29, .45)
}

.pv-node.lap>i {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  animation: pvpulse 2s ease-out infinite
}

.pv-node.lap>i svg {
  width: 24px;
  height: 24px
}

@keyframes pvpulse {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 136, 29, .55)
  }

  100% {
    box-shadow: 0 0 0 14px rgba(247, 136, 29, 0)
  }
}

.pv-node.ai {
  grid-column: 3;
  grid-row: 1
}

.pv-node.ai>i {
  color: #3ED598;
  background: rgba(62, 213, 152, .14)
}

.pv-node.srv {
  grid-column: 3;
  grid-row: 2
}

.pv-node.srv>i {
  color: var(--amber);
  background: rgba(247, 136, 29, .14)
}

.pv-node.out {
  grid-column: 3;
  grid-row: 3;
  border-style: dashed;
  opacity: .7
}

.pv-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6px
}

.pv-link.l1 {
  grid-column: 2;
  grid-row: 1
}

.pv-link.l2 {
  grid-column: 2;
  grid-row: 2
}

.pv-link.l3 {
  grid-column: 2;
  grid-row: 3
}

.pv-link span {
  margin-bottom: 7px;
  text-align: center;
  font-family: var(--mono);
  font-size: .58rem;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #A9A3D2
}

.pv-link i {
  position: relative;
  display: block;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .14)
}

.pv-link.go i::before {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--c, var(--amber)));
  animation: pvflow 1.8s linear infinite
}

.pv-link.l1 {
  --c: #3ED598
}

.pv-link.l2 i::before {
  animation-delay: .9s
}

@keyframes pvflow {
  to {
    left: 100%
  }
}

/* arrow head at the end of a flowing link */
.pv-link.go::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--c, var(--amber));
  border-right: 2px solid var(--c, var(--amber));
  transform: rotate(45deg)
}

.pv-link.no i {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 11px)
}

.pv-link.no span {
  margin-bottom: 14px
}

.pv-link.no::after {
  content: "✕";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .56rem;
  color: #FF8A7A;
  background: #1A1447;
  border: 1px solid rgba(255, 138, 122, .6)
}

/* narrow map (phones): the laptop on top, each link + destination as a row */
@container (max-width: 470px) {
  .pv-map {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: auto auto auto auto;
    row-gap: 14px
  }

  .pv-node.lap {
    grid-column: 1 / -1;
    grid-row: 1
  }

  .pv-node.ai,
  .pv-node.srv,
  .pv-node.out {
    grid-column: 2
  }

  .pv-node.ai,
  .pv-link.l1 {
    grid-row: 2
  }

  .pv-node.srv,
  .pv-link.l2 {
    grid-row: 3
  }

  .pv-node.out,
  .pv-link.l3 {
    grid-row: 4
  }

  .pv-link.l1,
  .pv-link.l2,
  .pv-link.l3 {
    grid-column: 1
  }
}

.pv-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.pv-facts li {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .74rem;
  line-height: 1.4;
  color: #A9A3D2;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08)
}

.pv-facts b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber)
}

/* ---- where it works: a three-column status board (today → testing → planned).
   Ink on the lilac page with hairlines; orange only marks what is live today. The rule on top
   of each column draws in (solid for live, dashed for testing, dotted for planned) and the
   entries rise in turn when the board gets .in from the scroll reveal. ---- */
.wb-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem)
}

.wb-head .gd-head {
  margin-bottom: 0
}

.gd-where .wb-head .lede {
  max-width: 44ch;
  padding-bottom: 6px
}

.wb {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .7fr);
  border-top: 1px solid var(--line-2)
}

.wb-col {
  position: relative;
  padding: 22px 28px 4px
}

.wb-col:first-child {
  padding-left: 0
}

.wb-col:last-child {
  padding-right: 0
}

.wb-col+.wb-col {
  border-left: 1px solid var(--line)
}

.wb-col::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease)
}

.wb-col.now::before {
  background: var(--orange)
}

.wb-col.test::before {
  background: repeating-linear-gradient(90deg, var(--text) 0 8px, transparent 8px 13px);
  opacity: .5
}

.wb-col.plan::before {
  background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 7px);
  opacity: .35
}

.wb.in .wb-col::before {
  transform: none
}

.wb.in .wb-col.test::before {
  transition-delay: .35s
}

.wb.in .wb-col.plan::before {
  transition-delay: .7s
}

.wb-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px
}

.wb-n {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  color: #8A84B6
}

.wb-top h3 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  color: var(--text)
}

.wb-top em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: .72rem;
  color: #8A84B6
}

.wb-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: wblive 2s ease-out infinite
}

@keyframes wblive {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 136, 29, .5)
  }

  100% {
    box-shadow: 0 0 0 7px rgba(247, 136, 29, 0)
  }
}

.wb ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.wb li {
  padding: 14px 0;
  border-top: 1px solid var(--line)
}

.wb li:first-child {
  border-top: 0;
  padding-top: 4px
}

.wb.in li {
  animation: wbin .6s var(--ease) backwards;
  animation-delay: calc(.25s + var(--i, 0) * .07s)
}

@keyframes wbin {
  from {
    opacity: 0;
    transform: translateY(10px)
  }
}

.wb-t {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px
}

/* the name gets a thin orange underline that slides in on hover */
.wb-t h4 {
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease)
}

.wb li:hover .wb-t h4 {
  background-size: 100% 1.5px
}

.wb-q {
  flex: none;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #6F68A8
}

.wb-col.now .wb-q {
  color: var(--accent-ink)
}

.gd-where .wb li p {
  margin-top: 5px;
  max-width: 52ch;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--muted)
}

.wb-names li {
  padding: 9px 0;
  font-size: .98rem;
  font-weight: 500;
  color: #5E5890
}

.wb-names li::before {
  content: "+";
  margin-right: 10px;
  font-family: var(--mono);
  color: #A9A3D2
}

.gd-where .wb-plan-note {
  margin-top: 10px;
  font-size: .84rem;
  color: var(--muted)
}

.gd-where .wb-foot {
  margin-top: 18px;
  padding-top: 14px;
  max-width: 90ch;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted)
}

@media (max-width:920px) {

  .wb-head,
  .wb {
    grid-template-columns: 1fr
  }

  .wb-head {
    gap: .8rem
  }

  .wb-col,
  .wb-col:first-child,
  .wb-col:last-child {
    padding: 18px 0 6px
  }

  .wb-col+.wb-col {
    border-left: 0;
    border-top: 1px solid var(--line)
  }
}

@media (prefers-reduced-motion:reduce) {

  .wb-col::before {
    transform: none;
    transition: none
  }

  .wb.in li,
  .wb-live {
    animation: none
  }
}

/* ---- for administrators ---- */
.ad-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: 16px
}

.ad-top .gd-head {
  margin-bottom: 0
}

.inc {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px -32px rgba(23, 19, 61, .55)
}

.inc-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line)
}

.inc-hd b {
  font-size: .9rem;
  color: var(--text)
}

.inc-hd span {
  font-family: var(--mono);
  font-size: .66rem;
  color: #7A73AE
}

.inc-st {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-style: normal;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(247, 136, 29, .12);
  border: 1px solid rgba(200, 95, 10, .35);
  animation: gdpop .35s var(--spring) both
}

.inc[data-s="1"] .inc-st {
  color: var(--indigo-2);
  background: rgba(75, 63, 158, .1);
  border-color: rgba(75, 63, 158, .35)
}

.inc[data-s="2"] .inc-st {
  color: #12795A;
  background: rgba(27, 175, 122, .1);
  border-color: rgba(27, 175, 122, .4)
}

.inc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: .78rem
}

.inc-row span {
  color: #7A73AE
}

.inc-row b {
  font-weight: 500;
  color: var(--text);
  text-align: right
}

.inc-row b.r-conf {
  color: var(--accent-ink)
}

.inc-txt {
  margin-top: 6px;
  padding: 6px 9px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--text);
  background: rgba(75, 63, 158, .06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.inc-txt s {
  text-decoration: none;
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(247, 136, 29, .15)
}

.inc-det {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px
}

.inc-det span {
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .6rem;
  color: #8A84B6;
  border: 1px solid var(--line-2)
}

.inc-det span.hit {
  color: var(--accent-ink);
  border-color: rgba(200, 95, 10, .4);
  background: rgba(247, 136, 29, .08)
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.ad {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s
}

.ad:hover {
  transform: translateY(-4px);
  border-color: rgba(75, 63, 158, .35);
  box-shadow: 0 26px 44px -34px rgba(23, 19, 61, .55)
}

.ad>i {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 63, 158, .1);
  color: var(--indigo-2)
}

.ad>i svg {
  width: 18px;
  height: 18px
}

.ad h3 {
  display: block;
  font-size: .98rem;
  font-weight: 600;
  color: var(--text)
}

.gd-admin .ad p {
  margin-top: 4px;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted)
}

.ad-nr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  font-size: .74rem;
  color: var(--muted)
}

.ad-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px
}

.ad-more span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  color: var(--text);
  background: rgba(255, 255, 255, .45);
  border: 1px solid var(--line-2)
}

/* ---- runs on ordinary laptops: a typographic spec sheet beside a laptop that plays both
   profiles. site.js flips data-p on #sp (0 minimum / 1 recommended); a highlight slides to the
   selected column, its numbers brighten, the laptop's cores / memory / language model follow.
   The laptop opens (lid rotates up) when it scrolls into view. ---- */
.sp-head,
.lm-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem)
}

.sp-head .gd-head,
.lm-head .gd-head {
  margin-bottom: 0
}

.sp-head .lede,
.lm-head .lede {
  max-width: 44ch;
  padding-bottom: 6px
}

.sp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center
}

.sp-sheet {
  --kw: 104px
}

.sp-table {
  position: relative
}

.sp-shared .sp-row {
  grid-template-columns: var(--kw) minmax(0, 1fr)
}

.sp-shared .sp-row:last-child {
  border-bottom: 1px solid var(--line)
}

.sp-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--kw) minmax(0, 1fr) minmax(0, 1fr);
  align-items: baseline;
  border-top: 1px solid var(--line)
}

.sp-row>span,
.sp-row>button {
  padding: 14px 20px
}

.sp-row>:first-child {
  padding-left: 0
}

.sp-th {
  border-top: 0
}

.sp-th button {
  text-align: left;
  cursor: pointer
}

.sp-th button b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  transition: color .4s
}

.sp-th button small {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .04em;
  color: #7A73AE
}

.sp-th button[aria-pressed="false"] b {
  color: #7A73AE
}

.sp-th button:hover b {
  color: var(--text)
}

.gd-req .sp-row>.sp-k {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7A73AE
}

.gd-req .sp-row>span {
  font-size: .9rem;
  color: var(--muted)
}

.sp-row em {
  margin-right: 4px;
  font-style: normal;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -.03em;
  color: #A9A3D2;
  transition: color .5s
}

/* the selected column's numbers come forward; shared rows stay ink */
.sp[data-p="0"] .sp-row>span:nth-child(2) em,
.sp[data-p="1"] .sp-row>span:nth-child(3) em,
.sp-row .sp-both em {
  color: var(--text)
}

.sp[data-p="1"] .sp-row>span:nth-child(3) em {
  color: var(--accent-ink)
}

.sp-row small {
  display: block;
  margin-top: 5px;
  font-size: .74rem;
  color: #7A73AE
}

.sp-both {
  grid-column: 2 / -1
}

/* the highlight card behind the selected column */
.sp-hl {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: var(--kw);
  width: calc((100% - var(--kw)) / 2);
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px -34px rgba(23, 19, 61, .55);
  transition: transform .75s var(--ease), border-color .5s
}

.sp[data-p="1"] .sp-hl {
  transform: translateX(100%);
  border-color: rgba(247, 136, 29, .4)
}

/* ---- spec sheet details: row icons, a selection dot in the headers, mini visuals in the
   cells (they light up in the selected column), the highlight's coloured top edge and the
   countdown line to the next auto-switch (site.js re-runs .run on .sp-prog) ---- */
.gd-req .sp-row>.sp-k {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.sp-k svg {
  flex: none;
  width: 15px;
  height: 15px;
  color: #8E86C4
}

.sp-th button {
  position: relative
}

/* the radio is a small inline SVG: halo (.h), ring (.r) and dot (.d) are concentric circles in
   one vector drawing, so the dot is always exactly centred and perfectly round at any zoom or
   screen scaling (a CSS box can round to e.g. 13x12 device pixels at fractional zoom, which
   made the old border ring oval and the dot off-centre). The dot scales inside the SVG, so the
   animation stays sharp and steady. Same look as before: 12px ring, 3px halo. The 20px box's
   centre is 24px from the top and right of the header. */
.sp-dot {
  --c: var(--indigo-2);
  position: absolute;
  right: 14px;
  top: 14px;
  width: 20px;
  height: 20px;
  overflow: visible;
  pointer-events: none
}

.sp-th button[data-p="1"] .sp-dot {
  --c: var(--orange)
}

.sp-dot .h {
  fill: none;
  stroke: transparent;
  stroke-width: 3;
  transition: stroke .4s
}

.sp-dot .r {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.5;
  transition: stroke .4s
}

.sp-dot .d {
  fill: var(--c);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform .3s ease
}

.sp-th button[aria-pressed="true"] .sp-dot .h {
  stroke: rgba(75, 63, 158, .12)
}

.sp-th button[data-p="1"][aria-pressed="true"] .sp-dot .h {
  stroke: rgba(247, 136, 29, .16)
}

.sp-th button[aria-pressed="true"] .sp-dot .r {
  stroke: var(--c)
}

.sp-th button[aria-pressed="true"] .sp-dot .d {
  transform: scale(1)
}

/* the highlight card's coloured top edge and countdown line */
.sp-hl {
  overflow: hidden
}

/* the whole card takes the active profile's colour: indigo for Minimum, orange for Recommended */
/* steady while it slides: a whole-pixel border plus an inset ring for weight (no 1.5px border
   that snaps between pixels), and its own GPU layer so the slide doesn't jitter */
.sp .sp-hl {
  border: 1px solid rgba(75, 63, 158, .6);
  box-shadow: inset 0 0 0 1px rgba(75, 63, 158, .35), 0 0 0 4px rgba(75, 63, 158, .08), 0 26px 50px -34px rgba(23, 19, 61, .55);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.65, 0, .35, 1), border-color .5s, box-shadow .5s
}

.sp[data-p="1"] .sp-hl {
  transform: translate3d(100%, 0, 0);
  border-color: rgba(247, 136, 29, .8);
  box-shadow: inset 0 0 0 1px rgba(247, 136, 29, .45), 0 0 0 4px rgba(247, 136, 29, .1), 0 26px 50px -34px rgba(200, 95, 10, .5)
}

.sp-prog {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(75, 63, 158, .1);
  overflow: hidden
}

.sp-prog::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--indigo-2);
  transform: scaleX(0);
  transform-origin: left;
  opacity: .5
}

.sp[data-p="1"] .sp-prog::after {
  background: var(--orange)
}

.sp-prog.run::after {
  animation: spprog var(--dw, 3.8s) linear forwards
}

@keyframes spprog {
  to {
    transform: scaleX(1)
  }
}

/* mini visuals in the cells */
.sp-cores {
  display: flex;
  gap: 4px;
  margin-top: 9px
}

.sp-cores i {
  width: 16px;
  height: 6px;
  border-radius: 2px;
  border: 1px solid var(--line-2);
  transition: background .45s, border-color .45s, box-shadow .45s
}

.sp-cores i:nth-child(2) {
  transition-delay: .08s
}

.sp-cores i:nth-child(3) {
  transition-delay: .16s
}

.sp-cores i:nth-child(4) {
  transition-delay: .24s
}

.sp-bar {
  position: relative;
  display: block;
  width: min(140px, 100%);
  height: 6px;
  margin-top: 9px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(75, 63, 158, .1)
}

.sp-bar s {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left
}

.sp-bar s:first-child {
  width: var(--t);
  background: rgba(75, 63, 158, .3);
  transition: transform .8s var(--ease)
}

.sp-bar s:last-child {
  width: var(--a);
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: transform .5s var(--ease) .45s
}

/* the selected column: core blocks and memory bar fill; the other column shows them faintly */
.sp[data-p="0"] .sp-row>span:nth-child(2) .sp-cores i.on {
  border-color: transparent;
  background: linear-gradient(90deg, #8E80E0, var(--indigo-2))
}

.sp[data-p="1"] .sp-row>span:nth-child(3) .sp-cores i.on {
  border-color: transparent;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  box-shadow: 0 0 6px rgba(247, 136, 29, .4)
}

.sp[data-p="0"] .sp-row>span:nth-child(2) .sp-bar s,
.sp[data-p="1"] .sp-row>span:nth-child(3) .sp-bar s {
  transform: none
}

.sp-row>span .sp-cores,
.sp-row>span .sp-bar {
  transition: opacity .5s
}

.sp[data-p="1"] .sp-row>span:nth-child(2) :is(.sp-cores, .sp-bar),
.sp[data-p="0"] .sp-row>span:nth-child(3) :is(.sp-cores, .sp-bar) {
  opacity: .5
}

/* shared rows: the value and a "same on both" tag */
.sp-shared .sp-both {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px
}

.sp-same {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  font-style: normal;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7A73AE;
  border: 1px dashed var(--line-2)
}

.gd-req .sp-note {
  margin-top: 12px;
  font-size: .76rem;
  line-height: 1.5;
  color: var(--muted)
}

/* the laptop, in CSS 3D. .lp holds the perspective; .lp-float bobs gently; .lp-stage turns the
   whole machine (base angle --bx/--by plus the pointer tilt --tx/--ty from site.js). The lid is
   hinged at its bottom edge, the deck is a plane hinged at the same edge and laid flat towards
   the viewer, with a front lip and a right side face for thickness.
   overflow-x clip: while the lid is still closed its projection can reach past the edges and
   widen the page on phones; the side padding keeps the machine and its shadow inside. */
.lp {
  --hot: #8E80E0;
  /* negative --bx = seen from above (the deck lies in front of the lid, below the hinge) */
  --bx: -22deg;
  --by: -20deg;
  position: relative;
  container-type: inline-size;
  overflow-x: clip
}

/* the laptop is drawn once at a fixed 452px design width (its look at 1440px) and zoomed to the
   column's width: tan(atan2(100cqw, 452px)) is the plain ratio of the two. Everything inside,
   perspective included, scales together, so shape, angle, thickness and type stay identical on
   every screen. site.js sets the same zoom where this CSS is not supported. */
.lp-fit {
  position: relative;
  width: 452px;
  padding: 0 10% 30% 21%;
  perspective: 1400px;
  perspective-origin: 50% 20%;
  zoom: min(1.25, tan(atan2(100cqw, 452px)))
}

.lp-float {
  transform-style: preserve-3d;
  animation: lpfloat 7s ease-in-out infinite
}

@keyframes lpfloat {
  50% {
    transform: translateY(-8px)
  }
}

.lp-stage {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--bx) + var(--ty, 0deg))) rotateY(calc(var(--by) + var(--tx, 0deg)));
  transition: transform .9s var(--ease)
}

/* soft shadow on the "table", under the deck */
.lp-floor {
  position: absolute;
  left: 16%;
  right: 12%;
  bottom: 2%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(23, 19, 61, .22), transparent);
  filter: blur(8px)
}

/* the deck: keyboard, trackpad, a hinge notch, the front lip and the right side face.
   Same width and depth as the lid (height: 100% of the stage = the lid's height), like a real
   laptop whose lid closes flat onto its base. */
.lp-deck {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 100%;
  border-radius: 3px 3px 14px 14px;
  /* soft satin lavender metal: a step darker than the page so it stands apart, still light,
     with a gentle diagonal sheen */
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, .35) 46%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, #A39CC9 0%, #BDB7DD 12%, #B4AED7 60%, #A9A2CF 100%);
  box-shadow: inset 0 0 0 1px rgba(18, 14, 52, .16), inset 0 2px 0 rgba(255, 255, 255, .4);
  transform-origin: 50% 0;
  transform: rotateX(90deg);
  transform-style: preserve-3d
}

.lp-deck::before {
  content: "";
  position: absolute;
  left: 40%;
  right: 40%;
  top: 0;
  height: 3.5%;
  border-radius: 0 0 6px 6px;
  background: rgba(23, 19, 61, .12)
}

/* thickness of the base: copies of its shape stacked underneath (in the deck's own space, -z is
   down), lighter at the top and darker at the bottom edge, so the edge wraps the rounded corners */
.lp-sl {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #9A93C6, #7D76AF);
  transform: translateZ(var(--z))
}

.lp-sl:first-child {
  background: linear-gradient(90deg, #8A83B9, #6C659F);
  box-shadow: 0 0 0 .5px rgba(18, 14, 52, .25)
}

/* keyboard: site.js fills it with a real layout of keys (function row, numbers, QWERTY rows,
   shifts, space bar, inverted-T arrows), each row a flex line whose keys grow by their width
   (--w). The keys sit in a recessed well; site.js taps a random key now and then (.tap = a faint
   orange backlight) while the laptop is on screen. */
.lp-keys {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 7%;
  height: 47%;
  display: grid;
  grid-template-rows: .6fr repeat(5, 1fr);
  row-gap: 3.4%;
  padding: 1.6%;
  border-radius: 6px;
  background: linear-gradient(180deg, #8E87BC, #9C95C6);
  box-shadow: inset 0 1px 3px rgba(18, 14, 52, .4), inset 0 0 0 1px rgba(18, 14, 52, .14), 0 1px 0 rgba(255, 255, 255, .35)
}

.lp-kr {
  display: flex;
  gap: .9%
}

.lp-kr .k {
  flex: var(--w, 1) 1 0;
  min-width: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #2F2869 0%, #1E1849 70%, #171238 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 0 rgba(12, 9, 38, .55), 0 1.5px 1.5px rgba(12, 9, 38, .25);
  transition: background .25s, box-shadow .25s, transform .12s
}

.lp-kr .k.tap {
  background: linear-gradient(180deg, #3A3190, #251D5E);
  box-shadow: inset 0 0 0 1px rgba(255, 179, 92, .75), 0 0 6px rgba(247, 136, 29, .55);
  transform: translateY(.5px);
  transition: background .05s, box-shadow .05s, transform .05s
}

/* the power key, top right, has a subtle ring */
.lp-kr .k.pw {
  box-shadow: inset 0 0 0 1px rgba(180, 172, 224, .35), 0 1px 0 rgba(12, 9, 38, .55)
}

/* arrows: left / (up over down) / right, the up and down keys half height */
.lp-kr .ar {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12%
}

.lp-kr .ar .k {
  flex: 1 1 0
}

.lp-kr .half {
  align-self: flex-end;
  height: 46%
}

/* trackpad: a glass pad with a soft edge and sheen; a fingertip glides across it now and then */
.lp-pad {
  position: absolute;
  left: 30%;
  right: 30%;
  top: 59%;
  height: 34%;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, .1) 38%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #CAC5E5, #B9B3DA);
  box-shadow: inset 0 0 0 1px rgba(18, 14, 52, .18), inset 0 1px 2px rgba(18, 14, 52, .16), 0 1px 0 rgba(255, 255, 255, .45)
}

.lp-pad::after {
  content: "";
  position: absolute;
  left: 20%;
  top: 60%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(75, 63, 158, .28), transparent);
  opacity: 0;
  animation: lpglide 7s ease-in-out 2.5s infinite
}

@keyframes lpglide {

  0%,
  8% {
    opacity: 0;
    transform: translate(0, 0)
  }

  14% {
    opacity: 1
  }

  40% {
    opacity: 1;
    transform: translate(230%, -170%)
  }

  48%,
  100% {
    opacity: 0;
    transform: translate(260%, -190%)
  }
}


.sp[data-p="1"] .lp {
  --hot: var(--orange)
}

/* the lid, MacBook-style: a slim lavender aluminium rim around black glass, a small camera notch
   at the top. Closed (lying on the deck) until it scrolls into view, then it opens to a slight
   lean back. */
.lp-lid {
  position: relative;
  padding: 3px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(160deg, #C9C4E6 0%, #A9A2CF 55%, #9790C3 100%);
  box-shadow: inset 0 0 0 .5px rgba(18, 14, 52, .25), inset 0 1px 0 rgba(255, 255, 255, .6);
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  transform: rotateX(-88deg);
  /* closing (site.js removes .open when the laptop leaves the screen): the screen goes dark
     first, then the lid folds down */
  transition: transform 1.1s var(--ease) .25s
}

/* open: leaning back a little past upright, like a real laptop. The base is exactly as deep as the lid is tall (it closes flat onto it); lying flat, it looks shorter from this angle, as on any real laptop photo.
   site.js adds .open each time the laptop comes into view, so it opens on every visit, the same way as on load. */
.lp.open .lp-lid {
  transform: rotateX(8deg);
  transition: transform 1.4s var(--ease) .15s
}

/* thickness of the lid: thin copies of its shape behind the screen (the aluminium back) */
.lp-lb {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, #ABA4D1, #8C85BC);
  transform: translateZ(var(--z))
}

/* camera notch, sitting in the top bezel */
.lp-lid::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 3px;
  left: 50%;
  width: 13%;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 0 0 5px 5px;
  background: radial-gradient(circle at 50% 42%, #2A2A3A 0 1.2px, #111018 1.6px 2.4px, transparent 2.6px), #07060C
}

/* the glass: a black bezel around the display; the display shows a calm wallpaper glow */
.lp-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4% 7%;
  border: 7px solid #07060C;
  border-top-width: 9px;
  border-radius: 9px 9px 2px 2px;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 85% 10%, rgba(247, 136, 29, .22), transparent 60%),
    radial-gradient(80% 90% at 10% 100%, rgba(122, 108, 214, .45), transparent 60%),
    linear-gradient(160deg, #241D5C, #120E34)
}

.lp-screen::after {
  display: none
}

/* the app window */
.lp-win {
  width: 100%;
  border-radius: 7px;
  overflow: hidden;
  background: rgba(20, 16, 50, .78);
  border: .5px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7);
  font-family: var(--body);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px)
}

.lp-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, .05);
  border-bottom: .5px solid rgba(255, 255, 255, .08)
}

.lp-bar>i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF5F57
}

.lp-bar>i:nth-child(2) {
  background: #FEBC2E
}

.lp-bar>i:nth-child(3) {
  background: #28C840
}

.lp-bar b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  font-size: 8.5px;
  font-weight: 600;
  color: #fff
}

.lp-bar b svg {
  width: 9px;
  height: 9px;
  color: var(--amber)
}

.lp-bar span {
  margin-left: auto;
  padding: 1.5px 7px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 500;
  color: #C9C4E6;
  background: rgba(255, 255, 255, .07)
}

.lp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "k v" "m m";
  align-items: baseline;
  row-gap: 3px;
  padding: 5px 10px;
  border-bottom: .5px solid rgba(255, 255, 255, .06)
}

.lp-row:last-child {
  border-bottom: 0
}

.lp-row>span:first-child {
  grid-area: k;
  font-size: 8px;
  color: #A9A3D2
}

.lp-row>b {
  grid-area: v;
  font-size: 8.5px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums
}

.lp-row>.lp-cores,
.lp-row>.lp-mem {
  grid-area: m
}

/* processor: a thin four-segment meter */
.lp-cores {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px
}

.lp-cores i {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .1);
  transition: background .45s
}

.lp-cores i:nth-child(2) {
  transition-delay: .1s
}

.lp-cores i:nth-child(3) {
  transition-delay: .2s
}

.lp-cores i:nth-child(4) {
  transition-delay: .3s
}

.sp[data-p="0"] .lp-cores i:nth-child(-n+2),
.sp[data-p="1"] .lp-cores i {
  background: var(--hot)
}

/* memory track = 8 GB; light fill = the laptop's memory, orange = the agent's share */
.lp-mem {
  position: relative;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1)
}

.lp-mem s {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 2px;
  transition: width .8s var(--ease)
}

.lp-mem .sys {
  width: 50%;
  background: rgba(200, 194, 240, .55)
}

.lp-mem .agent {
  width: 8.75%;
  background: var(--orange)
}

.sp[data-p="1"] .lp-mem .sys {
  width: 100%
}

.sp[data-p="1"] .lp-mem .agent {
  width: 16.25%
}

/* disk: the same 1.2 GB on both profiles */
.lp-disk .sys,
.sp[data-p="1"] .lp-disk .sys {
  width: 15%
}

/* language model: a real on / off switch */
.lp-lmr {
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "k v s";
  align-items: center;
  column-gap: 6px
}

.lp-sw {
  grid-area: s;
  position: relative;
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  transition: background .35s
}

.lp-sw::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  transition: transform .35s var(--spring)
}

.sp[data-p="1"] .lp-sw {
  background: #28C840
}

.sp[data-p="1"] .lp-sw::after {
  transform: translateX(8px)
}

/* the screen "powers on" once the lid is up: the window rises in */
.lp-win {
  opacity: 0;
  transform: translateY(6px) scale(.98);
  transition: opacity .3s ease, transform .4s var(--ease)
}

.lp.open .lp-win {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease 1.25s, transform .7s var(--ease) 1.25s
}

/* text that changes with the profile fades through */
.lp.sw #lp-name,
.lp.sw #lp-cpu,
.lp.sw #lp-ram,
.lp.sw #lp-lm {
  animation: vtin .45s var(--ease)
}

.no-js .lp .lp-lid {
  transform: rotateX(8deg)
}

.no-js .lp .lp-win {
  opacity: 1;
  transform: none
}

/* install: three plain steps on a hairline. Scoped to .gd-req: Mind-BI's hero canvas gets a
   state class "ins" (insight) and must not pick these up */
.gd-req .ins {
  list-style: none;
  margin: clamp(1.4rem, 3vh, 2.2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-2)
}

.gd-req .ins li {
  padding: 16px 24px 0
}

.gd-req .ins li:first-child {
  padding-left: 0
}

.gd-req .ins li+li {
  border-left: 1px solid var(--line)
}

.gd-req .ins b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums
}

.gd-req .ins li>span {
  display: block;
  margin-top: 6px;
  max-width: 34ch;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--muted)
}

/* ---- good to know: the limits as a numbered list, then a slow ticker of what comes next ---- */
.lm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 4.5vw, 4.5rem);
  border-top: 1px solid var(--line-2)
}

.lm-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line)
}

.lm-n {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: #9C94D6;
  transition: color .3s
}

.lm-list li:hover .lm-n {
  color: var(--accent-ink)
}

.gd-limits .lm-list p {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted)
}

.lm-list b {
  font-weight: 600;
  color: var(--text)
}

.lm-list.in li {
  animation: wbin .6s var(--ease) backwards;
  animation-delay: calc(.2s + var(--i, 0) * .06s)
}

.nx {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin-top: clamp(1.4rem, 3vh, 2.2rem);
  padding: 14px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2)
}

.nx-l {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink)
}

.nx-l i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: wblive 2s ease-out infinite
}

.nx-tk {
  min-width: 0;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent)
}

.nx-lane {
  display: flex;
  width: max-content;
  animation: nxrun 46s linear infinite
}

.nx-tk:hover .nx-lane {
  animation-play-state: paused
}

.nx-run {
  flex: none;
  display: flex
}

.nx-run span {
  position: relative;
  padding: 0 24px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text)
}

.nx-run span::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--orange);
  opacity: .55
}

@keyframes nxrun {
  to {
    transform: translateX(-50%)
  }
}

@media (max-width:920px) {

  .sp-head,
  .lm-head,
  .sp {
    grid-template-columns: 1fr
  }

  .sp-head,
  .lm-head {
    gap: .8rem
  }

  .lp {
    max-width: 440px;
    margin: 0 auto;
    width: 100%
  }
}

@media (max-width:640px) {

  /* the label column keeps its full 104px here: "PROCESSOR" needs about 90px, and a narrower
     column ran the label into the highlight card */
  .sp-row>span,
  .sp-row>button {
    padding: 12px 12px
  }

  /* room under the last row's text for the card's countdown line (bottom: 10px) */
  .sp-table .sp-row:last-child>span:not(.sp-k) {
    padding-bottom: 22px
  }

  .sp-row em {
    font-size: 1.5rem
  }

  .gd-req .ins,
  .lm-list {
    grid-template-columns: 1fr
  }

  .gd-req .ins li,
  .gd-req .ins li:first-child {
    padding: 14px 0
  }

  .gd-req .ins li+li {
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .nx {
    grid-template-columns: 1fr;
    gap: 10px
  }
}

/* phones: each row's label sits on its own line above the two values, so the two profile
   columns get half the width each (no label column). Labels, values and the shared rows all
   start 12px in, so nothing touches the highlight card's border. */
@media (max-width:560px) {
  .sp-sheet {
    --kw: 0px
  }

  .sp-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
  }

  .sp-th>span:first-child {
    display: none
  }

  .gd-req .sp-row>.sp-k {
    grid-column: 1 / -1;
    padding: 10px 12px 0
  }

  .sp-row>span:not(.sp-k),
  .sp-row>button {
    padding: 6px 12px 12px
  }

  .sp-th button {
    padding-top: 12px
  }

  /* shrinks a little below ~356px so "Recommended" stays clear of its selection dot */
  .sp-th button b {
    font-size: min(.98rem, 4.4vw)
  }

  .sp-dot {
    right: 6px;
    top: 10px
  }

  .sp-prog {
    left: 12px;
    right: 12px
  }

  .sp-shared .sp-row {
    grid-template-columns: minmax(0, 1fr)
  }

  .sp-shared .sp-both {
    grid-column: 1 / -1;
    padding-left: 12px
  }
}

@media (prefers-reduced-motion:reduce) {

  .lp .lp-lid,
  .lp.open .lp-lid {
    transform: rotateX(8deg);
    transition: none
  }

  .lp .lp-win,
  .lp.open .lp-win {
    opacity: 1;
    transform: none;
    transition: none
  }

  .lp-float,
  .lp-pad::after,
  .lm-list.in li,
  .nx-l i {
    animation: none
  }

  .nx-tk {
    -webkit-mask: none;
    mask: none
  }

  .nx-lane {
    width: auto;
    animation: none
  }

  .nx-run {
    flex-wrap: wrap;
    row-gap: 8px
  }

  .nx-run[aria-hidden="true"] {
    display: none
  }
}

/* ---- a soft glow that follows the cursor over the portal cards (site.js sets --mx/--my) ---- */
.ad {
  position: relative
}

.ad::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(247, 136, 29, .09), transparent 65%);
  transition: opacity .35s
}

.ad:hover::after {
  opacity: 1
}

/* a live-light pulse in the element's own colour (the requirements chip uses it) */
@keyframes whlive {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent)
  }

  100% {
    box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 0%, transparent)
  }
}
/* ---- admin, animated: a live preview in each card's corner, a hover glow, and the incident's
   status timeline (site.js sets data-s on #inc and re-runs .replay at each New) ---- */
.ad {
  overflow: hidden
}

.ad>i {
  transition: background .35s, color .35s, transform .4s var(--spring)
}

.ad:hover>i {
  background: var(--indigo-2);
  color: #fff;
  transform: rotate(-6deg) scale(1.06)
}

.ad-viz {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 84px;
  height: 32px;
  pointer-events: none
}

/* dashboard: bars rise and fall */
.v-dash {
  display: flex;
  align-items: flex-end;
  gap: 4px
}

.v-dash i {
  flex: 1;
  height: 100%;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #8E80E0, var(--indigo-2));
  transform-origin: bottom;
  transform: scaleY(var(--h));
  animation: vdash 2.4s ease-in-out infinite alternate
}

.v-dash i:nth-child(4) {
  background: linear-gradient(180deg, var(--amber), var(--orange))
}

.v-dash i:nth-child(2n) {
  animation-delay: -.8s
}

.v-dash i:nth-child(3n) {
  animation-delay: -1.6s
}

@keyframes vdash {
  to {
    transform: scaleY(var(--h2))
  }
}

/* incidents: three rows, a highlight steps down them */
.v-inc {
  display: grid;
  grid-template-rows: repeat(3, 7px);
  gap: 4px;
  padding-top: 1.5px
}

.v-inc i {
  position: relative;
  border-radius: 4px;
  background: rgba(75, 63, 158, .13)
}

.v-inc i::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--indigo-2)
}

.v-inc i:nth-child(1)::before,
.v-inc i:nth-child(3)::before {
  background: var(--orange)
}

.v-inc b {
  position: absolute;
  left: -3px;
  right: -3px;
  top: -.5px;
  height: 11px;
  border-radius: 5px;
  border: 1px solid rgba(247, 136, 29, .6);
  background: rgba(247, 136, 29, .07);
  animation: vinc 4.5s var(--ease) infinite
}

@keyframes vinc {

  0%,
  28% {
    transform: translateY(0)
  }

  33%,
  61% {
    transform: translateY(11px)
  }

  66%,
  94% {
    transform: translateY(22px)
  }

  100% {
    transform: translateY(0)
  }
}

/* policy: rule switches flip on and off */
.v-pol {
  display: grid;
  gap: 4px;
  justify-items: end;
  align-content: center
}

.v-pol i {
  position: relative;
  width: 24px;
  height: 8px;
  border-radius: 6px;
  background: rgba(75, 63, 158, .18);
  animation: vpolt 3.6s ease-in-out infinite
}

.v-pol i::before {
  content: "";
  position: absolute;
  right: 32px;
  top: 2px;
  width: 46px;
  height: 4px;
  border-radius: 2px;
  background: rgba(75, 63, 158, .14)
}

.v-pol i::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 19, 61, .4);
  animation: vpolk 3.6s ease-in-out infinite
}

.v-pol i:nth-child(2),
.v-pol i:nth-child(2)::after {
  animation-delay: -1.2s
}

.v-pol i:nth-child(3),
.v-pol i:nth-child(3)::after {
  animation-delay: -2.4s
}

@keyframes vpolt {

  0%,
  40%,
  100% {
    background: rgba(75, 63, 158, .18)
  }

  50%,
  90% {
    background: var(--orange)
  }
}

@keyframes vpolk {

  0%,
  40%,
  100% {
    transform: none
  }

  50%,
  90% {
    transform: translateX(16px)
  }
}

/* employees: laptops online; one drops off and comes back */
.v-emp {
  display: flex;
  align-items: center;
  justify-content: flex-end
}

.v-emp i {
  position: relative;
  width: 22px;
  height: 22px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid var(--card);
  background: linear-gradient(135deg, #B4ACE0, #4B3F9E)
}

.v-emp i:nth-child(2) {
  background: linear-gradient(135deg, #FFC98A, #F7881D)
}

.v-emp i:nth-child(4) {
  background: linear-gradient(135deg, #9BE7C8, #1BAF7A)
}

.v-emp i::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1BAF7A;
  border: 2px solid var(--card)
}

.v-emp i:nth-child(1)::after {
  animation: vping 2s ease-out infinite
}

.v-emp i:nth-child(3)::after {
  animation: vemp 4s steps(1) infinite
}

@keyframes vping {
  0% {
    box-shadow: 0 0 0 0 rgba(27, 175, 122, .6)
  }

  100% {
    box-shadow: 0 0 0 6px rgba(27, 175, 122, 0)
  }
}

@keyframes vemp {

  0%,
  100% {
    background: #1BAF7A
  }

  50% {
    background: #C2BCE0
  }
}

/* analytics: the line draws itself and the area fills in */
.v-ana svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible
}

.v-ana .ln {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: vana 3.6s ease-in-out infinite
}

.v-ana .ar {
  fill: rgba(247, 136, 29, .14);
  opacity: 0;
  animation: vanaa 3.6s ease-in-out infinite
}

@keyframes vana {
  0% {
    stroke-dashoffset: 100;
    opacity: 1
  }

  45%,
  85% {
    stroke-dashoffset: 0;
    opacity: 1
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0
  }
}

@keyframes vanaa {

  0%,
  35% {
    opacity: 0
  }

  55%,
  85% {
    opacity: 1
  }

  100% {
    opacity: 0
  }
}

/* portal access: the highlight moves Owner → Admin → Viewer */
.v-acc {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px
}

.v-acc i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  color: var(--indigo-2);
  background: rgba(75, 63, 158, .1);
  animation: vacc 3.6s ease-in-out infinite
}

.v-acc i:nth-child(2) {
  animation-delay: -2.4s
}

.v-acc i:nth-child(3) {
  animation-delay: -1.2s
}

@keyframes vacc {

  0%,
  28% {
    color: #fff;
    background: var(--indigo-2);
    box-shadow: 0 0 0 3px rgba(75, 63, 158, .18)
  }

  34%,
  100% {
    color: var(--indigo-2);
    background: rgba(75, 63, 158, .1);
    box-shadow: none
  }
}

/* incident status timeline: New → Acknowledged → Resolved */
.inc-tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 8px 0 6px;
  padding-top: 13px;
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8A84B6
}

.inc-tl::before,
.inc-tl::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  height: 2px;
  border-radius: 2px
}

.inc-tl::before {
  right: 4px;
  background: var(--line-2)
}

.inc-tl::after {
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: width .7s var(--ease)
}

.inc[data-s="1"] .inc-tl::after {
  width: calc(50% - 4px)
}

.inc[data-s="2"] .inc-tl::after {
  width: calc(100% - 8px);
  background: linear-gradient(90deg, var(--orange), #1BAF7A)
}

.inc-tl span {
  position: relative;
  transition: color .35s
}

.inc-tl span:nth-child(2) {
  text-align: center
}

.inc-tl span:nth-child(3) {
  text-align: right
}

.inc-tl span::before {
  content: "";
  position: absolute;
  top: -13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--line-2);
  transition: background .35s, border-color .35s, box-shadow .35s
}

.inc-tl span:nth-child(1)::before {
  left: 0
}

.inc-tl span:nth-child(2)::before {
  left: 50%;
  margin-left: -5px
}

.inc-tl span:nth-child(3)::before {
  right: 0
}

.inc-tl span:nth-child(1),
.inc[data-s="1"] .inc-tl span:nth-child(2),
.inc[data-s="2"] .inc-tl span {
  color: var(--text)
}

.inc-tl span:nth-child(1)::before,
.inc[data-s="1"] .inc-tl span:nth-child(2)::before,
.inc[data-s="2"] .inc-tl span:nth-child(2)::before {
  background: var(--orange);
  border-color: var(--orange)
}

.inc[data-s="2"] .inc-tl span:nth-child(3)::before {
  background: #1BAF7A;
  border-color: #1BAF7A;
  box-shadow: 0 0 0 4px rgba(27, 175, 122, .16)
}

/* each new incident: the detectors light in turn and the masked key flashes */
.inc.replay .inc-det span {
  animation: gdpop .4s var(--spring) backwards;
  animation-delay: calc(.25s + var(--j, 0) * .18s)
}

.inc.replay .inc-txt s {
  animation: incmask 1.2s ease .2s
}

@keyframes incmask {
  30% {
    background: rgba(247, 136, 29, .45);
    box-shadow: 0 0 0 3px rgba(247, 136, 29, .15)
  }
}

.ad-more span {
  transition: transform .3s var(--ease), border-color .3s, background .3s
}

.ad-more span:hover {
  transform: translateY(-2px);
  background: var(--card);
  border-color: rgba(75, 63, 158, .35)
}

@media (prefers-reduced-motion:reduce) {

  .ad-viz,
  .ad-viz *,
  .ad-viz *::before,
  .ad-viz *::after,
  .inc.replay .inc-det span,
  .inc.replay .inc-txt s {
    animation: none !important
  }

  .v-ana .ln {
    stroke-dashoffset: 0
  }

  .v-ana .ar {
    opacity: 1
  }
}

/* ---- who it's for: four cards (they reuse .pb-card from the problem section) ---- */
.wh-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px
}

.gd-who .pb-card p {
  margin-top: 6px;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted)
}

/* ---- pattern-only checks vs MindGuard: a real table; phones turn each row into a card ---- */
.cm-head,
.fq-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.3rem, 3vh, 2.1rem)
}

.cm-head .gd-head,
.fq-head .gd-head {
  margin-bottom: 0
}

.cm-head .lede,
.fq-head .lede {
  max-width: 46ch;
  padding-bottom: 6px
}

.cm {
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(23, 19, 61, .45);
  overflow: hidden
}

.cm-t {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed
}

.cm-t :is(th, td) {
  padding: 15px 22px;
  text-align: left;
  vertical-align: middle;
  border-top: 1px solid var(--line)
}

.cm-t thead :is(th, td) {
  border-top: 0;
  padding-top: 17px;
  padding-bottom: 13px;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted)
}

.cm-t thead td {
  width: 34%
}

.cm-t thead th.cm-mg {
  color: var(--text)
}

.cm-t thead th svg {
  width: 14px;
  height: 14px;
  margin: -2px 7px 0 0;
  vertical-align: middle;
  color: var(--accent-ink)
}

.cm-t tbody th {
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--text)
}

.cm-t td {
  font-size: .92rem;
  line-height: 1.45;
  color: var(--muted)
}

/* the MindGuard column is lightly lit, with a hairline on its left */
.cm-t .cm-mg {
  background: rgba(247, 136, 29, .06);
  box-shadow: inset 1px 0 0 rgba(200, 95, 10, .18)
}

.cm-t td.cm-mg .cm-v {
  color: var(--text)
}

.cm-v {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500
}

.cm-v::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: center/11px no-repeat
}

.cm-v.y::before {
  background-color: rgba(22, 130, 92, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316825C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
}

.cm-v.p::before {
  background-color: rgba(200, 95, 10, .13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A4703' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E")
}

.cm-v.n::before {
  background-color: rgba(163, 54, 122, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3367A' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E")
}

/* the note under "Yes", lined up with its text (18px mark + 9px gap) */
.cm-x {
  display: block;
  margin-top: 2px;
  padding-left: 27px;
  font-size: .84rem;
  line-height: 1.4;
  color: var(--muted)
}

/* ---- FAQ: <details> cards in two columns (one open at a time via name="gd-faq") ----
   Frosted cards that lift a little on hover. The number sits in a chip; the open card gets a
   soft shadow, an orange number chip and a dark "x" button (the plus turns 135deg). Where the browser can animate to height:auto, answers slide open and shut. */
.fq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px clamp(1rem, 2.2vw, 1.6rem);
  align-items: start
}

.fq-col {
  display: grid;
  gap: 12px;
  align-content: start
}

.fq-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(245, 243, 252, .78));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 12px 30px -24px rgba(23, 19, 61, .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background-color .35s
}

.fq-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 20px 40px -26px rgba(23, 19, 61, .55)
}

.fq-item[open] {
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(248, 246, 253, .92));
  border-color: rgba(247, 136, 29, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 16px 36px -28px rgba(23, 19, 61, .28)
}

.fq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px 13px 18px;
  border-radius: 18px;
  list-style: none;
  cursor: pointer
}

.fq-item summary::-webkit-details-marker {
  display: none
}

.fq-item summary:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px
}

.fq-n {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #6F68A8;
  background: rgba(75, 63, 158, .07);
  border: 1px solid var(--line);
  transition: color .3s, background-color .3s, border-color .3s, box-shadow .3s
}

.fq-item summary:hover .fq-n {
  color: var(--accent-ink);
  border-color: rgba(154, 71, 3, .3)
}

.fq-item[open] .fq-n {
  color: var(--ink);
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-color: transparent;
  box-shadow: 0 6px 16px -8px rgba(247, 136, 29, .8)
}

.fq-item h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--text)
}

.fq-ic {
  flex: none;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(75, 63, 158, .09);
  transition: background-color .3s, transform .45s var(--ease)
}

.fq-ic::before,
.fq-ic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  margin: -1px 0 0 -5px;
  border-radius: 2px;
  background: var(--indigo-2);
  transition: background-color .3s
}

.fq-ic::after {
  transform: rotate(90deg)
}

.fq-item summary:hover .fq-ic {
  background: rgba(75, 63, 158, .16)
}

.fq-item[open] .fq-ic {
  background: var(--ink);
  transform: rotate(135deg)
}

.fq-item[open] .fq-ic::before,
.fq-item[open] .fq-ic::after {
  background: #fff
}

/* the answer: under a dashed hairline, lined up with the question text
   (18px padding + 30px chip + 14px gap = 62px) */
.fq-a {
  margin: 0 18px;
  padding: 12px 0 16px 44px;
  border-top: 1px dashed var(--line-2)
}

.gd-faq .fq-a p {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted)
}

.fq-item[open] .fq-a {
  animation: fqin .45s var(--ease) both
}

@keyframes fqin {
  from {
    opacity: 0;
    transform: translateY(-4px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* slide open and shut where height:auto can be animated (Chromium); elsewhere it just opens */
@supports (interpolate-size: allow-keywords) {
  .fq {
    interpolate-size: allow-keywords
  }

  .fq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height .4s var(--ease), content-visibility .4s allow-discrete
  }

  .fq-item[open]::details-content {
    height: auto
  }
}

/* the hidden copy site.js measures the FAQ's tallest state with (one answer open at a time):
   laid over the list, invisible, and without the open / close animation */
.fq {
  position: relative
}

.fq-ghost {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  visibility: hidden;
  pointer-events: none
}

.fq-ghost *,
.fq-ghost *::before,
.fq-ghost *::after {
  animation: none !important;
  transition: none !important
}

@supports selector(::details-content) {
  .fq-ghost .fq-item::details-content {
    transition: none !important
  }
}

.fq-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  margin-top: clamp(.9rem, 2.2vh, 1.4rem);
  padding: 12px 14px 12px 20px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 24px 50px -30px rgba(18, 14, 52, .8)
}

.gd-faq .fq-more p {
  font-size: .95rem;
  color: #D6D1F0
}

/* ---- contact form extras: the laptops select / dropdown, "(optional)", privacy line, result box ---- */
.form select {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
  cursor: pointer;
  background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9A3D2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/14px no-repeat;
  border: 1px solid var(--line-d);
  border-radius: 10px;
  color: #fff;
  padding: 13px 40px 13px 14px;
  font: inherit;
  font-size: .95rem;
  transition: border-color .25s, background-color .25s
}

.form select:focus {
  outline: none;
  border-color: var(--orange);
  background-color: rgba(255, 255, 255, .08)
}

.form select option {
  color: #fff;
  background: var(--ink-2)
}

/* custom dropdown: site.js wraps each .form select in .fsel and adds a combobox (.fsel-btn) and a
   listbox (.fsel-list). The real select stays inside, hidden, and keeps the value for the form.
   Without JS the styled select above is what shows. */
.fsel {
  position: relative
}

.form .fsel select {
  display: none
}

.fsel-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-d);
  border-radius: 10px;
  color: #fff;
  padding: 13px 44px 13px 14px;
  font: inherit;
  font-size: .95rem;
  text-align: left;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .25s, background-color .25s
}

.fsel-btn:hover {
  border-color: rgba(255, 255, 255, .24)
}

.fsel-btn:focus {
  outline: none
}

.fsel-btn:focus-visible,
.fsel.open .fsel-btn {
  border-color: var(--orange);
  background-color: rgba(255, 255, 255, .08)
}

.fsel-val {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

.fsel-btn.is-empty .fsel-val {
  color: #A9A3D2
}

/* chevron: flips when the list is open */
.fsel-btn::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9A3D2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease)
}

.fsel.open .fsel-btn::after {
  transform: rotate(180deg)
}

.fsel-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 264px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: linear-gradient(180deg, #261E66, #1D1652);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  box-shadow: 0 24px 48px -18px rgba(6, 4, 26, .85), 0 2px 8px rgba(6, 4, 26, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top center;
  transition: opacity .18s ease, transform .25s var(--ease), visibility 0s linear .25s
}

.fsel.open .fsel-list {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s
}

.fsel-opt {
  position: relative;
  padding: 10px 38px 10px 12px;
  border-radius: 8px;
  color: #D6D1F0;
  font-size: .95rem;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color .15s, color .15s
}

.fsel-opt + .fsel-opt {
  margin-top: 2px
}

/* .is-active: the highlighted option (keyboard or pointer), only ever one */
.fsel-opt.is-active {
  background: rgba(255, 255, 255, .08);
  color: #fff
}

.fsel-opt[aria-selected="true"] {
  color: #fff;
  background: rgba(247, 136, 29, .12)
}

.fsel-opt[aria-selected="true"].is-active {
  background: rgba(247, 136, 29, .2)
}

/* tick on the chosen option */
.fsel-opt[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7881D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat
}

.form label small {
  font-size: inherit;
  letter-spacing: .06em;
  text-transform: none;
  color: #8E86C4
}

.form .form-privacy {
  margin-top: 10px;
  font-size: .78rem;
  line-height: 1.45;
  color: #A9A3D2
}

.form .form-privacy a {
  text-decoration: underline;
  text-underline-offset: 2px
}

.form .form-privacy a:hover {
  color: #fff
}

.form .note.ok,
.form .note.err {
  padding: 10px 12px 10px 38px;
  border-radius: 10px;
  line-height: 1.45;
  background: no-repeat 12px center/16px
}

.form .note.ok {
  color: #C8F5E2;
  background-color: rgba(62, 213, 152, .1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ED598' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.6 2.6L16 9.8'/%3E%3C/svg%3E");
  border: 1px solid rgba(62, 213, 152, .4)
}

.form .note.err {
  color: #FFD9AE;
  background-color: rgba(255, 179, 92, .1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB35C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E");
  border: 1px solid rgba(255, 179, 92, .45)
}

/* ---- MindGuard page: tablets and phones ---- */
@media (max-width:920px) {

  .wh-grid {
    grid-template-columns: 1fr 1fr
  }

  .cm-head,
  .fq-head {
    grid-template-columns: 1fr;
    align-items: start
  }

  .fq {
    grid-template-columns: 1fr
  }

  .ly-grid,
  .pv-grid,
  .ad-top {
    grid-template-columns: 1fr
  }

  .pb-grid,
  .dt-more {
    grid-template-columns: 1fr
  }

  .hw-parts,
  .ad-grid {
    grid-template-columns: 1fr 1fr
  }

  .gd-detect .dt {
    grid-template-columns: 1fr
  }

  /* the problem, on tablets and phones: the drifting chips become a tidy panel (the lane is too
     narrow for them there). The four pasted items sit
     in a 2 x 2 grid and light up in turn ("sent"), a dot drops down a dashed line into the
     full-width "someone else's servers" bar. */
  .pb-paste {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 22px 44px -34px rgba(23, 19, 61, .45)
  }

  .pb-lane {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    height: auto;
    overflow: visible;
    background: none
  }

  .pb-lane span {
    position: static;
    display: block;
    min-width: 0;
    padding: 7px 10px 7px 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .68rem;
    line-height: 22px;
    translate: none;
    opacity: 1;
    box-shadow: none;
    animation: pbsend 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.5s)
  }

  .pb-lane span i {
    display: inline-flex;
    vertical-align: top;
    margin-right: 7px
  }

  .pb-cloud {
    position: relative;
    justify-content: start;
    margin-top: 28px;
    padding: 12px 14px
  }

  /* dashed line from the items down to the bar, with a dot falling along it */
  .pb-cloud::before,
  .pb-cloud::after {
    content: "";
    position: absolute;
    left: 50%
  }

  .pb-cloud::before {
    top: -24px;
    height: 20px;
    border-left: 2px dashed var(--line-2)
  }

  .pb-cloud::after {
    top: -26px;
    width: 7px;
    height: 7px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--orange);
    animation: pbdrop 1.5s ease-in infinite
  }

  .see-more .see-nr {
    margin-left: 0
  }
}

@media (max-width:760px) {

  /* how it works: the steps become a vertical list, the track is dropped */
  .hw {
    padding: 16px
  }

  .hw-track {
    display: none
  }

  .hw-steps {
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 8px
  }

  .hw-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    text-align: left
  }

  .hw-step i {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    margin: 0
  }

  .hw-chip {
    position: static;
    transform: none
  }

  .hw-msg {
    height: auto
  }

  .hw-out {
    flex-wrap: wrap
  }

  .hw-out em {
    flex-basis: 100%
  }

}

@media (max-width:640px) {

  .hw-parts,
  .ad-grid,
  .ly-stats,
  .pv-facts,
  .wh-grid {
    grid-template-columns: 1fr
  }

  /* comparison table, on phones: each row is a small card, the column name above each value
     (the header row stays for screen readers, visually hidden) */
  .cm-t,
  .cm-t tbody,
  .cm-t tr,
  .cm-t :is(th, td) {
    display: block;
    width: auto
  }

  .cm-t thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%)
  }

  .cm-t tbody tr {
    padding: 14px 16px;
    border-top: 1px solid var(--line)
  }

  .cm-t tbody tr:first-child {
    border-top: 0
  }

  .cm-t tbody :is(th, td) {
    padding: 0;
    border: 0
  }

  .cm-t tbody th {
    margin-bottom: 8px
  }

  .cm-t td {
    margin-top: 6px
  }

  .cm-t td::before {
    content: attr(data-l);
    display: block;
    margin-bottom: 3px;
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6F68A8
  }

  .cm-t .cm-mg {
    margin-left: -8px;
    margin-right: -8px;
    padding: 8px;
    border-radius: 10px;
    box-shadow: none
  }

  .fq-a {
    padding-left: 0
  }

  .gd-detect .dt-cats {
    grid-template-columns: 1fr
  }

  /* cards: icon on the left, text on the right, tighter */
  .pb-grid {
    gap: 10px
  }

  .pb-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 16px 18px
  }

  .pb-card>i {
    grid-row: span 2;
    margin-bottom: 0
  }

  .pb-card .k {
    top: 14px;
    right: 16px
  }

  .pb-card h3 {
    padding-right: 26px;
    font-size: 1rem
  }

  .gd-pb .pb-card p {
    margin-top: 4px;
    font-size: .86rem
  }

  .pb-answer {
    align-items: flex-start;
    padding: 16px
  }

  .ly-stat.hero-stat b {
    font-size: 2.3rem
  }

  /* layers: each layer's reading moves under its name, at full width (no truncation) */
  .ly-row {
    grid-template-columns: 30px minmax(0, 1fr);
    row-gap: 6px
  }

  .ly-r {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    text-align: left;
    white-space: normal
  }

  .ly-row:not(.on) .ly-r {
    display: none
  }

  /* scanner header: file name and status on their own lines */
  .gd-detect .dt-hd {
    flex-direction: column;
    gap: 2px
  }
}

@media (prefers-reduced-motion:reduce) {

  .pb-lane span,
  .pv-node.lap>i,
  .pv-link.go i::before,
  .hw-chip,
  .ly-row.on .ly-r,
  .inc-st,
  .fq-item[open] .fq-a {
    animation: none !important
  }

  .fq-item,
  .fq-item::details-content,
  .fq-ic {
    transition: none !important
  }

  .fq-item:hover {
    transform: none
  }

  .pb-lane span {
    position: static;
    translate: none;
    opacity: 1
  }

  .pb-cloud::after {
    display: none
  }

  .pb-lane {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    height: auto;
    background: none
  }

  .ly-stats .ly-bar s {
    width: 5.4%;
    background: var(--amber)
  }
}

/* ---------- footer ---------- */
.foot {
  background: #0C0926;
  color: #8E86C4;
  padding: 16px 0;
  font-size: .82rem
}

.foot-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap
}

.foot-line nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.foot-line nav a:hover {
  color: #fff
}

/* product links above the footer line: every page links to every product page with its name and
   what it is, which helps Google pick the pages it shows as sitelinks under the home page result */
.foot-prods nav {
  gap: 6px 20px;
  align-items: baseline;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

/* #7F78B8 on the footer's #0C0926 is 4.9:1 (WCAG AA asks 4.5:1 at this size) */
.foot-prods span {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7F78B8
}

.foot-prods a {
  color: #C9C4E6
}

.foot-prods a small {
  font-size: .74rem;
  color: #8E86C4
}

.foot-prods a:hover,
.foot-prods a[aria-current="page"] {
  color: #fff
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px
}

.foot nav a:hover {
  color: #fff
}

.foot .brand {
  height: 44px;
  width: 86px
}

.foot-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .8rem
}

/* ---------- section spacing ----------
   Phones, tablets and portrait screens: sections take their natural height with the same top
   and bottom padding (.band). Anchor jumps stop 12px short so the section's first line never
   sits under the fixed nav (76px on phones, 86px on desktop). */
html {
  scroll-padding-top: 12px
}

/* product pages: the first section sits right under the fixed nav (like the hero), so on phones,
   tablets and portrait screens it gets the hero's top room instead of the plain band padding */
@media (max-width:920px),
(orientation:portrait) {
  .band.page-first {
    padding-top: max(var(--pad), 110px)
  }
}

@media (min-width:921px) {
  .sec-head {
    margin-bottom: clamp(1.4rem, 3vh, 2.4rem)
  }
}

/* ---------- one section per screen (landscape desktop) ----------
   Every section fills exactly one screen and one wheel / trackpad / key scroll moves one
   section (scroll-snap). The content is centred in the part of the screen below the fixed nav,
   so the space above and below it is the same in every section (at least --sec-gap).
   site.js scales a section's content down when it would not fit and keeps every section to
   exactly one screen: a section even a few px taller than the screen breaks the snapping (the
   wheel scrolls inside it instead of moving on). site.js uses the same media query. */
@media (min-width:921px) and (min-height:600px) and (orientation:landscape) {
  :root {
    --nav-h: 86px;
    --sec-gap: clamp(1.25rem, 3vh, 2.5rem)
  }

  html {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0
  }

  .hero,
  .band {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + var(--sec-gap)) 0 var(--sec-gap)
  }

  .foot {
    scroll-snap-align: end
  }

  /* the last section shares its screen with the footer */
  main>.band:last-child {
    min-height: calc(100svh - var(--foot-h, 0px))
  }

  .band>.wrap,
  .hero>.wrap {
    width: 100%
  }
}

/* portrait tablets (iPad Pro 1024x1366): a full-screen hero would be two thirds empty, so it
   takes its natural height and the same bottom gap as the other sections, as on smaller tablets */
@media (min-width:921px) and (orientation:portrait) {
  .hero {
    min-height: auto;
    padding-bottom: var(--pad)
  }
}

/* ---------- scroll reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s)
}

.rv.in {
  opacity: 1;
  transform: none
}

.no-js .rv,
.no-js .rl {
  opacity: 1;
  transform: none;
  animation: none
}

/* ---------- responsive ---------- */
@media (max-width:1080px) {
  .four {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:920px) {

  .nav-links,
  .nav-cta .btn {
    display: none
  }

  .burger {
    display: block
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--ink);
    color: #fff;
    padding: 110px var(--gutter) 40px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .35s ease, transform .45s var(--ease)
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: none
  }

  .mobile-menu a {
    display: block;
    font-family: var(--display);
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -.03em;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-d)
  }

  .mobile-menu .btn {
    margin-top: 28px;
    border-bottom: 0;
    font-size: 1rem;
    display: inline-flex;
    padding: 15px 26px;
    line-height: 1
  }

  /* products in the mobile menu: an expandable list (site.js toggles .open) */
  .mm-dd-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: #fff;
    font-family: var(--display);
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -.03em;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-d)
  }

  .mm-dd-btn .chev {
    width: 22px;
    height: 22px;
    color: var(--orange);
    transition: transform .35s var(--ease)
  }

  .mm-dd.open .mm-dd-btn .chev {
    transform: rotate(180deg)
  }

  .mm-dd-list {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease)
  }

  .mm-dd.open .mm-dd-list {
    grid-template-rows: 1fr
  }

  .mm-dd-list>div {
    min-height: 0;
    overflow: hidden
  }

  .mobile-menu .mm-dd-list a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 1.3rem;
    letter-spacing: -.02em;
    padding: 14px 0 14px 14px;
    border-bottom: 1px solid var(--line-d)
  }

  .mm-dd-list small {
    font-family: var(--mono);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--amber)
  }

  .nav.open {
    background: var(--ink) !important;
    box-shadow: none
  }

  .nav.open .brand .lg-dark {
    opacity: 0
  }

  .nav.open .brand .lg-light {
    opacity: 1
  }

  .nav.open .burger {
    border-color: rgba(255, 255, 255, .25)
  }

  .nav.open .burger span {
    background: #fff
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: var(--pad)
  }

  /* same bottom gap as the other sections */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .hero-logos {
    justify-content: center;
    text-align: center
  }

  .journey-wrap {
    justify-self: stretch;
    max-width: 520px
  }

  .prod-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .mint-wrap {
    justify-self: stretch;
    max-width: 520px
  }

  .brand {
    height: 48px;
    width: 92px
  }

  .case-grid,
  .mt-grid,
  .global-grid,
  .about-grid,
  .cta-grid {
    grid-template-columns: 1fr
  }

  .case-grid> :first-child {
    order: 2
  }

  .case-grid> :last-child {
    order: 1
  }
}

@media (max-width:640px) {
  body {
    font-size: 16px
  }

  .cards {
    grid-template-columns: 1fr
  }

  .four {
    grid-template-columns: 1fr
  }

  .hero-tag {
    font-size: clamp(2.7rem, 15vw, 4.2rem)
  }

  .hero-foot {
    gap: 14px
  }

  .form .row {
    grid-template-columns: 1fr;
    row-gap: 0
  }

  /* stacked: the fields' own 11px margin is the gap, as for the rest */
  .clocks {
    grid-template-columns: 1fr
  }

  .engage .item {
    min-height: 0
  }

  .steps li small {
    display: none
  }

  .phone {
    width: min(280px, 78vw)
  }
}

/* small phones: the uppercase mono kickers above the product h1s can run onto a second line,
   so they get a line-height and corner radius that still look right when they do */
@media (max-width:480px) {

  .mxh .mxh-badge,
  .vth .vth-kicker,
  .gdh .gdh-kicker {
    font-size: .62rem;
    letter-spacing: .1em;
    line-height: 1.45;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 16px
  }

  .ad-more span {
    border-radius: 14px
  }

  .mx-cite span {
    white-space: nowrap
  }
}

@media (prefers-reduced-motion:reduce) {

  .rl,
  .rv {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important
  }

  .wave i,
  .dust i {
    animation: none !important
  }

  .faq-a,
  .faq-bar::after {
    transition: none !important;
    animation: none !important
  }

  .faq-modes li,
  .faq-chips li {
    animation: none !important
  }

  .coin .c3d {
    animation: none !important;
    transform: none !important
  }

  .coin.park {
    transform: translate(var(--px), var(--py)) scale(var(--pk)) !important
  }
}
/* ---------- privacy policy (privacy-policy/index.html) ----------
   A long document that scrolls normally: it has no .band / .hero sections, so site.js never scales
   it to one screen. Scroll snapping is switched off for it, because the footer would be its only
   snap point and every wheel scroll would jump there. Anchor jumps stop below the fixed nav
   (76px on phones and tablets, 86px on desktop). */
html:has(.pp-page) {
  scroll-padding-top: 96px
}

@media (min-width:921px) {
  html:has(.pp-page) {
    scroll-padding-top: 110px
  }
}

@media (min-width:921px) and (min-height:600px) and (orientation:landscape) {
  html:has(.pp-page) {
    scroll-snap-type: none
  }
}

/* notched phones held sideways: the nav, text and footer stay clear of the notch */
html:has(.pp-page) :is(.wrap, .nav-in) {
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right))
}

.pp-hero {
  padding: calc(86px + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(75, 63, 158, .45), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, rgba(247, 136, 29, .1), transparent 70%),
    var(--ink)
}

/* 32px on a 280px-wide folding phone, 64px on desktop: always one line */
.pp-hero h1 {
  font-size: clamp(2rem, 1.2rem + 4.6vw, 4rem);
  font-weight: 700
}

.pp-hero .lede {
  margin-top: 1rem
}

.pp-hero .pp-updated {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: #A9A3D2
}

.pp-updated time {
  white-space: nowrap
}

.pp-body {
  padding-block: clamp(2rem, 7vw, 5.5rem);
  background:
    radial-gradient(55% 40% at 92% 0%, var(--glow-1), transparent 70%),
    radial-gradient(45% 35% at 0% 100%, var(--glow-2), transparent 70%),
    var(--paper)
}

.pp-grid {
  display: grid;
  grid-template-columns: clamp(200px, 20vw, 250px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start
}

/* contents. On desktop the list always shows beside the text under a plain label; the fold
   button is for phones and tablets only. #9A4703 is the deeper orange that keeps small orange
   text at 4.5:1 or better on the lilac. */
.pp-toc-label,
.pp-toc-btn {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9A4703
}

.pp-toc-label {
  margin-bottom: .8rem
}

.pp-toc-btn {
  display: none
}

.pp-toc-btn svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform .3s var(--ease)
}

.pp-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pp;
  border-left: 1px solid var(--line-2)
}

.pp-toc li {
  counter-increment: pp
}

.pp-toc a {
  display: flex;
  gap: 8px;
  margin-left: -1px;
  padding: 5px 0 5px 14px;
  border-left: 2px solid transparent;
  font-size: .88rem;
  line-height: 1.35;
  color: var(--muted);
  transition: color .2s, border-color .2s
}

.pp-toc a::before {
  content: counter(pp) ".";
  flex: none;
  min-width: 1.7em;
  padding-top: .12em;
  font-family: var(--mono);
  font-size: .74rem
}

.pp-toc a:hover {
  color: var(--text);
  border-left-color: var(--orange)
}

/* sticky beside the text only when the window is tall enough to show the whole list */
@media (min-width:921px) and (min-height:600px) {
  .pp-toc {
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overscroll-behavior: contain
  }
}

/* touch screens wide enough for the side list (iPad landscape): bigger tap targets */
@media (min-width:921px) and (pointer:coarse) {
  .pp-toc a {
    padding-block: 8px
  }
}

.pp-doc {
  max-width: 760px;
  line-height: 1.7
}

.pp-intro p {
  font-size: 1.06rem
}

.pp-intro>*+*,
.pp-doc section>*+* {
  margin-top: 1rem
}

.pp-doc section {
  margin-top: clamp(1.6rem, 4vw, 2.75rem);
  padding-top: clamp(1.6rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line-2)
}

.pp-doc h2 {
  display: flex;
  align-items: baseline;
  gap: .5em;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.7rem);
  letter-spacing: -.02em;
  line-height: 1.2
}

.pp-n {
  flex: none;
  font-family: var(--mono);
  font-size: .62em;
  font-weight: 500;
  letter-spacing: 0;
  color: #9A4703
}

.pp-doc section>h3 {
  margin-top: 1.75rem;
  font-size: 1.05rem
}

.pp-doc section>h3+* {
  margin-top: .6rem
}

.pp-doc ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none
}

.pp-doc li {
  position: relative;
  padding-left: 1.4rem
}

.pp-doc li+li {
  margin-top: .35rem
}

.pp-doc li::before {
  content: "";
  position: absolute;
  left: .3rem;
  top: calc(.85em - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange)
}

.pp-doc a {
  color: var(--indigo-2);
  text-decoration: underline;
  text-decoration-color: rgba(75, 63, 158, .35);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: text-decoration-color .2s
}

.pp-doc a:hover {
  text-decoration-color: currentColor
}

/* product names stay whole ("Mind-CX", not "Mind-" and "CX" on two lines) */
.pp-intro a[href^="../mind-"] {
  white-space: nowrap
}

.pp-doc dl {
  margin-bottom: 0
}

.pp-doc dd {
  margin: 0;
  overflow-wrap: anywhere
}

.pp-note {
  padding: .85rem 1.1rem;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: rgba(247, 136, 29, .08)
}

/* a term and what it means, as small cards */
.pp-terms {
  display: grid;
  gap: .7rem
}

.pp-terms>div {
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card)
}

.pp-terms dt {
  font-weight: 600
}

.pp-terms dd {
  margin-top: .2rem;
  color: var(--muted)
}

/* contact details: label and value rows on one card */
.pp-card {
  padding: .35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card)
}

.pp-card>div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: .75rem 0
}

.pp-card>div+div {
  border-top: 1px solid var(--line)
}

.pp-card dt {
  padding-top: .3em;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted)
}

/* back to top: shown once the page header has scrolled away and hidden again over the footer
   (page script), so it never covers the footer links. Under the mobile menu (z-index 40). */
.pp-totop {
  position: fixed;
  z-index: 30;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--orange);
  box-shadow: 0 10px 26px -8px rgba(18, 14, 52, .6), inset 0 0 0 1px rgba(255, 255, 255, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s, background .2s
}

.pp-totop.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s, background .2s
}

.pp-totop:hover {
  background: var(--indigo)
}

.pp-totop svg {
  width: 20px;
  height: 20px
}

@media (min-width:921px) {
  .pp-totop {
    right: max(28px, env(safe-area-inset-right));
    bottom: 28px;
    width: 50px;
    height: 50px
  }
}

/* footer link to the page it is on */
.foot-line nav a[aria-current="page"] {
  color: #fff
}

/* phones and tablets: the contents are a folded "On this page" card above the text that opens
   on tap (the page script toggles .open). Without JavaScript the list simply shows. */
@media (max-width:920px) {
  .pp-hero {
    padding-top: calc(76px + clamp(2rem, 6vw, 3rem))
  }

  .pp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem
  }

  .pp-toc {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--card)
  }

  .pp-toc-label {
    margin: 0;
    padding: 1rem 1.1rem .6rem
  }

  .js .pp-toc-label {
    display: none
  }

  .js .pp-toc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 0 1.1rem;
    border-radius: var(--r);
    -webkit-tap-highlight-color: transparent
  }

  .pp-toc-btn:focus-visible {
    outline-offset: -2px
  }

  .pp-toc.open .pp-toc-btn svg {
    transform: rotate(180deg)
  }

  .js .pp-toc:not(.open) ol {
    display: none
  }

  .pp-toc ol {
    columns: 2;
    column-gap: 1.5rem;
    padding: .4rem 1.1rem .9rem;
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .pp-toc li {
    break-inside: avoid
  }

  .pp-toc a {
    margin-left: 0;
    padding: 8px 0;
    border-left: 0;
    font-size: .92rem
  }
}

/* phones: one column of contents, contact rows stacked (label above value) */
@media (max-width:560px) {
  .pp-toc ol {
    columns: 1
  }

  .pp-card {
    padding-inline: 1.1rem
  }

  .pp-card>div {
    grid-template-columns: minmax(0, 1fr);
    gap: .15rem
  }

  .pp-terms>div {
    padding: .85rem 1rem
  }
}

/* phones held sideways and other short windows: less room above and below the title, so the
   text starts on the first screen */
@media (max-height:520px) and (orientation:landscape) {
  .pp-hero {
    padding-top: calc(86px + 1.25rem);
    padding-bottom: 1.75rem
  }

  .pp-hero .lede {
    margin-top: .6rem
  }

  .pp-hero .pp-updated {
    margin-top: .8rem
  }
}

@media (prefers-reduced-motion:reduce) {

  .pp-totop,
  .pp-totop.on,
  .pp-toc-btn svg {
    transition: none
  }
}

/* printed or saved as PDF: the text only, black on white */
@media print {

  html:has(.pp-page) :is(.nav, .mobile-menu, .foot),
  .pp-toc,
  .pp-totop {
    display: none
  }

  html:has(.pp-page) body,
  .pp-hero,
  .pp-body {
    background: none;
    padding: 0 0 1rem
  }

  .pp-grid {
    display: block
  }

  .pp-page,
  .pp-page * {
    color: #000 !important
  }
}
