:root {
  --bg:#151515;
  --surface:#1e201b;
  --surface-raised:#252821;
  --paper:#f2f0e8;
  --muted:#a4a59e;
  --soft:#c7c8c0;
  --line:#373833;
  --lime:#c9fc66;
  --lime-hover:#dafa9e;
  --gutter:clamp(22px,4.2vw,76px);
  --ease:cubic-bezier(.2,.75,.2,1);
  color-scheme:dark;
  font-family:'Raleway',Arial,Helvetica,sans-serif;
  color:var(--paper);
  font-synthesis:none;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:32px}
body {margin:0;background:var(--bg);font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,input,select {font:inherit}
button {cursor:pointer;color:inherit}
a {color:inherit;text-decoration:none}
button,a,input,select,summary {-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible {outline:2px solid var(--lime);outline-offset:5px}
button:disabled {cursor:not-allowed;opacity:.4}
::selection {background:var(--lime);color:var(--bg)}
[hidden] {display:none!important}
.icon-defs {position:absolute;width:0;height:0;overflow:hidden}
.icon {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
h1,h2,h3,p {margin:0}
em {font-style:normal;color:var(--lime)}
.site-header {max-width:1700px;margin:auto;padding:0 var(--gutter);height:112px}
.header-inner {height:100%;display:flex;align-items:center;justify-content:space-between;gap:32px;border-bottom:1px solid var(--line)}
.brand {display:inline-flex;align-items:center;gap:17px;flex-shrink:0}
.brand-logo {display:block;width:88px;height:55px;object-fit:contain;flex-shrink:0}
.brand-name {font-size:13px;letter-spacing:.16em;line-height:1.25;font-weight:500}
.desktop-nav {display:flex;gap:32px;margin-left:4%}
.desktop-nav a {font-size:16px;color:var(--soft);position:relative;padding:12px 0;white-space:nowrap}
.desktop-nav a:after {content:'';position:absolute;left:0;right:100%;bottom:5px;height:1px;background:var(--lime);transition:right .25s}
.desktop-nav a:hover:after {right:0}
.header-right {display:flex;align-items:center;gap:24px}
.portfolio-link {display:flex;align-items:center;gap:18px;font-size:16px;color:var(--soft)}
.portfolio-link>span {font-family:Arial,sans-serif;font-size:23px;color:var(--lime)}
.portfolio-link:hover {color:var(--lime)}
.language {border:1px solid var(--lime);border-radius:100px;background:#c9fc6610;color:var(--lime);padding:10px 15px;display:flex;gap:12px;align-items:center;font-size:15px;font-weight:700;min-height:44px}
.language:hover {background:var(--lime);color:var(--bg)}
.hero {max-width:1700px;margin:auto;padding:30px var(--gutter) 0}
.hero-topline {display:flex;align-items:center;justify-content:space-between;gap:24px}
.hero-eyebrow,.eyebrow,.section-eyebrow,.section-index {font-size:14px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-weight:400}
.hero-eyebrow {display:flex;align-items:center;gap:10px}
.tiny-dot {width:6px;height:6px;flex-shrink:0;background:var(--lime);border-radius:50%}
.hero-edition {font-size:13px;letter-spacing:.06em;color:#8e9186;white-space:nowrap}
.hero-body {display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:clamp(35px,6vw,100px);padding:62px 0 66px}
.hero-copy {min-width:0}
h1 {font-size:clamp(68px,7.7vw,124px);font-weight:500;line-height:.98;letter-spacing:-.068em}
h1>span {display:block;white-space:nowrap}
.format-word {color:var(--lime)}
.hero-description {font-size:19px;line-height:1.7;color:var(--muted);margin-top:32px;max-width:440px}
.hero-example-link {font-size:16px;display:inline-flex;align-items:center;gap:33px;border:1px solid #55594b;border-radius:100px;padding:13px 20px;margin-top:27px;transition:background .25s,color .25s}
.hero-example-link>span:last-child {font-size:22px;font-family:Arial,sans-serif;line-height:1;color:var(--lime)}
.hero-example-link:hover {background:var(--paper);color:var(--bg)}
.hero-example-link:hover>span:last-child {color:var(--bg)}
.hero-formats {display:flex;align-items:center;gap:19px;flex-wrap:wrap;font-size:13px;letter-spacing:.025em;margin-top:34px;color:#969b8c}
.hero-formats strong {font-weight:400;color:var(--paper)}
.hero-formats .icon {color:var(--lime);width:22px}
.upload-wrap {min-width:0;position:relative;background:#1b1d18;border:1px solid #414638;padding:25px 25px 20px;transform:rotate(1.1deg);transition:transform .4s var(--ease)}
.upload-wrap:hover,.upload-wrap:focus-within {transform:rotate(0)}
.upload-panel-top {display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:24px;font-size:12px;letter-spacing:.08em;color:#b7bdad}
.upload-panel-top>span:last-child {font-size:25px;line-height:1;font-family:Arial,sans-serif;color:var(--lime)}
.drop-zone {display:flex;align-items:center;justify-content:center;flex-direction:column;gap:25px;position:relative;width:100%;min-height:300px;padding:23px 20px 28px;background:#20231c;border:1px dashed #65744f;color:var(--paper);text-align:center;transition:background .2s,border-color .2s}
.drop-zone:hover,.drop-zone.dragover {background:#282f1e;border-color:var(--lime)}
.vector-sketch {display:block;width:min(100%,340px)}
.vector-sketch svg {display:block;width:100%;height:auto;overflow:visible}
.sketch-guide {stroke:#7c9358;stroke-width:1.2}
.sketch-curve {stroke:var(--lime);stroke-width:3.5}
.sketch-handle {stroke:#c9fc66;stroke-width:1.5;fill:#20231c}
.sketch-node {fill:var(--paper);stroke:var(--lime);stroke-width:2}
.sketch-grid {stroke:#4b533d;stroke-width:.7;stroke-dasharray:3 7;opacity:.6}
.drop-copy {display:flex;flex-direction:column;gap:9px}
.drop-copy strong {font-size:23px;font-weight:500;line-height:1.25;letter-spacing:-.035em}
.drop-copy>span {font-size:14px;line-height:1.6;color:#abb39d;max-width:350px}
.drop-plus {position:absolute;right:13px;top:8px;color:#829765;font:300 25px Arial,sans-serif}
.upload-actions {display:flex;align-items:center;gap:15px;justify-content:space-between;margin-top:21px}
.button {border:1px solid transparent;border-radius:100px;padding:16px 22px;min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-size:16px;line-height:1.3;font-weight:500;transition:background .2s,color .2s,transform .2s}
.primary {background:var(--lime);color:var(--bg);border-color:var(--lime)}
.primary:hover:enabled {background:var(--lime-hover);border-color:var(--lime-hover);transform:translateY(-2px)}
.secondary {background:transparent;border-color:#565d4b;color:var(--paper)}
.secondary:hover:enabled {background:var(--paper);border-color:var(--paper);color:var(--bg)}
.upload-button {font-size:16px;gap:22px;flex-grow:1;padding-inline:19px}
.upload-button .icon {width:21px;height:21px}
.paste-hint {display:flex;align-items:center;gap:5px;white-space:nowrap;color:var(--muted);font-size:13px}
.paste-hint>span:first-child {display:none}
kbd {border:1px solid #646d56;border-bottom-width:2px;border-radius:5px;font:500 12px 'Raleway',sans-serif;padding:5px 7px;color:#c8d1ba}
.file-hint {font-size:13px;line-height:1.5;color:#969e8a;text-align:center;margin-top:16px}
.hero-promises {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0 25px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.hero-promises>span {display:flex;align-items:center;gap:11px}
.hero-promises .icon {width:19px;height:19px;color:var(--lime)}
.section-inner {max-width:1700px;margin:auto;padding-inline:var(--gutter)}
.section-topline {display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:24px}
.section-index {color:var(--lime);min-width:40px}
.section-heading-row {display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin:38px 0 40px}
h2 {font-size:clamp(42px,4.65vw,74px);line-height:1.04;letter-spacing:-.05em;font-weight:400}
.section-description {font-size:17px;line-height:1.75;color:var(--muted);max-width:340px;padding-bottom:3px}
.examples-section {padding:54px 0 90px}
.demo-comparison {display:grid;grid-template-columns:1fr 50px 1fr;gap:0;margin:0}
.demo-half {min-width:0}
.demo-label {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0 16px;font-size:14px;letter-spacing:.06em;color:var(--soft)}
.demo-label>div {display:flex;gap:7px}
.demo-label>div>span {font-size:12px;letter-spacing:0;padding:3px 9px;border:1px solid #43473c;border-radius:50px;color:var(--muted)}
.blue-text {color:var(--lime)!important}
.demo-art {height:330px;display:flex;align-items:center;justify-content:center;position:relative;background:var(--paper);overflow:hidden}
.demo-art>img {height:310px;width:310px;object-fit:contain;transition:transform .6s var(--ease)}
.demo-half:hover .demo-art>img {transform:scale(1.08)}
.pixel-example {image-rendering:pixelated}
.demo-center {display:flex;align-items:center;justify-content:center;color:var(--lime);padding-top:55px}
.zoom-badge {position:absolute;right:17px;bottom:14px;font-size:13px;line-height:1.4;border:1px solid #bfc0b4;background:#f2f0e8e6;padding:4px 8px;color:#747b66}
.demo-art .blue-text {color:#506b24!important;font-size:19px;line-height:1}
.samples-caption {font-size:14px;color:var(--muted);letter-spacing:.04em;margin:39px 0 21px}
.sample-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.sample-card {display:flex;flex-direction:column;align-items:flex-start;padding:0;background:transparent;color:var(--soft);border:0;text-align:left;min-width:0;transition:transform .25s}
.sample-card>img {height:150px;width:100%;object-fit:contain;background:#e7e7df;padding:14px;transition:background .25s}
.sample-card>span {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%;margin-top:13px;font-size:14px;line-height:1.5}
.sample-card>span:after {content:'↗';font-family:Arial,sans-serif;color:var(--lime);font-size:18px;flex-shrink:0}
.sample-card:hover {transform:translateY(-5px);color:var(--lime)}
.sample-card:hover>img {background:#f0f3df}
.how-section {padding-bottom:90px}
.how-section h2 {margin-top:38px}
.steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;margin-top:48px}
.steps article {border-top:1px solid #4a4f41;padding-top:24px}
.step-icon {display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--lime);margin-bottom:30px}
.step-icon span {font-size:56px;line-height:1;letter-spacing:-.045em;font-weight:500}
.step-icon .icon {width:27px;height:27px}
.steps h3 {font-size:28px;line-height:1.2;letter-spacing:-.025em;font-weight:400}
.steps p {font-size:17px;line-height:1.75;color:var(--muted);max-width:350px;margin-top:14px}
.features-section {padding:65px 0;background:#1c1f18;border-block:1px solid #353a2e}
.feature-grid {display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.feature-intro .section-eyebrow {color:#b0b5a5}
.feature-intro h2 {font-size:clamp(38px,4vw,64px);margin:24px 0}
.feature-intro>p {font-size:18px;line-height:1.75;max-width:390px;color:var(--muted)}
.feature-list {display:flex;flex-direction:column;gap:28px;padding-top:7px}
.feature-list article {display:flex;align-items:flex-start;gap:21px;border-top:1px solid #424938;padding-top:24px}
.feature-list article:first-child {padding-top:0;border-top:0}
.feature-symbol {font-size:32px;line-height:1;color:var(--lime);width:31px;flex-shrink:0}
.feature-list h3 {font-size:21px;line-height:1.4;letter-spacing:-.02em;font-weight:500;margin:0 0 9px}
.feature-list p {font-size:16px;line-height:1.75;color:var(--muted)}
.faq-section {padding:90px var(--gutter) 86px;max-width:1700px;margin:auto}
.faq-inner {display:grid;grid-template-columns:.8fr 1.2fr;gap:0 65px;border-top:1px solid var(--line);padding-top:27px}
.faq-inner>.section-eyebrow {grid-column:1;grid-row:1}
.faq-inner>h2 {grid-column:1;grid-row:2;margin-top:22px;align-self:start}
.faq-list {grid-column:2;grid-row:1/span 3}
.faq-list details {border-bottom:1px solid #3d4236}
.faq-list details:first-child summary {padding-top:0}
.faq-list details:first-child summary:after {top:-6px}
.faq-list summary {font-size:18px;line-height:1.5;list-style:none;position:relative;padding:24px 35px 24px 0;cursor:pointer}
.faq-list summary::-webkit-details-marker {display:none}
.faq-list summary:after {content:'+';position:absolute;right:0;top:19px;font-size:27px;font-weight:400;color:var(--lime)}
.faq-list details[open] summary:after {content:'−'}
.faq-list p {font-size:16px;line-height:1.8;color:var(--muted);padding:0 28px 23px 0}
.back-upload {grid-column:1;grid-row:3;align-self:start;justify-self:start;margin-top:30px;display:inline-flex;align-items:center;gap:25px;color:var(--lime);font-size:16px}
.back-upload .icon {width:22px}
.site-footer {max-width:1700px;margin:auto;padding:28px var(--gutter) 34px;display:flex;align-items:center;gap:30px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.footer-brand {gap:14px;color:var(--paper)}
.footer-brand .brand-logo {width:66px;height:41.25px}
.footer-brand .brand-name {font-size:11px}
.footer-note {font-size:14px}
.site-footer>a:nth-last-child(2) {display:flex;align-items:center;gap:5px;margin-left:auto;font-size:14px}
.site-footer strong {font-weight:400;color:var(--paper)}
.footer-arrow {color:var(--lime);font:24px Arial,sans-serif;margin-left:8px}
.site-footer a:hover {color:var(--lime)}
.back-top {width:46px;height:46px;display:flex;align-items:center;justify-content:center;border:1px solid var(--lime);border-radius:50%;font:23px Arial,sans-serif;color:var(--lime);flex-shrink:0;transition:background .2s,color .2s}
.back-top:hover {background:var(--lime);color:var(--bg)!important}
/* A spacious, readable workspace with a neutral drawing surface. */
.workspace {max-width:1700px;margin:auto;padding:42px var(--gutter) 60px}
.workspace-heading {display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}
.workspace-heading .eyebrow {font-size:13px;color:var(--muted)}
.workspace-heading h2 {font-size:clamp(26px,2.5vw,40px);line-height:1.3;letter-spacing:-.035em;margin:11px 0 9px;max-width:65vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-heading p {font-size:14px;color:var(--muted);line-height:1.7;font-variant-numeric:lining-nums}
.workspace-heading .button {flex-shrink:0}
.workspace-heading>div {min-width:0}
.workspace-heading .new-image-button {font-weight:600;box-shadow:0 6px 24px #c9fc6618}
.editor-layout {display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid #41473a;background:var(--surface);min-width:0}
.settings-panel {padding:26px 23px;border-right:1px solid #41473a;min-width:0;background:#1b1e18}
.panel-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}
.panel-heading h3 {font-size:21px;letter-spacing:-.035em;font-weight:500;line-height:1.3}
.text-button {border:0;background:none;padding:4px 0;font-size:14px;color:var(--muted);font-weight:400;min-height:36px}
.text-button:hover {color:var(--lime)}
.setting-label {font-size:15px;font-weight:500;line-height:1.5;color:#c3cab7;display:block;margin-bottom:10px}
.settings-panel select,.png-scale select {display:block;width:100%;padding:12px 10px;min-height:48px;border:1px solid #515a43;border-radius:3px;background:#252b1e;color:var(--paper);font-size:15px;line-height:1.4}
select option {background:#252b1e;color:var(--paper)}
.setting-row {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:26px 0 8px}
.setting-row .setting-label {margin:0}
.setting-row output {font-size:14px;color:var(--lime);font-variant-numeric:lining-nums;border:1px solid #4c5a38;padding:2px 8px;border-radius:4px;white-space:nowrap}
input[type=range] {accent-color:var(--lime);width:100%;height:18px;margin:8px 0;cursor:pointer}
input[type=range]:disabled {opacity:.35;cursor:not-allowed}
.range-labels {display:flex;justify-content:space-between;gap:10px;color:#969e8a;font-size:13px}
.quality-label {margin-top:26px}
.checkbox-row {display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.6;color:#c3cab7;margin-top:26px;cursor:pointer}
.checkbox-row input {accent-color:var(--lime);width:18px;height:18px;flex-shrink:0;margin:3px 0 0}
.setting-help {font-size:13px;line-height:1.7;color:#9ea88f;margin-top:10px}
.fill-option {margin-top:24px;padding:14px;border:1px solid #687c4966;border-radius:6px;background:#c9fc6606}
.fill-option .checkbox-row {margin:0;color:var(--paper);font-weight:500}
.fill-option .setting-help {margin-top:8px}
.fill-option:has(input:checked) {border-color:#c9fc6680;background:#c9fc660b}
.auto-update-note {font-size:14px;line-height:1.7;color:var(--lime);margin-top:24px}
.retry-button {width:100%;margin-top:18px;font-size:15px}
.settings-hint {font-size:14px;line-height:1.7;color:#d2c28b;margin-top:14px}
.settings-hint:empty {display:none}
.palette-section {border-top:1px solid #414936;padding-top:23px;margin-top:28px}
.palette-section .panel-heading {margin-bottom:16px}
.palette-section h3 {font-size:17px}
.palette {display:flex;flex-wrap:wrap;gap:9px}
.palette input[type=color] {height:31px;width:31px;border:1px solid #7c876c;border-radius:5px;padding:0;cursor:pointer;overflow:hidden;background:transparent}
.palette input::-webkit-color-swatch-wrapper {padding:0}
.palette input::-webkit-color-swatch {border:0;border-radius:3px}
.preview-panel {display:flex;flex-direction:column;min-width:0;background:#20241c}
.preview-toolbar {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px;min-height:80px;border-bottom:1px solid #414936}
.preview-mode {font-size:15px;line-height:1.4;color:var(--lime);font-weight:500}
.zoom-tools {display:flex;align-items:center;gap:3px;flex-shrink:0}
.zoom-tools button {display:flex;align-items:center;justify-content:center;width:37px;height:38px;padding:0;border:0;background:none;color:#c9d0bd;font-size:25px;border-radius:50%;font-family:Arial,sans-serif}
.zoom-tools button:hover:enabled {background:#353f2a;color:var(--lime)}
.zoom-tools span {font-size:14px;min-width:47px;text-align:center;color:#c5cdb8;font-variant-numeric:lining-nums}
.zoom-tools .icon {width:18px;height:18px}
.preview-stage {position:relative;display:grid;grid-template-columns:1fr 1fr;min-height:520px;height:560px;flex:1;background-color:#efeee8;background-image:linear-gradient(45deg,#dedfd5 25%,transparent 25%),linear-gradient(-45deg,#dedfd5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dedfd5 75%),linear-gradient(-45deg,transparent 75%,#dedfd5 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;color-scheme:light}
.preview-pane {position:relative;min-width:0;overflow:hidden;height:100%}
.original-pane {border-right:1px solid #aeb6a3}
.pane-label {position:absolute;z-index:2;top:17px;left:16px;background:#f2f0e8ed;border:1px solid #b3baa8;color:#56634a;padding:6px 9px;font-size:11px;letter-spacing:.045em;font-weight:500;pointer-events:none;line-height:1.4;max-width:calc(100% - 28px)}
.vector-label {color:#3a5a13;border-color:#93b16c;background:#eaf2d9ed}
.art-scroll {height:100%;width:100%;overflow:auto;overscroll-behavior:contain}
.art-frame {display:flex;align-items:center;justify-content:center;width:calc(100% * var(--zoom,1));height:calc(100% * var(--zoom,1));min-width:100%;min-height:100%;padding:calc(var(--art-top,64px) * var(--zoom,1)) calc(var(--art-side,25px) * var(--zoom,1)) calc(var(--art-bottom,30px) * var(--zoom,1))}
.art-frame img {display:block;object-fit:contain;width:100%;height:100%}
.original-pane img {image-rendering:pixelated}
.result-empty {text-align:center;color:#647253;padding:15px;font-size:16px}
.result-empty .icon {width:41px;height:41px;stroke-width:1.1}
.result-empty p {margin-top:14px;line-height:1.5}
.preview-stage[data-view=vector] {grid-template-columns:1fr}
.preview-stage[data-view=vector] .original-pane {display:none}
.preview-stage[data-view=compare] {display:block}
.preview-stage[data-view=compare]>.preview-pane {display:none}
.compare-stage {height:100%;position:relative}
.compare-scroll {height:100%;overflow:auto}
.compare-art {position:relative;width:calc(100% * var(--zoom,1));height:calc(100% * var(--zoom,1));min-height:100%;min-width:100%}
.compare-art>img,.compare-vector>img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:calc(var(--compare-top,45px) * var(--zoom,1)) calc(var(--compare-side,35px) * var(--zoom,1))}
.compare-art>img {image-rendering:pixelated}
.compare-vector {position:absolute;inset:0;clip-path:inset(0 0 0 var(--compare,50%));background-color:#efeee8;background-image:linear-gradient(45deg,#dedfd5 25%,transparent 25%),linear-gradient(-45deg,#dedfd5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dedfd5 75%),linear-gradient(-45deg,transparent 75%,#dedfd5 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.comparison-line {position:absolute;top:0;bottom:0;left:50%;width:44px;transform:translateX(-50%);z-index:2;cursor:ew-resize;touch-action:none;user-select:none;outline:none}
.comparison-line::before {content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;background:#64892c;transform:translateX(-50%);pointer-events:none}
.comparison-line span {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:var(--lime);color:var(--bg);font:18px Arial,sans-serif;border:2px solid #151515;letter-spacing:5px;padding-left:5px;border-radius:50%;pointer-events:none}
.comparison-line:focus-visible span {outline:3px solid #64892c;outline-offset:3px}
.comparison-line.is-dragging span {box-shadow:0 0 0 5px #c9fc6638}
.compare-stage>input {position:absolute;bottom:16px;left:25%;width:50%;z-index:3;accent-color:#729c30}
.processing-overlay {position:absolute;inset:0;z-index:5;background:#1c2118f5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;padding:20px;color-scheme:dark}
.processing-overlay strong {font-size:21px;font-weight:500;letter-spacing:-.02em;line-height:1.4;color:var(--paper)}
.processing-overlay>span {font-size:16px;color:#a2b28d;font-variant-numeric:lining-nums}
.processing-overlay .button {margin-top:7px;padding:12px 24px;min-height:45px}
.spinner {width:42px;height:42px;border:2px solid #465337;border-top-color:var(--lime);border-radius:50%;animation:spin .9s linear infinite}
@keyframes spin {to{transform:rotate(360deg)}}
.result-bar {display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:53px;padding:14px 20px;background:#1e231a;border-top:1px solid #414936;font-size:13px;line-height:1.6;color:#aebba0;font-variant-numeric:lining-nums}
.result-bar [role=status] {display:flex;align-items:center;gap:8px}
.status-dot {height:6px;width:6px;background:#78876b;border-radius:50%;flex-shrink:0}
.status-dot.done {background:var(--lime)}
.export-bar {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 22px;border-top:1px solid #414936;background:#20261a}
.export-bar p {display:flex;flex-direction:column;gap:5px;color:#a2b18f;font-size:14px;line-height:1.7}
.export-bar strong {font-size:19px;letter-spacing:-.025em;font-weight:500;color:var(--paper)}
.export-bar .button {flex-shrink:0;font-size:16px;gap:11px}
.export-bar .icon {width:21px;height:21px}
.download-format {font-size:11px;border:1px solid #667e39;border-radius:3px;padding:2px 5px;margin-left:3px}
body.editing .hero {display:none}
body.editing .examples-section {padding:5px 0 60px}
body.editing .examples-section .section-topline,body.editing .examples-section .section-heading-row,body.editing .demo-comparison {display:none}
body.editing .samples-caption {border-top:1px solid var(--line);padding-top:24px;margin-top:0}
/* Export sheet, matching the portfolio's dark dialogs. */
dialog {border:1px solid #515b42;border-radius:10px;padding:33px;max-width:570px;width:calc(100% - 36px);max-height:calc(100svh - 36px);overflow:auto;background:#1d2118;color:var(--paper);box-shadow:0 28px 110px #0007}
dialog::backdrop {background:#070907d9;backdrop-filter:blur(9px)}
.dialog-heading {display:flex;align-items:center;justify-content:space-between;gap:18px}
.dialog-heading .eyebrow {color:#a5b68b;font-size:12px}
.dialog-heading h2 {font-size:37px;line-height:1.1;letter-spacing:-.045em;margin-top:13px}
.icon-button {border:1px solid #4b573b;border-radius:50%;display:flex;align-items:center;justify-content:center;min-width:39px;height:39px;padding:7px;background:transparent;color:#bbc6ab}
.icon-button:hover {background:var(--lime);color:var(--bg);border-color:var(--lime)}
.icon-button .icon {width:21px;height:21px}
.dialog-description {font-size:16px;line-height:1.7;color:#a5b197;margin:20px 0 24px}
.format-options {display:flex;flex-direction:column;gap:10px;margin-bottom:24px}
.format-options label {display:flex;align-items:center;gap:14px;border:1px solid #4b553d;border-radius:5px;padding:13px 14px;cursor:pointer}
.format-options label:has(input:checked) {border-color:var(--lime);background:#c9fc6610}
.format-options input {accent-color:var(--lime);width:17px;height:17px;margin:0;flex-shrink:0}
.format-options label>span:not(.recommended) {display:flex;flex-direction:column;gap:3px}
.format-options strong {font-size:18px;font-weight:500;line-height:1.3}
.format-options small {font-size:14px;line-height:1.5;color:#a8b599}
.recommended {font-size:10px;color:var(--lime);letter-spacing:.04em;margin-left:auto}
.full-width {width:100%}
.export-file-meta {font-size:13px;text-align:center;line-height:1.7;color:#a5b296;margin-top:15px;font-variant-numeric:lining-nums}
.png-scale {display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:15px;color:#b8c2ab;margin:0 0 22px}
.png-scale select {width:110px}
.toast {position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:30;width:max-content;max-width:min(600px,calc(100% - 32px));background:var(--lime);border:1px solid var(--lime);border-radius:8px;padding:16px 23px;box-shadow:0 12px 40px #0005;color:var(--bg);font-size:16px;line-height:1.6;text-align:center}
.toast.error {color:#f6e8de;background:#422e25;border-color:#b28965}
.noscript {padding:20px;background:var(--lime);color:var(--bg);text-align:center;font-size:18px}
body.dragging:after {content:'DROP IMAGE / ПЕРЕТАЩИТЕ ИЗОБРАЖЕНИЕ';position:fixed;inset:16px;z-index:40;background:#1d2418f5;border:2px dashed var(--lime);display:flex;align-items:center;justify-content:center;padding:35px;color:var(--lime);font-size:clamp(24px,4vw,50px);font-weight:500;text-align:center;line-height:1.3;pointer-events:none}
@media(min-width:1500px) {
  .hero-body {padding-block:75px 80px}
  .drop-zone {min-height:345px}
  .upload-wrap {padding:30px 30px 24px}
  .drop-copy strong {font-size:27px}
  .drop-copy>span {font-size:16px}
  .upload-actions {gap:24px}
  .paste-hint>span:first-child {display:block}
  .demo-art {height:400px}
  .demo-art>img {width:380px;height:380px}
  .sample-card>img {height:185px}
  .preview-stage {min-height:600px;height:620px}
  .editor-layout {grid-template-columns:320px minmax(0,1fr)}
  .settings-panel {padding:28px}
}
@media(max-width:1150px) {
  .desktop-nav {gap:24px;margin-left:0}
  .header-right {gap:17px}
  .portfolio-link {font-size:14px;gap:10px}
  .hero-body {gap:35px}
  h1 {font-size:clamp(65px,7.2vw,94px)}
  .hero-description {font-size:18px}
  .upload-wrap {padding:20px 18px 18px}
  .upload-actions {flex-wrap:wrap;justify-content:center}
  .upload-button {width:100%;flex-basis:100%}
  .paste-hint>span:first-child {display:block}
  .drop-zone {min-height:270px;padding-inline:13px}
  .vector-sketch {max-width:290px}
  .drop-copy strong {font-size:22px}
  .drop-copy>span {font-size:14px}
  .hero-promises {font-size:13px;gap:15px}
  .hero-promises>span {gap:7px}
  .section-heading-row {gap:30px}
  .section-description {max-width:280px;font-size:16px}
  .demo-art {height:290px}
  .demo-art>img {width:280px;height:280px}
  .sample-grid {gap:12px}
  .sample-card>img {height:120px;padding:8px}
  .sample-card>span {font-size:13px}
  .feature-grid {gap:45px}
  .steps {gap:25px}
  .steps p {font-size:16px}
  .feature-list p {font-size:16px}
  .faq-inner {gap:0 45px}
  .footer-note {display:none}
  .workspace {padding-inline:22px}
  .editor-layout {grid-template-columns:280px minmax(0,1fr)}
  .settings-panel {padding:25px 18px}
  .preview-toolbar {padding:13px;flex-wrap:wrap;gap:10px}
  .zoom-tools {margin-left:auto}
  .export-bar {flex-wrap:wrap;gap:17px;padding:22px 18px}
  .export-bar p {max-width:330px;font-size:13px}
  .export-bar strong {font-size:18px}
  .export-bar .button {margin-left:auto}
  .result-bar {flex-wrap:wrap;gap:5px 12px;font-size:12px;padding:13px 16px}
  .art-frame {--art-side:17px}
}
@media(max-width:850px) {
  .desktop-nav a:nth-child(2) {display:none}
  .portfolio-link {display:none}
  .hero-topline {gap:15px}
  .hero-edition {font-size:11px;letter-spacing:.03em}
  .hero-eyebrow {font-size:12px;letter-spacing:.05em}
  .hero-body {gap:25px}
  h1 {font-size:65px}
  .hero-description {font-size:17px}
  .hero-example-link {font-size:15px;gap:15px;padding-inline:16px}
  .hero-formats {font-size:12px;gap:11px}
  .hero-formats .icon {width:17px}
  .upload-panel-top {font-size:10px}
  .drop-copy strong {font-size:20px}
  .drop-copy>span {font-size:13px}
  .file-hint {font-size:12px}
  .hero-promises>span:last-child {display:none}
  .sample-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}
  .sample-card>img {height:180px}
  .sample-card>span {font-size:15px}
  .section-heading-row {align-items:flex-start;flex-direction:column;gap:23px}
  .section-description {max-width:450px;font-size:17px}
  .steps {gap:23px}
  .steps h3 {font-size:25px}
  .steps p {font-size:15px}
  .feature-grid {grid-template-columns:1fr;gap:38px}
  .feature-intro>p {max-width:540px}
  .feature-intro h2 {font-size:48px}
  .feature-list {gap:25px}
  .feature-list p {font-size:17px;max-width:560px}
  .faq-inner {grid-template-columns:1fr}
  .faq-inner>.section-eyebrow {grid-row:auto;grid-column:auto}
  .faq-inner>h2 {grid-row:auto;grid-column:auto;margin-top:20px}
  .faq-list {grid-row:auto;grid-column:auto;margin-top:35px}
  .back-upload {grid-row:auto;grid-column:auto;margin-top:29px}
  .editor-layout {display:flex;flex-direction:column}
  .preview-panel {order:0}
  .settings-panel {order:1;border-right:0;border-top:1px solid #41473a;padding:25px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:30px}
  .settings-panel>.panel-heading {grid-column:1/-1;margin-bottom:25px}
  .settings-panel>.setting-label:first-of-type {grid-column:1;grid-row:2}
  .settings-panel>#preset {grid-column:1;grid-row:3}
  .settings-panel>.setting-row:nth-of-type(2) {grid-column:2;grid-row:2;margin:0 0 8px}
  .settings-panel>#colors {grid-column:2;grid-row:3;align-self:center}
  .settings-panel>.range-labels:nth-of-type(3) {grid-column:2;grid-row:4}
  .settings-panel>.setting-row:nth-of-type(4) {grid-column:1;grid-row:5;margin:24px 0 8px}
  .settings-panel>#smoothness {grid-column:1;grid-row:6;align-self:center}
  .settings-panel>.range-labels:nth-of-type(5) {grid-column:1;grid-row:7}
  .settings-panel>.quality-label {grid-column:2;grid-row:5;margin:24px 0 8px}
  .settings-panel>#detail {grid-column:2;grid-row:6}
  .settings-panel>.checkbox-row {grid-column:1/-1;margin-top:25px}
  .settings-panel>.setting-help {grid-column:1/-1;max-width:540px}
  .settings-panel>.auto-update-note,.settings-panel>.retry-button {grid-column:1/-1;max-width:420px;justify-self:start}
  .settings-panel>.settings-hint {grid-column:1/-1}
  .settings-panel>.palette-section {grid-column:1/-1;margin-top:24px}
  .preview-toolbar {flex-wrap:nowrap;padding:16px 18px}
  .preview-stage {min-height:450px;height:450px;flex:auto}
  .result-bar {font-size:13px}
  .export-bar {flex-wrap:nowrap}
  .export-bar .button {margin:0}
}
@media(max-width:650px) {
  body {font-size:17px}
  .site-header {height:94px}
  .header-inner {gap:17px}
  .brand-logo {width:74px;height:46.25px}
  .brand {gap:13px}
  .brand-name {font-size:11px}
  .desktop-nav {gap:20px;margin-left:auto}
  .desktop-nav a {font-size:14px}
  .desktop-nav a:last-child {display:none}
  .language {font-size:13px;padding:8px 11px;min-height:40px;gap:8px}
  .hero {padding-top:24px}
  .hero-edition {display:none}
  .hero-eyebrow {font-size:12px;letter-spacing:.06em}
  .hero-body {display:flex;flex-direction:column;align-items:stretch;padding:34px 0 30px;gap:36px}
  h1 {font-size:clamp(64px,11.4vw,84px);line-height:1;letter-spacing:-.063em}
  .hero-description {font-size:18px;line-height:1.7;margin-top:25px}
  .hero-description br:last-child {display:none}
  .hero-example-link {font-size:16px;margin-top:23px;padding:14px 19px;gap:24px}
  .hero-formats {font-size:13px;gap:15px;margin-top:26px}
  .hero-formats .icon {width:20px}
  .upload-wrap {transform:none;padding:21px 20px 19px}
  .upload-panel-top {font-size:12px;margin-bottom:19px}
  .drop-zone {min-height:260px;padding:16px 12px 27px;gap:13px}
  .vector-sketch {width:260px;max-width:100%}
  .drop-copy strong {font-size:24px}
  .drop-copy>span {font-size:14px;max-width:300px}
  .upload-actions {gap:16px;margin-top:20px}
  .upload-button {font-size:17px;padding:16px 21px;min-height:56px;justify-content:space-between}
  .paste-hint {font-size:14px}
  kbd {font-size:13px;padding:5px 8px}
  .file-hint {font-size:13px;margin-top:15px}
  .hero-promises {flex-wrap:wrap;justify-content:flex-start;gap:16px;padding:22px 0;font-size:13px}
  .hero-promises>span {gap:8px}
  .hero-promises .icon {width:17px;height:17px}
  .section-eyebrow,.section-index {font-size:12px}
  .section-topline {padding-top:22px;gap:13px}
  .section-index {min-width:29px}
  .examples-section {padding:35px 0 58px}
  .section-heading-row {margin:28px 0 29px;gap:20px}
  h2 {font-size:clamp(38px,7.7vw,48px);letter-spacing:-.045em}
  .section-description {font-size:17px;line-height:1.7}
  .demo-comparison {grid-template-columns:1fr 26px 1fr}
  .demo-label {flex-direction:column;align-items:flex-start;gap:7px;font-size:12px;padding:8px 0 12px}
  .demo-label>div {gap:5px}
  .demo-label>div>span {font-size:10px;padding:2px 7px}
  .demo-art {height:195px}
  .demo-art>img {width:185px;height:185px;max-width:100%}
  .demo-center {padding-top:75px}
  .demo-center .icon {width:18px}
  .zoom-badge {font-size:11px;right:9px;bottom:10px;padding:3px 5px}
  .demo-art .blue-text {font-size:16px}
  .samples-caption {font-size:12px;line-height:1.7;letter-spacing:.035em;margin:28px 0 18px}
  .sample-grid {gap:24px 12px}
  .sample-card>img {height:125px;padding:7px}
  .sample-card>span {font-size:13px;line-height:1.5;gap:5px;margin-top:9px;overflow-wrap:anywhere}
  .sample-card>span:after {font-size:16px}
  .how-section {padding-bottom:58px}
  .how-section h2 {margin-top:28px}
  .steps {grid-template-columns:1fr;gap:28px;margin-top:34px}
  .steps article {padding-top:20px}
  .step-icon {margin-bottom:18px}
  .step-icon span {font-size:48px}
  .step-icon .icon {width:25px;height:25px}
  .steps h3 {font-size:29px}
  .steps p {font-size:17px;line-height:1.75;max-width:450px;margin-top:12px}
  .features-section {padding:38px 0}
  .feature-intro h2 {font-size:39px;margin:20px 0}
  .feature-intro>p {font-size:17px}
  .feature-grid {gap:32px}
  .feature-list article {gap:17px;padding-top:22px}
  .feature-symbol {font-size:28px;width:27px}
  .feature-list h3 {font-size:21px}
  .feature-list p {font-size:16px}
  .faq-section {padding-top:55px;padding-bottom:55px}
  .faq-list {margin-top:30px}
  .faq-list summary {font-size:17px;padding:22px 31px 22px 0;line-height:1.5}
  .faq-list p {font-size:16px;padding-right:10px;line-height:1.75}
  .back-upload {font-size:16px;margin-top:26px}
  .site-footer {padding-top:25px;padding-bottom:28px;flex-wrap:wrap;gap:24px 20px}
  .footer-brand {margin-right:auto}
  .site-footer>a:nth-last-child(2) {order:2;margin:0;font-size:14px;flex-basis:100%}
  .back-top {margin-left:auto}
  .workspace {padding:28px 14px 36px}
  .workspace-heading {gap:15px;margin-bottom:23px;align-items:center}
  .workspace-heading .eyebrow {font-size:11px;letter-spacing:.06em}
  .workspace-heading h2 {font-size:26px;max-width:68vw;margin:10px 0 7px}
  .workspace-heading p {font-size:13px;max-width:73vw}
  .workspace-heading>.button {font-size:0;padding:12px;min-height:45px;height:45px;width:45px;border-radius:50%}
  .workspace-heading>.button span {display:none}
  .workspace-heading>.button .icon {width:21px;height:21px}
  .preview-toolbar {flex-wrap:wrap;padding:13px 12px;gap:12px}
  .zoom-tools {margin-left:auto;gap:5px}
  .zoom-tools button {width:38px;height:38px}
  .zoom-tools span {font-size:14px;min-width:50px}
  .preview-stage {height:370px;min-height:370px}
  .art-frame {--art-top:60px;--art-side:13px;--art-bottom:27px}
  .pane-label {font-size:10px;letter-spacing:.02em;top:13px;left:10px;padding:5px 7px;max-width:calc(100% - 19px)}
  .result-empty {font-size:14px;padding:8px}
  .result-empty .icon {width:32px;height:32px}
  .result-empty p {margin-top:12px}
  .result-bar {font-size:12px;line-height:1.7;padding:13px 14px;align-items:flex-start;flex-direction:column;gap:4px}
  .export-bar {padding:20px 15px;flex-wrap:wrap;gap:17px}
  .export-bar p {font-size:14px;max-width:none}
  .export-bar strong {font-size:20px;line-height:1.4}
  .export-bar .button {width:100%;font-size:17px;min-height:53px;justify-content:center;gap:13px}
  .download-format {font-size:12px;margin-left:8px}
  .settings-panel {padding:23px 18px;column-gap:20px}
  .settings-panel>.setting-label:first-of-type {grid-column:1/-1;grid-row:2}
  .settings-panel>#preset {grid-column:1/-1;grid-row:3}
  .settings-panel>.setting-row:nth-of-type(2) {grid-column:1;grid-row:4;margin:25px 0 8px}
  .settings-panel>#colors {grid-column:1;grid-row:5}
  .settings-panel>.range-labels:nth-of-type(3) {grid-column:1;grid-row:6}
  .settings-panel>.setting-row:nth-of-type(4) {grid-column:2;grid-row:4;margin:25px 0 8px;align-items:flex-start}
  .settings-panel>#smoothness {grid-column:2;grid-row:5}
  .settings-panel>.range-labels:nth-of-type(5) {grid-column:2;grid-row:6}
  .settings-panel>.quality-label {grid-column:1/-1;grid-row:7}
  .settings-panel>#detail {grid-column:1/-1;grid-row:8}
  .panel-heading h3 {font-size:23px}
  .text-button {font-size:14px}
  .setting-label {font-size:14px;line-height:1.6;margin-bottom:10px}
  .settings-panel select {font-size:14px;min-height:50px;padding:10px 7px}
  .setting-row output {font-size:13px;padding-inline:6px}
  .range-labels {font-size:13px}
  .settings-panel>.setting-row:nth-of-type(2) {align-items:flex-start}
  .settings-panel>.quality-label {margin-top:25px}
  .settings-panel>.setting-row:nth-of-type(4) {margin-top:25px}
  .settings-panel>.checkbox-row {margin-top:25px;font-size:15px}
  .setting-help {font-size:14px;line-height:1.7}
  .settings-panel>.auto-update-note,.settings-panel>.retry-button {max-width:none;font-size:14px}
  .settings-hint {font-size:14px}
  .palette-section h3 {font-size:19px}
  .palette {gap:10px}
  .palette input[type=color] {width:34px;height:34px}
  .processing-overlay strong {font-size:19px}
  .processing-overlay>span {font-size:15px}
  .processing-overlay .button {font-size:16px}
  .compare-art>img,.compare-vector>img {--compare-top:42px;--compare-side:20px}
  .compare-stage>input {left:15%;width:70%;bottom:15px}
  dialog {padding:26px 21px;width:calc(100% - 24px);max-height:calc(100svh - 24px)}
  .dialog-heading h2 {font-size:31px;margin-top:12px}
  .dialog-heading .eyebrow {font-size:11px;letter-spacing:.06em}
  .dialog-description {font-size:15px;margin-top:18px;margin-bottom:23px}
  .format-options label {gap:11px;padding:13px 11px;flex-wrap:wrap}
  .format-options strong {font-size:18px}
  .format-options small {font-size:14px}
  .recommended {font-size:9px;margin-left:28px;flex-basis:100%}
  .export-file-meta {font-size:13px}
  .toast {font-size:15px;padding:15px 20px}
}
@media(max-width:380px) {
  .desktop-nav {display:none}
  .header-right {margin-left:auto}
  h1 {font-size:62px}
  .hero-description {font-size:17px}
  .hero-formats {font-size:12px;gap:10px}
  .drop-copy strong {font-size:22px}
  .hero-promises {font-size:12px;gap:13px}
  .demo-art {height:170px}
  .demo-art>img {width:160px;height:160px}
  .sample-card>img {height:105px}
  .sample-card>span {font-size:12px}
  .preview-stage {height:330px;min-height:330px}
  .settings-panel {padding-inline:14px;column-gap:14px}
  .settings-panel select {font-size:13px}
  .setting-label {font-size:13px}
  .dialog-heading h2 {font-size:28px}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *,*:before,*:after {transition:none!important;animation:none!important}
  .upload-wrap {transform:none}
}

/* Pointer-anchored wheel zoom and direct canvas panning. */
.preview-hint {display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 20px;background:#1c2118;border-bottom:1px solid #414936;color:#a5b197;font-size:13px;line-height:1.6}
.preview-hint>span:last-child {color:#8f9f7d;font-size:12px;white-space:nowrap;font-variant-numeric:lining-nums}
.art-scroll,.compare-scroll {scrollbar-color:#768961 #dfe3d6;scrollbar-width:thin}
.art-frame img,.compare-art img {user-select:none;-webkit-user-drag:none}
.preview-stage[data-zoomed=true] .art-scroll,.preview-stage[data-zoomed=true] .compare-scroll {cursor:grab}
.art-scroll.is-panning,.compare-scroll.is-panning {cursor:grabbing!important}
@media(max-width:650px){.preview-hint{padding:11px 14px;font-size:13px}.preview-hint>span:last-child{display:none}}
@media(hover:none) and (pointer:coarse){.preview-hint{display:none}}

/* Let the current vector remain available for comparison during an update. */
.processing-overlay.is-background {inset:auto 14px 14px;display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;padding:12px 14px;border:1px solid #c3ef5b35;border-radius:12px;background:#171b16ed;box-shadow:0 8px 32px #0004;text-align:left}
.processing-overlay.is-background .spinner {width:20px;height:20px;border-width:2px}
.processing-overlay.is-background strong {font-size:15px;letter-spacing:0}
.processing-overlay.is-background>span {font-size:13px;white-space:nowrap}
.processing-overlay.is-background .button {margin:0;padding:7px 10px;min-height:34px;font-size:13px}
.palette {max-height:168px;overflow:auto;scrollbar-width:thin}
@media(max-width:600px){.processing-overlay.is-background {grid-template-columns:auto 1fr auto;gap:8px;inset:auto 8px 8px;padding:10px}.processing-overlay.is-background>span {display:none}.processing-overlay.is-background strong {font-size:13px}}

/* Explicit placement keeps the additional engine control in reading order. */
@media(max-width:850px){
  .settings-panel>.detail-help {grid-column:2;grid-row:7}
  .settings-panel>.noise-row {grid-column:1/-1;grid-row:8;margin:24px 0 8px}
  .settings-panel>#noise {grid-column:1/-1;grid-row:9}
  .settings-panel>.noise-help {grid-column:1/-1;grid-row:10}
  .settings-panel>.fill-option {grid-column:1/-1;grid-row:11}
}
@media(max-width:650px){
  .settings-panel>.detail-help {grid-column:1/-1;grid-row:9}
  .settings-panel>.noise-row {grid-row:10}
  .settings-panel>#noise {grid-row:11}
  .settings-panel>.noise-help {grid-row:12}
  .settings-panel>.fill-option {grid-row:13}
}
