:root {
  color: #f4fbff;
  background: #071320;
  font-family: Inter, "Avenir Next", system-ui, sans-serif;
  scroll-behavior: smooth;
  --cyan: #4bd1e0;
  --gold: #f6dc51;
  --pink: #ff6fae;
  --green: #8ef58d;
  --ink: #071320;
  --panel: rgba(8, 20, 36, 0.84);
  --line: rgba(255, 255, 255, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(4, 10, 20, 0.78), rgba(7, 19, 32, 0.88) 42%, rgba(8, 24, 42, 0.9)),
    radial-gradient(circle at 18% 10%, rgba(75, 209, 224, 0.18), transparent 26rem),
    radial-gradient(circle at 80% 26%, rgba(255, 111, 174, 0.16), transparent 30rem),
    url("./assets/background-pattern.png") center top / cover no-repeat fixed,
    #071320;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 19, 32, 0.88), rgba(7, 19, 32, 0.54) 45%, rgba(7, 19, 32, 0.9));
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.78) 70%, transparent 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(5, 13, 24, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(75, 209, 224, 0.16);
}

.brand span {
  color: #ffffff;
}

.brand strong {
  color: var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a,
footer a {
  color: #d9f2ff;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.nav-download {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(246, 220, 81, 0.16);
  border: 1px solid rgba(246, 220, 81, 0.34);
  color: #fff3a4;
}

.home-page {
  position: relative;
}

.motion-spine {
  position: absolute;
  top: 86vh;
  bottom: 3.25rem;
  left: clamp(22px, 5vw, 72px);
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: visible;
}

.motion-spine::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -42px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.92));
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.22);
}

.motion-spine::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(246, 220, 81, 0.12);
  border: 1px solid rgba(246, 220, 81, 0.32);
}

.motion-spine span {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform-origin: top;
  background: linear-gradient(to bottom, var(--cyan), var(--pink), var(--gold));
  animation: grow-spine linear both;
  animation-timeline: scroll(root);
  animation-range: 8% 92%;
}

.scroll-arrow {
  position: sticky;
  top: 44vh;
  left: 50%;
  z-index: 3;
  width: 50px;
  height: 84px;
  margin-left: -23px;
  margin-top: -136px;
  display: grid;
  justify-items: center;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(246, 220, 81, 0.22));
  animation: arrow-follow linear both;
  animation-timeline: scroll(root);
  animation-range: 10% 90%;
}

.scroll-arrow i,
.hero-arrow i {
  display: block;
  width: 5px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--gold), var(--cyan));
}

.scroll-arrow img,
.hero-arrow img {
  width: 34px;
  height: 34px;
  margin-top: -6px;
  border-radius: 8px;
  object-fit: cover;
  background: #071320;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 5px rgba(246, 220, 81, 0.16);
}

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(46px, 7vw, 90px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #93f3ff;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 9.4rem);
  line-height: 0.84;
}

h2 {
  font-size: clamp(2.2rem, 5.6vw, 5.2rem);
  line-height: 0.9;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}

p {
  color: #cce5f5;
  line-height: 1.65;
}

.hero-copy p:not(.eyebrow),
.section-heading p {
  font-size: 1.06rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button[hidden] {
  display: none;
}

.button.primary {
  background: var(--gold);
  color: #13243a;
  box-shadow: 0 16px 38px rgba(246, 220, 81, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f4fbff;
  border: 1px solid var(--line);
}

.hero-actions,
.download-actions,
.viewport-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.studio-preview {
  overflow: hidden;
  min-height: 560px;
  border-radius: 16px;
  background: #040714;
  border: 1px solid rgba(255, 94, 168, 0.22);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48), 0 0 46px rgba(255, 94, 168, 0.12);
}

.preview-toolbar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: rgba(3, 7, 16, 0.9);
}

.preview-toolbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6b5a;
}

.preview-toolbar span:nth-child(2) {
  background: #ffc85a;
}

.preview-toolbar span:nth-child(3) {
  background: #4bd97a;
}

.preview-toolbar strong {
  margin-left: auto;
  color: #c8def2;
}

.preview-stage {
  position: relative;
  min-height: 508px;
  background:
    linear-gradient(180deg, rgba(3, 5, 12, 0.68), rgba(3, 5, 12, 0.9)),
    radial-gradient(circle at 72% 32%, rgba(255, 94, 168, 0.44), transparent 11rem),
    radial-gradient(circle at 32% 46%, rgba(75, 209, 224, 0.18), transparent 13rem),
    linear-gradient(rgba(255, 94, 168, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 209, 224, 0.08) 1px, transparent 1px),
    url("./assets/background-pattern.png") center center / cover no-repeat,
    #03050c;
  background-size: auto, auto, auto, 32px 32px, 32px 32px, cover, auto;
}

.preview-panel {
  position: absolute;
  width: min(235px, 42%);
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(4, 8, 18, 0.84);
  border: 1px solid rgba(255, 94, 168, 0.24);
  box-shadow: 0 0 26px rgba(255, 94, 168, 0.12);
  animation: float-card 5s ease-in-out infinite;
}

.preview-panel b {
  color: #ffffff;
}

.preview-panel span {
  color: #c8def2;
  font-size: 0.84rem;
}

.preview-panel i,
.preview-panel em {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--cyan));
}

.preview-panel i:nth-of-type(2) {
  width: 72%;
  background: linear-gradient(90deg, var(--pink), var(--gold));
}

.preview-panel i:nth-of-type(3) {
  width: 48%;
}

.preview-panel em {
  width: 80%;
}

.preview-panel em:nth-of-type(2) {
  width: 58%;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
}

.panel-left {
  top: 22px;
  left: 22px;
}

.panel-right {
  right: 22px;
  top: 104px;
  animation-delay: -1.8s;
}

.dummy-figure {
  position: absolute;
  right: 40%;
  bottom: 86px;
  width: 148px;
  height: 290px;
  animation: pose-bob 3.5s ease-in-out infinite;
}

.dummy-figure div {
  position: absolute;
  background: linear-gradient(180deg, #ff5ea8, #4bd1e0);
  border: 4px solid rgba(3, 7, 16, 0.5);
  box-shadow: 0 0 20px rgba(255, 94, 168, 0.26);
}

.dummy-figure .head {
  left: 39px;
  top: 0;
  width: 76px;
  height: 76px;
  border-radius: 26px;
  background: radial-gradient(circle at 34% 24%, #fff0a6, #ff5ea8 48%, #4bd1e0);
}

.dummy-figure .body {
  left: 22px;
  top: 82px;
  width: 110px;
  height: 106px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff0a6, #f6dc51 42%, #ff5ea8);
}

.dummy-figure .arm {
  top: 88px;
  width: 30px;
  height: 118px;
  border-radius: 999px;
  transform-origin: 50% 12%;
}

.dummy-figure .arm.left {
  left: -18px;
  height: 136px;
  transform: rotate(70deg);
  animation: bow-hand-left 3.5s ease-in-out infinite;
  z-index: 3;
}

.dummy-figure .arm.right {
  right: -18px;
  height: 124px;
  transform: rotate(-54deg);
  animation: bow-hand-right 3.5s ease-in-out infinite;
  z-index: 3;
}

.dummy-figure .leg {
  bottom: 0;
  width: 46px;
  height: 96px;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, #111a2d, #050813);
}

.dummy-figure .leg.left {
  left: 28px;
}

.dummy-figure .leg.right {
  right: 22px;
}

.studio-bow {
  position: absolute;
  right: calc(40% - 64px);
  bottom: 232px;
  width: 320px;
  height: 176px;
  pointer-events: none;
  animation: bow-settle 3.5s ease-in-out infinite;
}

.bow-arc {
  position: absolute;
  left: 42px;
  top: 0;
  width: 126px;
  height: 176px;
  border-right: 12px solid var(--pink);
  border-top: 12px solid var(--gold);
  border-bottom: 12px solid var(--pink);
  border-left: 0;
  border-radius: 0 125px 125px 0;
  transform: rotate(-8deg);
  box-shadow:
    0 0 0 5px rgba(3, 7, 16, 0.72) inset,
    0 0 30px rgba(255, 94, 168, 0.46),
    0 0 18px rgba(246, 220, 81, 0.22);
}

.bow-string {
  position: absolute;
  left: 46px;
  top: 24px;
  width: 4px;
  height: 126px;
  background: linear-gradient(180deg, var(--gold), var(--cyan));
  transform: rotate(8deg);
  transform-origin: center;
  box-shadow: 0 0 14px rgba(75, 209, 224, 0.5);
}

.bow-string::before,
.bow-string::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.bow-string::before {
  top: -3px;
}

.bow-string::after {
  bottom: -3px;
}

.hero-arrow {
  position: absolute;
  left: 36px;
  top: 78px;
  width: 210px;
  display: flex;
  align-items: center;
  transform: rotate(-8deg);
  transform-origin: center;
  animation: hero-arrow-shot 3.5s ease-in-out infinite;
}

.hero-arrow i {
  width: 166px;
  height: 5px;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--cyan));
  box-shadow: 0 0 16px rgba(255, 94, 168, 0.52);
}

.hero-arrow img {
  margin-top: 0;
  margin-left: -2px;
}

.camera-path {
  position: absolute;
  left: 24%;
  right: 18%;
  bottom: 198px;
  height: 110px;
  border-top: 3px dashed rgba(255, 94, 168, 0.82);
  filter: drop-shadow(0 0 7px rgba(255, 94, 168, 0.62));
  border-radius: 50%;
  transform: rotate(-8deg);
  transform-origin: left center;
  animation: dotted-trail-draw 1.8s ease both;
}

.camera-path::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -9px;
  width: 0;
  height: 0;
  border-left: 12px solid rgba(255, 255, 255, 0.9);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transform: rotate(8deg);
}

.timeline-strip {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 34px;
  border-radius: 999px;
  background: rgba(7, 22, 38, 0.8);
}

.timeline-strip::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 15px;
  width: calc(100% - 32px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--gold));
}

.timeline-strip span {
  position: absolute;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(246, 220, 81, 0.15);
  animation: key-pop 2.4s ease-in-out infinite;
}

.timeline-strip span:nth-child(1) { left: 10%; }
.timeline-strip span:nth-child(2) { left: 28%; animation-delay: 0.25s; }
.timeline-strip span:nth-child(3) { left: 50%; animation-delay: 0.5s; }
.timeline-strip span:nth-child(4) { left: 70%; animation-delay: 0.75s; }
.timeline-strip span:nth-child(5) { left: 86%; animation-delay: 1s; }

.section {
  position: relative;
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.motion-step > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.split-section,
.showcase-section,
.tutorial-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.motion-cards,
.pipeline {
  display: grid;
  gap: 16px;
}

.motion-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.pipeline-item,
.library-card,
.download-panel,
.docs-sidebar,
.doc-card {
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
}

.feature-card,
.pipeline-item,
.library-card {
  padding: clamp(20px, 3vw, 30px);
}

.feature-card span,
.library-card span,
.doc-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
}

.pipeline {
  counter-reset: step;
}

.screenshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pipeline-item {
  position: relative;
  display: grid;
  gap: 12px;
  align-items: stretch;
}

.pipeline-item::before {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  counter-increment: step;
  content: "0" counter(step);
  color: #071320;
  font-weight: 950;
  background: var(--gold);
  border-radius: 999px;
  padding: 5px 9px;
}

.pipeline-item strong {
  color: #ffffff;
  font-size: 1.1rem;
}

.pipeline-item p {
  margin: 0;
}

.screenshot-slot {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(75, 209, 224, 0.34), rgba(255, 111, 174, 0.24));
  background-size: 24px 24px, 24px 24px, auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.screenshot-slot img,
.shot-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.screenshot-slot img {
  object-fit: contain;
  padding: 8px;
}

.shot-card img {
  object-fit: cover;
}

.screenshot-slot span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.shot-stack {
  position: relative;
  min-height: 480px;
}

.shot-card {
  position: absolute;
  display: grid;
  place-items: end start;
  overflow: hidden;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(145deg, #0f91cb, #1f2a5a);
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  animation: float-card 5.5s ease-in-out infinite;
}

.shot-card span {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 950;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.48);
}

.shot-one {
  left: 8%;
  top: 6%;
  width: 190px;
  height: 338px;
  background-color: #0f91cb;
}

.shot-two {
  right: 8%;
  top: 20%;
  width: 330px;
  height: 210px;
  background-color: #5534a5;
  animation-delay: -1.6s;
}

.shot-three {
  left: 28%;
  bottom: 4%;
  width: 270px;
  height: 160px;
  background-color: #b84d87;
  animation-delay: -3s;
}

.lifetime-section .section-heading {
  max-width: 920px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.library-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(255, 94, 168, 0.08), transparent 42%),
    var(--panel);
}

.library-card h3 {
  margin-bottom: 0;
}

.library-card p {
  margin-bottom: 0;
}

.library-card .button {
  width: fit-content;
  margin-top: auto;
}

code {
  color: #fff0a6;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.tutorial-section {
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.84fr);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px solid rgba(255, 111, 174, 0.28);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 70% 34%, rgba(255, 111, 174, 0.26), transparent 17rem),
    rgba(6, 15, 29, 0.88);
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #03050c;
}

.video-frame::after {
  content: "Play";
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071320;
  font-size: 0.78rem;
  font-weight: 950;
  pointer-events: none;
  background: var(--gold);
  box-shadow: 0 0 34px rgba(246, 220, 81, 0.24);
}

.video-frame:focus-within::after,
.video-frame:hover::after {
  opacity: 0;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.video-placeholder span {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071320;
  font-weight: 950;
  background: var(--gold);
  box-shadow: 0 0 34px rgba(246, 220, 81, 0.22);
}

.video-placeholder strong {
  color: #ffffff;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.download-section {
  padding-bottom: clamp(80px, 10vw, 140px);
}

.download-panel {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 220, 81, 0.2), transparent 20rem),
    rgba(8, 20, 36, 0.88);
}

.download-panel p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.download-actions {
  justify-content: center;
  margin-top: 24px;
}

.requirements-grid {
  width: min(1100px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.requirement-card {
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
}

.requirement-card span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 950;
}

.requirement-card h3 {
  margin: 8px 0;
}

.requirement-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.purchase-page {
  min-height: calc(100vh - 67px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.purchase-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 62px);
  border-radius: 12px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 12, 25, 0.84), rgba(7, 19, 32, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(255, 111, 174, 0.28), transparent 28rem);
  border: 1px solid rgba(255, 111, 174, 0.22);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), 0 0 60px rgba(255, 111, 174, 0.1);
}

.purchase-panel h1 {
  margin-inline: auto;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.purchase-panel .download-actions {
  justify-content: center;
  margin-top: 24px;
}

.license-result {
  width: min(680px, 100%);
  margin: 24px auto 0;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.license-result[hidden] {
  display: none;
}

.license-result span {
  color: #93f3ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.license-result strong,
.license-result code {
  color: #ffffff;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  overflow-wrap: anywhere;
}

.license-result code {
  padding: 12px;
  border-radius: 8px;
  background: rgba(3, 7, 16, 0.72);
  color: #fff3a4;
}

.contact-card {
  width: min(680px, 100%);
  margin: 24px auto 0;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-card span {
  color: #93f3ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-card a {
  color: #fff3a4;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 950;
  overflow-wrap: anywhere;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 30px;
  color: #c8def2;
  border-top: 1px solid var(--line);
}

.docs-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 72px) 90px;
}

.docs-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 22px;
}

.docs-sidebar h1 {
  margin: 0 0 12px;
  font-size: 2.2rem;
  line-height: 0.95;
}

.docs-sidebar a {
  padding: 11px 12px;
  border-radius: 8px;
  color: #e6f6ff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
}

.docs-sidebar a:hover {
  background: rgba(75, 209, 224, 0.15);
}

.docs-content {
  display: grid;
  gap: 18px;
}

.doc-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
}

.doc-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 52%;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 209, 224, 0.2), transparent 68%);
}

.doc-card h2 {
  font-size: clamp(1.7rem, 4vw, 3.2rem);
}

.reveal {
  animation: reveal-up both;
  animation-timeline: view();
  animation-range: entry 8% cover 34%;
}

.motion-step::before {
  content: "";
  position: absolute;
  left: calc(clamp(22px, 5vw, 72px) - 7px);
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(246, 220, 81, 0.12);
  animation: node-pop both;
  animation-timeline: view();
  animation-range: entry 18% cover 42%;
}

.motion-step::after {
  content: "";
  position: absolute;
  z-index: 0;
  --trail-rotation: -16deg;
  left: clamp(70px, 7vw, 132px);
  top: clamp(26px, 4vw, 58px);
  width: min(44vw, 620px);
  height: clamp(120px, 18vw, 250px);
  border-top: 3px dashed rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(var(--trail-rotation)) scaleX(0);
  transform-origin: left center;
  opacity: 0;
  animation: dotted-trail-view both;
  animation-timeline: view();
  animation-range: entry 8% cover 42%;
}

.motion-step:nth-of-type(2)::after {
  --trail-rotation: -20deg;
  left: clamp(310px, 28vw, 650px);
  top: clamp(12px, 3vw, 38px);
  width: min(36vw, 520px);
}

.motion-step:nth-of-type(3)::after {
  --trail-rotation: 18deg;
  left: clamp(450px, 48vw, 960px);
  top: clamp(4px, 2vw, 28px);
  width: min(32vw, 470px);
}

.motion-step:nth-of-type(4)::after {
  --trail-rotation: 24deg;
  left: clamp(60px, 6vw, 112px);
  top: clamp(28px, 4vw, 62px);
  width: min(35vw, 520px);
}

.motion-step:nth-of-type(5)::after {
  --trail-rotation: -38deg;
  left: clamp(48px, 5vw, 96px);
  top: clamp(20px, 4vw, 58px);
  width: min(26vw, 360px);
}

.motion-step::after {
  background:
    linear-gradient(45deg, transparent calc(100% - 14px), rgba(255, 255, 255, 0.9) calc(100% - 14px) calc(100% - 8px), transparent calc(100% - 8px)),
    linear-gradient(-45deg, transparent calc(100% - 14px), rgba(255, 255, 255, 0.9) calc(100% - 14px) calc(100% - 8px), transparent calc(100% - 8px));
  background-repeat: no-repeat;
  background-size: 38px 28px, 38px 28px;
  background-position: right -7px top -15px, right -7px top -7px;
}

@keyframes reveal-up {
  from {
    opacity: 0.08;
    transform: translateY(64px) scale(0.98);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes dotted-trail-draw {
  from {
    opacity: 0;
    transform: rotate(-8deg) scaleX(0);
  }
  to {
    opacity: 1;
    transform: rotate(-8deg) scaleX(1);
  }
}

@keyframes dotted-trail-view {
  from {
    opacity: 0;
    transform: rotate(var(--trail-rotation, -16deg)) scaleX(0);
  }
  to {
    opacity: 1;
    transform: rotate(var(--trail-rotation, -16deg)) scaleX(1);
  }
}

@keyframes grow-spine {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes arrow-follow {
  from {
    opacity: 0;
    transform: translateY(-18vh) scale(0.82);
  }
  10% {
    opacity: 1;
  }
  88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 1;
    transform: translateY(5vh) scale(1);
  }
}

@keyframes node-pop {
  from {
    opacity: 0;
    transform: scale(0.25);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.2deg); }
}

@keyframes pose-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bow-settle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
}

@keyframes hero-arrow-shot {
  0% {
    opacity: 0;
    transform: translateX(-30px) rotate(-8deg) scale(0.82);
  }
  18% {
    opacity: 1;
  }
  45% {
    opacity: 1;
    transform: translateX(28px) rotate(-8deg) scale(1);
  }
  70% {
    opacity: 0;
    transform: translateX(156px) rotate(-8deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(156px) rotate(-8deg) scale(1);
  }
}

@keyframes bow-hand-left {
  0%, 100% { transform: rotate(66deg); }
  45% { transform: rotate(73deg); }
}

@keyframes bow-hand-right {
  0%, 100% { transform: rotate(-50deg); }
  45% { transform: rotate(-62deg); }
}

@keyframes key-pop {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.28); }
}

@supports not (animation-timeline: view()) {
  .reveal,
  .motion-step::before,
  .motion-step::after,
  .motion-spine span,
  .scroll-arrow {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .showcase-section,
  .tutorial-section,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .motion-cards {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
  }

  .studio-preview {
    min-height: 470px;
  }

  .preview-stage {
    min-height: 418px;
  }

  .panel-right {
    top: 94px;
  }

  .studio-bow {
    right: 12%;
    transform: scale(0.84);
    transform-origin: right center;
  }
}

@media (max-width: 660px) {
  body {
    background:
      linear-gradient(180deg, rgba(4, 10, 20, 0.8), rgba(7, 19, 32, 0.9) 42%, rgba(8, 24, 42, 0.92)),
      radial-gradient(circle at 18% 10%, rgba(75, 209, 224, 0.18), transparent 26rem),
      radial-gradient(circle at 80% 26%, rgba(255, 111, 174, 0.16), transparent 30rem),
      url("./assets/background-pattern.png") center top / cover no-repeat scroll,
      #071320;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.6rem);
  }

  .motion-spine,
  .motion-step::before,
  .motion-step::after {
    display: none;
  }

  .studio-bow {
    right: -2%;
    bottom: 220px;
    transform: scale(0.64);
  }

  .hero {
    padding-top: 34px;
  }

  .studio-preview {
    min-height: 420px;
  }

  .dummy-figure {
    right: 34%;
    transform: scale(0.82);
  }

  .preview-panel {
    width: 54%;
  }

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

  .pipeline-item p {
    grid-column: auto;
    margin: 0;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .video-placeholder span {
    width: 58px;
    height: 58px;
  }

  .shot-stack {
    min-height: 390px;
  }

  .shot-one {
    left: 0;
  }

  .shot-two {
    right: 0;
    width: 250px;
  }

  .shot-three {
    left: 14%;
  }
}
