/* Aida website.
   Dark, like her own console: near-black navy, light type, hairline rules. Geist for the words,
   Poppins for her name (as in the console), a serif italic for a few words of warmth. Her screens sit
   on the page in their own colours. One colour belongs to the visitor: the amber of a desk lamp,
   used only where Aida needs them. */

@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin-wght.woff2') format('woff2-variations'), url('../fonts/geist-latin-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-wght.woff2') format('woff2-variations'), url('../fonts/geist-mono-latin-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-latin-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
/* a fallback sized like Geist, so the swap does not shift the layout */
@font-face {
  font-family: 'Geist Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #090d17;
  --panel: #0b1120;
  --ink: #e9eef9;
  --ink-2: #b7c2d9;
  --ink-3: #8a97b3;
  --rule: rgba(150, 180, 230, 0.14);
  --rule-2: rgba(150, 180, 230, 0.3);
  --em: #a9c3ff;
  --lamp: #f0a52e;
  --lamp-2: rgba(240, 165, 46, 0.18);
  --lamp-ink: #ffd98f;
  /* Aida's screens, in their own colours */
  --sc: #070a12;
  --sc-2: #0b1120;
  --sc-3: #121a2e;
  --sl: rgba(150, 180, 230, 0.14);
  --sl-2: rgba(150, 180, 230, 0.28);
  --si: #e9eef9;
  --si-2: #b7c2d9;
  --si-3: #8a97b3;
  --sb: #4c8dff;
  --sb-2: #8fb5ff;
  --sa: #f5b544;
  --sg: #4ade80;
  --sr: #ff7474;
  --sv: #a66bff;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Geist', 'Geist Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Poppins', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --max: 1440px;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 16px);
  background: var(--bg);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}
p,
li,
dd {
  text-wrap: pretty;
}
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
::selection {
  background: var(--lamp-2);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
svg.ic {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.no-js .js-only {
  display: none !important;
}

/* ---------- type ---------- */
.h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.7rem + 2.8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h2 em,
.hero__title em,
.row__title em,
em.s {
  color: var(--em);
  font-size: 1.04em;
  letter-spacing: -0.01em;
}
/* her name, set as the console sets it */
.aida {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
}
.runner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-3);
}
.runner::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--ink);
}
.muted {
  color: var(--ink-3);
}

/* ---------- the lamp: the visitor's colour ---------- */
.lamp {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 3px rgba(240, 165, 46, 0.22), 0 0 14px rgba(240, 165, 46, 0.55);
  vertical-align: middle;
}
.lamp.is-pulsing {
  animation: lamp 1.6s ease-in-out infinite;
}
@keyframes lamp {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(240, 165, 46, 0.22), 0 0 14px rgba(240, 165, 46, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(240, 165, 46, 0.12), 0 0 24px rgba(240, 165, 46, 0.8);
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.btn:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn--ink {
  background: var(--ink);
  color: var(--bg);
}
.btn--ink:hover {
  background: #fff;
}
.btn--small {
  padding: 9px 16px;
  font-size: 0.9rem;
}
.btn--line {
  border-color: var(--rule-2);
}
.btn--line:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.link-arrow svg {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header);
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-solid {
  border-color: var(--rule);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand img,
.brand .bot {
  width: 36px;
  height: 36px;
}
/* the robot in the top bar: she bobs a little, blinks, and her eyes look about */
.bot {
  display: block;
  overflow: visible;
  animation: bot-bob 5.2s ease-in-out infinite;
}
.bot__head {
  transform-box: view-box;
  transform-origin: 32px 44px;
  animation: bot-head 7.4s ease-in-out infinite;
}
.bot__blink {
  transform-box: view-box;
  transform-origin: 32px 30.5px;
  animation: bot-blink 6.3s ease-in-out infinite;
}
.bot__eyes {
  transform-box: view-box;
  transform-origin: 32px 30px;
  transition: transform 0.55s var(--ease);
}
.bot__stars circle {
  animation: twinkle 3.6s ease-in-out infinite;
}
.bot__stars circle:nth-child(2n) {
  animation-delay: -1.2s;
}
.bot__stars circle:nth-child(3n) {
  animation-delay: -2.3s;
}
@keyframes bot-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5px);
  }
}
@keyframes bot-head {
  0%,
  100% {
    transform: rotate(0deg);
  }
  22% {
    transform: rotate(-3deg) translateY(-0.5px);
  }
  48% {
    transform: rotate(2.2deg) translateY(0.3px);
  }
  74% {
    transform: rotate(-1.4deg) translateY(-0.3px);
  }
}
@keyframes bot-blink {
  0%,
  91%,
  100% {
    transform: scaleY(1);
  }
  94% {
    transform: scaleY(0.1);
  }
  97% {
    transform: scaleY(1);
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--bg) !important;
}
.needs {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--lamp-2);
  color: var(--lamp-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.needs[hidden] {
  display: none;
}
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule-2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span:not(.sr-only) {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-btn[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- sections ---------- */
.section {
  padding: clamp(80px, 12vh, 150px) 0;
}
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ---------- reveals: one deliberate move each, not the same fade everywhere ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header) + clamp(40px, 8vh, 96px)) 0 clamp(40px, 6vh, 72px);
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(3.2rem, 2rem + 5.2vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 clamp(22px, 3vh, 36px);
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.hero__title .line > span {
  display: block;
}
.hero__title .sub {
  font-size: 0.46em;
  line-height: 1.04;
  margin-top: 0.18em;
  max-width: 15em;
}
.hero__title .sub em {
  font-size: 1em;
  letter-spacing: -0.01em;
}
.js .hero__title .line > span {
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--i, 0) * 0.1s);
}
@keyframes rise {
  to {
    transform: none;
  }
}
.hero__lead {
  max-width: 30em;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 30px;
}
.spoken {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 44px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-2);
}
.spoken .ic {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ink-3);
}
.wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 22px;
  flex: none;
}
.wave i {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleY(var(--h, 0.4));
  transform-origin: center;
  animation: wave 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.07s);
}
@keyframes wave {
  0%,
  100% {
    transform: scaleY(calc(var(--h) * 0.45));
  }
  50% {
    transform: scaleY(var(--h));
  }
}

/* the brain, in the opening */
.hero__brain {
  position: relative;
  aspect-ratio: 1 / 0.92;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
}
.hero__brain .model__cap {
  bottom: -14px;
}
.hero__brain .brain {
  inset: -6% -5%;
}
/* the scene fades out towards the edges, so the canvas never shows as a rectangle */
.hero__brain .brain__canvas canvas {
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 58%, transparent 100%);
}
.brain-card {
  position: absolute;
  right: 0;
  bottom: 28px;
  z-index: 3;
  width: min(340px, 100%);
  padding: 16px 18px 14px;
  border-radius: 16px;
  background: rgba(8, 12, 24, 0.86);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c, #4cc8ff) 45%, transparent), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  animation: msg 0.5s var(--ease);
}
.brain-card[hidden] {
  display: none;
}
.brain-card__kind {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-3);
}
.brain-card__kind i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, #4cc8ff);
  box-shadow: 0 0 10px var(--c, #4cc8ff);
}
.brain-card h3 {
  margin: 0 0 6px;
  font: 500 1.3rem/1.15 var(--sans);
  letter-spacing: -0.025em;
}
.brain-card p {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 0.88rem;
}
.brain-card ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.brain-card li {
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  font-size: 0.78rem;
}
.brain-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.linkish {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

/* the office model */
.model {
  position: relative;
  aspect-ratio: 1 / 0.92;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
}
.model--wide {
  max-width: none;
  margin: clamp(24px, 4vh, 48px) 0 0;
  aspect-ratio: auto;
}
/* the model itself; the story and the legend sit below it */
.model__box {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 380px;
}
.model__stage,
.office__stage {
  touch-action: pan-y;
}
.model.is-live .model__stage,
.office__stage.is-live {
  cursor: grab;
}
.model__stage.is-dragging,
.office__stage.is-dragging {
  cursor: grabbing !important;
}
.model__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.model__help {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 0;
  font-size: 0.84rem;
  color: var(--ink-3);
}
.model--wide .model__cap {
  position: static;
  margin-top: 14px;
  font-size: 1.15rem;
}
.office-sec {
  padding-bottom: 0;
}
.office-sec__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(24px, 5vw, 96px);
  align-items: end;
}
.office-sec__head .lead {
  margin: 0;
  font-size: 1.05rem;
}
.model__stage {
  position: absolute;
  inset: 0;
}
.model__stage canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.model.is-live .model__stage canvas {
  opacity: 1;
}
.model.is-live .model__plan {
  opacity: 0;
  pointer-events: none;
}
.model__plan {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: auto;
  transition: opacity 0.6s;
}
.model__cap {
  position: absolute;
  left: 0;
  bottom: -8px;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-3);
}
.model__cap .lamp {
  margin-right: 8px;
  vertical-align: 1px;
}

/* ---------- try her: the console ---------- */
.try {
  padding: clamp(40px, 8vh, 110px) 0 clamp(60px, 10vh, 130px);
}
.try__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(24px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.try__lead {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.05rem;
}
.console-wrap {
  position: relative;
}
.console {
  position: relative;
  height: min(76vh, 760px);
  min-height: 560px;
  border-radius: 22px;
  background: var(--sc);
  color: var(--si);
  box-shadow: 0 0 0 1px var(--rule-2), 0 60px 120px -40px rgba(0, 0, 0, 0.8), 0 30px 50px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-family: var(--display);
  font-size: 0.84rem;
  line-height: 1.45;
}
.console-wrap.is-off .console {
  box-shadow: 0 0 0 1px var(--rule-2), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.console__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 18px;
}
.console__cap {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-2);
  min-height: 1.5em;
}
.console__cap .lamp {
  margin-right: 10px;
  vertical-align: 2px;
}
.console__ctl {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--ink-2);
}
.switch input {
  appearance: none;
  width: 38px;
  height: 22px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.switch input::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.25s var(--ease), background 0.2s;
}
.switch input:checked {
  background: var(--ink);
}
.switch input:checked::before {
  background: var(--bg);
  transform: translateX(16px);
}
.try__after {
  margin: 36px 0 0;
  font-size: 1.05rem;
  color: var(--ink-2);
}

/* ===================== Aida's console, as she really looks ===================== */
.console *,
.console *::before,
.console *::after {
  box-sizing: border-box;
}
.console button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.console :focus-visible {
  outline: 2px solid var(--sb-2);
  outline-offset: 2px;
}
.con-top {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 62px;
  padding: 0 14px 0 12px;
  border-bottom: 1px solid var(--sl);
  background: #05080f;
}
.con-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.con-brand img {
  width: 38px;
  height: 38px;
  flex: none;
}
.con-brand b {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}
.con-brand small {
  display: block;
  color: var(--si-3);
  font-size: 0.74rem;
}
.con-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--sl);
  background: rgba(4, 7, 13, 0.6);
}
.con-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 10px;
  color: var(--si-2);
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.con-tab svg {
  width: 15px;
  height: 15px;
  opacity: 0.8;
}
.con-tab:hover {
  color: var(--si);
  background: rgba(150, 180, 230, 0.06);
}
.con-tab[aria-selected='true'] {
  color: #fff;
  background: rgba(76, 141, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.35) inset;
}
.con-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}
.con-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--si-2);
}
.con-icon:hover {
  background: rgba(150, 180, 230, 0.08);
  color: var(--si);
}
.con-icon svg {
  width: 17px;
  height: 17px;
}
.con-icon[data-badge]:not([data-badge='0'])::after {
  content: attr(data-badge);
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--sa);
  color: #1a1000;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}
.con-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 4px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--sl);
  background: rgba(10, 16, 30, 0.9);
  font-weight: 600;
  white-space: nowrap;
}
.con-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sg);
  box-shadow: 0 0 8px var(--sg);
}
.con-status[data-kind='busy'] .dot {
  background: var(--sb);
  box-shadow: 0 0 8px var(--sb);
}
.con-status[data-kind='wait'] .dot {
  background: var(--sa);
  box-shadow: 0 0 8px var(--sa);
}
.con-status .eq {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  height: 10px;
}
.con-status .eq i {
  width: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--si-3);
}
.con-status[data-kind='busy'] .eq i {
  background: var(--sb-2);
  animation: eq 0.9s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.12s);
}
@keyframes eq {
  0%,
  100% {
    height: 3px;
  }
  50% {
    height: 10px;
  }
}
.con-body {
  position: absolute;
  inset: 62px 0 0;
}
.con-view {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 12px;
  padding: 12px;
}
.con-view[hidden] {
  display: none;
}
.con-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  border-radius: 18px;
  background: var(--sc-2);
  box-shadow: 0 0 0 1px var(--sl) inset;
}
.con-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
}
.con-panel__head h3 {
  margin: 0;
  font: 600 1rem/1.2 var(--sans);
}
.con-panel__head .sp {
  flex: 1;
}
.con-panel__body {
  flex: 1;
  min-height: 0;
  padding: 0 16px 14px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(150, 180, 230, 0.2) transparent;
}
.con-h {
  margin: 0 0 6px;
  font: 600 0.95rem/1.3 var(--sans);
}
.con-sub {
  margin: 0;
  color: var(--si-3);
  font-size: 0.8rem;
}
.con-empty {
  padding: 22px 8px;
  text-align: center;
  color: var(--si-3);
  font-size: 0.82rem;
}
.cbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid var(--sl-2);
  background: rgba(150, 180, 230, 0.06);
  color: var(--si);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.cbtn:hover {
  background: rgba(150, 180, 230, 0.12);
}
.cbtn svg {
  width: 14px;
  height: 14px;
}
.cbtn--primary {
  background: rgba(76, 141, 255, 0.28);
  border-color: rgba(110, 168, 255, 0.5);
  box-shadow: 0 10px 24px -14px rgba(76, 141, 255, 0.9);
}
.cbtn--primary:hover {
  background: rgba(76, 141, 255, 0.4);
}
.cbtn--sm {
  padding: 5px 10px;
  font-size: 0.74rem;
  border-radius: 8px;
}
.cbtn--danger {
  border-color: rgba(255, 116, 116, 0.45);
  color: #ffb4b4;
}
.cbtn--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--si-2);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 9px;
  border-radius: 999px;
  border: 1px solid var(--sl-2);
  background: rgba(150, 180, 230, 0.07);
  color: var(--si-2);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}
.pill--work {
  border-color: rgba(110, 168, 255, 0.45);
  background: rgba(76, 141, 255, 0.14);
  color: #b9d3ff;
}
.pill--wait {
  border-color: rgba(245, 181, 68, 0.5);
  background: rgba(245, 181, 68, 0.14);
  color: #ffd98f;
}
.pill--done {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.12);
  color: #a6f0c4;
}
.pill--stop {
  border-color: rgba(255, 116, 116, 0.45);
  background: rgba(255, 116, 116, 0.12);
  color: #ffb4b4;
}
.pill--idle {
  color: var(--si-3);
}
.cdot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--si-3);
  flex: none;
}
.cdot--work {
  background: var(--sb);
  box-shadow: 0 0 6px var(--sb);
}
.cdot--wait {
  background: var(--sa);
  box-shadow: 0 0 6px var(--sa);
}
.cdot--done {
  background: var(--sg);
}
.cdot--stop {
  background: var(--sr);
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(76, 141, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.45) inset;
  color: #cfe0ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.avatar--aida {
  background: #0b1a3a;
  overflow: hidden;
}
.avatar--aida img {
  width: 100%;
  height: 100%;
}
.avatar--you {
  background: rgba(245, 181, 68, 0.18);
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.5) inset;
  color: #ffd98f;
}
.cinput {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--sl);
  background: #05080f;
  color: var(--si-3);
  font-size: 0.82rem;
}
.cinput svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ----- chat view ----- */
.con-view[data-view='chat'] {
  grid-template-columns: 250px minmax(0, 1fr) 300px;
}
.convos .con-panel__body {
  padding-top: 4px;
}
.convo {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border-radius: 12px;
  text-align: left;
}
.convo b {
  display: block;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.convo small {
  color: var(--si-3);
  font-size: 0.74rem;
}
.convo.is-on {
  background: rgba(150, 180, 230, 0.08);
}
.convos__empty {
  padding: 28px 6px;
  text-align: center;
  color: var(--si-3);
  font-size: 0.8rem;
}
.usage {
  margin: auto 10px 10px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: rgba(150, 180, 230, 0.05);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.74rem;
}
.usage__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.82rem;
}
.usage__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  margin-bottom: 7px;
  color: var(--si-2);
}
.usage__row b {
  color: var(--si);
}
.usage__row.is-hot b {
  color: var(--sa);
}
.usage__bar {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 2px;
  background: rgba(150, 180, 230, 0.12);
  overflow: hidden;
}
.usage__bar i {
  display: block;
  height: 100%;
  width: var(--w, 10%);
  border-radius: 2px;
  background: var(--sb);
}
.usage__row.is-hot .usage__bar i {
  background: var(--sa);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sl);
}
.chat-head b {
  font-size: 1rem;
}
.seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 10px;
  border: 1px solid var(--sl);
  background: rgba(4, 7, 13, 0.6);
  font-size: 0.74rem;
}
.seg span {
  padding: 2px 9px;
  border-radius: 8px;
  color: var(--si-3);
}
.seg span.is-on {
  background: rgba(76, 141, 255, 0.2);
  color: #fff;
}
.chat-head .sp {
  flex: 1;
}
.chat-head .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--si-3);
  font-size: 0.78rem;
}
.chat-thread {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(150, 180, 230, 0.2) transparent;
  scroll-behavior: smooth;
}
.msg {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  max-width: 760px;
  animation: msg 0.5s var(--ease);
}
@keyframes msg {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.msg--you {
  grid-template-columns: minmax(0, 1fr) 34px;
  margin-left: auto;
  max-width: 560px;
}
.msg--you .avatar {
  order: 2;
}
.msg__bubble {
  padding: 11px 15px 12px;
  border-radius: 16px;
  border-top-left-radius: 6px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.92rem;
  line-height: 1.5;
}
.msg--you .msg__bubble {
  border-top-left-radius: 16px;
  border-top-right-radius: 6px;
  background: rgba(76, 141, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.35) inset;
}
.msg__who {
  display: block;
  margin-bottom: 3px;
  color: var(--sb-2);
  font-size: 0.74rem;
  font-weight: 600;
}
.msg--you .msg__who {
  color: #ffd98f;
}
.msg__bubble p {
  margin: 0 0 0.5em;
}
.msg__bubble p:last-child {
  margin: 0;
}
.msg__bubble .cur::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--si-2);
  animation: blink 0.9s steps(2) infinite;
}
@keyframes blink {
  to {
    opacity: 0;
  }
}
.thinking {
  display: inline-flex;
  gap: 4px;
  padding: 4px 0;
}
.thinking i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--si-3);
  animation: think 1s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.15s);
}
@keyframes think {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.starters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0 44px;
}
.starter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 12px;
  border: 1px solid var(--sl-2);
  background: rgba(150, 180, 230, 0.05);
  color: var(--si);
  font-size: 0.82rem;
  text-align: left;
  transition: background 0.2s, border-color 0.2s, transform 0.3s var(--ease);
}
.starter:hover {
  background: rgba(76, 141, 255, 0.14);
  border-color: rgba(110, 168, 255, 0.5);
  transform: translateY(-1px);
}
.starter svg {
  width: 14px;
  height: 14px;
  color: var(--si-2);
}
.starters.is-hint .starter {
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.35), 0 0 24px -6px rgba(245, 181, 68, 0.6);
}
.work {
  margin: 4px 0 0 44px;
  display: grid;
  gap: 8px;
  max-width: 560px;
}
.work__title {
  margin: 0;
  color: var(--si-3);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.82rem;
  animation: msg 0.5s var(--ease);
}
.task b {
  font-weight: 600;
}
.task small {
  color: var(--si-3);
}
.task .pill {
  align-self: start;
}
.task__bar {
  grid-column: 1 / -1;
  height: 3px;
  margin-top: 6px;
  border-radius: 2px;
  background: rgba(150, 180, 230, 0.12);
  overflow: hidden;
}
.task__bar i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: var(--sb);
  transition: width 0.8s var(--ease);
}
.task[data-status='done'] .task__bar i {
  background: var(--sg);
}
.task[data-status='stopped'] .task__bar i {
  background: var(--sr);
}
.outs {
  margin: 8px 0 0 44px;
  display: grid;
  gap: 8px;
  max-width: 560px;
}
.out {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.07);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.35) inset;
  font-size: 0.82rem;
  text-align: left;
  width: 100%;
  animation: msg 0.5s var(--ease);
}
.out svg {
  width: 16px;
  height: 16px;
  color: #a6f0c4;
  flex: none;
}
.out b {
  display: block;
}
.out small {
  color: var(--si-3);
}
.out .cbtn {
  margin-left: auto;
}
/* a permission card, as it appears in the conversation */
.ask {
  margin: 4px 0 0 44px;
  max-width: 560px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(60, 40, 10, 0.55), rgba(30, 20, 6, 0.6)), var(--sc-3);
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.55) inset, 0 20px 40px -24px rgba(245, 181, 68, 0.5);
  animation: msg 0.5s var(--ease);
}
.ask.is-waiting {
  animation: msg 0.5s var(--ease), askglow 1.8s ease-in-out 0.6s infinite;
}
@keyframes askglow {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.55) inset, 0 20px 40px -24px rgba(245, 181, 68, 0.5);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.9) inset, 0 20px 50px -20px rgba(245, 181, 68, 0.85);
  }
}
.ask__head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ask__head b {
  display: block;
  font-size: 0.9rem;
}
.ask__head small {
  color: #ffd98f;
  font-size: 0.76rem;
}
.ask__what {
  margin: 10px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--mono);
  font-size: 0.76rem;
  color: #f4e6cf;
}
.ask__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ask__actions .cbtn--go {
  background: rgba(76, 141, 255, 0.35);
  border-color: rgba(110, 168, 255, 0.6);
}
.ask__done {
  margin-top: 8px;
  color: #ffd98f;
  font-size: 0.78rem;
}
.ask[data-answered] {
  opacity: 0.75;
}
.ask[data-answered] .ask__actions {
  display: none;
}
.keep {
  margin: 4px 0 0 44px;
  max-width: 560px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(60, 40, 10, 0.5), rgba(30, 20, 6, 0.55)), var(--sc-3);
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.45) inset;
  font-size: 0.84rem;
  animation: msg 0.5s var(--ease);
}
.keep__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.keep p {
  margin: 0 0 10px;
  color: #f4e6cf;
}
.keep__actions {
  display: flex;
  gap: 6px;
}
.keep[data-answered] .keep__actions {
  display: none;
}
.keep[data-answered] {
  opacity: 0.75;
}
.chat-compose {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--sl);
}
.compose {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 14px;
  border: 1px solid var(--sl-2);
  background: #05080f;
}
.compose:focus-within {
  border-color: rgba(110, 168, 255, 0.6);
}
.compose svg.clip {
  width: 16px;
  height: 16px;
  color: var(--si-3);
  flex: none;
}
.compose input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--si);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}
.compose input::placeholder {
  color: var(--si-3);
}
.compose .cbtn {
  padding: 8px 14px;
}
.voicebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--si-3);
  font-size: 0.76rem;
}
.voicebar .mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(76, 141, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.5) inset;
  color: #fff;
}
.voicebar .mic svg {
  width: 16px;
  height: 16px;
}
.voicebar b {
  color: var(--si-2);
  font-weight: 500;
}
.voicebar .eq {
  display: inline-flex;
  gap: 2px;
}
.voicebar .eq i {
  width: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--si-3);
}
/* right rail */
.rail {
  display: grid;
  grid-template-rows: minmax(0, 0.95fr) minmax(0, 1.25fr) minmax(96px, auto);
  gap: 12px;
  min-height: 0;
}
.rail-brain .con-panel__head {
  padding: 10px 10px 4px;
}
.rail-brain .seg {
  font-size: 0.72rem;
}
.rail-brain__stage {
  flex: 1;
  min-height: 0;
  position: relative;
}
.rail-brain__stage svg {
  width: 100%;
  height: 100%;
}
.feed {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  align-content: start;
}
.feed li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 2px 9px;
  padding: 7px 4px 8px;
  border-bottom: 1px solid var(--sl);
  font-size: 0.78rem;
  animation: msg 0.5s var(--ease);
}
.feed li > svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 7px;
  background: rgba(150, 180, 230, 0.08);
  color: var(--si-2);
}
.feed li[data-k='ask'] > svg {
  background: rgba(245, 181, 68, 0.15);
  color: #ffd98f;
}
.feed li[data-k='done'] > svg {
  background: rgba(74, 222, 128, 0.12);
  color: #a6f0c4;
}
.feed li[data-k='stop'] > svg {
  background: rgba(255, 116, 116, 0.12);
  color: #ffb4b4;
}
.feed b {
  font-weight: 600;
}
.feed span {
  color: var(--si-2);
}
.feed time {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--si-3);
  margin-right: 6px;
}
.feed__empty {
  padding: 24px 10px;
  text-align: center;
  color: var(--si-3);
  font-size: 0.78rem;
}
.agents-list {
  display: grid;
  gap: 6px;
}
.agent {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}
.agent b {
  display: block;
  font-weight: 600;
}
.agent small {
  display: block;
  color: var(--si-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ----- today ----- */
.con-view[data-view='today']:not([hidden]) {
  display: block;
  overflow: auto;
  padding: 18px 26px;
  scrollbar-width: thin;
}
.today {
  max-width: 980px;
  margin: 0 auto;
}
.today__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.today__date {
  margin: 0;
  color: var(--si-3);
  font-size: 0.82rem;
}
.today__hi {
  margin: 0;
  font: 600 2rem/1.1 var(--sans);
  letter-spacing: -0.02em;
}
.today__line {
  margin: 6px 0 0;
  color: var(--si-2);
}
.today__actions {
  display: flex;
  gap: 8px;
}
.needs-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sc-2);
  box-shadow: 0 0 0 1px var(--sl) inset;
  margin-bottom: 12px;
}
.needs-card.is-hot {
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.55) inset;
}
.needs-card .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.14);
  color: #a6f0c4;
  flex: none;
}
.needs-card.is-hot .tick {
  background: rgba(245, 181, 68, 0.16);
  color: #ffd98f;
}
.needs-card .tick svg {
  width: 16px;
  height: 16px;
}
.needs-card b {
  display: block;
}
.needs-card small {
  color: var(--si-3);
}
.today__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.tcard {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sc-2);
  box-shadow: 0 0 0 1px var(--sl) inset;
  min-height: 160px;
}
.tcard__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
}
.tcard__head svg {
  width: 15px;
  height: 15px;
  color: var(--si-2);
}
.tcard__head a {
  margin-left: auto;
  color: var(--si-3);
  font-size: 0.76rem;
  text-decoration: none;
}
.tcard p {
  color: var(--si-2);
  font-size: 0.82rem;
}
.tcard .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  padding: 5px 0;
}
.tcard .row small {
  color: var(--si-3);
}
/* ----- brain ----- */
.con-view[data-view='brain'] {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.brain-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.brain-tools .seg {
  font-size: 0.8rem;
}
.brain-tools .seg span {
  padding: 5px 11px;
}
.brain-tools .sp {
  flex: 1;
}
.brain-stage {
  position: relative;
  flex: 1;
  min-height: 0;
}
.brain-graph {
  position: absolute;
  inset: 0;
}
.brain-graph > svg {
  width: 100%;
  height: 100%;
}
.brain-graph[hidden] {
  display: none;
}
.brain-stage .brain {
  position: absolute;
  inset: 0;
}
.brain-stage .brain[hidden] {
  display: none;
}
.brain-find {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 220px;
}
.brain-chip {
  position: absolute;
  top: 10px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brain-chip .pill {
  width: max-content;
  font-size: 0.78rem;
  padding: 3px 11px;
}
.brain-chip small {
  color: var(--si-3);
  font-size: 0.76rem;
}
.brain-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
}
.brain-bar .sp {
  flex: 1;
}
.brain-side .con-panel__head {
  align-items: flex-start;
}
.brain-side__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(76, 141, 255, 0.18);
  color: #cfe0ff;
}
.brain-side__icon svg {
  width: 18px;
  height: 18px;
}
.brain-side .con-sub {
  font-size: 0.76rem;
}
.changed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.changed li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 1px 9px;
  font-size: 0.8rem;
  animation: msg 0.5s var(--ease);
}
.changed li i {
  grid-row: span 2;
  margin-top: 6px;
}
.changed li small {
  color: var(--si-3);
  font-size: 0.72rem;
}
.browse {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* the radial graph, as the console draws it */
.g-link {
  stroke-width: 1;
  opacity: 0.55;
}
.g-hub circle.ring {
  fill: rgba(6, 10, 20, 0.6);
  stroke-width: 2;
}
.g-hub circle.inner {
  opacity: 0.22;
}
.g-hub text {
  fill: var(--si);
  font: 600 13px var(--sans);
  text-anchor: middle;
}
.g-hub text.sub {
  fill: var(--si-3);
  font: 500 10px var(--sans);
}
.g-hub .badge circle {
  fill: #fff;
}
.g-hub .badge text {
  fill: #06101e;
  font: 700 9px var(--sans);
}
.g-core circle.disc {
  fill: #0b1326;
  stroke: rgba(150, 180, 230, 0.35);
  stroke-width: 1.5;
}
.g-core text {
  fill: #fff;
  font: 600 17px var(--sans);
  text-anchor: middle;
}
.g-hub.is-hot circle.ring {
  stroke-width: 3;
  filter: drop-shadow(0 0 8px currentColor);
}
.g-hub.is-hot circle.inner {
  opacity: 0.45;
}
.g-note {
  opacity: 0;
  transition: opacity 0.4s;
}
.g-note.is-on {
  opacity: 1;
}
.g-note text {
  fill: var(--si);
  font: 500 10px var(--sans);
  paint-order: stroke;
  stroke: #070a12;
  stroke-width: 3px;
}
.g-mini .g-hub text {
  font-size: 9px;
}
.g-mini .g-core text {
  font-size: 11px;
}
.g-mini .g-hub text.sub,
.g-mini .g-hub .badge {
  display: none;
}
/* the brain in three dimensions: in the opening, and inside the console */
.brain {
  position: absolute;
  inset: 0;
  outline: none;
}
.brain__canvas {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
  cursor: grab;
}
.brain.is-dragging .brain__canvas {
  cursor: grabbing;
}
.brain.is-pointing .brain__canvas {
  cursor: pointer;
}
.brain__canvas canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.brain.is-live .brain__canvas canvas {
  opacity: 1;
}
.brain__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.brain:focus-visible .brain__canvas {
  box-shadow: inset 0 0 0 2px rgba(143, 181, 255, 0.6);
}
/* the still drawing, for browsers that cannot show the scene */
.brain__flat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flat-all {
  transition: transform 0.7s var(--ease);
}
.flat-link {
  stroke-width: 1;
  opacity: 0.28;
  transition: opacity 0.3s;
}
.flat-link--hub {
  opacity: 0.4;
}
.flat-link--cross {
  opacity: 0.13;
}
.flat-node {
  cursor: pointer;
  transition: opacity 0.3s;
}
.flat-core-label {
  fill: #fff;
  font: 600 20px var(--display);
}
.flat-hub-label {
  fill: var(--ink);
  font: 600 13px var(--sans);
  paint-order: stroke;
  stroke: #05070d;
  stroke-width: 4px;
}
.flat-note-label {
  fill: var(--ink);
  font: 500 11px var(--sans);
  paint-order: stroke;
  stroke: #05070d;
  stroke-width: 3px;
  opacity: 0;
}
.has-focus .flat-node:not(.is-on) {
  opacity: 0.2;
}
.has-focus .flat-link:not(.is-on) {
  opacity: 0.05;
}
.flat-link.is-on {
  opacity: 0.9;
}
.flat-node.is-named .flat-note-label {
  opacity: 1;
}
@media (max-width: 980px) {
  .flat-hub-label {
    font-size: 21px;
  }
  .flat-core-label {
    font-size: 26px;
  }
  .flat-note-label {
    font-size: 21px;
  }
}
.blabel {
  position: absolute;
  left: 0;
  top: 0;
  visibility: hidden;
  white-space: nowrap;
  font-size: 0.74rem;
  line-height: 1.2;
  color: var(--si);
  transition: opacity 0.4s;
  will-change: transform;
}
.blabel--core {
  z-index: 2;
  translate: -50% -50%;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(4, 8, 20, 0.78);
  box-shadow: 0 0 0 1px rgba(184, 240, 255, 0.4);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.blabel--hub {
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.blabel--hub b {
  font-weight: 600;
  font-size: 0.8rem;
}
.blabel--hub small {
  color: var(--si-3);
  font-size: 0.66rem;
}
.blabel--note {
  translate: 0 -50%;
  opacity: 0;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(6, 12, 28, 0.82);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent);
  font-size: 0.7rem;
}
.blabel--note.is-shown {
  opacity: 1;
}
.blabel--note.is-main {
  background: rgba(10, 20, 44, 0.95);
  font-weight: 600;
}
.blabel--agent {
  translate: 0 -50%;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 7px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(8, 16, 38, 0.85);
  box-shadow: 0 0 0 1px rgba(76, 140, 255, 0.35);
  font-size: 0.68rem;
}
.blabel--agent.is-left {
  translate: -100% -50%;
}
.blabel--agent b {
  font-weight: 600;
}
.blabel--agent small {
  grid-column: 2;
  color: var(--sa);
  font-size: 0.64rem;
}
.blabel__dot {
  grid-row: span 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sb);
  box-shadow: 0 0 8px var(--sb);
}
.blabel.is-dim {
  opacity: 0.32;
}
.blabel.is-gone {
  opacity: 0;
}
.blabel--note.is-dim:not(.is-shown) {
  opacity: 0;
}
.office__stage.is-dragging {
  cursor: grabbing;
}
/* ----- observatory ----- */
.con-view[data-view='observatory'] {
  grid-template-columns: 250px minmax(0, 1fr);
}
.obs-agents .con-panel__head {
  justify-content: space-between;
}
.obs-agents .con-panel__head small {
  color: var(--si-3);
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dept {
  margin: 12px 0 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.8rem;
}
.dept small {
  color: var(--si-3);
  font-weight: 400;
}
.obs-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 12px 14px 0;
  padding: 3px;
  width: max-content;
  border-radius: 12px;
  border: 1px solid var(--sl);
  background: rgba(4, 7, 13, 0.6);
}
.obs-tab {
  padding: 5px 11px;
  border-radius: 9px;
  color: var(--si-2);
  font-weight: 500;
  font-size: 0.82rem;
}
.obs-tab[aria-selected='true'] {
  color: #fff;
  background: rgba(76, 141, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.3) inset;
}
.obs-main__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  scrollbar-width: thin;
}
.team-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.team-head b {
  font-size: 1rem;
}
.team-head .con-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 4px;
}
.team-head .con-sub span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.org {
  position: relative;
  padding-top: 4px;
}
.org__top {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
  position: relative;
}
.org__top::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 1px;
  height: 26px;
  background: var(--sl-2);
}
.org__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  border-top: 1px solid var(--sl-2);
  padding-top: 18px;
}
.org__col h5 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
}
.org__col h5 i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, var(--si-3));
}
.desk {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0 10px;
  align-items: center;
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  text-align: left;
  font-size: 0.8rem;
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.desk:hover {
  transform: translateY(-1px);
}
.desk--aida {
  width: 150px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding: 14px 12px;
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.5) inset;
}
.desk--aida .avatar {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
.desk b {
  display: block;
  font-weight: 600;
}
.desk small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--si-3);
}
.desk[data-status='work'] {
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.6) inset, 0 0 24px -8px rgba(76, 141, 255, 0.7);
}
.desk[data-status='wait'] {
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.65) inset, 0 0 24px -8px rgba(245, 181, 68, 0.7);
}
.office {
  position: relative;
  height: 100%;
  min-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: #05080f;
}
.office__legend {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.office__stage {
  position: absolute;
  inset: 0;
}
.office__stage canvas {
  width: 100%;
  height: 100%;
}
.office__help {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--si-3);
  font-size: 0.74rem;
}
.office__none {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--si-3);
  font-size: 0.82rem;
  text-align: center;
  padding: 20px;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.board__col h5 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--si-2);
}
.board__col h5 span {
  color: var(--si-3);
  font-weight: 400;
  margin-left: 6px;
}
.board__card {
  padding: 9px 10px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.78rem;
}
.board__card b {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}
.board__card small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--si-3);
}
.log {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.76rem;
}
.log li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--sl);
  color: var(--si-2);
}
.log time {
  color: var(--si-3);
}
.log b {
  color: var(--si);
  font-weight: 600;
}
/* employee page */
.emp-back {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sl);
  color: var(--si-2);
  font-size: 0.82rem;
  text-align: left;
}
.emp {
  padding: 14px;
}
.emp__head {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sl);
  margin-bottom: 14px;
}
.emp__head .avatar {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  font-size: 1rem;
}
.emp__head h4 {
  margin: 0 0 4px;
  font: 600 1.2rem/1.2 var(--sans);
}
.emp__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--si-2);
  font-size: 0.8rem;
}
.emp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
}
.emp__box {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.emp__box b {
  display: block;
  margin-bottom: 4px;
}
.emp__box dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
}
.emp__box dt {
  color: var(--si-3);
}
.emp__box dd {
  margin: 0;
}
/* ----- skills ----- */
.con-view[data-view='skills'] {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.skills-head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--sl);
}
.skills-head h3 {
  margin: 0 0 4px;
  font: 600 1.3rem/1.2 var(--sans);
}
.skill-group {
  margin: 14px 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-group .sp {
  flex: 1;
}
.skill-group b {
  font-weight: 600;
}
.skill-group small {
  color: var(--si-3);
}
.skill-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}
.skill {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.78rem;
}
.skill b {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}
.skill span {
  color: var(--si-2);
}
.skill small {
  display: block;
  margin-top: 6px;
  color: var(--si-3);
}
.train {
  padding: 16px;
}
.train h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font: 600 1rem/1.2 var(--sans);
}
.train h4 i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(166, 107, 255, 0.2);
}
.train p {
  color: var(--si-2);
  font-size: 0.8rem;
}
.train ol {
  padding-left: 1.2em;
  color: var(--si-2);
  font-size: 0.8rem;
}
/* ----- settings ----- */
.con-view[data-view='settings'] {
  grid-template-columns: 220px minmax(0, 1fr);
  padding: 22px 26px;
}
.set-nav h3 {
  margin: 0 0 12px;
  font: 600 1.4rem/1.2 var(--sans);
}
.set-nav button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--si-2);
  font-size: 0.86rem;
  text-align: left;
}
.set-nav button.is-on {
  background: rgba(76, 141, 255, 0.16);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.3) inset;
}
.set-nav hr {
  border: 0;
  border-top: 1px solid var(--sl);
  margin: 8px 0;
}
.set-main h3 {
  margin: 0 0 2px;
  font: 600 1.15rem/1.2 var(--sans);
}
.set-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sc-2);
  box-shadow: 0 0 0 1px var(--sl) inset;
}
.set-card h4 {
  margin: 0;
  font: 600 0.95rem/1.3 var(--sans);
}
.set-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--sl);
  font-size: 0.82rem;
}
.set-row:first-of-type {
  border-top: 0;
  margin-top: 10px;
}
.set-row b {
  display: block;
}
.set-row small {
  color: var(--si-3);
}
.set-row .cinput {
  color: var(--si);
}

/* ----- the console on a phone: the app's own phone layout ----- */
@media (max-width: 860px) {
  .console {
    height: min(80vh, 720px);
    min-height: 600px;
    font-size: 0.84rem;
  }
  .con-top {
    height: 54px;
    padding: 0 10px;
  }
  .con-brand b,
  .con-brand small {
    display: none;
  }
  .con-nav {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 5;
    margin: 0;
    justify-content: space-around;
    background: rgba(5, 8, 15, 0.96);
    border-radius: 18px;
  }
  .con-tab {
    flex-direction: column;
    gap: 3px;
    padding: 7px 6px;
    font-size: 0.66rem;
  }
  .con-tab svg {
    width: 18px;
    height: 18px;
  }
  .con-tools .con-icon:not(.is-bell) {
    display: none;
  }
  .con-tools {
    margin-left: auto;
  }
  .con-status {
    font-size: 0.78rem;
    padding: 6px 11px;
  }
  .con-body {
    inset: 54px 0 0;
  }
  .con-view {
    padding: 8px 8px 74px;
  }
  .con-view[data-view='chat'],
  .con-view[data-view='brain'],
  .con-view[data-view='observatory'],
  .con-view[data-view='skills'],
  .con-view[data-view='settings'] {
    grid-template-columns: 1fr;
  }
  .convos,
  .rail,
  .brain-side,
  .obs-agents,
  .train,
  .set-nav {
    display: none;
  }
  .msg,
  .starters,
  .work,
  .outs,
  .ask,
  .keep {
    margin-left: 0;
    max-width: none;
  }
  .msg {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .msg--you {
    grid-template-columns: minmax(0, 1fr) 30px;
  }
  .chat-head .meta {
    display: none;
  }
  .voicebar span.hint {
    display: none;
  }
  .today__grid {
    grid-template-columns: 1fr;
  }
  .con-view[data-view='today'] {
    padding: 14px 14px 80px;
  }
  .board {
    grid-template-columns: 1fr 1fr;
  }
  .emp__grid {
    grid-template-columns: 1fr;
  }
  .brain-find {
    display: none;
  }
}

/* ---------- what she is ---------- */
.what__title {
  margin-bottom: clamp(36px, 6vh, 72px);
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 5fr);
  gap: 24px clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vh, 72px) 0;
  border-top: 1px solid var(--rule);
}
.row:last-of-type {
  border-bottom: 1px solid var(--rule);
}
.row__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.js .row[data-reveal] .row__title {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease) 0.1s;
}
.js .row[data-reveal].is-in .row__title {
  clip-path: inset(0 -2% 0 0);
}
.js .row[data-reveal] {
  transform: none;
}
.row__text {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.05rem;
}
.row__spec {
  justify-self: end;
  width: 100%;
  max-width: 440px;
}
/* a note, as it is kept: a plain file */
.note-file {
  margin: 0;
  padding: 22px 24px 20px;
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--rule-2), 0 24px 40px -28px rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
}
.note-file__path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-3);
}
.note-file__path svg {
  width: 14px;
  height: 14px;
}
.note-file pre {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px dashed var(--rule-2);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--ink-3);
  white-space: pre-wrap;
}
.note-file p {
  margin: 0 0 0.7em;
  color: var(--ink-2);
}
.note-file a {
  color: var(--ink);
  text-decoration-color: var(--rule-2);
}
.note-file .lamp {
  margin-left: 6px;
  vertical-align: 1px;
}
/* the staff list */
.staff {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}
.staff li {
  break-inside: avoid;
  padding: 4px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.staff li.dept {
  margin: 10px 0 2px;
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-3);
  display: block;
}
.staff li.dept:first-child {
  margin-top: 0;
}
.staff .lamp {
  width: 7px;
  height: 7px;
  margin-left: auto;
}
.staff__count {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-3);
}
/* a screen, placed on the page */
.screen {
  padding: 14px;
  border-radius: 18px;
  background: var(--sc);
  color: var(--si);
  box-shadow: 0 0 0 1px var(--rule-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  font-family: var(--display);
  font-size: 0.82rem;
  line-height: 1.45;
}
.screen .ask,
.screen .keep {
  margin: 0;
  max-width: none;
  animation: none;
}
.screen .stopper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px rgba(255, 116, 116, 0.4) inset;
}
.screen .stopper b {
  font-weight: 600;
}
.screen .stopper small {
  display: block;
  color: var(--si-3);
}
.screen .stopper .cbtn {
  margin-left: auto;
}
.screen .log {
  margin-top: 10px;
}
/* the where-she-runs drawing */
.where {
  width: 100%;
  height: auto;
}
.where text {
  font: 500 13px var(--sans);
  fill: var(--ink);
}
.where text.small {
  font: 400 11.5px var(--sans);
  fill: var(--ink-3);
}
.where text.serif {
  font: italic 15px var(--serif);
  fill: var(--ink-3);
}
.where .box {
  fill: var(--panel);
  stroke: var(--ink);
  stroke-width: 1;
}
.where .box--out {
  fill: var(--bg);
  stroke-dasharray: 3 3;
}
.where .ln {
  stroke: var(--ink);
  stroke-width: 1;
  fill: none;
}
.where .ln--dash {
  stroke-dasharray: 4 4;
  stroke: var(--ink-3);
}
.where .halo {
  fill: none;
  stroke: var(--rule-2);
  stroke-dasharray: 2 5;
}

/* ---------- leave a note ---------- */
.note-sec {
  padding: clamp(80px, 12vh, 150px) 0 clamp(60px, 8vh, 100px);
}
.note-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 6vw, 110px);
  align-items: center;
}
.sheet {
  padding: 26px 28px 24px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--rule-2), 0 40px 60px -36px rgba(0, 0, 0, 0.8);
}
.sheet__path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-3);
}
.sheet__path svg {
  width: 14px;
  height: 14px;
}
.sheet label {
  display: block;
  margin-bottom: 16px;
}
.sheet label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
}
.sheet label .opt {
  color: var(--ink-3);
  font-weight: 400;
}
.sheet input,
.sheet textarea {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--rule-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.02rem/1.4 var(--sans);
  outline: none;
  transition: border-color 0.2s;
}
.sheet input:focus,
.sheet textarea:focus {
  border-color: var(--ink);
}
.sheet ::placeholder {
  color: var(--ink-3);
}
.sheet textarea {
  resize: vertical;
  min-height: 72px;
}
.sheet__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 6px;
}
.sheet__note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-3);
  max-width: 28em;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--ink-3);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 40px;
  align-items: start;
}
.site-footer p {
  margin: 0 0 6px;
  max-width: 48em;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.site-footer nav a {
  text-decoration: none;
  color: var(--ink-2);
}
.site-footer nav a:hover {
  color: var(--ink);
}

/* ---------- dig deeper ---------- */
.page-hero {
  padding: calc(var(--header) + clamp(56px, 10vh, 120px)) 0 clamp(40px, 7vh, 80px);
}
.page-hero .h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2.8rem, 1.8rem + 4vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 14em;
}
.page-hero .lead {
  margin-top: 26px;
}
.deeper {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header) + 32px);
}
.toc p {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-3);
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  border-left: 1px solid var(--rule);
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 10px;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 1px solid transparent;
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.toc a::before {
  content: counter(toc);
  font-family: var(--serif);
  font-style: italic;
  min-width: 1.1em;
  color: var(--ink-3);
}
.toc a:hover,
.toc a.is-current {
  color: var(--ink);
  border-color: var(--ink);
}
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(48px, 8vh, 96px) 0;
  border-top: 1px solid var(--rule);
}
.chapter:first-child {
  border-top: 0;
  padding-top: 0;
}
.chapter__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-3);
}
.chapter h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.in-short {
  margin: 0 0 18px;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--ink);
  color: var(--ink);
  font-size: 1rem;
}
.in-short b {
  font-weight: 600;
}
.chapter p {
  color: var(--ink-2);
}
.card.illus {
  padding: 16px;
  border-radius: 18px;
  background: var(--sc);
  color: var(--si);
  box-shadow: 0 0 0 1px var(--rule-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  font-family: var(--display);
  font-size: 0.82rem;
  line-height: 1.45;
}
.illus svg {
  width: 100%;
  height: auto;
}
.illus .svg-text {
  fill: var(--si);
  font: 600 15px var(--sans);
}
.illus .svg-muted {
  fill: var(--si-3);
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
}
.illus .small {
  font-size: 0.78rem;
}
.illus .muted {
  color: var(--si-3);
}
.illus .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.illus .chips em {
  font: 500 0.72rem/1.6 var(--sans);
  padding: 1px 9px;
  border-radius: 999px;
  border: 1px solid var(--sl-2);
  color: var(--si-2);
}
.illus .mini-btn {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--sl-2);
  background: rgba(150, 180, 230, 0.06);
  font-weight: 600;
  font-size: 0.74rem;
}
.illus .mini-btn--go {
  background: rgba(76, 141, 255, 0.35);
  border-color: rgba(110, 168, 255, 0.6);
}
.illus .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(76, 141, 255, 0.16);
  color: #cfe0ff;
  flex: none;
}
.illus .icon svg {
  width: 18px;
  height: 18px;
}
.match {
  display: grid;
  gap: 8px;
}
.match__ask {
  margin-bottom: 8px;
}
.match__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.86rem;
}
.match__row.is-pick {
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.6) inset, 0 0 30px -10px rgba(76, 141, 255, 0.9);
}
.match__row b {
  font-weight: 600;
}
.match__row .why {
  grid-column: 1 / -1;
  color: var(--si-2);
  font-size: 0.8rem;
}
.fit {
  display: flex;
  gap: 3px;
}
.fit i {
  width: 14px;
  height: 6px;
  border-radius: 3px;
  background: rgba(150, 180, 230, 0.15);
}
.fit i.on {
  background: var(--sb);
  box-shadow: 0 0 6px rgba(76, 141, 255, 0.7);
}
.illus .bubble {
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.86rem;
  margin-bottom: 8px;
}
.illus .bubble--you {
  background: rgba(76, 141, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.35) inset;
}
.illus .bubble__who {
  display: block;
  margin-bottom: 2px;
  color: var(--sb-2);
  font-size: 0.72rem;
  font-weight: 600;
}
.illus .bubble--you .bubble__who {
  color: #ffd98f;
}
.lanes {
  display: grid;
  gap: 18px;
  font-size: 0.8rem;
}
.lanes h5 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--si-2);
}
.lane {
  position: relative;
  height: 30px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: rgba(150, 180, 230, 0.05);
}
.lane span {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 600;
  color: #04122b;
  background: #8fb5ff;
}
.lane span.alt {
  background: #c3b4ff;
}
.lane span.slow {
  background: rgba(150, 180, 230, 0.25);
  color: var(--si);
}
.illus .result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.07);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.35) inset;
  font-size: 0.82rem;
}
.illus .result svg {
  width: 16px;
  height: 16px;
  color: #a6f0c4;
  flex: none;
}
.illus .result small {
  display: block;
  color: var(--si-3);
}
.illus .ask-card {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(60, 40, 10, 0.55), rgba(30, 20, 6, 0.6)), var(--sc-3);
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.55) inset;
}
.illus .ask-card__head {
  display: flex;
  gap: 10px;
}
.illus .ask-card__head b {
  display: block;
}
.illus .ask-card__head small {
  color: #ffd98f;
  font-size: 0.76rem;
}
.illus .ask-card__what {
  margin: 10px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--mono);
  font-size: 0.76rem;
  color: #f4e6cf;
}
.illus .ask-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.grants {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.8rem;
}
.grants__title {
  margin-bottom: 6px;
  color: var(--si-3);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.grants__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid var(--sl);
}
.illus .log li {
  grid-template-columns: 44px minmax(0, 1fr);
}
.transcript {
  display: grid;
  gap: 8px;
}
.illus .keep {
  margin: 0;
  max-width: none;
  animation: none;
}
.swap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.swap .brainbox {
  padding: 14px;
  border-radius: 14px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.8rem;
}
.swap .brainbox b {
  display: block;
  margin-bottom: 6px;
}
.swap .brainbox ul {
  margin: 0;
  padding-left: 1em;
  color: var(--si-2);
}
.swap > svg {
  width: 28px;
  height: 28px;
  color: var(--sb-2);
}
.swap__same {
  grid-column: 1 / -1;
  padding: 14px;
  border-radius: 14px;
  text-align: center;
  background: rgba(76, 141, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.45) inset;
  font-size: 0.84rem;
}
.swap__same b {
  display: block;
  margin-bottom: 4px;
}
.sched {
  display: grid;
  gap: 8px;
}
.sched__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
  font-size: 0.86rem;
}
.sched__row small {
  display: block;
  color: var(--si-3);
}
.places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  font-size: 0.82rem;
}
.places div {
  padding: 18px 10px;
  border-radius: 14px;
  background: var(--sc-3);
  box-shadow: 0 0 0 1px var(--sl) inset;
}
.places svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--sb-2);
}
.places small {
  display: block;
  color: var(--si-3);
}
.faq {
  max-width: 820px;
}
.faq details {
  border-top: 1px solid var(--rule);
}
.faq details:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  margin-left: auto;
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 0 20px;
  max-width: 40em;
  color: var(--ink-2);
}
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding-top: clamp(40px, 6vh, 72px);
  border-top: 1px solid var(--rule);
}
.cta .h2 {
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 4rem);
}
.cta .lead {
  margin: 10px 0 0;
}

/* ---------- the office's labels and story ---------- */
.model__stage.is-pointing,
.office__stage.is-pointing {
  cursor: pointer;
}
.office__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.olabel {
  position: absolute;
  left: 0;
  top: 0;
  translate: -50% -100%;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(5, 8, 20, 0.72);
  box-shadow: 0 0 0 1px rgba(150, 180, 230, 0.16);
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--ink-2);
  white-space: nowrap;
  transition: box-shadow 0.3s, color 0.3s;
  will-change: transform;
}
.olabel b {
  font-weight: 600;
}
.olabel small {
  max-width: 0;
  overflow: hidden;
  font-size: 0.64rem;
  color: var(--lamp-ink);
  transition: max-width 0.5s var(--ease);
}
.olabel.is-on {
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(240, 165, 46, 0.55);
}
.olabel.is-on small {
  max-width: 240px;
}
.olabel.is-wait {
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.9), 0 0 18px -4px rgba(245, 181, 68, 0.8);
}
.olabel.is-picked {
  box-shadow: 0 0 0 2px #fff;
}
.olabel--zone {
  translate: -50% 6px;
  padding: 2px 9px;
  background: rgba(5, 8, 20, 0.5);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent);
  color: var(--c);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
}
.olabel--aida {
  box-shadow: 0 0 0 1px rgba(76, 200, 255, 0.6);
  color: var(--ink);
  font-family: var(--display);
}
.olabel--aida small {
  max-width: 200px;
  color: var(--ink-3);
  font-family: var(--sans);
}
.office .olabel {
  font-size: 0.64rem;
}
.office .olabel small {
  color: #b9d3ff;
}
.office .olabel.is-on {
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.6);
}
.model__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 12px 0 0;
  flex: 1;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.model__legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.model__legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}
.model .brain-card {
  bottom: 16px;
  right: 16px;
}

/* ---------- the AI brain, growing ---------- */
.grow {
  padding-bottom: clamp(40px, 6vh, 72px);
}
.grow__stage {
  position: relative;
  margin-top: clamp(24px, 4vh, 48px);
  aspect-ratio: 16 / 7.2;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(60% 80% at 50% 50%, rgba(20, 30, 60, 0.35), transparent 70%);
  box-shadow: 0 0 0 1px var(--rule) inset;
}
.grow__canvas {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
}
.grow__stage.is-dragging .grow__canvas {
  cursor: grabbing;
}
.grow__hint {
  position: absolute;
  top: 16px;
  left: 22px;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-3);
  pointer-events: none;
}
.grow__canvas canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.grow__stage.is-live .grow__canvas canvas {
  opacity: 1;
}
.grow__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.glabel {
  position: absolute;
  left: 0;
  top: 0;
  translate: 10px -50%;
  opacity: 0;
  padding: 2px 8px;
  border-radius: 7px;
  background: rgba(6, 12, 28, 0.82);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c, #4cc8ff) 50%, transparent);
  font-size: 0.72rem;
  color: var(--ink);
  white-space: nowrap;
  will-change: transform;
}
.glabel.is-on {
  display: block;
}
.grow__read {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  gap: 24px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(5, 8, 20, 0.7);
  box-shadow: 0 0 0 1px var(--rule);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.grow__read b {
  display: block;
  font: 500 1.7rem/1.1 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.grow__read small {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  color: var(--ink-3);
}
.grow__latest {
  position: absolute;
  right: 22px;
  bottom: 22px;
  margin: 0;
  max-width: 46%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-2);
  text-align: right;
}
.grow__none {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--ink-3);
}
.grow__stage.is-none .grow__none {
  display: grid;
}
.grow__stage.is-none .grow__read,
.grow__stage.is-none .grow__latest {
  display: none;
}
.grow__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px clamp(20px, 3vw, 48px);
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
  color: var(--ink-2);
}
.grow__points b {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 760px) {
  .grow__points {
    grid-template-columns: 1fr;
  }
  .grow__latest {
    left: 22px;
    right: 22px;
    top: 18px;
    bottom: auto;
    max-width: none;
    text-align: left;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .row__text {
    grid-column: 1;
  }
  .row__spec {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
  }
}
@media (max-width: 900px) {
  :root {
    --header: 64px;
  }
  .hero {
    min-height: 0;
    display: block;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__brain {
    max-width: 560px;
    margin: 0 auto 44px;
    aspect-ratio: 1 / 0.9;
  }
  .hero__brain .model__cap {
    left: 0;
    right: 0;
    bottom: -36px;
    text-align: center;
    font-size: 0.95rem;
  }
  .brain-card {
    bottom: 40px;
  }
  .model__box {
    aspect-ratio: 1 / 0.95;
    min-height: 0;
  }
  /* a phone has no room for every name: people are named as they start work, or when tapped */
  .olabel--zone,
  .model__stage .olabel:not(.is-on):not(.is-picked):not(.olabel--aida) {
    display: none;
  }
  .model__help span {
    display: none;
  }
  .office-sec__head {
    grid-template-columns: 1fr;
  }
  .grow__stage {
    aspect-ratio: 1 / 1.1;
  }
  .grow__read {
    gap: 12px;
    padding: 10px 12px;
  }
  .grow__read b {
    font-size: 1.15rem;
  }
  .grow__read small {
    font-size: 0.66rem;
  }
  .grow__hint {
    display: none;
  }
  .grow__latest {
    font-size: 0.9rem;
  }
  .olabel {
    font-size: 0.62rem;
  }
  .olabel small {
    display: none;
  }
  .model__legend {
    gap: 10px 14px;
  }
  .try__head {
    grid-template-columns: 1fr;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .row__spec {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    max-width: 480px;
  }
  .note-sec__grid {
    grid-template-columns: 1fr;
  }
  .deeper {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
  .toc ol {
    columns: 2;
    column-gap: 24px;
  }
  .chapter {
    grid-template-columns: 1fr;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .site-footer .wrap {
    grid-template-columns: 1fr;
  }
  .menu-btn {
    display: flex;
  }
  .nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.1rem;
  }
  .nav__cta {
    margin-top: 12px;
    justify-content: center;
    border-bottom: 1px solid var(--ink) !important;
  }
  .needs {
    font-size: 0.8rem;
    padding: 6px 10px 6px 9px;
  }
}
@media (max-width: 560px) {
  .staff {
    columns: 1;
  }
  .toc ol {
    columns: 1;
  }
  .swap {
    grid-template-columns: 1fr;
  }
  .swap > svg {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .places {
    grid-template-columns: 1fr;
  }
  .console__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- less motion when asked ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .js .row[data-reveal] .row__title {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .js .hero__title .line > span {
    transform: none;
    animation: none;
  }
  .wave i {
    transform: scaleY(var(--h, 0.6));
  }
  .model__stage canvas {
    opacity: 1;
  }
}
