/* DeepEngine website
   Brand values come from the previous deepengine.com: a light grey page,
   black type in Inter Tight, large rounded panels, and blue, pink and black
   as the only colours. The blocks built on top of them are new. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/Inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/InterTight-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/InterTight-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;
}

:root {
  --bg: #05060b;
  --ink: #000;
  --white: #fff;
  --blue: #2e53d8;
  --blue-dark: #2343b6;
  --blue-soft: #dde7ff;
  --blue-light: #8ea5ff;
  --pink: #fbaefd;
  --pink-soft: #fed5ff;
  --violet: #a98ef5;
  --grey-100: #ececec;
  --grey-200: #e3e3e3;
  --grey-300: #d9d9d9;
  --grey-400: #b8b8b8;
  --grey-500: #9d9d9d;
  --grey-600: #666;
  --grey-900: #2f2f2f;
  --ok: #3fd08f;
  --ok-dark: #14894f;
  --warn: #f2c14e;
  --warn-dark: #95611c;
  --alert: #ff7a5c;
  --alert-dark: #c8371b;

  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --gutter: 16px;
  --section: 88px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Film grain for the black panels, so large dark areas do not look flat. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --surface: #0a0c14;
  --line: rgb(255 255 255 / 0.1);
  --line-2: rgb(255 255 255 / 0.18);
  --fg: #fff;
  --mute: rgb(255 255 255 / 0.68);
  --faint: rgb(255 255 255 / 0.42);
  --blue-bright: #5d83ff;
}
@media (min-width: 768px) {
  :root {
    --section: 140px;
  }
}
@media (min-width: 1000px) {
  :root {
    --gutter: 24px;
    --section: 168px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  color-scheme: dark;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
fieldset {
  padding: 0;
  border: 0;
  min-width: 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible {
  outline-color: var(--pink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}

/* ───────── Type ───────── */

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.t-l,
.t-m,
.t-s {
  font-family: var(--display);
  font-weight: 500;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(42px, 6.1vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.024em;
}
.h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.09;
  letter-spacing: -0.02em;
}
.h3 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.11;
  letter-spacing: -0.018em;
}
.h4 {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.016em;
}
.h5 {
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.012em;
}
.h6 {
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.t-l {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.006em;
}
.t-m {
  font-size: 20px;
  line-height: 1.4;
}
.t-s {
  font-size: 16px;
  line-height: 1.5;
}
.body-l {
  font-size: 17px;
  line-height: 1.6;
}
.body-s {
  font-size: 14px;
  line-height: 1.6;
}
@media (min-width: 576px) {
  .body-l {
    font-size: 18px;
  }
}
.dim {
  color: var(--mute);
}

/* ───────── Layout ───────── */

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: max(5%, 16px);
}
@media (min-width: 576px) {
  .container {
    max-width: 576px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1000px) {
  .container {
    box-sizing: content-box;
    width: auto;
    max-width: 1000px;
    padding-inline: 24px;
  }
}
@media (min-width: 1300px) {
  .container {
    max-width: 1208px;
  }
}
.wide {
  width: 100%;
  max-width: 1648px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  margin-block: var(--section);
}
main > .hero {
  margin-top: 56px;
  margin-bottom: var(--section);
}
@media (min-width: 1000px) {
  main > .hero {
    margin-top: 80px;
  }
}

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.33;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn--s {
  height: 40px;
  padding-inline: 16px;
  border-radius: 8px;
  font-size: 13px;
}
@media (min-width: 576px) {
  .btn--l {
    height: 56px;
    padding-inline: 22px;
    border-radius: 12px;
    font-size: 15px;
  }
}
.btn--black {
  background: var(--ink);
  color: var(--white);
}
.btn--black:hover {
  background: var(--grey-900);
}
/* The main action on the dark page: white, with light around it. */
.btn--primary {
  background: var(--white);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.3),
    0 8px 32px rgb(93 131 255 / 0.45);
}
.btn--primary:hover {
  box-shadow:
    0 0 0 1px var(--white),
    0 10px 48px rgb(251 174 253 / 0.65);
  transform: translateY(-1px);
}
.btn--white {
  background: var(--white);
  color: var(--ink);
}
.btn--white:hover {
  background: var(--grey-200);
}
.btn--ghost {
  border-color: var(--line-2);
  color: var(--fg);
}
.btn--ghost:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.32);
}

/* Small rounded label above a section title, as on the previous site. */
.label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.07);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.33;
  border: 1px solid var(--line);
  color: var(--fg);
}

/* Agent marks. A tile with a glyph for what the agent does; the tile takes a
   brand colour. They are the site's way of drawing an agent, used wherever
   one is named. */
.sigil {
  flex: none;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 30%;
  background: linear-gradient(135deg, #b9a2ff, #6d4fe0);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4),
    inset 0 0 0 1px rgb(255 255 255 / 0.12);
}
.sigil svg {
  width: 100%;
  height: 100%;
}
.sigil--pink {
  background: linear-gradient(135deg, #fdcdfe, #d68cf5);
  color: #2a0f3d;
}
.sigil--blue {
  background: linear-gradient(135deg, #7394ff, #2e53d8);
}
.sigil--white {
  background: linear-gradient(135deg, #fff, #d6dcf2);
  color: #0b0d15;
}
.sigil--black {
  background: linear-gradient(135deg, #2a2e44, #07080e);
  color: var(--pink);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    inset 0 0 0 1px rgb(255 255 255 / 0.2);
}
/* DeepEngine itself wears its own mark. */
.sigil--mark {
  background: linear-gradient(135deg, #1b2150, #000);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.3),
    inset 0 0 0 1px rgb(255 255 255 / 0.22);
}
.sigil--mark svg {
  width: 36%;
  height: auto;
}
/* A ring of light leaves the mark now and then. */
.sigil--live::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.6);
  opacity: 0;
  animation: ring 3.6s var(--out) infinite;
}
@keyframes ring {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
/* What the product itself labels as beta. */
.beta {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  vertical-align: middle;
  opacity: 0.75;
}

.block-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}
.block-head p {
  max-width: 560px;
}
@media (min-width: 1000px) {
  .block-head {
    gap: 24px;
    margin-bottom: 64px;
  }
  .block-head :is(h2, h3) {
    max-width: 800px;
  }
}
.block-head--row {
  width: 100%;
}
.block-head--row > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media (min-width: 768px) {
  .block-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
@media (min-width: 1000px) {
  .block-head--row > div:first-child {
    gap: 24px;
  }
}

/* ───────── Header ───────── */

.header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding-block: 12px;
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-inline: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    padding 0.3s var(--ease);
}
/* Once the page moves, the bar lifts off as a frosted strip. */
.header.is-stuck .header__bar,
.header.is-open .header__bar {
  padding-inline: 12px 8px;
  background: rgb(8 10 18 / 0.72);
  border-color: var(--line);
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
.header.is-open .header__bar {
  border-radius: 18px 18px 0 0;
  border-bottom-color: transparent;
  box-shadow: none;
}
.header__logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: 12px;
}
.header__logo img {
  height: 30px;
  width: auto;
  filter: invert(1);
}
@media (min-width: 1000px) {
  .header__logo img {
    height: 34px;
  }
  .header__logo {
    margin-right: 20px;
  }
}
.nav,
.header__actions {
  display: none;
}
.languages {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.languages a {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 7px;
  color: var(--mute);
  font-size: 12px;
  font-weight: 500;
}
.languages a[aria-current],
.languages a:hover {
  color: var(--ink);
  background: var(--white);
}
.burger {
  flex: none;
  margin-left: auto;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.languages ~ .burger {
  margin-left: 0;
}
.burger span,
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 9px;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s var(--ease);
}
.burger::before {
  top: 13px;
}
.burger span {
  top: 19px;
}
.burger::after {
  top: 25px;
}
.header.is-open .burger::before {
  transform: translateY(6px) rotate(45deg);
}
.header.is-open .burger::after {
  transform: translateY(-6px) rotate(-45deg);
}
.header.is-open .burger span {
  opacity: 0;
}
.mobile-menu {
  display: none;
  padding: 8px 12px 20px;
  background: rgb(8 10 18 / 0.96);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 24px 40px rgb(0 0 0 / 0.5);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header.is-open .mobile-menu {
  display: block;
}
.mobile-menu__links a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.33;
}
.mobile-menu__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.mobile-menu__actions .btn {
  flex: 1 1 140px;
}
@media (min-width: 1180px) {
  .burger,
  .mobile-menu,
  .header.is-open .mobile-menu {
    display: none;
  }
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
  }
  .nav a {
    position: relative;
    padding-block: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--mute);
    transition: color 0.2s var(--ease);
  }
  .nav a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.25s var(--ease);
  }
  .nav a:hover::before,
  .nav a[aria-current='page']::before {
    width: 100%;
  }
  .header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }
  .languages + .header__actions {
    margin-left: 0;
  }
  .header__actions .btn {
    height: 44px;
  }
}
@media (max-width: 1179px) {
  html:not(.js) .mobile-menu {
    display: block;
  }
  html:not(.js) .burger {
    display: none;
  }
}
@media (max-width: 575px) {
  .header__bar {
    gap: 8px;
  }
  .header__logo {
    margin-right: 0;
  }
  .header__logo img {
    width: 142px;
    height: auto;
  }
}

/* ───────── Hero ───────── */

.heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.heading__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 1000px) {
  .heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }
  .heading__title {
    max-width: 720px;
  }
  .heading--wide .heading__title {
    max-width: 800px;
  }
  .heading__side {
    flex: 0 0 340px;
    gap: 28px;
    padding-bottom: 12px;
  }
}
@media (min-width: 1300px) {
  .heading__side {
    flex-basis: 440px;
  }
  .heading--wide .heading__side {
    flex-basis: 380px;
  }
}
.heading__kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero > .wide {
  margin-top: 48px;
}
@media (min-width: 1000px) {
  .hero > .wide {
    margin-top: 56px;
  }
}

/* The black stage under the hero copy. Blue and pink light rises from its
   bottom edge; whatever stands on it is cut off by that edge. */
.stage {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  border-radius: 24px;
  color: var(--white);
  border: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .stage {
    border-radius: 40px;
  }
}
.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(42% 58% at 16% 108%, rgb(251 174 253 / 0.55), transparent 70%),
    radial-gradient(42% 58% at 84% 108%, rgb(251 174 253 / 0.55), transparent 70%),
    radial-gradient(80% 60% at 50% 115%, rgb(46 83 216 / 0.95), transparent 72%),
    radial-gradient(40% 30% at 85% 0%, rgb(46 83 216 / 0.22), transparent 70%);
  animation: breathe 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@keyframes breathe {
  from {
    opacity: 0.8;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}
.stage > * {
  position: relative;
  z-index: 1;
}
.stage__set {
  position: relative;
  width: 100%;
  margin: 32px auto 0;
  padding: 0 10px;
}
@media (min-width: 768px) {
  .stage__set {
    margin-top: 56px;
    padding: 0 32px;
  }
}
@media (min-width: 1100px) {
  .stage__set {
    max-width: 1060px;
    margin-top: 64px;
    padding: 0;
  }
}
.frame {
  padding: 3px 3px 0;
  border-radius: 16px 16px 0 0;
  background: conic-gradient(from var(--spin), #2e53d8 0%, #a98ef5 16%, #fff 28%, #fbaefd 40%, #2e53d8 58%, #0b1035 78%, #2e53d8 100%);
  box-shadow: 0 -30px 120px rgb(93 131 255 / 0.5), 0 0 70px rgb(251 174 253 / 0.2);
  animation: spin-border 10s linear infinite;
}
@media (min-width: 1000px) {
  .frame {
    padding: 4px 4px 0;
    border-radius: 22px 22px 0 0;
  }
}
.frame__inner {
  overflow: hidden;
  border-radius: 13px 13px 0 0;
  background: #fff;
}
@media (min-width: 1000px) {
  .frame__inner {
    border-radius: 18px 18px 0 0;
  }
}
.stage > .replay {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 10px;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  background: rgb(0 0 0 / 0.45);
  color: #fff;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    background-color 0.2s var(--ease);
}
.stage > .replay.is-on {
  opacity: 1;
  pointer-events: auto;
}
.replay:hover {
  background: rgb(0 0 0 / 0.7);
}
.replay svg {
  width: 16px;
  height: 16px;
}

/* The hero's stage: a row of bots to pick from, then the app they work in. */
.stage--demo {
  flex-direction: column;
  align-items: stretch;
}
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px 0;
  color: rgb(255 255 255 / 0.62);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.demo-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
}
.js .demo-toggle {
  display: inline-flex;
}
.demo-toggle:hover {
  background: rgb(255 255 255 / 0.1);
}
.demo-toggle__icon {
  width: 9px;
  height: 10px;
  border-inline: 2px solid currentColor;
}
.demo-toggle[aria-pressed='true'] .demo-toggle__icon {
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-right: 0;
}
.stage.is-paused::before {
  animation-play-state: paused;
}
@media (min-width: 768px) {
  .demo-toolbar {
    padding: 20px 32px 0;
  }
}
.cast {
  display: none;
}
.js .cast {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  padding-inline: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cast::-webkit-scrollbar {
  display: none;
}
.cast::before,
.cast::after {
  content: '';
  flex: 1 0 0;
}
@media (min-width: 768px) {
  .js .cast {
    gap: 10px;
    margin-top: 28px;
  }
}
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 8px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.07);
  color: rgb(255 255 255 / 0.82);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.chip:hover {
  background: rgb(255 255 255 / 0.14);
}
.chip[aria-pressed='true'] {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}
.chip .sigil {
  width: 28px;
  height: 28px;
}
.chip small {
  color: rgb(255 255 255 / 0.5);
  font-family: var(--text);
  font-size: 13px;
  font-weight: 400;
  transition: color 0.25s var(--ease);
}
.chip[aria-pressed='true'] small {
  color: var(--grey-600);
}
@media (max-width: 767px) {
  .chip small {
    display: none;
  }
}
.stage--demo .stage__set {
  margin-top: 24px;
}
@media (min-width: 768px) {
  .stage--demo .stage__set {
    margin-top: 32px;
  }
}

/* ───────── Product view: the app (hero) ─────────
   Colours are the product's own (design/tokens.css): white surfaces, a dark
   violet rail, one violet accent. */

.app {
  --a-ink: #242329;
  --a-mid: #615d6c;
  --a-dim: #777581;
  --a-line: #eae7f0;
  --a-violet: #7950dd;
  --a-violet-soft: #f4effe;
  display: grid;
  grid-template-columns: 1fr;
  height: 500px;
  background: #fff;
  color: var(--a-ink);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.app__rail,
.app__side {
  display: none;
}
@media (min-width: 768px) {
  .app {
    grid-template-columns: 48px 204px 1fr;
    height: 560px;
    font-size: 13.5px;
  }
  .app__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    background: #110d1a;
    color: #fff;
  }
  .app__side {
    display: block;
    padding: 14px 10px;
    background: #faf9fc;
    border-right: 1px solid var(--a-line);
  }
}
.app__mark svg {
  width: 16px;
  height: 20px;
}
.app__org-badge {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
}
.app__org {
  padding: 2px 8px 10px;
  font-size: 14px;
  font-weight: 600;
}
.app__menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--a-mid);
}
.app__menu svg {
  flex: none;
  width: 15px;
  height: 15px;
}
.app__menu b {
  margin-left: auto;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--a-violet);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--out);
}
.app__menu b.is-off {
  opacity: 0;
  transform: scale(0.6);
}
.app__menu li.is-active {
  background: var(--a-violet-soft);
  color: var(--a-violet);
  font-weight: 500;
}
.app__group {
  margin: 14px 8px 4px;
  color: var(--a-dim);
  font-size: 11px;
  font-weight: 500;
}
.app__menu .sigil {
  width: 16px;
  height: 16px;
}
.app__head .sigil {
  width: 22px;
  height: 22px;
}
.app__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.scene {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.scene[hidden] {
  display: none;
}
.app__head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--a-line);
}
.app__head strong {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.app__tag {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 1px 7px;
  border: 1px solid var(--a-line);
  border-radius: 6px;
  color: var(--a-mid);
  font-size: 11px;
}
.app__status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: #e9f7ef;
  color: #14894f;
  font-size: 11px;
  font-weight: 500;
}
.app__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.app__status[data-state='running'] {
  background: var(--a-violet-soft);
  color: var(--a-violet);
}
.app__status[data-state='running'] i {
  animation: blink 1s ease-in-out infinite;
}
.app__status[data-state='idle'] {
  visibility: hidden;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
/* The thread fills from the top, so its first lines show on a laptop screen
   before anyone has scrolled. */
.app__thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  overflow: hidden;
  padding: 18px 20px 14px;
}
.app__composer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0 20px 16px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgb(36 35 41 / 0.04);
}
.app__input {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app__input:empty::before {
  content: attr(data-placeholder);
  color: var(--a-dim);
}
.app__input.is-typing::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 1px;
  background: var(--a-violet);
  vertical-align: -0.15em;
  animation: blink 0.9s steps(2) infinite;
}
.app__send {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--a-violet);
  color: #fff;
}
.app__send svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.75;
}
.msg {
  flex: none;
  display: flex;
  gap: 10px;
}
.msg__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--a-line);
  color: var(--a-mid);
  font-size: 10px;
  font-weight: 600;
}
.msg__avatar--ai {
  background: var(--a-violet-soft);
  color: var(--a-violet);
}
.msg__avatar svg {
  width: 11px;
  height: 14px;
}
.msg__avatar--bot {
  background: none;
}
.msg__avatar--bot .sigil {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.msg__avatar--bot .sigil svg {
  width: 100%;
  height: 100%;
}
/* Something other than a person started the conversation. */
.event {
  flex: none;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 8px;
  border: 1px solid var(--a-line);
  border-radius: 999px;
  background: #faf9fc;
  color: var(--a-mid);
  font-size: 12px;
}
.event svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--a-violet);
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.sources li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 7px;
  border: 1px solid var(--a-line);
  border-radius: 8px;
  background: #faf9fc;
  font-size: 12px;
}
.sources svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--a-violet);
}
.slip {
  max-width: 480px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  background: #faf9fc;
}
.slip__kind {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--a-violet);
  font-size: 12px;
  font-weight: 500;
}
.slip__kind svg {
  flex: none;
  width: 14px;
  height: 14px;
}
.slip__title {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}
.slip p {
  color: var(--a-mid);
  font-size: 12px;
}
.slip__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.msg__body {
  min-width: 0;
}
.msg__meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.msg__meta strong {
  font-weight: 600;
}
.msg__meta em {
  padding: 0 4px;
  border: 1px solid #e2d8fb;
  border-radius: 4px;
  color: var(--a-violet);
  font-size: 10px;
  font-style: normal;
}
.msg__meta span {
  color: var(--a-dim);
  font-size: 11px;
}
.msg__mention {
  color: var(--a-violet);
  font-weight: 500;
}
.msg__steps {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  color: var(--a-mid);
  font-size: 12px;
}
.msg__steps li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.msg__steps .tick {
  color: #14894f;
}
.msg__steps li.is-busy .tick {
  display: none;
}
.msg__steps li:not(.is-busy) .spin {
  display: none;
}
.msg__steps .spin {
  border-color: #e2d8fb;
  border-top-color: var(--a-violet);
}
.tick {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
}
.tick svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
}
.spin {
  flex: none;
  width: 12px;
  height: 12px;
  margin: 1px;
  border: 1.5px solid rgb(255 255 255 / 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.approval {
  max-width: 480px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid #f0dfc0;
  border-radius: 12px;
  background: #fdf8ee;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.approval__state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #95611c;
  font-size: 12px;
  font-weight: 500;
}
.approval__state svg {
  width: 14px;
  height: 14px;
}
.approval__title {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}
.approval__rule {
  color: var(--a-mid);
  font-size: 12px;
}
.approval__actions {
  gap: 8px;
  margin-top: 10px;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #eae7f0;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  transition:
    transform 0.15s var(--ease),
    filter 0.15s var(--ease);
}
.app-btn--primary {
  border-color: #7950dd;
  background: #7950dd;
  color: #fff;
}
.app-btn.is-pressed {
  transform: scale(0.94);
  filter: brightness(0.85);
}
/* An approval has two faces, and one of them is shown. */
[data-approval] .when-pending {
  display: flex;
}
[data-approval] .when-approved,
[data-approval='approved'] .when-pending {
  display: none;
}
[data-approval='approved'] .when-approved {
  display: flex;
}
.approval[data-approval='approved'] {
  border-color: #cdebd9;
  background: #f1faf5;
}
.approval[data-approval='approved'] .approval__state {
  color: #14894f;
}

/* The same approval on the phone. */
.phone {
  display: none;
}
@media (min-width: 1100px) {
  .phone {
    display: block;
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: -64px;
    width: 232px;
    padding: 7px;
    border-radius: 40px;
    background: #0c0c0f;
    box-shadow:
      0 0 0 1px rgb(255 255 255 / 0.22),
      0 40px 90px rgb(0 0 0 / 0.65),
      0 0 80px rgb(169 142 245 / 0.25);
    transition:
      transform 0.9s var(--out),
      opacity 0.5s var(--ease);
  }
}
/* The conversation keeps clear of the phone. On wide screens the phone
   stands half outside the window, so less room is needed. */
@media (min-width: 1100px) {
  .app {
    height: 584px;
  }
  .app__thread {
    padding-right: 272px;
  }
  .app__composer {
    margin-right: 272px;
  }
}
@media (min-width: 1360px) {
  .phone {
    right: -92px;
  }
  .app__thread {
    padding-right: 170px;
  }
  .app__composer {
    margin-right: 170px;
  }
}
.phone__screen {
  position: relative;
  height: 410px;
  overflow: hidden;
  border-radius: 33px;
  background: #faf9fc;
  color: #242329;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: left;
}
.phone__notch {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 74px;
  height: 22px;
  border-radius: 999px;
  background: #0c0c0f;
  transform: translateX(-50%);
}
.phone__bar {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px 0;
  font-size: 11px;
  font-weight: 600;
}
.phone__title {
  padding: 26px 18px 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.phone__card {
  margin: 0 12px;
  padding: 14px;
  border: 1px solid #eae7f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(36 35 41 / 0.06);
}
.phone__from {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #615d6c;
  font-size: 11px;
}
.phone__from .sigil {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.phone__from small {
  margin-left: auto;
  color: #777581;
  font-size: 10.5px;
}
.phone__view {
  height: 100%;
}
.phone__view[hidden] {
  display: none;
}
/* A push notification on the lock screen. */
.phone__view--lock {
  background:
    radial-gradient(120% 70% at 85% 0%, #fbaefd, transparent 62%),
    radial-gradient(130% 90% at 0% 100%, #2e53d8, transparent 66%), #a98ef5;
  color: #fff;
}
.phone__clock {
  padding: 34px 0 24px;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.phone__push {
  margin: 0 10px;
  padding: 12px 13px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.88);
  color: #242329;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.phone__push strong {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.phone__push p {
  margin-top: 3px;
  color: #615d6c;
  font-size: 11.5px;
}
.phone__card strong {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}
.phone__card p {
  margin-top: 4px;
  color: #615d6c;
  font-size: 11.5px;
}
.phone__actions {
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
}
.phone__actions .app-btn {
  height: 34px;
  border-radius: 10px;
  font-size: 12.5px;
}
.phone__done {
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #e9f7ef;
  color: #14894f;
  font-size: 12px;
  font-weight: 500;
}

/* Playback: while armed, each part waits for its turn. Without script, or
   with reduced motion, nothing is armed and the finished thread shows. */
.scene.is-armed [data-at]:not(.is-in) {
  display: none;
}
.scene.is-armed [data-at].is-in {
  animation: rise 0.5s var(--out) both;
}
.phone.is-armed:not(.is-in) {
  opacity: 0;
  transform: translateY(120px) rotate(4deg);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ───────── Questions marquee ───────── */

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding-block: 48px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01));
}
@media (min-width: 1000px) {
  .panel {
    border-radius: 40px;
    padding-block: 88px 96px;
  }
}
.panel__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-inline: 24px;
  text-align: center;
}
.panel__head .h3 {
  max-width: 820px;
}
.panel__head p {
  max-width: 520px;
}
.marquee {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
@media (min-width: 1000px) {
  .marquee {
    gap: 20px;
    margin-top: 72px;
  }
}
.marquee__row {
  display: flex;
  overflow: hidden;
}
.marquee__track {
  flex: none;
  display: flex;
  gap: 16px;
  padding-right: 16px;
  animation: slide 56s linear infinite;
}
@media (min-width: 1000px) {
  .marquee__track {
    gap: 20px;
    padding-right: 20px;
  }
}
.marquee__row--rev .marquee__track {
  animation-direction: reverse;
  animation-duration: 64s;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-100%);
  }
}
.ask {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 22px 22px 22px 6px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--mute);
}
@media (min-width: 1000px) {
  .ask {
    padding: 18px 28px 18px 20px;
    font-size: 20px;
  }
}
.ask i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.4);
}
.ask--white {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}
.ask--white i {
  background: var(--blue);
}
.ask--pink {
  border-color: var(--pink);
  background: var(--pink);
  color: var(--ink);
}
.ask--pink i {
  background: var(--ink);
}
.ask--blue {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}
.ask--blue i {
  background: var(--pink);
}

/* ───────── Scroll story: propose, decide, approve, act ───────── */

.system-console {
  width: min(100%, 440px);
  margin: auto;
  overflow: hidden;
  border: 1px solid #34343d;
  border-radius: 18px;
  background: #17171c;
  color: #e9e9ee;
  text-align: left;
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.12);
}
.system-console__head,
.system-console__foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px;
  font-size: 11px;
}
.system-console__head {
  border-bottom: 1px solid #34343d;
}
.system-console__head > svg {
  width: 16px;
  height: 16px;
}
.system-console__head .pill {
  margin-left: auto;
  font-size: 10px;
}
.system-console__body {
  padding: 24px 18px;
  font-family: var(--mono);
  font-size: 12px;
}
.system-console__command {
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.system-console__command span {
  color: var(--pink);
  margin-right: 8px;
}
.system-console__body li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-block: 8px;
  color: #a9a9b7;
}
.system-console__body strong {
  color: #7fddae;
  font-weight: 400;
}
.system-console__foot {
  border-top: 1px solid #34343d;
  color: #a9a9b7;
}
.system-console__foot > span:last-child {
  margin-left: auto;
  font-size: 10px;
}
.system-console__foot .sigil {
  width: 22px;
  height: 22px;
}

.story__box {
  position: relative;
  isolation: isolate;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  overflow: clip;
  border: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .story__box {
    border-radius: 40px;
  }
}
.story__box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 40% at 100% 0%, rgb(46 83 216 / 0.45), transparent 70%),
    radial-gradient(40% 30% at 0% 100%, rgb(251 174 253 / 0.22), transparent 70%);
}
.story__box::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.14;
  mix-blend-mode: overlay;
}
.story__inner {
  display: grid;
  gap: 40px;
  padding-block: 56px;
}
.story__lines {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}
.story__lines p {
  max-width: 440px;
  margin-top: 10px;
  color: rgb(255 255 255 / 0.7);
}
.receipt {
  width: 100%;
  max-width: 500px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@media (min-width: 768px) {
  .receipt {
    padding: 32px;
  }
}
.receipt__cmd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgb(255 255 255 / 0.25);
}
.receipt__cmd .sigil {
  width: 40px;
  height: 40px;
}
.receipt__cmd code {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.92);
  overflow-wrap: anywhere;
}
.receipt__cmd div span {
  color: rgb(255 255 255 / 0.6);
  font-size: 13px;
}
.receipt__rows > li {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed rgb(255 255 255 / 0.18);
  transition: opacity 0.5s var(--ease);
}
.receipt__rows > li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.receipt__dot {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.receipt__dot svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  transition: opacity 0.3s var(--ease);
}
.receipt__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.receipt__detail {
  grid-column: 2;
  color: rgb(255 255 255 / 0.66);
  font-size: 14px;
}
.receipt__extra {
  grid-column: 2;
  margin-top: 10px;
}
.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgb(255 255 255 / 0.75);
}
.chain span {
  padding: 3px 8px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 6px;
}
.chain span:last-of-type {
  border-color: var(--ok);
  color: var(--ok);
}
.chain i {
  width: 10px;
  height: 1px;
  background: rgb(255 255 255 / 0.4);
}
.chain b {
  margin-right: 4px;
  font-family: var(--text);
  font-weight: 400;
  color: rgb(255 255 255 / 0.55);
}
/* Rows fill in as the story reaches them. Without script all are filled. */
.js .story.is-live .receipt__rows > li:not(.is-on) {
  opacity: 0.28;
}
.js .story.is-live .receipt__rows > li:not(.is-on) .receipt__dot {
  background: transparent;
  border-color: rgb(255 255 255 / 0.3);
}
.js .story.is-live .receipt__rows > li:not(.is-on) .receipt__dot svg {
  opacity: 0;
}
.js .story.is-live .receipt__rows > li:not(.is-on) :is(.receipt__extra, .pill) {
  visibility: hidden;
}

@media (min-width: 1000px) {
  /* One screen that stays put while the page moves on behind it. */
  .js .story.is-live .story__box {
    height: 340vh;
  }
  .js .story.is-live .story__sticky {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    height: 100vh;
    min-height: 620px;
  }
  .story__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
    align-items: center;
    gap: 72px;
    padding-block: 104px;
  }
  .js .story.is-live .story__inner {
    width: 100%;
    padding-block: 0;
  }
  .story__lines {
    margin-top: 32px;
  }
  .js .story.is-live .story__lines {
    gap: 4px;
  }
  .js .story.is-live .story__lines li {
    color: rgb(255 255 255 / 0.26);
    transition: color 0.5s var(--ease);
  }
  .js .story.is-live .story__lines li.is-on {
    color: var(--white);
  }
  .js .story.is-live .story__lines p {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    transition:
      grid-template-rows 0.5s var(--out),
      opacity 0.4s var(--ease),
      margin 0.5s var(--out);
  }
  .js .story.is-live .story__lines p > span {
    overflow: hidden;
  }
  .js .story.is-live .story__lines li.is-on p {
    grid-template-rows: 1fr;
    margin: 10px 0 22px;
    opacity: 1;
  }
}

/* ───────── Bot maker: choose a job, a level and who may use it ─────────
   Plain radio buttons; :has() shows the matching parts of the card, so it
   works without script. */

.maker {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 48px;
  padding: 40px 24px 48px;
  border-radius: 24px;
  background: var(--blue);
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 0.16);
}
.maker::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 0% 100%, rgb(0 0 0 / 0.42), transparent 70%),
    radial-gradient(45% 55% at 100% 0%, rgb(251 174 253 / 0.38), transparent 70%);
}
.maker::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.12;
  mix-blend-mode: overlay;
}
.maker > * {
  min-width: 0;
}
@media (min-width: 1000px) {
  .maker {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 72px;
    align-items: center;
    padding: 96px max(5%, 64px);
    border-radius: 40px;
  }
}
.maker__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.maker__copy > p {
  max-width: 500px;
  color: rgb(255 255 255 / 0.82);
}
.maker__group {
  width: 100%;
  margin-top: 8px;
}
.maker__group legend {
  margin-bottom: 10px;
  padding: 0;
  color: rgb(255 255 255 / 0.74);
  font-size: 14px;
}
.maker__picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.pick--sigil {
  padding-left: 8px;
}
.pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pick:hover {
  background: rgb(255 255 255 / 0.12);
}
.pick:has(input:checked) {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}
.pick:has(input:focus-visible) {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
.maker__card {
  position: relative;
}
/* A second card behind the first gives the stack some depth. */
.maker__card::before {
  content: '';
  position: absolute;
  inset: 5% -1% -3% 5%;
  border-radius: 28px;
  background: var(--pink);
  transform: rotate(3deg);
}
.botcard {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.28);
}
@media (min-width: 768px) {
  .botcard {
    padding: 36px 36px 28px;
    border-radius: 28px;
    transform: rotate(-1deg);
  }
}
.botcard__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.botcard__head .sigil {
  width: 64px;
  height: 64px;
}
.botcard__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.bot-tag {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--grey-100);
  color: var(--grey-600);
  font-family: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.botcard__purpose {
  color: var(--grey-600);
  font-size: 15px;
  line-height: 1.45;
}
.botcard__say {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f2f2f5;
  font-size: 15px;
  line-height: 1.55;
}
.botcard__say b {
  display: block;
  margin-bottom: 4px;
  color: var(--grey-600);
  font-size: 13px;
  font-weight: 400;
}
.botcard__rows {
  margin-top: 18px;
  border-top: 1px solid var(--grey-200);
}
.botcard__rows > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: 15px;
}
.botcard__rows--last > div:last-child {
  border-bottom: 0;
}
.botcard__rows dt {
  color: var(--grey-600);
  font-size: 14px;
}
.botcard__rows dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.botcard__rows--last {
  margin-top: 0;
  border-top: 0;
}
.botcard .tag {
  padding: 2px 9px;
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  font-size: 13px;
}
[data-job],
[data-level],
[data-access] {
  animation: swap 0.4s var(--out);
}
.maker:has(#job-0:checked) [data-job]:not([data-job='0']),
.maker:has(#job-1:checked) [data-job]:not([data-job='1']),
.maker:has(#job-2:checked) [data-job]:not([data-job='2']),
.maker:has(#job-3:checked) [data-job]:not([data-job='3']),
.maker:has(#job-4:checked) [data-job]:not([data-job='4']),
.maker:has(#level-0:checked) [data-level]:not([data-level='0']),
.maker:has(#level-1:checked) [data-level]:not([data-level='1']),
.maker:has(#level-2:checked) [data-level]:not([data-level='2']),
.maker:has(#access-0:checked) [data-access]:not([data-access='0']),
.maker:has(#access-1:checked) [data-access]:not([data-access='1']) {
  display: none;
}
/* Browsers without :has() show the first choice and no controls. */
@supports not selector(:has(*)) {
  .maker__group,
  [data-job]:not([data-job='0']),
  [data-level]:not([data-level='0']),
  [data-access]:not([data-access='0']) {
    display: none;
  }
}

/* ───────── Bento ───────── */

.bento {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .bento {
    gap: 24px;
  }
}
/* Two columns need room for the views; below that the cells stack. */
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
  }
}
.cell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  padding: 28px 24px 0;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .cell {
    padding: 40px 40px 0;
    border-radius: 32px;
  }
}
@media (min-width: 1000px) {
  .cell {
    grid-column: span 6;
    min-height: 500px;
  }
  .cell--7 {
    grid-column: span 7;
  }
  .cell--5 {
    grid-column: span 5;
  }
}
.cell__copy p {
  max-width: 420px;
  margin-top: 10px;
  color: var(--mute);
}
.cell__view {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}
.cell--center .cell__view {
  justify-content: center;
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  .cell--center .cell__view {
    padding-bottom: 44px;
  }
}
.cell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 55% at 100% 100%, rgb(var(--tone, 46 83 216) / var(--tone-a, 0.75)), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgb(var(--tone-2, 251 174 253) / 0.22), transparent 70%);
}
.cell::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.14;
  mix-blend-mode: overlay;
}
.cell--pink {
  --tone: 251 174 253;
  --tone-a: 0.34;
  --tone-2: 46 83 216;
}
.cell--blue {
  background: var(--blue);
  color: var(--white);
}
.cell--blue::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 60% at 0% 100%, rgb(0 0 0 / 0.35), transparent 70%);
}
.cell--violet {
  --tone: 169 142 245;
  --tone-a: 0.5;
  --tone-2: 46 83 216;
}
/* A view standing on the bottom edge of its cell, cut off like the product
   window in the hero. */
.sink {
  margin-bottom: -22px;
}
.bento__foot {
  margin-top: 40px;
}

/* ───────── UI kit for product views ─────────
   Small cards that take their colours from the tile they sit on. Dark is the
   default; .ui--light and .ui--blue reassign the variables. */

.ui {
  --u-ink: #fff;
  --u-mute: rgb(255 255 255 / 0.64);
  --u-dim: rgb(255 255 255 / 0.5);
  --u-line: rgb(255 255 255 / 0.2);
  --u-line-soft: rgb(255 255 255 / 0.12);
  --u-bg: rgb(255 255 255 / 0.07);
  --u-bg2: rgb(255 255 255 / 0.1);
  --u-solid: #fff;
  --u-on-solid: #000;
  --u-shadow: none;
  --u-ok: var(--ok);
  --u-warn: var(--warn);
  --u-alert: var(--alert);
  --u-info: var(--blue-light);
  --u-pink: var(--pink);
  color: var(--u-ink);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.ui--light {
  --u-ink: #000;
  --u-mute: #5e5e5e;
  --u-dim: #808080;
  --u-line: rgb(0 0 0 / 0.1);
  --u-line-soft: rgb(0 0 0 / 0.08);
  --u-bg: #fff;
  --u-bg2: #f0f0f0;
  --u-solid: #000;
  --u-on-solid: #fff;
  --u-shadow: 0 12px 32px rgb(0 0 0 / 0.06);
  --u-ok: var(--ok-dark);
  --u-warn: var(--warn-dark);
  --u-alert: var(--alert-dark);
  --u-info: var(--blue);
  --u-pink: #d95fdd;
}
.ui--blue {
  --u-line: rgb(255 255 255 / 0.28);
  --u-bg: rgb(255 255 255 / 0.12);
  --u-bg2: rgb(255 255 255 / 0.16);
  --u-info: #fff;
}
.glass {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--u-line);
  border-radius: 16px;
  background: var(--u-bg);
  box-shadow: var(--u-shadow);
}
.glass__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.glass__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--u-mute);
  font-size: 13px;
}
.glass__kicker svg {
  width: 14px;
  height: 14px;
}
.glass__kicker--warn {
  color: var(--u-warn);
}
.glass__hint {
  color: var(--u-dim);
  font-size: 12px;
}
.glass__title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}
.glass__text {
  margin-top: 4px;
  color: var(--u-mute);
}
.glass__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--u-mute);
  font-size: 12px;
}
.glass__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.g-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--u-solid);
  border-radius: 8px;
  background: var(--u-solid);
  color: var(--u-on-solid);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.g-btn--ghost {
  border-color: var(--u-line);
  background: transparent;
  color: var(--u-ink);
}
.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border: 1px solid var(--u-line, rgb(255 255 255 / 0.2));
  border-radius: 999px;
  color: var(--u-ink, #fff);
  font-family: var(--text);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill--ok i {
  background: var(--u-ok, var(--ok));
}
.pill--warn i {
  background: var(--u-warn, var(--warn));
}
.pill--alert i {
  background: var(--u-alert, var(--alert));
}
.pill--blue i {
  background: var(--u-info, var(--blue-light));
}
.pill--pink i {
  background: var(--u-pink, var(--pink));
}

.steps {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--u-mute);
}
.steps .is-done .tick {
  color: var(--u-ok);
}
.steps .is-now {
  color: var(--u-ink);
}
.bubble {
  align-self: flex-start;
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--pink);
  color: #000;
}
.bubble b {
  font-weight: 600;
}
.v-run {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}
.v-run .glass {
  align-self: flex-end;
  width: 88%;
}
.v-split {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.v-single {
  display: flex;
  justify-content: center;
}
.v-single .glass {
  width: min(100%, 590px);
}
.rows li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--u-line-soft);
}
.rows li:first-child {
  padding-top: 0;
  border-top: 0;
}
.rows li:last-child {
  padding-bottom: 0;
}
.rows--tall li {
  padding: 11px 0;
}
.rows__name {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rows__sub {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--u-dim);
  font-size: 13px;
  white-space: nowrap;
}
.rows__icon,
.rows__face {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--u-bg2);
}
.rows__icon svg {
  width: 16px;
  height: 16px;
}
.rows__face {
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}
.path {
  display: grid;
}
.path li {
  position: relative;
  display: grid;
  grid-template-columns: 12px 1fr;
  column-gap: 10px;
  padding-bottom: 16px;
}
.path li:last-child {
  padding-bottom: 0;
}
.path li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 16px;
  bottom: -3px;
  width: 1px;
  background: var(--u-line);
}
.path i {
  grid-row: span 2;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--u-ink);
}
.path small {
  grid-column: 2;
  color: var(--u-dim);
  font-size: 11px;
}
.path--pink i {
  background: var(--u-pink);
}
.path--blue i {
  background: var(--u-info);
}
.path--ok i {
  background: var(--u-ok);
}
.bot {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.bot__face {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--u-bg2);
}
.bot__face svg {
  width: 24px;
  height: 24px;
}
.seg {
  display: flex;
  gap: 2px;
  margin-top: 14px;
  padding: 3px;
  border-radius: 10px;
  background: var(--u-bg2);
}
.seg span {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 4px 6px;
  border-radius: 7px;
  color: var(--u-mute);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}
.seg .is-on {
  background: var(--u-solid);
  color: var(--u-on-solid);
  font-weight: 500;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}
.tags__label {
  margin-right: 2px;
  color: var(--u-dim);
  font-size: 12px;
}
.tag {
  padding: 1px 8px;
  border: 1px solid var(--u-line);
  border-radius: 6px;
  font-size: 11px;
}
.tree li {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--u-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tree .is-on {
  background: var(--u-bg2);
  color: var(--u-ink);
}
.note {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.v-dash {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v-dash__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.v-dash__org {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
}
.stat strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
}
.stat--ok i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--u-ok);
}
.health {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-block: 22px;
  text-align: center;
}
.health__ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgb(63 208 143 / 0.5);
  border-radius: 50%;
}
.health__ring i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 24px var(--ok);
}
.health strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
}
.v-pairs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pair {
  display: grid;
  gap: 6px;
}
.pair .glass {
  padding: 10px 14px;
}
.pair p {
  margin-top: 2px;
}
.pair__wire {
  display: none;
}
.glass__kicker .sigil {
  width: 20px;
  height: 20px;
}
.glass__title--s {
  font-size: 17px;
}
.v-stack {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
/* A bot's profile: purpose and instructions. */
.form__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form__head .sigil {
  width: 44px;
  height: 44px;
}
.form__head > div {
  flex: 1;
  min-width: 0;
}
.form__field {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--u-line-soft);
  border-radius: 12px;
  background: var(--u-bg2);
}
.form__field span {
  display: block;
  color: var(--u-dim);
  font-size: 12px;
}
.form__field p {
  margin-top: 2px;
}
/* One of several: the levels a bot can have. */
.choices {
  display: grid;
  gap: 8px;
}
.choices li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 14px;
  border: 1px solid var(--u-line-soft);
  border-radius: 12px;
}
.choices i {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border: 1px solid var(--u-dim);
  border-radius: 50%;
}
.choices strong {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}
.choices span {
  color: var(--u-mute);
  font-size: 13px;
}
.choices .is-on {
  border-color: var(--u-ink);
  background: var(--u-bg2);
}
.choices .is-on i {
  border-color: var(--u-ink);
  background: radial-gradient(circle, var(--u-ink) 0 3.5px, transparent 4px);
}
.choices .is-off {
  border-style: dashed;
  opacity: 0.5;
}
.check {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--u-line);
  border-radius: 6px;
}
.check svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  opacity: 0;
}
.check.is-on {
  border-color: var(--u-solid);
  background: var(--u-solid);
  color: var(--u-on-solid);
}
.check.is-on svg {
  opacity: 1;
}
.people {
  margin-top: 14px;
}
/* A window: the bot's browser, or an application on a Mac. */
.win {
  padding: 0;
  overflow: hidden;
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--u-line-soft);
}
.win__dots {
  flex: none;
  display: flex;
  gap: 5px;
}
.win__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--u-line);
}
.win__url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--u-bg2);
  color: var(--u-mute);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win__url svg {
  flex: none;
  width: 12px;
  height: 12px;
}
.win__title {
  flex: 1;
  color: var(--u-mute);
  font-size: 12px;
  text-align: center;
}
.win__page {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px 18px 22px;
}
.win__lines {
  display: grid;
  gap: 7px;
}
.win__lines i {
  height: 8px;
  border-radius: 4px;
  background: var(--u-bg2);
}
.win__lines i:nth-child(1) {
  width: 46%;
  height: 12px;
  background: var(--u-line);
}
.win__lines i:nth-child(2) {
  width: 78%;
}
.win__lines i:nth-child(3) {
  width: 62%;
}
.win__table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--u-line-soft);
  border-radius: 10px;
  background: var(--u-line-soft);
}
.win__table li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 12px;
  background: var(--u-bg);
  color: var(--u-mute);
  font-size: 12.5px;
}
.win__table li.is-on {
  background: var(--u-bg2);
  color: var(--u-ink);
}
.win__table li span:last-child {
  color: var(--u-dim);
  font-variant-numeric: tabular-nums;
}
.win__btn {
  justify-self: start;
}
.win__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--u-line-soft);
  font-size: 13px;
}
.win__foot > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.win__foot .sigil {
  width: 22px;
  height: 22px;
}
/* A pointer with the name of the bot that moves it. */
.cursor {
  --x0: 64%;
  --y0: 30%;
  --x1: 24%;
  --y1: 80%;
  position: absolute;
  z-index: 2;
  left: var(--x0);
  top: var(--y0);
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  animation: point 7s var(--ease) infinite;
}
.mac .cursor {
  --x0: 46%;
  --y0: 24%;
  --x1: 74%;
  --y1: 70%;
}
.cursor svg {
  flex: none;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.35));
}
.cursor b {
  margin: 13px 0 0 -2px;
  padding: 2px 8px;
  border-radius: 4px 9px 9px 9px;
  background: var(--pink);
  color: #000;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.cursor--blue b {
  background: var(--blue-light);
}
@keyframes point {
  0%,
  12%,
  100% {
    left: var(--x0);
    top: var(--y0);
  }
  40%,
  72% {
    left: var(--x1);
    top: var(--y1);
    transform: none;
  }
  48% {
    left: var(--x1);
    top: var(--y1);
    transform: scale(0.86);
  }
}
.v-browser,
.v-desk {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
/* A Mac's desktop with one window and the dock. */
.mac {
  position: relative;
  overflow: hidden;
  padding: 0 0 50px;
  border: 1px solid var(--u-line);
  border-radius: 16px;
  /* The desktop picture, in the brand's colours. */
  background:
    radial-gradient(70% 90% at 0% 100%, var(--pink), transparent 70%),
    radial-gradient(80% 90% at 100% 0%, var(--blue), transparent 72%), var(--violet);
}
.mac__menu {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 12px;
  background: rgb(255 255 255 / 0.7);
  color: #333;
  font-size: 11.5px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.mac__menu b {
  color: #000;
  font-weight: 600;
}
.mac__menu span:last-child {
  margin-left: auto;
}
.mac .win {
  --u-ink: #000;
  --u-mute: #5e5e5e;
  --u-dim: #808080;
  --u-line: rgb(0 0 0 / 0.12);
  --u-line-soft: rgb(0 0 0 / 0.08);
  --u-bg: #fff;
  --u-bg2: #f0f0f0;
  width: 82%;
  margin: 22px auto 0;
  border-color: rgb(0 0 0 / 0.1);
  border-radius: 12px;
  background: #fff;
  color: #000;
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.28);
}
.mac__dock {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  gap: 6px;
  padding: 5px 7px;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.35);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.mac__dock i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
}
.mac__dock i:nth-child(2) {
  background: #000;
}
.mac__dock i:nth-child(4) {
  background: var(--blue);
}
/* A call with a bot. */
.v-voice {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.call {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
}
.call .sigil {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.call__who {
  min-width: 0;
  line-height: 1.25;
}
.call__who strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
}
.call__who span {
  color: var(--u-mute);
  font-size: 12px;
}
.wave {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 32px;
  min-width: 0;
  overflow: hidden;
}
.wave i {
  flex: none;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--u-ink);
  transform: scaleY(0.5);
  animation: wave 1.2s ease-in-out infinite;
}
/* Standing still, the bars keep the outline of a voice. */
.wave i:nth-child(4n + 1) {
  transform: scaleY(0.3);
}
.wave i:nth-child(4n + 2) {
  transform: scaleY(0.75);
}
.wave i:nth-child(5n) {
  transform: scaleY(1);
}
.wave i:nth-child(3n) {
  animation-delay: -0.4s;
}
.wave i:nth-child(3n + 1) {
  animation-delay: -0.8s;
}
.wave i:nth-child(4n) {
  animation-duration: 0.9s;
}
.wave i:nth-child(5n) {
  animation-duration: 1.5s;
}
@keyframes wave {
  50% {
    transform: scaleY(0.16);
  }
}
.call__end {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--alert-dark);
  color: #fff;
}
.call__end svg {
  width: 16px;
  height: 16px;
}
.said {
  align-self: flex-end;
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--u-solid);
  color: var(--u-on-solid);
}
.said small,
.heard small {
  display: block;
  margin-bottom: 2px;
  opacity: 0.6;
  font-size: 11.5px;
}
.heard {
  align-self: flex-start;
  max-width: 90%;
}
/* Services a bot can use, found by searching. */
.v-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
.find {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
}
.find svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--u-mute);
}
.find span {
  color: var(--u-ink);
}
.find span::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.15em;
  animation: blink 0.9s steps(2) infinite;
}
.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.apps li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--u-line);
  border-radius: 12px;
  background: var(--u-bg);
  box-shadow: var(--u-shadow);
}
.apps__logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--u-bg2);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}
.apps__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}
.apps__name small {
  display: block;
  color: var(--u-dim);
  font-size: 11.5px;
}
.apps li.is-hit {
  border-color: var(--u-ink);
}

@media (max-width: 767px) {
  .hide-s {
    display: none;
  }
}
@media (min-width: 768px) {
  .v-split {
    flex-direction: row;
    align-items: center;
  }
  .v-split > .glass {
    flex: 1 1 0;
  }
  .v-split > .glass--narrow {
    flex: 0 0 36%;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .pair {
    grid-template-columns: 1fr 44px 1fr;
    align-items: center;
    gap: 0;
  }
  .pair__wire {
    display: block;
    position: relative;
    height: 1px;
    background: var(--u-dim);
  }
  .pair__wire::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3.5px;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--u-ink);
    border-right: 1px solid var(--u-ink);
    transform: rotate(45deg);
  }
}

/* ───────── Rule simulator ───────── */

.sim {
  display: grid;
  gap: 32px;
}
@media (min-width: 1000px) {
  .sim {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: center;
  }
}
.sim__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.sim__rules {
  width: 100%;
  margin-top: 12px;
}
.sim__rules-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 14px;
}
.sim__rules li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sim__rules b {
  flex: 0 0 148px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}
.sim__rules b::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--warn-dark);
}
.sim__rules li[data-kind='deny'] b::before {
  background: var(--alert-dark);
}
.sim__box {
  --sim-glow: rgb(63 208 143 / 0.4);
  --sim-tone: var(--ok);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .sim__box {
    padding: 32px;
    border-radius: 32px;
  }
}
.sim__box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 50% at 100% 100%, var(--sim-glow), transparent 70%);
}
.sim__box::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.14;
  mix-blend-mode: overlay;
}
.sim__box[data-verdict='approval'] {
  --sim-glow: rgb(242 193 78 / 0.4);
  --sim-tone: var(--warn);
}
.sim__box[data-verdict='deny'] {
  --sim-glow: rgb(255 122 92 / 0.45);
  --sim-tone: var(--alert);
}
.sim__legend {
  margin-bottom: 12px;
  color: rgb(255 255 255 / 0.6);
  font-size: 13px;
}
.sim__options {
  display: grid;
  gap: 6px;
}
.sim__option {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  padding: 11px 14px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 12px;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.sim__option:hover {
  background: rgb(255 255 255 / 0.06);
}
.sim__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sim__option code {
  min-width: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.8);
  overflow-wrap: anywhere;
}
.sim__option span {
  grid-column: 2;
  color: rgb(255 255 255 / 0.5);
  font-size: 12px;
}
@media (min-width: 576px) {
  .sim__option {
    grid-template-columns: 14px minmax(0, 1fr) auto;
  }
  .sim__option span {
    grid-column: 3;
  }
}
.sim__option::before {
  content: '';
  grid-row: span 2;
  width: 14px;
  height: 14px;
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: 50%;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.sim__option:has(input:checked) {
  border-color: rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.1);
}
.sim__option:has(input:checked) code {
  color: var(--white);
}
.sim__option:has(input:checked)::before {
  border-color: var(--white);
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 8px var(--white);
}
.sim__option:has(input:focus-visible) {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
.sim__result {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed rgb(255 255 255 / 0.25);
}
@media (min-width: 768px) {
  .sim__result {
    min-height: 168px;
  }
  .sim__facts {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: 32px;
  }
}
.sim__verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sim-tone);
  font-family: var(--display);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.sim__verdict::before {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 22px currentColor;
}
.sim__facts {
  display: grid;
  align-items: start;
  gap: 12px;
}
.sim__facts dt {
  color: rgb(255 255 255 / 0.55);
  font-size: 13px;
}
.sim__facts dd {
  color: rgb(255 255 255 / 0.92);
}
.sim__result.is-swap {
  animation: swap 0.4s var(--out);
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ───────── A day in the workspace ───────── */

.day__nav {
  display: flex;
  gap: 8px;
}
.round {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    opacity 0.2s var(--ease);
}
.round:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.32);
}
.round:disabled {
  opacity: 0.35;
  cursor: default;
}
.round svg {
  width: 20px;
  height: 20px;
}
.round--prev svg {
  transform: scaleX(-1);
}
.day__panel {
  border-radius: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.day__panel::-webkit-scrollbar {
  display: none;
}
@media (min-width: 1000px) {
  .day__panel {
    border-radius: 40px;
  }
}
/* The band runs from dawn to night: pink, daylight, blue, black. */
.day__track {
  position: relative;
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 40px 24px 44px;
  background: radial-gradient(34% 130% at 30% -20%, rgb(255 255 255 / 0.32), transparent 70%),
    linear-gradient(90deg, #a1468f 0%, #7a5fd0 14%, #3f63e0 32%, #2e53d8 50%, #1c2c86 68%, #0b1035 85%, #05060b 100%);
}
@media (min-width: 1000px) {
  .day__track {
    gap: 24px;
    padding: 64px 64px 72px;
  }
}
.day__event {
  position: relative;
  flex: none;
  width: 290px;
}
@media (min-width: 1000px) {
  .day__event {
    width: 320px;
  }
}
.day__event time {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
/* The hour line, with a knot at each event. */
.day__event::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 0;
  right: -24px;
  height: 1px;
  background: rgb(255 255 255 / 0.32);
}
.day__event:last-child::before {
  right: 0;
}
.day__event::after {
  content: '';
  position: absolute;
  top: 47px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 14px rgb(255 255 255 / 0.9);
}
.day__card {
  margin-top: 40px;
  min-height: 196px;
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: rgb(8 10 20 / 0.5);
  box-shadow: none;
  border: 1px solid rgb(255 255 255 / 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.day__kind {
  display: flex;
  align-items: center;
  gap: 10px;
}
.day__kind .sigil {
  width: 30px;
  height: 30px;
}
.day__card h3 {
  margin-top: 14px;
  text-wrap: pretty;
}
.day__card p {
  margin-top: 8px;
  color: rgb(255 255 255 / 0.76);
  font-size: 15px;
}

/* ───────── The mesh: agents, DeepEngine, systems ─────────
   Drawn on a 1000 × 520 field (see home.mjs). Wires are an SVG stretched over
   the field; nodes sit on the same coordinates in percent. Below 1000 px the
   field gives way to three plain groups. */

.panel--mesh {
  padding-inline: 24px;
}
.mesh {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}
.mesh__wires {
  display: none;
}
.mesh__name {
  margin-bottom: 12px;
  color: var(--faint);
  font-family: var(--text);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}
.mesh__group ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.mesh__node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgb(12 14 24 / 0.94);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.45);
}
.mesh__node .sigil,
.mesh__icon {
  width: 30px;
  height: 30px;
}
.mesh__icon {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgb(255 255 255 / 0.08);
  color: var(--blue-light);
}
.mesh__icon svg {
  width: 17px;
  height: 17px;
}
.mesh__core {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #1c2560, #05060b 72%);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.22),
    0 0 60px rgb(93 131 255 / 0.6),
    0 0 150px rgb(251 174 253 / 0.28);
}
.mesh__core svg {
  width: 30%;
  height: auto;
}
/* A band of light circling the core. */
.mesh__ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from var(--spin), transparent 0%, #fbaefd 12%, #fff 18%, #5d83ff 26%, transparent 42%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin-border 5s linear infinite;
}
.mesh__more {
  max-width: 640px;
  margin: 40px auto 0;
  color: var(--faint);
  font-size: 14px;
  text-align: center;
}
@media (min-width: 1000px) {
  .panel--mesh {
    padding: 96px max(4%, 40px) 88px;
  }
  .mesh {
    position: relative;
    display: block;
    aspect-ratio: 1000 / 520;
    max-width: 1180px;
    margin: 72px auto 0;
  }
  .mesh__wires {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .mesh__wire,
  .mesh__pulse {
    fill: none;
    vector-effect: non-scaling-stroke;
  }
  .mesh__wire {
    stroke: rgb(255 255 255 / 0.13);
    stroke-width: 1;
  }
  /* A short stretch of light travelling the wire. */
  .mesh__pulse {
    stroke: url(#mesh-light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 0.16 1;
    stroke-dashoffset: 1.16;
    filter: drop-shadow(0 0 6px rgb(251 174 253 / 0.9));
    animation: travel-wire 3.6s linear infinite;
    animation-delay: calc(var(--i) * -0.83s);
  }
  @keyframes travel-wire {
    to {
      stroke-dashoffset: 0;
    }
  }
  .mesh__name {
    display: none;
  }
  .mesh__node,
  .mesh__core {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
  }
  .mesh__core {
    width: 13%;
    height: auto;
    aspect-ratio: 1;
  }
}


/* ───────── Compliance: Switzerland, a bunker, a certificate ───────── */

.comply {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 40px;
  padding: 40px 24px 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.comply::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 100% 100%, rgb(46 83 216 / 0.5), transparent 70%),
    radial-gradient(40% 55% at 0% 0%, rgb(251 174 253 / 0.2), transparent 70%);
}
.comply::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.12;
  mix-blend-mode: overlay;
}
.comply > * {
  min-width: 0;
}
@media (min-width: 1000px) {
  .comply {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 56px;
    align-items: end;
    padding: 96px max(5%, 64px) 0;
    border-radius: 40px;
  }
}
.comply__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
@media (min-width: 1000px) {
  .comply__copy {
    padding-bottom: 96px;
  }
}
.comply__items {
  display: grid;
  width: 100%;
  margin-block: 12px 8px;
  border-top: 1px solid var(--line-2);
}
.comply__items li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.comply__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.06);
  color: var(--pink);
  box-shadow: 0 0 34px rgb(93 131 255 / 0.4);
}
.comply__icon svg {
  width: 22px;
  height: 22px;
}
.comply__icon--flag svg {
  width: 24px;
  height: 24px;
}
.comply__items strong {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
}
.comply__items div span {
  display: block;
  margin-top: 2px;
  color: var(--mute);
  font-size: 15px;
}
.comply__art {
  align-self: end;
}
.bunker {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.bunker path,
.bunker rect {
  vector-effect: non-scaling-stroke;
}
.bunker__far {
  fill: none;
  stroke: rgb(255 255 255 / 0.14);
  stroke-width: 1;
}
.bunker__ridge {
  fill: none;
  stroke: url(#bunker-ridge);
  stroke-width: 1.5;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgb(93 131 255 / 0.8));
}
.bunker__snow {
  fill: rgb(255 255 255 / 0.85);
}
.bunker__vault {
  fill: #070910;
  stroke: rgb(255 255 255 / 0.5);
  stroke-width: 1;
}
.bunker__rack {
  fill: rgb(255 255 255 / 0.07);
  stroke: rgb(255 255 255 / 0.3);
  stroke-width: 1;
}
/* The racks are at work. */
.bunker__light {
  fill: var(--ok);
  animation: blink 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.37s);
}
.bunker__light:nth-of-type(3n) {
  fill: var(--pink);
}
.bunker__tunnel {
  fill: none;
  stroke: rgb(255 255 255 / 0.45);
  stroke-width: 1;
  stroke-dasharray: 4 5;
}
.bunker__ground {
  fill: none;
  stroke: rgb(255 255 255 / 0.3);
  stroke-width: 1;
}
.bunker__pole {
  stroke: rgb(255 255 255 / 0.7);
  stroke-width: 1.5;
}

/* ───────── FAQ ───────── */

.faq {
  display: grid;
  gap: 32px;
}
@media (min-width: 1000px) {
  .faq {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 72px;
    align-items: start;
  }
  .faq > h2 {
    position: sticky;
    top: 120px;
  }
}
.faq__list {
  border-top: 1px solid var(--line-2);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}
@media (min-width: 1000px) {
  .faq__item summary {
    padding: 30px 0;
    font-size: 24px;
  }
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__plus {
  flex: none;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  transition:
    background-color 0.25s var(--ease),
    transform 0.4s var(--out);
}
.faq__plus::before,
.faq__plus::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 17.25px;
  width: 14px;
  height: 1.5px;
  background: var(--fg);
  transition: background-color 0.25s var(--ease);
}
.faq__plus::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__plus {
  background: var(--fg);
  transform: rotate(45deg);
}
.faq__item[open] .faq__plus::before,
.faq__item[open] .faq__plus::after {
  background: var(--ink);
}
.faq__item p {
  max-width: 640px;
  padding: 0 60px 28px 0;
  color: var(--mute);
}

/* ───────── Staggered colour cards ───────── */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  .cards {
    gap: 24px;
  }
}
@media (min-width: 1000px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin-left: auto;
    padding-bottom: 64px;
  }
  .cards > .card:nth-child(odd) {
    position: relative;
    top: 64px;
  }
}
.card {
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
}
/* Each card carries light in its own tone. */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(75% 65% at 0% 0%, rgb(var(--tone, 93 131 255) / 0.26), transparent 70%);
}
@media (min-width: 768px) {
  .card {
    padding: 48px;
  }
}
@media (min-width: 1000px) {
  .card {
    border-radius: 32px;
  }
}
.card--pink {
  --tone: 251 174 253;
}
.card--blue {
  --tone: 93 131 255;
}
.card--black {
  --tone: 169 142 245;
}
.card--white {
  --tone: 255 255 255;
}
.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: rgb(var(--tone, 93 131 255));
}
@media (min-width: 1000px) {
  .card__icon {
    width: 64px;
    height: 64px;
  }
}
.card__icon svg {
  width: 100%;
  height: 100%;
}
.card p {
  margin-top: 16px;
  color: var(--mute);
}
.grid3 {
  display: grid;
  gap: 16px;
}
@media (min-width: 576px) {
  .grid3 {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (min-width: 1000px) {
  .grid3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card--compact {
  padding: 24px;
}
@media (min-width: 768px) {
  .card--compact {
    padding: 32px;
  }
}
.card--compact .card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
}
.card--compact p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--mute);
}

/* ───────── Feature list with the rail (inner pages) ───────── */

.features {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
@media (min-width: 1000px) {
  .features {
    gap: 0;
  }
}
.feature {
  position: relative;
  display: grid;
  gap: 24px;
}
@media (min-width: 1000px) {
  .feature {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
    padding: 0 0 120px 40px;
  }
  .feature:last-child {
    padding-bottom: 0;
  }
  .feature::before,
  .feature::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pink), var(--blue-bright));
    box-shadow: 0 0 18px rgb(93 131 255 / 0.9);
  }
  .feature::after {
    background: var(--ink);
    bottom: auto;
    height: 0;
    transition: height 0.6s var(--ease);
  }
  .feature.is-active::after {
    height: calc(100% - 120px);
  }
  .feature:last-child.is-active::after {
    height: 100%;
  }
  .feature__copy {
    padding-top: 8px;
    transition: color 0.4s var(--ease);
  }
  .js .feature:not(.is-active) .feature__copy {
    color: var(--faint);
  }
  .js .feature:not(.is-active) .feature__visual {
    opacity: 0.45;
    filter: grayscale(1);
  }
}
.feature__copy p {
  margin-top: 12px;
}
.feature__visual {
  transition:
    opacity 0.5s var(--ease),
    filter 0.5s var(--ease);
}
.tile {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  border-radius: 20px;
  background: var(--ink);
  width: 100%;
  border: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .tile {
    border-radius: 32px;
  }
}
@media (min-width: 768px) {
  /* Keeps a 688 × 390 proportion as a minimum; more content makes it taller. */
  .tile::before {
    content: '';
    grid-area: 1 / 1;
    padding-top: 56.7%;
  }
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.14;
  mix-blend-mode: overlay;
}
.tile__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.tile--blue .tile__glow {
  background:
    radial-gradient(60% 70% at 100% 100%, rgb(46 83 216 / 0.8), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgb(46 83 216 / 0.28), transparent 70%);
}
.tile--pink .tile__glow {
  background:
    radial-gradient(55% 65% at 0% 100%, rgb(251 174 253 / 0.5), transparent 70%),
    radial-gradient(45% 55% at 100% 0%, rgb(46 83 216 / 0.45), transparent 70%);
}
.tile--violet .tile__glow {
  background:
    radial-gradient(60% 70% at 50% 110%, rgb(169 142 245 / 0.6), transparent 70%),
    radial-gradient(35% 45% at 100% 0%, rgb(46 83 216 / 0.3), transparent 70%);
}
.tile__body {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px;
}
@media (min-width: 768px) {
  .tile__body {
    padding: 36px 40px;
  }
}

/* ───────── Stage variants (inner pages) ───────── */

.stage--center {
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 48px 16px 56px;
}
@media (min-width: 1000px) {
  .stage--center {
    gap: 56px;
    padding: 88px 40px 104px;
  }
}
.stage__title {
  max-width: 760px;
  text-align: center;
}
.stage__view {
  width: 100%;
  max-width: 860px;
}
/* The roster: DeepEngine, then the example bots. */
.roster {
  display: flex;
  gap: 16px;
  width: calc(100% + 32px);
  margin-inline: -16px;
  padding-inline: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.roster::-webkit-scrollbar {
  display: none;
}
.mate {
  flex: none;
  display: flex;
  flex-direction: column;
  width: 252px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.07);
  scroll-snap-align: center;
  text-align: left;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.mate .sigil {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}
.mate p {
  margin-top: 8px;
  color: rgb(255 255 255 / 0.72);
  font-size: 14px;
  line-height: 1.5;
}
.mate__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}
.mate__tags span {
  padding: 2px 9px;
  border: 1px solid rgb(255 255 255 / 0.26);
  border-radius: 8px;
  font-size: 12px;
}
.mate--own {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}
.mate--own p {
  color: var(--grey-600);
}
.mate--own .mate__tags span {
  border-color: var(--grey-300);
}
.mate--own .sigil--mark {
  background: var(--ink);
  color: var(--white);
}
.stage__note {
  max-width: 560px;
  color: rgb(255 255 255 / 0.66);
  font-size: 14px;
  text-align: center;
}
@media (min-width: 1000px) {
  .roster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 960px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .mate {
    width: auto;
  }
}
@media (min-width: 1500px) {
  .roster {
    grid-template-columns: repeat(6, 1fr);
    max-width: none;
    padding-bottom: 32px;
  }
  .mate:nth-child(even) {
    transform: translateY(32px);
  }
}
.flow {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
}
.flow li {
  position: relative;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.flow__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
}
.flow p {
  margin-top: 6px;
  color: rgb(255 255 255 / 0.72);
  font-size: 14px;
}
@media (min-width: 1000px) {
  .flow {
    grid-template-columns: repeat(4, 1fr);
  }
  .flow li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 68px;
    right: -18px;
    height: 1px;
    background: linear-gradient(90deg, rgb(255 255 255 / 0.5), rgb(255 255 255 / 0.15));
  }
}
.boundary {
  display: grid;
  gap: 16px;
  align-items: center;
  width: 100%;
  max-width: 1040px;
}
.boundary__box {
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
  .boundary__box {
    padding: 32px;
  }
}
.boundary__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.boundary__head span {
  color: rgb(255 255 255 / 0.6);
  font-size: 14px;
}
.boundary__icon {
  flex: none;
  width: 48px;
  height: 48px;
}
.boundary__box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: rgb(255 255 255 / 0.88);
  font-size: 15px;
}
.boundary__box .tick {
  margin-top: 4px;
  color: var(--ok);
}
.boundary__wire {
  position: relative;
  display: grid;
  place-items: center;
  padding: 4px 0;
}
.boundary__wire span {
  position: relative;
  z-index: 1;
  max-width: 190px;
  padding: 7px 14px;
  border: 1px solid rgb(251 174 253 / 0.6);
  border-radius: 999px;
  background: var(--ink);
  color: var(--pink);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}
.boundary__wire i {
  display: none;
}
@media (min-width: 1000px) {
  .boundary {
    grid-template-columns: 1fr 240px 1fr;
    gap: 0;
  }
  .boundary__wire::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgb(255 255 255 / 0.4);
  }
  /* A permit on its way to the worker. */
  .boundary__wire i {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 14px var(--pink);
    animation: travel 3.2s var(--ease) infinite;
  }
  @keyframes travel {
    0% {
      left: 0;
      opacity: 0;
    }
    12% {
      opacity: 1;
    }
    88% {
      opacity: 1;
    }
    100% {
      left: calc(100% - 8px);
      opacity: 0;
    }
  }
}
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.06);
}
.tabs button {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  color: rgb(255 255 255 / 0.7);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.tabs button[aria-selected='true'] {
  background: var(--white);
  color: var(--ink);
}
.tabpanel[hidden] {
  display: none;
}
.tabpanel {
  animation: swap 0.45s var(--out);
}

.details {
  border-top: 1px solid var(--line-2);
}
.details > div {
  display: grid;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.details dd {
  max-width: 660px;
  color: var(--mute);
}
@media (min-width: 1000px) {
  .details > div {
    grid-template-columns: 300px 1fr;
    gap: 72px;
    padding: 32px 0;
  }
}
.panel--note .panel__head p {
  max-width: 700px;
}
@media (min-width: 1000px) {
  .panel--note {
    padding-block: 80px;
  }
}
.panel--pad {
  padding-inline: 24px;
}
@media (min-width: 1000px) {
  .panel--pad {
    padding: 88px max(5%, 56px);
  }
}
.missing .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-height: 38vh;
}

/* ───────── Closing call to action ───────── */

.cta {
  margin-top: var(--section);
  margin-bottom: 48px;
}
.cta__box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  padding: 56px 4px;
  border: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .cta__box {
    border-radius: 40px;
    padding: 112px 4px 120px;
  }
}
.cta__box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 80% at 78% 50%, rgb(46 83 216 / 0.55), transparent 70%),
    radial-gradient(36% 60% at 0% 100%, rgb(251 174 253 / 0.22), transparent 70%);
}
.cta__box::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: overlay;
}
.cta__radar {
  display: none;
  position: absolute;
  z-index: -1;
  width: 820px;
  height: 820px;
  right: -9%;
  top: 50%;
  margin-top: -410px;
  pointer-events: none;
  user-select: none;
}
@media (min-width: 1000px) {
  .cta__radar {
    display: block;
  }
}
.cta__radar img {
  width: 100%;
  height: 100%;
}
/* The sweep of the radar: a wedge of light turning once every nine seconds. */
.cta__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg, rgb(169 142 245 / 0.5) 358deg, transparent 360deg);
  animation: spin 9s linear infinite;
}
.cta__inner {
  position: relative;
}
.cta__title {
  max-width: 1000px;
  background: linear-gradient(90deg, #fff 0%, #fff 9%, #fbaefd 24%, #a98ef5 37%, #6f8bf0 52%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__text {
  max-width: 440px;
  margin-top: 20px;
  color: rgb(255 255 255 / 0.72);
}
.cta .actions {
  margin-top: 36px;
}

/* ───────── Footer ───────── */

/* The call to action's bottom margin collapses into this one. */
.footer {
  margin-block: 96px 48px;
}
@media (min-width: 1000px) {
  .footer {
    margin-block: 128px 64px;
  }
}
.footer__top {
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 32px;
  }
}
.footer__brand p {
  max-width: 300px;
  margin-top: 20px;
  color: var(--mute);
  font-size: 15px;
}
.footer__logo img {
  height: 34px;
  width: auto;
  filter: invert(1);
}
.footer__col h2 {
  margin-bottom: 18px;
  color: var(--faint);
  font-family: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.footer__col li + li {
  margin-top: 12px;
}
.footer__col a {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}
.footer__col a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 80px;
  }
}
.footer__legal {
  color: var(--faint);
  font-size: 14px;
}
.footer__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 14px;
}
.footer__badge svg {
  flex: none;
  width: 22px;
  height: 22px;
}

@media (min-width: 768px) {
  .cell .v-split > .glass--narrow {
    flex-basis: 42%;
  }
}

/* ───────── Light: what makes the dark page glow ───────── */

@property --spin {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes spin-border {
  to {
    --spin: 360deg;
  }
}
::selection {
  background: rgb(93 131 255 / 0.55);
  color: var(--white);
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--fg);
}
.heading__side .body-l,
.feature__copy p {
  color: var(--mute);
}
.js .feature:not(.is-active) .feature__copy p {
  color: inherit;
}

/* Inner pages: a glow behind the title. */
main > .hero {
  position: relative;
  isolation: isolate;
}
main > .hero:not(.hero--home)::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -220px 0 auto;
  height: 620px;
  background:
    radial-gradient(40% 60% at 18% 40%, rgb(46 83 216 / 0.42), transparent 70%),
    radial-gradient(30% 50% at 78% 20%, rgb(251 174 253 / 0.16), transparent 70%);
  pointer-events: none;
}

/* ───────── Home hero ───────── */

main > .hero.hero--home {
  margin-top: 0;
  padding-top: 56px;
  text-align: center;
}
@media (min-width: 1000px) {
  main > .hero.hero--home {
    padding-top: 56px;
  }
}
/* The sky behind the title: an aurora in the brand's colours over a grid
   that fades towards the edges. */
.hero__sky {
  position: absolute;
  z-index: -1;
  inset: -160px 0 auto;
  height: 980px;
  overflow: hidden;
  pointer-events: none;
}
.hero__sky::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(36% 44% at 24% 34%, rgb(46 83 216 / 0.62), transparent 70%),
    radial-gradient(32% 40% at 76% 30%, rgb(251 174 253 / 0.3), transparent 70%),
    radial-gradient(46% 46% at 50% 4%, rgb(169 142 245 / 0.4), transparent 70%);
  filter: blur(24px);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero__sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 50% 0;
  -webkit-mask-image: radial-gradient(58% 58% at 50% 32%, #000 18%, transparent 76%);
  mask-image: radial-gradient(58% 58% at 50% 32%, #000 18%, transparent 76%);
}
@keyframes drift {
  to {
    transform: translate3d(2%, 3%, 0) scale(1.08);
  }
}
.hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (min-width: 1000px) {
  .hero__top {
    gap: 28px;
  }
}
/* The page arrives once, top to bottom. */
.hero__top > * {
  animation: arrive 1s var(--out) both;
}
.hero__top > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero__top > :nth-child(3) {
  animation-delay: 0.18s;
}
.hero__top > :nth-child(4) {
  animation-delay: 0.28s;
}
.hero--home > .wide {
  animation: arrive 1.2s 0.38s var(--out) both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(10px);
  }
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  color: var(--mute);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.announce:hover {
  border-color: rgb(255 255 255 / 0.42);
  color: var(--fg);
}
.announce b {
  flex: none;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  color: #170a2b;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
}
.announce svg {
  flex: none;
  width: 16px;
  height: 16px;
}
.hero__title {
  max-width: 1040px;
  padding-bottom: 0.08em;
  background: linear-gradient(180deg, #fff 38%, #c5cfff 80%, #fbaefd 118%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero__title span {
  display: block;
}
.hero__text {
  max-width: 740px;
  color: var(--mute);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
}
.hero--home .actions {
  justify-content: center;
}
.hero--home > .wide {
  margin-top: 56px;
}
@media (min-width: 1000px) {
  .hero--home > .wide {
    margin-top: 56px;
  }
}
/* A cone of light falling from the top of the stage onto the window. */
.stage__beam {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -40px;
  width: min(1100px, 120%);
  height: 520px;
  background: conic-gradient(
    from 90deg at 50% 0%,
    transparent 62deg,
    rgb(93 131 255 / 0.4) 82deg,
    rgb(255 255 255 / 0.55) 90deg,
    rgb(251 174 253 / 0.4) 98deg,
    transparent 118deg
  );
  filter: blur(26px);
  -webkit-mask-image: linear-gradient(#000, transparent 88%);
  mask-image: linear-gradient(#000, transparent 88%);
  transform: translateX(-50%);
  pointer-events: none;
  animation: glimmer 7s ease-in-out infinite alternate;
}
.stage > .stage__beam {
  position: absolute;
  z-index: 0;
}
@keyframes glimmer {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

/* ───────── Ticker: what the platform is built on ───────── */

.ticker {
  margin-top: 40px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
@media (min-width: 1000px) {
  .ticker {
    margin-top: 64px;
  }
}
.ticker__row {
  display: flex;
}
.ticker__track {
  flex: none;
  display: flex;
  gap: 48px;
  padding-right: 48px;
  animation: slide 64s linear infinite;
}
.ticker li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mute);
  font-size: 14px;
  white-space: nowrap;
}
.ticker li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: linear-gradient(135deg, var(--pink), var(--blue-bright));
  transform: rotate(45deg);
}

/* ───────── DeepEngine Runtime: agents run on our side ───────── */

.runtime {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 48px;
  padding: 40px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.runtime::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 100% 0%, rgb(169 142 245 / 0.42), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgb(46 83 216 / 0.38), transparent 70%);
}
.runtime::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.12;
  mix-blend-mode: overlay;
}
.runtime > * {
  min-width: 0;
}
@media (min-width: 1000px) {
  .runtime {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 72px;
    align-items: center;
    padding: 96px max(5%, 64px);
    border-radius: 40px;
  }
}
.runtime__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.runtime__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
/* What is announced and not yet available. */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border: 1px solid rgb(251 174 253 / 0.5);
  border-radius: 999px;
  background: rgb(251 174 253 / 0.1);
  color: var(--pink);
  font-family: var(--text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: middle;
}
.soon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
h3 > .soon {
  margin-left: 10px;
}
.runtime__facts {
  display: grid;
  gap: 0 32px;
  width: 100%;
  margin-top: 16px;
  border-top: 1px solid var(--line-2);
}
@media (min-width: 576px) {
  .runtime__facts {
    grid-template-columns: 1fr 1fr;
  }
}
.runtime__facts > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.runtime__facts dt {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}
.runtime__facts dd {
  margin-top: 4px;
  color: var(--mute);
  font-size: 15px;
}
.rt-wrap {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
/* The runtime: a box with a band of light running round its edge. */
.rt {
  width: 100%;
  padding: 1px;
  border-radius: 24px;
  background: conic-gradient(from var(--spin), rgb(255 255 255 / 0.14) 0%, #fbaefd 10%, #fff 15%, #5d83ff 22%, rgb(255 255 255 / 0.14) 36%);
  box-shadow: 0 30px 90px rgb(46 83 216 / 0.4);
  animation: spin-border 8s linear infinite;
}
.rt__inner {
  padding: 22px;
  border-radius: 23px;
  background: #090b13;
}
.rt__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.rt__head .sigil {
  width: 36px;
  height: 36px;
}
.rt__head strong {
  flex: 1;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}
.rt__rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.rt__rows .sigil {
  width: 30px;
  height: 30px;
}
.rt__who {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.rt__who small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--faint);
  font-size: 12px;
}
.rt__parts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.rt__parts li {
  padding: 3px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.05);
  color: var(--mute);
  font-size: 12.5px;
}
/* The way out to a customer's own systems exists only where it is wanted. */
.rt__link {
  position: relative;
  display: grid;
  place-items: center;
  height: 64px;
}
.rt__link::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px dashed rgb(255 255 255 / 0.4);
}
.rt__link span {
  position: relative;
  padding: 2px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--mute);
  font-size: 12px;
}
.rt__worker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  padding: 14px 18px;
  border: 1px dashed rgb(255 255 255 / 0.32);
  border-radius: 18px;
}
.rt__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgb(255 255 255 / 0.08);
  color: var(--blue-light);
}
.rt__icon svg {
  width: 17px;
  height: 17px;
}
.rt__worker strong {
  flex: 1;
  font-weight: 400;
  white-space: nowrap;
}
.rt__targets {
  display: flex;
  gap: 6px;
}
.rt__targets i {
  padding: 1px 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--mute);
  font-size: 12px;
  font-style: normal;
}

/* ───────── Trust: four commitments ───────── */

.trust {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (min-width: 1300px) {
  .trust {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust__item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.055), rgb(255 255 255 / 0.015));
}
/* A line of light along the top edge. */
.trust__item::before {
  content: '';
  position: absolute;
  inset: 0 28px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--blue-bright), transparent);
}
.trust__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 32px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.06);
  color: var(--pink);
  box-shadow: 0 0 34px rgb(93 131 255 / 0.4);
}
.trust__icon svg {
  width: 22px;
  height: 22px;
}
.trust__item p {
  margin-top: 10px;
  color: var(--mute);
  font-size: 15px;
}

/* ───────── Pointer light ─────────
   The script adds a .spot to every [data-glow] and keeps --mx/--my at the
   pointer. The spot lights the surface and draws the edge near the pointer. */

.spot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 0.07), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.spot::before {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 0%),
    rgb(251 174 253 / 0.95),
    rgb(93 131 255 / 0.7) 45%,
    transparent 75%
  );
  -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);
}
[data-glow]:hover > .spot {
  opacity: 1;
}

/* ───────── Reveal on scroll ─────────
   Only once the script is running (.ready), so nothing stays hidden when it
   is not. */

.ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--out),
    transform 0.9s var(--out),
    filter 0.9s var(--out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.ready [data-reveal].is-seen {
  opacity: 1;
  transform: none;
  filter: none;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__row {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 16px;
  }
  .marquee__track {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }
  .ticker {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ticker__track {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    padding: 0 16px;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .ticker__track[aria-hidden='true'],
  .mesh__pulse,
  .sigil--live::after,
  .marquee__track[aria-hidden='true'],
  .boundary__wire i,
  .cta__sweep,
  .orbit__ring--pulse {
    display: none;
  }
}
