File size: 33,770 Bytes
1d8be9a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
@import "tailwindcss";

:root {
  --paper: #f5f4ef;
  --paper-deep: #eeede6;
  --surface: #fffefa;
  --ink: #20231f;
  --muted: #787c73;
  --line: #e7e7df;
  --line-dark: #d8d9d0;
  --accent: #c5e879;
  --accent-deep: #a6ce52;
  --shadow: 0 18px 55px rgb(29 35 24 / 7%);
}

@theme inline {
  --color-background: var(--paper);
  --color-foreground: var(--ink);
  --font-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #7c9e43;
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
::selection { background: #d9edae; color: var(--ink); }

.site-header {
  width: min(1320px, calc(100% - 80px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(32 35 31 / 8%);
}
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -1px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #25321b; background: var(--accent); }
.brand-ai { color: #8ca761; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 38px; font-size: 13px; color: #666a61; }
.main-nav a, .site-footer a { transition: color .18s ease; }
.main-nav a:hover, .site-footer a:hover { color: #648232; }
.header-cta { display: inline-flex; align-items: center; gap: 12px; padding: 11px 15px; border: 1px solid var(--line-dark); border-radius: 9px; background: rgb(255 254 250 / 56%); font-size: 12px; font-weight: 650; transition: background .18s ease, border-color .18s ease; }
.header-cta:hover { border-color: #b9cc91; background: #fbfff2; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-auth-wrap { position: relative; }
.header-auth-button { cursor: pointer; }
.header-auth-button:disabled { cursor: wait; opacity: .65; }
.header-auth-button span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-auth-error { position: absolute; top: calc(100% + 5px); right: 0; width: max-content; max-width: 260px; padding: 7px 9px; border: 1px solid #efd6cb; border-radius: 6px; background: #fff8f4; color: #975b46; font-size: 10px; line-height: 1.4; z-index: 8; }

.hero-shell {
  width: min(1180px, calc(100% - 80px));
  min-height: 510px;
  margin: 0 auto;
  padding: 46px 0 74px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 42px;
}
.hero-copy { padding: 28px 0 32px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 9px; color: #778066; font-size: 10px; letter-spacing: .15em; font-weight: 760; }
.status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #8fb24a; box-shadow: 0 0 0 3px rgb(143 178 74 / 15%); }
.status-dot-muted { background: #b7bbb0; box-shadow: 0 0 0 3px rgb(183 187 176 / 17%); }
.hero-copy h1 { margin: 23px 0 17px; font-size: clamp(42px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -.065em; font-weight: 650; }
.hero-copy h1 span { color: #858c78; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -.06em; }
.hero-description { max-width: 400px; margin: 0; color: #72766d; font-size: 15px; line-height: 1.75; }
.hero-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 27px; padding-bottom: 5px; border-bottom: 1px solid #9cb86e; color: #41483a; font-size: 13px; font-weight: 700; }
.hero-link svg { transition: transform .18s ease; }
.hero-link:hover svg { transform: translateX(3px); }

.hero-art { position: relative; height: 365px; display: grid; place-items: center; isolation: isolate; }
.hero-art-glow { position: absolute; width: 74%; height: 75%; top: 12%; border-radius: 50%; background: radial-gradient(ellipse, rgb(190 209 148 / 28%), rgb(245 244 239 / 0%) 70%); filter: blur(15px); }
.hero-photo { position: absolute; overflow: hidden; width: min(430px, 79%); height: 284px; border: 7px solid #fffefa; border-radius: 14px; box-shadow: 0 25px 60px rgb(37 43 30 / 16%); background: linear-gradient(180deg, #c9d5c5 0%, #dbe0d2 48%, #b2bca1 100%); }
.photo-back { transform: rotate(3deg) translate(12px, -2px); }
.photo-back::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(49 58 42 / 7%), transparent 55%, rgb(255 255 255 / 12%)); }
.sun { position: absolute; top: 31px; right: 67px; width: 66px; height: 66px; border-radius: 50%; background: #eee1bd; box-shadow: 0 0 60px 12px rgb(249 226 177 / 30%); }
.ridge { position: absolute; left: -5%; width: 110%; clip-path: polygon(0 83%, 16% 28%, 31% 61%, 52% 10%, 73% 63%, 88% 30%, 100% 74%, 100% 100%, 0 100%); }
.ridge-back { top: 91px; height: 160px; background: #81927d; opacity: .85; }
.ridge-front { top: 147px; height: 155px; transform: scaleX(-1); background: #667c6b; }
.field-lines { position: absolute; inset: 211px 0 0; z-index: 2; background: repeating-linear-gradient(171deg, transparent 0 13px, rgb(231 226 194 / 47%) 14px 16px, transparent 17px 26px); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%); }
.hero-photo-photo-label { position: absolute; left: 10%; bottom: 25px; z-index: 3; display: flex; gap: 7px; align-items: center; padding: 9px 11px; border-radius: 7px; background: rgb(255 254 250 / 92%); color: #566148; font-size: 8px; font-weight: 760; letter-spacing: .11em; box-shadow: 0 6px 20px rgb(33 38 27 / 9%); }
.hero-art-stamp { position: absolute; right: 2%; bottom: 19px; z-index: 4; width: 75px; height: 75px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1px; border: 1px solid rgb(69 77 58 / 14%); border-radius: 50%; background: #e2ebd0; color: #525e40; transform: rotate(-9deg); }
.hero-art-stamp span { font-size: 7px; font-weight: 800; letter-spacing: .09em; }
.hero-art-stamp strong { font-family: Georgia, serif; font-size: 24px; line-height: 1; font-weight: 500; }

.studio-section { width: min(1220px, calc(100% - 80px)); margin: 0 auto; padding: 59px 0 104px; border-top: 1px solid rgb(32 35 31 / 9%); scroll-margin-top: 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-heading .section-kicker, .how-heading .section-kicker { margin: 0 0 10px; }
.section-heading h2, .how-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.045em; font-weight: 620; }
.section-aside { max-width: 310px; margin: 0 0 2px; color: var(--muted); text-align: right; font-size: 11px; line-height: 1.65; }
.studio-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 17px; align-items: stretch; }
.studio-layout.is-dragging::after { content: "Drop image to open"; position: absolute; inset: 7px; z-index: 20; display: grid; place-items: center; border: 2px dashed #91af5f; border-radius: 18px; background: rgb(245 244 239 / 82%); color: #4d6134; font-size: 18px; font-weight: 700; pointer-events: none; backdrop-filter: blur(2px); }
.image-workspace, .settings-panel { min-width: 0; border: 1px solid #e6e6de; border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.image-workspace { padding: 17px; }
.workspace-toolbar { height: 27px; margin-bottom: 13px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.workspace-status, .workspace-actions, .local-badge { display: flex; align-items: center; }
.workspace-status { gap: 9px; color: #73776f; font-size: 9px; font-weight: 770; letter-spacing: .12em; }
.workspace-status .status-dot { width: 6px; height: 6px; }
.workspace-actions { gap: 9px; }
.local-badge { gap: 5px; color: #898d84; font-size: 8px; letter-spacing: .1em; font-weight: 700; }
.text-button, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; color: #585d53; cursor: pointer; font-size: 11px; font-weight: 650; }
.text-button:hover:not(:disabled) { color: #5f7b32; }
.text-button:disabled, .icon-button:disabled { opacity: .45; cursor: not-allowed; }
.icon-button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; }
.icon-button:hover:not(:disabled) { background: #f5f5ef; }
.image-stage { position: relative; overflow: hidden; border-radius: 10px; background: #f0f0eb; }
.original-preview-image { position: relative; height: clamp(300px, 48vw, 475px); overflow: hidden; display: grid; place-items: center; background: #ededeb; }
.original-preview-image img { object-fit: contain; }
.original-preview-image .comparison-label { top: 14px; }
.original-file-card { min-height: 62px; display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-top: 1px solid #e8e8e2; background: #fffefa; }
.file-card-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #768366; }
.file-card-name, .result-file-label > span:last-child { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 4px; }
.file-card-name strong, .result-file-label strong { overflow: hidden; color: #42463f; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 680; }
.file-card-name small, .result-file-label small { color: #92968d; font-size: 9px; }
.file-card-ready { color: #6e883f; font-size: 8px; font-weight: 780; letter-spacing: .12em; }

.upload-dropzone { position: relative; min-height: clamp(365px, 48vw, 475px); padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #cfd3c3; border-radius: 10px; background: linear-gradient(135deg, #fbfcf7, #f7f8f1); text-align: center; transition: border-color .2s ease, background .2s ease; }
.upload-dropzone.is-dragging { border-color: #85a64e; background: #f3f8e8; }
.upload-icon-wrap { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid #e4e9d8; border-radius: 15px; background: #f5f8ee; color: #728c4a; }
.upload-kicker { margin: 0 0 8px; color: #869175; font-size: 8px; letter-spacing: .14em; font-weight: 760; }
.upload-dropzone h3 { margin: 0; font-size: 19px; letter-spacing: -.035em; font-weight: 650; }
.upload-description { max-width: 310px; margin: 9px 0 20px; color: #7e8279; font-size: 11px; line-height: 1.6; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 680; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; box-shadow: none; }
.button:not(:disabled):active { transform: translateY(1px); }
.button-dark { color: #fbfcf7; background: #272b24; box-shadow: 0 5px 14px rgb(32 35 31 / 12%); }
.button-dark:hover:not(:disabled) { background: #3a4230; box-shadow: 0 8px 20px rgb(32 35 31 / 15%); }
.upload-button { min-width: 165px; padding: 0 18px; }
.upload-file-types { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: #92968d; font-size: 8px; }
.upload-file-types span:not(:last-child) { padding: 4px 6px; border: 1px solid #e3e6dc; border-radius: 4px; color: #73786b; font-size: 7px; font-weight: 760; }
.upload-file-types i { width: 3px; height: 3px; margin: 0 5px; border-radius: 50%; background: #bbbfb4; }
.upload-privacy { display: flex; align-items: center; gap: 6px; margin-top: 22px; color: #83877e; font-size: 9px; }
.upload-privacy svg { color: #8ba65d; }
.drop-hint { display: none; align-items: center; gap: 7px; margin-top: 14px; color: #60783b; font-size: 10px; font-weight: 650; }
.upload-dropzone.is-dragging .drop-hint { display: flex; }
.visually-hidden-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.paste-tip { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 12px 0 0; color: #8d9188; font-size: 9px; }
.paste-tip span { margin-right: 5px; color: #777f6a; font-size: 8px; font-weight: 750; letter-spacing: .08em; }
kbd { padding: 2px 4px; border: 1px solid #dcddd5; border-radius: 3px; background: #f7f7f2; color: #60645b; font-size: 8px; }
.drop-overlay { position: absolute; inset: 9px; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 9px; border: 2px dashed #8cae53; border-radius: 8px; background: rgb(246 250 237 / 94%); color: #526d2c; font-size: 13px; font-weight: 700; }

.settings-panel { padding: 22px 21px 18px; display: flex; flex-direction: column; }
.settings-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 23px; }
.settings-heading .section-kicker { margin: 0 0 7px; font-size: 8px; }
.settings-heading h3 { margin: 0; font-size: 16px; letter-spacing: -.035em; font-weight: 660; }
.settings-step { color: #4f583f; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.settings-step span { color: #afb2a9; font-weight: 500; }
.settings-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.settings-field legend { margin: 0; padding: 0; color: #454a40; font-size: 11px; font-weight: 700; }
.field-caption { margin: 6px 0 12px; color: #92958c; font-size: 9px; }
.scale-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scale-option { position: relative; min-height: 70px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 11px; border: 1px solid #e5e6de; border-radius: 8px; background: #fffefa; text-align: left; cursor: pointer; }
.scale-option.is-selected { border-color: #91aa64; background: #f8faef; box-shadow: inset 0 0 0 1px #91aa64; }
.scale-option:disabled, .format-option:disabled { cursor: not-allowed; }
.scale-option-top { font-size: 20px; letter-spacing: -.06em; font-weight: 680; }
.scale-option-bottom { color: #92958c; font-size: 8px; }
.selected-mark { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #39492a; }
.format-field { margin-top: 22px; }
.format-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.format-option { min-height: 52px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 7px 5px; border: 1px solid #e6e6df; border-radius: 7px; background: #fffefa; text-align: center; cursor: pointer; }
.format-option.is-selected { border-color: #a6bc7e; background: #f7f9ef; }
.format-label { color: #52574d; font-size: 9px; font-weight: 760; }
.format-detail { color: #9a9d94; font-size: 7px; }
.future-setting { display: flex; align-items: center; gap: 9px; margin-top: 20px; padding: 11px 0; border-top: 1px solid #eeeeea; border-bottom: 1px solid #eeeeea; }
.future-setting-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #ebede6; border-radius: 7px; color: #8c9876; }
.future-setting-copy { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.future-setting-copy strong { color: #676b62; font-size: 9px; font-weight: 690; }
.future-setting-copy span { color: #a0a399; font-size: 8px; }
.coming-soon { padding: 4px 5px; border-radius: 4px; background: #f1f2ed; color: #94988d; font-size: 7px; font-weight: 750; letter-spacing: .08em; }
.enhance-button, .download-button { width: 100%; min-height: 46px; margin-top: auto; padding: 0 12px; }
.enhance-button { margin-top: 19px; }
.button-tail { margin-left: auto; color: #c5e879; }
.settings-footnote { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; color: #92958b; font-size: 8px; line-height: 1.4; }
.settings-footnote svg { flex: 0 0 auto; }
.settings-error { margin-top: 13px; padding: 10px 11px; border: 1px solid #efd6cb; border-radius: 7px; background: #fff8f4; color: #995b45; font-size: 9px; line-height: 1.5; }
.processing-status { display: flex; align-items: center; gap: 9px; margin-top: 17px; padding: 10px; border: 1px solid #e4e9d8; border-radius: 8px; background: #f8faef; color: #70874c; }
.processing-status span { display: flex; flex-direction: column; gap: 3px; }
.processing-status strong { color: #596949; font-size: 9px; }
.processing-status small { color: #909889; font-size: 8px; }
.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.enhance-again { margin: 8px auto 0; padding: 6px; border: 0; background: transparent; color: #78845f; cursor: pointer; font-size: 8px; text-decoration: underline; text-underline-offset: 3px; }
.enhance-again:disabled { opacity: .5; cursor: not-allowed; }

.comparison-card { overflow: hidden; background: #f0f0eb; }
.comparison-toolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border-bottom: 1px solid #e5e5df; background: #fffefa; }
.comparison-heading { display: flex; align-items: center; gap: 7px; color: #60665a; font-size: 10px; font-weight: 670; }
.comparison-heading svg { color: #829a5e; }
.zoom-controls { display: flex; align-items: center; gap: 3px; }
.zoom-controls > span { margin-right: 4px; color: #a0a399; font-size: 7px; font-weight: 760; letter-spacing: .09em; }
.zoom-controls button { min-width: 28px; height: 25px; display: inline-grid; place-items: center; padding: 0 5px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #85897f; cursor: pointer; font-size: 8px; }
.zoom-controls button.is-active { border-color: #dfe5d2; background: #f4f7ec; color: #536a36; font-weight: 700; }
.zoom-controls button:disabled { opacity: .38; cursor: not-allowed; }
.comparison-stage { position: relative; height: clamp(310px, 42vw, 450px); overflow: hidden; background: radial-gradient(ellipse at 50% 43%, #f9f9f6 0%, #e9eae4 80%); isolation: isolate; touch-action: pan-y; }
.comparison-stage.is-pan-mode { cursor: grab; touch-action: none; }
.comparison-stage.is-pan-mode:active { cursor: grabbing; }
.comparison-stage.is-pan-mode .comparison-image { transition: none; }
.comparison-stage.is-pan-mode .comparison-range { pointer-events: none; }
.comparison-stage:has(.comparison-range:focus-visible) { outline: 3px solid #7c9e43; outline-offset: -3px; }
.comparison-image { position: absolute; inset: 0; transform-origin: center; transition: transform .2s ease; }
.comparison-image img { object-fit: contain; user-select: none; -webkit-user-drag: none; }
.comparison-after { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.comparison-after .comparison-image { width: 100%; height: 100%; }
.comparison-label { position: absolute; z-index: 4; top: 13px; padding: 6px 8px; border: 1px solid rgb(255 255 255 / 48%); border-radius: 4px; background: rgb(30 34 28 / 66%); color: #fff; font-size: 7px; font-weight: 760; letter-spacing: .1em; backdrop-filter: blur(7px); }
.label-before { left: 13px; }
.label-after { right: 13px; }
.comparison-divider { position: absolute; top: 0; bottom: 0; z-index: 5; width: 2px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 6px rgb(20 24 17 / 24%); pointer-events: none; }
.divider-knob { position: absolute; top: 50%; left: 50%; width: 35px; height: 35px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: #232820; box-shadow: 0 2px 8px rgb(0 0 0 / 24%); }
.divider-knob::before, .divider-knob::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.divider-knob::before { left: 7px; transform: translateY(-50%) rotate(-135deg); }
.divider-knob::after { right: 7px; transform: translateY(-50%) rotate(45deg); }
.comparison-range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.comparison-range::-moz-range-track { height: 100%; background: transparent; }
.comparison-range::-webkit-slider-thumb { width: 28px; height: 100%; appearance: none; background: transparent; }
.comparison-range::-moz-range-thumb { width: 28px; height: 100%; border: 0; border-radius: 0; background: transparent; }
.compare-hint { position: absolute; right: 11px; bottom: 11px; z-index: 4; padding: 5px 7px; border-radius: 4px; background: rgb(255 255 255 / 73%); color: #777c70; font-size: 7px; font-weight: 720; letter-spacing: .08em; pointer-events: none; }
.comparison-meta { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 14px; padding: 10px 16px; border-top: 1px solid #e3e4dc; background: #fffefa; }
.comparison-meta > div:not(.comparison-meta-arrow) { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.comparison-meta span { color: #969a90; font-size: 7px; font-weight: 740; letter-spacing: .1em; }
.comparison-meta strong { overflow: hidden; color: #4b5046; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 650; }
.comparison-meta-arrow { color: #a4ab97; font-size: 16px; }
.comparison-engine { text-align: right; }
.result-file-row { min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px 0; }
.result-file-label { min-width: 0; display: flex; align-items: center; gap: 9px; }
.result-check { width: 27px; height: 27px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #dce7c8; border-radius: 7px; background: #f7faef; color: #738b4b; }
.result-start-over { flex: 0 0 auto; }
.error-notice { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 10px 11px; border: 1px solid #efd6cb; border-radius: 7px; background: #fff8f4; color: #975b46; font-size: 9px; line-height: 1.5; }
.error-mark { width: 16px; height: 16px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #dcad9b; border-radius: 50%; font-size: 10px; font-weight: 800; }
.error-notice > span:nth-child(2) { flex: 1; }
.error-notice button { width: 23px; height: 23px; display: grid; flex: 0 0 auto; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #94604e; cursor: pointer; }

.how-section { width: min(1120px, calc(100% - 80px)); margin: 0 auto; padding: 0 0 100px; scroll-margin-top: 32px; }
.how-heading { margin-bottom: 27px; }
.how-heading .section-kicker { margin: 0 0 10px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.step-card { min-height: 168px; padding: 21px; border: 1px solid #e5e5dd; border-radius: 11px; background: rgb(255 254 250 / 58%); }
.step-number { color: #829568; font-size: 9px; font-weight: 780; letter-spacing: .12em; }
.step-card h3 { margin: 18px 0 7px; font-size: 13px; letter-spacing: -.02em; font-weight: 680; }
.step-card p { max-width: 260px; margin: 0; color: #84887f; font-size: 10px; line-height: 1.65; }
.site-footer { width: min(1320px, calc(100% - 80px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(32 35 31 / 9%); }
.site-footer .brand-lockup { font-size: 16px; }
.site-footer .brand-mark { width: 26px; height: 26px; }
.site-footer > p { color: #898d84; font-size: 9px; }
.site-footer > a:last-child { display: flex; align-items: center; gap: 7px; color: #74796c; font-size: 9px; }

.enhancer-shell { width: 100%; }
.studio-mode-toggle { width: fit-content; display: flex; gap: 3px; margin: 0 0 15px; padding: 4px; border: 1px solid #e1e2d9; border-radius: 8px; background: #eeeee8; }
.studio-mode-toggle button { min-height: 32px; padding: 0 13px; border: 0; border-radius: 5px; background: transparent; color: #767b70; cursor: pointer; font-size: 10px; font-weight: 680; }
.studio-mode-toggle button.is-selected { background: #fffefa; color: #41483a; box-shadow: 0 1px 4px rgb(30 34 25 / 9%); }
.studio-mode-toggle button:disabled { cursor: not-allowed; opacity: .55; }
.batch-layout.is-dragging::after { content: "Drop images to add to the batch"; }
.batch-image-stage { min-height: 300px; }
.batch-dropzone { position: relative; min-height: clamp(365px, 48vw, 475px); padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #cfd3c3; border-radius: 10px; background: linear-gradient(135deg, #fbfcf7, #f7f8f1); text-align: center; }
.batch-dropzone.is-dragging { border-color: #85a64e; background: #f3f8e8; }
.batch-dropzone h3 { margin: 0; font-size: 19px; letter-spacing: -.035em; font-weight: 650; }
.batch-dropzone .upload-description { max-width: 330px; }
.batch-dropzone .upload-privacy { margin-top: 17px; }
.batch-queue-section { margin-top: 13px; padding: 12px 2px 0; border-top: 1px solid #ecece5; }
.batch-queue-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; }
.batch-queue-heading strong { color: #54594f; font-size: 10px; font-weight: 720; }
.batch-queue-heading span { color: #92968d; font-size: 8px; }
.batch-archive-row { display: flex; margin-bottom: 9px; }
.batch-archive-button { min-height: 32px; gap: 7px; padding: 0 9px; border: 1px solid #e1e7d7; border-radius: 6px; background: #fffefa; color: #5d7043; font-size: 9px; }
.batch-archive-button:disabled { cursor: not-allowed; opacity: .55; }
.batch-progress { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; padding: 9px 10px; border: 1px solid #e4e9d8; border-radius: 7px; background: #f8faef; color: #73844f; font-size: 8px; line-height: 1.5; }
.batch-progress-status { min-width: 170px; flex: 1 1 190px; display: flex; align-items: center; gap: 8px; }
.batch-progress-status span { min-width: 0; }
.batch-progress svg { flex: 0 0 auto; }
.batch-progress-stop { min-height: 28px; flex: 0 0 auto; padding: 4px 7px; border: 1px solid #dfe6d3; border-radius: 5px; background: #fffefa; color: #657749; cursor: pointer; font: inherit; white-space: nowrap; }
.batch-progress-stop:disabled { opacity: .55; cursor: not-allowed; }
.batch-queue-list { display: grid; gap: 6px; max-height: 330px; margin: 0; padding: 0 3px 0 0; overflow: auto; list-style: none; }
.batch-queue-item { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 7px; padding: 5px 6px; border: 1px solid #ecece5; border-radius: 7px; background: #fffefa; }
.batch-queue-item.is-selected { border-color: #b8ca97; background: #f9fbf4; }
.batch-queue-select { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.batch-thumbnail { position: relative; width: 42px; height: 38px; flex: 0 0 auto; overflow: hidden; border-radius: 4px; background: #f0f0eb; }
.batch-thumbnail img { object-fit: cover; }
.batch-file-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 4px; }
.batch-file-copy strong { overflow: hidden; color: #4e5349; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 680; }
.batch-file-copy small { color: #94988f; font-size: 7px; }
.batch-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 4px 5px; border-radius: 4px; color: #7d836f; background: #f1f2ed; font-size: 6px; font-weight: 780; letter-spacing: .04em; }
.batch-status-complete { color: #5c7835; background: #eff5e4; }
.batch-status-failed { color: #995b46; background: #fff0e9; }
.batch-status-processing { color: #657b3f; background: #f2f6e9; }
.batch-item-actions { display: flex; align-items: center; gap: 3px; }
.batch-item-actions .icon-button { width: 25px; height: 25px; }
.batch-item-error { grid-column: 1 / -1; margin: 4px 2px 2px 50px; color: #995b46; font-size: 8px; line-height: 1.4; }
.batch-settings-summary { display: flex; justify-content: space-between; gap: 10px; margin-top: 23px; padding: 11px 0; border-top: 1px solid #eeeeea; border-bottom: 1px solid #eeeeea; }
.batch-settings-summary strong { color: #59604f; font-size: 9px; font-weight: 700; }
.batch-settings-summary span { color: #8e9387; font-size: 8px; }
.batch-output-budget { margin: 8px 0 0; color: #828779; font-size: 8px; }
.batch-output-budget.is-over-limit { color: #995b46; font-weight: 700; }
.batch-memory-note { margin: 9px 0 0; color: #92958b; font-size: 8px; line-height: 1.5; }

@media (min-width: 1500px) {
  .hero-shell { min-height: 560px; }
  .hero-art { height: 410px; }
  .hero-photo { height: 320px; }
}

@media (max-width: 980px) {
  .site-header, .hero-shell, .studio-section, .how-section, .site-footer { width: calc(100% - 48px); }
  .hero-shell { min-height: 440px; grid-template-columns: 1fr .9fr; gap: 10px; padding-top: 36px; }
  .hero-art { height: 320px; }
  .hero-photo { width: 90%; height: 245px; }
  .studio-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 12px; }
  .settings-panel { padding: 18px 15px; }
  .image-workspace { padding: 12px; }
  .comparison-meta { gap: 8px; padding-inline: 10px; }
  .comparison-engine { display: none !important; }
  .comparison-meta { grid-template-columns: 1fr auto 1fr; }
}

@media (max-width: 720px) {
  .site-header, .hero-shell, .studio-section, .how-section, .site-footer { width: calc(100% - 36px); }
  .site-header { height: 68px; }
  .brand-lockup { font-size: 17px; }
  .main-nav { display: none; }
  .header-cta { padding: 9px 11px; font-size: 10px; }
  .header-actions { gap: 5px; }
  .header-auth-button span { max-width: 112px; }
  .hero-shell { min-height: auto; grid-template-columns: 1fr; padding: 47px 0 48px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { max-width: 540px; margin-top: 17px; font-size: clamp(39px, 10vw, 55px); }
  .hero-description { max-width: 390px; font-size: 13px; }
  .hero-art { height: clamp(225px, 62vw, 310px); margin-top: 3px; }
  .hero-photo { width: min(380px, 78%); height: 75%; }
  .hero-art-stamp { right: 5%; bottom: 2%; width: 62px; height: 62px; }
  .hero-art-stamp strong { font-size: 20px; }
  .hero-photo-photo-label { left: 12%; bottom: 11%; }
  .studio-section { padding: 42px 0 70px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 19px; }
  .section-aside { margin: 0; text-align: left; }
  .section-heading h2, .how-heading h2 { font-size: 29px; }
  .studio-layout { grid-template-columns: 1fr; }
  .image-workspace { padding: 11px; }
  .workspace-toolbar { margin-bottom: 10px; }
  .settings-panel { padding: 20px; }
  .settings-heading { margin-bottom: 20px; }
  .settings-panel .enhance-button, .settings-panel .download-button { margin-top: 20px; }
  .studio-mode-toggle { margin-bottom: 12px; }
  .settings-panel .settings-footnote { justify-content: center; }
  .upload-dropzone { min-height: 355px; padding: 22px 16px; }
  .batch-dropzone { min-height: 355px; padding: 22px 16px; }
  .upload-description { max-width: 275px; }
  .original-preview-image { height: 62vw; max-height: 400px; min-height: 260px; }
  .comparison-toolbar { min-height: 45px; padding-inline: 8px; }
  .comparison-heading { font-size: 9px; }
  .zoom-controls { gap: 0; }
  .zoom-controls > span { display: none; }
  .zoom-controls button { min-width: 26px; padding-inline: 3px; font-size: 7px; }
  .comparison-stage { height: 62vw; min-height: 265px; max-height: 390px; }
  .comparison-meta { min-height: 58px; gap: 6px; padding: 8px; }
  .comparison-meta strong { font-size: 8px; }
  .comparison-meta span { font-size: 6px; }
  .comparison-meta-arrow { font-size: 13px; }
  .result-file-row { align-items: start; }
  .result-file-label strong { max-width: 220px; }
  .result-start-over { font-size: 9px; }
  .how-section { padding-bottom: 58px; }
  .steps-grid { grid-template-columns: 1fr; gap: 8px; }
  .step-card { min-height: 0; padding: 16px 18px; }
  .step-card h3 { margin: 10px 0 5px; }
  .step-card p { max-width: 420px; }
  .site-footer { min-height: 92px; flex-wrap: wrap; gap: 6px 14px; padding: 13px 0; }
  .site-footer .brand-lockup { order: 0; }
  .site-footer > p { order: 2; width: 100%; margin: 0; }
  .site-footer > a:last-child { order: 1; }
}

@media (max-width: 390px) {
  .site-header, .hero-shell, .studio-section, .how-section, .site-footer { width: calc(100% - 28px); }
  .header-cta { gap: 6px; padding: 8px; }
  .header-auth-button span { max-width: 78px; }
  .hero-copy h1 { font-size: 37px; }
  .workspace-actions { gap: 5px; }
  .local-badge { display: none; }
  .batch-queue-heading span { font-size: 7px; }
  .batch-queue-item { gap: 0 4px; padding: 4px; }
  .batch-queue-select { gap: 5px; }
  .batch-thumbnail { width: 34px; height: 34px; }
  .batch-status { padding: 4px; font-size: 5px; }
  .batch-item-actions .icon-button { width: 22px; height: 23px; }
  .batch-item-error { margin-left: 39px; }
  .comparison-heading { gap: 4px; }
  .comparison-heading svg { width: 14px; }
  .comparison-meta { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .comparison-meta strong { font-size: 7px; }
}

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