:root {
  color-scheme: dark;
  --page: #0a0a0a;
  --surface: #111111;
  --text: #ffffff;
  --muted: #9c9c9c;
  --accent: #f5699c;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--page);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

html.is-wheel-inertia {
  scroll-behavior: auto;
}

body {
  color: var(--text);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.site-nav__button:focus-visible,
.showcase-card__action:focus-visible,
.final-cta__button:focus-visible,
button:focus-visible,
.hero__showcase:focus-visible,
.showcase__viewport:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  background: var(--accent);
  color: var(--page);
}

.site-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 100;
  display: flex;
  width: min(1440px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-nav__logo,
.site-nav__button {
  pointer-events: auto;
}

.site-nav__logo {
  color: var(--text);
  font-family: "Lily Script One", cursive;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.52px;
  line-height: 1;
  text-decoration: none;
}

.site-nav__actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.site-nav__button {
  position: relative;
  display: block;
  width: 166px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease,
    transform 340ms var(--ease-out);
}

.site-nav__button--telegram {
  width: 106px;
  border-color: transparent;
  background: transparent;
  color: var(--text);
}

.site-nav__button--primary {
  border-color: var(--text);
  background: var(--text);
  color: var(--page);
}

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

.site-nav__button--primary:hover {
  background: #f1f1f1;
}

.site-nav__button:active {
  transform: translateY(0) scale(0.96);
}

.site-nav__button-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate3d(-50%, -50%, 0);
  transition:
    opacity 760ms ease,
    filter 940ms ease,
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav__button-label--next {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(-50%, 190%, 0);
}

.site-nav__button:hover .site-nav__button-label:not(.site-nav__button-label--next),
.site-nav__button:focus-visible .site-nav__button-label:not(.site-nav__button-label--next) {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(-50%, -190%, 0);
}

.site-nav__button:hover .site-nav__button-label--next,
.site-nav__button:focus-visible .site-nav__button-label--next {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(-50%, -50%, 0);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--page);
}

.hero__layout {
  position: absolute;
  top: calc(50% + 44px);
  left: 50%;
  z-index: 4;
  display: grid;
  grid-template-columns: 340px 360px 300px;
  column-gap: 140px;
  width: 1280px;
  height: 640px;
  transform: translate(-50%, -50%);
}

.hero__intro {
  position: relative;
  z-index: 3;
  align-self: start;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero__benefits {
  display: grid;
  gap: 9px;
  margin: 36px 0 0;
  padding: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.25;
  list-style: none;
  text-transform: uppercase;
}

.hero__benefits li {
  position: relative;
  padding-left: 17px;
}

.hero__benefits li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.hero__showcase {
  position: relative;
  z-index: 4;
  width: 360px;
  height: 640px;
  border-radius: 22px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.hero__showcase.is-dragging {
  cursor: grabbing;
}

.hero__stack {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

.video-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card__media {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-card__toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: rgba(28, 25, 23, 0.78);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    opacity 150ms ease,
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 150ms ease;
}

.video-card[data-state="active"] .video-card__toggle {
  opacity: 1;
  pointer-events: auto;
}

.video-card__toggle:hover {
  background: rgba(38, 34, 31, 0.9);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-card__toggle:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.video-card__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.video-card__icon {
  display: block;
  width: 24px;
  height: 28px;
  fill: currentColor;
}

.video-card__icon--play {
  transform: translateX(2px);
}

.video-card__toggle[data-playback="playing"] .video-card__icon--play,
.video-card__toggle[data-playback="paused"] .video-card__icon--pause {
  display: none;
}

.video-card::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  content: "";
  background: var(--page);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card[data-state="active"] {
  z-index: 3;
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.hero__showcase:not(.is-dragging):hover .video-card[data-state="active"] {
  transform: scale(1.03);
}

.hero__showcase.is-dragging .video-card[data-state="active"] {
  transition: none;
}

.hero__showcase.is-dragging .video-card[data-state="active"],
.video-card.is-grabbed,
.video-card.is-settling {
  transition: none;
  will-change: transform;
}

.video-card[data-state="middle"] {
  z-index: 2;
  transform: translate3d(-40px, -8px, -40px) rotate(-3deg) scale(0.95);
  opacity: 1;
}

.video-card[data-state="middle"]::after {
  opacity: 0.24;
}

.video-card[data-state="back"] {
  z-index: 1;
  transform: translate3d(-80px, -16px, -80px) rotate(-6deg) scale(0.9);
  opacity: 1;
}

.video-card[data-state="back"]::after {
  opacity: 0.42;
}

.hero__outro {
  position: relative;
  z-index: 3;
  align-self: end;
}

.hero__outro p {
  margin: 0 0 2px;
  color: #d2d2d2;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.hero__ribbon {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__ribbon svg {
  --ribbon-base-transform: translateZ(0);

  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: var(--ribbon-base-transform);
  transform-origin: center;
}

.hero__ribbon-line {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 27px;
}

.hero__ribbon-text {
  fill: var(--page);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.workflow {
  position: relative;
  min-height: 900px;
  padding: 164px 0 190px;
  overflow: clip;
  background: var(--page);
}

.workflow__inner {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.workflow__header {
  margin-bottom: 54px;
}

.workflow__header h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.workflow__header h2 span {
  color: var(--muted);
}

.workflow__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 424px;
  padding: 30px 30px 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #0d0d0d;
}

.workflow-card h3 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.workflow-card h3 span {
  color: var(--muted);
  font-weight: 400;
}

.workflow-card__demo {
  align-self: start;
  min-width: 0;
  min-height: 192px;
  padding: 18px;
  border-radius: 20px;
  background: #151515;
}

.workflow-card__description {
  max-width: 310px;
  margin: 28px 0 0;
  color: #d2d2d2;
  font-size: 18px;
  line-height: 1.35;
}

.prompt-demo {
  height: 210px;
  min-height: 210px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 105, 156, 0.34);
  background: #121012;
}

.prompt-demo__input {
  position: relative;
  display: flex;
  flex: 0 0 145px;
  flex-direction: column;
  height: 145px;
  min-height: 0;
  padding: 6px 18px;
}

.prompt-demo__copy {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.prompt-demo__lock {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.prompt-demo__typing {
  min-width: 0;
  min-height: 65px;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.35;
}

.prompt-demo__typing [data-typing-value]::after {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  background: var(--accent);
  content: "";
  vertical-align: -0.12em;
  animation: prompt-caret 760ms steps(1, end) infinite;
}

.prompt-demo__attachment {
  width: 36px;
  height: 36px;
  margin: 0 0 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: var(--surface);
}

.prompt-demo__attachment img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prompt-demo__footer {
  display: flex;
  flex: 0 0 63px;
  height: 63px;
  min-height: 63px;
  padding: 11px 12px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #1a1719;
}

.prompt-demo__settings,
.prompt-demo__actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.prompt-control,
.prompt-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #252124;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms var(--ease-out);
}

.prompt-control {
  padding: 0 8px;
  gap: 4px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
}

.prompt-control--icon,
.prompt-action {
  width: 34px;
  padding: 0;
}

.prompt-control svg,
.prompt-action svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.prompt-control:hover {
  border-color: rgba(245, 105, 156, 0.4);
  background: rgba(245, 105, 156, 0.14);
  color: var(--text);
}

.prompt-control:active,
.prompt-action:active {
  transform: scale(0.92);
}

.prompt-action {
  border-radius: 50%;
}

.prompt-action--voice {
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
}

.prompt-action--voice:hover {
  border-color: transparent;
  background: transparent;
  color: var(--accent);
}

.prompt-action--send {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--page);
}

.prompt-action--send:hover {
  filter: brightness(1.08);
}

.workflow-card__demo.workflow-media-demo {
  position: relative;
  height: 210px;
  min-height: 210px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 105, 156, 0.34);
  background: var(--surface);
}

.workflow-media-demo img,
.workflow-media-demo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-media-demo--preview img {
  filter: blur(11px) brightness(0.68);
  transform: scale(1.08);
}

.workflow-media-demo__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.24);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: workflow-loader-spin 900ms linear infinite;
}

@keyframes workflow-loader-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes prompt-caret {
  50% {
    opacity: 0;
  }
}

.showcase {
  position: relative;
  padding: 142px 0 0;
  overflow: hidden;
  background: var(--page);
}

.showcase__heading-row {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.showcase__heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
}

.showcase__heading-row h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 2.8vw, 46px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.showcase__controls {
  display: flex;
  gap: 9px;
}

.showcase__control {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: #181818;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.showcase__control:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.18);
  background: #242424;
  transform: scale(1.04);
}

.showcase__control:disabled {
  opacity: 0.32;
  cursor: default;
}

.showcase__control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase__control[data-showcase-prev]:hover:not(:disabled) svg {
  transform: translateX(-2px);
}

.showcase__control[data-showcase-next]:hover:not(:disabled) svg {
  transform: translateX(2px);
}

.showcase__control:active:not(:disabled) {
  transform: scale(0.92);
}

.showcase__viewport {
  width: calc(100% + 12vw);
  margin-left: -12vw;
  overflow: hidden;
  user-select: none;
  cursor: grab;
}

.showcase__viewport.is-dragging {
  cursor: grabbing;
}

.showcase__track {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.showcase__viewport.is-moving .showcase__track {
  will-change: transform;
}

.showcase-card {
  --card-image-scale: 1.015;
  --card-image-flip: 1;
  position: relative;
  flex: 0 0 clamp(360px, 23.4375vw, 450px);
  margin-right: 14px;
  height: clamp(480px, 27.6042vw, 530px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 32px;
  background: #151515;
  isolation: isolate;
}

.showcase-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.showcase-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.32) 0%, transparent 23%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.34) 37%, transparent 66%);
  pointer-events: none;
}

.showcase-card__type {
  position: absolute;
  top: 32px;
  right: 32px;
  left: 32px;
  z-index: 2;
  margin: 0;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
}

.showcase-card__caption {
  position: absolute;
  right: 32px;
  bottom: 32px;
  left: 32px;
  z-index: 2;
  transform: translate3d(0, 0, 0);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .showcase-card__caption,
.showcase-card:focus-within .showcase-card__caption {
  transform: translate3d(0, -54px, 0);
}

.showcase-card__caption span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
}

.showcase-card__caption p {
  position: relative;
  max-height: 3.7em;
  margin: 0;
  overflow: hidden;
  font-size: clamp(17px, 1.2vw, 21px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
  transition: max-height 744ms cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .showcase-card__caption p,
.showcase-card:focus-within .showcase-card__caption p {
  max-height: 13em;
  -webkit-mask-image: none;
  mask-image: none;
}

.showcase-card__action {
  position: absolute;
  top: calc(100% + 12px);
  right: auto;
  left: 0;
  width: 50%;
  min-width: 168px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  cursor: pointer;
  pointer-events: none;
  transition:
    opacity 560ms ease 140ms,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 80ms,
    background 180ms ease,
    box-shadow 240ms ease;
}

.showcase-card__action::before,
.showcase-card__action::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--page);
  content: "Попробовать";
  transition:
    opacity 760ms ease,
    filter 940ms ease,
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card__action::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.showcase-card__action::after {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 190%, 0);
}

.showcase-card__action:hover::before,
.showcase-card__action:focus-visible::before {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, -190%, 0);
}

.showcase-card__action:hover::after,
.showcase-card__action:focus-visible::after {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.showcase-card:hover .showcase-card__action,
.showcase-card:focus-within .showcase-card__action {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.showcase-card:hover .showcase-card__action:hover,
.showcase-card:focus-within .showcase-card__action:hover {
  background: #f1f1f1;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  transform: translate3d(0, -2px, 0) scale(1.02);
}

.showcase-card:hover .showcase-card__action:active,
.showcase-card:focus-within .showcase-card__action:active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translate3d(0, 0, 0) scale(0.96);
}

.models {
  position: relative;
  padding: 210px 0 186px;
  overflow: hidden;
  background: var(--page);
}

.models__inner {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.models__intro h2 {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.models-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 224px 286px 216px;
  gap: 14px;
  margin-top: 58px;
}

.models-bento__card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: #151515;
  isolation: isolate;
}

.models-bento__card img,
.models-bento__card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  transition: transform 900ms var(--ease-out);
}

.models-bento__card:hover img,
.models-bento__card:hover video {
  transform: scale(1.055);
}

.models-bento__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.1) 22%, rgba(6, 6, 6, 0.82) 100%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.24), transparent 62%);
  pointer-events: none;
}

.models-bento__copy {
  position: absolute;
  top: 28px;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.models-bento__copy--bottom,
.models-bento__copy--split {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.models-bento__copy--metric {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.models-bento__copy strong {
  font-family: var(--display);
  font-size: clamp(56px, 5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.models-bento__copy h3 {
  margin: 0;
  font-size: clamp(30px, 2.35vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.models-bento__copy strong + h3 {
  margin-top: 9px;
}

.models-bento__card--count {
  grid-column: 1 / span 3;
  grid-row: 1;
}

.models-bento__card--count img {
  object-position: center;
}

.models-bento__card--space {
  grid-column: 4 / span 3;
  grid-row: 1;
}

.models-bento__card--space img {
  object-position: center;
}

.models-bento__card--kling {
  grid-column: 7 / span 6;
  grid-row: 1;
}

.models-bento__card--seedance {
  grid-column: 1 / span 6;
  grid-row: 2;
}

.models-bento__card--seedance video {
  object-position: center;
}

.models-bento__card--runway {
  grid-column: 7 / span 6;
  grid-row: 2;
}

.models-bento__card--veo {
  grid-column: 1 / span 6;
  grid-row: 3;
}

.models-bento__card--hailuo {
  grid-column: 7 / span 6;
  grid-row: 3;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 760px;
  padding: 170px 0 150px;
  overflow: hidden;
  place-items: center;
  background: var(--page);
}

.final-cta__inner {
  display: flex;
  width: min(760px, calc(100% - 48px));
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-cta__cards {
  position: relative;
  width: min(620px, 82vw);
  height: 230px;
  margin-bottom: 72px;
}

.final-cta__card {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 158px;
  height: 194px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  background: var(--surface);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
  transform-origin: 50% 110%;
  transition: transform 900ms var(--ease-out);
}

.final-cta__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta__card--one {
  z-index: 1;
  transform: translateX(-230px) translateY(28px) rotate(-13deg);
}

.final-cta__card--one img,
.final-cta__card--three img {
  object-position: center;
}

.final-cta__card--two {
  z-index: 2;
  transform: translateX(-155px) translateY(12px) rotate(-7deg);
}

.final-cta__card--two img {
  object-position: 72% center;
}

.final-cta__card--three {
  top: 0;
  z-index: 5;
  width: 172px;
  height: 216px;
  transform: translateX(-86px);
}

.final-cta__card--four {
  z-index: 2;
  transform: translateX(-3px) translateY(12px) rotate(7deg);
}

.final-cta__card--four img {
  object-position: 30% center;
}

.final-cta__card--five {
  z-index: 1;
  transform: translateX(72px) translateY(28px) rotate(13deg);
}

.final-cta__card--five img {
  object-position: 78% center;
}

@media (hover: hover) {
  .final-cta__cards:hover .final-cta__card--one {
    transform: translateX(-252px) translateY(22px) rotate(-15deg);
  }

  .final-cta__cards:hover .final-cta__card--two {
    transform: translateX(-166px) translateY(6px) rotate(-8deg);
  }

  .final-cta__cards:hover .final-cta__card--three {
    transform: translateX(-86px) translateY(-8px);
  }

  .final-cta__cards:hover .final-cta__card--four {
    transform: translateX(8px) translateY(6px) rotate(8deg);
  }

  .final-cta__cards:hover .final-cta__card--five {
    transform: translateX(94px) translateY(22px) rotate(15deg);
  }
}

.final-cta h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 3.45vw, 58px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.final-cta__button {
  position: relative;
  display: block;
  width: 190px;
  height: 52px;
  margin-top: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--page);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.08);
  transition:
    background 260ms ease,
    box-shadow 340ms ease,
    transform 340ms var(--ease-out);
}

.final-cta__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

.final-cta__button-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate3d(-50%, -50%, 0);
  transition:
    opacity 620ms ease,
    filter 760ms ease,
    transform 820ms var(--ease-out);
}

.final-cta__button-label--next {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(-50%, 150%, 0);
}

.final-cta__button:hover {
  background: #f1f1f1;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.final-cta__button:hover .final-cta__button-label:not(.final-cta__button-label--next),
.final-cta__button:focus-visible .final-cta__button-label:not(.final-cta__button-label--next) {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(-50%, -210%, 0);
}

.final-cta__button:hover .final-cta__button-label--next,
.final-cta__button:focus-visible .final-cta__button-label--next {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(-50%, -50%, 0);
}

.final-cta__button:active {
  transform: translateY(0) scale(0.96);
}

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 46px, 0);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 920ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

@media (min-width: 1700px) {
  .showcase-card {
    flex-basis: 450px;
    height: 530px;
  }
}

@media (max-width: 1380px) {
  .hero__layout {
    grid-template-columns: 310px 330px 270px;
    column-gap: 100px;
    width: 1110px;
    height: 586px;
  }

  .hero__title {
    font-size: 50px;
  }

  .hero__showcase {
    width: 330px;
    height: 586px;
  }

  .hero__outro p {
    font-size: 18px;
  }
}

@media (max-width: 1120px) {
  .hero {
    min-height: 950px;
  }

  .hero__layout {
    top: 50%;
    grid-template-columns: 300px 330px;
    grid-template-rows: auto 1fr;
    gap: 48px 100px;
    width: 730px;
    height: 720px;
  }

  .hero__showcase {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .hero__outro {
    grid-column: 1;
    align-self: end;
  }

  .hero__ribbon svg {
    width: 145%;
    --ribbon-base-transform: translateX(-18%);
  }

  .workflow__inner {
    width: min(940px, calc(100% - 48px));
  }

  .workflow-card {
    min-height: 400px;
    padding: 24px;
  }

  .workflow-card h3 {
    font-size: 23px;
  }

  .workflow-card__demo {
    padding: 14px;
  }

  .showcase__heading-row,
  .models__inner {
    width: min(1110px, calc(100% - 48px));
  }

  .models-bento {
    grid-template-rows: 210px 270px 210px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    top: 16px;
    width: calc(100% - 32px);
  }

  .site-nav__logo {
    font-size: 24px;
  }

  .site-nav__actions {
    gap: 6px;
  }

  .site-nav__button {
    width: 140px;
    height: 40px;
    padding: 0;
    font-size: 12px;
  }

  .site-nav__button--telegram {
    width: 88px;
  }

  .hero {
    min-height: auto;
    overflow: clip;
  }

  .hero__layout {
    position: relative;
    top: auto;
    left: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 64px;
    width: auto;
    height: auto;
    padding: 68px 24px 84px;
    transform: none;
  }

  .hero__title {
    font-size: clamp(42px, 13vw, 56px);
  }

  .hero__benefits {
    margin: 30px 0 0;
  }

  .hero__showcase {
    grid-column: 1;
    grid-row: auto;
    width: min(82vw, 360px);
    height: auto;
    aspect-ratio: 9 / 16;
    margin-inline: auto;
  }

  .hero__outro {
    grid-column: 1;
    max-width: 310px;
  }

  .hero__outro p {
    font-size: 18px;
  }

  .hero__ribbon {
    top: 30rem;
    right: -70%;
    bottom: auto;
    left: -60%;
    height: 42rem;
  }

  .hero__ribbon svg {
    width: 230%;
    --ribbon-base-transform: translateX(-28%) rotate(6deg);
  }

  .workflow {
    min-height: auto;
    padding: 112px 0 120px;
  }

  .workflow__inner {
    width: calc(100% - 40px);
  }

  .workflow__header {
    margin-bottom: 40px;
  }

  .workflow__header h2 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .workflow__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .workflow-card {
    min-height: 410px;
    padding: 26px 22px;
  }

  .workflow-card h3 {
    font-size: 26px;
  }

  .prompt-demo__input {
    min-height: 138px;
  }

  .prompt-demo__footer {
    padding-inline: 10px;
  }

  .prompt-control {
    min-height: 32px;
    padding-inline: 6px;
  }

  .prompt-control--icon,
  .prompt-action {
    width: 32px;
    min-height: 32px;
  }

  .prompt-demo__settings,
  .prompt-demo__actions {
    gap: 4px;
  }

  .showcase {
    padding: 106px 0 0;
  }

  .showcase__heading-row,
  .models__inner {
    width: calc(100% - 40px);
  }

  .showcase__heading-row {
    align-items: flex-end;
    margin-bottom: 34px;
  }

  .showcase__heading-row h2 {
    max-width: 220px;
    font-size: 31px;
    line-height: 1.08;
  }

  .showcase__control {
    width: 40px;
    height: 40px;
  }

  .showcase__viewport {
    width: calc(100% + 9vw);
    margin-left: -9vw;
  }

  .showcase-card {
    flex-basis: min(78vw, 340px);
    margin-right: 10px;
    height: auto;
    aspect-ratio: 0.73;
    border-radius: 20px;
  }

  .showcase-card__type {
    top: 21px;
    right: 21px;
    left: 21px;
    font-size: 16px;
    letter-spacing: -0.32px;
    line-height: 22px;
  }

  .showcase-card__caption span {
    font-size: 16px;
    letter-spacing: -0.32px;
    line-height: 22px;
  }

  .showcase-card__caption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .showcase-card__caption p {
    font-size: 17px;
  }

  .models {
    padding: 118px 0 124px;
  }

  .models__intro h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .models-bento {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 180px 240px 290px 240px 240px 180px;
    gap: 10px;
    margin-top: 40px;
  }

  .models-bento__card {
    border-radius: 21px;
  }

  .models-bento__copy {
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .models-bento__copy strong {
    font-size: clamp(46px, 15vw, 64px);
  }

  .models-bento__copy h3 {
    font-size: 28px;
  }

  .models-bento__card--count {
    grid-column: 1;
    grid-row: 1;
  }

  .models-bento__card--space {
    grid-column: 2;
    grid-row: 1;
  }

  .models-bento__card--kling {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .models-bento__card--seedance {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .models-bento__card--runway {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .models-bento__card--veo {
    grid-column: 1 / -1;
    grid-row: 5;
  }

  .models-bento__card--hailuo {
    grid-column: 1 / -1;
    grid-row: 6;
  }

  .final-cta {
    min-height: 650px;
    padding: 120px 0 110px;
  }

  .final-cta__cards {
    width: 350px;
    height: 172px;
    margin-bottom: 46px;
  }

  .final-cta__card {
    top: 18px;
    width: 108px;
    height: 142px;
    border-radius: 18px;
  }

  .final-cta__card--one {
    transform: translateX(-162px) translateY(20px) rotate(-13deg);
  }

  .final-cta__card--two {
    transform: translateX(-112px) translateY(8px) rotate(-7deg);
  }

  .final-cta__card--three {
    top: 0;
    width: 120px;
    height: 162px;
    transform: translateX(-60px);
  }

  .final-cta__card--four {
    transform: translateX(4px) translateY(8px) rotate(7deg);
  }

  .final-cta__card--five {
    transform: translateX(54px) translateY(20px) rotate(13deg);
  }

  .final-cta h2 {
    max-width: 350px;
    font-size: clamp(34px, 10vw, 44px);
  }

  .final-cta__actions {
    margin-top: 26px;
  }

  .final-cta__button {
    margin-top: 0;
  }
}

@media (max-width: 340px) {
  .prompt-demo__footer {
    padding-inline: 6px;
    gap: 4px;
  }

  .prompt-control {
    min-height: 28px;
    padding-inline: 4px;
    font-size: 8px;
  }

  .prompt-control--icon,
  .prompt-action {
    width: 28px;
    min-height: 28px;
  }

  .prompt-demo__settings,
  .prompt-demo__actions {
    gap: 2px;
  }
}
