@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #090a10;
  --bg-soft: #0e101a;
  --panel: #121420;
  --text: #f5f3fc;
  --muted: #a6a6ba;
  --quiet: #74788e;
  --accent: #a591fa;
  --accent-bright: #bea8ff;
  --line: rgba(166, 159, 208, .16);
  --mint: #60d9be;
  --radius: 16px;
  --container: 1248px;
  --header-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button, a, summary { touch-action: manipulation; }
button { border-radius: 0; }
::selection { color: white; background: #7753b8; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
ul, ol { margin: 0; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.small { width: 18px; height: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: #7247d8; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Navigation */
.site-header { position: absolute; z-index: 20; inset: 0 0 auto; min-height: var(--header-height); border-bottom: 1px solid rgba(208, 208, 245, .09); background: linear-gradient(180deg, rgba(8, 9, 16, .85), rgba(8, 9, 16, .36)); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 12px; }
.brand img { border-radius: 10px; }
.brand-wordmark { display: flex; flex-direction: column; gap: 1px; }
.brand-wordmark strong { font-size: 18px; line-height: 1.4; letter-spacing: .1em; font-weight: 700; }
.brand-wordmark > span { color: #b9b5cc; font-size: 11px; letter-spacing: .04em; line-height: 1.5; }
.main-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.main-nav > a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #c5c4d8; white-space: nowrap; transition: color .2s; }
.main-nav > a:hover { color: #fff; }
.main-nav > a .small { width: 12px; height: 12px; color: var(--quiet); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; min-width: 58px; min-height: 44px; color: #dedbeb; font-size: 12px; font-weight: 600; background: transparent; border: 0; border-radius: 7px; transition: background .2s; }
.language-toggle .icon { width: 16px; height: 16px; color: #aaa8c2; }
.language-toggle:hover { background: rgba(182, 155, 255, .09); }
.menu-toggle, .main-nav .mobile-download { display: none; }

/* Shared controls */
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.45; text-align: center; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .65; cursor: wait; }
.button-primary { color: #fff; background: linear-gradient(115deg, #a36cf5, #7756ed 45%, #533ff2); border-color: rgba(200, 177, 255, .5); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .16), 0 5px 22px rgba(82, 47, 209, .18); }
.button-primary:hover { background: linear-gradient(115deg, #b981ff, #8863f6 45%, #6650ff); box-shadow: 0 7px 30px rgba(136, 85, 250, .3); }
.button-outline { color: #eeecf8; background: rgba(11, 12, 24, .52); border-color: rgba(199, 188, 243, .47); backdrop-filter: blur(8px); }
.button-outline:hover { background: rgba(89, 67, 141, .28); border-color: #bca9f0; }
.button-large { min-height: 54px; padding: 15px 26px; border-radius: 9px; font-size: 15px; }
.button-arrow { width: 17px; height: 17px; margin-left: 2px; opacity: .75; }
.header-download { font-size: 12px; padding: 10px 16px; gap: 8px; min-height: 39px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-bright); font-size: 14px; font-weight: 500; transition: color .2s, gap .2s; }
.text-link:hover { color: white; gap: 12px; }
.text-link .icon { width: 15px; height: 15px; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .15em; line-height: 1.6; font-weight: 600; }

/* A film frame, with space left for the story */
.hero { position: relative; min-height: 795px; min-height: min(880px, max(745px, 94svh)); isolation: isolate; overflow: hidden; }
.hero-art, .hero-shade, .download-art, .download-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -3; object-fit: cover; object-position: center 62%; }
.hero-shade { z-index: -2; background: linear-gradient(180deg, rgba(6, 7, 13, .18) 0%, rgba(6, 7, 13, .06) 49%, rgba(8, 9, 15, .12) 73%, #090a10 100%), radial-gradient(ellipse at 50% 32%, rgba(8, 9, 18, .47), transparent 67%); }
.hero-content { padding-top: 138px; padding-bottom: 112px; text-align: center; position: relative; }
.hero-product { font-size: 25px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; color: #f4edff; }
.hero-product a { display: inline-block; }
.hero-product a:hover { color: var(--accent-bright); }
.hero-product + .hero-eyebrow { margin-top: 12px; }
.hero-eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; color: #cfcbdf; font-size: 12px; letter-spacing: .06em; }
.hero h1 { margin-top: 24px; font-size: clamp(50px, 5.7vw, 82px); font-weight: 800; line-height: 1.24; letter-spacing: -.035em; text-shadow: 0 2px 24px rgba(9, 8, 19, .4); }
.hero h1 > span { display: block; }
.hero-title-accent { color: #c3a6fc; margin-top: 1px; }
.hero-description { max-width: 720px; margin: 24px auto 0; font-size: 17px; line-height: 1.9; font-weight: 400; color: #e1dcea; text-wrap: balance; }
.hero-description span { display: block; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-top: 31px; }
.release-note { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 19px; font-size: 11px; color: #b3afc4; letter-spacing: .025em; }
.note-divider { opacity: .5; }
.hero-bottom { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #b6b1c7; }
.hero-bottom-label { font-size: 9px; letter-spacing: .22em; }
.concept-note { font-size: 10px; letter-spacing: .02em; opacity: .8; }
.scroll-cue { position: absolute; left: 50%; transform: translateX(-50%); border: 1px solid rgba(191, 180, 226, .22); border-radius: 50%; padding: 8px; opacity: .8; }
.scroll-cue .icon { width: 17px; height: 17px; }
.scroll-cue:hover { border-color: var(--accent); opacity: 1; }

/* Creative directions */
.worlds-section { padding-top: 12px; }
.pipeline-section { padding-top: 32px; }
.pipeline-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pipeline-heading h2 { margin-top: 12px; font-size: 25px; line-height: 1.45; letter-spacing: -.025em; }
.pipeline-heading > .text-link { flex-shrink: 0; }
.pipeline-section .workflow-strip { margin-top: 25px; }
.pipeline-description { margin-top: 18px; max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.section-kicker { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-kicker h2 { font-size: 16px; font-weight: 500; color: #dbd8e8; }
.section-kicker > span { font-size: 11px; color: var(--quiet); }
.worlds-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 12px; }
.world-card { position: relative; min-width: 0; height: 244px; overflow: hidden; border-radius: 7px; background: #151621; border: 1px solid rgba(222, 210, 255, .09); }
.world-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(4, 6, 13, .85)); pointer-events: none; }
.world-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.world-card:hover > img { transform: scale(1.045); }
.world-mountain > img { object-position: 64% center; }
.world-desert > img { object-position: center 68%; }
.world-city > img { object-position: 55% center; }
.world-card figcaption { position: absolute; inset: auto 22px 20px; display: flex; align-items: center; gap: 12px; z-index: 1; }
.world-number { color: #c0b0e8; font-size: 10px; align-self: flex-start; padding-top: 4px; }
.world-card h3 { font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.world-card figcaption p { margin-top: 6px; font-size: 10px; color: #aeadc0; letter-spacing: .08em; }
.world-card figcaption > .icon { color: #c2b5df; width: 17px; height: 17px; margin-left: auto; opacity: .7; }
.artwork-caption { text-align: right; color: #85879b; font-size: 10px; line-height: 1.7; margin-top: 11px; }
.workflow-strip { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); padding: 27px 0; margin-top: 39px; }
.workflow-strip li { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 15px; position: relative; color: #dedbea; font-size: 14px; }
.workflow-strip li > .icon { color: #b69aee; width: 21px; height: 21px; }
.workflow-strip li + li::before { content: "→"; position: absolute; left: -6px; color: #78718f; font-size: 20px; font-weight: 300; }

/* Ways to create */
.section { padding: 101px 0 0; }
.section-heading { text-align: center; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(29px, 3.25vw, 44px); letter-spacing: -.035em; font-weight: 720; margin-top: 15px; line-height: 1.35; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 700px; margin: 16px auto 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.section-heading h2 > span { display: inline; }
.modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mode-card { position: relative; min-width: 0; padding: 31px 32px 22px; border: 1px solid rgba(142, 128, 196, .31); background: linear-gradient(140deg, rgba(81, 67, 124, .13), rgba(14, 16, 26, .5) 48%); border-radius: 12px; overflow: hidden; }
.factory-card { background: radial-gradient(ellipse at 95% 0, rgba(97, 72, 158, .17), transparent 65%), #0d0f18; }
.mode-overline { display: flex; align-items: center; gap: 13px; color: #b395f2; font-size: 11px; letter-spacing: .08em; font-weight: 600; }
.mode-overline .mode-icon { width: 30px; height: 30px; }
.mode-card h3 { font-size: 27px; font-weight: 650; line-height: 1.45; letter-spacing: -.025em; margin-top: 21px; }
.mode-card h3 span { display: block; }
.mode-description { font-size: 13px; line-height: 1.9; color: #b6b4c9; margin-top: 14px; max-width: 95%; min-height: 50px; }
.storyboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; align-items: center; height: 117px; }
.film-frame { position: relative; height: 103px; padding-block: 9px; background: #151923; border: 2px solid #252b3b; border-radius: 4px; }
.film-frame::before, .film-frame::after { content: ""; position: absolute; height: 4px; left: 6px; right: 6px; background: repeating-linear-gradient(90deg, #44495f 0 7px, transparent 7px 14px); }
.film-frame::before { top: 2px; }
.film-frame::after { bottom: 2px; }
.film-frame img { width: 100%; height: 100%; object-fit: cover; }
.film-frame > span { position: absolute; bottom: 12px; left: 6px; font-size: 8px; color: #efeafa; background: rgba(4, 5, 11, .6); border-radius: 2px; padding: 1px 4px; }
.film-frame.selected { height: 117px; border-color: #a078e1; box-shadow: 0 0 22px rgba(146, 81, 230, .16); }
.film-frame.selected::before, .film-frame.selected::after { background: repeating-linear-gradient(90deg, #64517d 0 7px, transparent 7px 14px); }
.factory-flow { display: flex; align-items: flex-start; margin-top: 39px; height: 106px; padding-top: 8px; }
.flow-step { position: relative; min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: center; font-size: 11px; gap: 14px; color: #bcbacf; }
.flow-step + .flow-step::before { position: absolute; content: ""; height: 1px; background: #3c3b53; right: calc(50% + 18px); left: calc(-50% + 18px); top: 17px; }
.flow-step.complete + .complete::before, .flow-step.active::before { background: linear-gradient(90deg, #328c77, #539183); }
.flow-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; border: 1.5px solid #5b5c79; background: #10121f; }
.flow-dot .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.complete .flow-dot { background: radial-gradient(circle at 30% 25%, #3a8c7b, #123f3b); border-color: #59d1b8; color: #d7fff6; box-shadow: 0 0 13px rgba(66, 210, 175, .12); }
.active .flow-dot { background: radial-gradient(circle at 30% 25%, #a16afc, #5d2bbb); border-color: #c599ff; box-shadow: 0 0 19px rgba(157, 83, 255, .28); color: white; }
.active .flow-dot .icon { width: 22px; height: 22px; }
.mode-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 23px; padding-top: 17px; border-top: 1px solid rgba(152, 133, 192, .13); }
.mode-tag { color: #a69bbe; font-size: 11px; }
.diagram-caption { color: var(--quiet); font-size: 9px; text-align: right; }

/* Actual app */
.workbench-section { position: relative; }
.workbench-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 39px; align-items: center; }
.workbench-figure { min-width: 0; position: relative; }
.workbench-image-link { display: block; position: relative; border-radius: 9px; border: 1px solid #8b70c6; padding: 4px; background: #494265; box-shadow: 0 0 38px rgba(116, 78, 198, .17), 0 18px 50px rgba(0, 0, 0, .28); overflow: hidden; }
.workbench-image-link > img { display: block; width: 100%; height: auto; border-radius: 5px; }
.zoom-hint { position: absolute; bottom: 17px; right: 17px; display: flex; align-items: center; gap: 7px; font-size: 11px; padding: 8px 11px; border-radius: 6px; background: rgba(14, 13, 29, .85); backdrop-filter: blur(8px); border: 1px solid rgba(200, 179, 252, .4); opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.workbench-image-link:hover .zoom-hint, .workbench-image-link:focus-visible .zoom-hint { opacity: 1; transform: none; }
.workbench-figure figcaption { display: flex; justify-content: space-between; gap: 12px; color: #89879f; font-size: 9px; margin-top: 13px; letter-spacing: .025em; }
.workbench-figure figcaption > span:last-child { color: #706d85; letter-spacing: .09em; }
.capabilities { min-width: 0; }
.capability { display: flex; align-items: flex-start; gap: 15px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.capability:first-child { padding-top: 6px; }
.capability:last-child { border-bottom: 0; padding-bottom: 6px; }
.capability-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: rgba(103, 83, 154, .11); border: 1px solid rgba(135, 104, 185, .09); color: #b293ed; flex: 0 0 auto; }
.capability-icon .icon { width: 21px; height: 21px; }
.capability h3 { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -.025em; }
.capability p { color: #b4afc7; font-size: 11px; line-height: 1.8; margin-top: 7px; }
.capability div > span { display: block; color: #aaa4bb; font-size: 12px; line-height: 1.85; margin-top: 6px; }
.documentation-link { display: flex; width: fit-content; margin: 30px auto 0; font-size: 12px; color: #a59bbd; }

/* Help */
.faq-section { padding-bottom: 96px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 80px; border-top: 1px solid var(--line); padding-top: 54px; }
.faq-heading h2 { font-size: 31px; margin-top: 14px; letter-spacing: -.035em; }
.faq-heading > p:last-child { margin-top: 15px; font-size: 13px; color: var(--muted); }
.faq-heading .text-link { margin-top: 24px; font-size: 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 0; list-style: none; font-size: 14px; line-height: 1.6; color: #e0dcec; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 17px; height: 17px; color: #9d8abb; transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent-bright); }
.faq-answer { padding: 0 26px 22px 0; color: var(--muted); font-size: 13px; line-height: 1.95; }
.faq-answer .text-link { margin-top: 12px; font-size: 12px; }

/* Download */
.download-section { position: relative; isolation: isolate; overflow: hidden; min-height: 510px; }
.download-art { z-index: -3; object-fit: cover; object-position: center 47%; opacity: .68; }
.download-shade { z-index: -2; background: linear-gradient(180deg, #090a10 1%, rgba(11, 10, 20, .67) 27%, rgba(12, 10, 26, .38) 70%, rgba(7, 8, 15, .7)); }
.download-content { text-align: center; position: relative; padding: 45px 0 68px; }
.download-logo { border-radius: 14px; margin-inline: auto; box-shadow: 0 0 40px rgba(117, 74, 232, .14); }
.download-content .eyebrow { margin-top: 22px; font-size: 11px; }
.download-content h2 { font-size: clamp(32px, 4vw, 54px); margin-top: 16px; line-height: 1.32; letter-spacing: -.035em; font-weight: 720; }
.download-content h2 span { display: inline; }
.download-actions { margin-top: 31px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.download-platform { display: flex; justify-content: center; align-items: center; gap: 10px; color: #b1acc5; font-size: 10px; margin-top: 21px; }
.license-note { max-width: 660px; margin: 12px auto 0; color: #b0aac1; font-size: 11px; line-height: 1.9; text-wrap: balance; }

/* Footer and image viewer */
.site-footer { border-top: 1px solid rgba(151, 141, 178, .17); background: #08090e; padding: 27px 0; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { gap: 9px; }
.footer-brand .brand-wordmark strong { font-size: 13px; }
.footer-brand .brand-wordmark > span { font-size: 8px; }
.footer-brand img { border-radius: 8px; }
.footer-tagline { color: #aaa2bc; font-size: 10px; letter-spacing: .08em; margin-left: 9px; }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; color: #9590a7; font-size: 10px; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-github { display: inline-flex; align-items: center; gap: 7px; }
.footer-github .icon { width: 18px; height: 18px; }
.copyright { font-size: 10px; letter-spacing: .01em; color: #777287; }
.screenshot-dialog { width: min(1470px, calc(100vw - 56px)); max-width: none; max-height: calc(100svh - 56px); padding: 0; color: var(--text); background: #12121e; border: 1px solid rgba(174, 143, 231, .45); border-radius: 12px; box-shadow: 0 24px 100px rgba(0, 0, 0, .65); overflow: hidden; }
.screenshot-dialog::backdrop { background: rgba(4, 5, 10, .88); backdrop-filter: blur(9px); }
.dialog-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; gap: 20px; }
.dialog-toolbar h2 { font-size: 13px; font-weight: 500; }
.dialog-close { padding: 9px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 7px; color: #bcb4d5; }
.dialog-close:hover { color: white; background: #292237; }
.dialog-close .icon { width: 20px; height: 20px; }
.dialog-image-wrap { max-height: calc(100svh - 125px); overflow: auto; background: #edf0f6; }
.dialog-image-wrap img { width: 100%; }

/* Static documentation pages */
.document-page .site-header { position: absolute; background: rgba(9, 10, 16, .95); }
.article-hero { position: relative; padding: 126px 0 36px; background: radial-gradient(ellipse at 75% 0, rgba(106, 69, 156, .16), transparent 62%); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 11px; color: var(--quiet); margin-bottom: 30px; }
.breadcrumbs a:hover { color: var(--accent-bright); }
.article-hero h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.035em; line-height: 1.3; max-width: 1020px; margin-top: 14px; }
.article-deck { max-width: 830px; margin-top: 18px; color: #afaac1; font-size: 16px; line-height: 1.9; text-wrap: pretty; }
.article-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; color: #7f7b91; font-size: 10px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.doc-nav a { padding: 7px 13px; color: #aba3bf; background: rgba(104, 85, 143, .05); border: 1px solid rgba(145, 124, 185, .15); border-radius: 6px; font-size: 12px; line-height: 1.5; }
.doc-nav a:hover { color: white; border-color: #6a5688; }
.doc-nav a[aria-current="page"] { background: #282036; color: #c5a7fd; border-color: #5e437e; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 51px; padding-bottom: 90px; }
.article-toc { align-self: start; position: sticky; top: 30px; max-height: calc(100svh - 65px); overflow-y: auto; padding-right: 23px; border-right: 1px solid var(--line); }
.article-toc > p { font-size: 10px; letter-spacing: .14em; color: #81748f; margin-bottom: 16px; font-weight: 600; }
.article-toc nav { display: flex; flex-direction: column; gap: 12px; }
.article-toc nav a { display: block; color: #9890aa; font-size: 12px; line-height: 1.6; }
.article-toc nav a:hover { color: #d3b9ff; }
.article-content { min-width: 0; max-width: 860px; color: #bcb6cb; font-size: 15px; line-height: 1.95; }
.article-content h2 { color: #f1ebf8; font-size: 26px; font-weight: 650; letter-spacing: -.02em; margin: 43px 0 17px; line-height: 1.45; }
.article-content h3 { color: #e0d5ed; font-size: 18px; margin: 24px 0 10px; line-height: 1.5; }
.article-content p + p { margin-top: 15px; }
.article-content ul, .article-content ol { padding-left: 23px; }
.article-content li { padding-left: 3px; margin-top: 8px; }
.article-content strong { font-weight: 600; color: #e1d6ee; }
.article-content .article-intro { font-size: 16px; line-height: 1.95; color: #c6bed1; }
.article-content .article-section:first-child h2 { margin-top: 0; }
.article-content a:not(.button):not(.text-link) { color: #c3a5f3; text-underline-offset: 4px; }
.article-content a:not(.button):not(.text-link):hover { text-decoration: underline; }
.article-content .info-note { margin-top: 24px; padding: 17px 21px; background: rgba(122, 81, 172, .09); border: 1px solid rgba(172, 131, 222, .2); border-left: 3px solid #8760b1; border-radius: 6px; color: #c4b3d5; font-size: 13px; line-height: 1.95; }
.article-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.article-content .step-list { list-style: none; counter-reset: steps; padding: 0; }
.step-list > li { counter-increment: steps; position: relative; padding: 18px 0 20px 51px; border-bottom: 1px solid var(--line); margin: 0; }
.step-list > li::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 22px; left: 0; font-size: 11px; color: #af8ddd; font-weight: 600; letter-spacing: .03em; }
.step-list h3 { margin: 0 0 8px; }
.table-wrap { margin: 23px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.article-content table { width: 100%; border-collapse: collapse; font-size: 13px; }
.article-content th, .article-content td { padding: 13px 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 100px; }
.article-content th { background: #171321; font-weight: 600; color: #d3c2e3; }
.article-content tr:last-child td { border-bottom: 0; }
.article-content td:first-child { color: #dac9e7; }
.code-block { padding: 17px 20px; border: 1px solid #373044; background: #0c0b12; border-radius: 8px; margin-top: 19px; }
.article-content pre { max-width: 100%; overflow-x: auto; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.article-content code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .88em; color: #c8b9de; overflow-wrap: anywhere; }
.article-content :not(pre) > code { padding: 2px 5px; border-radius: 4px; background: rgba(145, 110, 178, .12); }
.article-content .faq-item summary { font-size: 16px; padding-block: 20px; color: #e1d5ed; }
.article-content .faq-answer { font-size: 14px; }
.article-content .faq-item[open] summary { color: #c7a8f7; }
.article-content .faq-item + .faq-item { border-top: 0; }
.source-note { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--quiet); }
.document-end { border-top: 1px solid var(--line); background: radial-gradient(ellipse at center, rgba(91, 51, 135, .12), transparent 70%); padding: 48px 0; }
.document-end-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.document-end h2 { font-size: 24px; letter-spacing: -.02em; }
.document-end p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.document-end .article-actions { margin: 0; flex: 0 0 auto; }
.not-found { min-height: calc(100svh - 105px); display: grid; place-content: center; text-align: center; padding: 130px 24px 70px; }
.not-found h1 { font-size: clamp(50px, 10vw, 110px); color: var(--accent-bright); }
.not-found h2 { margin-top: 17px; font-size: 26px; }
.not-found p { color: var(--muted); margin: 15px 0 25px; }

/* English typography */
html[lang="en"] .brand-wordmark strong { letter-spacing: -.035em; font-size: 17px; }
html[lang="en"] .brand-wordmark > span { font-size: 7px; letter-spacing: .12em; }
html[lang="en"] .main-nav { gap: 20px; }
html[lang="en"] .main-nav > a { font-size: 12px; }
html[lang="en"] .hero h1 { font-size: clamp(54px, 6vw, 84px); line-height: 1.13; letter-spacing: -.055em; }
html[lang="en"] .hero-description { font-size: 16px; line-height: 1.9; }
html[lang="en"] .hero-eyebrow { letter-spacing: .03em; font-size: 11px; }
html[lang="en"] .section-heading h2 > span + span::before,
html[lang="en"] .download-content h2 > span + span::before { content: " "; }
html[lang="en"] .section-heading h2 { font-size: clamp(29px, 3.2vw, 44px); }
html[lang="en"] .mode-card h3 { font-size: 28px; line-height: 1.4; }
html[lang="en"] .mode-description { min-height: 74px; }
html[lang="en"] .capability h3 { font-size: 17px; }
html[lang="en"] .capability p { font-size: 11px; }
html[lang="en"] .workflow-strip li { font-size: 12px; gap: 11px; }
html[lang="en"] .flow-step { font-size: 9px; }
html[lang="en"] .footer-brand .brand-wordmark strong { font-size: 13px; }
html[lang="en"] .footer-brand .brand-wordmark > span { font-size: 6px; }

@media (min-width: 1600px) {
  :root { --container: 1360px; }
  .hero-content { padding-top: 152px; }
  .hero h1 { font-size: 88px; }
  .world-card { height: 272px; }
}

@media (max-width: 1120px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .main-nav { gap: 19px; }
  .main-nav > a { font-size: 12px; }
  .brand-wordmark strong { font-size: 16px; }
  .brand img { width: 37px; height: 37px; }
  .brand-wordmark > span { font-size: 8px; }
  .header-actions { gap: 6px; }
  .header-download { padding-inline: 12px; }
  .world-card { height: 209px; }
  .world-card figcaption { inset-inline: 15px; }
  .mode-card { padding: 28px 24px 21px; }
  .mode-card h3 { font-size: 25px; }
  .workbench-grid { gap: 25px; grid-template-columns: 1.55fr 1fr; }
  .capability { gap: 10px; padding: 20px 0; }
  .capability-icon { width: 34px; height: 34px; }
  .capability h3 { font-size: 16px; }
  .capability div > span { display: none; }
  .faq-layout { gap: 44px; }
  .footer-tagline { display: none; }
  .article-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 38px; }
  html[lang="en"] .main-nav { gap: 16px; }
  html[lang="en"] .brand-wordmark strong { font-size: 16px; }
  html[lang="en"] .mode-card h3 { font-size: 25px; }
}

@media (max-width: 920px) {
  :root { --header-height: 74px; }
  .header-inner { gap: 14px; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 38px; height: 40px; border: 1px solid rgba(187, 164, 235, .21); background: rgba(61, 40, 85, .12); border-radius: 7px; }
  .menu-toggle span { display: block; width: 15px; height: 1px; background: #d8cdee; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: calc(var(--header-height) + 8px); left: 24px; right: 24px; margin: 0; background: #14111e; border: 1px solid #3c2c50; border-radius: 12px; padding: 10px 20px; box-shadow: 0 20px 70px rgba(0, 0, 0, .6); }
  .main-nav.is-open > a { padding: 14px 4px; font-size: 14px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .main-nav.is-open > a:last-child { border-bottom: 0; color: var(--accent-bright); }
  .main-nav .mobile-download { display: inline-flex; }
  .hero { min-height: 755px; }
  .hero-content { padding-top: 142px; }
  .hero h1 { font-size: 62px; }
  .hero-description { font-size: 16px; }
  .world-card { height: 206px; }
  .worlds-grid { grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; }
  .world-number, .world-card figcaption > .icon { display: none; }
  .world-card h3 { font-size: 14px; }
  .section-kicker > span { display: none; }
  .workflow-strip { padding-block: 23px; }
  .workflow-strip li { gap: 10px; font-size: 12px; }
  .workflow-strip li > .icon { width: 18px; height: 18px; }
  .section { padding-top: 79px; }
  .mode-card { padding: 25px 21px 18px; }
  .mode-card h3 { font-size: 24px; }
  .mode-description { font-size: 12px; min-height: 68px; }
  .workbench-grid { grid-template-columns: 1fr; gap: 33px; }
  .capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .capability, .capability:first-child, .capability:last-child { display: block; border: 0; padding: 0; }
  .capability-icon { margin-bottom: 14px; }
  .capability h3 { font-size: 16px; }
  .capability p { margin-top: 9px; }
  .faq-layout { grid-template-columns: 1fr 1.5fr; gap: 30px; }
  .faq-heading h2 { font-size: 28px; }
  .faq-section { padding-bottom: 73px; }
  .footer-links { gap: 17px; }
  .copyright { flex-basis: 100%; text-align: right; margin-top: -9px; }
  .article-layout { grid-template-columns: 1fr; gap: 33px; }
  .article-toc { position: static; max-height: none; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .article-toc nav { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
  .article-toc nav a { font-size: 11px; }
  .document-end-inner { align-items: flex-start; flex-direction: column; }
  html[lang="en"] .main-nav.is-open { gap: 0; }
  html[lang="en"] .hero h1 { font-size: 64px; }
  html[lang="en"] .mode-card h3 { font-size: 23px; }
  html[lang="en"] .mode-description { min-height: 94px; }
  html[lang="en"] .workflow-strip li { flex-direction: column; gap: 6px; font-size: 11px; }
}

@media (max-width: 640px) {
  :root { --header-height: 70px; }
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 10px; }
  .brand { gap: 9px; }
  .brand img { width: 33px; height: 33px; border-radius: 8px; }
  .brand-wordmark strong { font-size: 15px; }
  .brand-wordmark > span { font-size: 10px; letter-spacing: .01em; }
  .header-download { display: none; }
  .header-actions { gap: 9px; }
  .language-toggle { padding: 7px 4px; min-width: 46px; gap: 5px; }
  .language-toggle .icon { width: 15px; height: 15px; }
  .menu-toggle { width: 35px; height: 36px; }
  .hero { min-height: 735px; min-height: max(690px, 91svh); max-height: 910px; }
  .hero-art { object-position: 56% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(6, 7, 13, .18), rgba(7, 8, 16, .2) 40%, rgba(8, 9, 15, .05) 73%, #090a10 100%), radial-gradient(ellipse at 50% 28%, rgba(8, 9, 18, .48), transparent 75%); }
  .hero-content { padding-top: 126px; padding-bottom: 112px; }
  .hero-product { font-size: 22px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .01em; gap: 7px; }
  .hero h1 { font-size: clamp(27px, 7.6vw, 42px); line-height: 1.42; letter-spacing: -.035em; margin-top: 23px; }
  .hero-title-accent { margin-top: 2px; }
  .hero-description { margin-top: 22px; font-size: 14px; line-height: 1.85; letter-spacing: -.01em; }
  .hero-actions { margin-top: 27px; gap: 10px; flex-direction: column; align-items: center; }
  .hero-actions .button { width: min(290px, 100%); min-height: 48px; font-size: 13px; padding: 12px 18px; }
  .hero-actions .button-outline { background: rgba(10, 10, 22, .35); border-color: rgba(196, 180, 231, .36); }
  .hero-actions .icon { width: 18px; height: 18px; }
  .release-note { font-size: 9px; gap: 8px; margin-top: 17px; }
  .hero-bottom { bottom: 26px; }
  .hero-bottom-label { font-size: 7px; letter-spacing: .12em; }
  .concept-note { font-size: 8px; }
  .scroll-cue { padding: 6px; }
  .scroll-cue .icon { width: 14px; height: 14px; }
  .worlds-section { padding-top: 8px; }
  .pipeline-section { padding-top: 18px; }
  .pipeline-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .pipeline-heading h2 { font-size: 22px; }
  .pipeline-heading > .text-link { font-size: 13px; }
  .pipeline-description { font-size: 13px; }
  .section-kicker { margin-bottom: 16px; }
  .section-kicker h2 { font-size: 13px; }
  .worlds-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .world-desert { grid-column: 1 / -1; grid-row: 1; height: 205px; }
  .world-mountain, .world-city { height: 183px; }
  .world-card figcaption { inset: auto 14px 14px; }
  .world-card h3 { font-size: 14px; }
  .world-card figcaption p { font-size: 9px; margin-top: 3px; }
  .world-desert > img { object-position: center 63%; }
  .artwork-caption { font-size: 8px; line-height: 1.7; text-align: left; margin-top: 10px; }
  .workflow-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; padding: 24px 2px; margin-top: 28px; }
  .workflow-strip li { font-size: 12px; justify-content: flex-start; padding-left: 17px; gap: 10px; }
  .workflow-strip li + li::before { display: none; }
  .workflow-strip li:nth-child(2)::before, .workflow-strip li:nth-child(4)::before { display: block; left: -19px; font-size: 17px; }
  .section { padding-top: 62px; }
  .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .section-heading { margin-bottom: 27px; }
  .section-heading h2 { font-size: 29px; line-height: 1.42; margin-top: 13px; }
  .section-heading h2 > span { display: block; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 12px; margin-top: 12px; line-height: 1.9; max-width: 290px; margin-inline: auto; }
  .modes-grid { grid-template-columns: 1fr; gap: 15px; }
  .mode-card { padding: 25px 24px 19px; }
  .mode-overline { font-size: 10px; gap: 11px; }
  .mode-overline .icon { width: 27px; height: 27px; }
  .mode-card h3 { font-size: 25px; margin-top: 17px; line-height: 1.5; }
  .mode-description { min-height: 0; max-width: 100%; font-size: 12px; line-height: 1.9; margin-top: 13px; }
  .storyboard { margin-top: 22px; height: 109px; }
  .film-frame { height: 96px; }
  .film-frame.selected { height: 109px; }
  .factory-flow { margin-top: 31px; height: 93px; }
  .flow-step { gap: 12px; font-size: 11px; }
  .mode-footer { margin-top: 16px; padding-top: 14px; }
  .mode-tag { font-size: 10px; }
  .diagram-caption { font-size: 8px; }
  .workbench-grid { gap: 29px; }
  .workbench-image-link { padding: 3px; border-radius: 6px; }
  .workbench-image-link > img { border-radius: 3px; }
  .zoom-hint { opacity: 1; transform: none; bottom: 9px; right: 9px; padding: 5px 7px; font-size: 8px; gap: 4px; }
  .zoom-hint .icon { width: 12px; height: 12px; }
  .workbench-figure figcaption { font-size: 8px; }
  .workbench-figure figcaption > span:last-child { display: none; }
  .capabilities { grid-template-columns: 1fr; gap: 0; }
  .capability, .capability:first-child, .capability:last-child { display: flex; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
  .capability:first-child { padding-top: 0; }
  .capability:last-child { padding-bottom: 0; border: 0; }
  .capability-icon { width: 39px; height: 39px; margin: 0; }
  .capability h3 { font-size: 18px; }
  .capability p { font-size: 11px; margin-top: 5px; }
  .capability div > span { display: block; }
  .documentation-link { margin-top: 26px; font-size: 11px; }
  .faq-section { padding-bottom: 57px; }
  .faq-layout { display: block; padding-top: 30px; }
  .faq-heading { margin-bottom: 23px; }
  .faq-heading h2 { font-size: 28px; }
  .faq-heading > p:last-child { font-size: 12px; }
  .faq-heading .text-link { margin-top: 16px; }
  .faq-item summary { font-size: 13px; padding-block: 18px; }
  .faq-answer { font-size: 12px; padding-right: 10px; }
  .download-section { min-height: 517px; }
  .download-content { padding: 31px 0 48px; }
  .download-art { object-position: 63% center; }
  .download-logo { width: 45px; height: 45px; border-radius: 11px; }
  .download-content .eyebrow { margin-top: 20px; font-size: 9px; }
  .download-content h2 { font-size: 31px; margin-top: 14px; line-height: 1.5; }
  .download-content h2 span { display: block; }
  .download-actions { flex-direction: column; gap: 11px; margin-top: 24px; }
  .download-actions .button { width: min(290px, 100%); font-size: 13px; min-height: 48px; padding: 12px 18px; }
  .download-actions .icon { width: 18px; height: 18px; }
  .download-platform { font-size: 9px; margin-top: 19px; }
  .license-note { font-size: 9px; line-height: 1.8; max-width: 295px; margin-top: 10px; }
  .site-footer { padding: 26px 0; }
  .footer-inner { gap: 20px 12px; justify-content: space-between; }
  .footer-brand img { width: 30px; height: 30px; }
  .footer-brand .brand-wordmark strong { font-size: 12px; }
  .footer-links { width: 100%; order: 3; gap: 17px; margin: 0; font-size: 9px; }
  .footer-github { margin-left: auto; }
  .copyright { flex-basis: auto; margin-top: 0; font-size: 9px; }
  .screenshot-dialog { width: calc(100vw - 20px); max-height: calc(100svh - 28px); border-radius: 9px; }
  .dialog-toolbar { padding: 7px 9px; gap: 8px; }
  .dialog-toolbar h2 { font-size: 10px; }
  .dialog-close { padding: 7px; }
  .dialog-image-wrap { max-height: calc(100svh - 83px); }
  .dialog-image-wrap img { min-width: 900px; max-width: none; }
  .article-hero { padding-top: 102px; padding-bottom: 25px; }
  .breadcrumbs { font-size: 10px; margin-bottom: 22px; }
  .article-hero h1 { font-size: 31px; line-height: 1.4; margin-top: 12px; }
  .article-deck { font-size: 13px; margin-top: 14px; line-height: 1.9; }
  .article-meta { font-size: 9px; }
  .doc-nav { gap: 7px; margin-top: 23px; }
  .doc-nav a { font-size: 10px; padding: 6px 9px; }
  .article-layout { padding-top: 27px; padding-bottom: 52px; gap: 26px; }
  .article-toc { padding-bottom: 19px; }
  .article-toc > p { margin-bottom: 10px; font-size: 9px; }
  .article-toc nav { gap: 8px 17px; }
  .article-toc nav a { font-size: 10px; }
  body[data-page="faq"] .article-toc { display: none; }
  .article-content { font-size: 13px; }
  .article-content .article-intro { font-size: 14px; }
  .article-content h2 { font-size: 23px; margin-top: 33px; }
  .article-content h3 { font-size: 17px; }
  .article-content .info-note { padding: 14px 16px; font-size: 12px; }
  .article-actions .button { font-size: 12px; padding: 10px 13px; min-height: 43px; }
  .article-content th, .article-content td { padding: 11px 12px; font-size: 12px; }
  .step-list > li { padding-left: 39px; }
  .step-list > li::before { top: 23px; font-size: 10px; }
  .article-content .faq-item summary { font-size: 14px; }
  .article-content .faq-answer { font-size: 13px; }
  .document-end { padding-block: 34px; }
  .document-end h2 { font-size: 23px; }
  .document-end p { font-size: 12px; }
  .source-note { font-size: 10px; }
  html[lang="en"] .brand-wordmark strong { font-size: 15px; }
  html[lang="en"] .brand-wordmark > span { font-size: 6px; }
  html[lang="en"] .hero h1 { font-size: clamp(34px, 8vw, 49px); line-height: 1.14; margin-top: 29px; }
  html[lang="en"] .hero h1 .hero-title-accent { white-space: normal; max-width: 330px; margin: 7px auto 0; text-wrap: balance; }
  html[lang="en"] .hero-eyebrow { font-size: 9px; max-width: 300px; margin-inline: auto; }
  html[lang="en"] .hero-description { font-size: 12px; line-height: 1.9; max-width: 320px; margin-top: 23px; }
  html[lang="en"] .hero-description span { display: inline; }
  html[lang="en"] .hero-description span + span::before { content: " "; }
  html[lang="en"] .workflow-strip li { flex-direction: row; gap: 9px; font-size: 10px; padding-left: 8px; }
  html[lang="en"] .workflow-strip li > .icon { width: 17px; height: 17px; }
  html[lang="en"] .section-heading h2 { font-size: 29px; }
  html[lang="en"] .section-heading h2 > span + span::before,
  html[lang="en"] .download-content h2 > span + span::before { content: none; }
  html[lang="en"] .mode-card h3 { font-size: 27px; }
  html[lang="en"] .mode-description { min-height: 0; }
  html[lang="en"] .capability h3 { font-size: 18px; }
  html[lang="en"] .flow-step { font-size: 9px; }
  html[lang="en"] .download-content h2 { font-size: 36px; line-height: 1.25; }
  html[lang="en"] .license-note { max-width: 300px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 32px; }
  .brand-wordmark strong { font-size: 13px; }
  .header-actions { gap: 4px; }
  .mode-card { padding-inline: 19px; }
  .mode-card h3 { font-size: 23px; }
  .world-card { height: 160px; }
  .world-desert { height: 193px; }
  .workflow-strip li { padding-left: 6px; font-size: 11px; }
  html[lang="en"] .hero h1 { font-size: 36px; }
}

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