:root{--navy:#171e34;--yellow:#ffcc16;--muted:#636b7c;--line:#e8eaf0}
html{scroll-behavior:smooth}body{color:var(--navy)}a{color:#354e91}p{line-height:1.7}h1,h2,h3{letter-spacing:-.035em}h2{font-size:clamp(1.7rem,3vw,2.5rem);font-weight:800}h3{font-size:1.15rem;font-weight:800}
.navbar{padding:14px 0}.navbar .container{gap:16px}.ponas-brand{display:inline-flex;align-items:center;gap:0;white-space:nowrap;font-weight:800!important;letter-spacing:-.04em;text-decoration:none;color:var(--navy)}.brand-dot{color:#c29400}.brand-portrait{width:48px;height:48px;border-radius:50%;background:#fff2bd;overflow:hidden;margin-right:10px;display:inline-block;flex-shrink:0}.brand-portrait img{width:64px;height:96px;max-width:none;object-fit:contain;transform:translate(-8px,-1px)}
.btn{min-height:42px;display:inline-flex;justify-content:center;align-items:center;font-weight:700;padding:10px 18px}.btn-sm{min-height:38px;padding:8px 12px}.btn-warning{background:var(--yellow);border-color:var(--yellow);color:var(--navy)}.btn-warning:hover{background:#f0bc00;border-color:#f0bc00}.btn-outline-primary{--bs-btn-color:#354e91;--bs-btn-border-color:#c7cfe0;--bs-btn-hover-bg:#edf1fa;--bs-btn-hover-color:#17213a;--bs-btn-hover-border-color:#a4b2cf}.btn:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #385dac;outline-offset:4px;box-shadow:none}.form-control,.form-select{min-height:46px;border-color:#cdd3df;border-radius:12px}.form-label{font-size:.9rem;font-weight:700}.form-text{line-height:1.6;color:#646c7b}
.hero{padding:65px 0 45px;overflow:hidden}.hero h1{font-size:clamp(2.8rem,4.6vw,4.5rem)}.hero .lead{font-size:1.13rem;max-width:560px}.preview{position:relative;min-height:535px;align-items:center;justify-content:flex-end}.hero-mascot{position:absolute;left:-20px;bottom:-5px;width:340px;height:510px;object-fit:contain;z-index:2;pointer-events:none}.phone{width:275px;margin-right:-5px;padding:28px 16px;position:relative;z-index:1;border-width:7px;box-shadow:0 22px 55px #17244820}.phone .mini{font-size:.75rem}.demo-label{text-transform:uppercase;letter-spacing:.08em;color:#7a6a33;font-weight:800;font-size:.6rem;margin-bottom:14px}.phone .btn{font-size:.8rem}.section-intro{max-width:680px;margin-bottom:28px}.section-intro h2{margin-top:12px}.step-number{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;background:#fff0af;border-radius:14px;font-weight:800;margin-bottom:16px}.feature p{color:var(--muted);font-size:.94rem;margin:10px 0 0}.feature{box-shadow:none;background:#fff;border-color:var(--line);padding:28px 16px}.callout{background:linear-gradient(120deg,#fff7d5,#fff0b0);border:1px solid #f5e5a8}
.app-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.app-links form{margin:0}.app-link{padding:10px 14px;border-radius:12px;text-decoration:none;font-size:.9rem;color:#535d73;font-weight:700;white-space:nowrap}.app-link:hover{background:#f4f5f9}.app-link.is-active{color:#322b11;background:#fff1b7}.assistant-banner{display:flex;gap:20px;align-items:center;background:linear-gradient(110deg,#fff7da,#fffdf5);border:1px solid #f0e6bf;border-radius:24px;margin-bottom:28px;padding:12px 24px;overflow:hidden}.assistant-banner strong{font-size:1.12rem}.assistant-banner p{color:#626475;font-size:.9rem;margin:5px 0 0;max-width:720px}.assistant-portrait{width:90px;height:100px;overflow:hidden;flex-shrink:0}.assistant-portrait img{width:100px;height:150px;object-fit:contain}.panel,.reminder{border:1px solid var(--line);box-shadow:0 6px 24px #1b285006}.reminder{overflow-wrap:anywhere}.reminder.done{opacity:.75}.auth-wrap{margin:48px auto}.auth-wrap .panel{position:relative;padding:32px}.auth-wrap h1{font-size:1.8rem}.auth-mascot{height:115px;width:100px;overflow:hidden;margin:0 auto 24px}.auth-mascot img{width:100px;height:150px;object-fit:contain}.auth-wrap .navbar-brand{justify-content:center}.modal-title{font-size:1.15rem}.modal-header,.modal-footer{padding:18px 22px}.modal-body{padding:22px}.text-secondary{color:#626c7d!important}.expense-entry{overflow-wrap:anywhere}
@media(min-width:992px){.hero .row{--bs-gutter-x:2rem}}
@media(max-width:991px){.preview{max-width:540px;margin:auto;min-height:500px;justify-content:flex-end}.hero-mascot{left:0}.hero h1{max-width:640px}.hero{padding-top:45px}.app-links{gap:4px}.app-link{padding:10px}.navbar .container{justify-content:center}.hero .row{--bs-gutter-y:1.5rem}}
@media(max-width:575px){.navbar{padding:10px 0}.navbar>.container>.ms-auto{width:100%;justify-content:center;margin-left:0!important}.navbar .btn{font-size:.8rem;padding:9px 12px}.ponas-brand{font-size:1.35rem}.hero{padding:34px 0 20px}.hero h1{font-size:2.75rem}.hero .lead{font-size:1rem}.hero .btn-lg{width:100%;font-size:.95rem}.preview{min-height:420px;margin-top:12px}.hero-mascot{width:245px;height:368px;left:-28px;bottom:0}.phone{width:215px;min-width:0;padding:24px 10px;margin-right:2px;border-radius:30px;transform:rotate(3deg)}.phone .mini{font-size:.65rem;padding:12px 7px}.phone .fs-5{font-size:1rem!important}.phone .btn{font-size:.65rem;padding:8px}.phone .small{font-size:.72rem}.mini small{margin-left:10px}.assistant-banner{gap:10px;padding:10px 14px}.assistant-portrait{width:62px;height:94px}.assistant-portrait img{width:80px;height:120px;max-width:none;transform:translateX(-7px)}.assistant-banner strong{font-size:1rem}.assistant-banner p{font-size:.8rem}.app-links{width:100%;justify-content:center;gap:3px}.app-link{font-size:.8rem;padding:9px}.app-links .btn{font-size:.75rem}.container.py-5{padding-top:28px!important;padding-bottom:28px!important}.auth-wrap{margin:28px auto}.auth-wrap .panel{padding:24px}.ponas-count{font-size:0!important}.ponas-count:after{content:'•';font-size:1.1rem}.ponas-day{min-height:58px!important;padding:7px 2px!important}.expense-entry{gap:10px}.display-5{font-size:2.2rem}.callout{padding:32px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

@media(max-width:575px){.hero-mascot{left:-4px;width:220px;height:330px}}

/* A form nested inside modal-content must share its constrained flex height. */
.modal-dialog-scrollable .modal-content > form{display:flex;flex-direction:column;min-height:0;max-height:100%;overflow:hidden}
.modal-dialog-scrollable .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.modal-header,.modal-footer{flex-shrink:0}
.modal-dialog-scrollable{height:calc(100dvh - var(--bs-modal-margin) * 2)}
