@font-face{font-family:Quicksand;src:url('/quicksand.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:Poppins;src:url('/poppins-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Poppins;src:url('/poppins-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--brand:hsl(22 96% 48.4%);--brand-dark:#9c3500;--brand-button:#b54000;--accent:#ffbf00;--ink:#282324;--muted:#554b49;--border:#e4dcd7;--paper:#fff;--canvas:#faf7f4;--shadow:0 12px 30px rgba(62,34,21,.055)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--canvas);color:var(--ink);font:600 16px/1.55 Quicksand,system-ui,sans-serif}
button,input,textarea{font:inherit}
h1,h2,h3{font-family:Poppins,system-ui,sans-serif;line-height:1.2;margin:0;color:var(--ink)}
h1{font-size:clamp(2.05rem,6vw,3.25rem);letter-spacing:-.048em}
h2{font-size:clamp(1.2rem,3vw,1.55rem);letter-spacing:-.028em}
h3{font-size:1.05rem}
p{margin:.65rem 0 1rem;color:var(--muted)}
a{color:var(--brand-dark);text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid #175d8e;outline-offset:3px}
button:focus:not(:focus-visible),h2:focus:not(:focus-visible),main:focus:not(:focus-visible){outline:none}
.shell{width:min(100% - 2rem,1050px);margin-inline:auto}
.site-header{background:#fff;border-bottom:1px solid var(--border)}
.header-inner,.header-right{display:flex;gap:.8rem;align-items:center;justify-content:space-between}
.header-inner{min-height:76px}
.header-inner img{object-fit:contain;width:min(184px,48vw);height:auto}
.header-label{font-size:.93rem;color:var(--muted)}
.sandbox{text-align:center;color:#332600;background:#fff0b6;padding:.5rem 1rem;font-weight:700;border-bottom:1px solid #ecce6f}
.skip{position:absolute;left:.6rem;top:0;transform:translateY(-140%);background:#fff;padding:.35rem .6rem;z-index:3}
.skip:focus{transform:none}
.hero{padding:clamp(1.4rem,4.7vw,3.25rem) 0 1.2rem}
.hero p:last-child{max-width:620px;font-size:clamp(1rem,2.8vw,1.18rem);margin:.75rem 0 0}
.eyebrow,.step{font-size:.75rem;letter-spacing:.1em;font-weight:700;color:var(--brand-dark);margin:0 0 .55rem}
.eyebrow span{display:inline-block;width:.55rem;height:.55rem;margin-right:.35rem;border-radius:50%;background:var(--brand);box-shadow:0 0 0 3px #ffe6d6}
.layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:1.25rem;align-items:start}
.card,.info-card,.help-card{padding:clamp(1.15rem,4vw,2rem);border-radius:1rem;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow)}
.flow{border-top:4px solid var(--brand)}
.aside{display:grid;gap:1rem}
.info-card{background:#fff6ed;border-color:#efd9c9}
.info-card h2,.help-card h2{font-size:1.06rem}
.aside p:last-child{margin-bottom:0}
.info-icon{color:var(--brand-dark);margin-bottom:.45rem}
.help-card{box-shadow:none}
label{display:block;font-weight:700;margin-bottom:.36rem}
input,textarea{display:block;width:100%;box-shadow:none;border:1px solid #897971;border-radius:.55rem;background:#fff;padding:.65rem .8rem;color:var(--ink);min-height:46px;margin:0 0 .85rem}
input::placeholder{color:#6f625d}
input[aria-invalid=true]{border-color:#a52a25}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:44px;border:1px solid transparent;border-radius:.55rem;padding:.55rem .86rem;font-weight:700;cursor:pointer;text-decoration:none;line-height:1.25}
.button:disabled{cursor:wait;opacity:.6}
.primary{background:var(--brand-button);color:#fff}
.primary:hover:not(:disabled){background:#923200;color:#fff}
.outline{color:var(--brand-dark);border-color:#bb6441;background:#fff}
.outline:hover:not(:disabled),.text-button:hover:not(:disabled){background:#fff3e9}
.text-button{color:var(--brand-dark);background:transparent;text-decoration:underline;text-underline-offset:4px;padding-inline:.25rem}
.secondary-actions,.payment-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.55rem}
.alert,.note{margin:.3rem 0 .85rem;padding:.58rem .7rem;border-radius:.55rem;font-size:.92rem}
.alert{color:#7e211d;background:#fff0ec;border:1px solid #f3c9c2}
.note{color:#3d3531;background:#f4efeb}
.note:empty{display:none}
.payments{padding:0;list-style:none;display:grid;gap:.7rem}
.payments:empty{display:none}
.payment{padding:.8rem;border:1px solid var(--border);border-radius:.65rem}
.payment-info{display:flex;gap:.65rem;justify-content:space-between;flex-wrap:wrap;align-items:end}
.payment-date{color:var(--muted);display:block;margin-top:.18rem;font-size:.9rem}
.badge{border-radius:999px;padding:.16rem .58rem;font-size:.83rem;font-weight:700;color:#3d4408;background:#edf0d7}
.badge.overdue{color:#8d241b;background:#fdebe7}
.footer{display:flex;gap:.5rem 1.3rem;flex-wrap:wrap;justify-content:space-between;border-top:1px solid var(--border);margin-top:1.8rem;padding:1rem 0 1.1rem;font-size:.87rem}
.footer p{margin:0}
dialog{max-width:min(95vw,510px);width:100%;border:1px solid var(--border);border-radius:1rem;padding:1.25rem;color:var(--ink);box-shadow:0 14px 46px #2c160e45}
dialog::backdrop{background:#25180f82}
.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.45rem;margin-bottom:.85rem}
.dialog-head h2{margin:.1rem 0}
.qr{display:block;max-width:100%;height:auto;margin:.65rem auto 1rem;object-fit:contain}
@media(max-width:720px){.layout{grid-template-columns:1fr}.hero{padding-top:1.6rem}.footer{margin-top:1.3rem}}
@media(max-width:435px){.header-label{display:none}.header-inner{min-height:62px}.payment-actions>*{flex:1 1 135px}form .primary{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
