:root {
  color-scheme: dark;
  --bg: #080b0e;
  --panel: rgba(15, 20, 24, .91);
  --panel-solid: #10161b;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #f4f2ec;
  --muted: #a9b0b4;
  --soft: #737e84;
  --lime: #c7ff49;
  --lime-deep: #89c619;
  --orange: #ff8b36;
  --blue: #5d92ff;
  --red: #ff5c56;
  --radius: 28px;
  --shadow: 0 34px 100px rgba(0, 0, 0, .44);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 52% -10%, rgba(75, 94, 77, .15), transparent 33rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.ambient,
.page-grid {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.ambient {
  filter: blur(110px);
  opacity: .23;
}

.ambient--warm {
  inset: 8% auto auto -15%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: #b45519;
}

.ambient--cool {
  inset: auto -15% 4% auto;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: #244e95;
}

.page-grid {
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0, transparent 65%);
}

.site-head,
main,
.site-foot {
  width: min(1520px, calc(100% - 56px));
  margin-inline: auto;
}

.site-head {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-orb,
.message-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    radial-gradient(circle at 36% 27%, rgba(255, 255, 255, .9), transparent 8%),
    linear-gradient(145deg, #d6ff70, #7fac1d);
  color: #101807;
  box-shadow: inset 0 -8px 16px rgba(47, 82, 0, .24), 0 8px 24px rgba(166, 234, 49, .16);
  font-weight: 950;
}

.brand-orb {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  font-size: 22px;
  transform: rotate(-5deg);
}

.brand > span:last-child {
  display: grid;
}

.brand strong {
  font-size: 18px;
  letter-spacing: .15em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.online {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #d8e0da;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .04em;
}

.online i,
.stage-caption > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(199, 255, 73, .08), 0 0 18px var(--lime);
  animation: onlinePulse 2.3s ease-in-out infinite;
}

.start-screen {
  min-height: calc(100svh - 102px);
  display: grid;
  grid-template-columns: minmax(650px, 1.42fr) minmax(370px, .72fr);
  align-items: center;
  gap: clamp(24px, 4vw, 74px);
  padding: 12px 0 38px;
}

.conversation-shell {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 38%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
}

.conversation-head {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.conversation-head p,
.plain-flow > header p,
.directions > header p,
.contact > div > p {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.conversation-head h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(28px, 3vw, 48px);
  line-height: .98;
  letter-spacing: -.045em;
}

.conversation-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.demo-badge {
  padding: 7px 9px;
  border: 1px solid rgba(255, 184, 85, .25);
  border-radius: 999px;
  background: rgba(255, 155, 60, .08);
  color: #ffc27b;
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
}

#resetSession {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.conversation-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 228px;
}

.dialog-column {
  width: 100%;
  min-width: 0;
  padding: 22px 24px 20px;
}

.messages {
  min-height: 104px;
  max-height: min(32vh, 310px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1px 7px 1px 1px;
  scrollbar-color: rgba(255, 255, 255, .14) transparent;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 14px;
  animation: messageIn .32s ease both;
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 12px;
  font-size: 16px;
}

.message > div {
  min-width: 0;
  max-width: 84%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px 18px 18px 18px;
  background: rgba(255, 255, 255, .055);
  overflow-wrap: anywhere;
}

.message strong {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font-size: 12px;
}

.message p {
  margin: 0;
  color: #e9ecea;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.message--user {
  justify-content: flex-end;
}

.message--user > div {
  border-radius: 18px 5px 18px 18px;
  border-color: rgba(199, 255, 73, .22);
  background: rgba(199, 255, 73, .09);
}

.message--user strong {
  color: #d7dfd4;
  text-align: right;
}

.typing {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 1px 0 10px;
}

.typing .message-avatar {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 14px;
}

.typing > div {
  display: flex;
  gap: 4px;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: typing 1s ease-in-out infinite;
}

.typing i:nth-child(2) {
  animation-delay: .14s;
}

.typing i:nth-child(3) {
  animation-delay: .28s;
}

.typing small {
  color: var(--muted);
  font-size: 12px;
}

.prompt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 2px 0 12px;
}

.prompt-row button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #bfc6c8;
  font-size: 12px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.prompt-row button:hover {
  border-color: rgba(199, 255, 73, .42);
  color: var(--text);
  transform: translateY(-1px);
}

.composer label {
  display: block;
  margin: 0 0 8px;
  color: #dfe3e0;
  font-size: 12px;
  font-weight: 800;
}

.composer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(199, 255, 73, .35);
  border-radius: 18px;
  background: rgba(4, 7, 9, .72);
  box-shadow: 0 0 0 4px rgba(199, 255, 73, .035), inset 0 1px rgba(255, 255, 255, .04);
}

.composer textarea {
  width: 100%;
  min-height: 50px;
  max-height: 132px;
  resize: none;
  padding: 12px 10px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.composer textarea::placeholder {
  color: #6f797e;
}

.composer button {
  min-width: 154px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 16px;
  border: 0;
  border-radius: 13px;
  background: var(--lime);
  color: #101608;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(153, 210, 42, .18);
  transition: filter .2s ease, transform .2s ease, opacity .2s ease;
}

.composer button b {
  font-size: 21px;
}

.composer button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.composer button:disabled {
  opacity: .35;
  cursor: default;
}

.composer > p {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.result-promise {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(93, 146, 255, .16);
  border-radius: 14px;
  background: rgba(93, 146, 255, .055);
}

.result-promise span {
  color: #a9c7ff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.result-promise p,
.speed-note {
  margin: 0;
  color: #c2c8cb;
  font-size: 12px;
  line-height: 1.4;
}

.speed-note {
  margin: 9px 2px 0;
  color: var(--soft);
}

.status-rail {
  min-width: 0;
  padding: 20px 17px;
  border-left: 1px solid var(--line);
  background: rgba(4, 7, 9, .22);
}

.status-rail > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
}

.status-rail > header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.status-rail > header strong {
  color: var(--lime);
  font: 800 17px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.04em;
}

.status-rail ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-rail li {
  position: relative;
  min-height: 50px;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  color: #727c80;
}

.status-rail li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  bottom: -1px;
  left: 5px;
  width: 1px;
  background: var(--line);
}

.status-rail li > i {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 3px;
  border: 2px solid #4c565a;
  border-radius: 50%;
  background: var(--panel-solid);
}

.status-rail li span {
  display: grid;
  align-content: start;
  gap: 4px;
}

.status-rail li strong {
  font-size: 12px;
  font-weight: 770;
}

.status-rail li small {
  color: #626c70;
  font-size: 12px;
}

.status-rail li.is-current,
.status-rail li.is-done {
  color: #dfe5e0;
}

.status-rail li.is-current > i {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(199, 255, 73, .08), 0 0 16px rgba(199, 255, 73, .5);
}

.status-rail li.is-done > i {
  border-color: var(--lime-deep);
  background: var(--lime-deep);
}

.status-rail li.is-done:not(:last-child)::after {
  background: rgba(137, 198, 25, .52);
}

.status-rail li.is-current small,
.status-rail li.is-done small {
  color: #8e999d;
}

#statusCaption {
  margin: 5px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.chu-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: min(720px, calc(100svh - 132px));
  align-self: end;
  perspective: 1100px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .12s ease-out;
}

.stage-halo {
  position: absolute;
  inset: 13% 3% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 57%, rgba(199, 255, 73, .12), transparent 31%),
    radial-gradient(circle at 50% 55%, rgba(255, 139, 54, .09), transparent 52%);
  filter: blur(5px);
}

.chu-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 3%;
  bottom: 70px;
  left: 3%;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(199, 255, 73, .12), rgba(255, 255, 255, .02) 49%, transparent 72%);
  box-shadow: inset 0 18px 40px rgba(255, 255, 255, .025);
  transform: rotateX(68deg);
}

.stage-network {
  position: absolute;
  z-index: 0;
  inset: 15% 4% 19%;
  opacity: .38;
}

.stage-network::before,
.stage-network::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 58%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 255, 73, .45), transparent);
  transform: translateX(-50%);
}

.stage-network::before {
  top: 16%;
}

.stage-network::after {
  bottom: 10%;
}

.stage-network i {
  position: absolute;
  left: calc(50% + var(--x));
  top: 16%;
  width: 2px;
  height: 74%;
  background: linear-gradient(transparent, rgba(199, 255, 73, .24), transparent);
}

.stage-network i::after {
  content: "";
  position: absolute;
  top: 5%;
  left: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: dataRun 3.7s linear infinite var(--delay);
}

.chu {
  position: absolute;
  z-index: 2;
  bottom: 70px;
  left: 50%;
  width: 78%;
  height: 88%;
  margin: 0;
  transform: translateX(-50%) translateZ(20px);
  transform-origin: 50% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .62s ease, filter .62s ease, transform .72s cubic-bezier(.2, .75, .12, 1);
  filter: saturate(.74) brightness(.62);
}

.chu img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .48));
  animation: characterIdle 4.2s ease-in-out infinite;
}

.chu figcaption {
  position: absolute;
  z-index: 4;
  right: 10%;
  bottom: 5%;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 11, 14, .82);
  color: #dde2de;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease .22s, transform .4s ease .22s;
  backdrop-filter: blur(12px);
}

.chu.is-selected {
  opacity: 1;
  filter: saturate(1) brightness(1);
}

.chu.is-selected figcaption {
  opacity: 1;
  transform: translateY(0);
}

.chu--host {
  z-index: 4;
  width: 86%;
}

.chu--auto,
.chu--home,
.chu--legal {
  z-index: 5;
  width: 82%;
  transform: translateX(-50%) translateY(9%) scale(.88);
}

body[data-direction="auto"] .chu--host,
body[data-direction="home"] .chu--host,
body[data-direction="legal"] .chu--host,
body[data-direction*="-"] .chu--host {
  width: 56%;
  opacity: .5;
  filter: saturate(.65) brightness(.72);
  transform: translateX(-108%) translateY(5%) scale(.88);
}

body[data-direction="auto"] .chu--auto,
body[data-direction="home"] .chu--home,
body[data-direction="legal"] .chu--legal {
  transform: translateX(-32%) translateY(0) scale(1);
}

body[data-direction*="-"] .chu.is-selected:not(.chu--host) {
  width: 61%;
}

body[data-direction="auto-home"] .chu--auto,
body[data-direction="auto-legal"] .chu--auto,
body[data-direction="home-legal"] .chu--home {
  transform: translateX(-19%) scale(.96);
}

body[data-direction="auto-home"] .chu--home,
body[data-direction="auto-legal"] .chu--legal,
body[data-direction="home-legal"] .chu--legal {
  transform: translateX(-84%) translateY(3%) scale(.87);
}

.stage-caption {
  position: absolute;
  z-index: 9;
  right: 6%;
  bottom: 22px;
  left: 6%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 11, 14, .77);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px);
}

.stage-caption p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.stage-caption strong {
  font-size: 13px;
}

.stage-caption span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.plain-flow,
.directions,
.contact {
  margin-top: 68px;
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 20, 24, .62);
}

.plain-flow > header,
.directions > header {
  max-width: 760px;
  margin-bottom: 32px;
}

.directions > header span {
  display: block;
  max-width: 820px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.plain-flow h2,
.directions h2,
.contact h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.045em;
}

.plain-flow > div,
.direction-grid {
  display: grid;
  gap: 10px;
}

.plain-flow > div {
  grid-template-columns: repeat(4, 1fr);
}

.plain-flow article,
.direction {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025);
}

.plain-flow article b {
  color: var(--lime);
  font: 850 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.plain-flow article h3,
.direction h3 {
  margin: 34px 0 8px;
  font-size: 20px;
  letter-spacing: -.025em;
}

.plain-flow article p,
.direction p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.direction-grid {
  grid-template-columns: repeat(3, 1fr);
}

.direction {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.direction > span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.direction h3 {
  position: relative;
  z-index: 2;
  max-width: 62%;
  margin-top: 62px;
  font-size: 25px;
}

.direction > p {
  position: relative;
  z-index: 2;
  max-width: 64%;
}

.direction > img {
  position: absolute;
  z-index: 1;
  right: -7%;
  bottom: -9%;
  width: 57%;
  height: 94%;
  object-fit: contain;
  object-position: 50% 100%;
  opacity: .82;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, .45));
}

.direction-status {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #cbd5c5;
  font-size: 12px;
  font-weight: 800;
}

.direction-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.direction--auto {
  background: radial-gradient(circle at 80% 0, rgba(255, 139, 54, .13), transparent 48%), rgba(255, 255, 255, .025);
}

.direction--home {
  background: radial-gradient(circle at 80% 0, rgba(93, 146, 255, .13), transparent 48%), rgba(255, 255, 255, .025);
}

.direction--legal {
  background: radial-gradient(circle at 80% 0, rgba(255, 92, 86, .12), transparent 48%), rgba(255, 255, 255, .025);
}

.future-directions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.future-chu {
  position: relative;
  min-height: 154px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  overflow: hidden;
  padding: 17px;
  border: 1px dashed rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .018);
}

.future-chu > b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  color: #80898c;
  font-size: 20px;
  filter: grayscale(1);
}

.future-chu > div {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
}

.future-chu small {
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.future-chu strong {
  font-size: 16px;
}

.future-chu span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.future-chu--beauty {
  padding-right: 42%;
  border-style: solid;
  background: radial-gradient(circle at 90% 20%, rgba(255, 117, 180, .11), transparent 56%), rgba(255, 255, 255, .018);
}

.future-chu--beauty > img {
  position: absolute;
  right: -13%;
  bottom: -18%;
  width: 67%;
  height: 122%;
  object-fit: contain;
  object-position: 50% 100%;
  opacity: .46;
  filter: grayscale(.35) brightness(.68);
}

.future-chu--more {
  border-style: solid;
  background: linear-gradient(135deg, rgba(199, 255, 73, .055), rgba(93, 146, 255, .035));
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  margin-bottom: 60px;
}

.contact nav {
  display: grid;
  gap: 9px;
}

.contact-link {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, .025);
  transition: border-color .2s ease, transform .2s ease;
}

.contact-link:hover {
  border-color: rgba(255, 255, 255, .26);
  transform: translateX(3px);
}

.contact-link span {
  color: var(--muted);
  font-size: 13px;
}

.contact-link strong {
  font-size: 14px;
}

.site-foot {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.site-foot p {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.site-foot span {
  color: var(--muted);
  font-size: 13px;
}

.site-foot a {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

@keyframes onlinePulse {
  50% { opacity: .58; transform: scale(.86); }
}

@keyframes characterIdle {
  0%, 100% { transform: translateY(0) rotate(.12deg); }
  50% { transform: translateY(-5px) rotate(-.12deg); }
}

@keyframes dataRun {
  from { top: 3%; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  to { top: 94%; opacity: 0; }
}

@keyframes typing {
  0%, 100% { opacity: .35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .start-screen {
    grid-template-columns: minmax(580px, 1.25fr) minmax(310px, .65fr);
  }

  .conversation-layout {
    grid-template-columns: minmax(0, 1fr) 205px;
  }

  .chu-stage {
    min-height: 620px;
  }
}

@media (max-width: 940px) {
  .site-head,
  main,
  .site-foot {
    width: min(100% - 32px, 760px);
  }

  .start-screen {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 6px;
  }

  .chu-stage {
    min-height: 600px;
    order: 2;
  }

  .plain-flow > div {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-grid,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-head,
  main,
  .site-foot {
    width: min(100% - 20px, 540px);
  }

  .site-head {
    min-height: 64px;
  }

  .brand-orb {
    width: 37px;
    height: 37px;
    border-radius: 13px;
    font-size: 19px;
  }

  .brand small {
    display: none;
  }

  .online {
    font-size: 12px;
  }

  .start-screen {
    padding: 4px 0 24px;
  }

  .conversation-shell {
    border-radius: 21px;
  }

  .conversation-head {
    min-height: auto;
    align-items: flex-start;
    padding: 16px 15px 14px;
  }

  .conversation-head p {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .conversation-head h1 {
    max-width: 230px;
    font-size: 27px;
    line-height: 1.02;
  }

  .conversation-tools {
    gap: 4px;
  }

  .demo-badge {
    max-width: 95px;
    padding: 5px 7px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  #resetSession {
    min-height: 28px;
    font-size: 12px;
  }

  .conversation-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .dialog-column {
    padding: 14px 13px 13px;
  }

  .messages {
    min-height: 92px;
    max-height: 192px;
  }

  .message {
    gap: 8px;
    margin-bottom: 10px;
  }

  .message-avatar {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    font-size: 14px;
  }

  .message > div {
    max-width: calc(100% - 39px);
    padding: 10px 11px;
  }

  .message p {
    font-size: 14px;
    line-height: 1.42;
  }

  .prompt-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 9px;
    scrollbar-width: none;
  }

  .prompt-row::-webkit-scrollbar {
    display: none;
  }

  .prompt-row button {
    flex: 0 0 auto;
    min-height: 32px;
  }

  .composer label {
    display: none;
  }

  .composer-box {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 6px;
    border-radius: 15px;
  }

  .composer textarea {
    min-height: 47px;
    max-height: 94px;
    padding: 9px 8px 5px;
  }

  .composer button {
    min-width: 0;
    min-height: 46px;
    border-radius: 11px;
  }

  .composer > p {
    display: none;
  }

  .result-promise {
    grid-template-columns: 1fr;
    gap: 3px;
    margin-top: 9px;
    padding: 9px 10px;
  }

  .speed-note {
    margin-top: 6px;
  }

  .status-rail {
    padding: 13px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .status-rail > header {
    margin-bottom: 11px;
  }

  .status-rail ol {
    grid-template-columns: repeat(6, minmax(104px, 1fr));
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .status-rail ol::-webkit-scrollbar {
    display: none;
  }

  .status-rail li {
    min-height: 74px;
    display: block;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
  }

  .status-rail li:not(:last-child)::after {
    display: none;
  }

  .status-rail li > i {
    display: block;
    margin: 0 0 8px;
  }

  .status-rail li strong {
    line-height: 1.15;
  }

  .status-rail li small {
    margin-top: 4px;
  }

  #statusCaption {
    padding-top: 9px;
  }

  .chu-stage {
    min-height: 480px;
  }

  .plain-flow,
  .directions,
  .contact {
    margin-top: 26px;
    padding: 25px 18px;
    border-radius: 21px;
  }

  .plain-flow > div,
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .plain-flow > header,
  .directions > header {
    margin-bottom: 18px;
  }

  .plain-flow h2,
  .directions h2,
  .contact h2 {
    font-size: 31px;
  }

  .plain-flow article,
  .direction {
    min-height: auto;
    padding: 18px;
  }

  .plain-flow article h3,
  .direction h3 {
    margin-top: 22px;
  }

  .contact {
    gap: 24px;
    margin-bottom: 26px;
  }

  .site-foot {
    min-height: 140px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 410px) and (max-height: 860px) {
  .site-head {
    min-height: 58px;
  }

  .conversation-head {
    padding-top: 12px;
    padding-bottom: 11px;
  }

  .conversation-head h1 {
    font-size: 24px;
  }

  .messages {
    max-height: 150px;
  }

  .message > div {
    padding-block: 9px;
  }

  .prompt-row {
    margin-bottom: 7px;
  }

  .speed-note {
    display: none;
  }
}

/* Последние адаптивные правила гибридного подиума */
@media (max-width: 940px) {
  .conversation-shell {
    order: 1;
  }

  .chu-stage {
    order: 2;
    align-self: start;
    overflow: hidden;
  }
}

@media (max-width: 620px) {
  .chu-stage {
    --stage-shift: 0px;
    min-height: 820px;
    height: auto;
  }

  .chu-stage:has(.character-card.is-expanded) {
    min-height: 1050px;
  }

  .chu[data-lineup] {
    bottom: 365px;
    width: 82%;
    height: 50%;
  }

  .character-card,
  .character-card.is-expanded {
    right: 10px;
    bottom: 58px;
    left: 10px;
    width: auto;
  }

  .lineup-controls {
    right: 50%;
    bottom: 7px;
    left: auto;
    transform: translateX(50%);
  }
}

@media (max-width: 1180px) {
  .future-directions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .direction {
    min-height: 300px;
  }

  .future-directions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .directions > header span {
    margin-top: 13px;
    font-size: 14px;
  }

  .direction {
    min-height: 275px;
  }

  .direction h3,
  .direction > p {
    max-width: 65%;
  }

  .direction-status {
    top: 17px;
    right: 17px;
  }

  .future-directions {
    grid-template-columns: 1fr;
  }

  .future-chu {
    min-height: 112px;
  }

  .chu-stage {
    overflow: hidden;
  }
}

/* v7: гибрид с подиумом действующего сайта и живым диалогом */
@media (min-width: 941px) {
  .start-screen {
    grid-template-columns: minmax(455px, .76fr) minmax(610px, 1.24fr);
    align-items: start;
    gap: clamp(18px, 2.6vw, 44px);
  }

  .chu-stage {
    order: 2;
    align-self: start;
  }

  .conversation-shell {
    order: 1;
  }

  .conversation-head h1 {
    font-size: clamp(43px, 4.15vw, 62px);
  }

  .spoken-card::before {
    right: -16px;
    bottom: 38px;
    left: auto;
    width: 31px;
    height: 31px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    border-right: 1px solid rgba(255, 255, 255, .14);
    background: #11181b;
    transform: rotate(45deg);
  }
}

.lineup-heading {
  position: absolute;
  z-index: 20;
  top: 17px;
  right: 24px;
  left: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  pointer-events: none;
}

.lineup-heading p {
  margin: 0;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lineup-heading strong {
  max-width: 280px;
  color: #8d979b;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
  text-align: right;
}

.chu-stage {
  --stage-shift: -64px;
  min-height: min(790px, calc(100svh - 84px));
  border-radius: 34px;
  perspective: none;
  transform: none;
  transform-style: flat;
  background:
    radial-gradient(circle at 50% 56%, rgba(199, 255, 73, .065), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .008), rgba(255, 255, 255, .018));
}

.chu-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 65px 9% 82px;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, .012),
    0 0 0 90px rgba(255, 255, 255, .008);
  transform: rotateX(66deg);
}

.chu[data-lineup] {
  bottom: 58px;
  left: 50%;
  width: 63%;
  height: 86%;
  cursor: pointer;
  opacity: var(--line-opacity, .32) !important;
  z-index: var(--line-z, 2) !important;
  filter:
    saturate(var(--line-saturation, .65))
    brightness(var(--line-brightness, .62)) !important;
  transform:
    translateX(calc(-50% + var(--stage-shift) + var(--line-x, 0px)))
    translateY(var(--line-y, 0px))
    translateZ(var(--line-depth, 0px))
    scale(var(--line-scale, .7)) !important;
  transition:
    transform .72s cubic-bezier(.18, .78, .1, 1),
    opacity .55s ease,
    filter .55s ease !important;
}

.chu[data-lineup]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -18px;
  border-radius: 40%;
}

.chu[data-lineup] img {
  animation-delay: var(--line-delay, 0s);
}

.chu[data-lineup] figcaption {
  right: 50%;
  bottom: 3%;
  white-space: nowrap;
  transform: translate(50%, 8px);
}

.chu[data-lineup].is-lineup-focus figcaption {
  opacity: 1;
  transform: translate(50%, 0);
}

.chu[data-lineup]:not(.is-lineup-focus) figcaption {
  opacity: .32;
}

.stage-caption {
  display: none;
}

.lineup-controls {
  position: absolute;
  z-index: 25;
  right: auto;
  bottom: 7px;
  left: 38%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.character-card {
  position: absolute;
  z-index: 30;
  right: 12px;
  bottom: 58px;
  width: min(278px, 42%);
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(22, 29, 33, .92), rgba(8, 12, 15, .9));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
  opacity: .9;
  transform: translateY(3px);
  backdrop-filter: blur(20px);
  transition: opacity .3s ease, transform .3s ease, border-color .3s ease;
}

.chu-stage:hover .character-card,
.character-card:focus-within {
  border-color: rgba(199, 255, 73, .25);
  opacity: 1;
  transform: translateY(0);
}

.character-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.character-card > header span {
  position: relative;
  padding-left: 13px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.character-card > header span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  transform: translateY(-50%);
}

.character-card > header span[data-ready="false"] {
  color: #ffbd73;
}

.character-card > header small {
  color: #7c878b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.character-card h2 {
  margin: 11px 0 5px;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.04em;
}

.character-card > p {
  min-height: 45px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.character-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 12px 0 10px;
}

.character-card.is-expanded {
  width: min(348px, 52%);
}

.character-kpis article {
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
}

.character-kpis small {
  display: block;
  overflow: hidden;
  color: #758085;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.character-kpis strong {
  display: block;
  margin-top: 5px;
  color: #f2f4ef;
  font: 900 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.character-card ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.character-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #aeb6b8;
  font-size: 11px;
}

.character-card li b {
  color: #eef1ec;
}

.launch-progress {
  margin-top: 11px;
}

.launch-progress p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
  color: #9fa8aa;
  font-size: 10px;
}

.launch-progress p b {
  color: var(--lime);
}

.launch-progress > i {
  height: 5px;
  display: block;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
}

.launch-progress em {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
  box-shadow: 0 0 12px rgba(199, 255, 73, .38);
  transition: width .7s cubic-bezier(.2, .8, .12, 1);
}

.character-card[data-ready="false"] .launch-progress em {
  background: linear-gradient(90deg, #aa682c, #ffbd73);
  box-shadow: 0 0 12px rgba(255, 189, 115, .3);
}

.character-note {
  display: block;
  margin-top: 9px;
  color: #687378;
  font-size: 9px;
  line-height: 1.35;
}

.character-expand {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 0 11px;
  border: 1px solid rgba(199, 255, 73, .15);
  border-radius: 11px;
  background: rgba(199, 255, 73, .045);
  color: #dce6cd;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.character-expand span {
  color: var(--lime);
  font-size: 15px;
}

.character-details {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.metric-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.metric-buttons button {
  min-height: 29px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: #aeb7b9;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.metric-buttons button:hover,
.metric-buttons button:focus-visible,
.metric-buttons button.is-active {
  border-color: rgba(199, 255, 73, .34);
  color: var(--lime);
  outline: 0;
}

#metricExplanation {
  min-height: 54px;
  margin: 8px 0 0;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(0, 0, 0, .22);
  color: #aeb7b9;
  font-size: 10px;
  line-height: 1.42;
}

.chu--future .future-character {
  position: absolute;
  inset: 10% 11% 0;
  filter: grayscale(1);
  animation: characterIdle 4.8s ease-in-out infinite;
}

.future-character > span {
  position: absolute;
  z-index: 2;
  top: 4%;
  left: 50%;
  width: 47%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 48% 48% 45% 45%;
  background:
    radial-gradient(circle at 38% 33%, rgba(255, 255, 255, .2), transparent 5%),
    linear-gradient(145deg, #495157, #1e2428);
  color: #a4acae;
  font-size: 30px;
  font-weight: 950;
  transform: translateX(-50%);
}

.future-character > i {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 69%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 45% 45% 15% 15%;
  background: linear-gradient(145deg, #363e43, #13191d);
  box-shadow: 0 25px 35px rgba(0, 0, 0, .4);
}

.future-character > b {
  position: absolute;
  z-index: 3;
  bottom: 25%;
  left: 50%;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: #191f23;
  color: #8c9699;
  font-size: 12px;
  letter-spacing: .08em;
  transform: translateX(-50%);
}

.lineup-controls button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(8, 11, 14, .72);
  color: #dce2dc;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.lineup-controls button:hover {
  border-color: rgba(199, 255, 73, .48);
  background: rgba(199, 255, 73, .075);
  transform: scale(1.05);
}

.lineup-controls span {
  min-width: 52px;
  color: var(--muted);
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}

@media (max-width: 1180px) and (min-width: 941px) {
  .start-screen {
    grid-template-columns: minmax(420px, .88fr) minmax(525px, 1.12fr);
  }

  .chu[data-lineup] {
    width: 67%;
  }

  .lineup-heading strong {
    display: none;
  }
}

@media (max-width: 940px) {
  .chu-stage {
    --stage-shift: -55px;
  }

  .lineup-heading {
    top: 15px;
  }

  .chu-stage {
    min-height: 610px;
  }

  .chu[data-lineup] {
    width: 62%;
  }
}

@media (max-width: 620px) {
  .lineup-heading {
    right: 13px;
    left: 13px;
  }

  .lineup-heading strong {
    display: none;
  }

  .lineup-heading p {
    max-width: 260px;
    line-height: 1.35;
  }

  .chu-stage {
    --stage-shift: 0px;
    min-height: 760px;
    border-radius: 24px;
  }

  .chu[data-lineup] {
    bottom: 315px;
    width: 80%;
    height: 53%;
  }

  .character-card {
    right: 10px;
    bottom: 58px;
    left: 10px;
    width: auto;
  }

  .character-card.is-expanded {
    width: auto;
  }

  .lineup-controls button {
    width: 40px;
    height: 40px;
  }

  .lineup-controls {
    right: 50%;
    left: auto;
    transform: translateX(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* v5: сценический первый экран — диалог принадлежит самому Главному Чу */
.start-screen {
  grid-template-columns: minmax(520px, .92fr) minmax(520px, 1.08fr);
  gap: clamp(8px, 2vw, 34px);
  min-height: calc(100svh - 82px);
  padding: 6px 0 30px;
}

.conversation-shell {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.conversation-head {
  min-height: 0;
  align-items: flex-start;
  padding: 0 2px 22px;
  border: 0;
}

.conversation-head p {
  margin-bottom: 10px;
}

.conversation-head h1 {
  max-width: 590px;
  font-size: clamp(40px, 4.35vw, 66px);
  line-height: .94;
}

.conversation-tools {
  padding-top: 3px;
}

.conversation-layout {
  display: block;
}

.dialog-column {
  padding: 0;
}

.spoken-card {
  position: relative;
  z-index: 3;
  padding: 17px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 32px 32px 10px 32px;
  background:
    radial-gradient(circle at 18% 0, rgba(199, 255, 73, .085), transparent 39%),
    linear-gradient(145deg, rgba(23, 30, 34, .92), rgba(11, 16, 19, .9));
  box-shadow:
    0 26px 75px rgba(0, 0, 0, .35),
    inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(24px);
}

.spoken-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -34px;
  bottom: 30px;
  width: 62px;
  height: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, transparent 49%, rgba(15, 21, 24, .94) 50%);
  transform: rotate(-9deg) skewX(-12deg);
}

.speaker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.speaker > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #d8ff77, #8fbd29);
  color: #152005;
  box-shadow: inset 0 -7px 13px rgba(47, 82, 0, .24);
  font-size: 18px;
  font-weight: 950;
  transform: rotate(-4deg);
}

.speaker p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.speaker strong {
  font-size: 14px;
}

.speaker small {
  color: var(--muted);
  font-size: 12px;
}

.speaker > i {
  position: relative;
  padding-left: 15px;
  color: #cfe9a5;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.speaker > i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  transform: translateY(-50%);
}

.spoken-card .messages {
  min-height: 92px;
  max-height: min(24vh, 180px);
  padding-right: 4px;
}

.spoken-card .message {
  margin-bottom: 9px;
}

.spoken-card .message--chu .message-avatar {
  display: none;
}

.spoken-card .message--chu > div {
  max-width: 100%;
  padding: 5px 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.spoken-card .message--chu strong {
  display: none;
}

.spoken-card .message--chu p {
  max-width: 690px;
  color: #f1f3f0;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  letter-spacing: -.012em;
}

.spoken-card .message--user > div {
  max-width: 84%;
  padding: 10px 13px;
  border-color: rgba(199, 255, 73, .22);
  border-radius: 18px 5px 18px 18px;
  background: rgba(199, 255, 73, .095);
}

.spoken-card .message--user p {
  font-size: 14px;
}

.spoken-card .typing {
  padding: 5px 4px 1px;
}

.spoken-card .typing .message-avatar {
  display: none;
}

.prompt-row {
  margin: 12px 2px 9px;
}

.prompt-row button {
  min-height: 35px;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .025);
}

.composer {
  position: relative;
  z-index: 4;
}

.composer label {
  margin-left: 4px;
  color: #eef1ec;
}

.composer-box {
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(199, 255, 73, .48);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(199, 255, 73, .035), transparent 32%),
    rgba(4, 8, 9, .86);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, .34),
    0 0 0 5px rgba(199, 255, 73, .025),
    inset 0 1px rgba(255, 255, 255, .05);
}

.composer textarea {
  min-height: 55px;
  padding-left: 14px;
  font-size: 15px;
}

.composer button {
  min-width: 145px;
  min-height: 55px;
  border-radius: 16px;
  font-size: 14px;
}

.result-promise {
  margin-top: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 4px;
}

.result-promise span {
  color: var(--lime);
}

.status-rail {
  margin-top: 16px;
  padding: 0 2px;
  border: 0;
  background: transparent;
}

.status-rail > header {
  margin-bottom: 10px;
  padding: 0 3px;
}

.status-rail ol {
  grid-template-columns: repeat(6, minmax(98px, 1fr));
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.status-rail ol::-webkit-scrollbar {
  display: none;
}

.status-rail li {
  min-height: 66px;
  display: block;
  padding: 9px 9px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .018);
}

.status-rail li:not(:last-child)::after {
  display: none;
}

.status-rail li > i {
  display: block;
  margin: 0 0 7px;
}

.status-rail li span {
  gap: 3px;
}

.status-rail li strong {
  line-height: 1.16;
}

#statusCaption {
  margin-top: 7px;
  padding: 0 3px;
  border: 0;
}

.chu-stage {
  min-height: min(760px, calc(100svh - 92px));
  overflow: visible;
}

.stage-halo {
  inset: 8% -4% 4%;
  background:
    radial-gradient(circle at 50% 62%, rgba(199, 255, 73, .15), transparent 27%),
    radial-gradient(circle at 50% 50%, rgba(74, 105, 139, .13), transparent 58%);
}

.chu-stage::after {
  right: -3%;
  bottom: 42px;
  left: -3%;
  height: 105px;
}

.stage-network {
  inset: 10% -2% 13%;
  opacity: .28;
}

.chu {
  bottom: 43px;
  width: 57%;
  height: 80%;
  opacity: .31;
  filter: saturate(.65) brightness(.6);
}

.chu img {
  animation-name: characterIdle, formationBreathe;
  animation-duration: 4.2s, 6.4s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

.chu--auto {
  z-index: 3;
  width: 55%;
  transform: translateX(-120%) translateY(5%) scale(.84) rotateY(-7deg);
}

.chu--home {
  z-index: 2;
  width: 53%;
  transform: translateX(-50%) translateY(-9%) scale(.82);
}

.chu--legal {
  z-index: 3;
  width: 55%;
  transform: translateX(20%) translateY(5%) scale(.84) rotateY(7deg);
}

.chu--beauty {
  z-index: 1;
  width: 44%;
  opacity: .1;
  transform: translateX(83%) translateY(-5%) scale(.72);
}

.chu--host {
  z-index: 8;
  width: 72%;
  transform: translateX(-50%) translateY(7%) translateZ(56px) scale(1);
}

.chu.is-selected {
  opacity: 1;
  filter: saturate(1) brightness(1);
}

.chu:not(.is-selected) figcaption {
  opacity: 0;
}

body[data-direction="host"] .chu--auto,
body[data-direction="host"] .chu--home,
body[data-direction="host"] .chu--legal {
  opacity: .36;
}

body[data-direction="auto"] .chu--host,
body[data-direction="home"] .chu--host,
body[data-direction="legal"] .chu--host,
body[data-direction*="-"] .chu--host {
  width: 57%;
  opacity: .56;
  filter: saturate(.7) brightness(.72);
  transform: translateX(-100%) translateY(8%) scale(.88);
}

body[data-direction="auto"] .chu--auto,
body[data-direction="home"] .chu--home,
body[data-direction="legal"] .chu--legal {
  z-index: 9;
  width: 70%;
  transform: translateX(-24%) translateY(7%) translateZ(60px) scale(1);
}

body[data-direction="auto"] .chu--home,
body[data-direction="auto"] .chu--legal,
body[data-direction="home"] .chu--auto,
body[data-direction="home"] .chu--legal,
body[data-direction="legal"] .chu--auto,
body[data-direction="legal"] .chu--home {
  opacity: .12;
}

.stage-caption {
  right: 4%;
  bottom: 12px;
  left: 4%;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(8, 11, 14, .66);
}

@keyframes formationBreathe {
  0%, 100% { filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .48)); }
  50% { filter: drop-shadow(0 31px 46px rgba(0, 0, 0, .58)); }
}

@media (max-width: 1180px) {
  .start-screen {
    grid-template-columns: minmax(500px, 1fr) minmax(420px, .88fr);
  }

  .conversation-head h1 {
    font-size: 49px;
  }

  .chu-stage {
    min-height: 650px;
  }
}

@media (max-width: 940px) {
  .start-screen {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .conversation-shell {
    order: 1;
  }

  .chu-stage {
    order: 2;
    min-height: 600px;
  }

  .spoken-card::before {
    right: 14%;
    bottom: -27px;
    transform: rotate(45deg) skewX(-12deg);
  }
}

@media (max-width: 620px) {
  .start-screen {
    padding-top: 2px;
  }

  .conversation-head {
    align-items: flex-start;
    padding: 0 2px 13px;
  }

  .conversation-head h1 {
    max-width: 255px;
    font-size: 34px;
    line-height: .97;
  }

  .conversation-head p {
    margin-bottom: 6px;
  }

  .spoken-card {
    padding: 13px;
    border-radius: 24px 24px 8px 24px;
  }

  .speaker {
    margin-bottom: 9px;
    padding-bottom: 9px;
  }

  .speaker > span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 16px;
  }

  .speaker small {
    display: none;
  }

  .spoken-card .messages {
    min-height: 92px;
    max-height: 178px;
  }

  .spoken-card .message--chu p {
    font-size: 15px;
    line-height: 1.43;
  }

  .prompt-row {
    margin: 9px 0 7px;
  }

  .composer label {
    display: block;
    margin-bottom: 6px;
  }

  .composer-box {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
    padding: 5px;
    border-radius: 18px;
  }

  .composer textarea {
    min-height: 50px;
    padding: 10px 7px 7px;
    font-size: 14px;
  }

  .composer button {
    min-width: 52px;
    width: 52px;
    min-height: 50px;
    padding: 0;
    border-radius: 14px;
  }

  .composer button span {
    display: none;
  }

  .composer button b {
    font-size: 24px;
  }

  .composer > p {
    display: block;
    margin-top: 7px;
  }

  .result-promise {
    grid-template-columns: 1fr;
    gap: 3px;
    margin-top: 9px;
    padding-inline: 2px;
  }

  .status-rail {
    margin-top: 12px;
  }

  .status-rail ol {
    grid-template-columns: repeat(6, 104px);
  }

  .status-rail li {
    min-height: 72px;
  }

  .chu-stage {
    min-height: 520px;
  }

  .chu {
    bottom: 40px;
  }

  .chu--host {
    width: 76%;
  }
}

@media (max-width: 410px) and (max-height: 860px) {
  .conversation-head h1 {
    font-size: 30px;
  }

  .spoken-card {
    padding-block: 11px;
  }

  .speaker {
    padding-bottom: 7px;
  }

  .spoken-card .messages {
    max-height: 142px;
  }

  .composer > p {
    display: none;
  }

  .result-promise p {
    display: block;
  }

  .speed-note {
    display: none;
  }
}
