/* Source-reviewed reference layout. Visual parity is not yet accepted. */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url('/assets/font-4.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 900;font-display:swap;src:url('/assets/font-manrope-variable.ttf') format('truetype')}
:root{color-scheme:dark;--paper:oklch(15% .012 62);--paper-2:oklch(19% .014 62);--paper-3:oklch(24% .015 62);--ink:oklch(94% .009 78);--muted:oklch(79% .01 72);--quiet:oklch(70% .01 72);--line:oklch(31% .015 62);--line-strong:oklch(52% .017 62);--accent:oklch(72% .14 250);--accent-strong:oklch(82% .11 250);--accent-soft:oklch(25% .055 250);--accent-ink:oklch(17% .02 250);--gutter:clamp(16px,4vw,64px);--content:1240px;--radius:20px;--control-radius:12px;--glass:color-mix(in oklch,var(--accent) 3%,color-mix(in oklch,var(--paper-2) 64%,transparent));--glass-strong:color-mix(in oklch,var(--accent) 3%,color-mix(in oklch,var(--paper-2) 86%,transparent));--glass-border:color-mix(in oklch,var(--ink) 10%,transparent);--glass-border-strong:color-mix(in oklch,var(--ink) 17%,transparent);--glass-shadow:inset 0 1px 0 color-mix(in oklch,var(--ink) 7%,transparent),0 22px 70px -34px #000a;--font-display:'Space Grotesk','PingFang SC','Microsoft YaHei',sans-serif;--font-body:'Manrope','PingFang SC','Microsoft YaHei',system-ui,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:auto;scroll-padding-top:24px}
body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 75% 18%,color-mix(in oklch,var(--accent) 3%,transparent),transparent 38%),var(--paper);font:16px/1.6 var(--font-body);-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button,a,input,summary{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:0;line-height:1.45;font-weight:600;transition:background .18s,color .18s,border-color .18s,transform .18s}
button:disabled{cursor:not-allowed;opacity:.5}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--accent-strong);outline-offset:4px}
[tabindex='-1']:focus{outline:2px solid var(--accent);outline-offset:6px;border-radius:4px}
h1[tabindex='-1']:focus{outline:none}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:var(--font-display);text-wrap:balance;font-weight:600}
h1{font-size:clamp(36px,4vw,56px);line-height:1.08;letter-spacing:-.045em}
h2{font-size:clamp(24px,2.4vw,32px);line-height:1.25;letter-spacing:-.035em}
h3{font-size:20px;line-height:1.4;letter-spacing:-.02em}
svg{display:block;width:20px;height:20px;flex-shrink:0}
img{display:block;max-width:100%}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link{position:fixed;left:16px;top:12px;padding:12px 18px;background:var(--accent-strong);color:var(--accent-ink);z-index:100;transform:translateY(-180%);border-radius:var(--control-radius)}
.skip-link:focus{transform:translateY(0)}
.app-shell{min-width:0}
.topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;padding-inline:max(var(--gutter),calc((100% - var(--content))/2));background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:20}
.brand{display:inline-flex;align-items:center;gap:12px;min-width:0;min-height:72px;white-space:nowrap;font-family:var(--font-display)}
.brand-symbol{display:flex;align-items:center;justify-content:center;gap:4px;width:40px;height:40px;border:1px solid color-mix(in oklch,var(--accent) 36%,var(--line));border-radius:11px;background:var(--accent-soft);flex-shrink:0}
.brand-symbol i{display:block;width:7px;height:18px;border-radius:2px;background:var(--accent-strong)}
.brand-symbol i+i{height:25px;background:var(--accent)}
.brand-name{font-size:22px;font-weight:700;letter-spacing:-.045em}
.primary-nav{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}
.primary-nav a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:var(--control-radius);font-size:14px;white-space:nowrap;color:var(--muted);border:1px solid transparent}
.primary-nav a:hover{color:var(--ink);background:var(--paper-2)}
.primary-nav a[aria-current='page']{background:var(--glass);border-color:var(--glass-border);color:var(--accent-strong)}
.primary-nav a svg{width:18px;height:18px}
.topbar-actions{display:flex;align-items:center;gap:8px;min-width:0}
.language-switch,.daily-gift,.space-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;font-size:14px;border-radius:var(--control-radius);white-space:nowrap}
.language-switch{padding:8px;color:var(--muted)}
.language-switch svg{width:17px;height:17px}
.language-switch:hover{color:var(--ink);background:var(--paper-2)}
.daily-gift{position:relative;width:44px;padding:9px;border:1px solid var(--glass-border-strong);background:var(--glass);color:var(--accent-strong);box-shadow:var(--glass-shadow)}
.daily-gift:hover{background:var(--accent-soft)}
.daily-gift svg{width:23px;height:23px}
.gift-dot{position:absolute;right:7px;top:7px;width:5px;height:5px;border-radius:50%;background:var(--accent-strong);box-shadow:0 0 9px var(--accent)}
.space-link{padding:9px 15px;color:var(--ink);border:1px solid var(--glass-border-strong);background:var(--glass)}
.space-link:hover{border-color:var(--accent);background:var(--accent-soft)}
main{width:100%;max-width:var(--content);min-height:calc(100vh - 250px);padding:0 var(--gutter);margin-inline:auto}
.preview-note{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--glass-border);border-radius:10px;color:var(--quiet);background:var(--glass);font-size:12px;line-height:1.65;min-width:0}
.preview-note strong{font-size:12px;color:var(--accent-strong);white-space:nowrap;font-weight:600}
.preview-dot{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:var(--accent)}
.view{min-width:0;padding-bottom:24px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.13em;line-height:1.65;color:var(--accent-strong)}
.page-heading{max-width:850px;margin:64px 0 36px}
.page-heading .eyebrow{margin-bottom:12px}
.page-heading>p:last-child:not(.eyebrow){max-width:680px;margin-top:20px;color:var(--muted);font-size:17px;line-height:1.8}
.primary,.secondary,.quiet,.google{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:12px 18px;border-radius:var(--control-radius);font-size:14px;line-height:1.55;max-width:100%;text-align:center}
.primary{background:var(--accent-strong);color:var(--accent-ink);border:1px solid color-mix(in oklch,var(--accent-strong) 70%,transparent);box-shadow:inset 0 1px 0 #fff3,0 8px 24px -18px var(--accent);font-weight:700}
.primary:hover:enabled,a.primary:hover{background:color-mix(in oklch,var(--accent-strong) 86%,white);transform:translateY(-1px)}
.secondary,.quiet{background:var(--glass);color:var(--ink);border:1px solid var(--glass-border-strong)}
.secondary:hover:enabled,a.secondary:hover,.quiet:hover:enabled{background:var(--paper-3);border-color:var(--line-strong)}
.quiet{background:transparent}
.text-button{background:transparent;color:var(--muted);font-size:14px;padding:9px 0;text-align:left}
.text-button:hover:enabled{color:var(--accent-strong)}
.hl-hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:64px;row-gap:40px;align-items:start;padding:64px 0 96px}
.hl-intro{grid-column:1;grid-row:1;padding-top:24px;min-width:0}
.hl-intro>.eyebrow{margin-bottom:12px}
.hl-intro h1{font-size:clamp(44px,5vw + 16px,84px);line-height:1.02;letter-spacing:-.055em;margin-bottom:24px;overflow-wrap:break-word}
.title-second{display:block;color:var(--accent-strong)}
.hl-lede{font-size:20px;line-height:1.7;color:var(--muted);max-width:544px;margin-bottom:28px}
.hero-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:24px 0;border-block:1px solid var(--line);margin:28px 0 24px}
.hero-specs>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.hero-specs>div+div{padding-left:20px;border-left:1px solid var(--line)}
.hero-specs strong{font-family:var(--font-display);font-size:36px;font-weight:500;line-height:1.2;letter-spacing:-.045em;color:var(--ink)}
.hero-specs strong>span{font-size:21px;color:var(--muted);margin-left:2px}
.hero-specs>div>span{font-size:12px;color:var(--muted)}
.hero-features{padding:0;margin:0;list-style:none;display:grid;gap:12px;color:var(--muted);font-size:14px}
.hero-features li{display:flex;align-items:center;gap:10px}
.hero-features svg{width:16px;height:16px;color:var(--accent-strong)}
.hero-links{display:flex;gap:14px 24px;flex-wrap:wrap;margin-top:28px;font-size:14px;color:var(--accent-strong)}
.hero-links a{display:inline-flex;align-items:center;gap:8px;min-height:36px;text-underline-offset:5px}
.hero-links a:hover{text-decoration:underline}
.hero-links a+a{color:var(--muted)}
.hero-links svg{width:17px;height:17px}
.hero-balance{display:flex;align-items:baseline;gap:10px;margin-top:16px;color:var(--quiet);font-size:12px}
.hero-balance strong{font-size:18px;color:var(--ink);font-weight:500}
.generator-stack{display:contents}
.composer-card{grid-column:2;grid-row:1/3;min-width:0;padding:24px;border:1px solid var(--glass-border);border-radius:var(--radius);background:linear-gradient(145deg,color-mix(in oklch,var(--accent) 3%,transparent),transparent 45%),var(--glass);backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4);box-shadow:var(--glass-shadow)}
.composer-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
.composer-top h2{font-size:23px;line-height:1.35;margin-top:6px}
.composer-top .eyebrow{font-size:12px}
.badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid var(--glass-border-strong);border-radius:7px;background:var(--glass);font-size:12px;line-height:1.5;color:var(--muted);white-space:nowrap}
.flow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0 0 20px}
.flow-steps li{display:flex;align-items:center;gap:7px;min-width:0;color:var(--quiet);font-size:14px}
.flow-steps span{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border:1px solid var(--glass-border-strong);border-radius:50%;font-size:12px}
.flow-steps [data-state='current']{color:var(--accent-strong)}
.flow-steps [data-state='current'] span{color:var(--accent-ink);background:var(--accent-strong);border-color:var(--accent-strong)}
.flow-steps [data-state='complete'] span{color:var(--accent-strong);border-color:color-mix(in oklch,var(--accent) 55%,var(--line));background:var(--accent-soft)}
.subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.subject-slot{min-width:0;position:relative;aspect-ratio:4/5;border:1px solid var(--glass-border-strong);border-radius:var(--control-radius);background:var(--paper-3);overflow:hidden;isolation:isolate}
.subject-slot>img{position:absolute;left:0;top:0;width:200%;max-width:none;height:100%;object-fit:cover}
.subject-right>img{left:-100%}
.subject-slot::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#10131720,transparent 45%,#070a12cf);z-index:0;pointer-events:none}
.subject-number{position:absolute;top:12px;left:12px;z-index:1;display:grid;place-items:center;min-width:30px;height:26px;padding:0 6px;border:1px solid #ffffff38;border-radius:7px;background:#1b202b50;color:#fff;font-size:12px;backdrop-filter:blur(12px)}
.subject-slot figcaption{position:absolute;inset:auto 12px 14px;z-index:1;color:#fcf9f3;display:flex;flex-direction:column;gap:4px}
.subject-slot figcaption>span{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600}
.subject-slot figcaption svg{width:16px;height:16px}
.subject-slot figcaption small{font-size:12px;color:#d6d9df}
.slots-note{font-size:12px;line-height:1.65;color:var(--quiet);margin:10px 0 18px}
.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;padding:0;border:0;margin:0 0 18px}
.preset-grid legend,.format-picker legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:600;color:var(--muted)}
.preset-option{position:relative;display:flex;align-items:center;gap:7px;min-width:0;padding:7px;border:1px solid var(--glass-border);border-radius:10px;background:var(--glass);cursor:pointer;transition:border-color .18s,background .18s}
.preset-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.preset-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.preset-option:has(input:focus-visible){outline:3px solid var(--accent-strong);outline-offset:3px}
.preset-option:has(input:disabled){opacity:.5;cursor:not-allowed}
.preset-art{position:relative;width:34px;height:40px;flex-shrink:0;overflow:hidden;border-radius:5px;background:var(--paper-3)}
.preset-art img{width:100%;height:100%;object-fit:cover}
.preset-check{display:none;position:absolute;inset:auto 1px 1px auto;width:13px;height:13px;border:1px solid var(--accent-ink);border-radius:50%;place-items:center;color:var(--accent-ink);background:var(--accent-strong)}
.preset-check svg{width:10px;height:10px}
.preset-option:has(input:checked) .preset-check{display:grid}
.preset-name{font-size:12px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.preset-option:has(input:checked) .preset-name{color:var(--accent-strong)}
.creation-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px 12px;border-top:1px solid var(--glass-border);padding-top:18px;margin-bottom:18px;font-size:12px;color:var(--muted)}
.creation-summary>span{font-size:14px;color:var(--ink)}
.creation-summary p{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.creation-summary p>span+span{padding-left:10px;border-left:1px solid var(--line)}
.creation-summary strong{font-weight:600;color:var(--accent-strong)}
.format-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;min-width:0;margin:0;padding:0}
.format-picker label{position:relative;cursor:pointer;min-width:0}
.format-picker input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.format-picker label>span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;height:100%;padding:8px;border:1px solid var(--glass-border-strong);border-radius:var(--control-radius);font-size:14px;background:var(--glass);color:var(--muted)}
.format-picker label:has(input:checked)>span{color:var(--accent-strong);border-color:var(--accent);background:var(--accent-soft)}
.format-picker label:has(input:focus-visible)>span{outline:3px solid var(--accent-strong);outline-offset:3px}
.format-picker label:has(input:disabled){opacity:.5;cursor:not-allowed}
.format-picker i{display:block;border:1.5px solid currentColor;border-radius:3px;flex-shrink:0}
.format-landscape{width:20px;height:12px}
.format-portrait{width:12px;height:20px}
.creation-actions{position:static;margin-top:18px}
.creation-actions .primary,.creation-actions .secondary{width:100%;min-height:50px}
#studio-request-check{margin-top:10px}
.creation-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:14px;font-size:12px;line-height:1.65;color:var(--quiet);text-align:center}
.creation-note svg{width:14px;height:14px}
.preset-boundary{margin-top:18px;padding-top:12px;border-top:1px solid var(--glass-border)}
summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:34px;cursor:pointer;font-size:14px;color:var(--muted)}
summary::-webkit-details-marker{display:none}
summary>span:last-child{color:var(--quiet);font-size:18px}
.preset-boundary p,.plan-rules p{margin-top:10px;font-size:12px;line-height:1.8;color:var(--quiet)}
.preview-stage{grid-column:1;grid-row:2;overflow:hidden;min-width:0;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass);box-shadow:var(--glass-shadow)}
.stage-screen{position:relative;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--paper-2)}
.stage-screen>img{width:100%;height:100%;object-fit:contain}
.stage-badge{position:absolute;top:12px;right:12px;padding:4px 8px;border:1px solid #ffffff40;border-radius:6px;background:#121722b8;font-size:12px;color:#f3f4f8;backdrop-filter:blur(14px)}
.preview-stage figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 0}
.preview-stage figcaption strong{font-size:18px;font-weight:500}
.preview-stage figcaption p{font-size:14px;color:var(--muted);margin-top:5px;line-height:1.7}
.preview-stage figcaption>span{color:var(--quiet)}
.stage-note{padding:10px 20px 18px;color:var(--quiet);font-size:12px}
.request-status{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.7;color:var(--muted)}
.request-status:not(:empty){margin-top:12px;padding:10px 12px;background:var(--accent-soft);border:1px solid color-mix(in oklch,var(--accent) 23%,var(--line));border-radius:10px}
.request-status:empty{margin:0;padding:0}
.request-status[data-state='error']{color:oklch(85% .09 35);border-color:oklch(43% .07 35);background:oklch(23% .032 35)}
.request-status[data-state='pending']{color:oklch(84% .08 80);border-color:oklch(42% .05 80);background:oklch(23% .022 80)}
.request-status[data-state='success']{color:oklch(85% .08 155);border-color:oklch(42% .05 155);background:oklch(23% .022 155)}
.how-it-works{padding:48px 0 40px;border-top:1px solid var(--line)}
.section-heading{max-width:740px;margin-bottom:28px}
.section-heading .eyebrow{margin-bottom:12px}
.section-heading>p:last-child{margin-top:16px;color:var(--muted);font-size:16px;line-height:1.8}
.workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.workflow-grid article{padding:24px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass)}
.workflow-grid article>span{color:var(--accent-strong);font-size:14px}
.workflow-grid h3{margin-top:18px;font-size:20px}
.workflow-grid p{margin-top:10px;font-size:14px;color:var(--muted);line-height:1.85}
.preset-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}
.preset-filters button{border:1px solid var(--glass-border-strong);border-radius:999px;background:var(--glass);color:var(--muted);font-size:14px;min-height:42px;padding:8px 15px}
.preset-filters button[aria-pressed='true']{color:var(--accent-strong);border-color:var(--accent);background:var(--accent-soft)}
.preset-filters button:hover{border-color:var(--accent)}
.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.scene-card{overflow:hidden;min-width:0;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass);box-shadow:var(--glass-shadow);transition:border-color .2s}
.scene-card:hover{border-color:var(--glass-border-strong)}
.scene-cover{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--paper-3)}
.scene-cover img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.scene-card:hover .scene-cover img{transform:scale(1.025)}
.scene-cover>span{position:absolute;top:14px;left:14px;padding:4px 9px;border:1px solid #ffffff40;border-radius:999px;background:#141a24bd;color:#f7f6f0;font-size:12px;backdrop-filter:blur(12px)}
.scene-cover>.cover-index{left:auto;right:14px}
.scene-info{padding:22px}
.scene-info h2{font-size:26px;margin-top:8px}
.scene-info>p:not(.eyebrow){margin-top:12px;min-height:52px;color:var(--muted);font-size:14px;line-height:1.85}
.scene-bottom{display:flex;flex-direction:column;align-items:start;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid var(--glass-border)}
.scene-bottom>span{font-size:12px;color:var(--quiet)}
.scene-bottom i{font-style:normal;padding:0 5px}
.scene-bottom button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:8px 0;background:transparent;color:var(--accent-strong);font-size:14px;text-align:left}
.collection-note,.library-note{margin:24px 0;color:var(--quiet);font-size:12px;line-height:1.8;text-align:center}
.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px;padding:22px 0;border-block:1px solid var(--line)}
.library-toolbar h2{display:flex;align-items:center;gap:12px;font-size:24px}
#studio-library-count{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border:1px solid var(--glass-border-strong);border-radius:7px;color:var(--accent-strong);background:var(--accent-soft);font-size:12px;font-weight:500}
.library-toolbar p{margin-top:7px;color:var(--muted);font-size:14px}
.library-toolbar .secondary{flex-shrink:0}
.jobs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:18px}
.empty{grid-column:1/-1;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed var(--glass-border-strong);border-radius:var(--radius);background:var(--glass);padding:32px;color:var(--muted);font-size:16px}
.empty-icon,.account-icon{display:grid;place-items:center;width:52px;height:52px;border:1px solid color-mix(in oklch,var(--accent) 30%,var(--line));border-radius:14px;color:var(--accent-strong);background:var(--accent-soft)}
.empty-icon{margin-bottom:20px}
.empty-icon svg{width:24px;height:24px}
.empty p{max-width:460px;margin:12px 0 24px;color:var(--muted);font-size:14px}
.empty h3{font-size:22px;color:var(--ink)}
.job{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass)}
.job p{font-size:12px;color:var(--muted);overflow-wrap:anywhere;line-height:1.8}
.job h3{margin-top:10px;font-size:20px}
.job video{display:block;width:100%;max-height:360px;object-fit:contain;background:#101216;border:1px solid var(--glass-border);border-radius:10px;margin:16px 0}
.job a{color:var(--accent-strong);font-size:14px;padding:10px 0;text-decoration:underline;text-underline-offset:5px}
.job .secondary{margin-top:12px}
.plan-modes{display:flex;flex-wrap:wrap;gap:6px;width:fit-content;padding:6px;margin:0 0 32px;border:1px solid var(--glass-border);border-radius:16px;background:var(--glass)}
.plan-modes button{min-height:44px;padding:9px 16px;background:transparent;border:1px solid transparent;border-radius:10px;color:var(--muted);font-size:14px}
.plan-modes [aria-pressed='true']{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}
.membership-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:64px;align-items:start;max-width:1120px}
.plan-card{min-width:0;padding:28px;border:1px solid color-mix(in oklch,var(--accent-strong) 52%,var(--line));border-radius:28px;background:linear-gradient(155deg,color-mix(in oklch,var(--accent-soft) 72%,var(--paper-3)),var(--paper-2));box-shadow:var(--glass-shadow)}
.plan-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.plan-header h2{font-size:25px;margin-top:8px}
.plan-price{display:flex;align-items:baseline;gap:9px;margin-top:28px}
.plan-price strong{font-family:var(--font-display);font-size:64px;line-height:1.2;font-weight:500;letter-spacing:-.055em}
.plan-price>span{font-size:16px;color:var(--muted)}
.price-disclaimer{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.8}
.plan-equivalent{margin:24px 0;padding:22px 0;border-block:1px solid var(--glass-border-strong)}
.plan-equivalent>strong{font-size:36px;font-weight:500;line-height:1.3;color:var(--accent-strong)}
.plan-equivalent strong>span{font-size:16px;color:var(--ink)}
.plan-equivalent p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:8px}
.plan-benefits{display:grid;gap:14px;list-style:none;padding:0;margin:0 0 26px}
.plan-benefits li{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.plan-benefits svg{width:17px;height:17px;color:var(--accent-strong)}
.plan-summary,#studio-billing{font-size:14px;color:var(--muted);line-height:1.8}
.plan-actions{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.plan-actions .request-status:not(:empty){margin-top:0}
.plan-rules{padding-top:16px;margin-top:20px;border-top:1px solid var(--glass-border)}
.membership-story{padding-top:28px;min-width:0}
.membership-story h2{font-size:clamp(30px,3.2vw,44px);line-height:1.25;margin-top:18px}
.membership-story>p:not(.eyebrow){font-size:16px;color:var(--muted);line-height:1.9;margin-top:24px}
.plan-facts{margin:28px 0}
.plan-facts>div{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}
.plan-facts dt{color:var(--quiet)}
.plan-facts dd{margin:0;text-align:right}
.plan-facts a{display:inline-flex;align-items:center;gap:7px;color:var(--accent-strong)}
.plan-facts svg{width:17px;height:17px}
.account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:64px;align-items:start;max-width:1120px}
.account-card{padding:32px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass);box-shadow:var(--glass-shadow);min-width:0}
.account-icon{margin-bottom:24px}
.account-icon svg{width:24px;height:24px}
.account-card h2{font-size:28px}
.account-intro{font-size:16px;color:var(--muted);line-height:1.85;margin-top:16px}
.identity-state{padding:12px 14px;margin:22px 0;background:var(--accent-soft);border:1px solid color-mix(in oklch,var(--accent) 24%,var(--line));border-radius:10px;font-size:14px;color:var(--muted);overflow-wrap:anywhere}
label[for]{display:block;margin-bottom:9px;font-size:14px;color:var(--muted)}
input:not([type=radio]):not([type=checkbox]):not([type=file]){display:block;width:100%;min-width:0;min-height:50px;padding:12px 14px;border:1px solid var(--glass-border-strong);border-radius:var(--control-radius);background:var(--paper-2);color:var(--ink);font-size:16px;outline-offset:3px}
input::placeholder{color:var(--quiet)}
#verify-form>.primary{width:100%;margin-top:14px}
.auth-divider{display:flex;align-items:center;gap:14px;margin:26px 0;color:var(--quiet);font-size:12px}
.auth-divider::before,.auth-divider::after{content:'';height:1px;flex:1;background:var(--line)}
.google{width:100%;background:var(--paper-3);border:1px solid var(--glass-border-strong);color:var(--ink)}
.google-g{font-weight:700;font-size:19px;line-height:1}
.muted{font-size:12px;color:var(--quiet);line-height:1.8;margin-top:12px}
.local-inbox{margin-top:24px;border-top:1px solid var(--line);padding-top:14px}
.inbox-note{font-size:12px;color:var(--quiet);line-height:1.8;margin:10px 0}
#inbox-items{display:flex;flex-direction:column;gap:10px;margin-top:12px}
#inbox-items button{justify-content:flex-start;text-align:left;font-size:14px;overflow-wrap:anywhere}
.space-story{padding:32px 0;min-width:0}
.space-story>.empty-icon{margin-bottom:28px}
.space-story h2{font-size:clamp(30px,3vw,44px);line-height:1.25;margin-top:16px}
.space-story p:not(.eyebrow){font-size:16px;color:var(--muted);line-height:1.9;margin-top:24px}
.space-story .secondary{margin-top:28px}
.account-quick-links{display:flex;flex-direction:column;gap:14px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line);font-size:14px;color:var(--accent-strong)}
.account-quick-links a{display:flex;align-items:center;gap:10px;min-height:32px}
.account-quick-links svg{width:18px;height:18px}
.studio-footer{display:flex;align-items:start;justify-content:space-between;gap:24px;max-width:calc(var(--content) + var(--gutter)*2);padding:32px var(--gutter) 40px;margin:64px auto 0;border-top:1px solid var(--line);font-size:12px;color:var(--quiet)}
.studio-footer>div{display:flex;flex-direction:column;gap:8px}
.footer-brand{font-family:var(--font-display);font-size:20px;font-weight:600;letter-spacing:-.035em;color:var(--ink)}
.studio-footer i{font-style:normal;padding:0 5px}
.studio-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;font-size:14px}
.studio-footer nav a{min-height:38px;display:inline-flex;align-items:center}
.studio-footer a:hover{color:var(--accent-strong)}
#recovery-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:32px;border:1px solid var(--glass-border-strong);border-radius:var(--radius);color:var(--ink);background:var(--paper-2);box-shadow:0 30px 100px #0009;overflow:auto}
#recovery-dialog::backdrop{background:#080c12b8;backdrop-filter:blur(12px)}
#recover-form{position:relative;min-width:0}
.dialog-close{display:grid;place-items:center;position:absolute;top:-12px;right:-12px;width:44px;height:44px;border:1px solid var(--glass-border);border-radius:50%;background:var(--glass);color:var(--muted);font-size:25px;font-weight:400}
#recovery-dialog h2{font-size:32px}
#recovery-dialog p:not(.muted):not(.request-status){margin:14px 0 22px;color:var(--muted);font-size:16px;line-height:1.8}
#recovery-dialog .primary{width:100%;margin-top:16px}
@media(max-width:1180px){.topbar{gap:16px}.brand-name{font-size:20px}.primary-nav a{padding-inline:10px;gap:6px}.language-switch svg{display:none}.hl-hero{column-gap:40px}.preset-option{flex-direction:column;justify-content:center;text-align:center}.preset-art{width:100%;height:50px}.preset-name{font-size:12px}.membership-layout,.account-layout{gap:40px}}
@media(max-width:960px){.hl-hero{grid-template-columns:minmax(0,1fr);row-gap:40px;padding-top:24px;padding-bottom:64px}.hl-intro{grid-column:1;grid-row:1;padding-top:12px;max-width:740px}.hl-intro h1{font-size:clamp(44px,7.4vw,72px);line-height:1.04;max-width:800px}.title-second{display:inline}.hl-lede{max-width:640px}.hero-specs{max-width:560px}.hero-features{display:flex;flex-wrap:wrap;gap:12px 20px}.hero-links{margin-top:20px}.composer-card{grid-column:1;grid-row:2;max-width:740px;width:100%;justify-self:center}.preview-stage{grid-column:1;grid-row:3;max-width:740px;width:100%;justify-self:center}.preset-option{flex-direction:row;justify-content:flex-start;text-align:left}.preset-art{width:44px;height:48px}.preset-name{font-size:14px}.subject-slot{aspect-ratio:4/5}.stage-screen{aspect-ratio:16/9}.explore-grid{gap:16px}.scene-info{padding:18px}.scene-info h2{font-size:23px}.jobs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.membership-layout,.account-layout{gap:28px}.plan-card{padding:24px}.plan-header{align-items:start;flex-wrap:wrap}.account-card{padding:24px}.page-heading{margin-top:48px}}
@media(max-width:863px){.topbar{grid-template-columns:minmax(0,1fr) auto;gap:0 16px}.brand{min-height:64px}.brand-symbol{width:34px;height:34px;border-radius:9px}.brand-name{font-size:20px}.topbar-actions{grid-column:2;grid-row:1}.primary-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;border-top:1px solid var(--line);padding-block:8px;gap:4px}.primary-nav a{padding:9px 14px;font-size:14px}.language-switch svg{display:block}.workflow-grid{grid-template-columns:minmax(0,1fr)}.workflow-grid article{padding:24px}.workflow-grid h3{margin-top:12px}.explore-grid{grid-template-columns:minmax(0,1fr);gap:24px}.scene-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}.scene-cover{aspect-ratio:auto;min-height:270px}.scene-info{padding:24px}.scene-info>p:not(.eyebrow){min-height:0}.scene-info h2{font-size:28px}.membership-layout,.account-layout{grid-template-columns:minmax(0,1fr);gap:32px}.plan-card{max-width:660px;width:100%}.membership-story{padding-top:8px;max-width:660px}.account-card{max-width:660px;width:100%}.space-story{max-width:660px;padding-top:8px}.studio-footer{flex-direction:column;gap:20px;margin-top:48px}.studio-footer nav{gap:8px 20px}}
@media(max-width:560px){.topbar{gap:0 8px;padding-inline:16px}.brand{gap:8px}.brand-name{font-size:18px}.brand-symbol{width:30px;height:32px;border-radius:8px;gap:3px}.brand-symbol i{width:5px;height:16px}.brand-symbol i+i{height:22px}.topbar-actions{gap:5px}.language-switch{padding:6px;min-width:32px;font-size:14px}.language-switch svg{display:none}.daily-gift{width:40px;min-height:40px;padding:8px}.space-link{padding:8px 10px;min-height:40px;font-size:14px}.primary-nav{justify-content:space-between;gap:2px;padding-block:7px}.primary-nav a{padding:9px 8px;gap:6px}.primary-nav a svg{width:16px;height:16px}main{padding-top:16px}.preview-note{align-items:flex-start;gap:8px;padding:10px;font-size:12px;flex-wrap:wrap}.preview-note>span:last-child{flex-basis:100%}.preview-dot{margin-top:7px}.hl-hero{padding-top:28px;row-gap:32px}.hl-intro{padding-top:0}.hl-intro h1{font-size:clamp(44px,10vw,58px);letter-spacing:-.05em;line-height:1.1;margin-bottom:20px}.title-second{display:block}.hl-lede{font-size:17px;line-height:1.8;margin-bottom:24px}.hero-specs{margin:24px 0;padding:20px 0;gap:10px}.hero-specs strong{font-size:32px}.hero-specs>div+div{padding-left:14px}.hero-specs>div>span{font-size:12px}.hero-features{display:grid;gap:10px;font-size:14px}.hero-links{gap:8px 18px;margin-top:18px}.composer-card{padding:16px;border-radius:20px}.composer-top{align-items:start;gap:8px;margin-bottom:20px;flex-wrap:wrap}.composer-top h2{font-size:21px}.composer-top .eyebrow{font-size:12px}.badge{font-size:12px}.flow-steps{gap:7px}.flow-steps li{gap:6px;font-size:14px}.flow-steps span{width:23px;height:23px}.subject-grid{gap:10px}.subject-slot{aspect-ratio:3/4}.subject-number{top:9px;left:9px;min-width:27px;height:24px}.subject-slot figcaption{inset:auto 9px 10px}.subject-slot figcaption>span{gap:5px;font-size:14px}.subject-slot figcaption small{font-size:12px}.subject-slot figcaption svg{width:14px;height:14px}.slots-note{font-size:12px}.preset-grid{gap:7px}.preset-option{flex-direction:column;justify-content:center;padding:6px;text-align:center;gap:6px}.preset-art{width:100%;height:49px}.preset-name{font-size:12px;line-height:1.5}.creation-summary{gap:8px;margin-bottom:16px;padding-top:16px}.creation-summary p{gap:8px;font-size:12px}.creation-summary strong{font-size:12px}.format-picker{gap:8px}.format-picker label>span{gap:6px;padding-inline:6px;font-size:14px}.creation-note{text-align:left;align-items:flex-start;font-size:12px}.creation-note svg{margin-top:3px}.preset-boundary p,.plan-rules p{font-size:12px}.request-status{font-size:14px}.stage-screen{aspect-ratio:4/3}.preview-stage figcaption{padding:16px 16px 0}.preview-stage figcaption strong{font-size:18px}.preview-stage figcaption p{font-size:14px}.stage-note{padding:10px 16px 16px;font-size:12px}.how-it-works{padding:32px 0 24px}.section-heading h2{font-size:27px}.section-heading>p:last-child{font-size:14px}.workflow-grid article{padding:20px}.workflow-grid p{font-size:14px}.page-heading{margin:40px 0 28px}.page-heading h1{font-size:36px}.page-heading>p:last-child:not(.eyebrow){font-size:16px;margin-top:16px}.preset-filters{gap:7px;margin-bottom:20px}.preset-filters button{padding:8px 12px;font-size:14px}.scene-card{display:block}.scene-cover{aspect-ratio:4/3;min-height:0}.scene-info{padding:22px}.scene-info h2{font-size:28px}.scene-bottom{gap:8px;margin-top:18px}.collection-note,.library-note{font-size:12px;text-align:left}.library-toolbar{align-items:start;gap:12px;flex-wrap:wrap;padding:20px 0}.library-toolbar h2{font-size:24px}.library-toolbar p{font-size:14px}.library-toolbar .secondary{font-size:14px;min-height:44px}.jobs-grid{grid-template-columns:minmax(0,1fr);gap:16px}.empty{padding:28px 20px;min-height:300px;font-size:16px}.empty h3{font-size:21px}.empty p{font-size:14px}.job{padding:18px}.job p{font-size:12px}.job video{max-height:420px}.plan-modes{width:100%;gap:4px;padding:5px}.plan-modes button{padding:8px 10px;font-size:14px;flex:1}.membership-layout{gap:28px}.plan-card{padding:22px;border-radius:24px}.plan-header{gap:12px}.plan-header h2{font-size:25px}.plan-price strong{font-size:60px}.plan-price>span{font-size:16px}.plan-equivalent>strong{font-size:34px}.plan-equivalent strong>span{font-size:14px}.plan-equivalent p{font-size:12px}.plan-benefits li{font-size:14px}.membership-story h2{font-size:34px}.membership-story>p:not(.eyebrow){font-size:16px}.plan-facts>div{font-size:14px}.account-layout{gap:24px}.account-card{padding:22px}.account-card h2{font-size:26px}.account-intro{font-size:16px}.identity-state{font-size:14px}.space-story h2{font-size:34px}.space-story p:not(.eyebrow){font-size:16px}.space-story .secondary{width:100%}.studio-footer{padding-top:28px;padding-bottom:32px;font-size:12px}.studio-footer nav{width:100%;align-items:start;gap:8px 20px;font-size:14px}.studio-footer nav a,.studio-footer .text-button{font-size:14px}.studio-footer .text-button{white-space:normal}#recovery-dialog{padding:26px 22px}#recovery-dialog h2{font-size:30px}#recovery-dialog p:not(.muted):not(.request-status){font-size:16px}}
@media(max-width:360px){.brand{gap:6px}.brand-name{font-size:16px}.brand-symbol{width:27px;height:29px}.topbar-actions{gap:4px}.language-switch{min-width:30px;padding:5px}.space-link{padding-inline:9px}.primary-nav a{font-size:14px;padding-inline:7px;gap:5px}.primary-nav a svg{display:none}.hl-intro h1{font-size:44px}.hero-specs>div+div{padding-left:10px}.hero-specs strong{font-size:30px}.composer-top h2{font-size:20px}.composer-top .badge{font-size:12px}.flow-steps li{font-size:14px;gap:5px}.flow-steps span{width:22px;height:22px}.format-picker label>span{font-size:14px;gap:5px}.format-picker i{display:none}.plan-modes button{padding-inline:7px}.plan-card,.account-card{padding:20px}.plan-price strong{font-size:54px}.plan-equivalent strong>span{font-size:14px}}
@media(max-width:560px){.flow-steps li{flex-direction:column;align-items:flex-start;gap:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.scene-card:hover .scene-cover img,.primary:hover:enabled,a.primary:hover{transform:none}}

/* Complete reference-site information architecture. Original copy and artwork. */
.hl-hero{grid-template-rows:auto;row-gap:0}
.hl-intro h1{line-height:1.01}
#studio-title>span{display:block;white-space:nowrap}
.hl-intro .title-second{display:block}
.composer-card{grid-row:1}
.content-band{padding:64px 0;border-top:1px solid var(--line);min-width:0}
.content-band>.section-heading{margin-bottom:32px}
.section-heading h2{font-size:clamp(28px,3.1vw,42px);line-height:1.18;letter-spacing:-.04em}
.section-heading p:not(.eyebrow){margin-top:18px;font-size:16px;line-height:1.85;color:var(--muted)}
.section-heading-with-link{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;max-width:none}
.section-heading-with-link>div{max-width:740px}
.section-heading-with-link>a,.inline-link{display:inline-flex;align-items:center;gap:8px;min-height:38px;color:var(--accent-strong);font-size:14px;line-height:1.6;text-underline-offset:5px}
.section-heading-with-link>a{flex-shrink:0}
.inline-link:hover,.section-heading-with-link>a:hover{text-decoration:underline}
.body-copy{font-size:16px;color:var(--muted);line-height:1.9}
.example-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:24px;align-items:start;margin:28px 0}
.example-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.example-input{min-width:0}
.example-input>div{position:relative;aspect-ratio:3/4;border:1px solid var(--glass-border-strong);border-radius:12px;overflow:hidden;background:var(--paper-3)}
.example-input img{position:absolute;inset:0 auto auto 0;width:200%;max-width:none;height:100%;object-fit:cover}
.example-input.subject-right img{left:-100%}
.example-input figcaption{display:flex;flex-direction:column;gap:3px;padding:12px 0;font-size:14px;color:var(--muted)}
.example-input figcaption strong{font-size:14px;color:var(--ink);font-weight:500}
.example-input figcaption span{font-size:12px}
.example-input-note{font-size:12px;color:var(--quiet);line-height:1.8;margin-top:12px}
.example-concept{grid-area:auto;max-width:none;width:100%;justify-self:stretch}
.example-concept .stage-screen{aspect-ratio:16/9}
.example-concept .stage-badge{max-width:calc(100% - 24px);font-size:12px;line-height:1.6}
.example-truth{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;margin:20px 0;border:1px solid var(--glass-border);border-radius:12px;background:var(--glass);color:var(--muted);font-size:14px;line-height:1.8}
.example-truth svg{width:18px;height:18px;margin-top:3px;color:var(--accent-strong)}
.how-it-works{padding:64px 0}
.what-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start}
.what-section .section-heading{margin-bottom:24px}
.video-specs{padding:8px 24px;margin:0;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass)}
.video-specs>div{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;padding:20px 0}
.video-specs>div+div{border-top:1px solid var(--glass-border)}
.video-specs dt{color:var(--quiet);font-size:14px}
.video-specs dd{margin:0;min-width:0;display:flex;flex-direction:column;gap:8px}
.video-specs strong{font-size:16px;color:var(--ink);font-weight:500}
.video-specs dd>span{font-size:14px;color:var(--muted);line-height:1.8}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.feature-grid article{padding:24px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass)}
.feature-grid article>span{display:block;color:var(--accent-strong);font-size:14px;line-height:1.5;min-height:22px}
.feature-grid h3{font-size:21px;margin-top:20px;line-height:1.45}
.feature-grid p{margin-top:12px;color:var(--muted);font-size:14px;line-height:1.85}
.tips-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;list-style:none;padding:0;margin:0}
.tips-grid>li{display:flex;align-items:flex-start;gap:18px;border-top:1px solid var(--line);padding:26px 0}
.tips-grid>li>span{font-size:12px;color:var(--accent-strong);padding-top:4px}
.tips-grid h3{font-size:20px}
.tips-grid p{font-size:14px;color:var(--muted);line-height:1.85;margin-top:10px}
.effect-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.effect-card{min-width:0;overflow:hidden;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass);box-shadow:var(--glass-shadow)}
.effect-card-image{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--paper-3)}
.effect-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.effect-card:hover .effect-card-image img{transform:scale(1.025)}
.effect-card-image>span{position:absolute;top:12px;left:12px;padding:4px 8px;font-size:12px;line-height:1.6;color:#f7f5ef;background:#111923bb;border:1px solid #ffffff30;border-radius:6px;backdrop-filter:blur(12px)}
.effect-card-copy{padding:22px}
.effect-card-copy h3{font-size:26px;margin-top:9px;line-height:1.3}
.effect-card-copy>p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.85;margin-top:12px;min-height:52px}
.effect-spec{display:block;color:var(--quiet);font-size:12px;line-height:1.8;margin-top:16px}
.effect-card-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid var(--glass-border)}
.effect-card-actions a,.effect-card-actions button{display:inline-flex;align-items:center;gap:7px;font-size:14px;min-height:40px;color:var(--accent-strong);background:transparent;padding:4px 0}
.effect-card-actions button{color:var(--muted)}
.effect-card-actions a svg{width:16px;height:16px}
.effect-guide-list{display:grid;gap:24px}
.effect-guide{min-width:0;scroll-margin-top:24px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass);overflow:hidden}
.effect-guide>summary{padding:24px;font-size:26px;color:var(--ink)}
.effect-guide>summary>span:first-child{display:flex;flex-direction:column;gap:8px}
.effect-guide small{font-size:12px;color:var(--accent-strong);letter-spacing:.12em}
.effect-guide>summary>span:last-child{font-size:26px;color:var(--accent-strong)}
.effect-guide-body{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px;padding:0 24px 28px;align-items:start}
.effect-guide-body>img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.effect-guide-body h2{margin-top:18px;font-size:30px}
.effect-guide-body p{font-size:16px;color:var(--muted);line-height:1.8;margin-top:12px}
.effect-guide-body dl{margin:20px 0}
.effect-guide-body dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid var(--line);font-size:14px}
.effect-guide-body dt{color:var(--quiet)}
.effect-guide-body dd{margin:0;color:var(--muted)}
.faq-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start}
.faq-layout .section-heading{margin-bottom:20px}
.faq-list{min-width:0;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item>summary{padding:20px 0;font-size:16px;line-height:1.7;color:var(--ink);gap:20px}
.faq-item>summary>span:last-child{font-size:22px;color:var(--accent-strong);flex-shrink:0;font-weight:400;transition:rotate .15s}
.faq-item[open]>summary>span:last-child{rotate:45deg}
.faq-item>p{font-size:14px;line-height:1.9;color:var(--muted);padding:0 28px 22px 0}
.final-cta{text-align:center;max-width:850px;padding:72px 0 24px;margin-inline:auto}
.final-cta h2{font-size:clamp(32px,4.2vw,56px);line-height:1.15;letter-spacing:-.045em;margin-top:18px}
.final-cta p:not(.eyebrow){font-size:17px;line-height:1.85;color:var(--muted);max-width:620px;margin:22px auto 0}
.final-cta .primary{margin-top:28px;min-height:52px;padding-inline:24px;font-size:16px}
.plan-modes{margin-bottom:28px;border-radius:16px}
.plan-modes button{min-height:46px;font-size:14px;padding-inline:20px}
.plan-modes button>span{font-size:12px;margin-left:5px;color:var(--accent-strong)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.pricing-grid-packs{grid-template-columns:repeat(4,minmax(0,1fr))}
.pricing-card{display:flex;flex-direction:column;gap:18px;min-width:0;padding:24px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(150deg,var(--paper-3),var(--paper-2));scroll-margin-top:24px}
.pricing-card[data-selected='true']{border-color:color-mix(in oklch,var(--accent-strong) 70%,var(--line));background:linear-gradient(150deg,color-mix(in oklch,var(--accent-soft) 76%,var(--paper-3)),var(--paper-2));box-shadow:var(--glass-shadow)}
.pricing-card-labels{display:flex;justify-content:space-between;align-items:start;gap:8px;min-height:28px;font-size:12px;color:var(--quiet);line-height:1.6}
.pricing-badge{display:inline-block;color:var(--accent-strong);font-size:12px;white-space:nowrap}
.pricing-card h3{font-size:27px;line-height:1.25;letter-spacing:-.035em}
.pricing-card-description{font-size:14px;line-height:1.8;color:var(--muted);min-height:50px}
.unit-price{font-size:12px;color:var(--quiet);line-height:1.6;margin-top:2px}
.pricing-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin-top:-10px}
.pricing-amount strong{font-size:clamp(32px,3.5vw,48px);font-family:var(--font-display);font-weight:500;line-height:1.2;letter-spacing:-.05em}
.pricing-amount>span{font-size:14px;color:var(--muted)}
.pricing-billed{font-size:12px;line-height:1.8;color:var(--muted);min-height:44px}
.pricing-billed strong{font-size:12px;color:var(--ink);font-weight:600}
.pricing-card>.primary,.pricing-card>.secondary{width:100%;margin-top:auto;min-height:48px}
.pricing-local{font-size:12px;line-height:1.65;color:var(--quiet);margin-top:-9px;text-align:center}
.pricing-capacity{display:flex;flex-direction:column;gap:8px;padding:18px 0;border-block:1px solid var(--glass-border)}
.pricing-capacity>span{font-size:12px;color:var(--quiet)}
.pricing-capacity>strong{font-size:22px;line-height:1.4;font-weight:500}
.pricing-capacity>p{font-size:12px;color:var(--muted);line-height:1.8}
.pricing-credit-grant{font-size:14px;color:var(--muted);line-height:1.8}
.pricing-credit-grant strong{font-size:18px;color:var(--ink);font-weight:500}
.pricing-credit-grant>span{font-size:12px;display:block;color:var(--quiet)}
.pricing-plan-details{padding-top:4px}
.pricing-plan-details summary{font-size:14px;min-height:32px;color:var(--muted)}
.pricing-plan-details ul{padding-left:18px;margin:12px 0 0;font-size:12px;color:var(--muted);line-height:1.85}
.pricing-plan-details li+li{margin-top:7px}
.pack-quantity{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px}
.pack-quantity label{font-size:14px;color:var(--muted);margin:0}
.pack-quantity select{font:inherit;font-size:14px;color:var(--ink);background:var(--paper-2);border:1px solid var(--glass-border-strong);border-radius:8px;min-height:42px;padding:7px 26px 7px 10px}
.pricing-trust{display:flex;justify-content:center;align-items:flex-start;gap:9px;max-width:900px;margin:22px auto 32px;font-size:12px;line-height:1.85;color:var(--quiet);text-align:center}
.pricing-trust svg{width:16px;height:16px;color:var(--accent-strong);margin-top:3px}
.selection-checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.6fr);gap:32px;align-items:center;padding:28px;margin:24px 0 64px;border:1px solid var(--glass-border-strong);border-radius:var(--radius);background:var(--glass)}
.selection-checkout h2{font-size:25px;line-height:1.35;margin:10px 0 16px}
.selection-checkout #studio-billing{margin-top:9px;font-size:12px;color:var(--quiet)}
.selection-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.selection-actions>.inline-link{justify-content:center;font-size:12px}
.model-rate{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;padding:24px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass)}
.model-rate-icon{display:grid;place-items:center;width:48px;height:48px;color:var(--accent-strong);background:var(--accent-soft);border:1px solid var(--glass-border-strong);border-radius:13px}
.model-rate h3{font-size:21px}
.model-rate p{font-size:14px;color:var(--muted);line-height:1.8;margin-top:8px}
.model-rate>strong{font-size:32px;line-height:1.3;color:var(--accent-strong);font-weight:500;text-align:right}
.model-rate>strong>span{display:block;font-size:12px;color:var(--muted);white-space:nowrap;font-weight:400}
.section-footnote{font-size:12px;line-height:1.85;color:var(--quiet);margin-top:18px}
.plan-finder-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px;align-items:stretch}
.usage-control,.plan-recommendation{padding:28px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass);min-width:0}
.usage-control>label{font-size:16px;line-height:1.8;color:var(--ink);margin:0}
.usage-control>p:not(.section-footnote){margin:24px 0;font-size:16px;color:var(--muted)}
.usage-control>p>strong{font-size:44px;line-height:1.2;color:var(--ink);font-weight:500;letter-spacing:-.04em}
.usage-control>p>span{font-size:14px;margin-left:8px}
#plan-video-count{appearance:none;-webkit-appearance:none;display:block;width:100%;height:8px;min-height:0;margin:32px 0 14px;padding:0;border:1px solid var(--glass-border-strong);border-radius:99px;background:var(--paper-3);cursor:pointer;accent-color:var(--accent-strong)}
#plan-video-count::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;border:3px solid var(--paper-2);border-radius:50%;background:var(--accent-strong);box-shadow:0 0 0 1px var(--accent);cursor:grab}
#plan-video-count::-moz-range-thumb{width:20px;height:20px;border:3px solid var(--paper-2);border-radius:50%;background:var(--accent-strong);cursor:grab}
.range-labels{display:flex;justify-content:space-between;gap:16px;color:var(--quiet);font-size:12px}
.plan-recommendation{border-color:color-mix(in oklch,var(--accent) 35%,var(--line));background:linear-gradient(150deg,var(--accent-soft),var(--paper-2))}
.plan-recommendation h3{font-size:30px;margin:16px 0 12px}
.plan-recommendation>p:not(.eyebrow){font-size:14px;line-height:1.9;color:var(--muted);margin-top:14px}
.plan-recommendation .secondary{margin-top:20px}
.comparison-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--glass-border);border-radius:16px;background:var(--glass);scrollbar-color:var(--line-strong) var(--paper-2);scrollbar-width:thin}
.plan-comparison{width:100%;min-width:760px;border-collapse:collapse;text-align:left;font-size:14px}
.plan-comparison th,.plan-comparison td{padding:19px 22px;line-height:1.7;vertical-align:top;border-bottom:1px solid var(--glass-border)}
.plan-comparison thead th{font-size:12px;font-weight:600;color:var(--quiet);background:var(--paper-2)}
.plan-comparison tbody th{font-weight:500;color:var(--ink)}
.plan-comparison tbody td{color:var(--muted)}
.plan-comparison tbody tr:last-child>*{border-bottom:0}
.account-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 40px;max-width:1120px}
.account-overview article{display:flex;flex-direction:column;align-items:start;gap:14px;padding:24px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass);min-width:0}
.account-overview article>span{font-size:12px;color:var(--quiet)}
.account-overview article>strong{font-size:28px;line-height:1.3;letter-spacing:-.035em;font-weight:500;overflow-wrap:anywhere}
.account-overview .inline-link{font-size:12px;margin-top:auto}
.studio-footer{display:block;margin-top:72px;padding-top:40px}
.studio-footer>.footer-main{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr));gap:40px;min-width:0}
.footer-brand-block{display:flex;flex-direction:column;gap:18px;min-width:0}
.footer-brand-block p{font-size:14px;line-height:1.85;color:var(--quiet);max-width:340px}
.footer-brand-block>a:not(.footer-brand){font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.studio-footer .footer-main nav{display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:14px;min-width:0}
.studio-footer .footer-main nav>strong{font-size:12px;line-height:1.8;letter-spacing:.08em;color:var(--quiet);font-weight:600;margin:4px 0 10px}
.studio-footer .footer-main nav>a{min-height:30px;line-height:1.8}
.studio-footer .footer-main .language-switch{padding:0;min-width:0;justify-content:flex-start}
.studio-footer>.footer-ledger{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:36px;padding-top:24px;color:var(--quiet);font-size:12px;line-height:1.8}
#checkout-dialog{width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:32px;border:1px solid var(--glass-border-strong);border-radius:var(--radius);color:var(--ink);background:var(--paper-2);box-shadow:0 30px 100px #0009;overflow:auto;overscroll-behavior:contain}
#checkout-dialog::backdrop{background:#080c12b8;backdrop-filter:blur(12px)}
.checkout-content{position:relative;min-width:0}
#checkout-title{font-size:32px;line-height:1.25;margin:12px 0 24px}
.checkout-summary{white-space:pre-line;overflow-wrap:anywhere;font-size:18px;line-height:1.85;padding:18px;border:1px solid var(--glass-border-strong);border-radius:12px;background:var(--glass);color:var(--ink)}
.checkout-terms{font-size:12px;line-height:1.85;color:var(--muted);margin-top:20px}
#checkout-confirm{width:100%;min-height:50px;margin-top:22px}
@media(max-width:1100px){.pricing-grid-packs{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-card{padding:22px}.pricing-card-labels{flex-wrap:wrap}.pricing-card h3{font-size:25px}.pricing-amount strong{font-size:40px}.what-section,.faq-layout{gap:40px}.effect-card-copy{padding:20px}.effect-card-copy h3{font-size:24px}.studio-footer>.footer-main{gap:24px;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr))}}
@media(max-width:960px){.hl-hero{row-gap:40px}.hl-intro h1{max-width:none;font-size:clamp(48px,7.5vw,72px)}.composer-card{grid-row:2}.content-band{padding-block:48px}.example-grid{grid-template-columns:minmax(0,1fr)}.example-inputs{max-width:380px}.example-concept{grid-area:auto;max-width:none}.what-section{grid-template-columns:minmax(0,1fr);gap:32px}.feature-grid{grid-template-columns:minmax(0,1fr)}.feature-grid article{padding:24px}.feature-grid h3{margin-top:14px}.effect-cards{gap:16px}.effect-card-copy{padding:18px}.effect-card-copy>p:not(.eyebrow){min-height:78px}.faq-layout{grid-template-columns:minmax(0,1fr);gap:28px}.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-grid>.pricing-card:last-child:nth-child(odd){grid-column:1/-1}.pricing-grid-packs>.pricing-card:last-child:nth-child(odd){grid-column:auto}.pricing-card-description{min-height:0}.pricing-card-labels{min-height:28px}.selection-checkout{gap:24px;grid-template-columns:minmax(0,1fr) minmax(220px,.6fr)}.plan-finder-grid{gap:20px}.usage-control,.plan-recommendation{padding:24px}.studio-footer>.footer-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.footer-brand-block{grid-column:1/-1}.footer-brand-block p{max-width:650px}}
@media(max-width:760px){.effect-cards{grid-template-columns:minmax(0,1fr);gap:24px}.effect-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}.effect-card-image{aspect-ratio:auto;min-height:290px}.effect-card-copy{padding:24px}.effect-card-copy>p:not(.eyebrow){min-height:0}.effect-card-copy h3{font-size:27px}.effect-guide-body{grid-template-columns:minmax(0,1fr);gap:24px}.effect-guide-body>img{max-height:400px}.tips-grid{grid-template-columns:minmax(0,1fr)}.section-heading-with-link{align-items:flex-start;flex-direction:column;gap:18px}.plan-finder-grid{grid-template-columns:minmax(0,1fr)}.model-rate{grid-template-columns:auto minmax(0,1fr);gap:16px}.model-rate>strong{grid-column:2;text-align:left}.model-rate>strong>span{display:inline;font-size:14px;margin-left:5px}.selection-checkout{grid-template-columns:minmax(0,1fr);padding:24px}.selection-actions{max-width:none;width:100%}.account-overview{gap:12px}.account-overview article{padding:20px}.account-overview article>strong{font-size:24px}}
@media(max-width:560px){.hl-intro h1{font-size:clamp(44px,10vw,58px)}.content-band{padding-block:36px}.section-heading h2{font-size:29px}.section-heading p:not(.eyebrow){font-size:15px;line-height:1.85}.example-inputs{max-width:none;gap:10px}.example-concept .stage-screen{aspect-ratio:4/3}.example-concept .stage-badge{font-size:12px;max-width:calc(100% - 20px);top:10px;right:10px;padding:4px 7px}.example-input-note{font-size:12px}.example-truth{font-size:12px;padding:12px;gap:8px}.example-truth svg{width:16px;height:16px}.how-it-works{padding-block:36px}.body-copy{font-size:15px}.video-specs{padding:4px 18px}.video-specs>div{grid-template-columns:minmax(0,1fr);gap:9px;padding:18px 0}.video-specs dt{font-size:12px}.video-specs strong{font-size:16px}.video-specs dd>span{font-size:14px}.feature-grid article{padding:22px}.tips-grid>li{gap:14px;padding:22px 0}.tips-grid h3{font-size:20px}.effect-card{display:block}.effect-card-image{aspect-ratio:4/3;min-height:0}.effect-card-copy{padding:22px}.effect-card-copy h3{font-size:27px}.effect-card-copy>p:not(.eyebrow){font-size:14px}.effect-guide>summary{padding:20px;font-size:24px}.effect-guide-body{padding:0 20px 22px}.effect-guide-body h2{font-size:27px}.effect-guide-body p{font-size:15px}.effect-guide-body dl>div{grid-template-columns:minmax(0,1fr);gap:6px;font-size:14px}.effect-guide-body dt{font-size:12px}.effect-guide-body .primary{width:100%}.faq-item>summary{font-size:16px;padding-block:18px}.faq-item>p{font-size:14px;padding-right:6px}.final-cta{padding-top:48px;padding-bottom:12px}.final-cta h2{font-size:34px}.final-cta p:not(.eyebrow){font-size:16px}.final-cta .primary{font-size:14px;width:100%}.plan-modes{gap:4px;width:100%;padding:5px}.plan-modes button{padding:9px 8px;min-width:0;font-size:14px;flex:1}.plan-modes button>span{display:block;margin:3px 0 0;font-size:12px}.pricing-grid,.pricing-grid-packs{grid-template-columns:minmax(0,1fr);gap:20px}.pricing-grid>.pricing-card:last-child:nth-child(odd){grid-column:auto}.pricing-card{padding:24px;border-radius:24px;gap:18px}.pricing-card h3{font-size:28px}.pricing-amount strong{font-size:48px}.pricing-card-labels{min-height:0}.pricing-card-description{font-size:14px;min-height:0}.pricing-billed{min-height:0}.pricing-capacity>strong{font-size:24px}.pricing-plan-details ul{font-size:12px}.pricing-trust{font-size:12px;text-align:left;justify-content:flex-start}.selection-checkout{margin-bottom:36px;padding:22px}.selection-checkout h2{font-size:24px}.model-rate{padding:20px}.model-rate h3{font-size:20px}.model-rate p{font-size:14px}.model-rate>strong{font-size:28px}.model-rate>strong>span{font-size:12px;display:block;margin-left:0}.usage-control,.plan-recommendation{padding:22px}.usage-control>label{font-size:16px}.usage-control>p>strong{font-size:40px}.usage-control>p>span{display:block;margin:12px 0 0}.plan-recommendation h3{font-size:28px}.comparison-scroll{border-radius:12px}.plan-comparison th,.plan-comparison td{padding:16px 18px}.account-overview{grid-template-columns:minmax(0,1fr);margin-bottom:28px;gap:12px}.account-overview article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:20px}.account-overview article>span{grid-column:1;font-size:12px}.account-overview article>strong{grid-column:1;grid-row:2;font-size:26px}.account-overview .inline-link{grid-column:2;grid-row:1/3;font-size:12px;margin:0}.studio-footer{margin-top:48px;padding-top:32px}.studio-footer>.footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.footer-brand-block{grid-column:1/-1}.footer-brand-block p{font-size:14px}.studio-footer .footer-main nav{font-size:14px;gap:8px}.studio-footer .footer-main nav>strong{font-size:12px}.studio-footer>.footer-ledger{font-size:12px;align-items:flex-start;gap:12px;padding-top:20px;margin-top:28px}#checkout-dialog{padding:26px 22px}.checkout-summary{padding:15px;font-size:16px;line-height:1.85}.checkout-terms{font-size:12px}#checkout-title{font-size:28px}}
@media(max-width:360px){.hl-intro h1{font-size:44px}.section-heading h2{font-size:27px}.pricing-card{padding:21px}.pricing-amount strong{font-size:44px}.effect-card-copy{padding:20px}.model-rate{grid-template-columns:minmax(0,1fr)}.model-rate>strong{grid-column:1}.model-rate-icon{width:42px;height:42px}.studio-footer>.footer-main{column-gap:16px}}

/* The reference hero uses compact specification chips, not a statistics block. */
.hero-specs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0;margin:24px 0;border:0;max-width:none}
.hero-specs>div{display:inline-flex;flex-direction:row;align-items:center;gap:6px;min-width:0;min-height:40px;padding:8px 12px;border:1px solid var(--glass-border-strong);border-radius:999px;background:var(--glass)}
.hero-specs>div+div{padding-left:12px;border-left:1px solid var(--glass-border-strong)}
.hero-specs strong{font-size:16px;font-weight:600;line-height:1.25;letter-spacing:-.02em}
.hero-specs strong>span{font-size:14px;margin-left:1px}
.hero-specs>div>span{font-size:12px;line-height:1.5;color:var(--muted)}

/* First measured correction: content box, natural heading and nested panes. */
html{scrollbar-gutter:stable}
.topbar>.preview-note{position:absolute;top:calc(100% + 8px);right:max(var(--gutter),calc((100% - var(--content))/2));z-index:1;display:flex;align-items:center;flex-wrap:nowrap;gap:6px;width:max-content;max-width:calc(100% - var(--gutter)*2);min-height:0;padding:5px 9px;border-radius:7px;background:var(--paper-2);font-size:12px;line-height:1.4;box-shadow:none}
.topbar>.preview-note strong{font-size:12px;line-height:1.4;white-space:nowrap}
.topbar>.preview-note>span:last-child{flex-basis:auto;font-size:12px;line-height:1.4;white-space:normal}
.topbar>.preview-note .preview-dot{margin-top:0}
.hl-intro h1{font-size:clamp(44px,5vw + 16px,84px);font-weight:750;line-height:1;letter-spacing:-.03em;overflow-wrap:anywhere;text-wrap:balance;color:var(--ink)}
#studio-title{display:inline;white-space:normal;color:inherit}
.hl-studio .flow-steps{display:flex;justify-content:flex-start;gap:24px;margin:0 0 16px;font-size:14px}
.hl-studio .flow-steps li{flex-direction:row;align-items:center;gap:6px;min-width:0;font-size:14px;white-space:nowrap}
.hl-studio .flow-steps span{width:22px;height:22px;font-size:12px}
.reference-panes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.reference-portraits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.reference-portraits .subject-slot{aspect-ratio:auto;min-height:240px;border-style:dashed}
.reference-portraits .subject-number{top:8px;left:8px;min-width:24px;height:22px;font-size:12px}
.reference-portraits .subject-slot figcaption{inset:auto 8px 10px;gap:5px}
.reference-portraits .subject-slot figcaption>span{font-size:12px;line-height:1.5}
.reference-portraits .subject-slot figcaption small{font-size:12px;line-height:1.5}
.reference-concept{position:relative;aspect-ratio:4/5;min-width:0;margin:0;border:1px solid var(--glass-border);border-radius:12px;background:var(--paper-2);overflow:hidden}
.reference-concept>img{width:100%;height:100%;object-fit:contain}
.reference-concept>figcaption{position:absolute;top:8px;left:8px;right:8px;width:fit-content;max-width:calc(100% - 16px);padding:4px 7px;border:1px solid var(--glass-border-strong);border-radius:6px;color:var(--ink);background:var(--glass-strong);font-size:12px;line-height:1.5;backdrop-filter:blur(12px)}
.hl-studio .format-picker{margin-top:20px}
.generator-action{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:12px 16px;border-radius:12px;background:var(--glass)}
.generator-action .creation-summary{display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;margin:0;padding:0;border:0}
.generator-action .creation-summary>span{font-size:14px;line-height:1.5}
.generator-action .creation-summary p{font-size:12px;line-height:1.7;color:var(--muted);display:block}
.generator-action .creation-actions{display:flex;flex:0 1 54%;flex-direction:column;gap:8px;min-width:0;margin:0}
.generator-action .creation-actions .primary,.generator-action .creation-actions .secondary{min-height:44px;padding:10px 14px;font-size:14px}
.generator-action #studio-request-check{margin-top:0}
.preset-picker{margin-top:14px;padding-top:8px}
.preset-picker summary{font-size:14px;min-height:36px}
.preset-picker .preset-grid{margin:12px 0 0}
.preset-picker>p{font-size:12px;line-height:1.8;margin-top:12px}
.view-plans .plan-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:min(100%,448px);margin:0 auto 28px;padding:4px;border-radius:999px;background:var(--paper-2)}
.view-plans .plan-modes button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;padding:8px 12px;border-radius:999px;font-size:14px;line-height:1.5}
.view-plans .plan-modes button>span{display:inline;margin:0;font-size:12px}
.view-plans .plan-modes [aria-pressed='true']{color:var(--accent-ink);background:var(--accent);border-color:transparent}
.view-plans .plan-modes [aria-pressed='true']>span{color:inherit}
.view-plans .pricing-grid,.view-plans .pricing-grid-packs{grid-template-columns:repeat(auto-fit,minmax(min(100%,288px),1fr));gap:12px;align-items:start}
.view-plans .pricing-card{gap:12px;padding:14.4px;border-radius:13.6px;border-color:var(--line);background:var(--paper-2);box-shadow:none}
.view-plans .pricing-card[data-selected='true']{border-color:var(--accent);background:linear-gradient(180deg,color-mix(in oklch,var(--accent) 12%,transparent),var(--paper-2) 35%);box-shadow:0 0 0 1px var(--accent)}
.view-plans .pricing-card-labels{min-height:24px}
.view-plans .pricing-grid>.pricing-card:last-child:nth-child(odd){grid-column:auto}
@media(max-width:960px){.hl-hero{padding-top:48px}.hl-intro{padding-top:0}}
@media(max-width:700px){.reference-panes{grid-template-columns:minmax(0,1fr)}.reference-portraits .subject-slot{aspect-ratio:3/4;min-height:0}.reference-concept{aspect-ratio:16/9}}
@media(max-width:560px){.topbar>.preview-note{right:var(--gutter);padding:5px 7px;gap:5px}.hl-studio .flow-steps{gap:8px}.hl-studio .flow-steps li{gap:4px}.hl-studio .flow-steps span{width:18px;height:18px}.generator-action{flex-direction:column;align-items:stretch;padding:12px}.generator-action .creation-actions{flex-basis:auto;width:100%}.view-plans .plan-modes button{padding:8px 6px;gap:4px}.view-plans .plan-modes button>span{font-size:12px}}

/* Explicit loopback reference display. Original preset previews keep their
   existing crop rules when this body attribute is absent. */
body[data-reference-media] .is-reference-portrait>img,
body[data-reference-media] .example-input.is-reference-portrait img{left:0;top:0;width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center}
body[data-reference-media] .reference-source-result{background:#080808}
body[data-reference-media] .reference-concept.reference-source-result>.reference-source-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.reference-source-video{display:block;width:100%;height:100%;min-width:0;object-fit:contain;background:#080808}
.reference-source-result .stage-screen>.reference-source-video{position:absolute;inset:0}
.reference-source-result .stage-badge{pointer-events:none}
.reference-active-preset[hidden]{display:none!important}
.reference-media-notice{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;margin:12px 0 18px;color:var(--quiet);font-size:12px;line-height:1.8}
.reference-source-link{display:inline-flex;align-items:center;gap:5px;max-width:100%;color:var(--accent-strong);font-size:12px;line-height:1.7;white-space:nowrap}
.reference-source-link:hover{text-decoration:underline;text-underline-offset:3px}
.reference-source-link>svg{width:14px;height:14px;flex-shrink:0}
.reference-source-result>figcaption{gap:12px;flex-wrap:wrap}
.reference-effect-card .effect-card-image{display:block;aspect-ratio:16/9;min-height:0}
.reference-effect-card .effect-card-image>img{width:100%;height:100%;object-fit:cover}
.reference-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:48px;height:48px;transform:translate(-50%,-50%);padding-left:3px;border:1px solid #ffffff65;border-radius:50%;background:#0a101288;color:#fff;font-size:18px;font-style:normal;backdrop-filter:blur(8px);pointer-events:none}
.reference-effect-card .effect-card-actions{flex-wrap:wrap}
.reference-effect-card .effect-card-actions>a{font-size:12px}
.reference-effect-video{display:block;width:100%;max-height:520px;aspect-ratio:16/9;object-fit:contain;border:1px solid var(--glass-border);border-radius:12px;background:#080808}
.reference-effect-guide .reference-source-link{margin-top:20px}
.reference-effect-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}
.reference-effect-inputs>figure{min-width:0;margin:0}
.reference-effect-inputs img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border:1px solid var(--glass-border);border-radius:9px;background:var(--paper-3)}
.reference-effect-inputs figcaption{padding-top:7px;font-size:12px;line-height:1.6;color:var(--muted)}
@media(max-width:760px){.reference-effect-card{display:block}.reference-effect-guide .effect-guide-body{grid-template-columns:minmax(0,1fr)}.reference-effect-video{max-height:440px}}
@media(max-width:560px){.reference-media-notice{align-items:flex-start;justify-content:flex-start;font-size:12px;line-height:1.75}.reference-source-result.example-concept .stage-screen{aspect-ratio:16/9}.reference-source-result>figcaption{align-items:flex-start}.reference-play{width:42px;height:42px;font-size:16px}}

/* Keep the Chinese product name intact without forcing English title lines. */
html:lang(zh) .hl-intro h1{font-size:clamp(40px,4.5vw + 10px,68px);line-height:1.08;letter-spacing:-.025em;overflow-wrap:normal;text-wrap:initial}
html:lang(zh) #studio-title{display:block}
html:lang(zh) #studio-title>.studio-title-brand,html:lang(zh) #studio-title>.studio-title-product{display:block;white-space:nowrap;word-break:keep-all}
html:lang(zh) #studio-title>.studio-title-brand{font-size:.92em}
html:lang(zh) #studio-title>.studio-title-product{margin-top:.08em}
@media(max-width:560px){html:lang(zh) .hl-intro h1{font-size:clamp(36px,10.6vw,54px);line-height:1.1}}

/* Published preview controls are read-only and have no account/billing forms. */
body[data-studio-public-preview] .public-availability{margin-top:20px;color:var(--quiet);font-size:12px;line-height:1.8}
body[data-studio-public-preview] .reference-concept[data-public-format-preview]{min-height:240px}
body[data-studio-public-preview] [data-public-format-preview='9:16']{aspect-ratio:9/16}
body[data-studio-public-preview] .stage-screen[data-public-format-preview='16:9']{aspect-ratio:16/9}
body[data-studio-public-preview] .stage-screen[data-public-format-preview='9:16']{max-height:620px;aspect-ratio:9/16;margin-inline:auto}
.public-closed-panel{max-width:900px;margin:16px auto 72px;padding:48px 36px;text-align:center;border:1px solid var(--glass-border-strong);border-radius:var(--radius);background:var(--glass)}
.public-closed-panel>.empty-icon{margin-inline:auto;margin-bottom:24px}
.public-closed-panel>h2{font-size:32px;line-height:1.3;margin-bottom:16px}
.public-closed-panel>p{max-width:640px;margin-inline:auto;font-size:16px;line-height:1.9;color:var(--muted)}
.public-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:28px}
.public-access-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px;gap:12px;margin:28px auto}
.public-plans-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;max-width:1080px;margin:24px auto 72px;align-items:start}
.public-plans-grid .pricing-card{padding:30px;gap:20px}
.public-plans-grid .pricing-card h2{font-size:36px;line-height:1.25}
.public-plans-grid .pricing-card>p:not(.pricing-amount):not(.pricing-credit-grant){font-size:14px;line-height:1.9;color:var(--muted)}
.public-plan-rules{margin:0;padding-left:20px;font-size:14px;line-height:1.9;color:var(--muted)}
.public-plan-rules>li+li{margin-top:12px}
.public-plan-info{padding:20px 0}
.public-plan-info>h2{font-size:32px;line-height:1.35;margin:12px 0 20px}
.public-plan-info>p:not(.eyebrow){font-size:14px;line-height:1.95;color:var(--muted);margin-bottom:18px}
.public-plan-info>.inline-link{display:flex;width:fit-content;margin-top:16px}
.public-free-note{margin-top:32px;padding:24px;border:1px solid var(--glass-border);border-radius:var(--radius);background:var(--glass)}
.public-free-note>h3{font-size:22px;margin-bottom:12px}
.public-free-note>p{font-size:14px;line-height:1.85;color:var(--muted);margin-bottom:16px}
.public-free-note>a{font-size:14px;color:var(--accent-strong)}
.public-bonus-dialog{position:relative;width:min(760px,calc(100% - 32px));max-height:90dvh;margin:auto;padding:34px;border:1px solid #766b59;border-radius:32px;background:radial-gradient(ellipse at 52% 9%,#29352a88,transparent 29%),linear-gradient(145deg,#28231a,#19130e 62%);color:#f3eee6;box-shadow:0 32px 110px #000b;overflow:auto;overscroll-behavior:contain;text-align:center}
.public-bonus-dialog::backdrop{background:#080604b8;backdrop-filter:blur(10px)}
.public-bonus-close{position:absolute;right:22px;top:22px;display:grid;place-items:center;width:50px;height:50px;padding:0;border:1px solid #766b59;border-radius:50%;background:#201b16;color:#ddd6cc;font-size:40px;line-height:1;font-weight:300}
.public-bonus-art{position:relative;display:grid;place-items:center;width:190px;height:160px;margin:0 auto 4px;color:#8bcaff;filter:drop-shadow(0 0 25px #55c6a226)}
.public-bonus-art>svg{width:122px;height:122px;color:#84dbbc;stroke-width:1}
.public-bonus-art>span{position:absolute;font-size:32px;line-height:1;color:#ffd56a;left:6px;top:38px;transform:rotate(-12deg)}
.public-bonus-art>span+span{left:auto;right:8px;top:16px;font-size:40px;color:#e483da;transform:rotate(15deg)}
.public-bonus-dialog .bonus-eyebrow{margin:0 0 18px;color:#8bcaff;font-size:14px;font-weight:700;letter-spacing:.16em;line-height:1.5}
.public-bonus-dialog h2{font-size:36px;line-height:1.25;letter-spacing:-.03em}
.public-bonus-total{display:flex;justify-content:center;align-items:center;gap:20px;margin:24px 0 22px;text-align:left}
.public-bonus-total>strong{font-size:88px;line-height:1;font-weight:750;letter-spacing:-.06em;color:#8bcaff}
.public-bonus-total>span{font-size:28px;line-height:1.35;color:#d2cbc1}
.public-bonus-total small{display:block;margin-top:4px;font-size:14px;color:#b8afa3}
#public-bonus-description{font-size:14px;line-height:1.85;color:#b8afa3;max-width:580px;margin-inline:auto}
.public-bonus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;margin:26px 0;list-style:none;text-align:center}
.public-bonus-grid>li{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:18px 10px;border:1px solid #44382b;border-radius:20px;background:#18120ebf}
.public-bonus-grid>li:last-child{grid-column:span 2}
.public-bonus-grid>li.is-double{border-color:#54715c;background:#19211a75}
.public-bonus-grid>li>span{font-size:14px;color:#c4bdb2}
.public-bonus-grid svg{width:56px;height:56px;margin:5px 0}
.public-bonus-grid strong{font-size:25px;line-height:1.2;color:#ece5db}
.public-bonus-grid small{font-size:12px;color:#b8afa3}
.public-bonus-grid i{position:absolute;right:-7px;top:-12px;display:grid;place-items:center;width:35px;height:35px;border:2px solid #b9e2ff;border-radius:50%;background:#8bcaff;color:#10232c;font-size:18px;font-style:normal;font-weight:750;transform:rotate(-12deg)}
#public-bonus-claim{width:100%;min-height:56px;font-size:18px}
.public-bonus-dialog .section-footnote{color:#b8afa3}
@media(max-width:800px){.public-plans-grid{grid-template-columns:minmax(0,1fr);gap:24px;max-width:620px}.public-plan-info{padding:0}.public-closed-panel{padding:36px 24px}.public-closed-panel>h2{font-size:28px}}
@media(max-width:560px){.public-plans-grid{margin-bottom:40px;gap:26px}.public-plans-grid .pricing-card{padding:24px}.public-plan-info>h2{font-size:28px}.public-closed-panel{padding:28px 20px;margin-bottom:40px}.public-closed-panel>h2{font-size:25px}.public-closed-panel>p{font-size:14px}.public-access-buttons{grid-template-columns:minmax(0,1fr)}.public-actions{align-items:stretch;flex-direction:column}.public-actions>a{width:100%}.public-bonus-dialog{padding:24px 18px;border-radius:24px}.public-bonus-close{right:15px;top:15px;width:42px;height:42px;font-size:34px}.public-bonus-art{width:160px;height:140px}.public-bonus-art>svg{width:104px;height:104px}.public-bonus-dialog h2{font-size:28px}.public-bonus-dialog .bonus-eyebrow{font-size:12px}.public-bonus-total{gap:16px;margin-block:20px}.public-bonus-total>strong{font-size:72px}.public-bonus-total>span{font-size:22px}.public-bonus-total small{font-size:12px}.public-bonus-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-bonus-grid>li{padding:16px 10px}.public-bonus-grid svg{width:50px;height:50px}.public-bonus-grid>li:last-child{grid-column:span 2}}

.public-bonus-art{width:min(100%,540px);height:auto;min-height:160px;margin-bottom:0}
.public-bonus-art>img{display:block;width:100%;height:auto;animation:public-gift-float 3.4s ease-in-out infinite}
.public-bonus-dialog.is-paused .public-bonus-art>img{animation-play-state:paused}
.public-bonus-pause{position:absolute;top:26px;left:24px;z-index:1;min-height:36px;padding:6px 12px;border:1px solid #766b59;border-radius:999px;background:#201b16;color:#ddd6cc;font-size:12px}
@keyframes public-gift-float{50%{transform:translateY(-7px) rotate(1deg)}}
@media(prefers-reduced-motion:reduce){.public-bonus-art>img{animation:none}}
@media(max-width:560px){.public-bonus-art{width:100%;height:auto;min-height:140px}.public-bonus-pause{top:18px;left:16px;font-size:11px;padding:4px 9px}}
body[data-studio-public-preview] .reference-concept[data-public-format-preview]{width:100%;max-width:100%;min-width:0}
body[data-studio-public-preview] .reference-source-video{min-width:0;max-width:100%}
@media(max-width:700px){body[data-studio-public-preview] .reference-concept[data-public-format-preview]{min-height:0}}
