:root { color-scheme:dark; --bg:#0c0d1b; --card:#1a1b2b; --field:#252637; --line:#39394e; --muted:#b9b7cb; --ink:#fdfbff; --pink:#ffb2c6; font-family:Inter,"Helvetica Neue",Arial,sans-serif }
* { box-sizing:border-box }
html { scroll-behavior:smooth; scroll-padding-top:24px }
body { margin:0; background:radial-gradient(ellipse 75% 700px at 85% 0%,#27223c 0%,transparent 85%),var(--bg); color:var(--ink) }
button,input { font:inherit }
button,summary { cursor:pointer }
[hidden] { display:none!important }
h1,h2,h3,p,figure { margin:0 }
a { color:inherit }
img { max-width:100% }
.bar,main,footer { width:min(1232px,92%); margin:auto }
header { border-bottom:1px solid #3e354b; background:linear-gradient(90deg,#151526ee,#19192be6 50%,#252336c9),url('/assets/coast.jpg') center 51%/cover }
.bar,.brand,nav { display:flex; align-items:center }
.bar { min-height:66px; justify-content:space-between; gap:18px }
.brand { text-decoration:none; font-size:22px; font-weight:800; letter-spacing:-.045em }
.logo { width:32px; height:32px; margin-right:8px; border-radius:7px }
nav { gap:28px }
nav a { text-decoration:none; font-size:13px; color:#dedbe9 }
a:hover { color:var(--pink) }
:focus-visible,.slot:focus-within { outline:2px solid var(--pink); outline-offset:4px }
.hero { display:grid; grid-template-columns:minmax(300px,.6fr) minmax(0,1fr); grid-template-areas:"intro intro" ". tabs" "form preview"; gap:12px 24px; padding:42px 0 64px; align-items:stretch }
.intro { grid-area:intro; padding-bottom:18px }
h1 { font-family:"Arial Black","Helvetica Neue",Arial,sans-serif; font-weight:900; line-height:1.04; text-transform:uppercase }
h1 span { display:block; font-size:clamp(33px,5.3vw,68px); letter-spacing:-.065em }
h1 em,h2 em { font-style:normal; color:var(--pink); background:linear-gradient(105deg,#d8b4e5,#ffb2c6 57%,#ffd4a4); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent }
h1 small { display:block; margin:10px 0 0 2px; font:650 12px/1.4 Inter,Arial,sans-serif; letter-spacing:.17em }
.intro p { margin-top:13px; color:var(--muted); font-size:16px; line-height:1.6 }
#form { grid-area:form; border:1px solid #38374b; border-radius:18px; background:var(--card); padding:20px; display:flex; flex-direction:column; gap:12px; min-width:0 }
.panel-title { font-size:18px; line-height:1.3; padding-bottom:11px; border-bottom:2px solid var(--pink); width:fit-content; letter-spacing:-.025em }
.photos-box { border:0; border-radius:12px; margin:0; padding:13px; min-width:0; flex:1; display:flex; flex-direction:column; background:var(--field) }
.photos-box legend { float:left; padding:0; margin-bottom:10px; font-size:13px; font-weight:650 }
.photos { clear:both; display:flex; flex:1; min-height:120px }
.slot { position:relative; width:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:6px; border:1px dashed #666078; border-radius:10px; background:#303044; overflow:hidden; cursor:pointer; font-size:12px }
.slot b { font-size:27px; font-weight:400 }
.slot input,.slot img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain }
.slot input { opacity:0; cursor:pointer }
.slot img { background:var(--field) }
.filetypes { margin-top:10px; color:var(--muted); font-size:10px; line-height:1.5 }
.settings { display:grid; grid-template-columns:1fr 1fr; gap:9px }
.settings > div { padding:11px 12px; background:var(--field); border-radius:11px }
.settings span { color:var(--muted); font-size:11px }
.settings strong { display:block; font-size:17px; margin-top:4px }
.primary { width:100%; min-height:48px; border:1px solid #d39aaf; border-radius:99px; background:var(--pink); color:#141321; font-weight:750; font-size:16px }
.primary b { display:none }
.primary:hover:enabled { background:#ffcada }
.primary:disabled { cursor:default }
.workspace { grid-area:preview; min-width:0 }
#sample-panel,.preview { height:100% }
.preview { border:1px solid #454057; border-radius:18px; overflow:hidden; background:var(--card); display:flex; flex-direction:column }
.preview figcaption { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px; font-size:14px; font-weight:650; background:linear-gradient(90deg,#252337,var(--card)) }
.preview figcaption span { font-size:11px; color:var(--muted); font-weight:400 }
.preview video { display:block; width:100%; aspect-ratio:1.9; flex:1; min-height:0; object-fit:contain; background:#0a0b13 }
.hero:has(#tasks-panel:not([hidden])) #form { align-self:start; min-height:408px }
#upload-error:not(:empty) { font-size:12px; color:var(--pink); margin-top:8px }

/* Clear visual chapters, with a distinct purpose for every section. */
.editorial { padding:76px 0; border-top:1px solid #2e2b40 }
.section-heading { text-align:center; max-width:820px; margin:0 auto 38px }
.eyebrow { display:block; color:var(--pink); font-size:11px; line-height:1.5; font-weight:700; letter-spacing:.17em; margin-bottom:16px }
h2 { font-size:clamp(30px,3.8vw,50px); font-weight:750; line-height:1.12; letter-spacing:-.045em }
.section-heading>p { max-width:660px; margin:19px auto 0; color:var(--muted); font-size:16px; line-height:1.7 }
.scene-grid { display:grid; grid-template-columns:1.5fr 1fr; grid-template-rows:1fr 1fr; gap:18px; height:468px }
.scene-grid figure { position:relative; overflow:hidden; border-radius:18px; border:1px solid #464057; background:var(--card) }
.scene-grid .scene-main { grid-row:span 2 }
.scene-grid img { width:100%; height:100%; object-fit:cover; display:block }
.scene-grid figcaption { position:absolute; inset:auto 0 0; padding:48px 22px 20px; background:linear-gradient(transparent,#090b16ec); font-size:20px; font-weight:650; line-height:1.4 }
.scene-grid figcaption span { display:block; color:#ffd0dc; font-size:10px; letter-spacing:.15em; margin-bottom:7px }
.image-caption { text-align:center; color:#9996ad; font-size:11px; margin-top:16px; line-height:1.6 }
.feature-row { display:grid; grid-template-columns:1.08fr 1fr; gap:7%; align-items:center; padding:30px 0 }
.feature-row+.feature-row { margin-top:28px }
.feature-row.reverse .feature-visual { grid-column:2; grid-row:1 }
.feature-row.reverse .feature-copy { grid-column:1; grid-row:1 }
.feature-visual { position:relative; border-radius:22px; overflow:hidden; background:#242238; border:1px solid #484159; aspect-ratio:1.3 }
.feature-visual img { display:block; width:100%; height:100%; object-fit:cover }
.visual-label { position:absolute; bottom:20px; left:20px; max-width:calc(100% - 40px); border:1px solid #ffffff32; background:#151421dd; color:#f9e4ed; border-radius:7px; padding:9px 12px; font-size:9px; line-height:1.6; letter-spacing:.12em; font-weight:650 }
.feature-copy h3 { font-size:clamp(27px,3vw,39px); letter-spacing:-.04em; line-height:1.16; font-weight:700 }
.feature-copy>p { margin-top:19px; color:var(--muted); font-size:15px; line-height:1.85 }
.feature-copy .fine-copy { font-size:12px; line-height:1.7; color:#a7a3bb }
.tick-list { list-style:none; padding:0; margin:22px 0; display:grid; gap:12px; color:#dedbe9; font-size:13px }
.tick-list li::before { content:'✓'; color:var(--pink); margin-right:12px }
.text-cta { display:inline-flex; align-items:center; gap:22px; margin-top:24px; border-bottom:1px solid #887085; padding:0 0 8px; font-size:14px; text-decoration:none; font-weight:650; color:var(--pink) }
.player-illustration { position:absolute; inset:auto 20px 68px; display:flex; gap:15px; align-items:center; padding:14px 16px; background:#0b0c16cc; border-radius:10px }
.player-illustration i { height:3px; flex:1; background:linear-gradient(90deg,#ffb2c6 35%,#bcb6ca66 35%); border-radius:4px }
.how-section { position:relative }
.how-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:18px }
.how-steps li { border:1px solid #3c354c; border-radius:20px; padding:30px 26px; background:linear-gradient(145deg,#242036,#141624); position:relative }
.step-number { display:block; font-size:40px; font-weight:750; line-height:1; color:#e4bdd7; letter-spacing:-.06em; margin-bottom:28px }
.how-steps h3 { font-size:21px; margin-bottom:13px; letter-spacing:-.03em }
.how-steps p { color:var(--muted); font-size:14px; line-height:1.8 }
.step-tag { display:block; margin-top:25px; padding-top:20px; border-top:1px solid #40364e; color:#e5c8dc; font-size:9px; line-height:1.5; letter-spacing:.1em }
.photo-section { display:grid; grid-template-columns:1.05fr 1fr; gap:8%; align-items:center }
.photo-guide-visual { position:relative; border-radius:22px; aspect-ratio:1; overflow:hidden; border:1px solid #4d4057 }
.photo-guide-visual img { width:100%; height:100%; display:block; object-fit:cover }
.photo-corner { position:absolute; width:38px; height:38px; border-color:#ffe2ea; border-style:solid }
.corner-tl { top:22px; left:22px; border-width:2px 0 0 2px }
.corner-br { bottom:65px; right:22px; border-width:0 2px 2px 0 }
.photo-tips { margin-top:25px; display:grid; gap:17px }
.photo-tips>div { padding-left:17px; border-left:2px solid #8f6e89 }
.photo-tips b { font-size:14px; font-weight:650 }
.photo-tips p { color:var(--muted); font-size:13px; line-height:1.7; margin-top:6px }
.output-grid { display:grid; grid-template-columns:repeat(4,1fr); margin:0; padding:25px 0; border:1px solid #40354d; border-radius:20px; background:linear-gradient(110deg,#211d31,#151623) }
.output-grid>div { padding:10px 24px; border-right:1px solid #40354d }
.output-grid>div:last-child { border:0 }
.output-grid dt { color:var(--muted); font-size:12px }
.output-grid dd { margin:18px 0 12px; font-size:42px; line-height:1; letter-spacing:-.04em; font-weight:650; color:#ffe0e9 }
.output-grid dd span { font-size:19px; font-weight:500 }
.output-grid .output-note { margin:0; font-size:11px; font-weight:400; letter-spacing:0; color:var(--muted); line-height:1.6 }
.faq-list { max-width:900px; margin:auto; display:grid; gap:10px }
details { border:1px solid #373246; background:#171725; border-radius:12px; overflow:hidden }
summary { list-style:none; padding:22px 26px; display:flex; align-items:center; justify-content:space-between; gap:22px; font-size:15px; font-weight:600; line-height:1.5 }
summary::-webkit-details-marker { display:none }
summary::after { content:'+'; color:var(--pink); font-size:24px; line-height:1; font-weight:400 }
details[open] { border-color:#7a5b78; background:linear-gradient(110deg,#242034,#191827) }
details[open] summary::after { content:'−' }
details p { padding:0 26px 24px; font-size:14px; line-height:1.85; color:var(--muted); max-width:83ch }
.closing-cta { position:relative; padding:65px 48px; margin:0 0 70px; border:1px solid #695166; border-radius:24px; overflow:hidden; background:linear-gradient(90deg,#171526f5 8%,#211e34e0 58%,#2a21398a),url('/assets/coast.jpg') center 56%/cover }
.closing-cta p { margin-top:18px; color:#e0cede; font-size:16px }
.cta-button { display:inline-flex; align-items:center; gap:30px; margin-top:28px; border-radius:99px; background:var(--pink); color:#181421; padding:16px 25px; font-weight:700; text-decoration:none; font-size:14px }
.cta-button:hover { background:#ffd0dc; color:#181421 }
footer { padding:30px 0 40px; border-top:1px solid #373044; display:flex; align-items:center; justify-content:space-between; gap:28px }
.footer-brand p { font-size:11px; color:var(--muted); line-height:1.7; margin-top:12px }
@media(max-width:1000px) { .hero { grid-template-columns:minmax(280px,.7fr) minmax(0,1fr) } #form { padding:16px } .photos { min-height:100px } .scene-grid { height:380px } .feature-row { gap:5% } .output-grid>div { padding:8px 16px } }
@media(max-width:760px) {
 .hero { grid-template-columns:1fr; grid-template-areas:"intro" "form" "tabs" "preview"; padding:30px 0 44px; gap:16px }
 #form,.hero:has(#tasks-panel:not([hidden])) #form { min-height:350px }
 .photos { min-height:130px } .preview video { flex:initial }
 .bar { gap:12px; flex-wrap:wrap; padding:12px 0 } .brand { font-size:19px } nav { gap:17px } nav a { font-size:12px }
 .editorial { padding:50px 0 } .section-heading { margin-bottom:28px } .section-heading>p { font-size:14px }
 .scene-grid { grid-template-columns:1fr 1fr; grid-template-rows:auto auto; height:auto; gap:12px }
 .scene-grid .scene-main { grid-row:auto; grid-column:1 / -1; aspect-ratio:1.6 } .scene-grid figure { aspect-ratio:1.1 }
 .scene-grid figcaption { padding:35px 14px 14px; font-size:14px } .scene-grid figcaption span { font-size:8px }
 .feature-row,.photo-section { grid-template-columns:1fr; gap:26px }
 .feature-row { padding:18px 0 } .feature-row+.feature-row { margin-top:25px }
 .feature-row.reverse .feature-visual,.feature-row.reverse .feature-copy { grid-column:auto; grid-row:auto }
 .feature-visual { aspect-ratio:1.6 } .feature-copy h3 { font-size:31px }
 .how-steps { grid-template-columns:1fr; gap:12px } .how-steps li { padding:25px } .step-number { font-size:32px; margin-bottom:18px }
 .photo-guide-visual { aspect-ratio:1.5 } .output-grid { grid-template-columns:1fr 1fr; padding:10px }
 .output-grid>div { padding:20px } .output-grid>div:nth-child(2) { border-right:0 } .output-grid>div:nth-child(-n+2) { border-bottom:1px solid #40354d }
 .output-grid dd { font-size:36px } summary { padding:19px; font-size:14px } details p { padding:0 19px 20px; font-size:13px }
 .closing-cta { padding:40px 25px; margin-bottom:40px } footer { align-items:flex-start; flex-direction:column } footer nav { flex-wrap:wrap }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto } }
@media(forced-colors:active) { h1 em,h2 em { -webkit-text-fill-color:currentColor } }
/* Task gallery: input stays on the left, progress and results stay on the right. */
.workspace { grid-area:preview; min-width:0; align-self:start }
.view-tabs { display:flex; width:fit-content; gap:4px; padding:4px; border:1px solid var(--line); border-radius:99px; margin-bottom:12px; background:#161725 }
.view-tabs button { background:transparent; color:var(--muted); border:0; border-radius:99px; padding:8px 18px; font-size:13px }
.view-tabs button[aria-selected="true"] { background:#ffb2c6; color:#171321; font-weight:700 }
#task-count { display:inline-grid; place-items:center; margin-left:5px; min-width:20px; height:20px; border-radius:50%; background:#ffffff22; font-size:11px }
.task-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px }
.task-card:only-child { grid-column:1 / -1 }
.task-card { border:1px solid #454057; background:var(--card); border-radius:16px; overflow:hidden; min-width:0 }
.task-media { position:relative; aspect-ratio:1.9; background:#10111c; overflow:hidden }
.task-media > img, .task-media > video { display:block; width:100%; height:100%; object-fit:contain }
.task-poster { opacity:.3 }
.task-overlay { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; background:#0c0d1b33; font-size:15px }
.spinner { width:25px; height:25px; border:2px solid #ffb2c63b; border-top-color:var(--pink); border-radius:50%; animation:spin 1s linear infinite }
@keyframes spin { to { transform:rotate(360deg) } }
.task-info { padding:13px 14px 12px }
.task-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; font-size:13px }
.task-heading span { font-size:11px; color:var(--muted) }
.task-note { font-size:12px; line-height:1.5; color:var(--muted); margin-top:6px }
.task-actions { display:flex; gap:6px; padding:10px; border-top:1px solid var(--line); background:#222232 }
.task-actions button, .task-actions a { color:var(--ink); font-size:12px; border:0; border-radius:99px; padding:9px 10px; background:transparent; white-space:nowrap }
.task-actions button:first-child { background:#3c3449; margin-right:auto }
.task-actions button:hover:enabled, .task-actions a:hover { background:#4c3d51; color:var(--pink) }
.task-actions button:disabled, .task-actions a[aria-disabled="true"] { opacity:.35; cursor:default }
.task-card[data-state="failed"] .task-overlay, .task-card[data-state="review"] .task-overlay { color:var(--pink) }
.payment-link { display:inline-block; font-size:12px; margin-top:8px; color:var(--pink) }
#upload-error:not(:empty) { color:var(--muted); font-size:12px; line-height:1.5; margin-top:10px }
#empty-tasks { padding:60px 25px; text-align:center; background:var(--card); border:1px dashed var(--line); border-radius:16px; color:var(--muted); line-height:1.6 }
@media(max-width:1050px) { .task-grid { grid-template-columns:1fr } }
@media(prefers-reduced-motion:reduce) { .spinner { animation:none } }

.task-actions a { text-decoration:none; display:inline-block }
.task-actions a[aria-disabled="true"] { pointer-events:none }
/* Tabs sit above both equal-height panels; task history does not stretch the form. */
.view-tabs { grid-area:tabs; margin-bottom:0 }
.workspace { align-self:stretch }
