@font-face {
  font-family: Manrope;
  src: url("/demos/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Manrope, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #201c2b;
  background: var(--paper);
  --paper: #f7f5f0;
  --accent: #5534cf;
  --muted: #645e70;
  --line: #dfd9e6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #7758f4; outline-offset: 4px; }
[hidden] { display: none !important; }
.site { width: min(100% - 88px, 1328px); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 82px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; flex: none; font-size: 26px; font-weight: 800; letter-spacing: -.06em; }
.wordmark img { display: block; width: 31px; height: 31px; }
.wordmark strong { font-weight: inherit; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 30px); color: #51495f; font-size: .86rem; font-weight: 750; }
.site-nav a:hover { color: var(--accent); }
.site-nav .language { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(30px, 5vw, 76px); padding: clamp(40px, 4.4vw, 70px) 0 36px; }
.hero-copy { min-width: 0; }
.hero h1 { margin: 0; font-size: clamp(46px, 5.45vw, 78px); line-height: 1.01; font-weight: 800; letter-spacing: -.084em; }
.hero h1 span { display: block; color: var(--accent); }
html:lang(zh) .hero h1 { max-width: none; font-size: clamp(39px, 5.4vw, 76px); line-height: 1.13; letter-spacing: -.055em; }
.intro { margin: 24px 0 28px; max-width: 36ch; color: var(--muted); font-size: clamp(15px, 1.6vw, 19px); line-height: 1.7; }
#waitlist-form { display: flex; gap: 7px; max-width: 435px; padding: 5px; border: 1px solid #d9d0e3; border-radius: 12px; background: #fff; scroll-margin-top: 24px; }
#waitlist-form:focus-within { border-color: var(--accent); }
#waitlist-form input { width: 100%; min-width: 0; border: 0; padding: 8px 9px; background: transparent; color: #201c2b; outline: none; font-size: 15px; }
#waitlist-form button { flex: none; border: 0; border-radius: 8px; min-height: 45px; padding: 9px 15px; color: #fff; background: var(--accent); font-size: 14px; font-weight: 800; }
#waitlist-form button:hover { background: #4120b8; }
#waitlist-form button:disabled { opacity: .7; cursor: wait; }
.notice, .status { margin: 10px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.status { color: #355746; font-weight: 750; }
.status:empty { margin: 0; }
.status.error { color: #9e2735; }

.studio { min-width: 0; color-scheme: dark; color: #f6f2ff; background: #201b2d; border: 1px solid #30283f; border-radius: 18px; padding: 14px; scroll-margin-top: 16px; }
.studio-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0 0 12px; }
.studio-modes button { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #bdb2ce; font-size: .82rem; font-weight: 800; }
.studio-modes button:hover { color: #fff; }
.studio-modes button[aria-pressed="true"] { color: #fff; background: #3e3156; border-color: #59466f; }
.studio-film, .studio-short { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 9px; background: #100d17; }
.studio video { display: block; width: 100%; height: 100%; object-fit: contain; }
.studio-film video { position: absolute; inset: 0; }
.studio-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid #ffffffa8; border-radius: 50%; background: #1c142a9c; color: #fff; }
.studio-play:hover { background: #5534cf; }
.studio-play::before { content: ""; margin-left: 4px; border-left: 16px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.studio-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 2px 1px; }
.studio-caption strong { font-size: .97rem; }
.studio-caption span { color: #c8b9dd; font-size: .8rem; white-space: nowrap; }
.studio-short { display: grid; grid-template-columns: minmax(0, 1fr) 31.64%; grid-template-rows: minmax(0, 1fr); background: radial-gradient(ellipse at 25% 40%, #33264a 0, #171221 63%); }
.short-context { align-self: center; padding: clamp(13px, 3vw, 44px); min-width: 0; }
.short-context p { margin: 0 0 8px; color: #cfbafb; font-size: .85rem; font-weight: 750; }
.short-context h2 { margin: 0; font-size: clamp(19px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
.short-player { position: relative; min-height: 0; background: #0b0910; }
.short-player video { position: absolute; inset: 0; }
.studio figure { margin: 0; }

.sample-shelf { padding: 26px 0 48px; border-top: 1px solid var(--line); scroll-margin-top: 22px; }
.sample-shelf h2 { margin: 0 0 16px; font-size: clamp(21px, 2.5vw, 31px); line-height: 1.25; letter-spacing: -.035em; }
.sample-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 13px; }
.sample-list button { min-width: 0; padding: 0; border: 0; background: transparent; color: #322943; text-align: start; font-size: .86rem; font-weight: 800; }
.sample-image { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: 8px; background: #ded5ed; }
.sample-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.sample-image::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 23px; height: 23px; border-radius: 50%; background: #201b2dcc; }
.sample-image::before { content: ""; z-index: 1; position: absolute; right: 16px; bottom: 15px; border-left: 6px solid white; border-block: 4px solid transparent; }
.sample-list button:hover, .sample-list button[aria-pressed="true"] { color: var(--accent); }
.sample-list button:hover .sample-image, .sample-list button[aria-pressed="true"] .sample-image { outline: 2px solid var(--accent); outline-offset: 2px; }
.site-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: .8rem; }
.site-footer a { color: var(--accent); font-weight: 800; }
.site .home-guides { width: auto; margin: 0 0 30px; border-top-color: var(--line); }
.site .home-guides p, .site .guide-card span { color: var(--muted); }
.site .guide-card { background: #fff; border-color: var(--line); color: #201c2b; }
.site .guide-text-link { color: var(--accent); }

@media (max-width: 900px) {
  .site { width: min(100% - 44px, 760px); }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 36px 0 29px; }
  .hero h1 { max-width: 15ch; }
  .intro { max-width: 47ch; }
  .sample-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .site { width: calc(100% - 34px); }
  .site-header { min-height: 63px; }
  .wordmark { gap: 6px; font-size: 23px; }
  .wordmark img { width: 26px; height: 26px; }
  .hero { gap: 25px; padding-top: 30px; }
  .hero h1 { font-size: clamp(37px, 11vw, 47px); }
  html:lang(zh) .hero h1 { font-size: clamp(36px, 10.1vw, 46px); }
  .intro { margin: 17px 0 18px; }
  .studio { border-radius: 12px; padding: 9px; }
  .studio-modes { margin-bottom: 8px; }
  .studio-modes button { font-size: .75rem; min-height: 32px; padding-inline: 9px; }
  .studio-play { width: 50px; height: 50px; }
  .sample-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 9px; }
}
@media (max-width: 355px) {
  .site-nav a[href="#cutnow-demos"] { display: none; }
  #waitlist-form { flex-direction: column; }
  #waitlist-form input { min-height: 43px; }
}
