@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --p-bg: #161c1a;
  --p-surface: #1f2725;
  --p-ink: #e3e2da;
  --p-muted: #8e948d;
  --p-accent: #9fc7b8;
  --p-accent-ink: #161c1a;
  --p-action: #9fc7b8;
  --p-action-ink: #161c1a;
  --p-inv-bg: #e3e2da;
  --p-inv-surface: #d3d2cb;
  --p-inv-ink: #161c1a;
  --p-inv-muted: #555a55;
  --p-inv-accent: #161c1a;
  --p-inv-accent-ink: #e3e2da;
  --p-inv-action: #161c1a;
  --p-inv-action-ink: #e3e2da;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-text: "Manrope", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.045em;
  --ly-scale: 0.97;
  --word-bg: #ffb9ab;
  --word-ink: #3a1410;
}

q {
  quotes: "«" "»";
}

:lang(en) q {
  quotes: "“" "”";
}

.hero h1 .hl {
  display: inline-block;
  padding: 0.05em 0.16em 0.06em;
  margin-top: -0.05em;
  border-radius: 0.2em;
  background: var(--accent);
  color: var(--accent-ink);
}

.hero h1 .ly-word {
  padding: 0.06em 0.26em;
  margin-block: -0.06em -0.16em;
  border-radius: 999px;
  background: var(--word-bg);
  color: var(--word-ink);
}

.hero h1 .ly-word > span {
  justify-self: center;
  background: none;
}

.hero h1 .ly-word > span.is-out {
  transform: none;
}

.hero h1 .ly-word > span.is-next {
  transform: translateY(0.12em);
}

.hero--collage .hero__text {
  min-width: 0;
}

@media (max-width: 1023px) {
  .hero--collage .hero__text {
    align-self: stretch;
  }
}

@media (min-width: 1280px) and (max-height: 859px) {
  .hero--collage h1 {
    font-size: min(var(--ly-h1-col), 7.5vh);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero--collage .hero__text {
    grid-column: auto / span 6;
  }
}

.hero__art {
  background:
    radial-gradient(70% 60% at 18% 12%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
    radial-gradient(60% 50% at 90% 100%, color-mix(in oklab, var(--ground-bg) 80%, var(--ground-accent)), transparent 70%),
    var(--ground-bg);
}

.hero__art > .ly-piece {
  --fx-bg: var(--p-surface);
  --fx-surface: var(--p-bg);
  --fx-ink: var(--p-ink);
  --fx-muted: var(--p-muted);
  --fx-accent: var(--p-accent);
  --fx-accent-ink: var(--p-accent-ink);
}

.hero__art > .ly-piece--main {
  bottom: -56px;
}

.hero__art > .ly-piece--main :is(.ui-head, .ui-chat__body) {
  padding-right: calc(16px + var(--ly-cut-room));
}

.hero__art > .ly-piece--main .ui-chat__input {
  margin-right: calc(12px + var(--ly-cut-room));
}

.hero__art .ui-msg {
  font-size: 15px;
  line-height: 22px;
}

.hero__art .ui-chat__online {
  white-space: nowrap;
}

.hero__art .ui-msg--me {
  max-width: 340px;
}

.hero__art .ui-msg--bot {
  max-width: 420px;
}

@media (max-width: 639px) {
  .hero__art .ui-head .ui-chip,
  .hero__art .ui-chat__input {
    display: none;
  }
}

.chat-lines {
  display: contents;
}

.eva-av {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.langs ul {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.langs a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 var(--s-2);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.langs a:hover,
.langs a[aria-current="page"] {
  color: var(--ink);
}

@media (max-width: 1023px) {
  .nav.is-open .langs ul {
    justify-content: center;
    gap: var(--s-4);
  }

  .nav.is-open .langs a {
    height: 44px;
    padding: 0 var(--s-4);
    font-size: var(--t-body);
  }
}

@media (max-width: 359px) {
  .nav:not(.is-open) .nav__actions .btn {
    padding-inline: 6px;
  }

  html[data-buttons="arrow"] .nav:not(.is-open) .nav__actions .btn::after {
    display: none;
  }
}

#features .panel,
#more .panel {
  --p-h: 300px;
}

#how .panel {
  --p-h: 336px;
}

.menu-card .panel {
  --p-h: 200px;
}

.stage {
  --frag: var(--p-surface);
}

.frame--lit > .stage {
  --fx-bg: var(--p-surface);
  --fx-surface: var(--p-bg);
  --fx-ink: var(--p-ink);
  --fx-muted: var(--p-muted);
  --fx-accent: var(--p-accent);
  --fx-accent-ink: var(--p-accent-ink);
}

.demo-memory,
.demo-step-2,
.demo-step-3 {
  --fit-max: 340px;
  --ax: 24px;
  --ay: 40px;
  --ay-sm: 24px;
}

.demo-memory {
  --ay: 56px;
}

.demo-step-1 {
  --fit-max: 300px;
  --ax: 24px;
  --ay: 40px;
  --ay-sm: 24px;
}

.demo-games {
  --fit-max: 480px;
  --ax: 74px;
  --ay: 56px;
  --ay-sm: 24px;
}

.pic-talk {
  object-position: 50% 22%;
}

.pic-rehearsal,
.pic-faq,
.styles-frame > .frame__img {
  object-position: 50% 20%;
}

.pic-voice {
  object-position: 50% 18%;
}

.pic-gift {
  object-position: 50% 30%;
}

@media (min-width: 640px) {
  #games .frame {
    --ratio: 80%;
  }
}

.styles {
  display: grid;
  gap: var(--s-4);
}

.style > h3 {
  font: 500 var(--t-small) / 1.4 var(--font-text);
  letter-spacing: 0;
  color: var(--muted);
}

.style > h3 + .quote {
  margin-top: var(--s-1);
}

.styles[role="none"] {
  display: block;
}

.style[hidden],
.style > h3[hidden] {
  display: none;
}

.styles-frame:not(.is-tabs) > .frame__img ~ .frame__img {
  display: none;
}

#styles .section-head p {
  color: var(--ink);
}

@media (min-width: 1024px) {
  #how .card--open > p {
    min-height: 2lh;
  }
}

.nb {
  white-space: nowrap;
}

@media (max-width: 359px) {
  .hero h1 .nb {
    white-space: normal;
  }
}

.price {
  flex-wrap: wrap;
}

@media (min-width: 1280px) {
  #prices .section-head {
    max-width: none;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    column-gap: var(--gutter);
  }

  #prices .section-head > h2 {
    grid-column: span 5;
  }

  #prices .section-head > p {
    grid-column: span 7;
    max-width: none;
  }

  #prices .card--plan {
    gap: var(--s-3);
  }

  #prices .card--plan .checks {
    gap: 6px;
    margin-top: var(--s-1);
  }

  main > .section:not(.hero),
  footer.closing {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(var(--h, 1) * 100svh);
  }

  main > .section:not(.hero) > .wrap,
  footer.closing > .wrap {
    flex: 1 0 auto;
    height: auto;
    min-height: 0;
  }
}

.plan-head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

@media (max-width: 1023px) {
  .plan-note--none {
    display: none;
  }
}

@media (hover: hover) {
  .card--plan {
    transition:
      border-color var(--dur, 200ms) var(--ease, ease),
      box-shadow var(--dur, 200ms) var(--ease, ease);
  }

  .card--plan:hover {
    border-color: var(--line-strong);
  }

  .card--plan.is-featured:hover {
    border-color: var(--action);
    box-shadow: inset 0 0 0 2px var(--action);
  }
}

#faq .split-col > .frame {
  flex: 1 1 0;
  min-height: 152px;
}

#faq .split-col > .faq > .faq__item {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 640px) {
  #faq .split-col > .frame {
    min-height: 200px;
  }
}

.close--word > .close__word {
  overflow: visible;
}

@media (max-width: 639px) {
  #more,
  #how,
  #prices,
  #faq {
    --hm: 2;
  }

  #features .panel {
    --p-h: 136px;
  }

  #features .section-head p {
    display: none;
  }

  #games .frame {
    --ratio: 44%;
  }

  #sparks .frame--fill {
    min-height: 140px;
  }

  footer.closing > .wrap {
    row-gap: var(--s-6);
  }

  .closing__cta,
  .closing__links {
    gap: var(--s-5);
  }

  .closing__links .grid > .footer__col {
    grid-column: auto / span 4;
  }

  #more .panel {
    --p-h: 320px;
  }

  #how .panel {
    --p-h: 312px;
  }

  #prices .section-head {
    margin-bottom: var(--s-5);
  }

  #prices .card--plan {
    gap: var(--s-3);
    padding: var(--s-4);
  }

  #prices .card--plan .checks {
    gap: 6px;
    margin-top: 0;
  }

  .pic-faq {
    object-position: 50% 30%;
  }

  main > .section > .wrap > .grid.fill {
    flex: 1 0 auto;
  }

  .hero__art {
    min-height: 176px;
  }
}

@media (min-width: 640px) and (max-width: 1279px) {
  #features .panel,
  #more .panel {
    --p-h: 220px;
  }

  #how .panel {
    --p-h: 260px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  #prices .grid > .card--plan {
    grid-column: 1 / -1;
  }

  #prices .card--plan .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-5);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  #more .grid > .card.span-4,
  #how .grid > .card.span-4 {
    grid-column: auto / span 4;
  }

  #faq .grid > :is(.span-5, .span-4) {
    grid-column: auto / span 6;
  }

  #faq .grid > .split-col {
    grid-column: 1 / -1;
    flex-direction: row;
    height: auto;
  }

  #faq .split-col > .faq {
    flex: 1 1 0;
  }
}

.ui-rows {
  width: 340px;
  padding-bottom: 8px;
}

.ui-rows__row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px 0 16px;
  border-top: 1px solid var(--u-line);
  font-size: 13px;
  line-height: 20px;
}

.ui-head + .ui-rows__row {
  border-top: 0;
}

.ui-rows__row > :first-child {
  flex: 1;
  min-width: 0;
}

.ui-login {
  width: 300px;
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 20px;
}

.ui-login__title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}

.ui-login__text {
  color: var(--u-text-2);
}

.ui-login .ui-btn {
  height: 36px;
  padding: 0 14px;
}

.ui-compose {
  width: 340px;
}

.ui-compose .ui-chat__body {
  min-height: 0;
}

.ui-compose__mic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: var(--u-muted);
}

.ui-games {
  width: 480px;
}

.ui-games__body {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.ui-games__label {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 16px;
  color: var(--u-muted);
}

.ui-games__label:not(:first-child) {
  margin-top: 4px;
}

.ui-game {
  grid-column: span 3;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 8px;
  border-radius: var(--u-r2);
  background: var(--u-fill);
  box-shadow: inset 0 0 0 1px var(--u-line);
}

.ui-game--sm {
  grid-column: span 2;
}

.ui-game__name {
  margin-top: 4px;
  font-weight: 500;
}

.ui-game__pv {
  position: relative;
  display: grid;
  height: 84px;
  overflow: hidden;
  border-radius: var(--u-r3);
  background: var(--u-surface);
}

.pv-norma {
  align-content: center;
  gap: 8px;
  padding: 0 16px;
}

.pv-norma i {
  display: block;
  width: 16%;
  height: 10px;
  border-radius: 5px;
  background: var(--u-fill-3);
}

.pv-norma i:first-child {
  width: 52%;
  background: var(--u-accent);
}

.pv-norma i:nth-child(2) {
  width: 32%;
}

.pv-explain {
  place-items: center;
  align-content: center;
  gap: 8px;
}

.pv-disc {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--u-ink);
  color: var(--u-bg);
}

.pv-dots {
  display: flex;
  gap: 4px;
}

.pv-dots i {
  width: 14px;
  height: 5px;
  border-radius: 3px;
  background: var(--u-fill-3);
}

.pv-dots i:first-child {
  background: var(--u-ink);
}

.pv-stack {
  grid-template-columns: repeat(4, minmax(0, 18px));
  grid-auto-rows: 14px;
  gap: 4px;
  place-content: center;
  padding-inline: 8px;
}

.pv-stack i {
  border-radius: 4px;
  background: var(--u-fill-3);
}

.pv-stack i:is(:nth-child(2), :nth-child(12)) {
  background: #6f9c84;
}

.pv-stack i:is(:nth-child(5), :nth-child(6)) {
  background: #6f8ea6;
}

.pv-stack i:is(:nth-child(7), :nth-child(11)) {
  background: #b39b6f;
}

.pv-stack i:is(:nth-child(9), :nth-child(10)) {
  background: #c98b86;
}

.pv-okno svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pv-zvuki i {
  position: absolute;
  left: 22%;
  top: 36%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--c, #7fb6d9) 85%, transparent), transparent 70%);
}

.pv-zvuki i:nth-child(2) {
  --c: #e0a56a;
  left: 50%;
  top: 70%;
  width: 44px;
  height: 44px;
}

.pv-zvuki i:nth-child(3) {
  --c: #d98a9a;
  left: 74%;
  top: 30%;
  width: 52px;
  height: 52px;
}

.pv-zvuki i:nth-child(4) {
  --c: #8fc7a0;
  left: 88%;
  top: 76%;
  width: 36px;
  height: 36px;
}

.consent {
  position: fixed;
  inset: auto var(--s-3) var(--s-3);
  z-index: 60;
  max-width: 560px;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--p-surface);
  color: var(--p-ink);
  font-size: var(--t-small);
  box-shadow: 0 12px 40px rgb(0 0 0 / 40%);
}

.consent[hidden] {
  display: none;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

.footer__consent {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
