* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Aspekta";
  src: url("assets/fonts/AspektaVF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal italic;
  font-display: swap;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #000;
}

body {
  background: #000;
  color: #fff;
  min-height: 100svh;
  min-height: 100dvh;
  --chat-pane-center: 50vw;
  font-family: "Aspekta", "Avenir Next", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

body.surface-split-open {
  --chat-pane-center: 25vw;
}

body.chat-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 132px;
  pointer-events: none;
  z-index: 46;
  background: linear-gradient(
    to bottom,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.92) 56%,
    rgba(0, 0, 0, 0.72) 72%,
    rgba(0, 0, 0, 0) 100%
  );
}

body.chat-open.surface-split-open::before {
  width: 50vw;
}

.chat-corner-logo {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  left: calc(26px + env(safe-area-inset-left));
  width: clamp(60px, 7vw, 92px);
  height: auto;
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(8px);
  pointer-events: none;
  will-change: opacity, transform, filter;
  z-index: 53;
  transition: opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.chat-mode-active .chat-corner-logo {
  opacity: 0.94;
  transform: translateY(0);
  filter: blur(0);
}

.chat-top-website-link {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  right: calc(18px + env(safe-area-inset-right));
  display: none;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 440;
  font-variation-settings: "wght" 440;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(8px);
  pointer-events: none;
  z-index: 53;
  transition: opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms ease;
}

.chat-top-website-link::after {
  content: "↗";
  font-size: 0.92em;
  line-height: 1;
  opacity: 0.95;
}

.chat-top-website-link:hover,
.chat-top-website-link:focus-visible {
  color: #ffffff;
}

body.chat-mode-active .chat-top-website-link {
  opacity: 0.94;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}

.page {
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page.chat-mode {
  align-items: flex-start;
  min-height: 100svh;
  min-height: 100dvh;
  height: auto;
  overflow: hidden;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 16px;
  width: min(100%, 980px);
  text-align: center;
}

.content.chat-mode {
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
  overflow: hidden;
}

body.chat-open,
body.chat-open .page.chat-mode,
body.chat-open .content.chat-mode {
  height: 100dvh;
  min-height: 100dvh;
}

body.chat-open {
  overflow: hidden;
}

.headline {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 450;
  font-variation-settings: "wght" 450;
  color: #c8c8c8;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  will-change: transform;
}

.word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  --word-final-shadow: none;
  text-shadow: none;
  animation: revealWord var(--dur, 780ms) ease forwards;
  animation-delay: var(--d, 0ms);
}

.kaya {
  font-style: oblique 8deg;
  color: #ffffff;
  --word-final-shadow: 0 0 8px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(255, 255, 255, 0.16);
  text-shadow: var(--word-final-shadow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.action-btn.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

.action-back.is-leaving {
  opacity: 0;
  transform: translate(-50%, -6px);
}

.actions.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.action-btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 450;
  font-variation-settings: "wght" 450;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: transform 220ms ease, background-color 220ms ease,
    border-color 220ms ease;
}

.action-btn.primary {
  background: #ffffff;
  color: #000000;
  padding-right: 18px;
  transition: transform 220ms ease, background-color 220ms ease,
    border-color 220ms ease, padding-right 220ms ease;
}

.intro-actions .action-btn.primary::after {
  content: "↓";
  position: absolute;
  right: 14px;
  top: 50%;
  font-size: 0.9em;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-150%);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-actions .action-btn.primary:hover::after,
.intro-actions .action-btn.primary:focus-visible::after {
  opacity: 0.95;
  transform: translateY(-50%);
}

.intro-actions .action-btn.primary:hover,
.intro-actions .action-btn.primary:focus-visible {
  padding-right: 34px;
}

.action-btn.ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.action-btn.external {
  padding-right: 34px;
  transition: transform 220ms ease, background-color 220ms ease,
    border-color 220ms ease, padding-right 260ms ease 90ms;
}

.action-btn.external::after {
  content: "↗";
  position: absolute;
  right: 14px;
  top: 50%;
  font-size: 0.92em;
  line-height: 1;
  pointer-events: none;
  transform: translate(0, -50%);
  opacity: 0.92;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease;
}

.action-btn.external:hover::after,
.action-btn.external:focus-visible::after {
  transform: translate(9px, -9px);
  opacity: 0;
}

.action-btn.external:hover,
.action-btn.external:focus-visible {
  padding-right: 18px;
}

.action-back {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 430;
  font-variation-settings: "wght" 430;
  letter-spacing: 0.02em;
  margin-top: 0;
  padding: 2px 0 0;
  cursor: pointer;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  z-index: 40;
  transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
}

.action-back.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.chat-composer {
  position: fixed;
  left: 50%;
  bottom: 34px;
  width: min(92vw, 760px);
  display: block;
  padding: 0;
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 45;
}

.chat-composer.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.chat-followups {
  position: fixed;
  left: var(--chat-pane-center);
  bottom: 118px;
  width: min(97vw, 1060px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 72;
}

.chat-followups::before {
  content: "";
  position: absolute;
  inset: -8px -10px;
  border-radius: 14px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.52)
  );
  backdrop-filter: blur(4px);
  z-index: -1;
  pointer-events: none;
}

.chat-followups.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.chat-followup-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  width: fit-content;
  max-width: min(46vw, 520px);
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 430;
  font-variation-settings: "wght" 430;
  line-height: 1.25;
  text-align: left;
  padding: 8px 34px 8px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease, border-color 180ms ease;
}

.chat-followups.show .chat-followup-btn {
  opacity: 1;
  transform: translateY(0);
}

.chat-followup-btn::after {
  content: "↗";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  opacity: 0.9;
  transition: transform 180ms ease, opacity 180ms ease;
}

.chat-followup-btn:hover,
.chat-followup-btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.chat-followup-btn.cue-brighten {
  animation: quickQuestionCueBrighten 620ms ease 1;
  background: #ffffff;
  color: #000000;
}

.chat-followup-btn.cue-brighten::after {
  color: #000000;
  opacity: 1;
}

.chat-followup-btn:hover::after,
.chat-followup-btn:focus-visible::after {
  transform: translate(2px, -52%);
  opacity: 1;
}

.chat-input-wrap {
  position: relative;
  border-radius: 999px;
  overflow: hidden;
}

.chat-input-wrap::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 32%,
    rgba(255, 255, 255, 0.36) 50%,
    rgba(255, 255, 255, 0.05) 68%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-130%);
}

.chat-composer.show .chat-input-wrap::after {
  animation: chatInputGlowSweep 1760ms cubic-bezier(0.22, 1, 0.36, 1) 2;
}

.chat-composer.glow-retrigger .chat-input-wrap::after {
  animation: chatInputGlowSweep 1760ms cubic-bezier(0.22, 1, 0.36, 1) 2;
}

.chat-input-note {
  margin: 7px 0 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.34);
  text-align: center;
}

.chat-input {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: none;
  background: #1a1b1d;
  color: #ffffff;
  padding: 0 56px 0 16px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 430;
  font-variation-settings: "wght" 430;
  outline: none;
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.chat-input:focus {
  box-shadow: none;
}

.chat-send-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 450;
  font-variation-settings: "wght" 450;
  padding: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.chat-send-icon {
  width: 22px;
  height: 22px;
  fill: #000000;
  display: block;
  margin: 0 auto;
  transform: translateY(-1px);
}

.surface-split-hint {
  position: fixed;
  right: 44px;
  top: 50%;
  transform: translate(8px, -50%);
  filter: blur(6px);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 0.9rem;
  padding-right: 16px;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms ease;
  z-index: 52;
}

.surface-split-hint.show {
  opacity: 1;
  transform: translate(0, -50%);
  filter: blur(0);
  pointer-events: auto;
}

.surface-split-hint::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
}

.surface-panel {
  position: fixed;
  --surface-island-gap: 10px;
  right: 0;
  top: 0;
  width: calc(50vw - var(--surface-island-gap));
  height: calc(100dvh - (var(--surface-island-gap) * 2));
  background: #111214;
  border-left: none;
  top: var(--surface-island-gap);
  right: var(--surface-island-gap);
  border-radius: 18px;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 41;
}

.surface-website-edge-btn {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 440;
  font-variation-settings: "wght" 440;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease,
    color 180ms ease, transform 180ms ease;
  z-index: 3;
}

.surface-website-edge-btn::after {
  content: "↗";
  font-size: 0.88em;
  line-height: 1;
  opacity: 0.96;
}

.surface-website-edge-btn:hover,
.surface-website-edge-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: translateX(-50%) translateY(-1px);
}

.surface-split-toggle {
  position: absolute;
  left: calc(100vw - 48px);
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, color 180ms ease, background-color 180ms ease,
    border-color 180ms ease;
  z-index: 60;
}

.surface-split-toggle.show {
  opacity: 1;
  pointer-events: auto;
}

.surface-split-toggle:hover,
.surface-split-toggle:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

body.surface-split-open .surface-split-toggle {
  left: calc(50vw - 48px);
}

.surface-panel-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
}

.surface-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.surface-nav-btn:hover,
.surface-nav-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.surface-nav-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.surface-stage {
  position: relative;
  width: min(100%, 820px);
  height: auto;
  max-height: calc(100dvh - 40px);
  border-radius: 0;
  border: none;
  overflow: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.surface-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 8px 10px;
}

.surface-context-bg {
  display: none;
}

.surface-visual {
  width: 100%;
  flex: 0 0 auto;
  min-height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 1px;
}

.surface-visual::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.surface-visual:hover::after,
.surface-visual:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.surface-image {
  position: static;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 780px);
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.surface-image.is-dashboard-image {
  border-radius: 20px;
}

.surface-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 2px;
}

.surface-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.32;
  text-align: center;
}

.surface-counter {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
}

.surface-explain-btn {
  min-height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 430;
  font-variation-settings: "wght" 430;
  padding: 6px 12px;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.surface-explain-btn:hover,
.surface-explain-btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.surface-explain-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.surface-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
  z-index: 95;
}

.surface-lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.surface-lightbox-top {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}

.surface-lightbox-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.28;
  text-align: center;
}

.surface-lightbox-counter {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.surface-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1480px);
  max-height: min(90vh, 980px);
  border-radius: 18px;
  overflow: hidden;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
}

.surface-lightbox.show .surface-lightbox-image {
  transform: scale(1);
  opacity: 1;
}

.surface-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 180ms ease;
}

.surface-lightbox-nav.prev {
  left: 18px;
}

.surface-lightbox-nav.next {
  right: 18px;
}

.surface-lightbox-nav:hover,
.surface-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.9);
}

.surface-lightbox-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.surface-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.surface-lightbox-close:hover,
.surface-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

body.surface-split-open .surface-panel {
  transform: translateX(0);
}

body.surface-split-open .page {
  width: 50vw;
  margin-right: 50vw;
}

body.surface-split-open .chat-composer {
  left: 25vw;
  width: min(46vw, 760px);
}

body.surface-split-open .chat-followups {
  left: 25vw;
  width: min(46vw, 760px);
  justify-content: center;
}

body.surface-split-open .chat-followup-btn {
  max-width: min(44vw, 680px);
}

@media (max-width: 1360px) {
  body.surface-split-open .chat-followups {
    flex-direction: column;
    align-items: center;
  }

  body.surface-split-open .chat-followup-btn {
    max-width: min(44vw, 620px);
  }
}

.action-back:hover,
.action-back:focus-visible {
  color: rgba(255, 255, 255, 0.95);
}

.highlight {
  color: #ffffff;
}

.monologue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  position: relative;
}

.monologue:empty {
  display: none;
}

body.chat-open .monologue {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  justify-content: flex-start;
  padding-top: calc(42vh - 0.8em);
  padding-bottom: clamp(120px, 18vh, 180px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.chat-open .monologue::-webkit-scrollbar {
  display: none;
}

body.chat-open .monologue::before {
  content: none;
}

.mono-line {
  margin: 0;
  text-align: left;
  width: min(100%, 680px);
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  line-height: 1.6;
  color: #c3c3c3;
}

.mono-line.typing-indicator {
  color: rgba(255, 255, 255, 0.74);
  animation: typingPulse 1.2s ease-in-out infinite;
}

@keyframes typingPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}



.mono-line .md-strong {
  color: #ffffff;
  font-weight: 640;
  font-variation-settings: "wght" 640;
}

.mono-line .md-em {
  font-style: italic;
  color: #f0f0f0;
}

.mono-line .md-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.92em;
  color: #ffffff;
}

.mono-line.bullet {
  color: #dddddd;
  font-size: clamp(1.04rem, 2.2vw, 1.26rem);
}

.mono-line.user {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.26);
}

.mono-line.user .word {
  --word-final-shadow: 0 0 8px rgba(255, 255, 255, 0.26);
}

.mono-line.question {
  margin-top: 8px;
  color: #ffffff;
}

.chat-quick-questions {
  position: fixed;
  left: var(--chat-pane-center);
  bottom: 118px;
  width: min(97vw, 1060px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  transform: translate(-50%, 8px);
  z-index: 73;
  isolation: isolate;
}

.chat-quick-questions::before {
  content: "";
  position: absolute;
  inset: -8px -10px;
  border-radius: 14px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.52)
  );
  backdrop-filter: blur(4px);
  z-index: -1;
  pointer-events: none;
}

.chat-quick-btn {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-quick-questions.show .chat-quick-btn {
  opacity: 1;
  transform: translateY(0);
}

body.surface-split-open .chat-quick-questions {
  width: min(46vw, 760px);
  justify-content: center;
}

.chat-scroll-cue {
  width: min(100%, 680px);
  margin: 8px 0 -8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}

.chat-scroll-cue.show {
  opacity: 1;
  pointer-events: auto;
  animation: chatScrollCueFloat 1.2s ease-in-out infinite;
}

@keyframes chatScrollCueFloat {
  0%,
  100% {
    transform: translateY(8px);
    opacity: 0.56;
  }
  50% {
    transform: translateY(16px);
    opacity: 0.96;
  }
}

@keyframes chatInputGlowSweep {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }
  15% {
    opacity: 0.92;
  }
  60% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateX(130%);
  }
}

@keyframes quickQuestionCueBrighten {
  0% {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  38% {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
  }
  100% {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

.chat-inline-action {
  width: min(100%, 680px);
  display: flex;
  justify-content: flex-start;
}

.chat-inline-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 450;
  font-variation-settings: "wght" 450;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease,
    color 180ms ease, transform 180ms ease;
}

.chat-inline-action-btn:hover,
.chat-inline-action-btn:focus-visible {
  background: #f3f3f3;
  border-color: #f3f3f3;
  color: #000000;
  transform: translateY(-1px);
}

.question-actions {
  position: fixed;
  left: 50%;
  bottom: -78px;
  margin-top: 0;
  transform: translate(-50%, 8px);
  z-index: 30;
}

.question-actions.show {
  transform: translate(-50%, 0);
}

@keyframes revealWord {
  from {
    opacity: 0;
    filter: blur(12px);
    text-shadow: 0 0 20px rgba(255, 18, 146, 1),
      0 0 42px rgba(255, 36, 166, 0.92),
      0 0 68px rgba(255, 98, 196, 0.72),
      0 0 92px rgba(255, 150, 220, 0.48);
  }

  22% {
    opacity: 0.82;
    filter: blur(5px);
    text-shadow: 0 0 10px rgba(255, 26, 154, 0.5),
      0 0 18px rgba(255, 56, 174, 0.34),
      0 0 28px rgba(255, 116, 204, 0.22);
  }

  35% {
    opacity: 0.9;
    filter: blur(3px);
    text-shadow: var(--word-final-shadow, none);
  }

  to {
    opacity: 1;
    filter: blur(0);
    text-shadow: var(--word-final-shadow, none);
  }
}

@media (max-width: 760px) {
  .chat-top-website-link {
    top: 19px;
    display: inline-flex;
  }

  body.chat-open::before {
    top: calc(-1 * env(safe-area-inset-top));
    height: calc(156px + env(safe-area-inset-top));
  }

  html,
  body {
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-text-size-adjust: 100%;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  body {
    overflow-x: clip;
  }

  body.chat-open,
  body.chat-open .page.chat-mode,
  body.chat-open .content.chat-mode {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  body.chat-open .page.chat-mode {
    position: fixed;
    inset: 0;
    width: 100%;
  }

  body.chat-open .content.chat-mode {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  body.chat-open .monologue {
    width: 100%;
    max-width: 100%;
    overscroll-behavior: contain;
  }

  .intro-actions {
    margin-top: 26px;
  }

  .chat-composer {
    width: min(90vw, 760px);
    bottom: max(2px, env(safe-area-inset-bottom));
  }

  .chat-input {
    font-size: 16px;
  }

  .chat-input-note {
    margin-top: 4px;
  }

  .chat-followups,
  .chat-quick-questions {
    width: min(90vw, 560px);
    bottom: 78px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
  }

  .chat-followups::before,
  .chat-quick-questions::before {
    inset: -6px 0;
  }

  .chat-followup-btn,
  .chat-quick-questions .chat-followup-btn,
  .chat-quick-questions .chat-quick-btn {
    width: 100%;
    max-width: 100%;
  }

  .question-actions {
    bottom: -84px;
  }

  .surface-split-hint {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .word {
    animation: none;
    opacity: 1;
    filter: none;
  }

  .actions {
    transition: none;
  }

  .action-btn {
    transition: none;
  }

  .chat-inline-action-btn {
    transition: none;
  }

  .chat-quick-btn,
  .chat-followup-btn,
  .chat-followups {
    transition: none;
    opacity: 1;
    transform: none;
  }

  body.chat-open .monologue {
    scroll-behavior: auto;
  }


}
