.app-shell{width:min(1120px,100% - 32px);margin:0 auto;padding:72px 0 96px}.hero{max-width:810px;margin-bottom:40px}.eyebrow{color:#78716c;letter-spacing:.16em;margin:0 0 10px;font-size:.75rem;font-weight:800}.hero h1{color:#18181b;letter-spacing:-.065em;max-width:790px;margin:0;font-size:clamp(2.8rem,7vw,5.4rem);line-height:.97}.hero-description{color:#57534e;max-width:660px;margin:24px 0 0;font-size:1.05rem;line-height:1.7}.privacy-note{color:#57534e;background:#ffffffbf;border:1px solid #e7e5e4;border-radius:999px;align-items:center;gap:9px;margin-top:22px;padding:9px 12px;font-size:.82rem;display:inline-flex}.privacy-dot{background:#16a34a;border-radius:50%;width:7px;height:7px}.workspace{flex-direction:column;gap:32px;display:flex}.upload-card,.results-section,.export-panel,.gradient-panel{background:#fff;border:1px solid #e7e5e4;border-radius:22px;box-shadow:0 18px 50px #1c19170f}.upload-card{padding:20px}.hidden-input{display:none}.drop-zone{color:#78716c;cursor:pointer;background:#fafaf9;border:1.5px dashed #d6d3d1;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:9px;width:100%;min-height:340px;transition:border-color .16s,background-color .16s,transform .16s;display:flex}.drop-zone:hover,.drop-zone-active{background:#f5f5f4;border-color:#292524;transform:translateY(-2px)}.drop-zone strong{color:#292524;font-size:1.1rem}.drop-zone small{color:#a8a29e;margin-top:5px}.upload-icon{color:#fff;background:#292524;border-radius:50%;place-items:center;width:48px;height:48px;margin-bottom:5px;font-size:1.8rem;line-height:1;display:grid}.image-preview-wrapper{border:1px solid #e7e5e4;border-radius:16px;overflow:hidden}.image-preview{object-fit:contain;background:#f5f5f4;width:100%;max-height:520px;display:block}.image-details{justify-content:space-between;align-items:center;gap:24px;padding:16px 18px;display:flex}.image-label{color:#78716c;margin:0 0 4px;font-size:.78rem}.image-name{color:#292524;word-break:break-word;margin:0;font-weight:700}.upload-controls{justify-content:space-between;align-items:flex-end;gap:24px;margin-top:20px;display:flex}.color-count-control{flex-direction:column;gap:8px;display:flex}.control-label{color:#57534e;font-size:.8rem;font-weight:700}.segmented-control{background:#f5f5f4;border:1px solid #e7e5e4;border-radius:12px;padding:4px;display:flex}.segment-button{color:#78716c;cursor:pointer;background:0 0;border:0;border-radius:8px;min-width:43px;min-height:36px;font-weight:800}.segment-button:hover{color:#18181b}.segment-button-active{color:#18181b;background:#fff;box-shadow:0 2px 8px #1c191717}.segment-button:disabled{cursor:not-allowed;opacity:.55}.action-row,.heading-actions,.download-actions{gap:10px;display:flex}.primary-button,.secondary-button,.text-button,.color-value-button,.download-button{font:inherit;cursor:pointer;border:0}.primary-button,.secondary-button{border-radius:12px;min-height:46px;padding:0 20px;font-weight:800}.primary-button{color:#fff;background:#18181b}.primary-button:hover:not(:disabled){background:#292524}.secondary-button{color:#292524;background:#fff;border:1px solid #d6d3d1}.secondary-button:hover:not(:disabled){background:#f5f5f4}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.5}.text-button{color:#292524;text-underline-offset:4px;background:0 0;padding:0;font-weight:800;text-decoration:underline}.error-message{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;margin:0;padding:14px 16px}.results-section{padding:28px}.section-heading,.panel-heading{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.section-heading h2,.panel-heading h2{color:#18181b;letter-spacing:-.04em;margin:0;font-size:1.85rem}.result-description{color:#78716c;margin:10px 0 22px}.palette-strip{border:1px solid #e7e5e4;border-radius:16px;min-height:84px;margin-bottom:24px;display:flex;overflow:hidden}.palette-strip-color{flex:1}.palette-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.color-card{background:#fff;border:1px solid #e7e5e4;border-radius:16px;overflow:hidden}.color-preview{flex-direction:column;justify-content:space-between;min-height:190px;padding:14px;display:flex;position:relative}.color-number{opacity:.75;border:1px solid;border-radius:50%;align-self:flex-end;place-items:center;width:30px;height:30px;font-size:.8rem;display:grid}.preview-name{flex-direction:column;gap:4px;display:flex}.preview-name small{letter-spacing:.06em;opacity:.75;text-transform:uppercase;font-size:.67rem;font-weight:700}.preview-name strong{max-width:90%;font-size:1.05rem}.color-information{gap:2px;padding:10px;display:grid}.color-value-button{color:#292524;text-align:left;background:0 0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px;display:flex}.color-value-button:hover{background:#f5f5f4}.color-value-button span{color:#78716c;letter-spacing:.08em;font-size:.72rem;font-weight:800}.color-value-button strong{font-size:.86rem}.gradient-panel,.export-panel{box-shadow:none;background:#fafaf9;margin-top:32px;padding:24px}.gradient-preview{border:1px solid #78716c2e;border-radius:16px;min-height:240px;margin-top:22px}.gradient-controls{grid-template-columns:1fr 1fr 1.4fr;gap:14px;margin-top:18px;display:grid}.select-field,.range-field{flex-direction:column;gap:8px;display:flex}.select-field>span,.range-field>span{color:#57534e;font-size:.78rem;font-weight:800}.select-field select{color:#292524;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #d6d3d1;border-radius:10px;padding:0 12px}.range-field>span{justify-content:space-between;display:flex}.range-field input{accent-color:#18181b;width:100%;min-height:46px;margin:0}.code-block{color:#f5f5f4;background:#18181b;border-radius:14px;margin:22px 0 0;padding:20px;font-size:.9rem;line-height:1.8;overflow-x:auto}.download-section{border-top:1px solid #e7e5e4;justify-content:space-between;align-items:flex-end;gap:28px;margin-top:28px;padding-top:24px;display:flex}.download-section h3{color:#18181b;margin:0 0 6px}.download-section p{color:#78716c;max-width:470px;margin:0;line-height:1.55}.download-button{color:#292524;text-align:left;background:#fff;border:1px solid #d6d3d1;border-radius:12px;flex-direction:column;gap:3px;min-width:110px;padding:13px 15px;display:flex}.download-button:hover{border-color:#a8a29e;transform:translateY(-1px)}.download-button strong{font-size:.88rem}.download-button span{color:#78716c;font-size:.72rem}@media (width<=820px){.palette-grid{grid-template-columns:repeat(2,1fr)}.gradient-controls{grid-template-columns:1fr 1fr}.range-field{grid-column:1/-1}.download-section{flex-direction:column;align-items:flex-start}}@media (width<=680px){.app-shell{padding-top:42px}.upload-controls,.section-heading,.panel-heading{flex-direction:column;align-items:flex-start}.action-row,.heading-actions{width:100%}.action-row button,.heading-actions button{flex:1}.download-actions{width:100%}.download-button{flex:1;min-width:0}}@media (width<=520px){.app-shell{width:min(100% - 20px,1120px)}.hero h1{font-size:3rem}.privacy-note{border-radius:14px;align-items:flex-start;line-height:1.4}.upload-card,.results-section{padding:14px}.drop-zone{min-height:260px}.palette-grid,.gradient-controls{grid-template-columns:1fr}.range-field{grid-column:auto}.color-preview{min-height:170px}.action-row,.heading-actions,.download-actions{flex-direction:column}.action-row button,.heading-actions button,.download-button{width:100%}.palette-strip{min-height:64px}.app-layout{flex-direction:column;min-height:100vh;display:flex}.app-shell{flex:1}.site-footer{text-align:center;color:#6b7280;border-top:1px solid #e5e7eb;margin-top:3rem;padding:1.5rem 1rem;font-size:.875rem}.site-footer p{margin:0}.site-footer a{color:#111827;font-weight:600;text-decoration:none}.site-footer a:hover{text-decoration:underline}}:root{color:#18181b;font-synthesis:none;text-rendering:optimizelegibility;background:#f5f5f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;background:#f5f5f4;min-width:320px}body{background:radial-gradient(circle at 0 0,#fffffff2,#0000 36%),#f5f5f4;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button,select,input[type=range]{transition:background-color .16s,border-color .16s,color .16s,transform .16s,opacity .16s}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #18181b40}::selection{color:#fff;background:#18181b}
