:root {
  --blue: #00a8ff;
  --blue-soft: #7bd8ff;
  --amber: #ff9a00;
  --green: #34d399;
  --black: #060708;
  --deep: #0b1116;
  --panel: rgba(17, 24, 32, 0.72);
  --panel-strong: rgba(20, 31, 42, 0.9);
  --border: rgba(255, 255, 255, 0.12);
  --muted: #8996a3;
  --text: #f7fbff;
  --soft: #c5d2dc;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 4%, rgba(255, 154, 0, 0.16), transparent 28rem),
    radial-gradient(circle at 18% 8%, rgba(0, 168, 255, 0.18), transparent 32rem),
    linear-gradient(180deg, #060708 0%, #081018 52%, #060708 100%);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

:where(a, button, input, select, textarea, summary, [tabindex]):focus {
  outline: none;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: linear-gradient(180deg, rgba(6, 7, 8, 0.88), rgba(6, 7, 8, 0.5));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 138px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 168, 255, 0.22));
}

.brand span,
.nav-links a,
.site-footer a,
.site-footer span,
.site-footer small {
  color: var(--soft);
  font-size: 13px;
}

body.home-visual .brand span,
body.manual-light .brand span,
body.legal-page .brand span {
  transform: translateY(9px);
}

body.home-visual .brand,
body.manual-light .brand,
body.legal-page .brand {
  gap: 10px;
}

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

.nav-links a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: #ffffff;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(0, 168, 255, 0.36);
  border-radius: 999px;
  background: rgba(0, 168, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 168, 255, 0.05);
}

.mobile-nav-cta {
  display: none;
}

.mobile-break {
  display: none;
}

@media (min-width: 981px) {
  .mobile-nav-cta {
    display: none !important;
  }
}

.hero {
  position: relative;
  min-height: min(100vh, 860px);
  padding: 142px 0 64px;
  overflow: hidden;
}

.cinema-bg,
.cinema-bg span {
  position: absolute;
  pointer-events: none;
}

.cinema-bg {
  inset: 0;
}

.cinema-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(6, 7, 8, 0.82) 88%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.06), transparent 36rem);
}

.frame-grid {
  inset: 0;
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.scanline {
  inset: 0;
  opacity: 0.08;
  background: repeating-linear-gradient(180deg, transparent 0 12px, rgba(255, 255, 255, 0.24) 13px);
}

.v-beam {
  top: -10%;
  width: 4px;
  height: 74%;
  border-radius: 999px;
  transform-origin: top;
  filter: blur(0.4px);
  animation: beamFloat 9s ease-in-out infinite;
}

.beam-blue {
  left: 42%;
  transform: rotate(16deg);
  background: linear-gradient(180deg, rgba(0, 168, 255, 0.98), rgba(0, 168, 255, 0.24), transparent);
  box-shadow: 0 0 42px rgba(0, 168, 255, 0.64);
}

.beam-amber {
  right: 42%;
  transform: rotate(-16deg);
  background: linear-gradient(180deg, rgba(255, 154, 0, 0.96), rgba(255, 154, 0, 0.23), transparent);
  box-shadow: 0 0 42px rgba(255, 154, 0, 0.44);
  animation-delay: 1.5s;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue-soft);
  font-size: 13px;
  letter-spacing: 0;
}

.eyebrow {
  padding: 9px 13px;
  border: 1px solid rgba(0, 168, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 168, 255, 0.08);
}

.eyebrow span,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(255, 154, 0, 0.9);
}

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

h1,
h2 {
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.38;
}


h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.22;
}

.keep-together {
  white-space: nowrap;
}

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

p {
  color: var(--soft);
  line-height: 1.74;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: #dbe9f3;
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-wecom-button {
  cursor: default;
}

.contact-wecom-button:focus-visible {
  box-shadow: none;
}

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

.button.primary {
  color: #061018;
  background: linear-gradient(135deg, #ffffff 0%, #78d8ff 55%, #ffb74a 130%);
  box-shadow: 0 18px 48px rgba(0, 168, 255, 0.25);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.contact-popover-trigger {
  position: relative;
  display: inline-flex;
}

.contact-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  z-index: 40;
  width: 172px;
  padding: 12px;
  border: 1px solid rgba(184, 226, 255, 0.2);
  border-radius: 16px;
  background: rgba(4, 9, 13, 0.97);
  box-shadow:
    0 54px 150px rgba(0, 0, 0, 0.92),
    0 28px 82px rgba(0, 0, 0, 0.78),
    0 8px 30px rgba(0, 0, 0, 0.64),
    0 0 62px rgba(0, 168, 255, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(18px);
}

.contact-popover::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(184, 226, 255, 0.2);
  border-bottom: 1px solid rgba(184, 226, 255, 0.2);
  background: rgba(4, 9, 13, 0.97);
  transform: translateX(-50%) rotate(45deg);
}

.contact-popover-trigger:hover .contact-popover,
.contact-popover-trigger:focus-within .contact-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.contact-popover img {
  display: block;
  width: 100%;
  height: auto;
  padding: 6px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.contact-popover span {
  display: block;
  margin-top: 8px;
  color: #d8e4ec;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.phase-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}


.section-heading {
  width: min(840px, 100%);
  margin-bottom: 36px;
}

.section-heading > p:last-child,
.cta-panel p {
  font-size: 18px;
}

.exploration-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.exploration-grid article {
  position: relative;
  min-height: 190px;
  padding: 26px 24px;
  border-color: rgba(123, 216, 255, 0.15);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(5, 10, 15, 0.66);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.exploration-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 18%, rgba(0, 168, 255, 0.16), transparent 8rem),
    linear-gradient(135deg, rgba(255, 154, 0, 0.08), transparent 46%);
  opacity: 0.78;
}

.exploration-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 216, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(8, 18, 26, 0.82);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.exploration-grid article h3,
.exploration-grid article p {
  position: relative;
  z-index: 1;
}

.exploration-grid article h3 {
  font-size: 21px;
}

.exploration-grid article p {
  margin-bottom: 0;
  color: rgba(197, 210, 220, 0.86);
  font-size: 14px;
  line-height: 1.66;
}

.cta-section {
  padding: clamp(26px, 2.2vw, 32px) 0 clamp(44px, 4vw, 56px);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 154, 0, 0.22), transparent 24rem),
    radial-gradient(circle at 14% 10%, rgba(0, 168, 255, 0.24), transparent 28rem),
    rgba(255, 255, 255, 0.06);
}

.cta-panel h2 {
  max-width: 760px;
  line-height: 1.42;
}

.cta-panel p {
  max-width: 720px;
}

.site-footer {
  padding: 52px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.6fr) repeat(3, minmax(120px, 1fr));
  gap: 28px;
}

.footer-grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-logo {
  width: 132px;
  margin-bottom: 14px;
}

.footer-company-info small {
  display: block;
  margin-bottom: 4px;
  color: rgba(197, 210, 220, 0.62);
  font-size: 11px;
  line-height: 1.5;
}

.footer-company-info a {
  margin: 0;
  color: inherit;
  font-size: inherit;
  white-space: nowrap;
}

.footer-icp-line {
  white-space: nowrap;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 10px;
}

.site-footer .footer-company-info a {
  display: inline;
  margin-bottom: 0;
}

.site-footer small {
  display: block;
}

.site-footer strong {
  color: #ffffff;
}

.footer-contact {
  align-self: start;
}

.footer-qr {
  width: 96px;
  padding: 6px;
  margin-top: 0;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.footer-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.site-footer .footer-qr-note {
  color: #d8e4ec;
  font-size: 12px;
}

body.manual-light > .site-footer {
  background: #05080c;
}

.subpage {
  min-height: 100vh;
}

.document-page {
  padding: 132px 0 80px;
}

.doc-shell {
  max-width: none;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 0%, rgba(0, 168, 255, 0.08), transparent 24rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.legal-doc {
  max-width: none;
}

.doc-shell h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.legal-doc h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.16;
}

.legal-doc h2 {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
}

.legal-doc h3 {
  margin-top: 28px;
  color: #ffffff;
  font-size: 18px;
}

.legal-doc p,
.legal-doc li,
.legal-doc td,
.legal-doc th {
  color: #c5d2dc;
  font-size: 15px;
  line-height: 1.82;
}

.legal-doc p {
  margin-bottom: 12px;
}

.legal-doc ul,
.legal-doc ol {
  margin: 12px 0 18px;
  padding-left: 1.3em;
}

.legal-doc li {
  margin: 6px 0;
}

.legal-doc blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(0, 168, 255, 0.08);
}

.legal-doc code {
  color: #ffffff;
  font-family: inherit;
}

.table-wrap {
  width: 100%;
  margin: 18px 0 24px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.legal-doc table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.legal-doc th,
.legal-doc td {
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.legal-doc th {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.legal-doc tr:last-child td {
  border-bottom: 0;
}

.doc-lead {
  max-width: 760px;
  font-size: 18px;
}

@keyframes beamFloat {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .nav {
    min-height: 88px;
    align-items: center;
    padding: 16px 0;
    flex-direction: row;
    gap: 14px;
  }

  .brand span {
    display: none;
  }

  .home-visual .nav-links,
  .manual-light .nav-links {
    display: none;
  }

  .home-visual .mobile-nav-cta,
  .manual-light .mobile-nav-cta {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(0, 168, 255, 0.42);
    border-radius: 999px;
    color: var(--soft);
    background: rgba(0, 168, 255, 0.1);
    box-shadow:
      inset 0 0 20px rgba(0, 168, 255, 0.05),
      0 12px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  .hero {
    padding-top: 126px;
  }

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

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

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

@media (max-width: 640px) {
  .container,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .brand-logo {
    width: 120px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .nav-cta {
    padding: 8px 10px;
  }

  .home-visual .nav,
  .manual-light .nav {
    width: min(100% - 28px, 1180px);
  }

  .home-visual .mobile-nav-cta,
  .manual-light .mobile-nav-cta {
    font-size: 13px;
  }

  .mobile-break {
    display: block;
  }

  .home-visual .section-heading p {
    margin-bottom: 22px;
  }

  .hero {
    padding: 158px 0 70px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  .exploration-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .exploration-grid article {
    min-height: 168px;
  }

  .button {
    width: 100%;
  }

  .contact-popover-trigger {
    width: 100%;
  }

  .contact-popover {
    left: auto;
    right: 0;
    transform: translateY(-8px);
  }

  .contact-popover-trigger:hover .contact-popover,
  .contact-popover-trigger:focus-within .contact-popover {
    transform: translateY(0);
  }
}


/* Home visual production version */
body.home-visual {
  position: relative;
  overflow-x: hidden;
  background: #020508;
  isolation: isolate;
}

body.home-visual::before,
body.home-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.home-visual::before {
  z-index: 0;
  bottom: auto;
  height: min(100vh, 900px);
  background-image: image-set(
    url("./assets/optimized/hero-world-camera-scan-bg.webp") 1x,
    url("./assets/optimized/hero-world-camera-scan-bg-2x.webp") 2x
  );
  background-position: calc(50% + 150px) top;
  background-size: max(1360px, 100vw) auto;
  background-repeat: no-repeat;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 22%, #000 46%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 22%, #000 46%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
}

body.home-visual::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 5, 8, 0.98) 0%, rgba(2, 5, 8, 0.84) 31%, rgba(2, 5, 8, 0.42) 58%, rgba(2, 5, 8, 0.48) 100%),
    linear-gradient(180deg, rgba(2, 5, 8, 0.04) 0%, rgba(2, 5, 8, 0.14) 48%, rgba(2, 5, 8, 0.9) 100%),
    radial-gradient(circle at 18% 10%, rgba(0, 168, 255, 0.1), transparent 34rem),
    radial-gradient(circle at 78% 22%, rgba(255, 154, 0, 0.09), transparent 30rem);
  opacity: 0.96;
}

body.home-visual > main,
body.home-visual > .site-footer {
  position: relative;
  z-index: 2;
}

.home-visual .site-header {
  position: fixed;
  z-index: 30;
  background: linear-gradient(180deg, rgba(2, 5, 8, 0.88), rgba(2, 5, 8, 0.42));
}

.home-visual .hero {
  min-height: min(100vh, 880px);
  padding-top: 142px;
  background: transparent;
}

.home-visual .cinema-bg {
  display: none;
}

.home-visual .cinema-bg::after {
  background:
    linear-gradient(180deg, rgba(2, 5, 8, 0.08) 0%, rgba(2, 5, 8, 0.48) 96%),
    radial-gradient(circle at 72% 24%, rgba(123, 216, 255, 0.08), transparent 34rem);
}

@media (min-width: 1600px) {
  body.home-visual::before {
    height: 860px;
    background-image: image-set(
      url("./assets/optimized/hero-world-camera-scan-bg-hq.webp") 1x,
      url("./assets/optimized/hero-world-camera-scan-bg-2x.webp") 2x
    );
    background-position: calc(50% + 32px) top;
    background-size: 1672px auto;
  }

  .home-visual .hero {
    min-height: 820px;
    padding-bottom: 34px;
  }
}

@media (max-width: 1080px) {
  body.home-visual::before {
    height: min(100vh, 820px);
    background-position: calc(50% + 190px) top;
    background-size: max(1180px, 120vw) auto;
  }
}

@media (max-width: 920px) {
  body.home-visual::before {
    height: 720px;
    background-position: 58% top;
    background-size: auto 720px;
    opacity: 0.66;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 58%, transparent 100%);
  }

  body.home-visual::after {
    background:
      linear-gradient(90deg, rgba(2, 5, 8, 0.94) 0%, rgba(2, 5, 8, 0.86) 52%, rgba(2, 5, 8, 0.58) 100%),
      linear-gradient(180deg, rgba(2, 5, 8, 0.18) 0%, rgba(2, 5, 8, 0.18) 42%, rgba(2, 5, 8, 0.94) 100%);
  }

  .home-visual .hero {
    min-height: auto;
    padding-top: 144px;
    padding-bottom: 56px;
  }

  .home-visual .hero-grid {
    display: block;
  }
}

@media (max-width: 640px) {
  .home-visual .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 42px;
  }
}


/* Product flow screen foundation */
.product-scroll {
  --screen-bg: #050505;
  --studio-bg: #030303;
  --studio-panel: #161619;
  --studio-panel-2: #1f1f23;
  --studio-border: rgba(255, 255, 255, 0.1);
  --studio-border-strong: rgba(255, 255, 255, 0.18);
  --studio-text: #f2f2f2;
  --studio-muted: rgba(255, 255, 255, 0.58);
  --studio-soft: rgba(255, 255, 255, 0.76);
  position: relative;
  height: 520vh;
  margin-top: -2px;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 154, 0, 0.12), transparent 32rem),
    radial-gradient(circle at 16% 22%, rgba(0, 168, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #050607 0%, #030303 24%, #050607 100%);
}
.product-scroll-sticky {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 82px 24px 18px;
}

.product-scroll-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(ellipse at 50% 48%, #000 0%, #000 46%, transparent 78%);
}
.product-showcase {
  --showcase-progress: 0;
  position: relative;
  z-index: 2;
  width: min(1600px, calc(100vw - 48px));
  height: min(900px, calc(100vh - 100px));
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at calc(12% + var(--showcase-progress) * 76%) 10%, rgba(0, 168, 255, 0.18), transparent 24rem),
    radial-gradient(circle at calc(90% - var(--showcase-progress) * 48%) 90%, rgba(255, 154, 0, 0.12), transparent 26rem),
    #030303;
  box-shadow:
    0 44px 140px rgba(0, 0, 0, 0.62),
    0 0 80px rgba(0, 168, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  isolation: isolate;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto;
  z-index: 10;
  height: 230px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(123, 216, 255, 0.22), rgba(255, 154, 0, 0.18), transparent);
  filter: blur(18px);
  transform: translateX(calc((var(--showcase-progress) - 0.5) * 24%)) rotate(-7deg);
  mix-blend-mode: screen;
}

.product-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 57%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 12%, transparent 84%, rgba(0, 0, 0, 0.24));
  opacity: 0.32;
  transform: translateX(calc((var(--showcase-progress) * 2 - 1) * 42%));
  transition: transform 420ms ease;
}
.product-screen {
  position: absolute;
  inset: 0;
  color: var(--studio-text);
  background: var(--screen-bg);
  opacity: 0;
  transform: translate3d(0, 52px, 0) scale(0.965);
  filter: blur(12px);
  pointer-events: none;
  transition:
    opacity 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 520ms ease;
}

.product-screen button {
  font: inherit;
}


.intent-card {
  position: absolute;
  left: 3.2%;
  right: 3.2%;
  top: 4.2%;
  height: 28%;
  min-height: 180px;
  padding: clamp(18px, 2.2vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 82%, rgba(255, 255, 255, 0.055), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
    #17171a;
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.intent-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  padding: 0.75px;
  border-radius: inherit;
  background:
    conic-gradient(
      from var(--intent-border-angle, 0deg),
      transparent 0deg,
      transparent 258deg,
      rgba(255, 255, 255, 0.035) 272deg,
      rgba(128, 203, 255, 0.34) 288deg,
      rgba(255, 255, 255, 0.48) 298deg,
      rgba(255, 181, 92, 0.2) 310deg,
      transparent 324deg,
      transparent 360deg
    );
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: intentBorderSweep 5200ms linear infinite;
}

.intent-card p {
  position: relative;
  z-index: 3;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(17px, 1.42vw, 23px);
  line-height: 1.24;
}

.intent-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.72em;
}

.intent-prompt.is-typed-prompt {
  display: block;
}

.intent-prompt.is-retyping {
  opacity: 0.42;
}

.intent-prompt.is-typed-prompt .type-char {
  opacity: 0;
}

.intent-prompt.is-typed-prompt .type-char.is-visible {
  opacity: 1;
}

.intent-prompt strong,
.intent-prompt .type-char.is-highlight {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

@keyframes intentHighlightBreath {
  0%,
  100% {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.16);
  }
}

.intent-actions {
  position: absolute;
  left: clamp(18px, 2.2vw, 32px);
  bottom: clamp(12px, 1.4vw, 18px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 0.94vw, 16px);
}

.intent-actions i {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.16);
}

.intent-actions button,
.submit-orb {
  display: grid;
  place-items: center;
  border: 0;
}

.intent-actions button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #ffffff;
  background: #0d0d0f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.submit-orb {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 2.4vw, 38px);
  bottom: clamp(13px, 1.4vw, 19px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

@property --intent-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes intentBorderSweep {
  to {
    --intent-border-angle: 360deg;
  }
}

.submit-orb svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paperclip-icon,
.file-icon,
.row-icon,
.save-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.paperclip-icon {
  width: 26px;
  height: 26px;
  color: rgba(205, 207, 219, 0.74);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(1px);
}

.file-icon {
  width: 18px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 3px;
}

.file-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.4);
}

.project-settings-ui {
  position: absolute;
  left: 3.2%;
  right: 3.2%;
  top: 24.8%;
  bottom: 3.2%;
  display: grid;
  grid-template-rows: 78px 98px 58px 62px minmax(108px, 1fr);
  gap: clamp(7px, 0.9vw, 12px);
}

.setting-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto 1fr;
  gap: 5px 10px;
}

.setting-row label {
  align-self: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(12px, 0.96vw, 16px);
  font-weight: 700;
}

.row-icon {
  width: 20px;
  height: 20px;
  margin-top: 6px;
  opacity: 0.68;
}

.edit-icon {
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transform: rotate(-45deg);
}

.document-icon,
.ratio-icon,
.clock-icon,
.palette-icon {
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 4px;
}

.clock-icon {
  border-radius: 50%;
}

.palette-icon {
  border-radius: 50%;
}

.save-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.input-shell,
.textarea-shell {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  color: #ffffff;
  background: #151517;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: clamp(14px, 1.05vw, 18px);
}

.textarea-shell {
  align-items: flex-start;
  min-height: 72px;
  padding-top: 14px;
  font-size: clamp(13px, 0.96vw, 16px);
  line-height: 1.55;
}

.ratio-row,
.duration-row,
.style-row {
  grid-template-rows: auto auto;
}

.ratio-pills,
.duration-ui,
.style-cards {
  grid-column: 1 / -1;
}

.ratio-pills,
.duration-ui {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ratio-pills span,
.duration-ui em,
.number-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.48);
  background: #242429;
  font-size: clamp(10px, 0.82vw, 14px);
  font-style: normal;
  font-weight: 800;
}

.ratio-pills .active,
.duration-ui .active,
.number-box {
  color: #ffffff;
  background: #3c3c42;
}

.number-box {
  min-width: 56px;
  border-radius: 13px;
  background: #19191d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  font-size: clamp(14px, 1.05vw, 18px);
}

.duration-ui b {
  color: #ffffff;
  font-size: clamp(12px, 0.9vw, 16px);
}

.style-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 80px;
  gap: 12px;
  align-items: stretch;
}

.style-cards article {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #18181c;
}

.style-cards article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.4), transparent 44%);
}

.style-cards article.active {
  border-color: rgba(255, 255, 255, 0.32);
}

.style-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.style-cards strong {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  color: #ffffff;
  font-size: clamp(12px, 0.95vw, 16px);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.72);
}

.enter-button {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: #f2f2f2;
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(255, 255, 255, 0.16);
}

/* Shared studio chrome */
.studio-screen {
  display: grid;
  grid-template-columns: 15.6% 56.2% 28.2%;
  grid-template-rows: 70px 1fr;
  background: #030303;
}

.studio-topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.studio-topbar.floating {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  border-bottom-color: transparent;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.66), transparent);
}

.studio-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.studio-brand img {
  width: 34px;
  height: auto;
}

.studio-brand strong {
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 18px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-tabs {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  background: #242429;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.studio-tabs span {
  display: inline-flex;
  min-height: 40px;
  padding: 0 clamp(13px, 1.2vw, 22px);
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(12px, 0.98vw, 17px);
  font-weight: 900;
}

.studio-tabs .active {
  color: #ffffff;
  background: #3a3a40;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 22px rgba(0, 0, 0, 0.34);
}

.user-glow {
  position: relative;
  justify-self: end;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 50%;
  background: #050506;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 18px rgba(0, 0, 0, 0.46);
}

.user-glow::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: url("./assets/img/avatar-heitan.png") center 48% / 112% 112% no-repeat;
}

.studio-directory {
  grid-column: 1;
  grid-row: 2;
  padding: 34px 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #070707;
  overflow: hidden;
}

.studio-directory > strong,
.studio-directory section b {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(12px, 1vw, 16px);
}

.studio-directory section {
  display: grid;
  margin-top: 34px;
  padding-left: 24px;
  gap: 18px;
}

.studio-directory span {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(12px, 0.92vw, 15px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-agent {
  grid-column: 3;
  grid-row: 2;
  position: relative;
  display: flex;
  min-width: 0;
  padding: 22px;
  flex-direction: column;
  gap: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: #1c1c1f;
}

.studio-agent header {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 16px;
}

.studio-agent header strong {
  margin-right: auto;
  color: #ffffff;
  font-size: clamp(13px, 1.08vw, 18px);
}

.studio-agent header span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 5px;
}

.task-toast {
  display: flex;
  min-height: 52px;
  padding: 0 18px;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  color: #ffffff;
  background: #34343a;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  font-size: clamp(12px, 1vw, 17px);
  font-weight: 900;
}

.task-toast em {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.58);
  font-style: normal;
  font-weight: 800;
}

.agent-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #19191d;
}

.agent-card.compact {
  align-self: flex-end;
  width: min(74%, 320px);
  padding: 20px;
}

.agent-card.compact strong {
  display: block;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(12px, 1vw, 17px);
  line-height: 1.5;
}

.agent-card.compact p,
.agent-card.compact span {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(10px, 0.8vw, 13px);
}

.agent-card.compact span {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: #0d0d0f;
}

.agent-card.black {
  padding: 22px;
  background: #070707;
}

.agent-card.black b,
.agent-card.black strong,
.agent-card.black p {
  display: block;
}

.agent-card.black b {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(10px, 0.8vw, 13px);
}

.agent-card.black strong {
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(14px, 1.12vw, 19px);
}

.agent-card.black p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(11px, 0.92vw, 15px);
  line-height: 1.72;
}

.agent-card.black div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.agent-card.black span span {
  display: inline-flex;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: #27272c;
  font-size: clamp(10px, 0.8vw, 13px);
  font-weight: 900;
}

.studio-agent > button {
  align-self: flex-end;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 18px;
  color: #ffffff;
  background: #242429;
  font-weight: 900;
}


.agent-input {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  min-height: 76px;
  padding: 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.48);
  background: #141417;
  font-size: clamp(11px, 0.96vw, 16px);
}

.agent-input span {
  position: absolute;
  left: 18px;
  bottom: 12px;
  display: inline-flex;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 9px;
  color: #ffffff;
  background: #27272c;
  font-size: 12px;
}

.agent-input i {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #3a3a42;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(0, 0, 0, 0.28);
  font-style: normal;
}

.agent-input i svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Asset generation screen */
.asset-board {
  grid-column: 2;
  grid-row: 2;
  padding: 36px 24px 44px;
  overflow: hidden;
  background: #030303;
}

.asset-section + .asset-section {
  margin-top: 32px;
}

.asset-section-head {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 10px;
}

.asset-section-head strong {
  color: #ffffff;
  font-size: clamp(14px, 1.15vw, 20px);
}

.asset-section-head span {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 900;
}

.asset-section-head i {
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.58);
  border-top: 2px solid rgba(255, 255, 255, 0.58);
  transform: rotate(45deg);
}

.asset-board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 20px;
  margin-bottom: 24px;
  align-items: end;
}

.asset-board-head h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1.16;
}

.asset-type-tabs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(11px, 0.92vw, 15px);
  font-weight: 800;
}

.asset-type-tabs span {
  position: relative;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.asset-type-tabs span.active {
  color: #ffffff;
}

.asset-type-tabs span.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.asset-type-tabs b {
  display: inline-flex;
  min-width: 22px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: #303036;
  font-size: 11px;
}

.asset-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.asset-actions button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: #17171b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: clamp(11px, 0.85vw, 14px);
  font-weight: 800;
}

.asset-actions button:nth-child(3) {
  color: #111111;
  background: #f2f2f2;
}

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

.asset-cards article {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: #131318;
}

.asset-cards article::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  left: 1px;
  z-index: 2;
  height: calc(48% - 1px);
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.asset-cards strong {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 34px;
  z-index: 3;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(13px, 1.04vw, 18px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-cards strong em {
  display: inline-flex;
  min-height: 22px;
  margin-left: 6px;
  padding: 0 8px;
  align-items: center;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72em;
  font-style: normal;
  font-weight: 800;
  vertical-align: 1px;
}

.asset-cards small {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  z-index: 3;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(10px, 0.78vw, 13px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-thumb {
  position: absolute;
  inset: 16px;
  display: block;
  border-radius: 12px;
  background:
    radial-gradient(circle at 48% 36%, rgba(255, 255, 255, 0.5), transparent 14%),
    radial-gradient(circle at 50% 56%, rgba(0, 168, 255, 0.24), transparent 28%),
    rgba(255, 255, 255, 0.03);
  opacity: 0.96;
}

.asset-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.new-asset {
  display: grid;
  place-items: center;
  border-style: dashed !important;
}

.new-asset b {
  position: absolute;
  top: 36%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  background: #2e2e34;
  font-size: 34px;
  font-weight: 300;
}

.new-asset::after {
  display: none;
}

/* Canvas and timeline screens */
.canvas-edit-screen,
.timeline-preview-screen {
  grid-template-columns: 0 72.2% 27.8%;
  grid-template-rows: 70px 1fr 118px;
}

.canvas-edit-screen .studio-topbar {
  grid-column: 1 / -1;
}

.canvas-tools {
  position: absolute;
  left: 22px;
  top: 44%;
  z-index: 8;
  display: grid;
  width: 56px;
  padding: 8px 0 16px;
  place-items: center;
  gap: 18px;
  border-radius: 999px;
  background: #1d1d22;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 22px 44px rgba(0, 0, 0, 0.36);
  transform: translateY(-50%);
}

.canvas-tools button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #151515;
  background: #f2f2f2;
  font-size: 30px;
  line-height: 0;
  place-items: center;
}

.canvas-tools button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: rgba(24, 24, 26, 0.74);
  stroke-linecap: round;
  stroke-width: 2.25;
}

.canvas-tools span,
.canvas-tools i {
  width: 21px;
  height: 21px;
  opacity: 0.56;
}

.canvas-tools span {
  border: 2px solid #ffffff;
  border-radius: 4px;
}

.canvas-tools i {
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.work-canvas,
.preview-canvas {
  grid-column: 1 / 3;
  grid-row: 2;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 52%, rgba(255, 255, 255, 0.035), transparent 28rem),
    radial-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px) 0 0 / 18px 18px,
    #030303;
}

.work-canvas::before,
.preview-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 38% 60%, rgba(0, 168, 255, 0.08), transparent 24rem),
    radial-gradient(circle at 70% 30%, rgba(255, 154, 0, 0.05), transparent 24rem);
}

.curve,
.preview-curve {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  transform-origin: right center;
}

.curve-a {
  left: 21%;
  top: 28%;
  width: 42%;
  transform: rotate(13deg);
}

.curve-b {
  left: 21%;
  top: 40%;
  width: 43%;
}

.curve-c {
  left: 21%;
  top: 52%;
  width: 43%;
  transform: rotate(-12deg);
}

.curve-d {
  left: 21%;
  top: 64%;
  width: 43%;
  transform: rotate(-17deg);
}

.curve-e {
  left: 21%;
  top: 76%;
  width: 43%;
  transform: rotate(-22deg);
}

.canvas-link-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.canvas-link-lines path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.canvas-link-base path {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.55;
}

.canvas-link-base path:nth-child(1),
.canvas-link-base path:nth-child(5) {
  stroke: rgba(255, 255, 255, 0.13);
}

.canvas-link-lights {
  mix-blend-mode: screen;
  pointer-events: none;
}

.canvas-link-light {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.canvas-link-light-halo,
.canvas-link-light-core {
  transform-box: fill-box;
  transform-origin: center;
}

.canvas-link-light-halo {
  fill: url("#canvas-link-light-halo");
  filter:
    blur(1.55px)
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.1))
    drop-shadow(0 0 15px rgba(148, 211, 255, 0.06));
}

.canvas-link-light-core {
  fill: url("#canvas-link-light-core");
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.26))
    drop-shadow(0 0 8px rgba(177, 223, 255, 0.1));
}

.node {
  position: absolute;
  z-index: 2;
  border-radius: 12px;
}

.node small,
.final-video-node small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(10px, 0.78vw, 13px);
}

.script-node-real {
  left: 13%;
  top: 14%;
  width: 260px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #151518;
}

.script-node-real p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(10px, 0.78vw, 13px);
  line-height: 1.6;
}

.asset-node-real {
  left: 13%;
  width: 260px;
}

.character-node-real {
  top: 32%;
}

.prop-node-real {
  top: 48%;
}

.scene-node-real {
  top: 64%;
}

.detail-node-real {
  top: 80%;
}

.asset-node-real i,
.canvas-node-image {
  display: block;
  height: 130px;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
}

.canvas-node-image {
  width: 100%;
  object-fit: cover;
  object-position: center;
}


.video-node-real {
  right: 18%;
  top: 34%;
  display: grid;
  width: 148px;
  height: 260px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #161619;
}

.video-node-real i {
  width: 28px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

.video-node-real small {
  position: absolute;
  left: 0;
  top: -28px;
  width: 220px;
}

.fold-button {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  min-height: 38px;
  padding: 0 18px;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: #27272c;
  font-weight: 900;
  transform: translateX(-50%);
}

.fold-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.45;
}

.clip-timeline-dock {
  position: absolute;
  left: 18px;
  right: 28.2%;
  bottom: 16px;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) repeat(4, minmax(160px, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 20px;
  background: #17171b;
  box-shadow:
    0 -22px 64px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.clip-timeline-dock article {
  min-height: 94px;
  padding: 16px;
  border-radius: 10px;
  background: #101014;
}

.clip-timeline-dock article.active {
  background: #4a4a4f;
}

.clip-timeline-dock article.done {
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.42);
}

.clip-timeline-dock b,
.clip-timeline-dock strong,
.clip-timeline-dock span {
  display: block;
}

.clip-timeline-dock b {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(11px, 0.85vw, 14px);
}

.clip-timeline-dock strong {
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(12px, 0.95vw, 16px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clip-timeline-dock span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(10px, 0.82vw, 13px);
}

.timeline-preview-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
}

.timeline-preview-card i {
  grid-row: span 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #202026;
}

.timeline-preview-card i svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.88);
  stroke-linejoin: round;
  stroke-width: 2.35;
  transform: translateX(1px);
}


/* Timeline preview screen */
.timeline-preview-screen {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 122px;
  background:
    radial-gradient(rgba(255, 255, 255, 0.33) 1px, transparent 1px) 0 0 / 18px 18px,
    #030303;
}

.timeline-preview-screen .canvas-tools {
  top: 52%;
}

.timeline-preview-screen .clip-timeline-dock {
  right: 18px;
}

.preview-canvas {
  grid-column: 1;
  grid-row: 1;
  inset: 0;
  background:
    radial-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px) 0 0 / 18px 18px,
    #030303;
}

.preview-curve.a {
  left: -4%;
  top: 22%;
  width: 47%;
  transform: rotate(62deg);
}

.preview-curve.b {
  left: -3%;
  top: 40%;
  width: 48%;
  transform: rotate(14deg);
}

.preview-curve.c {
  left: -2%;
  top: 64%;
  width: 48%;
  transform: rotate(-18deg);
}

.final-video-node {
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(300px, 20%);
  transform: translate(-50%, -50%);
}

.symbolic-video-cover {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 16px;
  background: #20242a;
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.timeline-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-config-card {
  position: absolute;
  right: 9%;
  top: 24%;
  z-index: 5;
  width: min(300px, 23vw);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(26, 26, 30, 0.9);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.video-config-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-size: clamp(11px, 0.86vw, 14px);
}

.video-config-card header strong {
  min-height: 34px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 700;
}

.video-config-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-size: clamp(12px, 0.9vw, 15px);
}

.video-config-meter span {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.video-config-meter span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 78%;
  border-radius: inherit;
  background: #ffffff;
}

.video-config-meter span::after {
  content: "";
  position: absolute;
  left: 74%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateY(-50%);
}

.video-config-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.video-config-options span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(10px, 0.74vw, 12px);
  white-space: nowrap;
}


.symbolic-video-cover em {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-flex;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  color: #83f39e;
  background: rgba(28, 81, 41, 0.9);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.timeline-preview-screen .studio-topbar button {
  justify-self: end;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: #1e1e22;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .product-scroll-sticky {
    padding-inline: 14px;
  }

  .product-showcase {
    width: calc(100vw - 28px);
    height: min(760px, calc(100vh - 116px));
    min-height: 560px;
    border-radius: 24px;
  }

  .project-settings-ui {
    grid-template-rows: 86px minmax(104px, 1fr) 82px 90px minmax(120px, 1.1fr);
  }

  .intent-card {
    height: 18%;
  }

  .project-settings-ui {
    top: 26%;
  }

  .asset-cards article {
    min-height: 176px;
  }

  .asset-board {
    padding: 26px 18px 36px;
  }

  .studio-agent {
    padding: 16px;
  }

  .clip-timeline-dock {
    right: 28.2%;
    grid-template-columns: minmax(130px, 0.7fr) repeat(4, minmax(120px, 1fr));
  }
}

@media (max-width: 760px) {
  .product-scroll {
    height: 500vh;
  }

  .product-scroll-sticky {
    padding: 88px 14px 28px;
    align-items: start;
  }

  .product-showcase {
    width: calc(100vw - 28px);
    height: calc(100vh - 122px);
    min-height: 620px;
    border-radius: 22px;
  }

  .intent-card {
    top: 2.5%;
    height: 18%;
    min-height: 120px;
  }

  .intent-card p {
    font-size: 18px;
  }

  .intent-actions {
    gap: 10px;
    font-size: 14px;
  }

  .intent-actions button {
    width: 42px;
    height: 42px;
  }

  .submit-orb {
    width: 48px;
    height: 48px;
  }

  .project-settings-ui {
    top: 23%;
    grid-template-rows: 82px 116px 102px 112px 1fr;
    gap: 10px;
  }

  .setting-row {
    grid-template-columns: 26px 1fr;
    gap: 7px 8px;
  }

  .setting-row label {
    font-size: 13px;
  }

  .input-shell,
  .textarea-shell {
    min-height: 54px;
    padding-inline: 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .textarea-shell {
    min-height: 78px;
    padding-top: 13px;
    font-size: 13px;
  }

  .ratio-pills span,
  .duration-ui em,
  .number-box {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .number-box {
    min-width: 48px;
    border-radius: 12px;
    font-size: 14px;
  }

  .duration-ui {
    gap: 7px;
  }

  .style-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .style-cards article {
    min-height: 74px;
  }

  .style-cards strong {
    left: 10px;
    bottom: 9px;
    font-size: 12px;
  }

  .enter-button {
    min-height: 42px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .studio-screen,
  .canvas-edit-screen {
    grid-template-columns: 1fr;
    grid-template-rows: 58px 1fr 104px;
  }

  .studio-topbar {
    min-height: 58px;
    padding: 0 12px;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .studio-brand strong {
    display: none;
  }

  .studio-tabs {
    justify-self: center;
  }

  .studio-tabs span {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .user-glow {
    width: 30px;
    height: 30px;
  }

  .studio-directory,
  .studio-agent {
    display: none;
  }

  .asset-board {
    grid-column: 1;
    grid-row: 2 / -1;
    padding: 20px 14px 18px;
    overflow: hidden;
  }

  .asset-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .asset-cards article {
    min-height: 136px;
  }

  .asset-section + .asset-section {
    margin-top: 18px;
  }

  .work-canvas,
  .preview-canvas {
    grid-column: 1;
    grid-row: 2;
  }

  .canvas-tools {
    left: 12px;
    width: 46px;
  }

  .canvas-tools button {
    width: 34px;
    height: 34px;
  }

  .script-node-real {
    left: 22%;
    top: 12%;
    width: 190px;
  }

  .asset-node-real {
    left: 22%;
    width: 190px;
  }

  .asset-node-real i,
  .canvas-node-image {
    height: 96px;
  }

  .video-node-real {
    right: 8%;
    width: 112px;
    height: 196px;
  }

  .clip-timeline-dock {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 112px repeat(4, 132px);
    overflow: hidden;
  }

  .clip-timeline-dock article {
    min-height: 78px;
    padding: 11px;
  }

  .final-video-node {
    width: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-screen,
  .product-showcase::after,
}

html,
body.home-visual {
  overflow-x: visible;
}

/* Product flow section layout */
html,
body.home-visual {
  overflow-x: hidden;
}

.product-scroll {
  height: auto;
  margin-top: -2px;
  padding: 0;
  background: #050607;
}

.product-scroll *,
.product-scroll *::before,
.product-scroll *::after {
  animation: none !important;
  transition: none !important;
}

.product-scroll .intent-card::before {
  animation: intentBorderSweep 5200ms linear infinite !important;
}

.product-scroll .intent-prompt.is-typed-prompt {
  transition: opacity 260ms ease !important;
}

.product-scroll .intent-prompt.is-retyping {
  opacity: 0.42 !important;
}

.product-scroll .intent-prompt.is-type-complete .type-char.is-highlight {
  animation: intentHighlightBreath 2600ms ease-in-out infinite !important;
}

.product-scroll-sticky {
  position: relative;
  top: auto;
  display: block;
  height: auto;
  min-height: 0;
  max-width: 1720px;
  margin: 0 auto;
  overflow: visible;
  padding: 0 24px;
}

.product-scroll-sticky::before,
.product-showcase::before,
.product-showcase::after {
  display: none !important;
}

.product-showcase {
  position: relative;
  width: min(1600px, 100%);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: auto;
}

.flow-module {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(42px, 4.6vw, 68px) 0 clamp(72px, 8vw, 118px);
  overflow: hidden;
  background: var(--flow-module-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.flow-module::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: 0;
  background: var(--flow-module-glow);
}

.flow-module + .flow-module::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  z-index: 0;
  height: clamp(48px, 5.8vw, 82px);
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 28%, rgba(0, 0, 0, 0.12) 56%, transparent 100%),
    radial-gradient(ellipse at 42% 44%, rgba(0, 168, 255, 0.07), transparent 62%),
    radial-gradient(ellipse at 70% 36%, rgba(255, 154, 0, 0.055), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px);
}

.flow-module + .flow-module {
  border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.flow-module-intent {
  --flow-module-bg: #050607;
  --flow-module-glow:
    radial-gradient(circle at 14% 10%, rgba(0, 168, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 86% 92%, rgba(255, 154, 0, 0.07), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 52%);
  padding-bottom: clamp(34px, 3.8vw, 52px);
}

.flow-module-project {
  --flow-module-bg: #071018;
  --flow-module-glow:
    radial-gradient(circle at 84% 16%, rgba(123, 216, 255, 0.12), transparent 36rem),
    radial-gradient(circle at 18% 88%, rgba(255, 154, 0, 0.06), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 58%);
  padding-bottom: clamp(30px, 3.6vw, 50px);
}

.flow-module-assets {
  --flow-module-bg: #05080a;
  --flow-module-glow:
    radial-gradient(circle at 18% 18%, rgba(255, 154, 0, 0.09), transparent 30rem),
    radial-gradient(circle at 88% 74%, rgba(0, 168, 255, 0.1), transparent 34rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 50%);
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(42px, 4.6vw, 64px);
}

.flow-module-video {
  --flow-module-bg: #080706;
  --flow-module-glow:
    radial-gradient(circle at 82% 12%, rgba(255, 154, 0, 0.11), transparent 34rem),
    radial-gradient(circle at 16% 88%, rgba(0, 168, 255, 0.09), transparent 32rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 56%);
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(34px, 3.8vw, 54px);
}

.flow-module-exploration {
  --flow-module-bg: #05080a;
  --flow-module-glow:
    radial-gradient(circle at 16% 16%, rgba(0, 168, 255, 0.1), transparent 34rem),
    radial-gradient(circle at 82% 72%, rgba(255, 154, 0, 0.075), transparent 32rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 54%);
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(32px, 3.4vw, 48px);
}

.flow-module > .flow-module-heading {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 40px));
  margin-inline: auto;
}

.flow-module > .product-screen,
.flow-module > .flow-capabilities-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 40px));
  margin-inline: auto;
}

.flow-capabilities-panel .exploration-grid {
  column-gap: clamp(14px, 1.25vw, 18px);
  row-gap: clamp(28px, 2.4vw, 34px);
}

.flow-capabilities-panel .exploration-grid article {
  min-height: clamp(178px, 13.2vw, 206px);
  padding: clamp(24px, 2vw, 30px) clamp(22px, 2vw, 28px);
  border-color: rgba(123, 216, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(5, 10, 15, 0.68);
}

.flow-module-heading {
  position: relative;
  z-index: 3;
  width: min(840px, 100%);
  margin: 0 0 32px;
}

.flow-module-heading h2 {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.44;
  color: rgba(235, 247, 255, 0.82);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.84) 0%, rgba(146, 222, 255, 0.72) 62%, rgba(255, 255, 255, 0.62) 112%);
  background-clip: text;
  opacity: 0.88;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flow-module-heading > p:last-child {
  max-width: min(1120px, 100%);
  font-size: 18px;
}

@media (min-width: 761px) {
  .flow-module-heading > p:last-child {
    white-space: nowrap;
  }
}

.flow-module-heading + .product-screen {
  margin-top: 0;
}

.product-screen {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: min(900px, calc(100vh - 118px));
  min-height: 620px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  box-shadow:
    0 46px 140px rgba(0, 0, 0, 0.64),
    0 0 80px rgba(0, 168, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  pointer-events: auto;
  scroll-margin-top: 24px;
}

.product-screen + .product-screen {
  margin-top: clamp(42px, 5.4vw, 86px);
}

@media (max-width: 1180px) {
  .product-scroll {
    padding: 0;
  }

  .product-scroll-sticky {
    padding-inline: 14px;
  }

  .product-showcase {
    width: 100%;
  }

  .flow-module-heading {
    margin-bottom: 28px;
  }

  .product-screen {
    width: 100%;
    height: min(760px, calc(100vh - 116px));
    min-height: 560px;
    border-radius: 24px;
  }
}

@media (max-width: 760px) {
  .product-scroll {
    height: auto;
    padding: 0;
  }

  .product-scroll-sticky {
    padding: 0 14px;
  }

  .product-showcase {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .flow-module-heading {
    margin-bottom: 20px;
  }

  .flow-module {
    padding: 38px 0 58px;
  }

  .flow-module > .flow-module-heading,
  .flow-module > .product-screen,
  .flow-module > .flow-capabilities-panel {
    width: calc(100vw - 28px);
  }

  .flow-module-heading h2 {
    font-size: 30px;
    line-height: 1.32;
  }

  .flow-module-heading > p:last-child {
    font-size: 15px;
  }

  .product-screen {
    width: 100%;
    height: calc(100vh - 122px);
    min-height: 620px;
    border-radius: 22px;
    scroll-margin-top: 12px;
  }

  .product-screen + .product-screen {
    margin-top: 42px;
  }
}

/* Product screen sizing */
@media (min-width: 761px) {
  body.home-visual {
    --studio-screen-height: clamp(660px, calc((100vw - 40px) * 0.56), 680px);
  }

  .product-screen {
    height: clamp(700px, calc((100vw - 48px) * 0.527), 860px);
    min-height: 700px;
  }

  .studio-screen {
    height: var(--studio-screen-height);
    min-height: 660px;
  }
}

.product-screen {
  scroll-margin-top: 100px;
}

.intent-card {
  left: 2.1%;
  right: 2.1%;
  top: 3%;
  height: 30%;
  min-height: 190px;
  padding: clamp(22px, 2.15vw, 36px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 84%, rgba(255, 255, 255, 0.058), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.018)),
    #17171a;
}

.intent-card p {
  font-size: clamp(20px, 1.55vw, 28px);
  letter-spacing: 0;
}

.intent-actions {
  left: clamp(22px, 2.15vw, 36px);
  bottom: clamp(18px, 1.75vw, 28px);
  gap: 18px;
  font-size: clamp(14px, 1.06vw, 18px);
}

.submit-orb {
  right: clamp(24px, 2.15vw, 36px);
  bottom: clamp(16px, 1.65vw, 26px);
  width: 54px;
  height: 54px;
}

.project-settings-ui {
  left: 2.1%;
  right: 2.1%;
  top: 25.4%;
  bottom: 3%;
  grid-template-rows: 74px 102px 66px 60px minmax(118px, 1fr);
  gap: clamp(9px, 0.88vw, 13px);
}

.setting-row {
  grid-template-columns: 34px 1fr;
  gap: 7px 12px;
}

.setting-row label {
  font-size: clamp(13px, 1.02vw, 18px);
}

.input-shell,
.textarea-shell {
  min-height: 54px;
  padding-inline: 20px;
  border-radius: 16px;
  background: #151517;
}

.textarea-shell {
  min-height: 82px;
}

.ratio-pills,
.duration-ui {
  gap: 10px;
}

.ratio-pills span,
.duration-ui em,
.number-box {
  min-height: 40px;
  padding: 0 16px;
  font-size: clamp(11px, 0.9vw, 15px);
}

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

.style-cards article {
  min-height: 132px;
  border-radius: 14px;
  background: #141416;
}


.enter-button {
  right: 2px;
  min-height: 54px;
  padding: 0 28px;
  font-size: clamp(13px, 0.98vw, 16px);
}

.studio-screen {
  display: grid;
  grid-template-columns: 16% minmax(0, 56%) 28%;
  grid-template-rows: 72px minmax(0, 1fr);
}

.studio-topbar {
  min-height: 72px;
  padding: 0 26px;
}

.studio-tabs {
  padding: 5px;
  gap: 4px;
}

.studio-tabs span {
  min-height: 42px;
  padding-inline: clamp(14px, 1.28vw, 23px);
  font-size: clamp(12px, 0.95vw, 16px);
}

.studio-directory {
  padding: 30px 18px 24px;
  background: #060606;
}

.studio-directory section {
  margin-top: 30px;
  padding-left: 22px;
  gap: 17px;
}

.studio-agent {
  padding: 18px;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 38%),
    #1c1c1f;
}

.task-toast {
  min-height: 50px;
  border-radius: 15px;
  background: #34343a;
}

.agent-card.compact {
  width: min(70%, 300px);
  padding: 18px;
}

.agent-card.black {
  padding: 20px;
  border-radius: 18px;
}

.studio-agent > button {
  min-height: 50px;
  border-radius: 16px;
}

.agent-input {
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 72px;
}

.asset-board {
  padding: 32px 22px 38px;
}

.asset-section + .asset-section {
  margin-top: 28px;
}

.asset-section-head {
  margin-bottom: 18px;
}

.asset-cards {
  gap: 14px;
}

.asset-cards article {
  min-height: clamp(166px, 12.4vw, 214px);
  border-radius: 10px;
  background: #141418;
}

.asset-cards strong {
  left: 14px;
  right: 14px;
  bottom: 14px;
}

.asset-thumb {
  inset: 0;
  border-radius: 0;
}

.asset-thumb::before,
.asset-thumb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}


.canvas-edit-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 72px minmax(0, 1fr) 124px;
}

.canvas-edit-screen .studio-topbar {
  grid-column: 1 / -1;
}

.canvas-edit-screen .studio-agent {
  grid-column: 2;
  grid-row: 2 / 4;
}

.work-canvas {
  grid-column: 1 / -1;
  grid-row: 2;
}

.work-canvas,
.preview-canvas {
  background:
    radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px) 0 0 / 18px 18px,
    #030303;
}

.work-canvas::before,
.preview-canvas::before {
  background:
    radial-gradient(circle at 40% 58%, rgba(255, 255, 255, 0.028), transparent 24rem),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.018), transparent 24rem);
}

.canvas-tools {
  left: 20px;
  top: 52%;
  width: 54px;
  gap: 16px;
}

.script-node-real,
.asset-node-real {
  left: 20%;
  width: clamp(190px, 16.5vw, 238px);
}

.script-node-real {
  top: 11%;
  padding: 13px;
}

.asset-node-real i,
.canvas-node-image {
  height: clamp(96px, 8.4vw, 128px);
}

.character-node-real {
  top: 31%;
}

.prop-node-real {
  top: 45%;
}

.scene-node-real {
  top: 59%;
}

.detail-node-real {
  top: 73%;
}

.video-node-real {
  right: 18%;
  top: 37%;
  width: clamp(108px, 8.9vw, 134px);
  height: clamp(192px, 15.7vw, 240px);
}

.curve-a {
  left: 37%;
  top: 28%;
  width: 32%;
  transform: rotate(13deg);
}

.curve-b {
  left: 37%;
  top: 40%;
  width: 32%;
}

.curve-c {
  left: 37%;
  top: 52%;
  width: 32%;
  transform: rotate(-14deg);
}

.curve-d {
  left: 37%;
  top: 64%;
  width: 32%;
  transform: rotate(-18deg);
}

.curve-e {
  left: 37%;
  top: 76%;
  width: 32%;
  transform: rotate(-22deg);
}

.fold-button {
  bottom: 12px;
  min-height: 36px;
}

.clip-timeline-dock {
  left: 16px;
  right: 16px;
  bottom: 14px;
  grid-template-columns: minmax(150px, 0.74fr) repeat(4, minmax(135px, 1fr));
  gap: 8px;
  padding: 9px;
  border-radius: 18px;
}

.clip-timeline-dock article {
  min-height: 86px;
  padding: 14px;
}

.timeline-preview-screen {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) 124px;
}

.timeline-preview-screen .studio-topbar {
  min-height: 72px;
}

.timeline-preview-screen .clip-timeline-dock {
  right: 16px;
  grid-template-columns: minmax(150px, 0.72fr) repeat(6, minmax(118px, 1fr));
  overflow: hidden;
}

.timeline-preview-screen .preview-canvas {
  grid-column: 1;
  grid-row: 1;
}

.timeline-preview-screen .canvas-tools {
  top: 52%;
}

.final-video-node {
  top: 49%;
  width: clamp(178px, 14.5vw, 238px);
}

.symbolic-video-cover {
  border-radius: 14px;
}

.preview-curve.a {
  left: -7%;
  top: 24%;
  width: 51%;
}

.preview-curve.b {
  left: -6%;
  top: 43%;
  width: 50%;
}

.preview-curve.c {
  left: -5%;
  top: 65%;
  width: 50%;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .product-screen {
    height: clamp(660px, calc((100vw - 28px) * 0.56), 760px);
  }

  .asset-cards article {
    min-height: 172px;
  }

  .script-node-real,
  .asset-node-real {
    left: 18%;
    width: 190px;
  }

  .video-node-real {
    right: 12%;
  }
}

@media (max-width: 760px) {

  .intent-card {
    left: 16px;
    right: 16px;
    top: 18px;
    min-height: 142px;
    border-radius: 22px;
  }

  .project-settings-ui {
    left: 18px;
    right: 18px;
    top: 190px;
    bottom: 18px;
    grid-template-rows: 74px 96px 92px 88px 1fr;
  }

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

  .asset-cards article {
    min-height: 138px;
  }

  .canvas-edit-screen,
  .timeline-preview-screen {
    grid-template-rows: 58px minmax(0, 1fr) 108px;
  }

  .clip-timeline-dock {
    right: 10px;
  }

  .final-video-node {
    width: 172px;
  }
}

/* Upload and project screens */
@media (min-width: 761px) {
  .script-upload-screen {
    height: clamp(320px, calc((100vw - 48px) * 0.28), 440px);
    min-height: 320px;
  }

  .project-settings-screen {
    height: clamp(760px, calc((100vw - 48px) * 0.56), 840px);
    min-height: 760px;
  }
}

.script-upload-screen,
.project-settings-screen {
  padding: 0;
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 255, 255, 0.045), transparent 24rem),
    radial-gradient(circle at 8% 8%, rgba(0, 168, 255, 0.055), transparent 30rem),
    #050505;
}

.script-upload-screen {
  display: block;
}

.script-upload-screen .intent-card {
  left: 2.1%;
  right: 2.1%;
  top: 50%;
  height: min(240px, 70%);
  min-height: 190px;
  transform: translateY(-50%);
}

.project-settings-screen .project-settings-ui {
  top: 4.2%;
  bottom: 3.2%;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .script-upload-screen {
    height: 340px;
    min-height: 340px;
  }

  .project-settings-screen {
    height: 820px;
    min-height: 820px;
  }
}

@media (max-width: 760px) {
  .script-upload-screen {
    height: 280px;
    min-height: 280px;
  }

  .script-upload-screen .intent-card {
    left: 16px;
    right: 16px;
    top: 50%;
    min-height: 188px;
    transform: translateY(-50%);
  }

  .project-settings-screen {
    height: 940px;
    min-height: 940px;
  }

  .project-settings-screen .project-settings-ui {
    top: 18px;
    bottom: 18px;
  }
}

/* Ver1.3 desktop module width alignment */
@media (min-width: 761px) {
  .product-scroll-sticky {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    padding-inline: 0;
  }

  .product-showcase,
  .product-screen {
    width: 100%;
    max-width: none;
  }
}

/* Desktop upload and project motion */
@media (min-width: 761px) {
  body.home-visual .product-scroll {
    background: transparent;
  }

  .script-upload-screen {
    height: clamp(250px, 18vw, 270px);
    min-height: 250px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    perspective: 1400px;
  }

  .script-upload-screen .intent-card {
    --upload-scroll-y: 0px;
    --upload-scroll-scale: 1;
    --upload-exit-y: 0px;
    --upload-exit-opacity: 1;
    left: 0;
    right: 0;
    top: 50%;
    height: 210px;
    min-height: 210px;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background:
      radial-gradient(circle at 91% 82%, rgba(255, 255, 255, 0.11), transparent 16rem),
      linear-gradient(180deg, rgba(255, 255, 255, 0.086), rgba(255, 255, 255, 0.027)),
      rgba(22, 22, 24, 0.94);
    box-shadow:
      0 34px 92px rgba(0, 0, 0, 0.38),
      0 0 70px rgba(0, 168, 255, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: var(--upload-exit-opacity);
    transform: translateY(calc(-50% + var(--upload-scroll-y) + var(--upload-exit-y))) scale(var(--upload-scroll-scale));
    transform-origin: center;
    will-change: transform, opacity;
  }

  html.upload-scroll-ready .script-upload-screen .intent-card {
    opacity: var(--upload-exit-opacity, 1);
    filter: blur(0);
    transition: none !important;
  }

  html.upload-scroll-ready .script-upload-screen .intent-card p,
  html.upload-scroll-ready .script-upload-screen .intent-actions,
  html.upload-scroll-ready .script-upload-screen .submit-orb {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  html.upload-scroll-ready .script-upload-screen .type-char {
    opacity: 0;
  }

  html.upload-scroll-ready .script-upload-screen .type-char.is-visible {
    opacity: 1;
  }

  .upload-cursor {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    width: 36px;
    height: 48px;
    opacity: 0;
    pointer-events: none;
    transform:
      translate3d(var(--upload-cursor-x), var(--upload-cursor-y), 0)
      rotate(-13deg);
    transform-origin: 0 0;
    filter:
      drop-shadow(0 14px 20px rgba(0, 0, 0, 0.48))
      drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
    will-change: transform, opacity;
  }

  .upload-cursor::before,
  .upload-cursor::after {
    content: "";
    position: absolute;
    clip-path: polygon(0 0, 3px 39px, 13px 30px, 19px 47px, 29px 43px, 22px 27px, 36px 27px);
  }

  .upload-cursor::before {
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 8, 13, 0.98), rgba(13, 19, 28, 0.92));
    transform: translate(2px, 2px) scale(1.03);
  }

  .upload-cursor::after {
    inset: 2px 4px 3px 3px;
    clip-path: polygon(0 0, 2px 32px, 10px 25px, 16px 42px, 23px 39px, 17px 23px, 29px 23px);
    background:
      linear-gradient(125deg, rgba(255, 255, 255, 0.95) 0 38%, rgba(210, 218, 226, 0.96) 39% 100%);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.45),
      inset -7px -9px 10px rgba(8, 14, 20, 0.16);
  }

  .upload-cursor i {
    display: none;
  }

  .project-action-cursor {
    --project-cursor-opacity: 0;
    --project-cursor-x: 0px;
    --project-cursor-y: 0px;
    z-index: 30;
    opacity: var(--project-cursor-opacity);
    transform:
      translate3d(var(--project-cursor-x), var(--project-cursor-y), 0)
      rotate(-13deg);
  }

  html.upload-scroll-ready .script-upload-screen .submit-orb {
    animation: uploadOrbPulse 2600ms ease-in-out infinite !important;
  }

  .script-upload-screen + .project-settings-screen {
    margin-top: 0;
  }

  .project-settings-screen {
    --project-progress: 0;
    height: clamp(720px, calc((100vw - 48px) * 0.53), 780px);
    min-height: 720px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .project-settings-screen .project-settings-ui {
    --project-dock-y: 0px;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    min-height: clamp(700px, 48vw, 760px);
    grid-template-rows: 92px 124px 90px 98px minmax(150px, 1fr);
    gap: clamp(16px, 1.2vw, 22px);
    padding-bottom: 46px;
    pointer-events: none;
    transform: translate3d(0, var(--project-dock-y), 0);
    will-change: transform;
  }

  .project-settings-screen .setting-row {
    grid-template-columns: 38px 1fr;
    gap: 12px 16px;
    align-content: start;
  }

  .project-settings-screen .setting-row label {
    align-self: end;
    line-height: 1.35;
  }

  .project-settings-screen .row-icon {
    width: 22px;
    height: 22px;
    margin-top: 9px;
  }

  .project-settings-screen .input-shell {
    width: 50%;
    box-sizing: border-box;
    min-height: 64px;
    padding-inline: 24px;
  }

  .project-settings-screen .textarea-shell {
    width: 50%;
    box-sizing: border-box;
    min-height: 104px;
    padding: 18px 24px 20px;
    line-height: 1.8;
  }

  .project-settings-screen .ratio-pills,
  .project-settings-screen .duration-ui {
    gap: 14px;
    row-gap: 14px;
    padding-top: 2px;
  }

  .project-settings-screen .ratio-pills span,
  .project-settings-screen .duration-ui em,
  .project-settings-screen .number-box {
    min-height: 44px;
    padding-inline: 18px;
  }

  .project-settings-screen .ratio-pills span {
    --ratio-pill-opacity: 1;
    --ratio-pill-x: 0px;
    opacity: var(--ratio-pill-opacity);
    transform: translate3d(var(--ratio-pill-x), 0, 0);
    transition: none !important;
    will-change: opacity, transform;
  }

  .project-settings-screen .duration-ui > * {
    --duration-item-opacity: 1;
    --duration-item-y: 0px;
    opacity: var(--duration-item-opacity);
    transform: translate3d(0, var(--duration-item-y), 0);
    transition: none !important;
    will-change: opacity, transform;
  }

  .project-settings-screen .style-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .project-settings-screen .style-cards article {
    --style-card-opacity: 1;
    --style-card-x: 0px;
    opacity: var(--style-card-opacity);
    transform: translate3d(var(--style-card-x), 0, 0);
    transition: none !important;
    will-change: opacity, transform;
    min-height: 154px;
  }

  .project-settings-screen .style-cards strong {
    left: 18px;
    bottom: 16px;
    line-height: 1.25;
  }

  .project-settings-screen .enter-button {
    bottom: -42px;
    min-height: 58px;
    padding-inline: 32px;
  }

  .project-settings-screen .project-settings-ui > .setting-row,
  .project-settings-screen .project-settings-ui > .enter-button {
    --project-line-opacity: 0;
    --project-line-y: 34px;
    opacity: var(--project-line-opacity);
    transform: translate3d(0, var(--project-line-y), 0);
    transition: none !important;
    will-change: opacity, transform;
  }
}

/* Desktop asset and canvas tab motion */
@media (min-width: 761px) {
  .asset-generation-screen {
    --asset-shell-opacity: 0;
    --asset-shell-y: 24px;
    --asset-tab-indicator-x: 5px;
    --asset-tab-indicator-width: 68px;
    overflow: visible;
  }

  html.asset-scroll-ready .asset-generation-screen .studio-topbar {
    z-index: 35;
    opacity: var(--asset-shell-opacity);
    transform: translate3d(0, var(--asset-shell-y), 0);
    transition: none !important;
    will-change: opacity, transform;
  }

  html.asset-scroll-ready .asset-generation-screen .studio-tabs {
    position: relative;
    overflow: hidden;
  }

  html.asset-scroll-ready .asset-generation-screen .studio-tabs::before {
    content: "";
    position: absolute;
    left: var(--asset-tab-indicator-x);
    top: 5px;
    bottom: 5px;
    width: var(--asset-tab-indicator-width);
    border-radius: 999px;
    background: #3a3a40;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 8px 22px rgba(0, 0, 0, 0.34);
    will-change: left, width;
  }

  html.asset-scroll-ready .asset-generation-screen .studio-tabs span {
    position: relative;
    z-index: 1;
    background: transparent;
    box-shadow: none;
    transition: none !important;
  }

  html.asset-scroll-ready .asset-generation-screen .studio-tabs span.is-tab-lit {
    color: #ffffff;
  }

  html.asset-scroll-ready .asset-generation-screen .studio-tabs span:not(.is-tab-lit) {
    color: rgba(255, 255, 255, 0.58);
  }

  html.asset-scroll-ready .asset-generation-screen .studio-directory > strong,
  html.asset-scroll-ready .asset-generation-screen .studio-directory section b,
  html.asset-scroll-ready .asset-generation-screen .studio-directory section span {
    --asset-dir-opacity: 0;
    --asset-dir-x: -40px;
    opacity: var(--asset-dir-opacity);
    transform: translate3d(var(--asset-dir-x), 0, 0);
    transition: none !important;
    will-change: opacity, transform;
  }

  html.asset-scroll-ready .asset-generation-screen .asset-section-head,
  html.asset-scroll-ready .asset-generation-screen .asset-cards article {
    --asset-card-opacity: 0;
    --asset-card-y: -52px;
    opacity: var(--asset-card-opacity);
    transform: translate3d(0, var(--asset-card-y), 0);
    transition: none !important;
    will-change: opacity, transform;
  }

  html.asset-scroll-ready .asset-generation-screen .asset-agent > * {
    --asset-agent-opacity: 0;
    --asset-agent-x: 58px;
    opacity: var(--asset-agent-opacity);
    transform: translate3d(var(--asset-agent-x), 0, 0);
    transition: none !important;
    will-change: opacity, transform;
  }

  .canvas-edit-screen {
    --canvas-tab-indicator-x: 0px;
    --canvas-tab-indicator-width: 68px;
  }

  html.canvas-tab-scroll-ready .canvas-edit-screen .studio-tabs {
    position: relative;
    overflow: hidden;
  }

  html.canvas-tab-scroll-ready .canvas-edit-screen .studio-tabs::before {
    content: "";
    position: absolute;
    left: var(--canvas-tab-indicator-x);
    top: 5px;
    bottom: 5px;
    width: var(--canvas-tab-indicator-width);
    border-radius: 999px;
    background: #3a3a40;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 8px 22px rgba(0, 0, 0, 0.34);
    will-change: left, width;
  }

  html.canvas-tab-scroll-ready .canvas-edit-screen .studio-tabs span {
    position: relative;
    z-index: 1;
    background: transparent;
    box-shadow: none;
    transition: none !important;
  }

  html.canvas-tab-scroll-ready .canvas-edit-screen .studio-tabs span.is-tab-lit {
    color: #ffffff;
  }

  html.canvas-tab-scroll-ready .canvas-edit-screen .studio-tabs span:not(.is-tab-lit) {
    color: rgba(255, 255, 255, 0.58);
  }
}

/* Canvas helpers */
.timeline-preview-screen {
  display: none;
}

@media (min-width: 761px) {
  .canvas-left-cluster {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transform-origin: 19% 9%;
  }
}

@media (min-width: 761px) {
  .asset-generation-screen {
    height: var(--studio-screen-height);
    min-height: 660px;
  }

  .asset-generation-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 30;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .asset-generation-screen .studio-directory {
    border-bottom-left-radius: inherit;
  }

  .asset-generation-screen .asset-agent {
    border-bottom-right-radius: inherit;
  }

  .asset-generation-screen .asset-agent {
    padding: 16px;
    gap: 10px;
  }

  .asset-generation-screen .asset-agent header {
    min-height: 28px;
    gap: 12px;
  }

  .asset-generation-screen .asset-agent header span {
    width: 16px;
    height: 16px;
    border-radius: 4px;
  }

  .asset-generation-screen .task-toast {
    min-height: 44px;
    padding-inline: 14px;
    border-radius: 14px;
    font-size: clamp(11px, 0.92vw, 15px);
  }

  .asset-generation-screen .agent-card.compact {
    width: min(68%, 284px);
    padding: 14px;
  }

  .asset-generation-screen .agent-card.compact strong {
    margin-bottom: 12px;
    line-height: 1.38;
  }

  .asset-generation-screen .agent-card.compact span {
    margin-top: 5px;
    padding: 4px 9px;
  }

  .asset-generation-screen .agent-card.black {
    padding: 16px;
    border-radius: 16px;
  }

  .asset-generation-screen .agent-card.black b {
    margin-bottom: 4px;
  }

  .asset-generation-screen .agent-card.black strong {
    margin-bottom: 12px;
    font-size: clamp(13px, 1vw, 17px);
  }

  .asset-generation-screen .agent-card.black p {
    font-size: clamp(10px, 0.82vw, 13px);
    line-height: 1.55;
  }

  .asset-generation-screen .agent-card.black span {
    min-height: 26px;
    padding-inline: 10px;
  }

  .asset-generation-screen .asset-agent > button {
    min-height: 44px;
    padding-inline: 22px;
    border-radius: 14px;
  }

  .asset-generation-screen .agent-input {
    display: flex;
    left: 16px;
    right: 16px;
    bottom: 28px;
    min-height: 58px;
    padding: 0 58px 0 16px;
    align-items: center;
    border-radius: 18px;
  }

  .asset-generation-screen .agent-input span {
    display: none;
  }

  .asset-generation-screen .agent-input i {
    right: 12px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .canvas-edit-screen {
    height: var(--studio-screen-height);
    min-height: 660px;
    grid-template-rows: 64px minmax(0, 1fr) 104px;
  }

  .canvas-edit-screen .studio-topbar {
    min-height: 64px;
    padding: 0 22px;
  }

  .canvas-edit-screen .studio-tabs span {
    min-height: 38px;
    padding-inline: clamp(12px, 1.05vw, 20px);
    font-size: clamp(11px, 0.86vw, 15px);
  }

  .canvas-edit-screen .canvas-tools {
    left: 18px;
    top: 47%;
    width: 48px;
    gap: 13px;
    padding: 7px 0 13px;
  }

  .canvas-edit-screen .canvas-tools button {
    width: 36px;
    height: 36px;
    font-size: 25px;
  }

  .canvas-edit-screen .canvas-tools span,
  .canvas-edit-screen .canvas-tools i {
    width: 18px;
    height: 18px;
  }

  .canvas-edit-screen .script-node-real,
  .canvas-edit-screen .asset-node-real {
    left: 19%;
    width: clamp(176px, 14.8vw, 214px);
  }

  .canvas-edit-screen .script-node-real {
    top: 9%;
    padding: 11px;
  }

  .canvas-edit-screen .script-node-real p {
    font-size: clamp(9px, 0.72vw, 12px);
    line-height: 1.52;
  }

  .canvas-edit-screen .node small {
    margin-bottom: 6px;
    font-size: clamp(9px, 0.7vw, 12px);
  }

  .canvas-edit-screen .asset-node-real i,
  .canvas-edit-screen .canvas-node-image {
    height: clamp(64px, 5.6vw, 78px);
    border-radius: 10px;
  }

  .canvas-edit-screen .character-node-real {
    top: 31%;
  }

  .canvas-edit-screen .prop-node-real {
    top: 50%;
  }

  .canvas-edit-screen .scene-node-real {
    top: 69%;
  }

  .canvas-edit-screen .detail-node-real {
    top: 88%;
  }

  .canvas-edit-screen .video-node-real {
    top: 36%;
    width: clamp(94px, 7.9vw, 118px);
    height: clamp(168px, 14vw, 210px);
  }

  .canvas-edit-screen {
    --canvas-video-width: clamp(94px, 7.9vw, 118px);
    --canvas-video-height: clamp(168px, 14vw, 210px);
  }

  .canvas-edit-screen .curve-a {
    left: 35%;
    top: 28%;
    width: 30%;
  }

  .canvas-edit-screen .curve-b {
    left: 35%;
    top: 42%;
    width: 30%;
  }

  .canvas-edit-screen .curve-c {
    left: 35%;
    top: 56%;
    width: 30%;
  }

  .canvas-edit-screen .curve-d {
    left: 35%;
    top: 70%;
    width: 30%;
  }

  .canvas-edit-screen .curve-e {
    left: 35%;
    top: 84%;
    width: 30%;
  }

  .canvas-edit-screen .fold-button {
    bottom: 10px;
    min-height: 32px;
    padding-inline: 15px;
    font-size: clamp(11px, 0.82vw, 14px);
  }

  .canvas-edit-screen .clip-timeline-dock {
    left: 14px;
    right: 14px;
    bottom: 12px;
    grid-template-columns: minmax(130px, 0.68fr) repeat(4, minmax(122px, 1fr));
    gap: 7px;
    padding: 8px;
    border-radius: 16px;
  }

  .canvas-edit-screen .clip-timeline-dock article {
    min-height: 72px;
    padding: 11px;
  }

  .canvas-edit-screen .clip-timeline-dock b {
    margin-bottom: 8px;
    font-size: clamp(10px, 0.76vw, 13px);
  }

  .canvas-edit-screen .clip-timeline-dock strong {
    font-size: clamp(11px, 0.84vw, 14px);
  }

  .canvas-edit-screen .clip-timeline-dock span {
    margin-top: 8px;
    font-size: clamp(9px, 0.72vw, 12px);
  }

  .canvas-edit-screen .timeline-preview-card {
    grid-template-columns: 42px 1fr;
    gap: 10px;
  }

  .canvas-edit-screen .timeline-preview-card i {
    width: 40px;
    height: 40px;
  }
}

@keyframes uploadOrbPulse {
  0%,
  100% {
    box-shadow:
      0 16px 40px rgba(255, 255, 255, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.16);
  }

  45% {
    box-shadow:
      0 18px 48px rgba(255, 255, 255, 0.18),
      0 0 0 8px rgba(255, 255, 255, 0.045),
      0 0 42px rgba(0, 168, 255, 0.16);
  }
}

/* Ver1.3 mobile homepage */
@media (max-width: 760px) {
  body.home-visual {
    --mobile-shell: calc(100vw - 28px);
  }

  body.home-visual .site-header {
    position: fixed;
    top: 0;
    background: linear-gradient(180deg, rgba(2, 5, 8, 0.96), rgba(2, 5, 8, 0.9));
  }

  body.home-visual .nav {
    width: var(--mobile-shell);
    min-height: 72px;
    padding: 12px 0;
    gap: 14px;
  }

  body.home-visual .brand-logo {
    width: 132px;
  }

  body.home-visual .brand span {
    display: none;
  }

  body.home-visual .mobile-nav-cta {
    min-height: 44px;
    padding: 0 16px;
    align-items: center;
    font-size: 13px;
  }

  body.home-visual .hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 60px;
  }

  body.home-visual .hero-grid {
    min-height: 0;
    gap: 28px;
  }

  body.home-visual .hero-copy {
    max-width: none;
  }

  body.home-visual .hero h1 {
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.2;
  }

  body.home-visual .hero-lead {
    max-width: 28em;
    font-size: 16px;
    line-height: 1.78;
  }

  body.home-visual .hero-actions {
    gap: 12px;
  }

  body.home-visual .hero-actions .button {
    width: 100%;
    min-height: 56px;
  }

  body.home-visual .cta-section .hero-actions .button.primary {
    display: none;
  }

  body.home-visual .flow-module-intent,
  body.home-visual .flow-module-project,
  body.home-visual .flow-module-assets,
  body.home-visual .flow-module-video {
    display: none !important;
  }

  body.home-visual .product-scroll {
    display: block;
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding: 0;
    overflow: visible;
    background: #05080a;
  }

  body.home-visual .product-scroll-sticky {
    position: relative;
    top: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  body.home-visual .product-showcase {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.home-visual .flow-module-exploration {
    display: block !important;
    padding: 56px 0 62px;
    background:
      radial-gradient(circle at 18% 8%, rgba(0, 168, 255, 0.1), transparent 22rem),
      radial-gradient(circle at 88% 92%, rgba(255, 154, 0, 0.07), transparent 20rem),
      #05080a;
  }

  body.home-visual .flow-module-exploration::after {
    display: none !important;
  }

  body.home-visual .flow-module-exploration > .flow-module-heading,
  body.home-visual .flow-module-exploration > .flow-capabilities-panel {
    width: var(--mobile-shell);
  }

  body.home-visual .flow-module-exploration .flow-module-heading {
    margin-bottom: 24px;
  }

  body.home-visual .flow-module-exploration .flow-module-heading h2 {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.24;
  }

  body.home-visual .flow-capabilities-panel .exploration-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.home-visual .flow-capabilities-panel .exploration-grid article {
    min-height: auto;
    padding: 22px 20px;
    border-radius: 18px;
  }
}

@media (min-width: 761px) {
  body.home-visual .canvas-edit-screen {
    --canvas-cover-opacity: 1;
    --canvas-placeholder-opacity: 0;
    --canvas-status-opacity: 1;
  }

  body.home-visual .canvas-edit-screen .canvas-left-cluster {
    opacity: 1 !important;
    transform: none !important;
  }

  body.home-visual .canvas-edit-screen .script-node-real,
  body.home-visual .canvas-edit-screen .asset-node-real {
    left: clamp(108px, 13%, 185px);
    width: clamp(146px, 12.8vw, 172px);
  }

  body.home-visual .canvas-edit-screen .script-node-real {
    top: 12%;
    padding: 8px 10px;
  }

  body.home-visual .canvas-edit-screen .script-node-real p {
    font-size: clamp(8px, 0.62vw, 10px);
    line-height: 1.42;
  }

  body.home-visual .canvas-edit-screen .asset-node-real i,
  body.home-visual .canvas-edit-screen .canvas-node-image {
    height: clamp(42px, 4vw, 52px);
  }

  body.home-visual .canvas-edit-screen .asset-node-real small,
  body.home-visual .canvas-edit-screen .video-node-real small {
    visibility: hidden;
  }

  body.home-visual .canvas-edit-screen .character-node-real {
    top: 30%;
  }

  body.home-visual .canvas-edit-screen .prop-node-real {
    top: 44.5%;
  }

  body.home-visual .canvas-edit-screen .scene-node-real {
    top: 59%;
  }

  body.home-visual .canvas-edit-screen .detail-node-real {
    top: 74.5%;
  }

  body.home-visual .canvas-edit-screen .video-node-real {
    left: clamp(980px, 87.5%, 1110px);
    right: auto;
    top: 49.5%;
    width: clamp(142px, 13.5vw, 188px);
    height: auto;
    aspect-ratio: 9 / 16;
    padding: 0;
    border-radius: 22px;
    background: #161619;
    box-shadow:
      0 28px 72px rgba(0, 0, 0, 0.42),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transform: translate(-50%, -50%);
    overflow: hidden;
  }

  body.home-visual .canvas-edit-screen .video-node-real::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.42;
    background:
      radial-gradient(circle at 50% 48%, rgba(228, 248, 255, 0.22), rgba(26, 210, 255, 0.1) 34%, transparent 66%),
      linear-gradient(118deg, transparent 0 24%, rgba(255, 255, 255, 0.1) 36%, rgba(34, 224, 255, 0.3) 47%, rgba(255, 255, 255, 0.14) 56%, transparent 72% 100%);
    background-position: center, 142% 0;
    background-size: 100% 100%, 240% 100%;
    mix-blend-mode: screen;
    animation: assetImageSweep 3600ms linear infinite !important;
  }

  body.home-visual .canvas-edit-screen .video-node-real i {
    display: none;
  }

  body.home-visual .canvas-edit-screen .video-node-real small {
    left: 50%;
    top: -34px;
    width: max-content;
    max-width: 260px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    text-align: center;
    transform: translateX(-50%);
  }

  body.home-visual .canvas-edit-screen .merge-video-cover {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    opacity: 1;
    object-fit: cover;
    object-position: center;
  }

  body.home-visual .canvas-edit-screen .merge-video-status {
    position: absolute;
    right: 8%;
    top: 5%;
    z-index: 3;
    display: inline-flex;
    min-height: clamp(22px, 1.9vw, 34px);
    padding: 0 clamp(10px, 1vw, 16px);
    align-items: center;
    border-radius: 999px;
    color: #83f39e;
    background: rgba(28, 81, 41, 0.92);
    opacity: 1;
    font-size: clamp(11px, 0.95vw, 15px);
    font-style: normal;
    font-weight: 800;
  }

  body.home-visual .canvas-edit-screen .curve {
    opacity: 1 !important;
  }

  body.home-visual .canvas-edit-screen .curve-a,
  body.home-visual .canvas-edit-screen .curve-b,
  body.home-visual .canvas-edit-screen .curve-c,
  body.home-visual .canvas-edit-screen .curve-d,
  body.home-visual .canvas-edit-screen .curve-e {
    left: clamp(360px, 35%, 455px);
    width: clamp(450px, 40vw, 590px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
  }

  body.home-visual .canvas-edit-screen .curve-a {
    top: 16%;
    transform: rotate(10deg);
  }

  body.home-visual .canvas-edit-screen .curve-b {
    top: 33%;
    transform: rotate(1deg);
  }

  body.home-visual .canvas-edit-screen .curve-c {
    top: 46%;
    transform: rotate(-7deg);
  }

  body.home-visual .canvas-edit-screen .curve-d {
    top: 59%;
    transform: rotate(-14deg);
  }

  body.home-visual .canvas-edit-screen .curve-e {
    top: 72%;
    transform: rotate(-20deg);
  }

  body.home-visual .canvas-edit-screen .fold-button {
    left: 50%;
    bottom: 10px;
  }

  body.home-visual .canvas-edit-screen .clip-timeline-dock article {
    opacity: 1 !important;
    transform: none !important;
  }

  body.home-visual .asset-generation-screen {
    height: 620px;
    min-height: 620px;
    grid-template-columns: 15.6% minmax(0, 57.6%) 26.8%;
    grid-template-rows: 64px minmax(0, 1fr);
  }

  body.home-visual .asset-generation-screen .studio-directory,
  body.home-visual .asset-generation-screen .asset-agent {
    display: flex;
  }

  body.home-visual .asset-generation-screen .studio-directory {
    display: block;
    grid-column: 1;
    grid-row: 2;
    padding: 24px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: #050506;
  }

  body.home-visual .asset-generation-screen .studio-directory > strong {
    font-size: 13px;
    font-weight: 500;
  }

  body.home-visual .asset-generation-screen .studio-directory section {
    margin-top: 28px;
    padding-left: 16px;
    gap: 14px;
  }

  body.home-visual .asset-generation-screen .studio-directory section b {
    font-size: 14px;
    font-weight: 500;
  }

  body.home-visual .asset-generation-screen .studio-directory span {
    font-size: 13px;
  }

  body.home-visual .asset-generation-screen .asset-agent {
    grid-column: 3;
    grid-row: 1 / span 2;
    min-height: 0;
    padding: 18px;
    gap: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: #1b1b1e;
  }

  body.home-visual .asset-generation-screen .asset-agent header {
    min-height: 40px;
  }

  body.home-visual .asset-generation-screen .asset-agent header strong {
    font-size: 15px;
    font-weight: 500;
  }

  body.home-visual .asset-generation-screen .asset-agent header span {
    width: 15px;
    height: 15px;
    opacity: 0.64;
  }

  body.home-visual .asset-generation-screen .task-toast {
    min-height: 48px;
    padding-inline: 16px;
    border-radius: 16px;
    background: #202024;
    font-size: 14px;
    font-weight: 600;
  }

  body.home-visual .asset-generation-screen .agent-card.black {
    padding: 18px;
    border-radius: 16px;
    background: #080809;
  }

  body.home-visual .asset-generation-screen .agent-card.black b {
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    font-weight: 500;
  }

  body.home-visual .asset-generation-screen .agent-card.black strong {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
  }

  body.home-visual .asset-generation-screen .agent-card.black p {
    font-size: 13px;
    line-height: 1.68;
  }

  body.home-visual .asset-generation-screen .agent-card.black span {
    min-height: 28px;
    font-size: 12px;
    font-weight: 500;
  }

  body.home-visual .asset-generation-screen .asset-agent > button {
    align-self: flex-end;
    min-height: 46px;
    margin-top: auto;
    padding-inline: 22px;
    border-radius: 14px;
    background: #25252a;
    font-size: 14px;
    font-weight: 600;
  }

  body.home-visual .asset-generation-screen .agent-input {
    position: static;
    display: flex;
    min-height: 58px;
    padding: 0 58px 0 16px;
    align-items: center;
    border-radius: 18px;
  }

  body.home-visual .asset-generation-screen .agent-input i {
    right: 12px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  body.home-visual .asset-generation-screen .studio-topbar {
    grid-column: 1 / span 2;
    grid-row: 1;
    min-height: 64px;
    padding: 0 22px;
  }

  body.home-visual .asset-generation-screen .studio-brand img,
  body.home-visual .canvas-edit-screen .studio-brand img {
    width: 72px;
  }

  body.home-visual .asset-generation-screen .studio-brand strong,
  body.home-visual .canvas-edit-screen .studio-brand strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
  }

  body.home-visual .asset-generation-screen .studio-tabs {
    gap: 6px;
    padding: 5px;
  }

  body.home-visual .asset-generation-screen .studio-tabs span {
    min-height: 36px;
    padding-inline: 16px;
    font-size: 13px;
    font-weight: 500;
  }

  body.home-visual .asset-board {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
    padding: 32px 24px 30px;
    overflow: hidden;
  }

  body.home-visual .asset-board-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 18px;
    margin-bottom: 18px;
  }

  body.home-visual .asset-board-head h3 {
    font-size: 32px;
    font-weight: 700;
  }

  body.home-visual .asset-type-tabs {
    gap: 20px;
    font-size: 13px;
  }

  body.home-visual .asset-actions {
    gap: 8px;
  }

  body.home-visual .asset-actions button {
    min-height: 36px;
    padding-inline: 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
  }

  body.home-visual .asset-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  body.home-visual .asset-cards article {
    min-height: 148px;
    border-radius: 14px;
    background: #19191d;
  }

  body.home-visual .asset-generation-screen .asset-cards article::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    width: calc(100% - 20px);
    height: calc(100% - 66px);
    border-radius: 10px;
    pointer-events: none;
    opacity: 0.48;
    background:
      radial-gradient(circle at 50% 48%, rgba(228, 248, 255, 0.28), rgba(26, 210, 255, 0.12) 34%, transparent 66%),
      linear-gradient(118deg, transparent 0 24%, rgba(255, 255, 255, 0.12) 36%, rgba(34, 224, 255, 0.38) 47%, rgba(255, 255, 255, 0.16) 56%, transparent 72% 100%);
    background-position: center, 142% 0;
    background-size: 100% 100%, 240% 100%;
    mix-blend-mode: screen;
    animation: assetImageSweep 3400ms linear infinite !important;
  }

  body.home-visual .asset-generation-screen .asset-cards article:nth-child(2)::before {
    animation-delay: -850ms !important;
  }

  body.home-visual .asset-generation-screen .asset-cards article:nth-child(3)::before {
    animation-delay: -1700ms !important;
  }

  body.home-visual .asset-generation-screen .scene-cards article:nth-child(1)::before {
    animation-delay: -2550ms !important;
  }

  body.home-visual .asset-generation-screen .scene-cards article:nth-child(2)::before {
    animation-delay: -1200ms !important;
  }

  body.home-visual .asset-generation-screen .scene-cards article:nth-child(3)::before {
    animation-delay: -2050ms !important;
  }

  body.home-visual .role-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-visual .scene-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-visual .asset-section + .asset-section {
    margin-top: 18px;
  }

  body.home-visual .asset-generation-screen .asset-section:nth-of-type(n + 2) {
    display: block;
  }

  body.home-visual .asset-section-head {
    margin-bottom: 12px;
  }

  body.home-visual .asset-section-head strong,
  body.home-visual .asset-section-head span {
    font-size: 14px;
    font-weight: 600;
  }

  body.home-visual .asset-thumb {
    left: 10px;
    right: auto;
    top: 10px;
    bottom: auto;
    width: calc(100% - 20px);
    height: calc(100% - 66px);
    border-radius: 10px;
  }

  body.home-visual .asset-cards .asset-image {
    display: block;
    object-fit: cover;
    object-position: center;
    z-index: 0;
  }

  body.home-visual .asset-cards strong {
    left: 12px;
    right: 12px;
    bottom: 27px;
    max-width: calc(100% - 24px);
    font-size: 13px;
    font-weight: 600;
  }

  body.home-visual .asset-cards strong em {
    min-height: 18px;
    padding-inline: 6px;
    border-radius: 6px;
    font-size: 10px;
  }

  body.home-visual .asset-cards small {
    left: 12px;
    right: 12px;
    bottom: 10px;
    font-size: 11px;
  }

  body.home-visual .project-settings-screen {
    height: 420px;
    min-height: 420px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.home-visual .project-settings-screen .project-settings-ui {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding-bottom: 0;
    overflow: visible;
    pointer-events: none;
    transform: none !important;
  }

  body.home-visual .project-settings-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    opacity: 1 !important;
    transform: none !important;
  }

  body.home-visual .project-settings-header h3 {
    margin: 0;
    color: #f7f7f8;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
  }

  body.home-visual .back-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: #202024;
    font-size: 18px;
    font-weight: 800;
  }

  body.home-visual .back-pill svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.home-visual .project-settings-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-rows: 56px 62px 52px minmax(150px, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 24px 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background:
      radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.028), transparent 28rem),
      #070708;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 24px 86px rgba(0, 0, 0, 0.42);
  }

  body.home-visual .project-settings-screen .setting-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    gap: 24px;
    opacity: 1 !important;
    transform: none !important;
  }

  body.home-visual .project-settings-screen .setting-row label {
    grid-column: 1;
    align-self: start;
    padding-top: 5px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
  }

  body.home-visual .project-settings-screen .input-shell,
  body.home-visual .project-settings-screen .ratio-pills,
  body.home-visual .project-settings-screen .duration-ui,
  body.home-visual .project-settings-screen .style-cards {
    grid-column: 2;
  }

  body.home-visual .project-settings-screen .input-shell {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding-inline: 22px;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.92);
    background: #111114;
    font-size: 16px;
    font-weight: 400;
  }

  body.home-visual .project-settings-screen .ratio-pills,
  body.home-visual .project-settings-screen .duration-ui {
    gap: 10px;
    row-gap: 10px;
  }

  body.home-visual .project-settings-screen .ratio-pills span,
  body.home-visual .project-settings-screen .duration-ui em {
    min-height: 34px;
    padding-inline: 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.54);
    background: #242428;
    font-size: 14px;
    font-weight: 400;
    opacity: 1 !important;
    transform: none !important;
  }

  body.home-visual .project-settings-screen .ratio-pills span {
    gap: 10px;
  }

  body.home-visual .project-settings-screen .ratio-pills span::before {
    content: "";
    width: 20px;
    height: 12px;
    border: 1.5px solid currentColor;
    border-radius: 4px;
    opacity: 0.72;
  }

  body.home-visual .project-settings-screen .ratio-pills span:nth-child(2)::before,
  body.home-visual .project-settings-screen .ratio-pills span:nth-child(5)::before {
    width: 12px;
    height: 20px;
  }

  body.home-visual .project-settings-screen .ratio-pills span:nth-child(3)::before {
    width: 16px;
    height: 16px;
  }

  body.home-visual .project-settings-screen .ratio-pills .active,
  body.home-visual .project-settings-screen .duration-ui .active {
    color: #ffffff;
    background: #3b3b41;
  }

  body.home-visual .project-settings-screen .style-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 58px;
    gap: 14px;
    align-items: stretch;
  }

  body.home-visual .project-settings-screen .style-cards article {
    min-height: 150px;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1 !important;
    transform: none !important;
    filter: brightness(1) saturate(1);
  }

  body.home-visual .project-settings-screen .style-cards article:not(.more-style)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    background:
      radial-gradient(circle at 50% 48%, rgba(228, 248, 255, 0.34), rgba(26, 210, 255, 0.16) 34%, transparent 66%),
      linear-gradient(118deg, transparent 0 24%, rgba(255, 255, 255, 0.12) 36%, rgba(34, 224, 255, 0.42) 47%, rgba(255, 255, 255, 0.18) 56%, transparent 72% 100%);
    background-position: center, 140% 0;
    background-size: 100% 100%, 240% 100%;
    mix-blend-mode: screen;
  }

  body.home-visual .project-settings-screen .style-cards article:nth-child(-n + 3) {
    animation: projectStyleCardBreath 5200ms ease-in-out infinite !important;
  }

  body.home-visual .project-settings-screen .style-cards article:nth-child(-n + 3)::before {
    opacity: 0.54;
    animation: projectStyleContinuousSweep 3200ms linear infinite !important;
  }

  body.home-visual .project-settings-screen .style-cards article:nth-child(2)::before {
    animation-delay: -1060ms !important;
  }

  body.home-visual .project-settings-screen .style-cards article:nth-child(3)::before {
    animation-delay: -2120ms !important;
  }

  body.home-visual .project-settings-screen .style-cards article:nth-child(4),
  body.home-visual .project-settings-screen .style-cards article:nth-child(4)::before {
    animation: projectStyleFocusFourth 8400ms ease-in-out infinite !important;
  }

  body.home-visual .project-settings-screen .style-cards strong {
    left: 14px;
    bottom: 13px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
  }

  body.home-visual .project-settings-screen .selected-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    color: #102214;
    background: #70c66a;
    font-size: 12px;
    font-weight: 400;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: projectSelectedBadgeCycle 2600ms ease-in-out infinite !important;
  }

  body.home-visual .project-settings-screen .more-style {
    display: grid;
    place-items: center;
    gap: 12px;
    min-width: 0;
    padding: 18px 0;
    border-color: rgba(255, 255, 255, 0.08);
    background: #202024;
    animation: none !important;
  }

  body.home-visual .project-settings-screen .more-style::after {
    display: none;
  }

  body.home-visual .project-settings-screen .more-style b {
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    font-weight: 400;
  }

  body.home-visual .project-settings-screen .more-style strong {
    position: static;
    writing-mode: vertical-rl;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    letter-spacing: 0;
    font-weight: 500;
    text-shadow: none;
  }

  body.home-visual .project-settings-screen .project-settings-header .enter-button {
    position: static;
    z-index: 8;
    min-height: 48px;
    padding: 0 22px;
    gap: 10px;
    border-radius: 999px;
    color: #111;
    background: #f2f2f2;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 18px 48px rgba(255, 255, 255, 0.12);
    transform: none !important;
    opacity: 1 !important;
  }
}

@keyframes projectStyleCardBreath {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
      inset 0 0 0 rgba(188, 204, 216, 0),
      0 0 0 rgba(118, 134, 148, 0);
    filter: brightness(0.985) saturate(0.98);
  }

  50% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
      inset 0 0 38px rgba(141, 230, 255, 0.14),
      0 0 34px rgba(24, 204, 255, 0.13);
    filter: brightness(1.085) saturate(1.08);
  }
}

@keyframes projectStyleContinuousSweep {
  0% {
    opacity: 0.22;
    background-position: center, 142% 0;
  }

  50% {
    opacity: 0.72;
  }

  100% {
    opacity: 0.22;
    background-position: center, -72% 0;
  }
}

@keyframes assetImageSweep {
  0% {
    opacity: 0.18;
    background-position: center, 142% 0;
  }

  50% {
    opacity: 0.64;
  }

  100% {
    opacity: 0.18;
    background-position: center, -72% 0;
  }
}

@keyframes projectStyleFocusFourth {
  0%,
  72%,
  99%,
  100% {
    opacity: 0;
    border-color: rgba(255, 255, 255, 0.12);
    background-position: center, 140% 0;
    box-shadow:
      inset 0 0 0 0 rgba(255, 255, 255, 0),
      0 0 0 rgba(255, 255, 255, 0);
    filter: brightness(1) saturate(1);
  }

  77%,
  94% {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.12);
    background-position: center, -45% 0;
    box-shadow:
      inset 0 0 32px rgba(188, 204, 216, 0.1),
      0 0 34px rgba(118, 134, 148, 0.08);
    filter: brightness(1.065) saturate(1.03);
  }
}

@keyframes projectSelectedBadgeCycle {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(0) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-visual .project-settings-screen .style-cards article,
  body.home-visual .project-settings-screen .style-cards article::before,
  body.home-visual .project-settings-screen .selected-badge {
    animation: none !important;
  }

  body.home-visual .project-settings-screen .selected-badge {
    opacity: 1;
    transform: none;
  }

  body.home-visual .canvas-link-light {
    opacity: 0;
  }
}

body.home-visual .flow-module > .flow-module-heading,
body.home-visual .flow-module > .product-screen,
body.home-visual .flow-module > .flow-capabilities-panel {
  width: min(1180px, calc(100vw - 40px));
}

@media (min-width: 761px) {
  body.home-visual .hero h1 {
    font-size: clamp(36px, 4.8vw, 60px);
    line-height: 1.34;
  }

  body.home-visual .hero {
    min-height: auto;
    padding-top: clamp(120px, 11vh, 144px);
    padding-bottom: 64px;
  }

  body.home-visual .flow-module {
    padding-top: clamp(28px, 2.6vw, 40px);
    padding-bottom: 64px;
  }

  body.home-visual .flow-module-intent {
    padding-top: clamp(28px, 2.6vw, 40px);
  }
}

@media (min-width: 761px) and (max-height: 720px) {
  body.home-visual .hero {
    padding-top: 108px;
    padding-bottom: 32px;
  }

  body.home-visual .hero h1 {
    font-size: clamp(34px, 4.4vw, 48px);
    line-height: 1.24;
  }

  body.home-visual .flow-module-intent {
    padding-top: 4px;
  }
}
