:root {
  --c1: #0a0a0a;
  --c2: #1a1a2e;
  --c3: #16213e;
  --c4: #0f3460;
  --highlight-yellow: #e6cd6a;
  --top-panel-height: 80px;
  --diagonal-width: 1440px;
  --diagonal-height: 149px;
  --diagonal-intersect: 1057px;
  --diagonal-angle: 5.9deg;
  --chat-base-height: 309px;
  --chat-max-height: 550px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
  background-color: transparent;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--top-panel-height);
}

#use-cases,
#examples,
#easy-setup,
#chat-demo,
#our-blog,
#try-it-out {
  scroll-margin-top: 160px;
}

body {
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  background: linear-gradient(
          155deg,
          var(--c1) 0%,
          var(--c2) 20%,
          var(--c3) 40%,
          var(--c4) 74%
  ) no-repeat;
  background-size: 100% calc(var(--diagonal-intersect) + 200px);
  color: #ffffff;
  padding-top: var(--top-panel-height);
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

.fixed-gradient-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    155deg,
    var(--c1) 0%,
    var(--c2) 20%,
    var(--c3) 40%,
    var(--c4) 74%
  ) no-repeat;
  background-size: 100% calc(var(--diagonal-intersect) + 200px);
  pointer-events: none;
  touch-action: none;
  overscroll-behavior: none;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  contain: paint;
  z-index: -10;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #121b26;
  background: linear-gradient(
    155deg,
    var(--c1) 0%,
    var(--c2) 20%,
    var(--c3) 40%,
    var(--c4) 74%
  ) no-repeat;
  background-size: 100% 100%;
}

.intro-loader__text {
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  color: #ffffff;
  position: relative;
  width: 100vw;
  height: 1.1em;
  white-space: nowrap;
  transform: translateX(-55px);
}

.intro-loader__anchor {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1.1em;
  line-height: 1.1;
}

.intro-loader__caret-center {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 2px;
  height: 1em;
  background: #ffffff;
  animation: intro-caret-blink-opacity 0.85s step-end infinite;
}

.intro-loader__part {
  display: inline-block;
  white-space: pre;
  line-height: 1.1;
}

.intro-loader__part--one {
  position: absolute;
  right: 0;
  bottom: 0;
}

.intro-loader__part--two {
  position: absolute;
  left: 50%;
  bottom: 0;
  border-right: 2px solid transparent;
  background: linear-gradient(135deg, #cbb92b 0%, #82b732 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes intro-caret-blink-opacity {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.intro-loader.is-typing-two .intro-loader__caret-center {
  display: none;
}

.intro-loader.is-typing-two .intro-loader__part--two {
  animation: intro-caret-blink-border 0.85s step-end infinite;
}

.intro-loader.is-fading {
  animation: intro-loader-fade 0.8s ease forwards;
}

@keyframes intro-caret-blink-border {
  0%,
  49% {
    border-right-color: #ffffff;
  }
  50%,
  100% {
    border-right-color: transparent;
  }
}

@keyframes intro-loader-fade {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (min-width: 821px) {
  html,
  body {
    height: 100%;
    background-color: #121b26;
  }
}

.top-panel {
  height: var(--top-panel-height);
  background: rgba(18, 27, 38, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.top-panel__inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}

.top-panel__logo {
  width: 177px;
  height: 24px;
  display: block;
  margin-top: 0;
}

.top-panel__logo-link {
  display: block;
  align-self: flex-start;
  margin-top: 32px;
  line-height: 0;
}

.top-panel__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 70px;
  margin-left: auto;
  margin-right: 70px;
}

.top-panel__link {
  font-size: 16px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
}

.top-panel__link:focus-visible {
  outline: 2px solid rgba(102, 191, 69, 0.6);
  outline-offset: 4px;
  border-radius: 6px;
}

.btn {
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  height: 40px;
  padding: 0 24px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #66bf45;
  box-shadow: 0 0 0 4px rgba(102, 191, 69, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid rgba(102, 191, 69, 0.6);
  outline-offset: 2px;
}

.btn--outline {
  background: transparent;
}

.btn--ghost {
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  background: #222e50;
  border: none;
  box-shadow: 0 0 0 4px rgba(34, 46, 80, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn__icon {
  display: block;
  height: 20px;
  width: 20px;
  color: #ffffff;
}

.hero__cta {
  margin-top: 32px;
}

.hero__chat {
  position: relative;
  width: 625px;
  height: var(--chat-base-height);
  max-height: var(--chat-max-height);
  border-radius: 20px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(52, 58, 66, 0.1),
    rgba(0, 0, 0, 0.1)
  );
  backdrop-filter: blur(16px);
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__chat::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.45' numOctaves='2' seed='7'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.chat-messages {
  flex: 1;
  padding: 20px 24px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.chat-message--bot {
  justify-content: flex-start;
}

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

.chat-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: flex-end;
}

.chat-avatar img {
  width: 12px;
  height: 7px;
  display: block;
  object-fit: contain;
}

.chat-avatar--user img {
  width: 10px;
  height: 10px;
}

.chat-avatar--bot img {
  width: 10px;
  height: 10px;
}

.chat-bubble {
  max-width: 420px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.1);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.5;
  color: #ffffff;
}

.chat-bubble--loading {
  position: relative;
  overflow: hidden;
  color: transparent;
  min-width: 190px;
  min-height: 46px;
}

.chat-bubble--loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 45%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: chat-bubble-loading 1.1s linear infinite;
}

.chat-message.is-memory-created-selected .chat-bubble {
  border-color: #66bf45;
}

.chat-message.is-memory-used-selected .chat-bubble {
  border-color: #56b5db;
}

.chat-message.is-memory-updated-selected .chat-bubble {
  border-color: #f97316;
}

.chat-bubble__time {
  margin-top: 6px;
  font-size: 8px;
  line-height: 1.2;
  color: #788ca4;
}

.chat-bubble__tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-bubble__tag {
  height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font: inherit;
  appearance: none;
}

.chat-bubble__tag--saved {
  background: rgba(102, 191, 69, 0.2);
}

.chat-bubble__tag--retrieved {
  background: rgba(86, 181, 219, 0.2);
}

.chat-bubble__tag--updated {
  background: rgba(249, 115, 22, 0.2);
}

.chat-bubble__tag-icon {
  width: 12px;
  height: 12px;
  display: block;
}

.chat-bubble__tag--saved .chat-bubble__tag-text {
  color: #66bf45;
}

.chat-bubble__tag--retrieved .chat-bubble__tag-text {
  color: #56b5db;
}

.chat-bubble__tag--updated .chat-bubble__tag-text {
  color: #f97316;
}

.chat-bubble__tag--updated .chat-bubble__tag-icon,
.chat-demo-memory-changes__title--updated img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(96%) saturate(1658%)
    hue-rotate(349deg) brightness(101%) contrast(96%);
}

.chat-bubble__tag-text {
  font-size: 8px;
  line-height: 1;
}

.chat-date-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
}

.chat-date-divider::before,
.chat-date-divider::after {
  content: "";
  flex: 1 1 auto;
  border-top: 0.5px solid rgba(255, 255, 255, 0.2);
}

.chat-date-divider__label {
  color: #788ca4;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__chat-footer {
  height: 104px;
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 16px 14px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.chat-input {
  margin: 0 auto 18px;
  width: 577px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  border: 0.5px solid #66bf45;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.chat-input__legal {
  margin: -10px auto 14px;
  width: 577px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 300;
  color: rgba(120, 140, 164, 0.9);
  text-align: right;
}

.chat-input__legal a {
  color: inherit;
  text-decoration: underline;
}

.chat-input__field {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 12px 0 14px;
  color: #66bf45;
  font-size: 12px;
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
}

.chat-input__field::placeholder {
  color: rgba(70, 103, 143, 0.7);
}

.chat-input__field:focus {
  outline: none;
}

.chat-input__send {
  width: 30px;
  height: 30px;
  background: #66bf45;
  border-radius: 4px;
  color: #142947;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  flex: 0 0 auto;
}

.chat-input__icon {
  display: block;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
}

.chat-line {
  font-family: "Fira Code", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.chat-line__key {
  color: #e6cd6a;
}

.chat-line__value {
  color: #56b5db;
}

.chat-line__meta {
  color: #46678f;
}

.hero {
  min-height: calc(var(--diagonal-intersect) - var(--top-panel-height) - var(--diagonal-height));
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.content-area {
  border-left: 0.5px solid rgba(255, 255, 255, 0.08);
  border-right: 0.5px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.hero__inner.content-area {
  min-height: inherit;
}

.section-next {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.section-next::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--diagonal-height) + 80px);
  width: 10000px;
  height: var(--section-next-before-height, 2200px);
  transform: translateX(-50%) rotate(calc(-1 * var(--diagonal-angle)));
  transform-origin: 50% 0;
  background: #121b26;
  pointer-events: none;
  z-index: 0;
}

.section-next::after {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--section-next-after-top, calc(-1 * var(--diagonal-height) + 2290px));
  width: 10000px;
  height: var(--section-next-after-height, 1040px);
  transform: translateX(-50%) rotate(calc(-1 * var(--diagonal-angle)));
  transform-origin: 50% 0;
  background: #000000;
  pointer-events: none;
  z-index: -1;
}

.section-next__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-next__inner.content-area {
  min-height: 400px;
  position: relative;
  padding-bottom: 0;
}

.section-next__schema {
  position: absolute;
  top: 180px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.section-next__schema::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 780px;
  height: 1200px;
  transform: translate(-50%, -50%) rotate(90deg);
  background: radial-gradient(ellipse at center, rgba(15, 30, 50, 0.65) 0%, rgba(15, 30, 50, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.section-next__schema .section-next__title,
.section-next__schema .section-next__schema-subtitle {
  position: relative;
  z-index: 1;
}


.section-next__schema-subtitle {
  margin-top: 16px;
  font-size: 27px;
  line-height: 1.4;
  font-weight: 200;
  color: #788ca4;
}

.section-next__schema-note {
  display: block;
  margin-top: 1.2em;
}

.section-next__schema-note-break {
  display: inline;
  margin-left: 0.25em;
}

.section-next__intro {
  position: absolute;
  top: 610px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.section-next__title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.section-next__subtitle {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  color: #788ca4;
}

.use-cases {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 0;
  width: 100%;
}

.use-case {
  padding: 32px;
  position: relative;
  transition: color 0.2s ease;
  width: 100%;
  border-right: 0.5px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.use-case:nth-child(3n) {
  border-right: none;
}

.use-case:nth-last-child(-n + 3) {
  border-bottom: none;
}

.use-case__icon {
  width: 36px;
  height: 36px;
  display: block;
}

.use-case__title {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
}

.use-case__title--with-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.use-case__demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #66bf45;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
}

.use-case__demo-tag-arrow {
  display: block;
  width: 14px;
  height: 14px;
}

.use-case:hover .use-case__demo-tag,
.use-case:active .use-case__demo-tag,
.use-case:focus .use-case__demo-tag,
.use-case:focus-visible .use-case__demo-tag {
  color: #66bf45 !important;
  -webkit-text-fill-color: #66bf45;
}

.use-case__subtitle {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 300;
  color: #788ca4;
  line-height: 1.5;
}

.examples-section {
  --examples-desktop-offset: max(0px, calc((100vw - 1200px) / 2));
  margin: 180px 0;
  text-align: left;
}

.examples-section .section-next__title,
.examples-section .section-next__subtitle {
  text-align: left;
}

.examples-section .section-next__subtitle {
  margin-top: 16px;
}

.examples-section__grid {
  margin-top: 45px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-left: var(--examples-desktop-offset);
  padding-right: var(--examples-desktop-offset);
  scroll-padding-left: var(--examples-desktop-offset);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.examples-section__grid::-webkit-scrollbar {
  display: none;
}

.examples-section__box {
  flex: 0 0 calc((1200px - 72px) / 4);
  min-height: 260px;
  border-radius: 8px;
  background: #182233;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-top: 4px solid #66bf45;
  scroll-snap-align: start;
}

.examples-section__content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.examples-section__content > * + * {
  margin-top: 16px;
}

.examples-section__icon + .examples-section__text {
  margin-top: 10px;
}

.examples-section__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.examples-section__text {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  text-align: left;
}

.examples-section__text--agent {
  font-weight: 300;
  color: #788ca4;
}

.examples-section__text--request {
  color: #ffffff;
}

.examples-section__text--reply {
  font-weight: 300;
  color: #788ca4;
}

.section-setup__title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-setup__content {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.easy-setup-box {
  position: relative;
  width: 100%;
  max-width: 850px;
  background: #0c1520;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: visible;
}

.easy-setup-block {
  width: 100%;
  max-width: 850px;
}

.easy-setup-box__content {
  padding: 30px 47px;
}

.easy-setup-box__text {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 250;
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-variation-settings: "wght" 250;
  font-synthesis: none;
  white-space: normal;
}

.easy-setup-inline-select {
  height: 23px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 32px 0 10px;
  border: none;
  border-radius: 4px;
  background: rgba(102, 191, 69, 0.2);
  color: #66bf45;
  font-size: 16px;
  font-weight: 250;
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-variation-settings: "wght" 250;
  font-synthesis: none;
  line-height: 1;
  vertical-align: baseline;
  cursor: pointer;
  position: relative;
  top: 0.5px;
}

.easy-setup-inline-select::before {
  content: "";
  width: 0;
  border-left: 0.5px solid #0c1520;
  position: absolute;
  right: 24px;
  top: 0;
  bottom: 0;
}

.easy-setup-inline-select::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid #66bf45;
  border-bottom: 1px solid #66bf45;
  position: absolute;
  right: 9px;
  top: calc(50% - 1px);
  transform: translateY(-50%) rotate(45deg);
}

.easy-setup-inline-select--green {
  background: rgba(102, 191, 69, 0.2);
}

.easy-setup-inline-link {
  height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 32px 0 10px;
  border-radius: 4px;
  background: #243d50;
  color: #56b5db;
  font-size: 16px;
  font-weight: 250;
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-variation-settings: "wght" 250;
  font-synthesis: none;
  line-height: 1;
  text-decoration: none;
  vertical-align: baseline;
  position: relative;
  top: 0.5px;
}

.easy-setup-inline-link::before {
  content: "";
  width: 0;
  border-left: 0.5px solid #0c1520;
  position: absolute;
  right: 24px;
  top: 0;
  bottom: 0;
}

.easy-setup-inline-link::after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background-color: currentColor;
  -webkit-mask: url("/img/external_icon.png") center / contain no-repeat;
  mask: url("/img/external_icon.png") center / contain no-repeat;
}

.easy-setup-inline-select-wrap {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.easy-setup-inline-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 132px;
  background: #0c1520;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 4px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 10;
}

.easy-setup-inline-select-wrap.is-open .easy-setup-inline-menu {
  display: flex;
}

.easy-setup-inline-select-wrap--wide .easy-setup-inline-menu {
  min-width: 190px;
}

.easy-setup-inline-menu__item {
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 250;
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-variation-settings: "wght" 250;
  font-synthesis: none;
  text-align: left;
  padding: 6px 8px;
  cursor: pointer;
  white-space: nowrap;
}

.easy-setup-inline-menu__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.easy-setup-box__copy-btn {
  margin-top: 30px;
  min-width: 140px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
  font-weight: 250;
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-variation-settings: "wght" 250;
  font-synthesis: none;
  white-space: nowrap;
}

.setup-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.setup-feature {
  padding: 32px;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  text-align: left;
  width: 100%;
  border-left: none;
  border-top: none;
  border-right: none;
  cursor: pointer;
}

.setup-feature:last-child {
  border-bottom: none;
}

.setup-feature__title {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
}

.setup-feature__subtitle {
  display: none;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.5;
}

.setup-feature.is-selected {
  border-right: 1px solid #66bf45;
}

.setup-feature.is-selected .setup-feature__title {
  color: #66bf45;
}

.setup-feature.is-selected .setup-feature__subtitle {
  display: block;
}

.setup-detail {
  height: 100%;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.setup-panel {
  background: #121b26;
  height: 100%;
  min-height: 0;
  width: 100% !important;
  flex: 1 1 auto;
  display: none !important;
  flex-direction: column;
}

.setup-panel.is-active {
  display: flex !important;
}

.setup-panel:not(.is-active) {
  display: none !important;
}

.setup-panel.is-empty .setup-panel__header,
.setup-panel.is-empty .setup-panel__body {
  display: none;
}

.setup-panel__header {
  height: 40px;
  background: #0c1520;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}

.setup-panel__body {
  padding: 16px 20px 20px;
  background: #0c1520;
  flex: 1 1 auto;
}

.code-block {
  font-family: "Fira Code", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: #d6deeb;
}

.code-line {
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
  white-space: normal;
}

.code-line__num {
  width: 50px;
  flex: 0 0 50px;
  min-width: 50px;
  max-width: 50px;
  color: rgba(120, 140, 164, 0.7);
  text-align: center;
  display: block;
}

.code-line__code {
  color: #d6deeb;
  flex: 1 1 auto;
  padding-left: 12px;
  width: calc(100% - 50px);
  white-space: normal;
}

.code-line__code span {
  display: inline;
}

.code-kw {
  color: #c792ea;
}

.code-id {
  color: #d6deeb;
}

.code-op {
  color: #89ddff;
}

.code-fn {
  color: #82aaff;
}

.code-arg {
  color: #addb67;
}

.code-str {
  color: #ecc48d;
}

.code-comment {
  color: #7f8fa3;
}
.tab-switch {
  position: relative;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  background: #121b26;
}

.tab-switch__btn {
  position: relative;
  z-index: 1;
  height: 24px;
  padding: 0 16px;
  margin: 0;
  border: none;
  border-radius: 3px;
  background: transparent;
  font-size: 10px;
  font-weight: 500;
  color: #788ca4;
  cursor: pointer;
}

.tab-switch__btn.is-active {
  color: #ffffff;
}

.tab-switch__btn.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0c1520;
  border-radius: 3px;
  z-index: -1;
}

.setup-panel__copy {
  width: 12px;
  height: 12px;
  display: block;
  opacity: 0.8;
}

.chat-demo-main {
  min-height: calc(100vh - var(--top-panel-height));
}

.chat-demo-main .hero__inner.content-area {
  min-height: calc(100vh - var(--top-panel-height));
}

.chat-demo-main .hero__inner .content-area__inner {
  display: block;
  padding-top: 19px;
}

.chat-demo-heading {
  margin-bottom: 24px;
  text-align: center;
}

.section-next .chat-demo-heading {
  margin-top: 180px;
}

.integrate-stack-block {
  position: relative;
  width: 100%;
  margin: 114px 0 80px;
  padding: 0;
  display: block;
  text-align: center;
}

.integrate-stack-block__title {
  margin: 0;
  display: inline-block;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  color: #ffffff;
}

.integrate-stack-logos {
  margin-top: 56px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: nowrap;
  overflow-x: visible;
  overflow-y: visible;
}

.integrate-stack-logos__item {
  position: relative;
  width: 135px;
  height: 62px;
  flex: 0 0 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.integrate-stack-logos__item::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background: rgba(217, 217, 217, 0.2);
  -webkit-mask: var(--logo-src) center / contain no-repeat;
  mask: var(--logo-src) center / contain no-repeat;
  transition: background 0.2s ease;
}

.integrate-stack-logos__item::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 300;
  color: #ffffff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.integrate-stack-logos__item:hover::before {
  background: #ffffff;
}

.integrate-stack-logos__item:hover::after {
  opacity: 1;
}

.benchmarks-intro {
  margin-top: 180px;
  text-align: center;
}

.blog-section {
  margin-top: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 780px;
  height: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(15, 30, 50, 0.65) 0%, rgba(15, 30, 50, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.blog-section .section-next__title,
.blog-section__timeline,
.blog-section__line,
.blog-post,
.blog-section__btn {
  position: relative;
  z-index: 1;
}

.blog-section__timeline {
  margin-top: 24px;
  width: 100%;
  height: 210px;
}

.blog-section__line {
  position: absolute;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  width: 0.5px;
  height: calc(100% - 34px);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(102, 191, 69, 1) 0 4px,
    rgba(102, 191, 69, 0) 4px 8px
  );
}

.blog-section__btn {
  margin-top: 0;
}

.blog-post {
  position: absolute;
  left: 50%;
  top: var(--post-y, 0px);
  transform: none;
  width: 780px;
}

.blog-post__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #66bf45;
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
  transform: translate(-50%, 50%);
}

.blog-post__content {
  margin-left: 20px;
  text-align: left;
}

.blog-post--left .blog-post__content {
  position: absolute;
  top: 0;
  left: -20px;
  width: 560px;
  transform: translateX(-100%);
  margin-left: 0;
  text-align: right;
}

.blog-post--left .blog-post__desc {
  margin-left: auto;
}

.tryout-section {
  margin-top: 250px;
  text-align: center;
}

.tryout-form {
  width: 590px;
  max-width: 100%;
  margin: 60px auto 0;
  text-align: left;
}

.tryout-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tryout-form__field {
  display: block;
}

.tryout-form__field--full {
  margin-top: 24px;
}

.tryout-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  color: #ffffff;
}

.tryout-form__input {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 39, 63, 0.5);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.tryout-form__input::placeholder {
  color: #788ca4;
}

.tryout-form__input:focus {
  border-color: #66bf45;
}

.tryout-form__textarea {
  height: 72px;
  resize: none;
  padding: 12px 16px;
}

.tryout-form__submit {
  margin-top: 24px;
  width: 100%;
  background: #66bf45;
  color: #121b26;
}

.tryout-form__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tryout-form__submit.is-loading {
  opacity: 0.85;
  gap: 8px;
}

.tryout-form__submit.is-loading::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(18, 27, 38, 0.28);
  border-top-color: #121b26;
  border-radius: 50%;
  animation: tryout-submit-spin 0.8s linear infinite;
}

.tryout-form__consent {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  color: #788ca4;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 300;
}

.tryout-form__consent-checkbox {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  --check-width: 4px;
  --check-height: 8px;
  --check-thickness: 1.5px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(20, 39, 63, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.tryout-form__consent-checkbox:checked {
  border-color: #66bf45;
}

.tryout-form__consent-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--check-width);
  height: var(--check-height);
  border: solid #66bf45;
  border-width: 0 var(--check-thickness) var(--check-thickness) 0;
  transform: translate(-50%, -62%) rotate(45deg);
}

.tryout-form__consent a {
  color: #ffffff;
  text-decoration: underline;
}

.tryout-form__consent-popover {
  position: absolute;
  left: -9px;
  top: calc(100% + 0px);
  max-width: 320px;
  padding: 10px 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 21, 32, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  color: #788ca4;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 300;
  z-index: 6;
}

.tryout-form__consent-popover::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -6px;
  width: 10px;
  height: 10px;
  background: rgba(12, 21, 32, 0.92);
  border-top: 0.5px solid rgba(255, 255, 255, 0.2);
  border-left: 0.5px solid rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
}

.page-copyright {
  margin-top: 80px;
  margin-bottom: 50px;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
}

.legal-links {
  margin-top: 56px;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
}

.legal-links a {
  color: inherit;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.legal-links span {
  margin: 0 8px;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 21, 32, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__text {
  margin: 0;
  color: #788ca4;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 300;
}

.cookie-consent__text a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-consent__actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent__btn {
  min-width: 160px;
  white-space: nowrap;
}

html.video-lightbox-open,
html.video-lightbox-open body {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.video-lightbox[hidden] {
  display: none !important;
}

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 64px));
}

.video-lightbox__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  background: #0c1520;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.video-lightbox__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.hero__chat--completed .chat-input,
.hero__chat--completed .chat-input__legal {
  display: none;
}


@media (max-width: 900px) {
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent__actions {
    margin-left: 0;
    width: 100%;
    gap: 8px;
  }

  .cookie-consent__btn {
    min-width: 0;
    flex: 1 1 auto;
  }

  .video-lightbox {
    padding: 16px;
  }

  .video-lightbox__dialog {
    width: min(100vw - 24px, 900px);
  }

  .video-lightbox__close {
    top: -34px;
    font-size: 30px;
  }
}

.blog-post__date {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 300;
  color: #66bf45;
}

.blog-post__title {
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
  color: #ffffff;
}

.blog-post__title-link {
  color: inherit;
  text-decoration: none;
}

.blog-post__title-link:hover {
  text-decoration: underline;
}

.blog-post__desc {
  margin-top: 16px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
  color: #788ca4;
}

.benchmark-bars {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benchmark-bars--secondary {
  margin-top: 60px;
}

.benchmark-bars__header {
  width: 70%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.benchmark-bars__label {
  margin: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
  color: #ffffff;
}

.benchmark-bars__values {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.benchmark-bars__value {
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 300;
}

.benchmark-bars__value--green {
  color: #66bf45;
}

.benchmark-bars__value--yellow {
  color: rgba(255, 247, 96, 0.5);
}

.benchmark-bars__value--red {
  color: rgba(252, 112, 112, 0.5);
}

.benchmark-bars__value--blue {
  color: rgba(86, 181, 219, 0.5);
}

.benchmark-bars__legend {
  width: 70%;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.benchmark-bars__legend-item {
  display: inline-flex;
  align-items: center;
}

.benchmark-bars__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  flex: 0 0 auto;
}

.benchmark-bars__legend-dot--green {
  background: #66bf45;
}

.benchmark-bars__legend-dot--yellow {
  background: rgba(255, 247, 96, 0.5);
}

.benchmark-bars__legend-dot--red {
  background: rgba(252, 112, 112, 0.5);
}

.benchmark-bars__legend-dot--blue {
  background: rgba(86, 181, 219, 0.5);
}

.benchmark-bars__legend-text {
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 300;
  color: #ffffff;
}

.benchmark-bar {
  width: 100%;
  display: flex;
  justify-content: center;
}

.benchmark-bar__track {
  width: 70%;
  height: 8px;
  background: #1c2126;
  border-radius: 4px;
  overflow: hidden;
}

.benchmark-bar__fill {
  width: var(--bar-value, 0%);
  height: 100%;
  background: var(--bar-fill, var(--highlight-yellow));
  border-radius: 4px;
}

.chat-demo-block {
  width: 100%;
  height: 650px;
  background: #1a2332;
  border: none;
  position: relative;
}

.chat-demo-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px;
  background: rgba(10, 10, 10, 0.25);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.chat-demo-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}

.chat-demo-overlay__text {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  text-align: center;
  color: #ffffff;
}

.chat-demo-overlay__btn {
  position: relative;
}

.chat-demo-block__top {
  position: relative;
  width: 100%;
  height: 56px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
}

.chat-demo-block__top::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 1px;
  background: #788ca4;
  transform: translateY(-50%);
  z-index: 1;
}

.chat-demo-block__top::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 7px;
  transform: translateY(-50%);
  background-image: linear-gradient(to right, #788ca4 0 1px, transparent 1px 100%);
  background-size: calc(100% / 12) 7px;
  background-repeat: repeat-x;
  border-right: 1px solid #788ca4;
  z-index: 1;
}

.chat-demo-block__months {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: calc(50% + 8px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  z-index: 2;
}

.chat-demo-block__months span {
  text-align: center;
  font-size: 8px;
  line-height: 1;
  color: #788ca4;
}

.chat-demo-block__timeline-points {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.chat-demo-block__current-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(20px + (100% - 40px) * var(--x, 0));
  width: 1px;
  background: #66bf45;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.chat-demo-block__current-marker::before,
.chat-demo-block__current-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  transform: translateX(-50%);
}

.chat-demo-block__current-marker::before {
  top: 0;
  border-top: 10px solid #66bf45;
}

.chat-demo-block__current-marker::after {
  bottom: 0;
  border-bottom: 10px solid #66bf45;
}

.chat-demo-block__timeline-point {
  position: absolute;
  left: calc(20px + (100% - 40px) * var(--x));
  top: 50%;
  width: 10px;
  height: 10px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.chat-demo-block__timeline-point::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--point-color);
}

.chat-demo-block__timeline-point--created {
  --point-color: #66bf45;
  z-index: 2;
}

.chat-demo-block__timeline-point--used {
  --point-color: #56b5db;
  z-index: 1;
}

.chat-demo-block__timeline-point--updated {
  --point-color: #f97316;
  z-index: 2;
}

.chat-demo-block__timeline-point.is-related::before {
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
}

.chat-demo-block__timeline-point.is-related {
  z-index: 10;
}

.chat-demo-block__timeline-point--created.is-related {
  z-index: 12;
}

.chat-demo-block__timeline-point--used.is-related {
  z-index: 11;
}

.chat-demo-block__timeline-point--updated.is-related {
  z-index: 12;
}

.chat-demo-block__timeline-point.is-dimmed::before {
  background: #39404d;
}

.chat-demo-block__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  height: calc(650px - 56px);
  min-height: 0;
  overflow: hidden;
}

.chat-demo-block__left {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-demo-block__left .chat-messages {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-messages {
  scrollbar-color: rgba(120, 140, 164, 0.35) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(120, 140, 164, 0.35);
  border-radius: 8px;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
.chat-messages::-webkit-scrollbar-thumb:active {
  background: rgba(120, 140, 164, 0.35);
}

.chat-demo-block__right {
  width: 420px;
  border-left: 0.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.chat-demo-block__right-top {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: auto;
}

.chat-demo-block__right-bottom {
  flex: 0 0 270px;
  height: 270px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.2);
  overflow: auto;
}

.chat-demo-memory-changes {
  padding: 16px;
  font-family: "Inter", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.chat-demo-memory-changes__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  color: #66bf45;
  font-family: inherit;
  font-weight: 400;
}

.chat-demo-memory-changes__title img {
  width: 16px;
  height: 16px;
  display: block;
}

.chat-demo-memory-changes__title--retrieved {
  margin-top: 16px;
  color: #56b5db;
}

.chat-demo-memory-changes__title--updated {
  margin-top: 16px;
  color: #f97316;
}

.chat-demo-memory-changes__row {
  margin-top: 12px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
}

.chat-demo-memory-changes__left {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-demo-memory-changes__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66bf45;
  flex: 0 0 auto;
}

.chat-demo-memory-changes__dot--retrieved {
  background: #56b5db;
}

.chat-demo-memory-changes__dot--updated {
  background: #f97316;
}

.chat-demo-memory-changes__date {
  font-size: 12px;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
  font-family: inherit;
  font-weight: 400;
}

.chat-demo-memory-changes__jump {
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.chat-demo-memory-changes__jump img {
  width: 16px;
  height: 16px;
  display: block;
}

.chat-demo-record {
  min-height: 0;
  padding: 16px;
  font-family: "Fira Code", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #d6deeb;
  white-space: pre;
}

.chat-demo-record__key {
  color: #c792ea;
}

.chat-demo-record__string {
  color: #ecc48d;
}

.chat-demo-record__number {
  color: #82aaff;
}

.chat-demo-record__boolean {
  color: #89ddff;
}

.chat-demo-record__null {
  color: #f07178;
}
.section-setup__content {
  align-items: stretch;
}

.use-case::before,
.use-case::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--highlight-yellow);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.use-case::before {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 0;
  border-left-width: 0;
}

.use-case::after {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-width: 0;
  border-right-width: 0;
}

.use-case:hover::before,
.use-case:hover::after {
  opacity: 1;
}

.use-case:hover .use-case__title {
  color: var(--highlight-yellow);
}

.use-case:hover .use-case__icon {
  color: var(--highlight-yellow);
  filter: brightness(0) saturate(100%) invert(85%) sepia(33%) saturate(549%)
    hue-rotate(5deg) brightness(92%) contrast(93%);
}

.use-case:hover .use-case__subtitle {
  color: #ffffff;
}
.section-next__parallelogram {
  position: absolute;
  right: calc(50% - 600px);
  top: calc(-0.5 * var(--diagonal-height) - 108.5px);
  width: 911px;
  height: 97px;
  background: linear-gradient(
    165deg,
    #f97316 0%,
    #fbbf24 30%,
    #a3e635 80%
  );
  transform: skewY(calc(-1 * var(--diagonal-angle)));
  transform-origin: top right;
  z-index: 1;
}

.content-area__inner {
  padding: 0;
  height: 100%;
}

.top-panel__inner .content-area__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero__inner .content-area__inner {
  display: block;
  align-items: flex-start;
  padding: 140px 0 0;
}

.section-next__inner .content-area__inner {
  position: relative;
  padding-top: calc(610px + 101px);
}

.hero__layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.hero__copy {
  max-width: 520px;
}

.hero__tagline {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  color: #788ca4;
  transition: opacity 0.4s ease;
}

.hero__subtitle.is-fading {
  opacity: 0;
}

.flip-word {
  display: inline-block;
  perspective: 600px;
  position: relative;
}

.flip-word__text {
  display: inline-block;
  padding: 0 4px;
  background: linear-gradient(135deg, #cbb92b 0%, #82b732 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform-origin: center bottom;
  position: relative;
  z-index: 1;
}

.flip-word__text.is-flipping {
  transform: rotateX(90deg);
  opacity: 0;
}

.flip-word__underline {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 1px;
  height: 4px;
  background: linear-gradient(135deg, #cbb92b 0%, #82b732 100%);
  overflow: hidden;
  animation: underline-fill 4s linear infinite;
  transition: opacity 0.3s ease;
  opacity: 1;
  z-index: 0;
}


@keyframes underline-fill {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  87.5% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes chat-bubble-loading {
  100% {
    transform: translateX(100%);
  }
}

@keyframes tryout-submit-spin {
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  :root {
    --top-panel-height: 80px;
  }

  .intro-loader__text {
    font-size: clamp(29px, 3.2vw, 38px);
    transform: translateX(-35px);
  }

  html {
    scroll-padding-top: var(--top-panel-height);
  }

  html,
  body {
    margin: 0;
    background-color: #121b26;
  }

  body {
    padding-top: calc(var(--top-panel-height) + env(safe-area-inset-top));
    padding-bottom: max(0px, env(safe-area-inset-bottom));
    min-height: 100dvh;
  }

  body::before {
    content: "";
    position: fixed;
    top: calc(-300px - env(safe-area-inset-top));
    left: 0;
    width: 100%;
    height: calc(300px + env(safe-area-inset-top));
    background: #000000;
    pointer-events: none;
    z-index: 999;
  }

  .top-panel {
    top: calc(-1 * env(safe-area-inset-top));
    height: calc(var(--top-panel-height) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    isolation: isolate;
  }

  .top-panel::before {
    content: none;
  }

  #use-cases,
  #examples,
  #easy-setup,
  #our-blog,
  #try-it-out {
    scroll-margin-top: 160px;
  }

  .top-panel__inner {
    position: relative;
    z-index: 1;
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }

  .top-panel__inner .content-area__inner {
    justify-content: space-between;
  }

  .fixed-gradient-bg {
    top: calc(var(--top-panel-height) + env(safe-area-inset-top));
    height: calc(100dvh + 200px - var(--top-panel-height) - env(safe-area-inset-top));
  }

  .top-panel__logo-link {
    margin-top: 0;
    align-self: center;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .top-panel__logo {
    width: 177px;
    height: 24px;
    object-fit: contain;
    position: relative;
    top: 3px;
  }

  .top-panel__nav {
    display: none;
  }

  #get-started-link {
    height: 40px;
    padding: 0 24px;
    font-size: 16px;
    box-shadow: 0 0 0 4px rgba(102, 191, 69, 0.3);
  }

  .hero__inner .content-area__inner {
    padding: 116px 16px 0;
  }

  .hero__layout {
    flex-direction: column;
    gap: 32px;
    pointer-events: none;
    touch-action: auto;
    overscroll-behavior: auto;
  }

  .hero__copy {
    max-width: 100%;
    overflow: visible;
    touch-action: pan-y;
    overscroll-behavior: none;
    pointer-events: none;
  }

  .hero__tagline {
    font-size: 48px;
    line-height: 1.15;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
  }

  .hero__title-break-desktop {
    display: none;
  }

  .hero__title-the-memory {
    display: block;
  }

  .hero__title-layer {
    display: inline;
  }

  .hero__title-bringing {
    display: inline;
    margin-left: 0;
  }

  .hero__title-bringing::after {
    content: "";
    display: block;
  }

  .hero__tagline .flip-word {
    display: inline-block;
    margin-top: 0;
  }

  .hero__subtitle {
    font-size: 19px;
    line-height: 1.45;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
  }

  .hero__title-the-memory,
  .hero__title-layer,
  .hero__title-bringing,
  .flip-word,
  .flip-word__text,
  .flip-word__underline,
  .hero__cta {
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
  }

  .hero__cta {
    pointer-events: auto;
  }

  .btn {
    font-size: 18px;
  }

  .hero__chat {
    width: 100%;
    height: auto !important;
    max-height: none;
    transform: none !important;
    margin-top: 100px;
    pointer-events: auto;
  }

  .chat-messages {
    max-height: 400px;
    padding: 22px 26px 22px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .hero__chat--completed .chat-messages {
    flex: 0 0 auto;
    max-height: none;
    overflow: visible !important;
    pointer-events: none;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: auto;
  }

  .hero__chat--completed {
    touch-action: auto;
    pointer-events: none;
    overscroll-behavior: auto;
  }

  .hero__chat--completed * {
    pointer-events: none !important;
  }

  .chat-bubble {
    font-size: 14px;
    padding: 16px 18px;
    max-width: calc(100% - 36px);
  }

  .chat-avatar {
    width: 24px;
    height: 24px;
  }

  .chat-avatar img {
    width: 14px;
    height: 8px;
  }

  .chat-avatar--user img {
    width: 12px;
    height: 12px;
  }

  .chat-input,
  .chat-input__legal {
    width: calc(100% - 24px);
  }

  .chat-input {
    height: 48px;
  }

  .chat-input__field {
    font-size: 16px;
    padding-left: 16px;
  }

  .chat-input__send {
    width: 36px;
    height: 36px;
  }

  .chat-input__icon {
    width: 18px;
    height: 18px;
  }

  .chat-input__legal {
    margin-top: -10px;
    font-size: 13px;
  }

  .hero__chat-footer {
    height: 118px;
    padding: 14px 18px;
  }

  .tryout-form__textarea {
    overflow-y: hidden;
  }

  .chat-line {
    font-size: 13px;
  }

  .section-next #chat-demo,
  .section-next .chat-demo-block {
    display: none !important;
  }

  .section-next::before {
    top: calc(-1 * var(--diagonal-height) + 330px);
    height: var(--section-next-before-height, 3480px);
  }

  .section-next::after {
    top: var(--section-next-after-top, calc(-1 * var(--diagonal-height) + 3800px));
    height: var(--section-next-after-height, 1310px);
  }

  .section-next__parallelogram {
    display: block;
    top: calc(-1 * var(--diagonal-height) + 240px);
  }

  .top-panel__link[href="#chat-demo"] {
    display: none !important;
  }

  .section-next__inner .content-area__inner {
    padding-top: 36px;
  }

  .section-next__schema {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 310px;
    padding: 0 16px;
  }

  .section-next__schema-subtitle br {
    display: none;
  }

  .section-next__intro {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 150px;
    padding: 0 16px;
    text-align: left;
  }

  .section-next__title,
  .section-setup__title {
    font-size: 46px;
  }

  .section-next__schema-subtitle {
    font-size: 24px;
    line-height: 1.45;
  }

  .section-next__schema-note-break {
    display: block;
    margin-left: 0;
  }

  .section-next__subtitle {
    font-size: 19px;
  }

  .use-cases {
    margin-top: 40px;
    grid-template-columns: 1fr;
    margin-bottom: 180px;
  }

  .examples-section {
    --examples-inline-offset: 16px;
    display: block;
    margin: 120px 0 180px;
    padding: 0 var(--examples-inline-offset);
  }

  .examples-section__grid {
    margin-top: 45px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 6px;
    padding-left: var(--examples-inline-offset);
    padding-right: var(--examples-inline-offset);
    scroll-padding-left: var(--examples-inline-offset);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .examples-section__grid::-webkit-scrollbar {
    display: none;
  }

  .examples-section__box {
    flex: 0 0 min(320px, calc(100vw - 86px));
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .use-case {
    padding: 38px 16px;
    text-align: left;
    border-right: none;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  }

  .use-case:nth-last-child(-n + 3) {
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  }

  .use-case:last-child {
    border-bottom: none;
  }

  .use-case__icon {
    width: 42px;
    height: 42px;
  }

  .use-case__title {
    margin-top: 26px;
    font-size: 24px;
  }

  .use-case__demo-tag {
    display: none !important;
  }

  .use-case__subtitle {
    font-size: 18px;
    line-height: 1.5;
  }

  .use-case::before,
  .use-case::after {
    display: none !important;
  }

  .use-case,
  .use-case * {
    -webkit-tap-highlight-color: transparent;
  }

  .use-case:hover .use-case__icon {
    filter: none;
  }

  .use-case:hover .use-case__title,
  .use-case:active .use-case__title,
  .use-case:focus .use-case__title,
  .use-case:focus-visible .use-case__title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    filter: none !important;
  }

  .use-case:hover .use-case__subtitle,
  .use-case:active .use-case__subtitle,
  .use-case:focus .use-case__subtitle,
  .use-case:focus-visible .use-case__subtitle {
    color: #788ca4;
  }

  .section-setup__content {
    margin-top: 36px;
    padding: 0 16px;
  }

  .easy-setup-box__content {
    padding: 28px 24px;
  }

  .easy-setup-box__text {
    font-size: 18px;
    line-height: 1.6;
  }

  .easy-setup-inline-select,
  .easy-setup-inline-link {
    top: 0.5px;
    height: 26px;
    font-size: 18px;
  }

  .easy-setup-inline-select-wrap--wide .easy-setup-inline-menu {
    min-width: 280px;
  }

  .easy-setup-inline-menu__item {
    font-size: 16px;
    padding: 8px 10px;
  }

  .easy-setup-box__copy-btn {
    min-width: 170px;
    margin-top: 34px;
  }

  .integrate-stack-block {
    margin-top: 80px;
    padding: 0 16px;
  }

  .integrate-stack-block__title {
    font-size: 24px;
  }

  .integrate-stack-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 22px;
    justify-items: center;
    align-items: center;
    overflow: visible;
    padding-bottom: 0;
  }

  .integrate-stack-logos__item {
    width: 120px;
    height: 56px;
    flex-basis: auto;
    grid-column: span 2;
  }

  .integrate-stack-logos__item:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .integrate-stack-logos__item:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .blog-section {
    margin-top: 190px;
    padding: 0 16px;
  }

  .blog-section::before {
    width: 100%;
    height: 760px;
  }

  .blog-section__timeline {
    height: auto;
    padding-left: 20px;
    margin-top: 28px;
  }

  .blog-section__line {
    left: 20px;
    top: 13px;
    height: calc(100% - 13px);
    transform: none;
  }

  .blog-post {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-bottom: 34px;
  }

  .blog-post__dot {
    left: 0;
    top: 3px;
    transform: translate(-50%, 50%);
  }

  .blog-post__content,
  .blog-post--left .blog-post__content {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    transform: none;
    margin-left: 36px;
    text-align: left;
  }

  .blog-post__date {
    font-size: 16px;
  }

  .blog-post__title {
    font-size: 26px;
  }

  .blog-post__desc {
    font-size: 16px;
    line-height: 1.55;
  }

  .blog-post--left .blog-post__desc {
    margin-left: 0;
  }

  .blog-section__btn {
    align-self: flex-start;
    margin-left: 15px;
  }

  .tryout-section {
    margin-top: 180px;
    padding: 0 16px;
  }

  .tryout-form {
    width: 100%;
    margin-top: 40px;
  }

  .tryout-form__label {
    font-size: 18px;
  }

  .tryout-form__input {
    height: 56px;
    font-size: 18px;
    padding: 0 18px;
  }

  .tryout-form__textarea {
    height: 88px;
    padding: 14px 18px;
  }

  .tryout-form__consent {
    font-size: 14px;
  }

  .tryout-form__consent-popover {
    max-width: calc(100vw - 48px);
  }

  .tryout-form__consent-checkbox {
    width: 16px;
    height: 16px;
    --check-width: 5px;
    --check-height: 10px;
    --check-thickness: 2px;
  }

  .tryout-form__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tryout-form__field--full {
    margin-top: 16px;
  }

  .cookie-consent {
    width: calc(100vw - 20px);
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    padding: 18px;
  }

  .cookie-consent__text {
    font-size: 15px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-consent__btn {
    min-height: 0;
    height: clamp(36px, 10vw, 44px);
    padding: 0 clamp(8px, 2.8vw, 14px);
    font-size: clamp(10px, 3.2vw, 14px);
    line-height: 1;
  }

  .legal-links {
    margin-top: 48px;
  }
}
