@font-face{font-family:Inter;src:url(/assets/studio/inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{color-scheme:light;--bg:#fff;--soft:#f6f7fb;--ink:#151b30;--muted:#53617a;--line:#dee2ec;--primary:#5146ce;--tint:#eeecff;--navy:#0b1020;--green:#106c50;--radius:16px;--gap:24px;--shadow:0 14px 44px #1513310c;font:16px/1.6 Inter,system-ui,sans-serif}
:root[data-mode=dark]{color-scheme:dark;--bg:#141a2c;--soft:#101525;--ink:#f4f5ff;--muted:#b6c0d8;--line:#323b52;--primary:#b0a8ff;--tint:#2a2649;--green:#65dfae}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,summary{cursor:pointer}button{color:inherit}button:disabled{cursor:default}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #826dfd;outline-offset:3px}html{scroll-padding-top:95px}.skip{position:fixed;top:-80px;z-index:99;background:white;padding:12px}.skip:focus{top:0}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.row,.actions,.brand,nav,.navend,.tag,.tabs,.rail{display:flex;align-items:center;gap:14px}.between{justify-content:space-between}.actions,.tabs,.rail{flex-wrap:wrap}.brand{gap:9px;color:inherit;font-weight:780;letter-spacing:-1.5px;font-size:26px}.brand img{width:34px}.brand:hover,.btn:hover{text-decoration:none}.mast{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}.mast>.wrap{min-height:72px;gap:16px}.mast nav{gap:19px}.mast nav a,.mast summary,.navend{font-size:13px;font-weight:600;color:var(--ink)}summary{list-style:none}summary::-webkit-details-marker{display:none}.mast summary:after{content:'⌄';margin-left:5px}.mast details{position:relative}.dropdown{position:absolute;top:34px;left:-16px;min-width:165px;padding:8px;background:var(--bg);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.dropdown a{display:block;padding:8px 12px}.btn,.mode,.burger,.tabs button,.pill{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:9px;font-weight:650;font-size:14px;padding:11px 17px;line-height:1.4}.btn.primary,.tabs button[aria-pressed=true]{background:#5345d5;border-color:#5345d5;color:white}.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.mode,.burger{padding:9px}.burger{display:none}.icon{width:21px;height:21px;flex:none;vertical-align:middle}.hero,.dark,footer,.cta{background:var(--navy);color:#fff}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 78% 72%,#322b6a 0,transparent 49%),linear-gradient(115deg,#0b1020 25%,#181b37)}.hero:after{content:'';position:absolute;inset:0 0 0 47%;pointer-events:none;background-image:linear-gradient(#b5b0ff0b 1px,transparent 1px),linear-gradient(90deg,#b5b0ff0b 1px,transparent 1px);background-size:40px 40px}.hero>.wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.18fr 1fr;align-items:center;gap:50px;padding-block:76px 86px}.tag,.eyebrow,.mono,code,pre{font-family:'JetBrains Mono',ui-monospace,monospace}.tag,.eyebrow{font-size:11px;font-weight:650;letter-spacing:.12em;text-transform:uppercase}.tag{display:inline-flex;color:#dedaff;background:#aea4ff12;border:1px solid #bcb6ff40;border-radius:24px;padding:6px 12px;gap:8px}.dot{width:7px;height:7px;border-radius:50%;background:#65e5b6;box-shadow:0 0 9px #69f9bf54}.eyebrow{color:var(--primary);margin:0 0 12px}.hero h1{font-size:clamp(41px,4.6vw,69px);line-height:1.045;letter-spacing:-.061em;margin:22px 0}.hero h1 span{display:block;color:#afa6ff}.hero p,.dark p,.cta p,footer p{color:#c5c9dc}.hero p{max-width:510px;font-size:17px;margin:0 0 28px}.hero .primary,.cta .primary{background:#7060ee;border-color:#7060ee}.hero .ghost,.cta .ghost,.dark .ghost{background:#ffffff08;color:white;border-color:#ffffff38}.hero small{display:flex;align-items:center;gap:8px;color:#b9bed4;margin-top:20px;font-size:12px}.mockstage{position:relative;display:grid;place-items:center;min-height:400px;isolation:isolate}.orbit{position:absolute;inset:3% 0;transform:rotate(-22deg);border:1px solid #a599ff40;border-radius:50%;z-index:-1}.orbit:before,.orbit:after{content:'';position:absolute;inset:24px -20px;border:1px solid #a599ff28;border-radius:50%;transform:rotate(45deg)}.orbit:after{inset:45px -30px;transform:rotate(-20deg)}.ticket{width:min(295px,92%);background:#fff;color:#171d32;border-radius:19px;overflow:hidden;box-shadow:0 22px 70px #0004;transform:rotate(-3deg)}.tickethead{padding:15px 20px;background:#f4f3ff;border-bottom:1px solid #e4e2f5;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700}.tickethead img{width:21px}.ticketbody{text-align:center;padding:18px 22px}.ticketbody label,.ticketbody small{display:block;color:#58647b;margin:0;font-size:12px}.amount{font-size:38px;letter-spacing:-2px;font-weight:750;line-height:1.3}.qr{width:121px;height:121px;background:white;border:1px solid #e2e4ee;border-radius:10px;padding:10px;display:block;margin:14px auto}.ticketfoot{border-top:1px dashed #cfd3e0;text-align:center;font:10px/1.6 ui-monospace,monospace;letter-spacing:.1em;padding:12px;color:#5a6681}.receipt{position:absolute;bottom:2%;right:1%;background:#e8fff4;border:1px solid #adf2d0;color:#11563e;padding:12px 20px;border-radius:12px;box-shadow:0 10px 35px #0002;display:flex;gap:11px;align-items:center;animation:enter .6s ease-out}.receipt small{margin:0;color:#3b6656;display:block}.receipt .icbox{background:#b3f1d1;color:#165d40}.engstrip{background:var(--soft);border-bottom:1px solid var(--line)}.engstrip .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:83px;flex-wrap:wrap}.engstrip b{font-size:22px;letter-spacing:-1px}.engstrip small{color:var(--muted);font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);padding:38px 0;border-bottom:1px solid var(--line)}.stats div{padding-left:24px;border-left:1px solid var(--line)}.stats div:first-child{padding-left:0;border:0}.stats b{display:block;letter-spacing:-1.5px;font-size:30px}.stats small,.muted,p{color:var(--muted)}.section{padding:66px 0}.soft{background:var(--soft)}h1,h2,h3{line-height:1.16;letter-spacing:-.045em;text-wrap:balance}h1{font-size:clamp(40px,5vw,67px)}h2{font-size:clamp(30px,3vw,44px);margin:0 0 15px}h3{font-size:22px;margin:16px 0 8px}p{margin:0 0 17px}.intro{background:radial-gradient(ellipse at 92% 0%,var(--tint),transparent 60%),var(--soft);border-bottom:1px solid var(--line);padding:59px 0}.intro h1{margin:10px 0 16px}.intro p,.lede{font-size:18px;max-width:750px}.grid{display:grid;gap:18px;margin-top:25px;grid-template-columns:repeat(auto-fit,minmax(min(235px,100%),1fr))}.grid.three{grid-template-columns:repeat(3,1fr)}.card,.panel,.art{position:relative;background:var(--bg);border-radius:var(--radius);border:1px solid var(--line);padding:26px;box-shadow:var(--shadow);min-width:0}.card p:last-child{margin-bottom:0}.card:has(a):hover{border-color:var(--primary)}.icbox{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--tint);color:var(--primary)}.cardlink{display:inline-block;font-size:14px;font-weight:650;margin-top:8px}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px}.split+.split{margin-top:45px}.art{background:linear-gradient(130deg,var(--tint),var(--soft));padding:32px}.art .panel{margin-top:16px}.dark .panel,.codebox{background:#11182a;color:#eef0ff;border:1px solid #333a54;border-radius:14px;overflow:hidden;min-width:0}.codebar{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:#1c2439;color:#cfcee3;gap:10px;font:12px ui-monospace,monospace}.codebar button{border:1px solid #566079;background:transparent;color:white;border-radius:6px;padding:4px 10px}.tabs{gap:6px;margin:16px 0}.tabs button{font-size:12px;padding:7px 11px}.dark .eyebrow{color:#b7acff}pre{font-size:12px;line-height:1.8;overflow:auto;padding:18px;margin:0;color:#d6dcff;white-space:pre}.scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}td,th{padding:13px 10px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted)}.good,.statuspill{color:var(--green);font-weight:650}.price{font-size:35px;letter-spacing:-2px;font-weight:750}.popular{border:2px solid var(--primary)}.badge{color:var(--primary);background:var(--tint);border-radius:12px;padding:4px 9px;font-size:11px;font-weight:700}.card ul{padding-left:20px;min-height:94px;color:var(--muted)}.faqlist{max-width:880px;margin:24px 0}.faqlist details{border-bottom:1px solid var(--line);padding:17px 0}.faqlist summary{font-weight:650;display:flex;justify-content:space-between;gap:12px}.faqlist summary:after{content:'+';color:var(--primary)}.faqlist details[open] summary:after{content:'−'}.faqlist p{margin:12px 28px 0 0}.cta{padding:40px;border-radius:18px;background:linear-gradient(110deg,#171d37,#363067)}.cta h2{margin-bottom:8px}.cta p{margin-bottom:0}footer{padding:52px 0 24px}footer .grid{grid-template-columns:repeat(4,1fr)}footer a{display:block;color:#c6cce1;font-size:14px;margin:7px 0}footer .brand{display:flex;color:white;font-size:26px}footer h3{font-size:15px;letter-spacing:0}footer hr{border:0;border-top:1px solid #303749;margin:33px 0 16px}footer small{color:#b5bdd3}.docs{display:grid;grid-template-columns:165px minmax(0,1fr) minmax(235px,.72fr);gap:30px;align-items:start}.toc{position:sticky;top:95px;display:grid;gap:7px}.toc a{font-size:14px}.docs section,.reading section{padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:26px}.docs h2,.reading h2{font-size:27px}.docs aside:last-child{position:sticky;top:95px}.reading{display:grid;grid-template-columns:190px minmax(0,720px);gap:50px}.field{display:grid;gap:6px;margin-bottom:15px;font-weight:600}.field input,.field select,.field textarea,.search{width:100%;padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink)}.search{max-width:430px;margin:15px 0}.notice{border-left:3px solid var(--primary);background:var(--tint);color:var(--ink);padding:14px 18px;margin:12px 0 22px}.chart{width:100%;height:100px;display:block}.demo-pay{border-top:5px solid var(--theme,#6051dd);text-align:center}.demo-pay .actions{justify-content:center}.demo-pay .qr{width:150px;height:150px}.demo-pay .amount{color:var(--theme,#5146ce)}[hidden]{display:none!important}.postart{height:94px;border-radius:10px;background:repeating-linear-gradient(140deg,transparent 0 11px,#ffffff22 12px 13px),linear-gradient(110deg,#3d3679,#7168cf);display:grid;place-items:center;color:white}.postart .icon{width:34px;height:34px}.postart.mint{background-color:#21594b;background-image:repeating-radial-gradient(circle at 90% 100%,transparent 0 12px,#ffffff25 13px 14px)}.postart.blue{background-color:#344772;background-image:repeating-linear-gradient(45deg,transparent 0 10px,#ffffff25 11px 12px)}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1050px){.burger{display:inline-flex}.mast nav{display:none;position:absolute;top:100%;left:0;right:0;padding:18px 5vw;background:var(--bg);border-bottom:1px solid var(--line);max-height:75vh;overflow:auto}.mast nav.open{display:grid}.mast nav .dropdown{position:static;box-shadow:none;border:0}.mast .navend{margin-left:auto}.docs{grid-template-columns:140px minmax(0,1fr)}.docs aside:last-child{position:static;grid-column:2}}
@media(max-width:740px){.wrap{width:calc(100% - 36px)}.mast>.wrap{min-height:62px}.navend{gap:6px}.navend .btn{padding:8px;font-size:12px}.brand{font-size:22px}.brand img{width:28px}.hero>.wrap,.split,.reading,.docs{grid-template-columns:1fr;gap:22px}.hero>.wrap{padding-block:42px}.mockstage{min-height:345px}.hero h1{font-size:clamp(39px,9vw,58px)}.engstrip .wrap{justify-content:center;padding:16px 0}.engstrip small{width:100%;text-align:center}.engstrip b{font-size:17px}.stats,.grid.three,footer .grid{grid-template-columns:1fr 1fr}.stats{gap:16px}.stats div:nth-child(3){border:0;padding-left:0}.stats b{font-size:24px}.section{padding:42px 0}.cta.row{display:block}.cta .actions{margin-top:18px}.toc,.docs aside:last-child{position:static;grid-column:auto}.toc{display:flex;flex-wrap:wrap}.split .art{order:2}.intro{padding:38px 0}.grid.three{grid-template-columns:1fr}.ticket{width:255px}.receipt{bottom:0}.section .between{flex-wrap:wrap}.navend .sign{display:none}.card,.panel{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.mobile-sign{display:none}@media(max-width:740px){.mobile-sign{display:block}}.hero .wrap>div:first-child{min-width:0}.codes{min-width:0}.codebox pre{max-width:100%}.postart+.eyebrow{margin-top:18px}.demo-pay{background:var(--demo-bg,var(--bg));color:var(--demo-text,var(--ink))}.demo-pay p,.demo-pay small{color:inherit}.demo-pay .amount{color:inherit}.demo-pay .qr{transition:border-color .2s}.demo-pay .btn{color:#182037;background:#fff;border-color:#ccd0df}.section small.muted{display:block;margin-top:12px}.zexipay-support-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.dashboard-shot{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 16px 45px #23204015;border:1px solid var(--line)}.tickethead .icon,.hero small .icon,.hero .btn .icon{width:16px;height:16px}.receipt .icbox{border-radius:50%}.receipt small{margin:0}.price+.interval{white-space:nowrap}.card .eyebrow{font-size:10px}.art .mono{overflow-wrap:anywhere}.docs .scroll{max-width:100%}.docs>div,.reading article,.split>div{min-width:0}.docs pre{white-space:pre-wrap;overflow-wrap:anywhere}.rail{gap:12px}footer .row{flex-wrap:wrap}.ticketbody>.amount{margin-bottom:4px}.btn:hover,.mode:hover,.burger:hover{filter:brightness(.96)}
@media(prefers-reduced-motion:no-preference){.js-enter{animation:enter .4s ease-out}.btn,.card{transition:border-color .18s,box-shadow .18s,transform .18s}}

/* Public documentation and legal pages: prevent wide code/table content from cutting the shell. */
.docs,.docs>div,.docs aside,.docs article,.reading,.reading article{min-width:0}
.docs .codebox,.docs .codebox pre,.docs .param-table-wrapper{max-width:100%;min-width:0}
.docs .codebox pre{overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.docs .param-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:12px}
.docs .param-table-wrapper .param-table{min-width:560px;margin:0}
@media(max-width:740px){
  .mast>.wrap{width:calc(100% - 28px);min-height:64px;gap:8px}
  .mast .brand{min-width:0;flex:1 1 auto;white-space:nowrap}
  .mast .navend{flex:0 0 auto}
  .mast .navend .btn.primary{display:none}
  .mast .burger{width:42px;height:42px;padding:9px}
  .docs .codebar{flex-wrap:wrap;gap:8px;padding:10px 12px}
  .docs .codebar>span{overflow-wrap:anywhere}
  .docs .codebox pre{font-size:11px;line-height:1.65;padding:14px}
  .docs .docs-content{padding:28px 16px}
  .docs .docs-content h1{font-size:30px}
  .docs .docs-content h2{font-size:23px}
}
/* The docs page must become a single reading column before the header collapses. */
@media(max-width:1050px){
  .docs{grid-template-columns:minmax(0,1fr)!important;gap:24px}
  .docs>.toc{position:static;display:flex;gap:8px;overflow-x:auto;padding:0 0 8px;scrollbar-width:thin;white-space:nowrap}
  .docs>.toc a{flex:0 0 auto;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font-size:12px}
  .docs>aside:last-child{position:static;grid-column:auto;min-width:0}
  .docs>div,.docs>aside,.docs .codebox{width:100%;max-width:100%;min-width:0}
  .docs .codebox pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;overflow-x:hidden}
}
