:root{color-scheme:light;--bg:#f7f8f5;--surface:#fff;--ink:#0f2747;--text:#374550;--muted:#58665f;--line:#dce3df;--green:#087657;--accent:#2bb289;--mint:#e2f2e9;--hero:#e0f2e7;--shadow:0 4px 16px #0f274709}
:root[data-theme=dark]{color-scheme:dark;--bg:#101c22;--surface:#182832;--ink:#f0f5ee;--text:#d4e0dc;--muted:#a9bbb5;--line:#374c51;--green:#72dbb2;--mint:#234439;--hero:#214a3d;--shadow:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.48 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button,a,select,input,textarea{touch-action:manipulation}button,select{cursor:pointer}button,a{color:var(--green)}button{padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-weight:650;min-height:42px}button:hover,a:hover{filter:brightness(.94)}button:disabled{opacity:.55;cursor:wait}a{font-weight:650;text-underline-offset:3px}:focus-visible{outline:3px solid #ed852c;outline-offset:3px}[hidden]{display:none!important}
header{border-bottom:1px solid var(--line);background:var(--surface);padding-top:env(safe-area-inset-top)}.bar{max-width:1056px;padding:12px 28px;margin:auto;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:9px;color:var(--ink);font-size:28px;letter-spacing:-1.3px;font-weight:850;text-decoration:none}.bar nav{display:flex;gap:5px;margin:auto}.bar nav a{display:flex;gap:7px;align-items:center;padding:9px 16px;color:var(--muted);border-radius:12px;text-decoration:none;font-size:14px}.bar nav a[aria-current=page]{color:var(--green);background:var(--mint)}.round{width:42px;height:42px;border-radius:50%;padding:0;display:inline-grid;place-items:center;font-size:24px;color:var(--muted)}i{display:inline-flex;vertical-align:middle;flex-shrink:0}i svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
main{max-width:1000px;padding:42px 28px 80px;margin:auto}.hero{position:relative;overflow:hidden;background:var(--hero);border-radius:24px;min-height:236px;isolation:isolate;display:flex;align-items:center}.hero-copy{padding:30px 42px;width:67%;z-index:2}.eyebrow{display:flex;gap:9px;align-items:center;color:var(--green);font-size:10px;font-weight:790;letter-spacing:1.8px;margin:0 0 14px}.rule{width:22px;height:2px;background:currentColor}h1,h2,h3,b,label{color:var(--ink)}h1{font-size:clamp(45px,6vw,68px);letter-spacing:-.069em;line-height:.98;margin:0;font-weight:800}h1 span{color:var(--green)}.lead{margin:15px 0 0;font-size:16px}.illustration{position:absolute;right:0;top:0;bottom:0;width:42%;overflow:hidden;z-index:0}.illustration img{position:absolute;width:67%;height:90%;right:10%;bottom:0;transform:rotate(-7deg)}.halo{position:absolute;background:#fff1c9;width:42%;aspect-ratio:1;border-radius:50%;top:11%;right:13%}.wave{position:absolute;background:#b3ddc8;width:150%;height:51%;border-radius:55% 40% 0 0;bottom:-13%;left:-5%;transform:rotate(-14deg)}.w2{background:#8fcdb0;left:34%;bottom:-31%;height:74%;transform:rotate(-25deg)}
form{padding:25px 29px 16px;margin:22px 0 30px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}.form-head,.section-title,.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.form-head{margin-bottom:8px}label,.form-head label{font-weight:740;font-size:18px}.text-button{background:none;border:0;padding:5px;color:var(--green);font-size:13px}.input-wrap{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:5px 7px 5px 14px}.input-wrap:focus-within{outline:2px solid var(--green)}textarea{resize:vertical;min-width:0;flex:1;background:transparent;color:var(--ink);border:0;line-height:1.5;padding:8px 0;outline:none!important}.paste{display:flex;align-items:center;gap:7px;background:var(--mint);border:0;font-size:14px}.primary{margin-top:13px;width:100%;background:#087657;color:white;display:flex;gap:9px;align-items:center;justify-content:center;min-height:47px;border:0}.small,small{color:var(--muted);font-size:13px}.small{margin:10px 0 0;text-align:center}.lower{display:grid;grid-template-columns:1.1fr 1fr;gap:40px}h2{font-size:21px;letter-spacing:-.7px;margin:0 0 12px}h3{margin:20px 0 5px;font-size:16px}.source-list{list-style:none;padding:0;margin:0}.source-list li,.setup-tile,.row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.source-list li:first-child{padding-top:4px}.type-icon,.thumb{width:42px;height:42px;border-radius:12px;background:var(--mint);color:var(--green);display:inline-grid;place-items:center;flex-shrink:0;object-fit:cover}b{font-size:15px}small{display:block}.source-list .pill,.source-list button,.setup-tile button{margin-left:auto}.pill{border-radius:30px;background:var(--mint);color:var(--green);font-weight:700;font-size:11px;padding:4px 9px;white-space:nowrap}.setup-tile{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px}.page-head{margin:10px 0 35px}.page-head h1{font-size:50px}.row{overflow-wrap:anywhere}.row .info{min-width:0;flex:1}.row button{font-size:13px}.empty{background:var(--surface);padding:24px;border:1px solid var(--line);border-radius:15px}.settings-box{background:var(--surface);border:1px solid var(--line);border-radius:15px;overflow:hidden;margin-bottom:25px}.settings-box>*{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:56px;padding:11px 18px;font-size:15px;border:0;border-bottom:1px solid var(--line);border-radius:0}.settings-box>*:last-child{border:0}select{max-width:56%;background:var(--bg);border:1px solid var(--line);border-radius:8px;color:var(--text);padding:6px}input[type=checkbox]{accent-color:var(--green);width:20px;height:20px}
dialog{border:1px solid var(--line);background:var(--surface);color:var(--text);padding:22px;border-radius:18px;width:min(94%,500px);max-height:85dvh;box-shadow:0 18px 70px #001a2730}dialog::backdrop{background:#061b2d75}.dialog-head{margin-bottom:10px}.dialog-head h2{margin:0}#dialog-body p{margin:10px 0}#dialog-body button,#dialog-body>a{margin:4px 5px 4px 0}video,audio,.preview{max-width:100%;max-height:42vh;display:block;margin:8px auto;border-radius:10px}.error{color:#a53e21}[data-theme=dark] .error{color:#ffb59a}#notice{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);max-width:90%;width:max-content;border-radius:12px;background:#0f2747;color:#fff;padding:12px 18px;z-index:10;box-shadow:0 3px 14px #0002}progress{display:block;width:100%;height:7px;accent-color:var(--green);margin-top:6px}#detected:not(:empty){font-size:13px;color:var(--green);margin-top:6px}#collection-tools{margin:10px 0}.guide{max-width:760px}.guide h2{margin:32px 0 8px}.guide h1{font-size:46px}.guide li{margin:8px 0}.guide code{overflow-wrap:anywhere;color:var(--ink)}.guide details{padding:13px 0;border-bottom:1px solid var(--line)}.guide summary{font-weight:700;cursor:pointer}
@media(max-width:680px){.bar{padding:9px 18px;justify-content:space-between}.bar nav{position:fixed;z-index:4;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--line);justify-content:space-around;padding:5px 3px calc(5px + env(safe-area-inset-bottom));gap:0}.bar nav a{flex-direction:column;gap:2px;padding:5px 15px;font-size:11px}.bar nav a[aria-current=page]{background:none}.bar nav i svg{width:22px;height:22px}main{padding:19px 16px calc(100px + env(safe-area-inset-bottom))}.hero{border-radius:18px;min-height:193px}.hero-copy{width:72%;padding:24px 18px}.hero .eyebrow{font-size:8px;letter-spacing:1.1px;gap:5px}.hero .rule{width:12px}.hero h1{font-size:clamp(40px,10vw,57px)}.hero .lead{font-size:13px;max-width:200px}.illustration{width:37%}.illustration img{width:125%;height:74%;max-width:none;right:-11%;bottom:3%}.halo{width:92%;right:-10%;top:28%}.lower{grid-template-columns:1fr;gap:24px}form{padding:14px;margin:15px 0 23px}.text-button{font-size:12px}.input-wrap{gap:6px;padding-left:9px}.input-wrap .round{width:30px;border:0}.paste{padding:7px 9px}.brand{font-size:25px}.brand img{width:34px;height:34px}.row{flex-wrap:wrap}.row .info{min-width:40%}.page-head h1{font-size:42px}}@media(prefers-reduced-motion:no-preference){button,a{transition:filter .15s ease}.view{animation:appear .15s ease-out}@keyframes appear{from{opacity:.65}to{opacity:1}}}
