@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-DemiBold.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #08080a;
  --surface: #121014;
  --surface-soft: #17131b;
  --border: rgba(164, 117, 233, 0.28);
  --purple: #a16fee;
  --purple-bright: #ad78f4;
  --muted: #aaa1b7;
  --header-top: 27px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--background);
  color: #fff;
  font-family: "TT Hoves", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: #fff;
  color: #08080a;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  width: min(1281px, calc(100% - 160px));
  height: 72px;
  transform: translate(-50%, var(--header-top));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(154, 111, 225, 0.25);
  border-radius: 38px;
  background: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.brand {
  grid-column: 2;
  display: flex;
  width: auto;
  align-items: center;
  gap: 8px;
  justify-self: center;
}

.brand__app-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 7px;
}

.brand__name {
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.language-switch {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(164, 117, 233, 0.27);
  border-radius: 22px;
  background: rgba(8, 8, 10, 0.5);
}

.language-switch button {
  width: 38px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #928a9d;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.language-switch button.is-active {
  color: #fff;
  background: #1d1923;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--purple);
  color: #0a080d;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover,
.telegram-button:hover {
  background: var(--purple-bright);
}

.button:hover {
  transform: translateY(-2px);
}

.telegram-button:hover {
  transform: translate3d(var(--hero-copy-parallax-x, 0px), calc(var(--hero-copy-parallax-y, 0px) - 2px), 0);
}

.button--small {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 120px;
  height: 40px;
  border-radius: 22px;
  font-size: 13px;
}

.button--main {
  width: 195px;
  height: 56px;
  border-radius: 28px;
  font-size: 16px;
}

.site-header a:focus-visible,
.language-switch button:focus-visible,
.process__audience:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background-color: #08080a;
  background-image: url("assets/updated/hero-background.png");
  background-image: image-set(
    url("assets/updated/hero-background.webp") type("image/webp"),
    url("assets/updated/hero-background.png") type("image/png")
  );
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.hero__orbit {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: auto;
  max-width: none;
  height: 90vh;
  height: 90svh;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero__orbiter image {
  pointer-events: none;
}

.hero__copy {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: calc(50vh + 49.5px - min(11.599vw, 20.674vh));
  top: calc(50svh + 49.5px - min(11.599vw, 20.674svh));
  width: min(836px, calc(100% - 40px));
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--purple);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.eyebrow--pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 235px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(164, 117, 233, 0.26);
  border-radius: 22px;
  background: rgba(13, 10, 18, 0.34);
  font-size: 12px;
}

.hero h1 {
  margin: 16px auto 22px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  transform: translate3d(var(--hero-copy-parallax-x, 0px), var(--hero-copy-parallax-y, 0px), 0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1 .hero__gradient-word {
  background: linear-gradient(90deg, #9d6bea 0%, #c5a5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.telegram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 153px;
  height: 48px;
  border-radius: 24px;
  background: var(--purple);
  color: #1c1325;
  font-size: 13px;
  font-weight: 600;
  transform: translate3d(var(--hero-copy-parallax-x, 0px), var(--hero-copy-parallax-y, 0px), 0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
}

.telegram-button img {
  width: 24px;
  height: 24px;
}

.hero__product {
  display: block;
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: 57.361vw;
  width: min(57.361vw, 102.257svh);
  height: auto;
  aspect-ratio: 826 / 334;
  margin: 0;
  transform: translate3d(calc(-50% + var(--hero-parallax-x, 0px)), var(--hero-parallax-y, 0px), 0);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero__product > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 155px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #08080a;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.benefit + .benefit {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.benefit p {
  margin: 0 0 17px;
  color: var(--purple);
  font-size: 14px;
  line-height: 1;
}

.benefit h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 600;
}

.process {
  position: relative;
  z-index: 1;
  height: auto;
  background: #08080a;
}

.process::after {
  content: "";
  display: block;
  height: 72vh;
  height: 72svh;
}

.process__sticky {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  height: 100vh;
  height: 100svh;
  align-items: center;
  overflow: hidden;
  background: #08080a;
}

.process__inner {
  display: flex;
  height: auto;
  width: min(1068px, calc(100% - 80px));
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
}

.process__header {
  width: min(820px, 100%);
  margin: 0 auto 72px;
  text-align: center;
}

.process__audiences {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 44px;
  margin: 28px 0 0;
  overflow: visible;
}

.process__audience {
  padding: 0;
  border: 0;
  background: transparent;
  color: #4f485e;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  cursor: pointer;
  transition: color 220ms ease, opacity 220ms ease;
  white-space: nowrap;
}

.process__audience.is-active {
  color: #fff;
}

.process__cards {
  position: relative;
  height: 370px;
  contain: layout style;
}

.process__panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  visibility: visible;
  pointer-events: none;
}

.process-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 370px;
  padding: 44px 31px 42px;
  border: 1px solid transparent;
  border-radius: 28px;
  background: #141116;
  text-align: center;
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  transition: opacity 180ms linear, transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.process__panel[data-panel="clipper"] .process-card {
  opacity: 1;
  transform: none;
}

.process__panel[data-panel="clipper"] .process-card.is-replaced {
  opacity: 0;
  transform: translateY(-6px) scale(0.99);
}

.process__panel[data-panel="creator"] .process-card.is-replaced {
  opacity: 1;
  transform: none;
}

.process-card:hover {
  border-color: rgba(173, 120, 244, 0.7);
  background: radial-gradient(circle at 50% 20%, rgba(122, 79, 181, 0.14), transparent 60%), #141116;
  transform: translateY(-3px);
}

.process-card__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.process-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
}

.process-card p {
  max-width: 287px;
  margin: 0;
  color: #b8afc2;
  font-size: 16px;
  line-height: 1.5;
}

.manager {
  position: relative;
  min-height: 0;
  padding-bottom: 32px;
  overflow: hidden;
  background: #08080a;
}

.manager__card {
  position: relative;
  width: min(1065px, calc(100% - 80px));
  height: 445px;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 32px;
  background: #161418;
}

.manager__art {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: -159px;
  width: 568px;
  height: 657px;
  object-fit: cover;
  mix-blend-mode: lighten;
}

.manager__copy {
  position: relative;
  z-index: 2;
  width: 440px;
  padding-top: 96px;
  margin-left: 64px;
}

.manager__eyebrow {
  margin: 0 0 22px;
  color: var(--purple);
  font-size: 14px;
  line-height: 1;
}

.manager h2 {
  margin: 0;
  font-size: 48px;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.manager__copy > p:not(.manager__eyebrow) {
  width: 440px;
  margin: 28px 0 32px;
  color: #b8afc2;
  font-size: 16px;
  line-height: 1.5;
}

.site-footer {
  width: min(1279px, calc(100% - 164px));
  margin: 90px auto 0;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.site-footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 38px;
}

.site-footer p {
  margin: 0;
  color: #aaa1b7;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 39px;
}

.site-footer a {
  color: #aaa1b7;
  font-size: 12px;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 900px) and (min-width: 701px) {
  .site-header {
    width: calc(100% - 48px);
  }

  .process__inner {
    width: calc(100% - 32px);
  }

  .process-card h3 {
    font-size: 20px;
  }

  .process-card p {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  :root {
    --header-top: 24px;
  }

  .site-header {
    width: min(345px, calc(100% - 48px));
    grid-template-columns: 77px 1fr 77px;
    padding: 0 15px;
  }

  .brand {
    gap: 5px;
  }

  .brand__app-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .brand__name {
    font-size: 16px;
  }

  .language-switch {
    width: 77px;
    height: 40px;
    justify-content: center;
    padding: 4px;
  }

  .language-switch button {
    display: none;
    width: 69px;
  }

  .language-switch button:not(.is-active) {
    display: block;
  }

  .button--small {
    width: 77px;
    font-size: 12px;
  }

  .hero {
    height: max(100vh, 755px);
    height: max(100svh, 755px);
    background-image: url("assets/updated/hero-mobile-background.png");
    background-image: image-set(
      url("assets/updated/hero-mobile-background.webp") type("image/webp"),
      url("assets/updated/hero-mobile-background.png") type("image/png")
    );
  }

  .hero__orbit {
    display: none;
  }

  .hero__copy {
    top: calc(50% + 48px - min(43.257vw, 50vh));
    top: calc(50% + 48px - min(43.257vw, 50svh));
    width: calc(100% - 40px);
  }

  .eyebrow--pill {
    min-width: 235px;
    height: 40px;
    font-size: 11px;
  }

  .hero h1 {
    margin: 16px auto 22px;
    max-width: 354px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  .hero__product {
    width: 100vw;
    width: min(100vw, 115.588svh);
    height: auto;
    aspect-ratio: 393 / 340;
    max-width: none;
  }

  .benefits {
    height: 154px;
  }

  .benefit {
    padding: 0 18px;
  }

  .benefit p {
    margin-bottom: 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  .benefit h2 {
    font-size: 15px;
    line-height: 1.32;
  }

  .process__sticky {
    top: 0;
  }

  .process__inner {
    width: 329px;
    max-width: calc(100% - 64px);
  }

  .process__header {
    width: 280px;
    margin-bottom: 48px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .process__audiences {
    justify-content: center;
    gap: 16px;
    height: 28px;
    margin-top: 16px;
    overflow: visible;
    transform: none;
  }

  .process__audience {
    font-size: 28px;
  }

  .process__cards {
    height: 550px;
  }

  .process__panel {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .process-card {
    height: 178px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 24px;
    padding: 30px 24px;
    border-radius: 27px;
    text-align: left;
  }

  .process-card__icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    margin: 0;
  }

  .process-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.3;
  }

  .process-card p {
    max-width: 196px;
    font-size: 14px;
    line-height: 1.42;
  }

  .manager {
    min-height: 0;
    padding-bottom: 32px;
    overflow: visible;
    background: #08080a;
  }

  .manager__card {
    width: 329px;
    max-width: calc(100% - 64px);
    height: 472px;
    margin-top: 0;
    border-radius: 27px;
  }

  .manager__art {
    display: block;
    width: 329px;
    height: 215px;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    mix-blend-mode: lighten;
  }

  .manager__copy {
    width: 241px;
    margin: 0 auto;
    padding-top: 152px;
    text-align: center;
  }

  .manager__eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .manager h2 {
    font-size: 36px;
    line-height: 0.98;
  }

  .manager__copy > p:not(.manager__eyebrow) {
    width: 201px;
    margin: 16px auto 24px;
    font-size: 14px;
    line-height: 1.42;
  }

  .site-footer {
    position: relative;
    z-index: 0;
    width: 329px;
    max-width: calc(100% - 64px);
    margin-top: 56px;
    overflow: visible;
    background: transparent;
    text-align: center;
  }

  .site-footer__brand {
    justify-content: center;
    font-size: 22px;
  }

  .site-footer__bottom {
    display: block;
    margin-top: 48px;
  }

  .site-footer p {
    font-size: 14px;
    white-space: nowrap;
  }

  .site-footer nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
  }

  .site-footer a {
    font-size: 11px;
  }
}

@media (max-width: 370px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .hero__copy {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 29px;
  }

  .process__inner,
  .manager__card,
  .site-footer {
    max-width: calc(100% - 32px);
  }

  .process-card {
    gap: 16px;
    padding-inline: 18px;
  }

  .process-card p {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
