:root {
  --bg: #f8f6f0;
  --ink: #292232;
  --muted: #736d7b;
  --violet: #7952b9;
  --accent: #7952b9;
  --soft: #eee8f5;
  --line: #dcd7df;
  --card: #fffefb;
  --radius: 20px;
  --radius-control: 12px;
  --chrome: #e9e2f2;
}
.brand {
  font-size: 31px;
}
.brand-dot {
  color: var(--violet);
}
.brand img {
  display: none;
}
.site-header {
  top: 12px;
  width: 88%;
  max-width: 1040px;
  margin: 12px auto 0;
  background: var(--chrome);
  border: 0;
  border-radius: 18px;
}
.site-header .header-inner {
  width: 100%;
  padding-inline: 24px;
}
.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.language-switcher-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 66px;
  height: 42px;
  padding: 0 11px;
  color: var(--ink);
  background: color-mix(in srgb, var(--card) 38%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  border-radius: 11px;
  font: 600 12px var(--font-ui);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.language-switcher-trigger svg {
  width: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 160ms ease;
}
.language-switcher-trigger:hover,
.language-switcher-trigger[aria-expanded="true"] {
  background: var(--card);
  border-color: color-mix(in srgb, var(--ink) 42%, transparent);
}
.language-switcher-trigger[aria-expanded="true"] {
  box-shadow: 0 10px 28px rgba(41, 34, 50, 0.12);
}
.language-switcher-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.language-switcher-trigger:focus-visible,
.language-menu button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  width: 184px;
  padding: 7px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(41, 34, 50, 0.16);
  transform-origin: top right;
  animation: language-menu-in 160ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.language-menu[hidden] {
  display: none;
}
.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: 500 13px var(--font-ui);
  text-align: left;
  cursor: pointer;
}
.language-menu button:hover,
.language-menu button[aria-selected="true"] {
  background: var(--soft);
}
.language-menu button[aria-selected="true"] span {
  color: var(--violet);
  font-weight: 650;
}
.language-menu small {
  color: var(--muted);
  font: 600 10px var(--font-ui);
}
@keyframes language-menu-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .language-menu {
    animation: none;
  }
}
.btn,
.menu-toggle,
.platforms button {
  border-radius: var(--radius-control);
}
.studio-hero {
  padding: 36px 0 28px;
}
.studio-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.studio-hero-top .eyebrow {
  margin: 0;
}
.edition {
  font: 10px var(--font-ui);
  color: var(--muted);
  letter-spacing: normal;
}
.studio-headline {
  position: relative;
  padding-bottom: 16px;
}
.studio-headline h1 {
  font-size: clamp(62px, 7.8vw, 112px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 500;
}
.serif-word {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.065em;
  color: var(--violet);
}
.asterisk {
  position: absolute;
  right: 20px;
  top: 0;
  font-size: 145px;
  line-height: 1.4;
  color: var(--violet);
  transform: rotate(12deg);
}
.motion-enabled .asterisk {
  rotate: var(--scroll-turn, 0deg);
}
.studio-hero-bottom {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 36px;
  align-items: center;
  padding-top: 18px;
  min-height: 310px;
}
.studio-hero .hero-copy {
  align-self: start;
  padding-top: 44px;
}
.studio-hero .lead {
  font-size: 17px;
  max-width: 400px;
  margin: 0;
}
.studio-hero .actions {
  margin-top: 18px;
}
.studio-collage {
  position: relative;
  height: 350px;
  width: 100%;
  max-width: 550px;
  justify-self: end;
  isolation: isolate;
}
.paper-message {
  position: absolute;
  left: 0;
  top: 6px;
  background: #fffaf0;
  border: 1px solid #e8dfd2;
  border-radius: 21px 21px 22px 24px;
  box-shadow:
    inset 0 0 28px #8f765508,
    0 18px 34px #493b2d12,
    0 3px 8px #493b2d0c;
  padding: 20px 26px 21px;
  width: min(300px, 76%);
  transform: rotate(-4deg);
  z-index: 2;
}
.paper-message::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 36px;
  height: 36px;
  border-top-right-radius: 20px;
  background: linear-gradient(
    225deg,
    var(--bg) 0 48%,
    #d7ccbb 49% 51%,
    #f3eadb 52% 72%,
    transparent 73%
  );
  filter: drop-shadow(-2px 3px 2px #4d3c2914);
  pointer-events: none;
}
.paper-message > span {
  font: 9px var(--font-ui);
  letter-spacing: normal;
  color: var(--muted);
}
.paper-message p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.4;
  margin: 12px 0;
}
.paper-message small {
  display: block;
  position: relative;
  padding-top: 13px;
  font: 9px var(--font-ui);
  color: var(--violet);
}
.paper-message small::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 1px;
  background: #ddd4c7;
}
.card-flow-arrow {
  position: absolute;
  left: calc(100% - 365px);
  top: 46%;
  width: 82px;
  height: 68px;
  overflow: visible;
  z-index: 1;
  color: var(--violet);
  transform: rotate(-2deg);
  pointer-events: none;
}
.card-flow-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.paper-task {
  position: absolute;
  bottom: 5px;
  right: 6px;
  transform: rotate(3deg);
  width: 290px;
  padding: 22px 21px 20px;
  background: #eee5f8;
  border: 1px solid #d4c1ea;
  border-radius: 22px 20px 24px 21px;
  box-shadow:
    inset 0 0 28px #6a479808,
    0 20px 38px #4f37671a,
    4px 5px 0 #ded0ee;
  z-index: 3;
}
.task-paperclip {
  position: absolute;
  top: -15px;
  right: 26px;
  width: 14px;
  height: 43px;
  border: 3px solid #7750b4;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: 1px 2px 3px #49326422;
  transform: rotate(12deg);
  z-index: 2;
}
.task-paperclip::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 3px;
  width: 5px;
  height: 32px;
  border: 2px solid #a987d5;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}
.paper-task .task-caption {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 10px;
}
.paper-task h3 {
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
  margin: 14px 0 18px;
}
.paper-task > div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #cdbbe1;
  padding-top: 13px;
  font: 13px var(--font-ui);
}
.typing-mascot {
  position: absolute;
  right: 8px;
  top: -14px;
  width: 148px;
  height: 148px;
  object-fit: contain;
  z-index: 4;
}
.collage-caption {
  position: absolute;
  left: 4px;
  bottom: 27px;
  font: 11px var(--font-ui);
  transform: rotate(-5deg);
  color: var(--violet);
  max-width: 140px;
}
.paper-message [data-source] {
  white-space: nowrap;
}
.task-details > div {
  display: grid;
  gap: 6px;
}
.task-details small {
  font-size: 9px;
  color: var(--muted);
}
.typing-mascot {
  overflow: visible;
  pointer-events: none;
}
.mascot-head {
  transform-origin: 195px 242px;
}
.mascot-hand-left {
  transform-origin: 151px 257px;
}
.mascot-hand-right {
  transform-origin: 278px 241px;
}
.studio-ribbon {
  background: var(--violet);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 23px 20px;
  font: 11px var(--font-ui);
  letter-spacing: normal;
  flex-wrap: wrap;
}
.studio-ribbon b {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.video-showcase {
  padding-block: clamp(84px, 10vw, 132px);
  color: #fffefb;
  background: #1e172a;
}
.video-showcase-inner {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
}
.video-showcase-heading {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}
.video-showcase-heading h2 {
  font-size: clamp(48px, 6.3vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.video-showcase-heading p {
  max-width: 680px;
  margin: 28px auto 0;
  color: #bdb4c9;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  text-wrap: balance;
}
.video-showcase-player {
  width: min(100%, 1060px);
  margin-inline: auto;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #bea3e145;
  border-radius: 28px;
  background: #281f36;
  box-shadow: 0 40px 110px -54px #9a63e3a8;
}
.video-showcase-player video,
.video-showcase-preview,
.video-showcase-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.video-showcase-player video[hidden] {
  display: none;
}
.video-showcase-preview[hidden] {
  display: none;
}
.video-showcase-player video,
.video-showcase-preview {
  overflow: hidden;
  border-radius: 19px;
  background: #21172f;
}
.video-showcase-preview {
  position: relative;
  padding: 0;
  border: 0;
  color: #fff;
}
.video-showcase-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0e08180a;
  transition: background 180ms ease;
}
.video-showcase-preview:hover::after {
  background: #0e081824;
}
.video-showcase-preview:focus-visible {
  outline: 3px solid #c4a2ff;
  outline-offset: -6px;
}
.video-showcase-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(62px, 7vw, 86px);
  height: clamp(62px, 7vw, 86px);
  place-items: center;
  border: 1px solid #ffffffb8;
  border-radius: 50%;
  background: #211430bd;
  box-shadow: 0 18px 42px #0c061657;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
  backdrop-filter: blur(10px);
}
.video-showcase-play i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid currentColor;
}
.video-showcase-preview:hover .video-showcase-play {
  background: #6b40b9e8;
  transform: translate(-50%, -50%) scale(1.05);
}
.studio-story h2 {
  font-size: clamp(38px, 4.4vw, 62px);
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 52px;
}
.before-after article {
  border-radius: var(--radius);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.before {
  background: #ebe7e1;
  border: 1px solid #dcd5d0;
}
.after {
  background: #e7ddf2;
  border: 1px solid #cfbce6;
}
.before-after h3 {
  font-size: 33px;
  line-height: 1.12;
  margin: 16px 0 12px;
}
.before-after p {
  max-width: 400px;
  font-size: 14px;
}
.scribble {
  margin-top: 25px;
  color: #918796;
  font: 11px var(--font-ui);
  transform: rotate(-2deg);
}
.after-checks {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  font: 11px var(--font-ui);
  color: #6a3fb5;
}
.features-section {
  background: #fffefb;
  border-block: 1px solid var(--line);
}
.tour {
  grid-template-columns: 0.8fr 1.5fr;
  gap: 50px;
}
.tour-buttons {
  gap: 0;
}
.tour-button {
  border-radius: var(--radius-control);
  border-bottom: 1px solid var(--line);
  padding: 24px 10px;
}
.tour-button[aria-pressed="true"] {
  background: transparent;
  border-color: transparent;
  border-bottom: 2px solid var(--violet);
}
.tour-button[aria-pressed="true"] strong {
  color: var(--violet);
}
.window {
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 #eee8f5;
}
.tour img {
  aspect-ratio: 950/570;
  object-fit: contain;
  background: white;
}
.feature-extras {
  border-radius: var(--radius);
  overflow: hidden;
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 55px;
}
.feature-extras article {
  border: 0;
  padding: 30px;
}
.feature-extras article + article {
  border-left: 1px solid var(--line);
}
.feature-icon {
  border-radius: var(--radius-control);
  background: var(--soft);
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  text-align: center;
  padding: 3px;
}
.download-panel {
  border-radius: 28px;
  background: #7952b9;
  color: #fffefb;
  border: 0;
  overflow: visible;
  position: relative;
}
.download-panel h2 {
  font-size: clamp(42px, 4.9vw, 68px);
}
.download-panel h2 em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #e1d3f0;
}
.download-panel .eyebrow,
.download-panel > p {
  color: #e8dff4;
}
.download-panel .btn {
  background: #fffefb;
  color: #6742a0;
}
.download-panel .platforms button {
  color: #e8dff4;
  border-color: #b293d6;
  background: transparent;
}
.download-panel .platforms button[aria-pressed="true"] {
  background: #ffffff1c;
  border-color: #fffefb;
  color: white;
}
.about-section {
  padding-top: 35px;
}
.about-title {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.07;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: 0 0 48px;
}
.about-grid h3 {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.about-photo img {
  filter: saturate(0.65);
  border-radius: var(--radius);
}
.about-photo {
  position: relative;
}
.about-photo:before {
  content: "";
  position: absolute;
  top: -13px;
  left: 45%;
  width: 90px;
  height: 28px;
  background: #d1b9ed99;
  border-radius: 6px;
  transform: rotate(-5deg);
}
.metrics strong {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 46px;
}
.faq-section {
  background: #eeeae3;
  border-top: 1px solid var(--line);
}
.footer {
  background: var(--chrome);
}
.footer .brand {
  font-size: 42px;
}
.footer-bottom {
  padding-bottom: 16px;
}
@media (max-width: 1000px) {
  .asterisk {
    font-size: 105px;
    right: 0;
  }
  .studio-hero-bottom {
    gap: 25px;
  }
  .paper-message {
    width: 245px;
  }
  .paper-task {
    width: 250px;
  }
  .card-flow-arrow {
    left: calc(100% - 330px);
  }
  .typing-mascot {
    width: 135px;
    height: 135px;
  }
  .collage-caption {
    max-width: 100px;
    font-size: 10px;
  }
  .studio-ribbon {
    gap: 20px;
  }
  .tour {
    gap: 25px;
  }
  .before-after article {
    padding: 32px;
  }
}
@media (max-width: 760px) {
  .site-header {
    top: 8px;
    width: calc(100% - 32px);
    margin-top: 8px;
    border-radius: 16px;
  }
  .site-header .header-inner {
    padding-inline: 12px;
    gap: 8px;
  }
  .language-switcher {
    margin-left: auto;
  }
  .language-switcher-trigger {
    width: 62px;
    height: 38px;
  }
  .language-menu {
    right: -46px;
  }
  .site-header .header-cta {
    display: none;
  }
  .site-header .site-nav {
    top: calc(100% + 8px);
    background: var(--chrome);
    border: 0;
    border-radius: 16px;
  }
  .studio-hero {
    padding-top: 28px;
  }
  .edition {
    display: none;
  }
  .studio-hero-top {
    margin-bottom: 28px;
  }
  .studio-headline h1 {
    font-size: clamp(45px, 10.8vw, 78px);
    position: relative;
    z-index: 1;
  }
  .asterisk {
    font-size: 58px;
    right: 0;
    top: -35px;
    opacity: 0.65;
  }
  .studio-hero-bottom {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 18px;
  }
  .studio-hero .hero-copy {
    padding-top: 0;
  }
  .studio-hero .lead {
    max-width: none;
  }
  .studio-collage {
    height: 400px;
    max-width: 430px;
    width: 100%;
    margin: auto;
  }
  .paper-message {
    width: 245px;
    top: 55px;
  }
  .paper-task {
    width: 245px;
    bottom: 10px;
    right: 0;
  }
  html[lang="uz"] .paper-task h3 {
    font-size: 17px;
  }
  .card-flow-arrow {
    left: calc(100% - 320px);
    top: 48%;
    width: 72px;
    height: 60px;
  }
  .typing-mascot {
    width: 110px;
    height: 110px;
    right: 0;
    top: -35px;
  }
  .collage-caption {
    bottom: 26px;
    width: 95px;
    font-size: 10px;
  }
  .studio-ribbon {
    gap: 16px;
    font-size: 9px;
    padding: 16px 18px;
  }
  .studio-ribbon span:last-child,
  .studio-ribbon b:last-of-type {
    display: none;
  }
  .studio-ribbon b {
    font-size: 18px;
  }
  .video-showcase {
    padding-block: 76px;
  }
  .video-showcase-inner {
    gap: 42px;
  }
  .video-showcase-heading h2 {
    font-size: 42px;
  }
  .video-showcase-heading p {
    margin-top: 20px;
    font-size: 16px;
  }
  .video-showcase-player {
    padding: 5px;
    border-radius: 17px;
  }
  .video-showcase-player video,
  .video-showcase-preview {
    border-radius: 12px;
  }
  .before-after {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  .before-after article {
    padding: 28px;
  }
  .before-after h3 {
    font-size: 29px;
  }
  .tour {
    grid-template-columns: 1fr;
  }
  .tour-button {
    padding: 15px 8px;
  }
  .feature-extras article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .download-panel .eyebrow {
    font-size: 9px;
  }
  .download-panel h2 {
    font-size: 39px;
  }
  .about-section {
    padding-top: 12px;
  }
  .metrics strong {
    font-size: 38px;
  }
}
