:root {
  color-scheme: light;
  --ink: #102923;
  --muted: #61716c;
  --paper: #f5f2ea;
  --card: #fffdf8;
  --line: #d9ded8;
  --green: #0c7b5b;
  --green-dark: #075941;
  --green-pale: #dff2e9;
  --orange: #ea6a2a;
  --red: #a53b31;
  --shadow: 0 24px 70px rgba(24, 48, 40, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0%, rgba(12, 123, 91, .09), transparent 30rem),
    linear-gradient(180deg, #f8f6f0 0%, var(--paper) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
button, input, textarea, select { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { color: inherit; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--ink); color: #fff; border-radius: 13px;
  font: 800 20px/1 Georgia, serif; transform: rotate(-3deg);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: .08em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .16em; }
.launch-state {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-dark); font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.74); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 12px; text-decoration: none;
}
.launch-state span { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 4px rgba(34,160,107,.12); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.account-trigger { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); padding: 9px 13px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px;
  align-items: center; min-height: 520px; padding: 46px 0 70px;
}
.eyebrow, .step { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
h1 { margin: 0; font: 700 clamp(42px, 6vw, 76px)/1.05 Georgia, "Songti SC", serif; letter-spacing: -.035em; }
h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 610px; margin: 26px 0 24px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.64); color: #3e514b; font-size: 13px; }
.hero-visual {
  min-height: 390px; position: relative; display: grid; place-items: center;
  background: linear-gradient(145deg, #193f34, #09281f);
  border-radius: 40px 12px 40px 12px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(17, 56, 44, .23);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 15%, rgba(255,255,255,.16), transparent 25%), repeating-linear-gradient(120deg, transparent 0 34px, rgba(255,255,255,.025) 35px 36px);
}
.court {
  width: 67%; aspect-ratio: 1 / 1.55; position: relative; transform: perspective(800px) rotateX(58deg) rotateZ(-30deg);
  background: linear-gradient(90deg, #176e58 0 50%, #d66a32 50%);
  border: 5px solid rgba(255,255,255,.95); box-shadow: 0 45px 55px rgba(0,0,0,.42);
}
.court::before, .court::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.85); }
.court::before { top: 33%; } .court::after { bottom: 33%; }
.court-line.centre { position: absolute; left: 0; right: 0; top: 50%; height: 4px; background: #fff; }
.court-circle { position: absolute; width: 26%; aspect-ratio: 1; border: 4px solid #fff; border-radius: 50%; left: 37%; top: calc(50% - 13%); }
.court-key { position: absolute; width: 36%; height: 18%; border: 4px solid #fff; left: 32%; }
.court-key.near { bottom: 0; border-bottom: 0; } .court-key.far { top: 0; border-top: 0; }
.visual-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; padding: 14px 16px; background: rgba(5,25,19,.74); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: #fff; backdrop-filter: blur(12px); }
.visual-caption b, .visual-caption span { display: block; }
.visual-caption b { font-size: 13px; } .visual-caption span { margin-top: 4px; color: rgba(255,255,255,.7); font-size: 11px; }

.workspace { max-width: 900px; margin: 0 auto; padding-bottom: 30px; }
.form-card, .job-section {
  background: rgba(255,253,248,.94); border: 1px solid rgba(204,211,204,.86);
  border-radius: 24px; box-shadow: var(--shadow);
}
.form-card { padding: 30px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
h2 { margin: 0; font: 700 28px/1.2 Georgia, "Songti SC", serif; }
.free-badge, .job-badge { background: var(--green-pale); color: var(--green-dark); border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 28px; }
.mode-tab {
  display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 14px;
  color: var(--ink); transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.mode-tab:hover { transform: translateY(-1px); border-color: #99bbae; }
.mode-tab.active { border-color: var(--green); background: #eef8f3; box-shadow: inset 0 0 0 1px var(--green); }
.mode-tab:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.tab-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: #e9eeea; color: var(--green); font-size: 20px; }
.mode-tab.active .tab-icon { background: var(--green); color: #fff; }
.mode-tab b, .mode-tab small { display: block; }
.mode-tab b { font-size: 14px; } .mode-tab small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.task-form { display: grid; gap: 26px; }
.tier-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier-option { position: relative; display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 13px; background: #fff; cursor: pointer; }
.tier-option:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f3faf7; }
.tier-option:has(input:disabled) { opacity: .52; cursor: not-allowed; }
.tier-option input { margin-top: 2px; accent-color: var(--green); }
.tier-option b, .tier-option small, .tier-option em { display: block; }
.tier-option small { margin-top: 4px; min-height: 30px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.tier-option em { margin-top: 7px; color: var(--green); font-size: 10px; font-style: normal; font-weight: 850; }
.tier-status-note { margin: 10px 0 0; border-radius: 12px; padding: 10px 12px; background: #fff4e8; color: #89511e; font-size: 11px; line-height: 1.6; font-weight: 700; }
.hidden { display: none !important; }
.account-dialog { width: min(92vw, 460px); border: 0; border-radius: 24px; padding: 26px; background: #fffdf8; color: var(--ink); box-shadow: 0 30px 90px rgba(19,38,30,.24); }
.account-dialog::backdrop { background: rgba(15,30,24,.52); backdrop-filter: blur(3px); }
.confirmation-dialog { width: min(92vw, 560px); max-height: min(88vh, 760px); overflow: auto; border: 0; border-radius: 24px; padding: 26px; background: #fffdf8; color: var(--ink); box-shadow: 0 30px 90px rgba(19,38,30,.28); }
.confirmation-dialog::backdrop { background: rgba(15,30,24,.58); backdrop-filter: blur(4px); }
.confirmation-intro { margin: -4px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.confirmation-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 0; }
.confirmation-list > div { min-width: 0; border: 1px solid var(--line); border-radius: 13px; padding: 12px; background: #f5faf7; }
.confirmation-list dt { color: var(--muted); font-size: 10px; font-weight: 800; }
.confirmation-list dd { margin: 5px 0 0; color: var(--ink); font-size: 14px; font-weight: 850; overflow-wrap: anywhere; }
.confirmation-original { margin-top: 14px; border-radius: 13px; padding: 13px 14px; background: #f3f0e8; }
.confirmation-original b { font-size: 11px; }
.confirmation-original p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.confirmation-warning { margin: 12px 0 0; border-radius: 12px; padding: 10px 12px; background: #fff4e8; color: #89511e; font-size: 11px; line-height: 1.6; font-weight: 700; }
.confirmation-actions { position: sticky; bottom: -26px; z-index: 2; display: grid; grid-template-columns: .75fr 1.25fr; gap: 10px; margin: 18px -26px -26px; padding: 14px 26px 26px; border-top: 1px solid rgba(217,222,216,.85); background: linear-gradient(180deg, rgba(255,253,248,.94), #fffdf8 28%); }
.confirmation-actions .primary-action { min-height: 50px; }
.account-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.account-dialog-head h2 { margin: 3px 0 0; font-size: 26px; }
.account-dialog-head button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #edf1ed; color: var(--ink); font-size: 24px; cursor: pointer; }
.account-intro, .account-success { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
#account-form { display: grid; gap: 14px; }
#account-form label { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 800; }
#account-form input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: #fff; color: var(--ink); font: inherit; }
.account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.account-actions .primary-action { margin: 0; min-height: 46px; justify-content: center; }
.secondary-action { min-height: 46px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--green-dark); padding: 10px 14px; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; }
#account-email-display { display: block; margin: -8px 0 12px; font-size: 18px; overflow-wrap: anywhere; }
.account-error { margin: 14px 0 0; border-radius: 11px; padding: 10px 12px; background: #fff0ec; color: #a33c23; font-size: 12px; font-weight: 750; }
.ai-first-card { padding: 18px; border: 1px solid #b9d7ca; border-radius: 18px; background: linear-gradient(145deg, #eef8f3, #fff); }
.ai-scene-first { background: linear-gradient(145deg, #edf7f3, #fff8f1); }
.ai-first-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.ai-first-heading b, .ai-first-heading small { display: block; }
.ai-first-heading b { font-size: 15px; }
.ai-first-heading small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.ai-spark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--green); color: #fff; font-size: 19px; }
.prompt-primary textarea { min-height: 116px; border-color: #a9c9bc; background: rgba(255,255,255,.92); font-size: 15px; }
.prompt-examples { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.prompt-example { border: 1px solid #cbdad3; border-radius: 999px; background: #fff; color: #46615a; padding: 7px 10px; cursor: pointer; font-size: 11px; }
.prompt-example:hover { border-color: var(--green); color: var(--green-dark); }
.quick-basics { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #dbe8e1; }
.quick-basics label { display: grid; gap: 7px; color: #385049; font-size: 12px; font-weight: 800; }
.quick-basics-note { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .prompt-field > span, .color-row label > span { margin-bottom: 10px; color: #385049; font-size: 13px; font-weight: 800; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 15px; padding: 13px; cursor: pointer; background: #fff; }
.choice.active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f3faf7; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b, .choice small { display: block; }
.choice b { font-size: 14px; } .choice small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.sport-symbol { width: 38px; height: 38px; flex: 0 0 auto; border: 2px solid var(--green); border-radius: 50%; position: relative; background: #fff; }
.basketball-symbol::before, .basketball-symbol::after { content: ""; position: absolute; background: var(--green); }
.basketball-symbol::before { width: 2px; top: 0; bottom: 0; left: 16px; transform: rotate(35deg); }
.basketball-symbol::after { height: 2px; left: 1px; right: 1px; top: 16px; }
.pickleball-symbol { border-style: dashed; }
.pickleball-symbol::before { content: ""; position: absolute; inset: 7px; border: 2px solid var(--orange); border-radius: 50%; }
.color-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.color-row label { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label label" "picker value"; gap: 8px; border: 1px solid var(--line); padding: 12px; border-radius: 14px; background: #fff; }
.color-row label > span { grid-area: label; margin: 0; }
input[type="color"] { grid-area: picker; width: 100%; height: 38px; border: 0; padding: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.color-row output { grid-area: value; align-self: center; color: var(--muted); font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.legend-row { display: flex; justify-content: space-between; align-items: baseline; }
.legend-row legend { float: left; }
.legend-row strong { color: var(--green); font-size: 18px; }
.count-range { width: 100%; accent-color: var(--green); }
.range-labels { display: flex; justify-content: space-between; margin-top: 5px; color: var(--muted); font-size: 11px; }
.single-image-note, .account-required-note { border-radius: 13px; padding: 12px 14px; background: #eef5f1; }
.single-image-note p, .account-required-note { margin: 0; color: #456159; font-size: 11px; line-height: 1.65; }
.shot-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.shot-preview span { background: #edf1ed; color: #50615b; border-radius: 999px; padding: 6px 9px; font-size: 11px; }
.prompt-field { display: grid; }
textarea { width: 100%; min-height: 92px; resize: vertical; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); padding: 13px 14px; line-height: 1.65; outline: none; }
textarea:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="text"]:focus, input[type="number"]:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(12,123,91,.1); }
.select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.select-grid label { display: grid; gap: 8px; color: #385049; font-size: 13px; font-weight: 800; }
select, input[type="url"], input[type="password"], input[type="text"], input[type="number"] { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); padding: 10px 12px; outline: none; }
.advanced-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.advanced-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 17px; cursor: pointer; list-style: none; }
.advanced-panel summary::-webkit-details-marker { display: none; }
.advanced-panel summary::after { content: "＋"; color: var(--green); font-size: 20px; line-height: 1; }
.advanced-panel[open] summary::after { content: "−"; }
.advanced-panel summary > span { flex: 1; }
.advanced-panel summary b, .advanced-panel summary small { display: block; }
.advanced-panel summary b { font-size: 14px; }
.advanced-panel summary small { margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 400; }
.advanced-panel summary em { margin-left: auto; border-radius: 999px; background: #edf1ed; color: var(--muted); padding: 5px 8px; font-size: 10px; font-style: normal; font-weight: 800; }
.advanced-body { display: grid; gap: 0; padding: 0 17px 17px; }
.advanced-group { padding: 18px 0; border-top: 1px solid #e5e9e5; }
.advanced-group:first-child { padding-top: 16px; }
.advanced-group:last-child { padding-bottom: 2px; }
.advanced-group-title { margin-bottom: 12px; }
.advanced-group-title b, .advanced-group-title small { display: block; }
.advanced-group-title b { color: #29453d; font-size: 13px; }
.advanced-group-title small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.advanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.advanced-grid.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.advanced-grid label { display: grid; gap: 7px; min-width: 0; color: #4a5e57; font-size: 11px; font-weight: 700; }
.optional-colors { margin-top: 13px; }
.optional-colors > label, .check-grid label { display: flex; align-items: center; gap: 8px; color: #40564f; font-size: 11px; font-weight: 700; cursor: pointer; }
.optional-colors input[type="checkbox"], .check-grid input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--green); }
.optional-color-fields { display: none; margin-top: 10px; }
.optional-color-fields.enabled { display: grid; }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.check-grid label { min-height: 42px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 11px; background: #fafbf9; }
.primary-action {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 0; border-radius: 15px; background: var(--green); color: #fff;
  padding: 15px 17px; cursor: pointer; box-shadow: 0 13px 28px rgba(12,123,91,.21);
}
.primary-action:hover { background: var(--green-dark); }
.primary-action:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }
.primary-action span { font-size: 15px; font-weight: 800; }
.primary-action small { color: rgba(255,255,255,.7); font-size: 11px; }

.customer-note { margin-top: 28px; padding: 16px 18px; border-radius: 16px; background: #eef5f1; color: #315047; }
.customer-note b { font-size: 12px; }
.customer-note p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.upload-box { min-height: 170px; display: grid; place-items: center; align-content: center; gap: 7px; cursor: pointer; border: 1.5px dashed #9cb4ab; border-radius: 18px; background: #f4faf7; text-align: center; }
.upload-box input { position: absolute; opacity: 0; pointer-events: none; }
.upload-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 24px; }
.upload-box b { font-size: 14px; } .upload-box small { color: var(--muted); font-size: 11px; }
.canvas-panel { padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #eef1ed; }
.canvas-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 2px 3px 10px; }
.canvas-toolbar b, .canvas-toolbar small { display: block; }
.canvas-toolbar b { font-size: 13px; } .canvas-toolbar small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.text-button { border: 0; background: transparent; color: var(--green); font-weight: 800; cursor: pointer; font-size: 12px; }
#site-canvas { width: 100%; height: auto; display: block; border-radius: 10px; cursor: crosshair; background: #d7dcd8; }
.point-status { margin-top: 8px; color: var(--muted); font-size: 11px; text-align: center; }

.job-section { margin: 24px 0 60px; padding: 30px; }
.library-section { margin: 24px 0 60px; padding: 30px; border: 1px solid rgba(204,211,204,.86); border-radius: 24px; background: rgba(255,253,248,.94); box-shadow: var(--shadow); }
.library-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; margin-top: 20px; }
.library-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.library-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e8ece8; }
.library-card > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; }
.library-card b { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.library-card a { color: var(--green); font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.library-empty { grid-column: 1 / -1; margin: 0; padding: 26px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; font-size: 12px; }
.job-badge[data-state="failed"], .job-badge[data-state="qa_failed"] { background: #f5dfdc; color: var(--red); }
.progress-shell { height: 8px; margin-top: 24px; overflow: hidden; border-radius: 999px; background: #e2e6e1; }
#progress-bar { width: 0; height: 100%; background: linear-gradient(90deg,var(--green),#31a47f); transition: width .3s ease; }
.job-meta { margin-top: 9px; color: var(--muted); font-size: 11px; }
.error-box { margin-top: 20px; border: 1px solid #e6b7b1; border-radius: 14px; padding: 14px; color: var(--red); background: #fff3f1; font-size: 13px; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.result-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.result-card button { display: block; width: 100%; padding: 0; border: 0; background: #0e251f; cursor: zoom-in; }
.result-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.result-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; }
.result-info b { font-size: 12px; }
.result-info span { color: var(--green); font-size: 10px; font-weight: 800; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; align-content: center; padding: 32px; background: rgba(5,20,15,.9); }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox p { color: #fff; margin: 12px 0 0; }
.lightbox button { position: fixed; top: 20px; right: 24px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 27px; cursor: pointer; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0 34px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; font-size: 11px; }
footer a { color: inherit; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding: 36px 0 52px; }
  .hero-visual { min-height: 330px; }
}
@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .site-header { height: 72px; }
  .brand small { letter-spacing: .08em; }
  .launch-state { padding: 7px 9px; font-size: 11px; }
  .account-trigger { padding: 7px 9px; font-size: 11px; }
  .account-actions { grid-template-columns: 1fr; }
  .quick-basics, .confirmation-list, .confirmation-actions { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 15px; }
  .hero-visual { min-height: 280px; border-radius: 28px 10px; }
  .form-card, .job-section, .library-section { padding: 20px; border-radius: 20px; }
  .library-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mode-tabs, .choice-grid, .color-row, .select-grid, .result-grid, .tier-options { grid-template-columns: 1fr; }
  .advanced-grid.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-first-card { padding: 15px; }
  .mode-tab { min-height: 66px; }
  .section-heading { align-items: center; }
  h2 { font-size: 24px; }
  footer { display: grid; gap: 5px; }
}

/* Image-led editorial direction for the customer-facing studio. */
:root {
  --ink: #1d2825;
  --muted: #68736d;
  --paper: #f7f7f3;
  --card: #ffffff;
  --line: #dedfd8;
  --green: #285b4a;
  --green-dark: #193e32;
  --green-pale: #e7eee8;
  --shadow: 0 24px 64px rgba(23, 43, 34, .055);
}
body { background: var(--paper); }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.site-header, main, footer { width: min(1360px, calc(100% - 64px)); }
.site-header { height: 86px; border-bottom: 1px solid var(--line); }
.brand { gap: 11px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: #264e41; transform: none; }
.brand-mark > span { width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; position: relative; }
.brand-mark > span::after { content: ""; width: 16px; height: 2px; position: absolute; left: 7px; top: 10px; background: #fff; transform: rotate(-46deg); transform-origin: left center; }
.brand strong { font-size: 18px; letter-spacing: .04em; }
.brand small { font-size: 10px; letter-spacing: .12em; }
.header-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 34px; }
.header-nav a { color: #50605a; text-decoration: none; font-size: 13px; font-weight: 650; }
.header-nav a:hover, .hero-link:hover { color: var(--green); }
.header-actions { gap: 18px; }
.launch-state { border: 0; background: transparent; color: #50605a; padding: 0; font-size: 13px; font-weight: 650; }
.launch-state span { display: none; }
.account-trigger { padding: 11px 17px; border-color: #cdd5ce; font-size: 12px; font-weight: 700; }
.account-trigger:hover, .secondary-action:hover { border-color: var(--green); color: var(--green-dark); }

.hero { grid-template-columns: .84fr 1.16fr; gap: clamp(34px, 5vw, 82px); min-height: 660px; padding: 72px 0 74px; }
.hero-copy { padding-bottom: 7px; }
.eyebrow, .step { color: var(--green); letter-spacing: .16em; font-size: 11px; font-weight: 750; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.eyebrow-line { width: 28px; height: 1px; background: var(--green); }
h1 { max-width: 9em; font: 600 clamp(50px, 5.1vw, 78px)/1.13 Georgia, "Songti SC", "Noto Serif CJK SC", serif; letter-spacing: -.045em; }
h1 em { color: var(--green); }
.hero-lead { max-width: 450px; margin: 28px 0 0; color: #68736d; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 37px; }
.hero-cta { display: inline-flex; align-items: center; gap: 43px; padding: 15px 19px 15px 23px; border-radius: 7px; background: var(--ink); color: #fff; text-decoration: none; font-size: 13px; font-weight: 750; transition: background .2s ease, transform .2s ease; }
.hero-cta:hover { background: var(--green); transform: translateY(-2px); }
.hero-cta span { font-size: 18px; line-height: 1; font-weight: 400; }
.hero-link { color: #4f5d56; text-decoration: none; border-bottom: 1px solid #aab6ad; padding-bottom: 6px; font-size: 13px; font-weight: 650; }
.hero-link span { margin-left: 8px; }
.hero-footnote { margin: 37px 0 0; color: #89928c; font-size: 11px; letter-spacing: .04em; }
.hero-visual { min-height: 0; display: grid; grid-template-columns: 1.18fr .82fr; gap: 12px; overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
.hero-visual::before { display: none; }
.hero-image-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 0; }
.hero-image { position: relative; margin: 0; min-width: 0; overflow: hidden; border-radius: 8px; background: #e6ebe6; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.hero-image:hover img { transform: scale(1.04); }
.hero-image-main { height: clamp(470px, 40vw, 570px); }
.hero-image-main img { object-position: center; }
.hero-image-main::after { content: ""; position: absolute; inset: 55% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(5, 22, 18, .72)); }
.hero-image figcaption { position: absolute; z-index: 1; color: #fff; }
.hero-image-main figcaption { bottom: 24px; left: 24px; }
.hero-image-main figcaption span, .hero-image-main figcaption b { display: block; }
.hero-image-main figcaption span { margin-bottom: 6px; font-size: 10px; letter-spacing: .13em; }
.hero-image-main figcaption b { font: 600 25px/1.2 Georgia, "Songti SC", serif; }
.hero-image-small figcaption { right: 11px; bottom: 11px; left: 11px; border-radius: 4px; padding: 10px; background: rgba(19, 37, 31, .72); font-size: 11px; font-weight: 650; backdrop-filter: blur(10px); }
.hero-visual-note { position: absolute; right: 4px; bottom: -23px; color: #89928c; font-size: 9px; letter-spacing: .19em; }

.inspiration-section { margin: 18px 0 0; padding: 62px 0 84px; border-top: 1px solid var(--line); }
.inspiration-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.inspiration-heading h2, .workspace-intro h2 { font: 600 clamp(30px, 3.7vw, 49px)/1.2 Georgia, "Songti SC", serif; letter-spacing: -.02em; }
.inspiration-lead { margin: 12px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.inspiration-section .secondary-action { min-height: 40px; border-radius: 5px; background: transparent; font-size: 12px; }
.inspiration-section .secondary-action span { margin-left: 15px; font-size: 17px; font-weight: 400; }
.showcase-grid { display: block; columns: 3; column-gap: 16px; }
.showcase-card { display: inline-block; width: 100%; margin: 0 0 16px; padding: 0; overflow: hidden; break-inside: avoid; border: 0; border-radius: 8px; background: #fff; color: var(--ink); text-align: left; cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.showcase-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(25, 49, 39, .13); }
.showcase-card img { display: block; width: 100%; height: 280px; object-fit: cover; background: #e7ebe7; }
.showcase-card:nth-child(2) img, .showcase-card:nth-child(4) img { height: 340px; }
.showcase-card:nth-child(3) img { height: 310px; }
.showcase-caption { display: block; padding: 13px 14px 15px; }
.showcase-caption b, .showcase-caption small { display: block; }
.showcase-caption b { font-size: 13px; font-weight: 750; }
.showcase-caption small { margin-top: 5px; color: #8a938d; font-size: 10px; line-height: 1.4; }
.showcase-disclaimer { margin: 17px 0 0; color: #909791; font-size: 10px; }

.workspace { max-width: 1040px; margin: 0 auto; padding: 54px 0 18px; border-top: 1px solid var(--line); }
.workspace-intro { max-width: 650px; margin: 0 0 30px; }
.workspace-intro p:last-child { max-width: 580px; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.form-card, .job-section, .library-section { border: 1px solid #e3e6df; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.form-card { padding: clamp(26px, 4vw, 50px); }
.section-heading { align-items: center; }
.section-heading h2 { font: 600 29px/1.25 Georgia, "Songti SC", serif; }
.free-badge, .job-badge { padding: 9px 13px; border-radius: 5px; font-size: 11px; letter-spacing: .01em; }
.mode-tabs { gap: 12px; margin: 31px 0 32px; }
.mode-tab { min-height: 100px; gap: 14px; border-radius: 8px; padding: 18px; }
.mode-tab.active { border-color: #75a28e; background: #f3f7f3; box-shadow: inset 0 0 0 1px #75a28e; }
.tab-icon { width: 39px; height: 39px; border-radius: 5px; background: #eef2ee; }
.mode-tab.active .tab-icon { background: var(--green-dark); }
.mode-tab b { font-size: 15px; }
.mode-tab small { margin-top: 5px; font-size: 11px; }
.mode-tab {
  min-width: 0;
  min-height: 194px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 20px;
}
.mode-tab:focus-visible { outline: 3px solid #8bb9a4; outline-offset: 3px; }
.mode-tab-top, .mode-tab-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mode-photo-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 4px;
  background: #edf2ee;
  color: #315143;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.mode-photo-required { background: #f4efe7; color: #755536; }
.mode-selection { color: var(--green-dark); font-size: 12px; font-weight: 750; visibility: hidden; white-space: nowrap; }
.mode-tab.active .mode-selection { visibility: visible; }
.mode-tab-content { display: block; padding: 21px 0 18px; }
.mode-tab-content b { display: block; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.35; letter-spacing: -.02em; }
.mode-tab-content > span { display: block; margin-top: 7px; color: #55645d; font-size: 14px; line-height: 1.5; }
.mode-tab-bottom { min-height: 28px; padding-top: 10px; border-top: 1px solid #e7ebe5; }
.mode-tab .mode-technical { margin: 0; color: #66716a; font-size: 12px; line-height: 1.4; }
.mode-availability { color: #8b4c32; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mode-tab:disabled { opacity: 1; background: #f8f9f7; border-color: #e0e4df; }
.mode-tab:disabled .mode-tab-content { color: #65716a; }
.task-form { gap: 30px; }
.ai-first-card, .ai-scene-first { padding: 24px; border-color: #e0e6df; border-radius: 9px; background: #f7f9f6; }
.ai-spark { border-radius: 5px; background: var(--green-dark); }
.prompt-primary textarea { min-height: 125px; border-color: #dce4dc; font-size: 15px; }
.prompt-example { border-color: #d6ddd6; padding: 8px 12px; font-size: 11px; }
.quick-basics { border-color: #e1e8e1; }
.advanced-panel { border-radius: 8px; }
.advanced-panel summary { padding: 18px 20px; }
.primary-action { min-height: 58px; border-radius: 7px; padding: 17px 20px; background: var(--green-dark); box-shadow: none; }
.primary-action:hover { background: #2c6652; }
.primary-action span { font-size: 15px; }
.customer-note { margin-top: 33px; border-radius: 6px; background: #f3f6f2; }
.tier-option, .confirmation-list > div, .confirmation-original, .single-image-note, .account-required-note { border-radius: 8px; }
.account-dialog, .confirmation-dialog { border-radius: 12px; background: #fff; }
.confirmation-actions { background: #fff; }
.job-section, .library-section { max-width: 1040px; margin: 30px auto 70px; padding: clamp(26px, 4vw, 45px); }
.library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 25px; }
.library-card, .result-card { border-radius: 8px; }
.library-card img { aspect-ratio: 4 / 3; }
.library-card > div { padding: 13px 14px; }
.library-card b { font-size: 12px; }
.library-card a { font-size: 11px; }
footer { margin-top: 95px; padding: 28px 0 45px; font-size: 11px; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: .9fr 1.1fr; gap: 28px; }
  h1 { font-size: clamp(46px, 5.5vw, 64px); }
  .hero-image-main { height: 470px; }
  .showcase-grid { columns: 3; }
  .showcase-card:nth-child(n) img { height: 240px; }
}
@media (max-width: 800px) {
  .site-header, main, footer { width: min(100% - 36px, 1360px); }
  .header-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 64px 0 70px; }
  .hero-copy { max-width: 680px; }
  h1 { max-width: none; font-size: clamp(48px, 8vw, 69px); }
  .hero-visual { max-width: 680px; width: 100%; }
  .hero-image-main { height: 455px; }
  .inspiration-section { padding-top: 50px; }
  .showcase-grid { columns: 2; }
  .workspace { padding-top: 55px; }
}
@media (max-width: 740px) {
  .mode-tabs, .tier-options { grid-template-columns: 1fr; }
  .mode-tab { min-height: 0; }
  .mode-tab-content { padding: 18px 0 14px; }
  .mode-tab-content b { font-size: 18px; }
}
@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 32px, 1360px); }
  .site-header { height: 72px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 9px; }
  .header-actions { gap: 12px; }
  .launch-state { font-size: 11px; }
  .account-trigger { padding: 9px 10px; font-size: 10px; }
  .hero { gap: 34px; min-height: 0; padding: 55px 0 54px; }
  .eyebrow { margin-bottom: 20px; font-size: 9px; }
  h1 { font-size: clamp(44px, 12vw, 58px); line-height: 1.15; }
  .hero-lead { margin-top: 20px; font-size: 14px; }
  .hero-actions { gap: 20px; margin-top: 27px; }
  .hero-footnote { margin-top: 25px; font-size: 10px; line-height: 1.7; }
  .hero-visual { grid-template-columns: 1fr; gap: 10px; }
  .hero-image-main { height: 310px; }
  .hero-image-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .hero-image-small { height: 144px; }
  .hero-image-main figcaption { bottom: 18px; left: 18px; }
  .hero-image-main figcaption b { font-size: 21px; }
  .hero-image-small figcaption { padding: 7px; font-size: 9px; }
  .hero-visual-note { bottom: -19px; font-size: 8px; }
  .inspiration-section { margin-top: 10px; padding: 45px 0 55px; }
  .inspiration-heading { align-items: start; flex-direction: column; gap: 17px; }
  .inspiration-heading h2, .workspace-intro h2 { font-size: 30px; }
  .inspiration-lead { margin: 9px 0 20px; font-size: 12px; }
  .showcase-grid { columns: 2; column-gap: 10px; }
  .showcase-card { margin-bottom: 10px; }
  .showcase-card:nth-child(n) img { height: 185px; }
  .showcase-card:nth-child(even) img { height: 218px; }
  .showcase-caption { padding: 10px; }
  .showcase-caption b { font-size: 11px; }
  .showcase-caption small { font-size: 9px; }
  .workspace { padding-top: 43px; }
  .workspace-intro { margin-bottom: 21px; }
  .workspace-intro p:last-child { font-size: 12px; }
  .form-card, .job-section, .library-section { padding: 20px; border-radius: 9px; }
  .section-heading h2 { font-size: 24px; }
  .free-badge { max-width: 44%; overflow: hidden; text-overflow: ellipsis; }
  .mode-tabs { margin: 22px 0 25px; }
  .mode-tab { min-height: 0; padding: 18px; }
  .ai-first-card { padding: 17px; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .library-card > div { align-items: start; flex-direction: column; gap: 6px; }
  footer { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image img, .showcase-card, .hero-cta { transition: none; }
}
