@layer reset,base,components,responsive;
@layer reset{*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,p{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}svg{display:block}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8678ef;outline-offset:4px}[hidden]{display:none!important}}
@layer base{:root{font:16px/1.7 "Avenir Next","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#203d33;background:#f4f3ec;--ink:#203d33;--muted:#63766c;--line:#cdd5c9;--paper:#fffef8;--green:#007967;--lime:#c5ff80;--purple:#8a7cf0}body{min-width:320px;background:radial-gradient(ellipse at 100% 0,#e4e0f350,transparent 30%)}button,a{touch-action:manipulation}button{transition:background .18s,translate .18s,box-shadow .18s}button:hover:not(:disabled){translate:0 -2px;box-shadow:0 5px 15px #203d3314}button:active:not(:disabled){translate:0 0}.page{width:min(1560px,calc(100% - 80px));margin:auto}.hero{padding:38px 0 34px}.eyebrow{display:flex;gap:13px;align-items:center;font-size:12px;font-weight:750;letter-spacing:.12em;color:var(--green)}h1{font-size:clamp(36px,4.2vw,64px);font-weight:800;line-height:1.2;letter-spacing:0;margin:24px 0}h1 span{color:#f47862}.hero-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px}.lead{font-size:16px}.lead strong{color:var(--green)}h2{font-size:clamp(23px,2vw,29px);line-height:1.4}h3{font-size:17px;line-height:1.5}.kicker{font-size:11px;font-weight:750;letter-spacing:.12em;color:var(--green)}.note{font-size:13px;line-height:1.85;color:var(--muted)}.quiet,.primary,.accent{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 15px;border:1px solid var(--line);border-radius:8px;background:var(--paper);font-size:13px;font-weight:750;white-space:nowrap}.primary{color:#f4ffea;background:var(--ink);border-color:var(--ink)}.accent{background:var(--lime);border-color:#afdf7d}.primary svg,.accent svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.field{display:grid;gap:8px;font-size:14px;font-weight:650;margin-top:20px}.field:first-child{margin-top:0}input[type=text],textarea,select{width:100%;min-width:0;padding:11px 12px;background:var(--paper);border:1px solid var(--line);border-radius:8px;font-size:14px}textarea{resize:vertical;margin-top:8px;line-height:1.65}select{appearance:none;padding-right:35px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23203d33' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.check{display:flex;align-items:center;gap:9px;font-size:14px;margin-top:20px}.check input{width:17px;height:17px;flex:none;accent-color:var(--green)}.range{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:14px;font-weight:650;margin-top:22px}.range output{color:var(--green);font-variant-numeric:tabular-nums;font-size:13px}.range input{grid-column:1/-1;width:100%;height:22px;accent-color:var(--green)}.error{font-size:13px;line-height:1.7;color:#b42b2b;margin-top:10px}.error:empty{display:none}.text-button{border:0;background:none;color:var(--green);font-size:13px;text-decoration:underline;text-underline-offset:3px;padding:6px}.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.color-grid label,.color-inline{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.color-inline{margin-top:18px}input[type=color]{width:46px;height:38px;padding:3px;background:var(--paper);border:1px solid var(--line);border-radius:7px;cursor:pointer}}
@layer components{.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-heading h2{margin-top:5px}.section-heading>p{font-size:13px;color:var(--muted)}.preset-section{margin-bottom:32px}.preset-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.preset{position:relative;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:9px;text-align:left}.preset[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 2px var(--green)}.preset-art{display:grid;place-items:center;height:95px;border-radius:6px;background:var(--preset-bg);overflow:hidden}.preset-art svg{width:76px;height:88px}.preset>span:last-child{display:block;font-size:12px;font-weight:750;padding:8px 3px 0}.studio{container:studio / inline-size;background:var(--paper);border:1px solid var(--line);border-radius:22px;overflow:clip}.studio-heading{display:flex;align-items:center;gap:16px;padding:24px 26px;border-bottom:1px solid var(--line)}.studio-heading h2{margin-top:4px}.section-icon{display:grid;place-items:center;width:52px;height:52px;flex:none;background:var(--purple);color:#fffef8;border-radius:13px}.section-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.badge{margin-left:auto;font-size:11px;font-weight:750;white-space:nowrap;border:1px solid var(--line);border-radius:30px;padding:6px 10px}.studio-grid{display:grid;grid-template-columns:370px minmax(0,1fr);align-items:start}.controls{border-right:1px solid var(--line);background:#f7f6ee;min-width:0;min-height:100%}.tabs{margin:18px 17px 0}.segmented{display:flex;position:relative;isolation:isolate;anchor-scope:--qr-active;gap:3px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#e8ede3}.segmented::before{content:'';position:absolute;position-anchor:--qr-active;top:anchor(top);left:anchor(left);width:anchor-size(width);height:anchor-size(height);z-index:-1;border-radius:6px;background:var(--ink);transition:top .2s,left .2s,width .2s,height .2s}.segmented button{flex:1;min-width:0;border:0;background:transparent;padding:9px 6px;border-radius:6px;font-size:13px;font-weight:700;white-space:nowrap}.segmented button[aria-selected=true],.segmented button[aria-pressed=true]{anchor-name:--qr-active;color:var(--lime)}.segmented button:hover{translate:0 0;box-shadow:none}.segmented button:not([aria-pressed=true]):not([aria-selected=true]):hover{background:#203d3310}@supports not(position-anchor:--qr-active){.segmented::before{display:none}.segmented button[aria-selected=true],.segmented button[aria-pressed=true]{background:var(--ink)}}.control-section{padding:24px 22px;border-bottom:1px solid var(--line)}.control-section:last-child{border-bottom:0}.control-section h3{margin:5px 0 18px}.control-section .note{margin-top:13px}.input-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-top:6px}.input-meta output{white-space:nowrap}.upload{display:flex;align-items:center;flex-direction:column;gap:8px;position:relative;border:1px dashed #a2b5a8;background:var(--paper);border-radius:12px;padding:23px 10px;text-align:center;cursor:pointer;transition:background .18s,border-color .18s}.upload:hover,.upload.is-dragover{background:#effbdc;border-color:var(--green)}.upload:focus-within{outline:3px solid var(--purple);outline-offset:3px}.upload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.upload strong{font-size:14px}.upload small{font-size:11px;color:var(--muted)}.upload-icon svg{width:27px;height:27px;stroke:var(--green);stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.logo-current{display:flex;align-items:center;gap:11px;margin-top:18px}.logo-current>span{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid var(--line);border-radius:8px;background:repeating-conic-gradient(#e4e9e0 0% 25%,#fff 0% 50%) 0/12px 12px}.logo-current img{max-width:38px;max-height:38px}.logo-current>div{min-width:0}.logo-current strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.logo-current p{font-size:11px;color:var(--muted)}.logo-current>button{margin-left:auto}.sample-logos{display:flex;gap:8px;margin-top:16px}.sample-logos button{display:grid;place-items:center;min-width:40px;height:38px;padding:6px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}.sample-logos svg{width:25px;height:25px}.sample-logos button[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.preview-column{min-width:0;background:#fffef8}.preview-sticky{position:sticky;top:16px}.preview-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;border-bottom:1px solid var(--line)}.preview-label{display:flex;gap:9px;align-items:center;font-size:11px;letter-spacing:.08em;font-weight:700;color:var(--green)}.preview-label svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.4}.canvas-switch{width:92px}.canvas-switch button{font-size:12px;padding:5px 8px}.preview-canvas{min-height:480px;display:grid;justify-items:center;align-content:center;gap:18px;padding:28px;background-color:#e8eee4;background-image:linear-gradient(#76938013 1px,transparent 1px),linear-gradient(90deg,#76938013 1px,transparent 1px);background-size:24px 24px}.preview-canvas[data-canvas=dark]{background-color:#20362e;background-image:linear-gradient(#a7c3ad0e 1px,transparent 1px),linear-gradient(90deg,#a7c3ad0e 1px,transparent 1px)}.artboard{width:min(100%,370px);filter:drop-shadow(0 10px 16px #17382915);transition:opacity .15s}.artboard svg{width:100%;height:auto;display:block}.artboard[aria-busy=true]{opacity:.5}.preview-caption{font-size:11px;color:#62796a;text-align:center}.preview-canvas[data-canvas=dark] .preview-caption{color:#bbcebd}.qr-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:7px 20px;padding:11px 16px;border-block:1px solid var(--line);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.scan-card{margin:22px 24px;padding:18px;background:#f3f6ed;border:1px solid var(--line);border-radius:12px}.scan-heading{display:flex;align-items:center;gap:12px}.scan-heading h3{font-size:14px}.scan-heading p{font-size:12px;color:var(--muted);margin-top:2px}.scan-heading .quiet{margin-left:auto;min-height:34px;padding:6px 10px;font-size:11px}.scan-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:#dce6d7;color:var(--green)}.scan-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.scan-card[data-state=pass]{border-color:#91bca3}.scan-card[data-state=fail]{border-color:#d59c7f;background:#fff3e8}.scan-card[data-state=fail] .scan-icon{background:#ffe1c5;color:#9d4a28}.scan-note{font-size:12px;color:var(--muted);margin-top:12px}.warnings{margin:10px 0 0;padding-left:18px;font-size:12px;color:#9a4e27}.warnings:empty{display:none}.save-section{padding:0 24px 25px}.save-options{display:grid;grid-template-columns:1fr 1fr;gap:15px}.save-options .field{margin:0;font-size:12px}.save-options select{font-size:13px}.save-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.save-actions button{min-height:48px;font-size:14px}.save-section .note{margin-top:12px;font-size:12px}.usage{padding-top:52px}.usage h2{margin:6px 0 22px}.usage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.usage article{padding:28px;border:1px solid var(--line);border-radius:16px;background:#fffef880}.usage h3{margin:17px 0 12px}.usage p:not(.kicker){color:var(--muted);font-size:14px;line-height:1.9}.usage-icon{display:grid;place-items:center;width:44px;height:44px;background:#e4eddd;border-radius:10px;color:var(--green)}.usage-icon svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linejoin:round;stroke-linecap:round}footer{display:flex;justify-content:space-between;gap:20px;padding:25px 0;margin-top:48px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}footer>div{display:flex;gap:20px}footer a{color:var(--green);text-underline-offset:4px}.toast{position:fixed;z-index:5000;left:50%;bottom:24px;max-width:calc(100% - 28px);padding:12px 20px;border-radius:9px;background:#203d33f5;color:#fffef8;font-size:14px;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}}
@layer responsive{.preview-column{align-self:stretch}@container studio (max-width:950px){.studio-grid{grid-template-columns:335px minmax(0,1fr)}.control-section{padding-inline:18px}.scan-card{margin:16px}.save-section{padding:0 16px 20px}.scan-heading{gap:8px}.scan-heading .quiet{font-size:10px;padding:6px}.preview-canvas{padding:25px 15px;min-height:440px}}@container studio (max-width:760px){.studio-grid{display:flex;flex-direction:column}.controls{width:100%;border-right:0;border-top:1px solid var(--line)}.preview-column{width:100%;order:-1}.preview-sticky{position:static}.preview-canvas{min-height:400px}.artboard{max-width:320px}.tabs{margin:18px 20px 0}}@media(max-width:1100px){.preset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.preset-art{height:95px}}@media(max-width:800px){.page{width:calc(100% - 40px)}.hero-bottom{align-items:start;flex-direction:column;gap:16px}.section-heading{align-items:start;flex-direction:column;gap:10px}.usage-grid{grid-template-columns:1fr}.usage article{padding:24px}.studio-heading>.badge{display:none}footer{flex-direction:column;gap:12px}}@media(max-width:500px){.page{width:calc(100% - 24px)}.hero{padding:26px 0 30px}h1{font-size:36px}.lead{font-size:15px}.eyebrow{font-size:11px}.preset-grid{gap:8px}.preset{padding:6px}.preset-art{height:75px}.preset-art svg{width:58px;height:68px}.preset>span:last-child{font-size:10px;padding:7px 0 0}.studio-heading{padding:20px 16px;gap:12px}.studio-heading h2{font-size:21px}.section-icon{width:44px;height:44px}.preview-canvas{padding:23px 15px}.preview-bar{padding:12px 16px}.artboard{max-width:290px}.scan-heading h3{font-size:13px}.scan-heading p{font-size:11px}.scan-icon{width:30px;height:30px}.scan-note{font-size:11px}.save-actions{gap:8px}.save-actions button{font-size:13px}.studio{border-radius:18px}footer>div{flex-wrap:wrap;gap:10px 20px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}}
