@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url('/fonts/atkinson-hyperlegible.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --rp-font: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --blue: #0071e3;
  --red: #8e8e93;
  --grey: #8e8e93;
  --black: #1d1d1f;
  --transp-black: rgba(0, 0, 0, 0.1);
  --stroke: 4px solid var(--black);
  --rp-c-brand: #ff705b;
  --rp-c-brand-light: #ff8f63;
  --rp-c-brand-lighter: #ffb457;
  --rp-c-brand-dark: #e35f46;
  --rp-c-brand-darker: #c84e38;
  --rp-c-brand-tint: #ff705b33;
  --rp-home-hero-name-background: linear-gradient(180deg, #ff705b 0%, #ffb457 100%);
  --rp-home-mask-background-image: conic-gradient(
    from 180deg at 50% 50%,
    #fff7ef 0deg,
    #ffffff 180deg,
    #ffe7c7 1turn
  );
  --doc-title-gradient: linear-gradient(180deg, #ff705b 0%, #ffb457 100%);
}

.dark {
  --rp-c-brand: #ff705b;
  --rp-c-brand-light: #ff9a69;
  --rp-c-brand-lighter: #ffc067;
  --rp-c-brand-dark: #f0624f;
  --rp-c-brand-darker: #d94f3e;
  --rp-c-brand-tint: #ff705b40;
  --doc-title-gradient: linear-gradient(180deg, #ff705b 0%, #ffb457 100%);
}

:where(.rp-dark) {
  --doc-title-gradient: linear-gradient(180deg, #ff705b 0%, #ffb457 100%);
}

:where(html:not(.rp-dark)) {
  --rp-home-hero-secondary-color: #ffb457;
  --rp-home-hero-title-bg: linear-gradient(180deg, #ff705b 0%, #ffb457 100%);
  --rp-home-background-bg:
    radial-gradient(42.12% 56.13% at 100% 0%, #ff9f6d26 0%, #fff0 100%),
    radial-gradient(42.01% 79.63% at 52.86% 0%, #ffc36a33 0%, #fff0 100%),
    radial-gradient(79.67% 58.09% at 0% 0%, #ff8a6b2b 0%, #fff0 100%),
    #fff;
}

:where(html.rp-dark) {
  --rp-home-hero-secondary-color: #ffc067;
  --rp-home-hero-title-bg: linear-gradient(180deg, #ff8a70 0%, #ffc067 100%);
  --rp-home-background-bg:
    radial-gradient(42.12% 56.13% at 100% 0%, #7a331f66 0%, #12121200 100%),
    radial-gradient(55.81% 87.78% at 48.37% 0%, #2b110c 0%, #12121200 89.55%),
    radial-gradient(122.65% 88.24% at 0% 0%, #9a4a2c55 0%, #12121200 100%),
    #121212;
}

.rp-doc.rspress-doc > h1:first-of-type {
  font-weight: 600;
}

.rp-doc.rspress-doc > h1:first-of-type > span {
  display: inline;
  background-image: var(--doc-title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  letter-spacing: -1.2px;
}

.rp-doc.rspress-doc > h1:first-of-type .rp-header-anchor {
  color: var(--rp-c-brand-light);
  -webkit-text-fill-color: var(--rp-c-brand-light);
}

.rspress-doc .rspress-home-hero-text {
  border: 15px solid #313b50;
  background-color: #5a5f5f;
  border-radius: 3px;
  box-sizing: border-box;
}

.screen {
  background: #fff;
  color: #22a6d8;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  text-align: left;
  display: inline-block;
  line-height: 1.1;
  padding: 0.08em 0.18em;
}

@media (min-width: 640px) {
  .sm\:max-w-4xl {
    max-width: 77rem;
  }

  .sm\:max-w-xl {
    max-width: 55rem;
  }
}

@media (min-width: 1024px) {
  .lg\:pb-2 {
    padding-bottom: 1.5rem;
  }
}

.pb-12 {
  padding-bottom: 1rem;
}

.chat {
  display: flex;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.chat-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
}

.chat-bubble {
  position: relative;
  padding: 1rem;
  border-radius: 1rem;
  background-color: var(--rp-c-brand-tint);
  color: var(--rp-c-brand-darker);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.chat-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.chat-end .chat-bubble {
  background-color: var(--rp-c-brand-tint);
  color: var(--rp-c-brand-darker);
  margin-left: 80px;
}

.dark .chat-bubble,
.dark .chat-end .chat-bubble {
  background-color: var(--rp-c-brand-tint);
  color: var(--rp-c-brand-light);
}

@media (max-width: 768px) {
  .chat-avatar {
    width: 50px;
    height: 50px;
  }

  .chat-bubble {
    font-size: 0.875rem;
    padding: 0.75rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat,
.chat-end {
  animation: fadeIn 0.3s ease-out;
}

body {
  font-family: var(--rp-font) !important;
}

.rspress-doc,
.rspress-doc p,
.rspress-doc li,
.rspress-doc span,
.rspress-doc div,
.rspress-doc h1,
.rspress-doc h2,
.rspress-doc h3,
.rspress-doc h4,
.rspress-doc h5,
.rspress-doc h6,
.rspress-doc a,
.rspress-doc button,
.rspress-doc input,
.rspress-doc textarea,
.rspress-doc select {
  font-family: var(--rp-font) !important;
}

body {
  font-family: var(--rp-font) !important;
}

.rspress-doc,
.rspress-doc p,
.rspress-doc li,
.rspress-doc span,
.rspress-doc div,
.rspress-doc h1,
.rspress-doc h2,
.rspress-doc h3,
.rspress-doc h4,
.rspress-doc h5,
.rspress-doc h6,
.rspress-doc a,
.rspress-doc button,
.rspress-doc input,
.rspress-doc textarea,
.rspress-doc select {
  font-family: var(--rp-font) !important;
}
