/* PayPrint – soft (neumorphic) theme. Works from 320px phones to wide desktops. */
:root{
  --bg:#e4e8ee; --ink:#2d3648; --muted:#4a5468; --faint:#555f72;
  --accent:#1a8a7d; --accent-dark:#12665d; --warn:#c27a12; --warn-ink:#8a5409; --bad:#b3261e; --bad-ink:#9b2019;
  --shadow-dark:#c2c8d2; --shadow-light:#ffffff;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Manrope',system-ui,sans-serif;line-height:1.45}
a{color:var(--ink)} a:hover{color:var(--accent-dark)}
img,svg{max-width:100%}
h1,h2,h3{line-height:1.15}
.wrap{max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}
.page{min-height:100vh;padding-bottom:40px}

.up{background:var(--bg);border-radius:22px;box-shadow:8px 8px 18px var(--shadow-dark),-8px -8px 18px var(--shadow-light)}
.down{background:var(--bg);border-radius:16px;box-shadow:inset 5px 5px 10px var(--shadow-dark),inset -5px -5px 10px var(--shadow-light)}
.pad{padding:clamp(18px,3vw,28px)}
.stack{display:flex;flex-direction:column;gap:clamp(14px,2vw,20px)}
.row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.wraprow{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.split{display:flex;flex-wrap:wrap;gap:clamp(16px,2.4vw,28px);align-items:flex-start}
.split > .main{flex:1 1 520px;min-width:0}
.split > .side{flex:1 1 300px;min-width:0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:clamp(16px,2.4vw,28px)}

.btn{font-family:inherit;font-weight:700;font-size:16px;min-height:50px;padding:0 24px;border:0;border-radius:16px;cursor:pointer;color:var(--ink);background:var(--bg);box-shadow:5px 5px 12px var(--shadow-dark),-5px -5px 12px var(--shadow-light);display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;text-align:center}
.btn:active{box-shadow:inset 4px 4px 9px var(--shadow-dark),inset -4px -4px 9px var(--shadow-light)}
.btn:focus-visible,.seg:focus-visible,.meth:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.btn.big{min-height:58px;font-size:18px}
.btn.block{width:100%}
.acc{color:#fff;background:linear-gradient(145deg,var(--accent),var(--accent-dark));box-shadow:5px 5px 12px #b6c3c9,-5px -5px 12px #fff}
.acc:hover{color:#fff}
.btn[disabled],.btn.off{color:#5d6676;background:var(--bg);box-shadow:inset 3px 3px 7px var(--shadow-dark),inset -3px -3px 7px var(--shadow-light);cursor:not-allowed}
.sq{width:46px;padding:0;font-size:20px}

.mono{font-family:'JetBrains Mono',ui-monospace,monospace}
.cap{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--faint);text-transform:uppercase}
.muted{color:var(--muted)}
.small{font-size:14px}
.teal{color:var(--accent-dark)}
.dot{width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px var(--accent);flex:none;display:inline-block}
.dot.warn{background:var(--warn);box-shadow:0 0 8px var(--warn)}
.dot.bad{background:var(--bad);box-shadow:0 0 8px var(--bad)}
.num{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-family:'JetBrains Mono',monospace;font-weight:700;color:var(--accent-dark);flex:none}

/* Header */
.topnav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 18px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;text-decoration:none}
.brand .logo{width:38px;height:38px;border-radius:12px;display:grid;place-items:center}
.navlinks{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.nl{font-weight:600;font-size:15px;text-decoration:none;padding:0 14px;min-height:44px;display:inline-flex;align-items:center;border-radius:14px}
.on{box-shadow:inset 4px 4px 9px var(--shadow-dark),inset -4px -4px 9px var(--shadow-light);color:var(--accent-dark)}
.tabbar{display:none}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;border-radius:14px;text-decoration:none;font-size:11px;font-weight:700;color:var(--muted)}

/* Steps */
.steps{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.st{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;font-weight:700;font-size:14px;color:var(--muted)}
.stn{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-family:'JetBrains Mono',monospace;font-size:12px}
.stn.done,.st.cur .stn{background:var(--accent);color:#fff}

/* Controls */
.segs{display:flex;padding:5px;gap:5px}
.seg{flex:1;min-height:46px;border:0;border-radius:12px;font-family:inherit;font-weight:700;font-size:15px;cursor:pointer;background:transparent;color:var(--muted)}
.seg[aria-pressed="true"]{background:var(--bg);color:var(--accent-dark);box-shadow:4px 4px 9px var(--shadow-dark),-4px -4px 9px var(--shadow-light)}
.stepper{display:flex;align-items:center;gap:10px}
.stepper output{width:56px;text-align:center;padding:10px 0;font-size:20px;font-weight:700}
.meth{display:flex;align-items:center;gap:14px;width:100%;min-height:58px;padding:0 18px;border:0;border-radius:16px;background:var(--bg);box-shadow:5px 5px 12px var(--shadow-dark),-5px -5px 12px var(--shadow-light);font-family:inherit;font-size:16px;font-weight:700;color:var(--ink);cursor:pointer;text-align:left}
.drop{position:relative;padding:clamp(28px,5vw,48px) 20px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;cursor:pointer;border-radius:24px}
.drop.drag{box-shadow:inset 0 0 0 3px var(--accent),inset 5px 5px 10px var(--shadow-dark)}
.drop input{position:absolute;width:1px;height:1px;opacity:0}
.bar{height:14px;border-radius:999px;padding:3px}
.bar > span{display:block;height:100%;border-radius:999px;background:var(--accent);width:0;transition:width .3s}
.alert{padding:12px 16px;border-radius:14px;background:#fbe9e7;color:var(--bad-ink);font-weight:600;font-size:15px}
.hidden{display:none !important}
.mrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;border-top:1px solid #d3d8df}
details.up{padding:4px 20px}
summary{cursor:pointer;font-weight:700;font-size:16px;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
summary::-webkit-details-marker{display:none}
.code{font-size:clamp(56px,11vw,104px);font-weight:700;letter-spacing:.22em;padding:clamp(14px,3vw,24px) 0 clamp(14px,3vw,24px) .22em;color:var(--accent-dark);line-height:1;text-align:center}
@keyframes spin{to{transform:rotate(360deg)}}
.spin{width:44px;height:44px;border-radius:50%;border:4px solid #d3d8df;border-top-color:var(--accent);animation:spin .9s linear infinite}
.offer{border-radius:22px;padding:20px;color:#fff;background:linear-gradient(145deg,var(--accent),var(--accent-dark));box-shadow:6px 6px 14px #b6c3c9,-6px -6px 14px #fff}

@media (max-width:760px){
  .navlinks{display:none}
  .tabbar{display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:5;padding:6px;gap:4px;border-radius:20px;background:var(--bg);box-shadow:6px 6px 16px #b9c0ca,-4px -4px 12px #fff}
  .page{padding-bottom:110px}
  .up{border-radius:20px;box-shadow:6px 6px 14px var(--shadow-dark),-6px -6px 14px var(--shadow-light)}
  .st .lbl{display:none}
  .st.cur .lbl{display:inline}
  .paybar{position:fixed;left:0;right:0;bottom:0;z-index:6;padding:12px 16px 16px;background:var(--bg);box-shadow:0 -6px 16px rgba(160,170,185,.35)}
  .has-paybar .tabbar{display:none}
}
@media (max-width:420px){.ctatext{display:none}}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important}}
