@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;750&display=swap');

:root {
  --bg: #fff;
  --surface: #fff;
  --ink: #17191c;
  --muted: #62666d;
  --line: #e5e7eb;
  --soft: #f5f6f7;
  --accent: #376653;
  --accent-hover: #2b5142;
  --accent-soft: #edf4ef;
  --accent-line: #d4e3d9;
  --focus: #4a7c65;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: inherit; }
button, select, summary { cursor: pointer; }
button, a { touch-action: manipulation; }
button, a, summary { transition: background-color 180ms, color 180ms, border-color 180ms, box-shadow 180ms; }
button:disabled { opacity: .4; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }

/* A restrained header; the upload remains the primary action. */
.site-header { display: flex; align-items: center; justify-content: space-between; height: 88px; max-width: 1328px; padding: 0 48px; margin: auto; border-bottom: 1px solid #f0f1f2; }
.brand { display: inline-flex; align-items: center; font-size: 24px; font-weight: 750; letter-spacing: -1px; white-space: nowrap; }
.brand-mark { display: grid; grid-template-columns: 8px 8px; gap: 3px; margin-right: 12px; }
.brand-mark i { height: 8px; background: var(--accent); }
.brand-mark i:last-child { background: #9cbaa7; transform: translate(2px, 2px); }
.brand-period { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.site-header nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav > a:hover { color: #72767d; }
.nav-cta { gap: 14px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.nav-cta:hover { background: var(--soft); border-color: #c6c9ce; }
.nav-cta .icon { width: 17px; height: 17px; }

/* Upload first. No editor or sample photo is shown on arrival. */
.hero { max-width: 1000px; margin: auto; text-align: center; padding: 88px 24px 28px; }
.hero .eyebrow { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 1.2px; margin-bottom: 22px; }
h1 { font-size: 60px; letter-spacing: -2.6px; line-height: 1.12; }
.hero h1 > span { color: inherit; }
.hero-copy { margin-top: 22px; }
.hero-copy p { color: var(--muted); font-size: 19px; line-height: 1.75; }
.upload-start { max-width: 680px; margin: 0 auto 88px; text-align: center; scroll-margin-top: 32px; }
.upload-drop { display: flex; align-items: center; flex-direction: column; position: relative; padding: 6px 24px 16px; border: 1px solid transparent; border-radius: 12px; }
.upload-drop.dragging { border: 1px dashed var(--accent); background: var(--accent-soft); }
.upload-illustration { display: none; }
.start-upload { min-height: 56px; padding: 14px 26px; gap: 24px; background: var(--accent); border: 1px solid var(--accent); color: #fff; border-radius: 8px; font-size: 17px; font-weight: 550; }
.start-upload:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.drop-prompt { margin-top: 16px; color: #555a62; font-size: 15px; }
.upload-formats { margin-top: 9px; color: #737780; font-size: 13px; }
.intake-status { margin-top: 14px; max-width: 480px; color: #52575e; font-size: 14px; line-height: 1.6; }
.intake-status:empty { display: none; }
.intake-status.error { color: #ac3124; }
.sample-option { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; color: #737780; font-size: 14px; }
.sample-option button { min-height: 44px; border: 0; background: transparent; padding: 6px 0; color: #34383f; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.sample-option button:hover { color: #777d85; }
.upload-privacy { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; color: #737780; font-size: 13px; }
.upload-privacy .icon { width: 16px; height: 16px; }
.is-editing .hero, .is-editing .upload-start { display: none; }

/* The editing workspace appears only after successful image decoding. */
.editor { max-width: 1232px; margin: 36px auto 0; border: 1px solid #dfe2e6; border-radius: 12px; background: white; overflow: hidden; box-shadow: 0 10px 40px -28px #17191c30; scroll-margin-top: 24px; }
.editor-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 12px 24px; border-bottom: 1px solid var(--line); }
.editor-top > div { display: flex; align-items: center; gap: 12px; }
.editor-top strong { font-size: 16px; font-weight: 600; letter-spacing: -.3px; }
.start-over { width: 40px; height: 40px; padding: 0; background: white; border: 1px solid var(--line); border-radius: 7px; }
.start-over:hover { background: var(--soft); }
.local-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.local-label .icon { width: 17px; height: 17px; }
.editor-body { display: grid; grid-template-columns: 312px minmax(0, 1fr); }
.controls { padding: 26px; border-right: 1px solid var(--line); }
.step-label { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #7a7f87; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.step-label span { color: #5d626b; font-size: 11px; font-weight: 600; letter-spacing: 1.1px; }
.upload-button { width: 100%; min-height: 50px; background: white; border: 1px solid #d7dade; border-radius: 7px; font-size: 15px; font-weight: 550; }
.upload-button:hover { background: var(--soft); border-color: #a7acb4; }
.file-hint { color: var(--muted); font-size: 12px; text-align: center; line-height: 1.8; margin-top: 12px; }
.control-divider { height: 1px; background: var(--line); margin: 24px 0; }
.mode-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid #eceef1; border-radius: 8px; background: #f2f3f5; }
.mode-switch button { flex: 1; min-height: 44px; padding: 10px 4px; border: 0; border-radius: 5px; background: transparent; color: #626873; font-size: 12px; white-space: nowrap; gap: 6px; }
.mode-switch .icon { width: 17px; height: 17px; }
.mode-switch button.active { background: var(--accent-soft); color: var(--accent); box-shadow: 0 1px 4px #17191c1a; font-weight: 600; }
.mode-switch button:not(.active):hover { background: #e6e8ec; }
.mode-hint { min-height: 64px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 14px 0 20px; }
.range-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; font-weight: 550; }
.range-label output { padding: 3px 7px; border-radius: 4px; background: #f1f2f4; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
input[type=range] { display: block; width: 100%; height: 6px; margin: 10px 0; accent-color: var(--accent); cursor: pointer; }
.range-extremes { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); }
.edit-actions { display: flex; gap: 8px; margin-top: 18px; }
.edit-actions button { flex: 1; min-height: 42px; background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.edit-actions .icon { width: 16px; height: 16px; }
.edit-actions button:not(:disabled):hover { background: var(--soft); border-color: #b3b8c1; }
.format-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.format-label select { min-height: 42px; padding: 8px 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.download-button { width: 100%; min-height: 54px; padding: 13px 17px; justify-content: space-between; color: white; background: var(--accent); border: 1px solid var(--accent); border-radius: 7px; font-size: 15px; font-weight: 550; }
.download-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.download-note { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.workspace { display: flex; flex-direction: column; position: relative; min-width: 0; padding: 22px 24px 6px; background: #f5f6f8; }
.canvas-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; min-height: 40px; }
.canvas-toolbar > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sample-tag { padding: 5px 7px; background: white; border: 1px solid #dce0e6; border-radius: 4px; color: #626873; font-size: 10px; letter-spacing: 1px; font-weight: 500; white-space: nowrap; }
#image-name { color: #707681; font-size: 12px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.canvas-toolbar button { min-height: 42px; padding: 8px 11px; border: 1px solid #d4d8df; border-radius: 6px; background: white; color: #383d46; font-size: 12px; white-space: nowrap; gap: 7px; }
.canvas-toolbar button:hover { background: #e9ecf0; border-color: #a4abb6; }
.canvas-toolbar button[aria-pressed=true] { color: white; background: var(--accent); border-color: var(--accent); }
.canvas-toolbar .icon { width: 16px; height: 16px; }
.canvas-stage { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 360px; position: relative; background: repeating-conic-gradient(#e8eaee 0 25%, #f1f2f5 0 50%) 0 / 20px 20px; border: 1px solid #e0e3e9; border-radius: 7px; overflow: hidden; }
.canvas-wrap { display: flex; position: relative; max-width: 100%; max-height: 520px; line-height: 0; box-shadow: 0 3px 16px #17191c14; }
canvas { display: block; max-width: 100%; max-height: 520px; object-fit: contain; cursor: crosshair; touch-action: none; }
#selection { position: absolute; pointer-events: none; border: 2px dashed white; outline: 1px solid #33363c; background: #ffffff24; }
.drop-overlay { display: none; position: absolute; inset: 0; z-index: 5; align-items: center; justify-content: center; flex-direction: column; background: #f4f5f8f5; border: 2px dashed #737b89; color: var(--ink); font-size: 24px; font-weight: 600; }
.drop-overlay span { margin-top: 10px; font-size: 14px; font-weight: 400; }
.dragging .drop-overlay { display: flex; }
.canvas-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; color: #686f7c; font-size: 12px; }
.canvas-bottom > span:first-child { display: flex; align-items: center; gap: 8px; }
.canvas-bottom .icon { width: 17px; height: 17px; }
#dimensions { white-space: nowrap; font-variant-numeric: tabular-nums; }
.editor-status { min-height: 30px; padding-bottom: 8px; color: #596273; font-size: 12px; }
.editor-status.error { color: #ac3124; }
.editor-footer { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 12px 20px; background: white; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.editor-footer .icon { width: 16px; height: 16px; }
.under-editor { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1232px; margin: 18px auto 0; color: var(--muted); font-size: 13px; }
.under-editor a { display: flex; align-items: center; gap: 10px; }
.under-editor .icon { width: 16px; height: 16px; }

/* Search-friendly guidance follows the task, without competing with it. */
.content-section { margin: auto; }
h2 { font-size: 32px; letter-spacing: -1px; line-height: 1.25; }
.how-section { max-width: 1080px; border-top: 1px solid var(--line); padding: 64px 0 68px; }
.how-section .section-intro { text-align: center; margin-bottom: 42px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 20px; background: #f3f4f6; border-radius: 50%; font-size: 13px; font-weight: 550; color: #545b66; }
.steps h3, .use-grid h3 { font-size: 18px; line-height: 1.4; letter-spacing: -.4px; margin-bottom: 11px; }
.steps p, .use-grid p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.use-section { max-width: 1080px; padding: 32px 0 64px; border-bottom: 1px solid var(--line); }
.use-section h2 { text-align: center; font-size: 28px; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 36px; }
.faq-section { max-width: 850px; padding: 72px 0 80px; }
.faq-section .section-intro { text-align: center; margin-bottom: 36px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 21px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; list-style: none; gap: 24px; min-height: 36px; font-size: 16px; font-weight: 500; line-height: 1.6; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; flex-shrink: 0; font-size: 24px; font-weight: 400; line-height: 1; color: #707681; width: 24px; text-align: center; }
.faq-list details[open] summary:after { content: '−'; }
.faq-list summary:hover { color: #707681; }
.faq-list p { padding: 14px 40px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; max-width: 1328px; margin: auto; padding: 40px 48px 24px; border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 23px; }
.site-footer > div > p { margin-top: 12px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.site-footer nav a:hover { color: #17191c; }
.copyright { display: flex; justify-content: space-between; width: 100%; margin-top: 10px; padding-top: 23px; border-top: 1px solid var(--line); color: #737780; font-size: 12px; }
.legal-main { max-width: 820px; min-height: 65vh; padding: 64px 24px 88px; margin: auto; }
.legal-main .back-link { display: inline-block; margin-bottom: 36px; color: var(--muted); font-size: 14px; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; color: var(--muted); }
.legal-main h1 { font-size: 48px; letter-spacing: -1.8px; margin: 18px 0 26px; }
.legal-main h2 { font-size: 25px; letter-spacing: -.7px; margin: 34px 0 13px; }
.legal-main p, .legal-main li { color: var(--muted); font-size: 16px; line-height: 1.9; margin-bottom: 16px; }
.legal-main a:not(.back-link) { text-decoration: underline; text-underline-offset: 4px; }
.legal-main .updated { font-size: 13px; }
.contact-card { border: 1px solid var(--line); border-radius: 10px; padding: 28px; margin: 28px 0; background: #f8f9fa; }
.contact-card h2 { margin-top: 0; }
.contact-card a { display: inline-block; margin-top: 10px; font-weight: 600; }

@media (max-width: 1327px) {
  .editor, .under-editor { margin-left: 48px; margin-right: 48px; }
  .how-section, .use-section { width: calc(100% - 96px); }
  .faq-section { width: calc(100% - 96px); }
  #image-name { display: none; }
}
@media (max-width: 1023px) {
  .site-header { height: 80px; padding: 0 32px; }
  .hero { padding: 64px 24px 28px; }
  h1 { font-size: 54px; letter-spacing: -2.2px; }
  .hero-copy p { font-size: 18px; }
  .upload-start { margin-bottom: 64px; }
  .editor, .under-editor { margin-left: 32px; margin-right: 32px; }
  .editor-body { grid-template-columns: 280px minmax(0, 1fr); }
  .controls { padding: 24px 20px; }
  .workspace { padding: 18px 16px 6px; }
  .canvas-stage { min-height: 300px; }
  .canvas-bottom { flex-wrap: wrap; gap: 0; padding: 11px 0; }
  .canvas-bottom > span:first-child { width: 100%; margin-bottom: 8px; }
  .canvas-toolbar button { padding: 8px; font-size: 11px; }
  .how-section, .use-section, .faq-section { width: calc(100% - 64px); }
  .steps, .use-grid { gap: 28px; }
  .how-section, .faq-section { padding-top: 56px; padding-bottom: 56px; }
  .use-section { padding-top: 24px; padding-bottom: 56px; }
  .site-footer { padding: 36px 32px 24px; }
  .site-footer nav { gap: 20px; }
}
@media (max-width: 767px) {
  .site-header { height: 76px; padding: 0 20px; }
  .brand { font-size: 22px; }
  .site-header nav > a:not(.nav-cta) { display: none; }
  .nav-cta { font-size: 12px; padding: 8px 11px; gap: 10px; }
  .hero { padding: 52px 20px 24px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(32px, 7.7vw, 48px); letter-spacing: -1.5px; white-space: nowrap; }
  .hero-copy { margin-top: 19px; }
  .hero-copy p { font-size: 16px; line-height: 1.8; }
  .upload-start { max-width: none; margin: 0 20px 56px; }
  .upload-drop { padding: 5px 16px 13px; }
  .start-upload { font-size: 17px; min-height: 54px; padding: 13px 25px; }
  .upload-formats { font-size: 12px; }
  .sample-option { font-size: 13px; margin-top: 0; }
  .sample-option button { font-size: 13px; }
  .upload-privacy { font-size: 12px; margin-top: 7px; gap: 6px; }
  .editor, .under-editor { margin-left: 20px; margin-right: 20px; }
  .editor { margin-top: 24px; }
  .editor-top { padding: 12px 15px; min-height: 62px; gap: 12px; }
  .editor-top > div { gap: 7px; }
  .editor-top strong { font-size: 14px; }
  .start-over { width: 38px; min-width: 38px; height: 40px; }
  .local-label { font-size: 10px; gap: 5px; }
  .local-label .icon { width: 15px; height: 15px; }
  .editor-body { display: flex; flex-direction: column; }
  .workspace { order: -1; padding: 16px 14px 4px; }
  .canvas-toolbar { margin-bottom: 14px; gap: 8px; }
  .canvas-toolbar button { min-height: 44px; padding: 9px 11px; font-size: 12px; }
  .sample-tag { font-size: 9px; }
  .canvas-stage { min-height: 210px; }
  .canvas-wrap, canvas { max-height: 400px; }
  .canvas-bottom { flex-wrap: nowrap; min-height: 42px; gap: 8px; padding: 10px 0; font-size: 11px; }
  .canvas-bottom > span:first-child { width: auto; margin-bottom: 0; }
  .canvas-bottom .icon { display: none; }
  .editor-status { min-height: 29px; font-size: 12px; }
  .controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; padding: 24px; border-right: 0; border-top: 1px solid var(--line); }
  .controls .step-label, .controls .control-divider { display: none; }
  .upload-button { grid-column: 1 / -1; grid-row: 1; min-height: 50px; }
  .file-hint { grid-column: 1 / -1; grid-row: 2; margin-top: -6px; font-size: 12px; }
  .file-hint br { display: none; }
  .mode-switch { grid-column: 1 / -1; grid-row: 3; }
  .mode-switch button { min-height: 46px; padding: 11px 8px; font-size: 14px; }
  .mode-switch .icon { width: 18px; height: 18px; }
  .mode-hint { grid-column: 1 / -1; grid-row: 4; min-height: 0; margin: 0; font-size: 14px; }
  .range-label { grid-column: 1 / -1; grid-row: 5; margin: 4px 0 -4px; font-size: 15px; }
  .range-label output { font-size: 13px; }
  #pixel-size { grid-column: 1 / -1; grid-row: 6; margin: 7px 0; }
  .range-extremes { display: none; }
  .edit-actions { grid-column: 1; grid-row: 7; margin: 5px 0 0; gap: 6px; }
  .edit-actions button { min-height: 44px; padding: 7px; font-size: 12px; }
  .edit-actions .icon { width: 15px; height: 15px; }
  .format-label { grid-column: 2; grid-row: 7; margin: 5px 0 0; gap: 8px; justify-content: flex-end; font-size: 12px; }
  .format-label select { min-height: 44px; padding: 8px; }
  .download-button { grid-column: 1 / -1; grid-row: 8; min-height: 54px; font-size: 16px; }
  .download-note { grid-column: 1 / -1; grid-row: 9; margin: 0; font-size: 12px; }
  .editor-footer { align-items: flex-start; font-size: 11px; line-height: 1.7; padding: 12px 18px; }
  .editor-footer .icon { margin-top: 2px; }
  .under-editor { align-items: start; gap: 14px; margin-top: 16px; font-size: 11px; }
  .under-editor a { white-space: nowrap; gap: 5px; }
  .under-editor .icon { width: 14px; height: 14px; }
  .how-section, .use-section, .faq-section { width: auto; margin-left: 20px; margin-right: 20px; }
  .how-section { padding: 48px 0; }
  .how-section .section-intro { margin-bottom: 32px; }
  h2 { font-size: 28px; letter-spacing: -.9px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps article { position: relative; padding-left: 58px; }
  .step-number { position: absolute; left: 0; top: 0; margin: 0; }
  .steps h3 { font-size: 18px; margin-bottom: 8px; }
  .use-section { padding: 16px 0 44px; }
  .use-section h2 { text-align: left; font-size: 25px; max-width: 330px; }
  .use-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .use-grid h3 { margin: 0 0 8px; }
  .faq-section { padding: 48px 0 56px; }
  .faq-section .section-intro { margin-bottom: 28px; }
  .faq-list details { padding: 18px 0; }
  .faq-list summary { min-height: 44px; align-items: start; gap: 16px; }
  .faq-list summary:after { margin-top: 4px; }
  .faq-list p { padding: 12px 20px 0 0; }
  .site-footer { padding: 32px 20px 22px; gap: 22px; }
  .site-footer nav { width: 100%; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; }
  .site-footer nav a { display: flex; align-items: center; min-height: 44px; }
  .copyright { margin: 0; padding-top: 20px; gap: 12px; font-size: 11px; }
  .legal-main { padding: 44px 20px 64px; }
  .legal-main h1 { font-size: 40px; letter-spacing: -1.4px; }
  .legal-main h2 { font-size: 24px; }
  .contact-card { padding: 24px; }
}
@media (max-width: 390px) {
  .brand { font-size: 21px; }
  .nav-cta { gap: 8px; font-size: 11px; padding: 8px 10px; }
  .hero h1 { font-size: 32px; letter-spacing: -1.5px; }
  .controls { padding: 20px; gap: 15px; }
  .format-label { font-size: 11px; gap: 5px; }
  .canvas-bottom { font-size: 10px; }
  .under-editor > span { max-width: 170px; }
  .site-footer nav { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
/* Reference-led composition: photo examples behind a central upload card. */
.hero-showcase { position: relative; isolation: isolate; max-width: 1264px; margin: 32px auto 0; padding: 64px 0 48px; border-radius: 18px; background: #f3f4f5; overflow: hidden; }
.hero-photo { position: absolute; width: 30%; height: 340px; overflow: hidden; border-radius: 12px; z-index: -1; background: #e6e8eb; }
.hero-photo img, .hero-photo canvas { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.hero-photo img { object-position: 64% center; }
.hero-photo canvas { image-rendering: pixelated; object-position: 64% center; cursor: default; touch-action: auto; }
.photo-before { left: -24px; top: 32px; }
.photo-after { right: -24px; top: 140px; }
.hero-photo span { position: absolute; bottom: 17px; padding: 5px 11px; border-radius: 5px; color: #34383f; background: #fffffff0; font-size: 12px; font-weight: 500; }
.photo-before span { left: 46px; }
.photo-after span { right: 46px; }
.hero-card { width: 74%; max-width: 900px; margin: auto; padding: 44px 38px 30px; background: #fff; border: 1px solid #e9eaed; border-radius: 16px; box-shadow: 0 8px 32px #17191c0b; }
.hero { padding: 0; max-width: none; }
.hero h1 { font-size: clamp(32px, 3.45vw, 48px); line-height: 1.2; letter-spacing: -1.8px; }
.hero-copy { margin-top: 21px; }
.hero-copy p { font-size: 17px; line-height: 1.8; }
.upload-start { max-width: none; margin: 26px 0 0; }
.upload-drop { padding: 0; }
.start-upload { min-height: 52px; padding: 12px 23px; gap: 17px; font-size: 16px; }
.drop-prompt { margin-top: 14px; font-size: 14px; }
.upload-formats { margin-top: 17px; font-size: 12px; color: #737780; }
.sample-option { margin-top: 2px; }
.sample-option button { min-height: 36px; font-size: 13px; color: #62666d; }
.hero-privacy { margin: 22px 20px 64px; }
.hero-privacy .upload-privacy { margin: 0; }
.is-editing .hero-showcase, .is-editing .hero-privacy { display: none; }
.how-section { border-top: 0; padding-top: 40px; }
@media (max-width: 1327px) {
  .hero-showcase { margin-left: 32px; margin-right: 32px; }
  .hero-card { width: 76%; }
  .hero-photo { height: 320px; }
  .hero-copy p { font-size: 16px; }
}
@media (max-width: 1023px) {
  .hero-showcase { padding: 48px 0 36px; margin-left: 24px; margin-right: 24px; }
  .hero-card { width: 80%; padding: 38px 24px 26px; }
  .hero h1 { font-size: 38px; letter-spacing: -1.4px; }
  .hero-copy p br { display: none; }
  .hero-photo { width: 32%; height: 290px; }
  .photo-after { top: 125px; }
}
@media (max-width: 767px) {
  .hero-showcase { margin: 20px 16px 0; border-radius: 12px; padding: 70px 14px 30px; }
  .hero-photo { width: 48%; height: 200px; border-radius: 8px; }
  .photo-before { left: -18px; top: 18px; }
  .photo-after { right: -18px; top: 45px; }
  .hero-photo span { display: none; }
  .hero-card { position: relative; width: 100%; padding: 32px 17px 22px; border-radius: 11px; }
  .hero h1 { font-size: clamp(26px, 5.8vw, 37px); letter-spacing: -1px; white-space: normal; line-height: 1.24; }
  .hero-copy { margin-top: 17px; }
  .hero-copy p { font-size: 15px; line-height: 1.8; }
  .upload-start { margin: 23px 0 0; }
  .upload-drop { padding: 0; }
  .start-upload { min-height: 52px; font-size: 16px; padding: 12px 21px; }
  .drop-prompt { font-size: 13px; }
  .upload-formats { font-size: 11px; margin-top: 16px; }
  .hero-privacy { margin: 20px 20px 40px; }
  .hero-privacy .upload-privacy { font-size: 11px; }
  .how-section { padding-top: 24px; }
}
@media (max-width: 390px) {
  .hero-card { padding-left: 13px; padding-right: 13px; }
  .hero h1 { font-size: 26px; letter-spacing: -.9px; }
  .hero-copy p { font-size: 14px; }
}
/* A considered image system: full portraits, deliberate crops, true mosaic previews. */
.hero-showcase { max-width: 1328px; padding: 64px 0 54px; background: linear-gradient(125deg, #f4f7f3, #e8f0eb); }
.hero-card { width: 66%; max-width: 860px; padding: 46px 26px 32px; border-radius: 16px; position: relative; }
.hero h1 { font-size: clamp(32px, 3.35vw, 46px); }
.hero-photo { width: 244px; height: 330px; padding: 7px; border-radius: 14px; background: white; box-shadow: 0 12px 30px #23262b18; overflow: visible; }
.hero-photo img, .hero-photo canvas { border-radius: 8px; object-fit: cover; object-position: center; image-rendering: auto; }
.photo-before { left: 12px; top: 42px; transform: rotate(-7deg); }
.photo-after { right: 12px; top: 162px; transform: rotate(7deg); }
.hero-photo span { bottom: 20px; font-size: 11px; padding: 4px 9px; box-shadow: 0 2px 8px #17191c0d; }
.photo-before span { left: 19px; }
.photo-after span { right: 19px; }
.hero-privacy { margin-bottom: 88px; }

.features-section { max-width: 1120px; padding-bottom: 40px; }
.features-heading { text-align: center; margin-bottom: 64px; }
.features-heading .eyebrow { font-size: 11px; letter-spacing: 1.4px; color: #777d85; margin-bottom: 20px; }
.features-heading h2 { font-size: 40px; line-height: 1.2; letter-spacing: -1.5px; }
.features-heading > p:last-child { font-size: 16px; color: var(--muted); margin-top: 20px; }
.feature-row { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 80px; margin-bottom: 88px; }
.feature-reverse .feature-visual { order: 2; }
.feature-reverse .feature-copy { order: 1; }
.feature-visual { margin: 0; padding: 24px; border: 1px solid #e9ebef; border-radius: 16px; background: #f4f5f7; min-width: 0; }
.feature-photo { position: relative; height: 310px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 9px; background: #e5e7eb; }
.feature-photo canvas { width: 100%; height: 100%; max-height: none; max-width: none; object-fit: cover; cursor: default; touch-action: auto; }
.dog-visual .feature-photo { height: 340px; }
.dog-visual .feature-photo canvas { object-position: center 34%; }
.image-tag { position: absolute; bottom: 13px; left: 13px; background: #ffffffef; padding: 6px 10px; border-radius: 5px; font-size: 11px; color: #41464f; box-shadow: 0 2px 10px #17191c08; }
.demo-settings { display: flex; align-items: center; gap: 16px; min-height: 54px; padding: 12px 15px; background: white; border: 1px solid #e2e5ea; border-radius: 7px; margin-top: 14px; color: #5b626e; font-size: 12px; }
.demo-settings strong { font-size: 11px; font-weight: 500; white-space: nowrap; padding: 3px 7px; background: #f3f4f6; border-radius: 4px; }
.demo-range { flex: 1; position: relative; height: 4px; background: #e3e6eb; border-radius: 4px; }
.demo-range:before { content: ''; position: absolute; height: 4px; left: 0; width: 45%; background: var(--accent); border-radius: 4px; }
.demo-range i { position: absolute; left: 45%; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid white; box-shadow: 0 0 0 1px #b6bdc8; }
.feature-kicker { display: block; color: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: 1.15px; margin-bottom: 18px; }
.feature-copy h2 { font-size: 34px; line-height: 1.25; letter-spacing: -1.15px; }
.feature-copy > p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-top: 21px; }
.feature-copy > p strong { color: var(--ink); font-weight: 600; }
.feature-copy ul { list-style: none; padding: 0; margin: 21px 0 26px; }
.feature-copy li { position: relative; color: #5b626d; font-size: 14px; line-height: 1.8; padding-left: 22px; margin-top: 7px; }
.feature-copy li:before { content: ''; position: absolute; width: 7px; height: 4px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); left: 1px; top: 10px; }
.feature-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 14px; font-weight: 550; border-bottom: 1px solid #b7bdc6; }
.feature-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.demo-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.demo-undo { margin-left: auto; font-size: 11px; color: #7c8490; white-space: nowrap; }
.split-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: white; display: flex; align-items: center; justify-content: center; }
.split-line i { font-style: normal; position: absolute; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #4b5360; background: white; box-shadow: 0 1px 8px #17191c20; border-radius: 50%; font-size: 17px; }
.split-after { left: auto; right: 13px; }
.demo-chip { padding: 4px 12px; font-size: 11px; border-radius: 5px; background: #f4f5f7; }
.demo-chip:first-of-type { margin-left: auto; }
.active-chip { background: var(--accent); color: white; }
.landscape-visual .demo-settings > span:first-child { margin-right: auto; }

.how-section { max-width: 1120px; width: auto; padding: 55px 48px 48px; border: 1px solid var(--accent-line); border-radius: 16px; background: #f5f8f5; text-align: center; }
.how-section .section-intro { margin-bottom: 40px; }
.how-section .eyebrow { font-size: 10px; letter-spacing: 1.4px; margin-bottom: 16px; }
.how-section h2 { font-size: 32px; letter-spacing: -1.1px; }
.how-section .section-intro > p:last-child { color: var(--muted); font-size: 15px; margin-top: 17px; }
.how-section .steps { gap: 36px; text-align: left; }
.how-section .steps article { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.how-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #e2e5eb; border-radius: 9px; background: white; color: var(--accent); margin-bottom: 0; }
.how-icon .icon { width: 22px; height: 22px; }
.how-section .steps h3 { font-size: 16px; letter-spacing: -.3px; margin-bottom: 0; }
.how-section .steps p { grid-column: 1 / -1; margin-top: 14px; font-size: 14px; line-height: 1.85; }
.steps h3 span { color: #9299a4; margin-right: 4px; font-weight: 450; }
.how-cta { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; margin-top: 34px; background: var(--accent); color: white; border-radius: 7px; padding: 12px 20px; font-size: 14px; font-weight: 500; }
.how-cta:hover { background: var(--accent-hover); }
.work-section { max-width: 1120px; width: auto; padding: 80px 0 0; }
.work-intro { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.work-intro .eyebrow { font-size: 11px; letter-spacing: 1.4px; color: var(--muted); margin-bottom: 16px; }
.work-intro h2 { font-size: 32px; letter-spacing: -1.1px; }
.work-intro > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 18px; }
.work-pipeline { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; min-width: 0; }
.work-visual { aspect-ratio: 2 / 1; margin-bottom: 18px; border: 1px solid #e6e8ec; border-radius: 9px; background: var(--soft); overflow: hidden; position: relative; }
/* Overlay grid mirrors the canvas panel geometry (16px pad, 14px gap on a 720x360 canvas) so each label sits inside its panel at any card width. */
.work-stage-labels { position: absolute; left: 2.222%; right: 2.222%; bottom: calc(4.444% + 6px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.035%; pointer-events: none; }
.work-stage-labels span { justify-self: start; margin-left: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 10px; font-weight: 600; line-height: 1.3; box-shadow: 0 1px 4px #17191c14; }
.work-visual svg, .work-visual canvas { display: block; width: 100%; height: 100%; max-width: none; max-height: none; cursor: default; touch-action: auto; }
.work-card h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.3px; margin-bottom: 10px; }
.work-card h3 span { color: var(--accent); margin-right: 4px; font-weight: 500; font-variant-numeric: tabular-nums; }
.work-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.work-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.work-note { padding: 24px 26px; border: 1px solid var(--line); border-radius: 12px; background: #f8f9fa; }
.work-note h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.3px; margin-bottom: 9px; }
.work-note p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.faq-section { padding-top: 88px; }
.faq-section .section-intro > p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-top: 16px; }

@media (max-width: 1327px) {
  .features-section { margin-left: 48px; margin-right: 48px; }
  .how-section { margin-left: 48px; margin-right: 48px; }
  .work-section { margin-left: 48px; margin-right: 48px; }
  .feature-row { gap: 56px; }
  .hero-photo { width: 225px; height: 300px; }
  .photo-before { left: -3px; }
  .photo-after { right: -3px; }
  .hero-card { width: 68%; padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1023px) {
  .site-header nav { gap: 22px; }
  .features-section { margin-left: 32px; margin-right: 32px; }
  .feature-row { gap: 32px; margin-bottom: 64px; }
  .feature-visual { padding: 16px; }
  .feature-photo { height: 250px; }
  .dog-visual .feature-photo { height: 300px; }
  .feature-copy h2 { font-size: 28px; }
  .feature-copy > p { font-size: 15px; }
  .feature-copy li { font-size: 13px; }
  .demo-settings { padding: 10px; gap: 9px; font-size: 10px; }
  .demo-undo { display: none; }
  .hero-card { width: 75%; }
  .hero-photo { width: 190px; height: 266px; }
  .photo-before { left: -22px; top: 40px; }
  .photo-after { right: -22px; top: 160px; }
  .hero h1 { font-size: 36px; }
  .how-section { margin-left: 32px; margin-right: 32px; padding: 42px 28px; }
  .how-section .steps { gap: 24px; }
  .work-section { margin-left: 32px; margin-right: 32px; padding-top: 64px; }
  .work-pipeline, .work-notes { gap: 20px; }
  .work-pipeline { grid-template-columns: 1fr; }
  .work-card { padding: 16px; }
  .work-stage-labels span { font-size: 9px; padding: 2px 5px; }
  .work-note { padding: 20px; }
  .features-heading h2 { font-size: 36px; }
}
@media (max-width: 767px) {
  .hero-showcase { padding: 108px 14px 28px; }
  .hero-photo { width: 140px; height: 184px; border: 0; padding: 5px; border-radius: 10px; }
  .photo-before { left: 14px; top: 18px; transform: rotate(-9deg); }
  .photo-after { right: 14px; top: 28px; transform: rotate(9deg); }
  .hero-card { width: 100%; padding: 31px 15px 22px; }
  .hero h1 { font-size: clamp(26px, 5.8vw, 37px); line-height: 1.24; }
  .hero-copy p { font-size: 15px; }
  .hero-privacy { margin-bottom: 56px; }
  .features-section { margin-left: 20px; margin-right: 20px; padding-bottom: 8px; }
  .features-heading { margin-bottom: 32px; }
  .features-heading .eyebrow { font-size: 9px; letter-spacing: 1.1px; margin-bottom: 15px; }
  .features-heading h2 { font-size: 30px; line-height: 1.24; }
  .features-heading > p:last-child { font-size: 15px; margin-top: 16px; }
  .feature-row { grid-template-columns: 1fr; gap: 27px; margin-bottom: 56px; }
  .feature-reverse .feature-visual, .feature-reverse .feature-copy { order: initial; }
  .feature-visual { padding: 18px; border-radius: 12px; }
  .feature-photo { height: auto; aspect-ratio: 3 / 2; }
  .dog-visual .feature-photo { height: 300px; aspect-ratio: auto; }
  .feature-photo canvas { position: absolute; inset: 0; }
  .demo-settings { min-height: 48px; margin-top: 12px; padding: 10px 12px; font-size: 11px; gap: 12px; }
  .demo-undo { display: inline; }
  .feature-kicker { font-size: 10px; margin-bottom: 14px; }
  .feature-copy h2 { font-size: 29px; line-height: 1.25; letter-spacing: -.9px; }
  .feature-copy > p { font-size: 16px; line-height: 1.8; margin-top: 17px; }
  .feature-copy ul { margin-top: 17px; margin-bottom: 16px; }
  .feature-copy li { font-size: 14px; }
  .feature-link { font-size: 14px; }
  .how-section { margin-left: 20px; margin-right: 20px; padding: 34px 24px; border-radius: 12px; }
  .how-section .section-intro { margin-bottom: 30px; }
  .how-section .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .how-section h2 { font-size: 28px; line-height: 1.3; }
  .how-section .section-intro > p:last-child { font-size: 14px; line-height: 1.8; }
  .how-section .steps { gap: 28px; }
  .how-section .steps article { padding-left: 0; }
  .how-icon { width: 40px; height: 40px; }
  .how-section .steps h3 { font-size: 17px; }
  .how-section .steps p { font-size: 15px; }
  .how-cta { width: 100%; margin-top: 28px; }
  .work-section { margin-left: 20px; margin-right: 20px; padding-top: 52px; }
  .work-intro { margin-bottom: 30px; }
  .work-intro .eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 14px; }
  .work-intro h2 { font-size: 28px; line-height: 1.3; }
  .work-intro > p:last-child { font-size: 15px; margin-top: 14px; }
  .work-pipeline, .work-notes { grid-template-columns: 1fr; gap: 18px; }
  .work-card { padding: 18px; border-radius: 12px; }
  .work-card h3 { font-size: 17px; }
  .work-card p, .work-note p { font-size: 15px; }
  .faq-section { padding-top: 56px; }
}
@media (max-width: 390px) {
  .hero-copy p { font-size: 14px; }
  .hero-card { padding-left: 13px; padding-right: 13px; }
  .hero h1 { font-size: 26px; }
  .demo-undo { display: none; }
}

/* Locale navigation stays available on small screens. */
.site-header nav > a.language-switch { display: inline-flex; white-space: nowrap; }
html[lang="ko"] body { font-family: Inter, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; overflow-wrap: break-word; }
html[lang="ko"] .hero h1 { letter-spacing: -1.4px; line-height: 1.35; }
html[lang="ko"] .feature-kicker, html[lang="ko"] .eyebrow { letter-spacing: 0; }
@media (max-width: 767px) { .site-header nav { gap: 14px; } .site-header .language-switch { font-size: 12px; } html[lang="ko"] .hero h1 { font-size: clamp(23px, 5.5vw, 32px); } }
@media (max-width: 390px) { .site-header { padding-inline: 14px; } .site-header .brand { font-size: 20px; } .site-header nav { gap: 10px; } .site-header .nav-cta { padding: 9px 10px; font-size: 12px; } }

/* Side-by-side examples keep the same crop before and after. */
.examples-section { max-width: 1120px; margin: 0 auto 72px; padding-top: 8px; }
.examples-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.examples-heading h2 { font-size: 36px; letter-spacing: -1.1px; }
.examples-heading p { max-width: 680px; color: var(--muted); font-size: 16px; margin-top: 15px; }
.examples-heading > a { flex-shrink: 0; }
.examples-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.example-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.example-card h3 { font-size: 23px; letter-spacing: -.6px; line-height: 1.4; min-height: 65px; margin-bottom: 22px; }
.comparison-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.comparison-pair figure { margin: 0; min-width: 0; }
.comparison-pair figcaption { font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 9px; }
.comparison-pair figure:last-child figcaption { color: var(--accent); }
.comparison-pair img, .comparison-pair canvas { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-width: none; max-height: none; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: var(--soft); cursor: default; touch-action: auto; }
.example-card > p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 22px 0; }
.example-card > a { align-self: start; margin-top: auto; }
.examples-note { font-size: 12px; color: var(--muted); margin-top: 20px; }
@media (max-width: 1327px) { .examples-section { margin-left: 48px; margin-right: 48px; } }
@media (max-width: 1023px) { .examples-section { margin-left: 32px; margin-right: 32px; } .examples-heading { align-items: start; flex-direction: column; gap: 12px; } .example-card { padding: 20px; } .example-card h3 { font-size: 21px; } }
@media (max-width: 767px) { .examples-section { margin: 0 20px 48px; } .examples-heading h2 { font-size: 29px; } .examples-heading p { font-size: 15px; } .examples-grid { grid-template-columns: 1fr; gap: 20px; } .example-card { padding: 20px; } .example-card h3 { min-height: 0; font-size: 22px; margin-bottom: 20px; } .comparison-pair { gap: 10px; } .comparison-pair figcaption { font-size: 10px; } }

/* Language disclosure: a quiet control with a keyboard-accessible custom panel. */
.site-header { position: relative; z-index: 20; }
.language-menu { position: relative; }
.language-trigger { min-height: 44px; gap: 8px; border: 0; border-radius: 8px; padding: 8px 10px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent); }
.language-trigger > .icon { width: 18px; height: 18px; }
.language-chevron { width: 14px; height: 14px; transition: transform 160ms ease; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 176px; padding: 6px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px #17191c14; }
.language-options ul { list-style: none; margin: 0; padding: 0; }
.language-options a { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 10px 12px; border-radius: 7px; font-size: 14px; }
.language-options a:hover, .language-options a:focus-visible { background: var(--soft); }
.language-options a[aria-current="true"] { color: var(--accent); background: var(--accent-soft); }
.language-options .icon { width: 16px; height: 16px; }
html[lang="ja"] body { font-family: Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; line-break: strict; overflow-wrap: anywhere; }
html[lang="ja"] .hero h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.45; letter-spacing: -.8px; white-space: normal; }
html[lang="ja"] .eyebrow, html[lang="ja"] .feature-kicker { letter-spacing: 0; }
html[lang="ja"] .controls .step-label { letter-spacing: 0; }
html[lang="ja"] .mode-switch button { padding-inline: 8px; }
html[lang="ja"] .range-label { flex-wrap: wrap; gap: 6px; }
@media (max-width: 767px) { .language-trigger { padding: 8px 4px; font-size: 13px; } html[lang="ja"] .hero h1 { font-size: clamp(21px, 5.3vw, 30px); line-height: 1.5; } }
@media (prefers-reduced-motion: reduce) { .language-chevron { transition: none; } }

/* Face-specific landing page, sharing the homepage editor and visual language. */
.face-page .hero h1 { white-space: normal; }
.face-page .hero-copy p { max-width: 620px; margin-inline: auto; }
.face-page .face-cta { max-width: 800px; text-align: center; padding: 0 20px 80px; }
.face-cta h2 { font-size: 32px; letter-spacing: -1px; }
.face-cta p { color: var(--muted); margin-top: 18px; line-height: 1.8; }
.face-cta p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.face-page .steps article { display: block; }
