/* Figma 2263:46071, from the pricing banner through the footer. */
.pricing-section,.throughput-section,.model-comparison{background:#0f0c0c;scroll-margin-top:88px}
.pricing-banner{position:relative;overflow:hidden;padding:64px 72px 64px 64px;isolation:isolate}
.pricing-banner::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.5);z-index:-1;pointer-events:none}
.pricing-banner>img{position:absolute;z-index:-2;left:0;top:-126.04%;width:100%;height:375%;max-width:none}
.pricing-banner h2{font-size:80px;line-height:1.1;text-align:center;font-weight:700;letter-spacing:0}
.benchmark{padding:64px 5%;display:flex;flex-direction:column;gap:64px}
.benchmark h2{font-size:60px;line-height:1.1;font-weight:700;text-align:center;letter-spacing:0}
.benchmark-heading{display:flex;flex-direction:column;gap:16px}
.benchmark-heading>p{font-size:16px;line-height:1.5;color:#ffffffb3;text-align:center}
.benchmark-columns{display:grid;grid-template-columns:minmax(0,756fr) minmax(0,476fr);gap:64px}
.volume-section .benchmark-columns{grid-template-columns:minmax(0,476fr) minmax(0,756fr)}
.benchmark-table-wrap{min-width:0;overflow-x:auto;border-radius:2px;color-scheme:dark;scrollbar-width:thin;scrollbar-color:#555050 #191616}
.benchmark-table-wrap::-webkit-scrollbar{height:6px}
.benchmark-table-wrap::-webkit-scrollbar-track{background:#191616;border-radius:999px}
.benchmark-table-wrap::-webkit-scrollbar-thumb{background:#555050;border-radius:999px}
.benchmark-table-wrap::-webkit-scrollbar-thumb:hover{background:#817878}
.benchmark-table-wrap::-webkit-scrollbar-button{display:none;width:0;height:0}
.benchmark-table-wrap::-webkit-scrollbar-corner{background:transparent}
@supports selector(::-webkit-scrollbar){.benchmark-table-wrap{scrollbar-width:auto;scrollbar-color:auto}}
.benchmark-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;line-height:1.4;font-size:12px}
.benchmark-table thead{color:#ffffffb3;font-size:11px;border-top:.5px solid #ffffff4d;border-bottom:.5px solid #ffffff4d}
.benchmark-table th,.benchmark-table td{padding:8px 10px;vertical-align:middle;overflow-wrap:normal}
.benchmark-table thead tr{height:50px}.benchmark-table thead th{font-weight:600}
.benchmark-table tbody tr{height:53.5px;border-bottom:.5px solid #ffffff4d}
.benchmark-table tbody th{font-weight:700}.benchmark-table tbody tr:first-child{font-weight:700}
.benchmark-table.speed tbody tr:first-child{background:#f95801}.benchmark-table.volume tbody tr:first-child{background:#315FE8}
.benchmark-chart{display:flex;flex-direction:column;gap:16px;padding:17px 0;min-width:0;font-size:11px;line-height:15px;color:#ffffffb3}
.chart-title,.chart-row>p{font-weight:600}.chart-row{display:flex;flex-direction:column;gap:8px}
.speed .chart-row:nth-child(2)>p{color:#f95801}.volume .chart-row:nth-child(2)>p{color:#315FE8}
.chart-row-label{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 16px}
.chart-discount-note{margin-left:auto;text-align:right;color:#f95801;font-weight:600}
.chart-track{height:18px;background:#ffffff4d;position:relative}
.chart-fill{position:absolute;inset:0 auto 0 0;background:#9a9999}
.speed .chart-row:nth-child(2) .chart-fill{background:#f95801}
.benchmark-chart.chart-motion .chart-fill{transform:scaleX(0);transform-origin:left center}
@media(prefers-reduced-motion:reduce){.benchmark-chart.chart-motion .chart-fill{transform:none}}
.chart-divisions{position:absolute;inset:0;background:linear-gradient(to right,transparent calc(25% - 1px),#0f0c0c calc(25% - 1px),#0f0c0c calc(25% + 3px),transparent calc(25% + 3px),transparent calc(50% - 2px),#0f0c0c calc(50% - 2px),#0f0c0c calc(50% + 2px),transparent calc(50% + 2px),transparent calc(75% - 3px),#0f0c0c calc(75% - 3px),#0f0c0c calc(75% + 1px),transparent calc(75% + 1px))}
.chart-value{position:absolute;right:4px;top:0;bottom:0;display:flex;align-items:center;color:white;font-size:12px;line-height:1}
.throughput-section{min-height:530px;padding:104.315px 5% 88.685px;display:grid;grid-template-columns:minmax(0,428fr) minmax(0,812fr);gap:56px;align-items:center}
.throughput-section>h2{font-size:60px;line-height:1.1;font-weight:700;max-width:428px}
.throughput-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.throughput-section figure,.model-comparison figure{margin:0;min-width:0}
.throughput-media figcaption{font-size:24px;font-weight:700;line-height:1.3;color:#ffffffb3;margin-bottom:24px}
.throughput-media figure:last-child figcaption{color:#f95801}
.throughput-media figure>img{width:100%;height:auto;aspect-ratio:402/223;object-fit:cover;border-radius:2px}
.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.results-grid img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:2px}
.comparison-timeline{display:flex;align-items:center;gap:16px;margin:28px 0 0 3px;font-size:24px;line-height:1.3;color:#ffffffb3}
.model-comparison{padding:64px 5%;display:flex;flex-direction:column;gap:64px}
.model-comparison .comparison-heading>h2{font-size:48px;font-weight:700;line-height:1.3}
.comparison-content{position:relative;min-height:667px;padding-top:32px;overflow:hidden}
.comparison-rule{position:absolute;left:0;top:-2px;max-width:100%}
.comparison-layout{display:grid;grid-template-columns:minmax(0,580fr) minmax(0,640fr);gap:76px}
.comparison-scene{padding:16px 36px;border-left:1px solid #ffffff4d}
.comparison-scene.active{padding-top:0;padding-bottom:36px;border-color:white}
.comparison-scene h3{font-size:40px;line-height:1.3;font-weight:700;text-transform:uppercase}
.comparison-scene.pending h3{color:#ffffff4d}
.comparison-scene.active h3{color:#F95801}
.comparison-scene p{font-size:24px;line-height:1.3;color:#ffffffb3;margin-top:12px;height:93px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}

.comparison-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-content:start}
.comparison-examples figure{position:relative;overflow:hidden;border-radius:2px;aspect-ratio:16/9}
.comparison-examples .example-main{grid-column:1/-1}
.comparison-examples img{width:100%;height:100%;object-fit:cover}
.comparison-examples video{display:block;width:100%;height:100%;object-fit:contain}
.comparison-examples video+figcaption{pointer-events:none}
.comparison-examples figcaption{position:absolute;left:10px;bottom:10px;font-size:24px;line-height:1.3;font-weight:700;color:#ffffffb3}
.comparison-examples .example-main figcaption{top:10px;bottom:auto;color:white}
footer.comparison-footer{padding:64px;min-height:234px;gap:32px;align-items:center}
.comparison-footer .footer-brand>a>img{width:137.667px;height:28px}
.comparison-footer .footer-brand p{margin:12px 0 16px;font-size:12.25px;line-height:17.5px}
.comparison-footer .socials{gap:12px;float:none;margin:0}.comparison-footer .socials a{width:28px;height:28px;padding:6px;border-radius:50%}.comparison-footer .socials img{width:16px;height:auto}


@media(min-width:1600px){.benchmark,.throughput-section,.model-comparison{padding-left:max(5%,calc((100% - 1440px)/2));padding-right:max(5%,calc((100% - 1440px)/2))}}
@media(max-width:1200px){.pricing-banner h2{font-size:clamp(40px,5.55vw,80px)}.benchmark h2,.throughput-section>h2{font-size:clamp(32px,4.167vw,60px)}.benchmark-columns,.volume-section .benchmark-columns{gap:32px}.benchmark-table{min-width:660px}.benchmark-columns{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.comparison-layout{gap:40px}.comparison-scene{padding-left:24px;padding-right:24px}.comparison-scene h3{font-size:30px}.comparison-scene p{font-size:20px;height:78px}.model-comparison .comparison-heading>h2{font-size:40px}.throughput-section{gap:32px;min-height:460px}.comparison-content{min-height:560px}}
@media(max-width:800px){.pricing-banner{padding:48px 6%}.pricing-banner h2{font-size:40px}.benchmark{padding:48px 6%;gap:32px}.benchmark h2{font-size:36px}.benchmark-heading>p br{display:none}.benchmark-columns,.volume-section .benchmark-columns{grid-template-columns:1fr;gap:24px}.volume-section .benchmark-table-wrap{order:-1}.benchmark-chart{padding:0}.throughput-section{padding:48px 6%;display:flex;flex-direction:column;align-items:stretch;gap:32px;min-height:0}.throughput-section>h2{font-size:40px;max-width:100%}.throughput-media figcaption{font-size:18px;margin-bottom:16px}.comparison-timeline{font-size:18px}.model-comparison{padding:48px 6%;gap:32px}.model-comparison .comparison-heading>h2{font-size:32px}.comparison-content{min-height:0;padding-top:24px}.comparison-layout{grid-template-columns:1fr;gap:32px}.comparison-examples{grid-row:1}.comparison-examples figcaption{font-size:16px;left:8px;bottom:8px}.comparison-examples .example-main figcaption{top:8px}.comparison-scene h3{font-size:28px}.comparison-scene p{font-size:18px;height:70.2px}.comparison-scene.active{padding-bottom:24px}.comparison-scene{padding:12px 20px}.comparison-rule{max-width:none}.comparison-footer .actions{flex-wrap:wrap}footer.comparison-footer{padding:40px 6%;align-items:flex-start;flex-direction:column}.comparison-footer .footer-brand{width:auto}}
@media(max-width:420px){.pricing-banner h2{font-size:34px}.benchmark h2{font-size:30px}.throughput-section>h2{font-size:34px}.throughput-media{gap:10px}.results-grid{gap:2px}.comparison-footer .actions{gap:8px}}

@media(min-width:1201px){.throughput-media figcaption,.comparison-timeline{line-height:31px}.throughput-section{height:530px}.throughput-section>h2{transform:translateY(-2.5px)}}

/* Generation preview: the same time always renders the same image state. */
.generation-frame{position:relative;overflow:hidden;isolation:isolate;border-radius:2px;aspect-ratio:16/9;background:rgba(255,255,255,.1)}
.throughput-media figure>.generation-frame{aspect-ratio:402/223}
.generation-frame>img,.results-grid .generation-frame>img{display:block;width:100%;height:100%;object-fit:cover;opacity:var(--generation-opacity,1);filter:blur(var(--generation-blur,0px));transform:scale(var(--generation-scale,1));transition:none}
.generation-skeleton{position:absolute;inset:0;pointer-events:none;opacity:var(--skeleton-opacity,0);background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.04) 48%,transparent 72%),repeating-linear-gradient(135deg,transparent 0 8px,rgba(255,255,255,.03) 8px 10px);background-size:240% 100%,auto;background-position:var(--skeleton-position,100%) 0,0 0}
.generation-seek{--seek-progress:0%;appearance:none;-webkit-appearance:none;display:block;flex:1;min-width:0;width:100%;height:28px;margin:0;padding:0;cursor:ew-resize;background:transparent;touch-action:pan-y;border:0;border-radius:0}
.generation-seek::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,#f95801 var(--seek-progress),#ffffff4d var(--seek-progress))}
.generation-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;border:0;border-radius:0;margin-top:-5px;background:#f95801}
.generation-seek::-moz-range-track{height:2px;background:#ffffff4d}
.generation-seek::-moz-range-progress{height:2px;background:#f95801}
.generation-seek::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:0;background:#f95801}
.generation-seek:focus-visible{outline:2px solid #f95801;outline-offset:5px}
.generation-time{font-size:16px;line-height:1.3;font-variant-numeric:tabular-nums;min-width:48px;text-align:right}
@media(max-width:800px){.generation-time{min-width:48px}}

/* Scroll through scene comparisons without intercepting wheel or touch events. */
.comparison-scroll{position:relative;overflow-anchor:none}
.scene-stage{position:sticky;top:72px;padding-top:24px;padding-bottom:24px;gap:24px;background:var(--page-background)}
.scene-stage>h2{font-size:clamp(28px,3.333vw,48px)}
.scene-stage .comparison-content{min-height:0;padding-top:16px}
.scene-stage .comparison-layout{grid-template-columns:minmax(0,440fr) minmax(0,780fr);gap:clamp(24px,3.333vw,48px)}
.scene-stage .comparison-scene{padding:10px 24px}
.scene-stage .comparison-scene.active{padding-top:10px;padding-bottom:20px;border-color:#F95801}
.scene-stage .comparison-scene h3{font-size:28px}
.scene-select{display:block;text-align:left;width:100%;padding:0;color:inherit;font:inherit;text-transform:inherit;background:transparent;transition:color .2s}
.scene-select:hover{color:#F95801}
.scene-stage .comparison-scene p{font-size:16px;height:3.9em}
.scene-panels{min-width:0}
.scene-panels>[hidden],.comparison-scene p[hidden]{display:none}
.scene-empty{aspect-ratio:640/548;border:1px solid #ffffff24;border-radius:2px;display:grid;place-items:center;text-align:center;color:#ffffff80;padding:24px;background:#ffffff03;font-size:18px}
.scene-zh{display:none}html[lang="zh-CN"] .scene-zh{display:inline}html[lang="zh-CN"] .scene-en{display:none}
@media(min-width:801px){.scene-stage .comparison-examples{max-width:calc((100svh - 220px) * 1.16);margin-left:auto}.scene-empty{max-height:calc(100svh - 220px)}}
@media(max-width:800px){
 .scene-stage{gap:16px;padding:20px 5%;top:72px}
 .scene-stage .comparison-layout{grid-template-columns:1fr;gap:16px}
 .scene-stage .comparison-scenes{display:flex;flex-direction:column;gap:0;min-width:0}
 .scene-stage .comparison-scene,.scene-stage .comparison-scene.active{min-width:0;border-left:1px solid #ffffff4d;border-bottom:0;padding:8px 16px}
 .scene-stage .comparison-scene h3{font-size:20px}
 .scene-stage .comparison-scene p{display:none}
 .scene-stage .comparison-examples{max-width:min(100%,calc((100svh - 280px) * 1.16));margin:auto;gap:8px}
 .scene-empty{height:min(48svh,400px);aspect-ratio:auto}
 .scene-stage .comparison-content{overflow:visible;padding-top:0}
}
@media(min-width:691px) and (max-width:700px){.scene-stage{top:104px}}
@media(max-width:690px){.scene-stage{top:64px}}
@media(prefers-reduced-motion:reduce){.scene-stage{position:relative;top:auto}.scene-select{transition:none}}

@media(max-width:800px){
 .scene-stage .comparison-scene.active p:not([hidden]){display:-webkit-box;width:100%;font-size:16px;height:3.9em;white-space:normal}

}

/* Keep the complete source frame visible for square and portrait comparisons. */
.scene-video-panel figure{background:#080707}
.scene-video-panel video{display:block;width:100%;height:100%;object-fit:contain}
.scene-video-panel figcaption{top:10px;bottom:auto;pointer-events:none;text-shadow:0 1px 2px rgba(0,0,0,.3)}
@media(max-width:800px){.scene-stage .comparison-rule{max-width:100%}.scene-video-panel figcaption{top:8px}}

/* One W1 frame beside two columns of stacked model comparisons. */
.scene-stage .scene-video-panel{
 --scene-gap:16px;
 gap:var(--scene-gap);
 grid-template-columns:minmax(0,calc((100% - 2 * var(--scene-gap)) / 2 + var(--scene-gap) * 9 / 32)) repeat(2,minmax(0,1fr));
 grid-template-rows:repeat(2,minmax(0,1fr));
 max-width:calc((100svh - 240px) * 1.125 + var(--scene-gap) * 1.4375);
 width:100%;
 margin-left:auto;
}
.scene-video-panel figure{aspect-ratio:9/16;min-width:0;min-height:0}
.scene-video-panel .example-main{grid-column:1;grid-row:1/3}
.scene-video-panel figure:nth-child(2){grid-column:2;grid-row:1}
.scene-video-panel figure:nth-child(3){grid-column:2;grid-row:2}
.scene-video-panel figure:nth-child(4){grid-column:3;grid-row:1}
.scene-video-panel figure:nth-child(5){grid-column:3;grid-row:2}
.scene-video-panel figure:not(.example-main) figcaption{font-size:clamp(12px,1.25vw,20px);left:8px;top:8px}
@media(max-width:800px){
 .scene-stage .scene-video-panel{--scene-gap:8px;max-width:calc((100svh - 330px) * 1.125 + var(--scene-gap) * 1.4375);margin-inline:auto}
 .scene-video-panel .example-main figcaption{font-size:18px}
 .scene-video-panel figure:not(.example-main) figcaption{font-size:12px;left:5px;top:5px}
}

/* Square source scenes: Sticker Peel and Rapid Camera Moves. */
.scene-stage .scene-square-panel{
 grid-template-columns:minmax(0,calc((100% - var(--scene-gap)) / 2)) repeat(2,minmax(0,1fr));
 max-width:calc((100svh - 240px) * 2 + var(--scene-gap));
}
.scene-square-panel figure{aspect-ratio:1}
@media(max-width:800px){.scene-stage .scene-square-panel{max-width:calc((100svh - 330px) * 2 + var(--scene-gap))}}

/* A single indicator travels between scenes instead of swapping border colors. */
.scene-stage .comparison-scenes{position:relative}
.scene-stage .comparison-scene.active{border-left-color:#ffffff4d}
.scene-active-indicator{position:absolute;left:0;top:0;background:#F95801;pointer-events:none;z-index:1;will-change:transform,height,width}
.scene-active-indicator.is-ready{transition:transform .42s cubic-bezier(.22,1,.36,1),height .42s cubic-bezier(.22,1,.36,1),width .42s cubic-bezier(.22,1,.36,1)}
@media(prefers-reduced-motion:reduce){.scene-active-indicator.is-ready{transition:none}}

/* Consistent model labels across every scene and viewport. */
.scene-stage .comparison-examples figure figcaption{font-size:clamp(10px,1.1vw,16px)}

/* Shared A1/W1 footer layout and responsive behavior. */
footer.comparison-footer{position:relative;padding:64px 4.444444%;min-height:261px;align-items:flex-end;justify-content:space-between;gap:48px}
footer.comparison-footer .footer-brand{flex:none;width:auto}
footer.comparison-footer .footer-brand>a{display:block;width:max-content}
footer.comparison-footer .footer-brand p{font-size:12.25px;line-height:17.5px;letter-spacing:-.0179px;margin:12px 0 16px;color:rgba(255,255,255,.5)}
footer.comparison-footer .footer-brand .socials{float:none;margin:0;gap:12px}
footer.comparison-footer .socials a{background:rgba(255,255,255,.1)}
footer.comparison-footer .footer-cta{display:flex;flex-direction:column;align-items:flex-end;gap:32px;min-width:0}
footer.comparison-footer .footer-cta h2{font-size:36px;line-height:1.3;font-weight:700;margin:0;text-align:right}
footer.comparison-footer .actions{gap:8px}
footer.comparison-footer .button{height:54px;min-height:54px;padding:15px 24px;font-size:16px;line-height:1.3;white-space:nowrap}
footer.comparison-footer .button.secondary{min-width:200px}
footer.comparison-footer .button.light{min-width:227px}
footer.comparison-footer .button.secondary:hover{background:#fff;color:#0f0c0c;filter:none}
.footer-arrow{position:relative;display:block;width:51px;height:14px;flex:none}
.footer-arrow::before{content:"";position:absolute;left:0;top:6px;width:51px;height:2px;background:#0f0c0c}
.footer-arrow img{position:absolute;right:0;top:0}
.footer-arrow img+img{top:6px;transform:scaleY(-1)}
@media(max-width:1000px){footer.comparison-footer{gap:32px}footer.comparison-footer .footer-cta h2{font-size:36px}}
@media(max-width:700px){footer.comparison-footer{padding:40px 6%;flex-direction:column;align-items:flex-start;gap:32px}footer.comparison-footer .footer-cta{align-items:flex-start;gap:24px;width:100%}footer.comparison-footer .footer-cta h2{text-align:left;font-size:36px}footer.comparison-footer .actions{flex-wrap:wrap;width:100%}footer.comparison-footer .button{font-size:14px;height:48px;min-height:48px;padding:12px 16px}footer.comparison-footer .button.secondary,footer.comparison-footer .button.light{min-width:0}footer.comparison-footer .footer-arrow{width:36px}footer.comparison-footer .footer-arrow::before{width:36px}}


/* Match the W1 comparison content width for both footer content and separator. */
footer.comparison-footer{--footer-inset:max(5%,calc((100% - 1440px)/2));padding-inline:var(--footer-inset);flex-direction:row;background:#0f0c0c}
footer.comparison-footer .button.secondary,footer.comparison-footer .button.light{width:auto}
@media(max-width:700px){footer.comparison-footer{--footer-inset:5%;flex-direction:column}footer.comparison-footer .footer-brand{order:1}}

/* Match footer CTA sizing to the hero at every breakpoint. */
footer.comparison-footer .button{height:auto;min-height:54px;padding:15px 24px;font-size:16px;line-height:1.3}
footer.comparison-footer .button.secondary,footer.comparison-footer .button.light{min-width:0}
@media(min-width:701px) and (max-width:1100px){
 footer.comparison-footer .button{font-size:13px;padding:12px 16px;min-height:46px}
 footer.comparison-footer .footer-arrow{width:36px}
 footer.comparison-footer .footer-arrow::before{width:36px}
}
@media(max-width:700px){
 footer.comparison-footer .button{font-size:13px;padding:13px 16px;min-height:48px}
}

/* Keep section headings below the hero at one size on every viewport. */
.pricing-banner h2,.benchmark h2,.throughput-section>h2,.model-comparison .comparison-heading>h2,.scene-stage>h2,footer.comparison-footer .footer-cta h2{font-size:36px}

/* Side-by-side videos-per-dollar comparison. */
.dollar-showcase{padding:64px max(5%,calc((100% - 1440px)/2));display:grid;grid-template-columns:1fr;gap:40px;background:#0f0c0c}
.dollar-budget-copy{max-width:100%}
.dollar-budget-copy h2{margin:0 0 20px;font-size:36px;line-height:1.2;font-weight:700}
.dollar-budget-copy>p{margin:0;font-size:16px;line-height:1.6;color:#ffffffb3}
.dollar-video-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;justify-self:end}
.dollar-model{min-width:0}
.dollar-model-name{margin:0;text-align:center;font-size:clamp(14px,1.4vw,20px);line-height:1.3;font-weight:700;color:#ffffffb3}
.dollar-model-name-vivix{color:#f95801}
.dollar-showcase-media{display:grid;isolation:isolate;overflow:hidden;border-radius:2px}
.dollar-showcase-media::before{content:"";grid-area:1/1;z-index:1;background:rgba(0,0,0,.5);pointer-events:none}
.dollar-showcase-info{grid-area:1/1;align-self:center;z-index:2;pointer-events:none;margin:0 4%;display:grid;gap:12px}
.dollar-showcase-copy{margin:0;text-align:center;font-size:clamp(16px,1.55vw,24px);font-weight:700;line-height:1.1;letter-spacing:-.02em}
.dollar-showcase-video{grid-area:1/1;min-width:0;display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#000}
@media(max-width:1100px){.dollar-showcase{gap:32px}.dollar-model-name{font-size:16px}}
@media(max-width:800px){.dollar-showcase{padding:48px 6%;grid-template-columns:1fr;gap:32px}.dollar-budget-copy h2{font-size:32px}.dollar-video-stack{justify-self:center}.dollar-showcase-copy{font-size:clamp(14px,2.8vw,22px)}}

/* Ten scene choices share a bounded list, with the selected prompt kept in view. */
.scene-stage .comparison-scenes{height:min(560px,calc(100svh - 240px));overflow-y:auto;scrollbar-width:none}
.scene-stage .comparison-scene{flex:none}
.scene-stage .scene-landscape-panel{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto;max-width:calc((100svh - 240px - var(--scene-gap)) * 64 / 45)}
.scene-landscape-panel .example-main{grid-column:1/-1;grid-row:1}
.scene-landscape-panel figure:nth-child(n+2){grid-column:auto;grid-row:2}
.scene-landscape-panel figure{aspect-ratio:16/9}
.scene-landscape-panel .example-main{aspect-ratio:16/9}
@media(max-width:800px){
 .scene-stage .comparison-scenes{height:min(240px,34svh)}
 .scene-stage .scene-landscape-panel{max-width:calc((100svh - 430px - var(--scene-gap)) * 64 / 45)}
}

/* Keep each prompt directly below its media, with a 16px gap. */
.scene-panel-group{width:100%;margin-left:auto;max-width:calc((100svh - 340px) * 1.125 + 23px)}
.scene-panel-group:has(.scene-square-panel){max-width:calc((100svh - 340px) * 2 + 16px)}
.scene-panel-group:has(.scene-landscape-panel){max-width:calc((100svh - 340px - 16px) * 64 / 45)}
.scene-stage .scene-panel-group>.scene-video-panel{max-width:none}
.scene-media-prompt{margin:16px 0 0;color:#ffffffb3;font-size:16px;font-weight:400;line-height:1.3;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;cursor:default}
.scene-stage .comparison-scene.active{padding-bottom:10px}
@media(max-width:800px){
 .scene-panel-group{margin-inline:auto;max-width:calc((100svh - 500px) * 1.125 + 12px)}
 .scene-panel-group:has(.scene-square-panel){max-width:calc((100svh - 500px) * 2 + 8px)}
 .scene-panel-group:has(.scene-landscape-panel){max-width:calc((100svh - 500px - 8px) * 64 / 45)}
 .scene-stage .comparison-scene.active{padding-bottom:8px}
}

/* Hide category scrollbars while preserving wheel, touch, and keyboard scrolling. */
.scene-stage .comparison-scenes::-webkit-scrollbar{display:none;width:0;height:0}

.comparison-heading{display:flex;flex-direction:column;gap:20px}
.comparison-heading>p{max-width:960px;margin:0;font-size:16px;line-height:1.6;color:#ffffffb3}

/* Fit media and its four-line prompt below the measured comparison heading. */
.scene-stage .comparison-scenes{height:var(--scene-list-height,560px)}
.scene-stage .scene-panel-group{--panel-gap:16px;max-width:max(0px,calc(var(--scene-media-height,400px) * 1.125 + var(--panel-gap) * 1.4375))}
.scene-stage .scene-panel-group:has(.scene-square-panel){max-width:max(0px,calc(var(--scene-media-height,400px) * 2 + var(--panel-gap)))}
.scene-stage .scene-panel-group:has(.scene-landscape-panel){max-width:max(0px,calc((var(--scene-media-height,400px) * 64 - var(--panel-gap) * 37) / 45))}
@media(max-width:800px){
 .scene-stage .scene-panel-group{--panel-gap:8px}
 .scene-stage .scene-panel-group,
 .scene-stage .scene-panel-group:has(.scene-square-panel),
 .scene-stage .scene-panel-group:has(.scene-landscape-panel){max-width:none}
}

.scene-stage .comparison-scene.pending h3{font-size:20px}

.scene-stage .comparison-scene h3{transition:font-size .24s ease}
@media(prefers-reduced-motion:reduce){.scene-stage .comparison-scene h3{transition:none}}

.dollar-model[aria-labelledby="dollar-seedance-model"] .dollar-showcase-video{filter:grayscale(1)}

/* Cost and generation time share the same model order and chart styling. */
.benchmark-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px 48px}
.benchmark-testing-method{grid-column:1/-1;display:grid;gap:8px;font-size:12px;line-height:1.5;color:#ffffffb3}
.benchmark-testing-method p{margin:0}
.benchmark-testing-method a{text-decoration:underline;text-underline-offset:3px}
.benchmark-testing-method a:hover,.benchmark-testing-method a:focus-visible{color:#fff}
.benchmark-comparison .chart-title{min-height:30px}
@media(max-width:800px){.benchmark-comparison{grid-template-columns:1fr;gap:32px}.benchmark-comparison .chart-title{min-height:0}}
