:root{color-scheme:dark;--bg:#0a101b;--panel:#111c2c;--border:#26364a;--text:#e5edf8;--muted:#93a4bb;--accent:#38bdf8;--green:#4ade80;--amber:#fbbf24;font-family:Inter,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6}h1,h2,p{margin:0 0 12px}h1{font-size:clamp(26px,4vw,38px);line-height:1.2;letter-spacing:-1px}h2{font-size:17px;letter-spacing:-.25px}a{color:#7dd3fc;text-decoration:none}button,input,select,textarea{font:inherit}button,a.primary,a.secondary{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}small,.small{display:block;font-size:12px;color:var(--muted)}.muted{color:var(--muted)}.cyan{color:var(--accent)}.top{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:15px max(20px,calc((100vw - 1200px)/2));background:#0e1725;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;letter-spacing:-.7px;color:var(--text)}.brand small{font-size:9px;letter-spacing:3px;line-height:1.1}.mark{display:grid;place-items:center;width:42px;height:42px;background:#38bdf8;color:#0a1927;border-radius:11px;font-weight:900}.top nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.top nav form,.row form{margin:0}.primary,.secondary,.approve,.danger{display:inline-block;white-space:normal;border:1px solid transparent;border-radius:8px;padding:10px 15px;font-weight:650;text-align:center;line-height:1.3}.primary{background:#38bdf8;color:#072335}.secondary{background:#172436;border-color:#35465c;color:#e5edf8}.approve{background:#16543e;color:#b7f7d4}.danger{background:#3b2330;color:#fda4af;border-color:#704257}.textlink{color:#7dd3fc}.container{max-width:1200px;margin:auto;padding:32px 22px;min-height:65vh}.narrow{max-width:920px}.auth{max-width:450px;margin:40px auto!important;padding:28px!important}.shell{display:flex;max-width:1440px;margin:auto;min-height:75vh}.shell aside{width:224px;padding:20px 14px;background:#0e1725;border-right:1px solid var(--border);flex-shrink:0}.shell main{padding:25px;flex:1;min-width:0}.workspace{background:#1a2a3e;border:1px solid #35465c;border-radius:10px;padding:13px;margin-bottom:18px}.nav{display:block;padding:10px 12px;border-radius:7px;color:#a7b7cc;margin:2px 0}.nav.active{background:#17364b;color:#7dd3fc}.nav:hover{background:#1d3044}.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:20px;margin-bottom:14px;min-width:0}.grid2,.grid3,.metrics{display:grid;gap:15px;grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metric strong{font-size:clamp(18px,2vw,27px);display:block;margin-top:7px;overflow-wrap:anywhere}.heading{margin-bottom:20px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.wrap{flex-wrap:wrap;justify-content:flex-start}.item{padding:13px 0;border-top:1px solid var(--border);overflow-wrap:anywhere}.item:first-child{border-top:none}.status,.pill{display:inline-block;background:#25364a;color:#a9c0da;border-radius:5px;padding:4px 9px;font-size:11px;white-space:nowrap}.status.paid,.status.active,.status.delivered{background:#153a30;color:#86efac}.status.pending,.status.review,.status.queued{background:#3c3019;color:#fcd34d}.status.rejected,.status.failed,.status.suspended{background:#3e2631;color:#fda4af}label{display:block;margin:13px 0;font-size:13px;color:#b8c7d9}input,textarea,select{display:block;margin-top:5px;width:100%;background:#0a1423;border:1px solid #3a4d65;color:var(--text);padding:11px;border-radius:7px;min-width:0}input:focus,select:focus{outline:2px solid #38bdf8;outline-offset:1px}input[type=color]{height:45px}.check{display:flex;gap:9px;align-items:flex-start}.check input{width:auto;accent-color:#38bdf8;flex-shrink:0}form{margin-bottom:10px}hr{border:0;border-top:1px solid var(--border);margin:20px 0}summary{cursor:pointer;color:#7dd3fc;margin:13px 0}.notice,.alert{background:#162f44;border:1px solid #2b5470;padding:13px;border-radius:8px;color:#c1e4f9;margin:12px 0}.alert{max-width:1000px;margin:15px auto}.error{background:#3b2330;border-color:#76455a;color:#fecdd3}.empty{padding:30px;text-align:center;color:var(--muted)}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;color:#8fa2ba;background:#172438}th,td{padding:11px;border-bottom:1px solid var(--border)}.hero{border:1px solid #304c68;background:radial-gradient(ellipse at 88% 25%,#225477,#14243b 45%,#101a29);border-radius:15px;padding:36px;margin-bottom:24px}.hero p{max-width:600px;color:#aebed2}.landing{padding:clamp(32px,6vw,74px)}.landing h1{font-size:clamp(44px,7vw,80px);line-height:1.05;margin:16px 0 20px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#7dd3fc}.product-icon{display:grid;place-items:center;background:#1b3b54;color:#7dd3fc;width:45px;height:45px;border-radius:10px;font-size:24px;font-weight:800;margin-bottom:14px}.total{font-size:28px;font-weight:800;letter-spacing:-1px;color:#7dd3fc;margin:10px 0}.paymentcard{border-radius:15px;background:#fff;color:#142338;text-align:center;padding:24px;margin-bottom:14px;align-self:start;border-top:12px solid #2563eb}.paymentcard .total{color:#005ce8}.paymentcard small{color:#64748b}.paymentcard p{font-size:12px;color:#475569}.qr-output canvas{max-width:100%;height:auto;image-rendering:pixelated;background:white;display:block;margin:10px auto}.qr-output button{font-size:12px;margin:6px 0 12px}.qr-error{color:#b45309!important}.reference{font-family:monospace;font-size:16px;overflow-wrap:anywhere}dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}dt{color:var(--muted)}dd{margin:0;text-align:right;overflow-wrap:anywhere}code{overflow-wrap:anywhere}footer{text-align:center;border-top:1px solid var(--border);color:#8fa1b8;padding:25px;font-size:12px}footer span{color:#60738e}@media(max-width:760px){.grid3,.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{display:block}.shell aside{width:auto;display:flex;overflow:auto;gap:6px;align-items:center;border-bottom:1px solid var(--border);padding:10px}.shell aside .workspace,.shell aside hr{display:none}.shell aside .nav{white-space:nowrap}.shell main{padding:15px}.grid2{grid-template-columns:1fr}.row{flex-wrap:wrap}.container{padding:22px 14px}.auth{margin:25px 14px!important}.top{padding:12px}.panel{padding:15px}.hero{padding:22px}.product .primary{width:100%}}@media(max-width:450px){.grid3{grid-template-columns:1fr}.metrics{gap:8px}.metric{padding:11px}.metric strong{font-size:18px}}
/* Merchant storefront v2 */
.media-thumb{display:block;max-width:100%;width:auto;height:120px;object-fit:contain;border:1px solid var(--border);border-radius:10px;background:#0a1423;margin:10px 0}.store-image{font-size:12px}.storefront{--store-accent:#2563eb;background:var(--bg);border-radius:18px}.storefront .store-hero{padding:0;overflow:hidden;background:var(--panel);border-color:var(--border);border-top:5px solid var(--store-accent)}.store-hero-content{padding:30px}.store-banner{display:block;width:100%;height:clamp(120px,25vw,290px);object-fit:cover;object-position:center}.store-logo{display:block;width:86px;height:86px;object-fit:contain;background:#fff;border-radius:16px;padding:5px;margin-bottom:16px}.storefront .product-image{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;margin-bottom:16px;background:var(--bg)}.storefront .product{display:flex;flex-direction:column;border-top:3px solid var(--store-accent)}.storefront .product-body{flex:1;min-width:0}.storefront .primary{background:var(--store-accent);color:#fff;text-shadow:0 1px 3px #0009;border:1px solid #0002}.storefront .total{color:var(--text)}.storefront .product-icon{border:2px solid var(--store-accent)}.store-list{display:grid;gap:12px}.store-list .product{display:grid;grid-template-columns:minmax(110px,240px) minmax(0,1fr);gap:18px;align-items:start}.store-list .product-image{margin:0}.storefront.theme-light{color-scheme:light;--bg:#f1f5f9;--panel:#fff;--border:#d6e0ea;--text:#142338;--muted:#53647a;color:var(--text)}.theme-light .hero p,.theme-light label{color:#53647a}.theme-light input{background:#f8fafc;color:#142338;border-color:#b8c6d6}.theme-light .eyebrow{color:#405b79}.theme-light .pill{background:#e5edf7;color:#334c66}.theme-light .product-icon{background:#e5edf7;color:#334c66}.theme-light .notice{background:#e6f2fb;color:#244965;border-color:#c3ddeb}.theme-dark .hero p{color:var(--muted)}@media(max-width:520px){.store-list .product{grid-template-columns:1fr}.store-list .product-image{max-height:230px}.store-hero-content{padding:20px}}

/* v4 — quiet, editorial fintech design. Store owners retain light/dark choices. */
:root{color-scheme:light;--bg:#f5f7f5;--panel:#fff;--border:#dfe6e2;--text:#202e2a;--muted:#63746c;--accent:#176a58;--green:#167449;--amber:#946211;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{font-size:14px;line-height:1.65;min-height:100vh;display:flex;flex-direction:column}h1{font-weight:690;letter-spacing:-1.2px}h2{font-weight:650;letter-spacing:-.35px}a,.textlink,summary{color:var(--accent)}a:hover{text-decoration:none}.top{background:#fff;border-bottom:1px solid var(--border);padding:18px max(24px,calc((100vw - 1160px)/2));min-height:76px}.brand{font-weight:720;gap:11px;letter-spacing:-.9px;font-size:22px}.brand small{letter-spacing:2.7px;color:var(--muted);font-weight:600}.mark{background:#176a58;color:#fff;border-radius:13px;font-size:16px;letter-spacing:-.8px;width:42px;height:42px}.primary,.secondary,.approve,.danger{border-radius:9px;min-height:42px;padding:11px 17px;font-weight:620;transition:background .15s,border-color .15s,box-shadow .15s}.primary{background:#176a58;color:white;border-color:#176a58}.primary:hover{background:#105343;border-color:#105343}.secondary{background:#fff;color:#31423a;border-color:#d7e0da}.secondary:hover{background:#edf3ee;border-color:#b7c9be}.approve{background:#e6f3e9;color:#185f38;border-color:#b9dbc6}.danger{background:#fff0ef;color:#a43e3a;border-color:#efcbc7}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #237c68;outline-offset:3px}.container{max-width:1208px;width:100%;padding:38px 24px;flex:1}.narrow{max-width:940px}.shell{width:100%;max-width:1440px;flex:1;min-height:calc(100vh - 160px)}.shell aside{background:#fff;border-color:var(--border);width:238px;padding:25px 17px}.shell main{padding:35px clamp(18px,3vw,45px)}.workspace{background:#edf3ee;border:1px solid #dce7df;border-radius:12px;padding:15px}.nav{color:#5b6b63;padding:11px 13px;border-radius:8px;font-weight:530}.nav.active{background:#e0eee6;color:#155e4c;font-weight:680}.nav:hover{background:#edf3ee}.panel{background:var(--panel);border:1px solid var(--border);border-radius:15px;padding:23px;margin-bottom:17px;box-shadow:0 2px 5px #23382a05}.heading{margin-bottom:25px}.heading h1{margin-bottom:5px}.grid2,.grid3,.metrics{gap:18px}.metric{min-height:120px}.metric strong{font-weight:700;letter-spacing:-.8px}.row{gap:12px}.status,.pill{background:#edf1ee;color:#50665b;border-radius:999px;font-size:11px;font-weight:600;padding:4px 10px}.status.paid,.status.active,.status.delivered{background:#e5f3e8;color:#17603b}.status.pending,.status.review,.status.queued{background:#fff1d8;color:#825414}.status.rejected,.status.failed,.status.suspended{background:#fae8e7;color:#973e38}label{font-weight:560;color:#40554a;margin:15px 0}input,textarea,select{background:#fafcfb;color:var(--text);border:1px solid #d0dcd3;border-radius:9px;padding:11px 12px;min-height:44px}input::placeholder,textarea::placeholder{color:#839188}input:focus,select:focus,textarea:focus{outline:2px solid #87bba6;outline-offset:1px}.check input{min-height:0;accent-color:#176a58}.notice,.alert{background:#edf5f0;color:#355747;border:1px solid #cddfd3;border-radius:10px}.error{background:#fff0ee;color:#923e36;border-color:#eac5bf}.alert{width:calc(100% - 32px)}th{background:#f2f6f3;color:#61736a;font-size:11px;text-transform:uppercase;letter-spacing:.45px}th,td{padding:13px 12px}tr:last-child td{border-bottom:0}.reference{color:#175d4b}footer{margin-top:auto;background:#f5f7f5;color:#61736a;padding:26px 16px}footer span{color:#7b8a80}.total{color:var(--accent);letter-spacing:-.7px}.paymentcard{border:1px solid #dce6df;border-top:5px solid #176a58;box-shadow:0 4px 16px #23382a0a;border-radius:18px;padding:28px}.paymentcard .total{color:#176a58}.paymentcard .secondary{background:#f4f7f4;color:#31423a;border-color:#d9e4db}.qr-output canvas{max-width:100%}.auth{width:min(440px,calc(100% - 32px));margin:56px auto!important;padding:34px!important;box-shadow:0 12px 45px #26392d0b;min-height:auto}.auth h1{font-size:32px;margin:12px 0 8px}.auth .primary{width:100%;margin-top:8px}.auth .muted:last-child{margin:16px 0 0;text-align:center}.auth .eyebrow{color:#176a58}.media-thumb{background:#edf3ee;border-color:#dce6df}.eyebrow{font-size:10px;color:var(--accent);font-weight:720;letter-spacing:1.7px}.landing-page{padding-top:46px;padding-bottom:48px}.landing-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;min-height:470px;padding:48px 0 56px}.landing-copy h1{font-size:clamp(45px,6.5vw,79px);line-height:1.03;letter-spacing:-.065em;margin:20px 0 24px;font-weight:700}.landing-copy h1 em{font-style:normal;color:#176a58}.landing-copy>p{max-width:490px;color:#63746c;font-size:17px;margin-bottom:26px}.landing-copy .landing-note{font-size:12px;margin:18px 0 0}.landing-visual{position:relative;background:#e3ece3;border:1px solid #d8e4d9;border-radius:28px;padding:38px 28px 58px;overflow:hidden;min-width:0}.preview-window{background:#fff;border:1px solid #cbdacf;border-radius:15px;box-shadow:0 12px 38px #284f3a18;overflow:hidden}.preview-top{background:#f8faf8;border-bottom:1px solid #e2e9e3;padding:12px 16px;display:flex;justify-content:space-between;color:#708078;font-size:11px;gap:8px}.preview-dots{color:#b5c7ba;font-size:10px;letter-spacing:2px}.preview-content{padding:24px}.preview-content h2{font-size:23px;margin:8px 0 16px}.preview-stats{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin-bottom:18px}.preview-stats>div{background:#f2f6f2;padding:14px 12px;border-radius:10px;border:1px solid #e4ebe4;min-width:0}.preview-stats strong{display:block;font-size:clamp(16px,2vw,24px);font-weight:670;letter-spacing:-.5px}.preview-order{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #edf0ed;font-size:12px}.preview-order>div{flex:1;min-width:0}.preview-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#e9f0e9;color:#5c7666;font-size:10px;flex-shrink:0}.preview-caption{font-size:10px;padding-top:12px}.preview-tag{position:absolute;bottom:15px;right:18px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dce6dc;box-shadow:0 6px 18px #284f3a14;border-radius:12px;padding:12px 17px;font-size:12px}.preview-check{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e4f2e8;color:#176a58;font-weight:bold}.section-intro{margin:0 0 22px}.section-intro h2{font-size:32px;margin:6px 0}.feature{padding:25px;min-height:190px}.feature-number{font-size:12px;font-weight:650;color:#176a58;background:#edf4ed;display:inline-grid;place-items:center;border-radius:10px;width:42px;height:42px;margin-bottom:20px}.feature h2{font-size:19px}.feature p{margin:0}.landing-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;background:#e5efe6;border:1px solid #d5e3d7;border-radius:18px;padding:28px 32px}.landing-cta h2{font-size:24px;margin:0 0 5px}.landing-cta p{color:#63746c;margin:0}
/* Storefront theme is local: don't override a merchant's selected colors. */
.storefront{border-radius:0}.storefront .store-hero{border-radius:18px;border-top:0;background:var(--panel)}.store-hero-content{padding:32px}.storefront .store-logo{width:78px;height:78px;border-radius:14px;border:1px solid var(--border)}.storefront .product{border-top:1px solid var(--border);overflow:hidden;border-radius:15px}.storefront .product-image{border-radius:10px;margin-bottom:18px}.storefront .product-body{display:flex;flex-direction:column}.storefront .product-body form{margin-top:auto}.storefront .product-body h2{font-size:19px;margin-bottom:8px}.storefront .product-body .primary{width:100%}.storefront .product-icon{background:#edf3ee;color:#4c6b56;border:0}.storefront .eyebrow{color:var(--muted)}.storefront.theme-light{--bg:#f5f7f5;--panel:#fff;--border:#dfe6e2;--text:#202e2a;--muted:#63746c}.storefront.theme-dark{color-scheme:dark;--bg:#101a1b;--panel:#1b292b;--border:#354548;--text:#e6efec;--muted:#a2b4b1;--accent:#a4d9c4;color:var(--text);border-radius:18px;margin-top:24px;margin-bottom:24px}.theme-dark input{background:#132123;color:var(--text);border-color:#405556}.theme-dark label{color:#c1d0cd}.theme-dark .pill{background:#263a3b;color:#b9d2cb}.theme-dark .product-icon{background:#2b4141;color:#bed7cb}.theme-dark .notice{background:#253f3d;color:#c7e8dd;border-color:#45645b}.theme-dark .primary{border-color:var(--store-accent)}
@media(max-width:900px){.landing-hero{gap:24px;min-height:0}.landing-visual{padding:25px 18px 60px}.preview-content{padding:15px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shell aside{width:205px}}@media(max-width:760px){.top{padding:14px 16px}.brand{font-size:19px}.top nav{gap:6px}.top nav a,.top nav button{font-size:12px;padding:9px 12px;min-height:38px}.container{padding:24px 16px}.shell aside{width:auto;padding:9px 12px;border-right:0}.shell main{padding:20px 14px}.shell aside .nav{padding:9px 11px}.landing-hero{grid-template-columns:1fr;padding:20px 0 32px;gap:25px}.landing-copy h1{font-size:clamp(48px,10vw,68px)}.landing-copy>p{font-size:16px}.landing-visual{padding:22px 18px 59px}.landing-features .grid3{grid-template-columns:1fr;gap:10px}.feature{min-height:0;margin-bottom:4px}.landing-cta{padding:20px;align-items:flex-start;flex-direction:column}.panel{padding:17px}.store-hero-content{padding:22px}.auth{margin:30px auto!important;padding:25px!important}.section-intro h2{font-size:27px}}@media(max-width:450px){.metrics{gap:9px}.metric{padding:13px;min-height:96px}.metric strong{font-size:19px}.preview-order{gap:6px}.preview-order .status{font-size:9px;padding:4px 6px}.preview-avatar{width:25px;height:25px}.preview-stats strong{font-size:19px}.preview-tag{right:10px}.preview-content{padding:12px}.preview-stats>div{padding:10px 8px}.landing-copy .row{gap:8px}.landing-copy .primary,.landing-copy .secondary{font-size:13px}.storefront.theme-dark{margin:10px 0}.top .mark{width:36px;height:36px}.top nav .secondary,.top nav .primary{padding:8px 9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
