:root {
  --ink: #171319;
  --muted: #746d73;
  --line: #ded8da;
  --paper: #fffdfb;
  --soft: #fff4f5;
  --pink: #ff5f8f;
  --pink-dark: #ea3f76;
  --yellow: #ffd95c;
  --mint: #65d6bd;
  --blue: #75b9ff;
  --shadow: 0 18px 50px rgba(48, 29, 36, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fffaf7; font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.55; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 10px; color: white; background: var(--ink); transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 68px; padding: 9px clamp(20px, 5vw, 72px); display: flex; align-items: center; gap: 32px; border-bottom: 1px solid rgba(23, 19, 25, .08); background: rgba(255, 250, 247, .93); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand b { font-size: 18px; font-weight: 900; letter-spacing: -.5px; }
.brand small { margin-top: 4px; color: var(--pink-dark); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.brand-mark { position: relative; width: 38px; height: 38px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 2px; padding: 5px; border-radius: 11px; background: var(--ink); transform: rotate(-3deg); }
.brand-mark i { display: block; border-radius: 2px; background: var(--pink); }
.brand-mark i:nth-child(1) { grid-area: 1 / 2; background: var(--yellow); }
.brand-mark i:nth-child(2) { grid-area: 2 / 1; background: var(--pink); }
.brand-mark i:nth-child(3) { grid-area: 2 / 2; background: white; }
.brand-mark i:nth-child(4) { grid-area: 2 / 3; background: var(--mint); }
.brand-mark i:nth-child(5) { grid-area: 3 / 2; background: var(--pink); }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 34px); font-size: 14px; font-weight: 700; }
.site-header nav a { position: relative; padding: 10px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--pink); transition: right .2s; }
.site-header nav a:hover::after { right: 0; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 18px; border: 1.5px solid var(--ink); border-radius: 13px; font-weight: 850; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(23, 19, 25, .10); }
.button-primary { color: white; border-color: var(--pink-dark); background: var(--pink); box-shadow: 4px 4px 0 var(--ink); }
.button-primary:hover { background: var(--pink-dark); box-shadow: 5px 7px 0 var(--ink); }
.button-dark { color: white; background: var(--ink); }
.button-ghost { background: white; }
.full-button { width: 100%; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255, 95, 143, .14); }
.member-active .status-dot { background: #28b98a; box-shadow: 0 0 0 4px rgba(40, 185, 138, .14); }

.hero { max-width: 1320px; margin: 0 auto; padding: 24px 32px 28px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(34px, 3.6vw, 56px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pink-dark); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 9px; background: var(--pink); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 10px 0 13px; font-size: clamp(42px, 3.8vw, 56px); line-height: .99; letter-spacing: -.06em; font-weight: 950; }
.hero h1 em { position: relative; color: var(--pink-dark); font-style: normal; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 1%; right: -2%; bottom: -5px; height: 12px; z-index: -1; border-radius: 50%; background: var(--yellow); transform: rotate(-1deg); }
.hero-copy > p { max-width: 570px; margin-bottom: 14px; color: #5e565c; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .button { min-height: 46px; padding: 10px 19px; }
.trust-list { margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 16px; list-style: none; color: var(--muted); font-size: 11px; }
.trust-list span { color: #1aa77e; font-weight: 900; }

.hero-demo { position: relative; padding: 13px; border: 2px solid var(--ink); border-radius: 22px; background: #fff; box-shadow: 9px 10px 0 var(--ink); transform: rotate(.5deg); }
.hero-demo::before, .hero-demo::after { content: ""; position: absolute; z-index: -1; border: 2px solid var(--ink); }
.hero-demo::before { width: 58px; height: 58px; right: -25px; top: -27px; border-radius: 50%; background: var(--yellow); }
.hero-demo::after { width: 38px; height: 38px; left: -22px; bottom: 34px; border-radius: 10px; background: var(--mint); transform: rotate(18deg); }
.demo-caption { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 10px; font-size: 11px; color: var(--muted); }
.demo-caption span:last-child { text-align: right; }
.demo-caption b { padding: 6px 12px; border-radius: 99px; color: white; background: var(--ink); }
.demo-stage { min-height: 214px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; padding: 12px; overflow: hidden; border-radius: 15px; background-color: var(--soft); background-image: linear-gradient(rgba(255,95,143,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,95,143,.08) 1px, transparent 1px); background-size: 16px 16px; }
.photo-card, .pixel-card { width: 100%; max-width: 198px; aspect-ratio: 1; position: relative; justify-self: center; overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; background: #ccece9; box-shadow: 5px 6px 0 rgba(23, 19, 25, .14); }
.photo-sun { position: absolute; width: 48px; height: 48px; right: 16px; top: 18px; border-radius: 50%; background: var(--yellow); }
.photo-hill { position: absolute; width: 150%; height: 60%; left: -25%; bottom: -18%; border-radius: 50% 50% 0 0; background: #64b89b; transform: rotate(-8deg); }
.photo-hill.hill-b { left: 8%; bottom: -28%; background: #27735e; transform: rotate(15deg); }
.photo-cat { position: absolute; width: 84px; height: 100px; left: 50%; bottom: 20px; border: 7px solid var(--ink); border-radius: 48% 48% 42% 42%; background: #fff2da; transform: translateX(-50%); }
.photo-cat::before, .photo-cat::after { content: ""; position: absolute; width: 35px; height: 35px; top: -24px; border: 7px solid var(--ink); background: #fff2da; transform: rotate(45deg); }
.photo-cat::before { left: -5px; }.photo-cat::after { right: -5px; }
.photo-cat i { position: absolute; width: 10px; height: 14px; top: 32px; z-index: 2; border-radius: 50%; background: var(--ink); }
.photo-cat i:first-child { left: 19px; }.photo-cat i:nth-child(2) { right: 19px; }
.photo-cat b { position: absolute; width: 10px; height: 8px; left: 50%; top: 52px; z-index: 2; border-radius: 50%; background: var(--pink); transform: translateX(-50%); }
.demo-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; color: white; background: var(--pink); font-weight: 900; }
.pixel-card { background: white; }
.pixel-grid { position: absolute; inset: 12px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 1px; }
.pixel-grid i { border-radius: 1px; background: #f3eeee; }
.pixel-card > span { position: absolute; right: 6px; bottom: 6px; padding: 3px 7px; border-radius: 99px; color: white; background: var(--ink); font-size: 9px; font-weight: 800; }
.demo-note { padding: 8px 6px 0; display: flex; justify-content: center; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.demo-note b { color: var(--ink); }.demo-note i { width: 3px; height: 3px; border-radius: 50%; background: var(--pink); }

.generator-section, .gallery-section, .guide-section, .feature-section { padding: 100px max(24px, calc((100% - 1280px) / 2)); }
.generator-section { padding-top: 30px; padding-bottom: 72px; background: #f4efee; border-block: 1px solid var(--line); }
.section-heading { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.generator-section .section-heading h2 { font-size: clamp(32px, 3.2vw, 46px); }
.section-heading h2, .showcase h2, .faq-section h2, .final-cta h2 { margin: 10px 0 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.05em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }
.section-heading.centered { display: block; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.generator-shell { overflow: hidden; border: 2px solid var(--ink); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.tool-header { min-height: 56px; padding: 11px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1.5px solid var(--ink); background: var(--soft); }
.tool-steps { display: flex; align-items: center; gap: 12px; color: #a49ba1; font-size: 13px; }
.tool-steps b { font-weight: 800; }.tool-steps b.active { color: var(--ink); }.tool-steps span { width: 24px; height: 1px; background: #bbb1b6; }
.member-state { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.workspace { display: grid; grid-template-columns: 1fr .9fr 1.2fr; }
.panel { min-width: 0; padding: 22px; border-right: 1px solid var(--line); }
.panel:last-child { border-right: 0; }
.panel-title { min-height: 34px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-title > div:first-child { display: flex; align-items: center; gap: 9px; }
.panel-title h3 { margin: 0; font-size: 17px; }
.panel-title > div:first-child > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--ink); font-size: 11px; font-weight: 900; }
.text-button, .view-toggles button { padding: 5px 8px; border: 0; color: var(--pink-dark); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.upload-zone { min-height: 330px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed #d5c8cd; border-radius: 18px; background: #fffafa; text-align: center; cursor: pointer; transition: border .2s, background .2s, transform .2s; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--pink); background: #fff1f5; transform: translateY(-2px); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { width: 62px; height: 62px; margin-bottom: 16px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 18px; color: white; background: var(--pink); box-shadow: 5px 5px 0 var(--ink); font-size: 34px; line-height: 1; }
.upload-zone b { font-size: 17px; }.upload-zone small { max-width: 240px; margin-top: 7px; color: var(--muted); line-height: 1.6; }
.source-preview { position: relative; min-height: 330px; overflow: hidden; border: 2px solid var(--ink); border-radius: 18px; background: #eee; }
.source-preview img { width: 100%; height: 330px; display: block; object-fit: contain; background-image: linear-gradient(45deg,#ddd 25%,transparent 25%),linear-gradient(-45deg,#ddd 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ddd 75%),linear-gradient(-45deg,transparent 75%,#ddd 75%); background-size: 20px 20px; background-position: 0 0,0 10px,10px -10px,-10px 0; }
.source-preview span { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 99px; color: white; background: var(--pink); font-size: 11px; font-weight: 800; }
.source-actions { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-action { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 12px; font-weight: 800; cursor: pointer; }
.mini-action:hover { border-color: var(--ink); }
.privacy-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.recommendation { color: var(--pink-dark); font-size: 11px; }
fieldset { margin: 0 0 17px; padding: 0; border: 0; }
legend, .field > span { margin-bottom: 8px; display: block; color: #625b60; font-size: 12px; font-weight: 800; }
.size-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.size-presets button { min-height: 43px; padding: 6px 3px; border: 1px solid var(--line); border-radius: 10px; background: #faf8f8; font-size: 12px; font-weight: 800; cursor: pointer; }
.size-presets button small { display: block; color: var(--muted); font-size: 9px; }
.size-presets button.active { color: var(--pink-dark); border-color: var(--pink); background: #fff0f5; box-shadow: inset 0 0 0 1px var(--pink); }
.dimension-row { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: end; gap: 7px; }
.dimension-row label span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.dimension-row input, .field select { width: 100%; height: 41px; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 0 10px; outline: none; }
.dimension-row input:focus, .field select:focus, .dialog-card input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,95,143,.13); }
.dimension-row button { height: 41px; padding: 0 12px; border: 0; border-radius: 9px; color: white; background: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; }
.field { display: block; margin-bottom: 17px; }
.range-field > span, .adjust-grid label span { display: flex; justify-content: space-between; }
input[type="range"] { width: 100%; accent-color: var(--pink); }
output { color: var(--pink-dark); font-weight: 900; }
.adjust-grid { display: grid; gap: 9px; }
.adjust-grid label { font-size: 11px; color: var(--muted); }
.crop-settings { margin: 16px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.crop-settings summary { cursor: pointer; font-size: 11px; font-weight: 800; }
.crop-settings label { margin-top: 8px; display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.settings-panel .full-button { min-height: 42px; font-size: 12px; }
.view-toggles { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggles button { color: var(--muted); border-right: 1px solid var(--line); }
.view-toggles button:last-child { border-right: 0; }.view-toggles button.active { color: white; background: var(--ink); }
.canvas-wrap { min-height: 392px; display: grid; place-items: center; overflow: auto; border: 1px solid var(--line); border-radius: 15px; background-color: #f8f5f5; background-image: linear-gradient(45deg,#eee 25%,transparent 25%),linear-gradient(-45deg,#eee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eee 75%),linear-gradient(-45deg,transparent 75%,#eee 75%); background-size: 18px 18px; background-position: 0 0,0 9px,9px -9px,-9px 0; }
.preview-empty { display: flex; flex-direction: column; align-items: center; color: var(--muted); text-align: center; }
.preview-empty b { color: var(--ink); }.preview-empty small { margin-top: 5px; }
.empty-pixels { width: 66px; height: 66px; margin-bottom: 16px; background: conic-gradient(from 90deg at 33% 33%,var(--pink) 0 25%,transparent 0 100%) 0 0/33% 33%; }
#previewCanvas { max-width: 100%; max-height: 520px; display: block; background: white; image-rendering: pixelated; cursor: crosshair; }
.edit-toolbar { margin-top: 8px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }.edit-toolbar span { margin-right: auto; }.edit-toolbar button { border: 1px solid var(--line); border-radius: 7px; background: white; cursor: pointer; }
.result-summary { margin: 12px 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 11px; }
.result-summary div { padding: 8px; display: grid; text-align: center; border-right: 1px solid var(--line); }.result-summary div:last-child { border: 0; }.result-summary span { color: var(--muted); font-size: 9px; }.result-summary b { font-size: 13px; }
.primary-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; }.primary-actions .button { padding-inline: 9px; font-size: 12px; }
.share-action { width: 100%; margin-top: 9px; padding: 8px; border: 0; color: var(--pink-dark); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.palette-results { padding: 26px; border-top: 1px solid var(--line); background: #fffafa; }
.palette-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }.palette-heading h3 { margin: 7px 0 0; }.palette-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.swatch-list { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 9px; }
.swatch { min-height: 66px; padding: 8px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; text-align: left; }
.swatch.active { outline: 2px solid var(--pink); outline-offset: 1px; }.swatch-color { width: 30px; height: 45px; border: 1px solid rgba(0,0,0,.13); border-radius: 8px; }.swatch b, .swatch small { display: block; }.swatch b { font-size: 12px; }.swatch small { color: var(--muted); font-size: 9px; }

.showcase { max-width: 1280px; margin: 0 auto; padding: 120px 32px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.showcase-copy > p { max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.8; }.showcase-copy ul { margin: 30px 0 0; padding: 0; list-style: none; }.showcase-copy li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 750; }.showcase-copy li b { margin-right: 14px; color: var(--pink-dark); }
.sheet-visual { position: relative; padding: 28px; border: 2px solid var(--ink); background: white; box-shadow: 15px 16px 0 var(--pink); transform: rotate(2deg); }.sheet-top { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 11px; }.sheet-top b { font-size: 17px; }.sheet-grid { aspect-ratio: 1.18; display: grid; grid-template-columns: repeat(18,1fr); border: 1px solid var(--ink); background: #eee; gap: 1px; }.sheet-grid i { background: white; }.sheet-swatches { margin-top: 14px; display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; }.sheet-swatches i { height: 20px; border: 1px solid rgba(0,0,0,.15); }.sheet-swatches i:nth-child(1){background:#111}.sheet-swatches i:nth-child(2){background:#fff}.sheet-swatches i:nth-child(3){background:#ff5f8f}.sheet-swatches i:nth-child(4){background:#ffd95c}.sheet-swatches i:nth-child(5){background:#65d6bd}.sheet-swatches i:nth-child(6){background:#4e76cf}

.gallery-section { background: var(--ink); color: white; }
.gallery-section .section-heading p { color: #bdb4bb; }.gallery-grid { min-height: 180px; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }.loading-copy { grid-column: 1/-1; color: #bdb4bb; }
.gallery-card { overflow: hidden; border: 1px solid #4b444b; border-radius: 17px; background: #241f25; }.gallery-card img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; background: #fff; }.gallery-card div { padding: 13px; }.gallery-card h3 { margin: 0 0 8px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.gallery-meta { display: flex; gap: 12px; color: #bdb4bb; font-size: 11px; }.gallery-empty { grid-column: 1/-1; padding: 70px 20px; border: 1px dashed #514950; border-radius: 17px; color: #bdb4bb; text-align: center; }

.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }.guide-grid article { position: relative; min-height: 310px; padding: 30px; border: 2px solid var(--ink); border-radius: 20px; background: white; box-shadow: 7px 8px 0 var(--ink); }.guide-grid article:nth-child(2) { background: #fff2f6; }.guide-grid article:nth-child(3) { background: #f0fffb; }.guide-grid article > span { position: absolute; right: 20px; top: 15px; color: rgba(23,19,25,.09); font-size: 60px; font-weight: 950; }.guide-icon { width: 62px; height: 62px; margin-bottom: 50px; display: grid; place-items: center; border-radius: 16px; color: white; background: var(--pink); box-shadow: 4px 4px 0 var(--ink); font-size: 27px; font-weight: 900; }.guide-grid article:nth-child(2) .guide-icon { background: var(--yellow); color: var(--ink); }.guide-grid article:nth-child(3) .guide-icon { background: var(--mint); color: var(--ink); }.guide-grid h3 { margin-bottom: 10px; font-size: 23px; }.guide-grid p { margin: 0; color: var(--muted); }
.feature-section { background: #f4efee; }.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }.feature-grid article { min-height: 230px; padding: 28px; background: #fff; }.feature-grid article > b { width: 48px; height: 48px; margin-bottom: 32px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 13px; background: var(--soft); font-size: 18px; }.feature-grid h3 { margin-bottom: 9px; }.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-section { max-width: 1180px; margin: 0 auto; padding: 120px 32px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }.faq-intro > p { margin-top: 24px; color: var(--muted); }.faq-list details { border-top: 1px solid var(--line); }.faq-list details:last-child { border-bottom: 1px solid var(--line); }.faq-list summary { padding: 22px 44px 22px 0; position: relative; list-style: none; font-size: 17px; font-weight: 850; cursor: pointer; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 17px; font-size: 26px; }.faq-list details[open] summary::after { content: "−"; }.faq-list details p { padding-right: 30px; color: var(--muted); }
.final-cta { margin: 20px auto 100px; max-width: 1180px; padding: 70px 30px; border: 2px solid var(--ink); border-radius: 28px; background: var(--yellow); box-shadow: 12px 14px 0 var(--ink); text-align: center; }.final-cta .eyebrow { color: var(--ink); }.final-cta .eyebrow::before { background: var(--ink); }.final-cta p { color: #5d521e; }.final-cta .button { margin-top: 10px; }
footer { padding: 50px max(24px, calc((100% - 1280px) / 2)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; color: white; background: var(--ink); }.footer-brand { display: flex; align-items: center; gap: 15px; }.footer-brand div { display: grid; }.footer-brand small { margin-top: 5px; color: #a9a0a7; }.footer-links { display: flex; gap: 20px; font-size: 13px; }.footer-links button { padding: 0; border: 0; color: white; background: none; cursor: pointer; }.footer-links a:hover,.footer-links button:hover { color: var(--pink); }.footer-brand + .footer-links + p { grid-column: 1/-1; margin: 10px 0 0; padding-top: 20px; border-top: 1px solid #3b343b; color: #857d83; font-size: 11px; }

.card-dialog { width: min(520px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 24px; background: transparent; }.card-dialog::backdrop { background: rgba(23,19,25,.70); backdrop-filter: blur(6px); }.dialog-card { position: relative; padding: 36px; border: 2px solid var(--ink); border-radius: 23px; background: white; box-shadow: 10px 11px 0 var(--pink); }.dialog-close { position: absolute; right: 15px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3efef; font-size: 22px; cursor: pointer; }.dialog-icon { width: 52px; height: 52px; margin-bottom: 22px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 15px; color: white; background: var(--pink); box-shadow: 4px 4px 0 var(--ink); }.dialog-card h2 { margin: 9px 0 12px; font-size: 30px; letter-spacing: -.04em; }.dialog-card > p { color: var(--muted); }.dialog-card label span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }.dialog-card input { width: 100%; height: 52px; margin-bottom: 13px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 11px; outline: none; text-transform: uppercase; }.dialog-card input[aria-invalid="true"] { border-color: #d92f5f; box-shadow: 0 0 0 3px rgba(217,47,95,.12); }.dialog-card .card-error { margin: -4px 0 13px; padding: 10px 12px; border: 1px solid #f3b6c8; border-radius: 10px; color: #a51f49; background: #fff0f4; font-size: 13px; font-weight: 700; }.dialog-tip { display: block; margin-top: 13px; color: var(--muted); text-align: center; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; max-width: min(460px,calc(100% - 32px)); padding: 13px 18px; border: 1px solid #3e373e; border-radius: 12px; color: white; background: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.24); opacity: 0; transform: translate(-50%,20px); pointer-events: none; transition: .2s; }.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 1050px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; max-width: 820px; padding: 36px 24px 42px; }
  .hero-copy { text-align: center; }.hero-copy > p { margin-inline: auto; }.hero-actions,.trust-list { justify-content: center; }
  .hero-demo { display: none; }
  .workspace { grid-template-columns: 1fr 1fr; }.source-panel { border-bottom: 1px solid var(--line); }.settings-panel { border-right: 0; border-bottom: 1px solid var(--line); }.result-panel { grid-column: 1/-1; }
  .canvas-wrap { min-height: 520px; }.showcase { gap: 50px; }.gallery-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }.site-header { min-height: 66px; padding: 9px 16px; }.brand-mark { width: 34px; height: 34px; }.brand b { font-size: 15px; }.brand small { font-size: 9px; }.header-card-button { min-height: 38px; padding: 8px 12px; font-size: 11px; }
  .hero { min-height: 0; padding: 30px 18px 34px; gap: 0; }.hero h1 { font-size: clamp(36px,10vw,48px); }.hero-copy > p { font-size: 14px; }.hero-actions { display: grid; }.hero-actions .button { width: 100%; }.trust-list { display: grid; gap: 6px; }
  .generator-section,.gallery-section,.guide-section,.feature-section { padding: 72px 14px; }.section-heading { display: block; }.section-heading > p { margin-top: 14px; }.section-heading h2,.showcase h2,.faq-section h2,.final-cta h2 { font-size: 36px; }.generator-shell { border-radius: 17px; }.tool-header { display: block; }.tool-steps { justify-content: center; }.member-state { margin-top: 10px; justify-content: center; }.workspace { display: block; }.panel { padding: 17px; border-right: 0; border-bottom: 1px solid var(--line); }.panel:last-child { border-bottom: 0; }.upload-zone,.source-preview,.source-preview img { min-height: 280px; height: 280px; }.canvas-wrap { min-height: 360px; }.size-presets { grid-template-columns: repeat(3,1fr); }.palette-heading { display: block; }.palette-heading p { margin-top: 8px; }.swatch-list { grid-template-columns: repeat(3,1fr); }.swatch { min-height: 70px; grid-template-columns: 1fr; gap: 4px; text-align: center; }.swatch-color { width: 100%; height: 25px; }
  .showcase { padding: 85px 18px; grid-template-columns: 1fr; gap: 45px; }.sheet-visual { padding: 17px; box-shadow: 8px 9px 0 var(--pink); }.gallery-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }.guide-grid,.feature-grid { grid-template-columns: 1fr; }.guide-grid article { min-height: 270px; }.feature-grid article { min-height: 190px; }.faq-section { padding: 85px 18px; grid-template-columns: 1fr; gap: 40px; }.final-cta { margin: 10px 16px 80px; padding: 56px 20px; box-shadow: 8px 9px 0 var(--ink); }
  footer { padding: 42px 20px; grid-template-columns: 1fr; }.footer-links { flex-wrap: wrap; }.footer-brand + .footer-links + p { grid-column: 1; }
  .dialog-card { padding: 30px 20px; }.dialog-card h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
