@import url('/assets/css/hasil-brand.css?v=20260921-2');
:root{--orange:var(--hasil-brand);--ink:#191d24;--muted:#667085;--line:#e7e9ee}*{box-sizing:border-box}body{margin:0;background:#f7f8fa;color:var(--ink);line-height:1.7}a{color:var(--hasil-brand-deep)}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9650df;outline-offset:3px}[hidden]{display:none!important}.demo-header{max-width:960px;margin:auto;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.demo-header img{height:auto;max-height:65px;object-fit:contain}.demo-header span{font-size:12px;color:var(--muted)}.demo-shell{max-width:580px;margin:0 auto;padding:10px 20px 40px}.intro{text-align:center;margin-bottom:28px}.eyebrow{color:var(--hasil-brand-deep);font-weight:700}h1{font-size:30px;line-height:1.35;margin:12px 0}h2{font-size:23px;line-height:1.5;margin:15px 0}p{margin:12px 0;color:var(--muted)}.journey{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px}.progress-label{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}progress{width:100%;height:6px;accent-color:var(--orange)}label{display:block;font-weight:600;margin:14px 0 6px}input:not([type=checkbox]):not([type=hidden]){width:100%;min-height:54px;border:1px solid #c9cdd5;border-radius:13px;background:#fff;padding:12px;font-size:16px}.primary,.secondary,.wallet-button{display:block;width:100%;min-height:54px;border:0;border-radius:14px;padding:12px 18px;margin-top:16px;font-weight:700}.primary{background:var(--ink);color:#fff}.primary:hover{background:#323946}.secondary{background:#fff4e8;color:#9c4300}.wallet-button{background:#000;color:#fff}.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;font-weight:400}.check input{width:20px;height:20px;flex:none}.hint{font-size:12px;line-height:1.8;overflow-wrap:anywhere}small{font-weight:400}.message{border-radius:12px;padding:12px;background:#eaf8ef;color:#176239;font-size:13px}.message.error{background:#fff0f0;color:#a52c35}.good{color:#176239;font-size:13px}.celebration{color:var(--orange);font-size:42px;text-align:center;animation:pop .5s ease}.demo-shell footer{text-align:center;font-size:13px;margin:24px 0}@keyframes pop{from{transform:scale(.4)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:360px){.demo-shell{padding-inline:12px}.journey{padding:18px}h1{font-size:26px}}
/* A small, accessible journey: animation happens only when the step changes. */
textarea{font:inherit;display:block;width:100%;resize:vertical;min-height:132px;padding:14px;border:1px solid #c9cdd5;border-radius:14px;background:#fff;font-size:16px;color:var(--ink);line-height:1.8}textarea:focus-visible{outline:3px solid #9650df;outline-offset:3px}.composer-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-top:8px}.composer-meta span:last-child{white-space:nowrap}.step-track{list-style:none;padding:0;margin:20px -5px 22px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}.step-track li{display:flex;align-items:center;flex-direction:column;gap:7px;font-size:10px;text-align:center;color:var(--muted)}.step-dot{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--line);border-radius:50%;background:#f7f8fa;font-size:12px;font-weight:700;transition:background .3s,color .3s,box-shadow .3s}.step-track .current{color:var(--hasil-brand-deep);font-weight:700}.step-track .current .step-dot{color:#fff;background:var(--hasil-brand-deep);box-shadow:0 0 0 5px var(--hasil-brand-soft);border-color:var(--hasil-brand-deep)}.step-track .done .step-dot{background:#e8f6ed;color:#16613b;border-color:#c9e5d4}.step-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:19px;background:var(--hasil-brand-soft);font-size:30px;margin:8px 0 12px;color:var(--hasil-brand-deep)}.step-enter{animation:step-in .38s cubic-bezier(.2,.7,.2,1)}.stamp-pop{animation:stamp-in .45s ease-out}.gift-pop{animation:gift-in .65s ease-out}.step-enter h2:focus{outline:none}progress{appearance:none;-webkit-appearance:none;border:0;border-radius:10px;overflow:hidden;background:#eee}progress::-webkit-progress-bar{background:#eee;border-radius:10px}progress::-webkit-progress-value{background:var(--orange);transition:width .5s ease;border-radius:10px}progress::-moz-progress-bar{background:var(--orange);border-radius:10px}.primary:active,.secondary:active{transform:scale(.985)}@keyframes step-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes stamp-in{0%{opacity:0;transform:scale(1.5) rotate(-14deg)}65%{opacity:1;transform:scale(.92) rotate(3deg)}100%{transform:scale(1) rotate(0)}}@keyframes gift-in{0%{transform:scale(.65) rotate(-8deg)}45%{transform:scale(1.12) rotate(7deg)}100%{transform:scale(1) rotate(0)}}@media(prefers-reduced-motion:reduce){.step-enter,.stamp-pop,.gift-pop{animation:none}progress::-webkit-progress-value{transition:none}.primary:active,.secondary:active{transform:none}}
/* Compact mobile-first layout. Do not clip content on small screens or large text. */
#demo-intro h1{font-size:30px;font-weight:800;line-height:1.35;text-wrap:balance;margin:8px 0}#demo-intro>p{font-size:13px}#step-start #name-hint{margin:4px 0 8px}@media(max-width:360px){#demo-intro h1{font-size:26px}}
body{min-height:100svh}.demo-header{max-width:520px;padding:10px 16px}.demo-header img{width:76px;max-height:36px}.demo-header span{font-size:10px}.demo-shell{max-width:520px;width:100%;padding:4px 12px 12px}.intro{margin-bottom:12px}.intro .eyebrow{font-size:12px}.intro h1{font-size:23px;margin:5px 0}.intro p{font-size:12px;line-height:1.55;margin:5px 0}.intro p.hint{font-size:10px}.has-session .intro{display:none}.journey{padding:16px;border-radius:20px}.journey h2{font-size:20px;margin:8px 0}.journey p{font-size:13px;line-height:1.6;margin:8px 0}.journey p.hint{font-size:11px;line-height:1.5}.journey label{font-size:13px;margin:8px 0 4px}.journey input:not([type=checkbox]):not([type=hidden]){min-height:46px;padding:9px 12px}.primary,.secondary,.wallet-button{min-height:46px;padding:10px 14px;margin-top:10px}.secondary{font-size:13px}.step-track{margin:10px 0 14px;gap:2px}.step-track li{font-size:9px;gap:5px}.step-dot{width:25px;height:25px;font-size:11px}.step-icon{width:34px;height:34px;border-radius:11px;margin:0 0 6px}.step-icon svg{width:23px;height:23px}.journey textarea{min-height:86px;height:86px;max-height:140px;padding:9px 12px;line-height:1.5;resize:vertical}.journey .message{font-size:12px;padding:8px 10px;line-height:1.5}.composer-meta{font-size:10px;margin-top:5px;gap:8px}.demo-shell footer{margin:8px 0 0;font-size:11px}.demo-shell footer p{display:none}.has-session .journey{margin-top:4px}#wallet-status:empty{display:none}.keyboard-open .demo-header,.keyboard-open .intro,.keyboard-open .progress-label,.keyboard-open progress,.keyboard-open .step-track,.keyboard-open .step-icon,.keyboard-open .demo-shell footer{display:none}.keyboard-open .journey{padding:10px 14px;margin:0}.keyboard-open .journey .hint,.keyboard-open .journey>.message,.keyboard-open #step-notify>p{display:none}.keyboard-open .journey h2{font-size:17px;margin:3px 0}.keyboard-open .journey textarea{height:76px;min-height:76px}.keyboard-open .demo-shell{padding-top:6px}.keyboard-open .primary,.keyboard-open .secondary{margin-top:7px}.keyboard-open #wallet-status{display:none}@media(max-width:360px){.journey{padding:12px}.intro h1{font-size:21px}.step-track li{font-size:8px}.journey h2{font-size:18px}}@media(max-height:680px){.demo-header{padding-block:6px}.intro .hint{display:none}.journey{padding-block:12px}.step-track{margin-block:8px}.journey p.hint{font-size:10px}.step-icon{width:28px;height:28px}.step-icon svg{width:20px;height:20px}.has-session .journey{margin-top:0}}
