@font-face { font-family: Bricolage; src: url('/assets/fonts/bricolage-latin.woff2') format('woff2'); font-display: swap; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f7f4fa; color: #261e30; font-family: Bricolage, sans-serif; }
header { display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(20px, 6vw, 80px); border-bottom: 1px solid #ddd5e6; }
a { color: #592e91; }
.brand { font-weight: 800; font-size: 20px; text-decoration: none; color: #261e30; }
.brand span { color: #785b9b; font-weight: 500; }
main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(32px, 8vw, 120px); align-items: center; max-width: 1200px; margin: 0 auto; padding: clamp(48px, 9vw, 120px) 24px; }
.marker { color: #785b9b; font-weight: 700; }
h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.04; letter-spacing: -.045em; margin: 16px 0 24px; }
.intro > p:not(.marker) { max-width: 440px; line-height: 1.6; font-size: 18px; }
.intro .note { border-left: 3px solid #ac86d1; padding-left: 16px; font-size: 15px !important; color: #5f536b; }
.sheet { background: #fff; border: 1px solid #d9cde4; border-top: 5px solid #7850a7; padding: clamp(24px, 4vw, 36px); box-shadow: 0 14px 36px #32214512; }
h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: -.025em; }
p { line-height: 1.55; }
label { display: block; margin: 20px 0 8px; font-weight: 700; }
input { width: 100%; font: inherit; color: inherit; padding: 12px; border: 1px solid #cfc3da; border-radius: 5px; }
input[type=file] { padding: 18px 12px; background: #f7f4fa; }
button { margin-top: 16px; padding: 12px 18px; border: 0; border-radius: 5px; background: #58308a; color: white; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #a86bdd; outline-offset: 3px; }
.small { font-size: 13px; color: #665d6c; }
.message { color: #633190; font-weight: 600; overflow-wrap: anywhere; }
#result { border-top: 1px solid #e6dfea; margin-top: 24px; }
@media (max-width: 760px) { main { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; } h1 { font-size: 44px; } }

/* The pay button: PayPal draws the button itself, so this only gives it room
   and a quiet line of state under it. */
#paypal-block { margin-top: 18px; }
#paypal-buttons { min-height: 48px; }
#paypal-state { margin-top: 10px; min-height: 1em; }
#paypal-state:empty { display: none; }
/* The pass when there is no automatic checkout: Ko-fi takes the money and the
   owner switches sending on by hand, so the card says exactly that and asks for
   the account address in the Ko-fi note. Ko-fi's own blue, dark ink on top,
   because white on it is barely readable. */
#pass { margin-top: 18px; padding: 16px; border: 1px solid #d9cde4; border-radius: 6px; background: #fbf9fd; }
.pass-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; font-weight: 700; }
.pass-price strong { font-size: 24px; letter-spacing: -.02em; }
.pass-buy { display: block; text-align: center; background: #72a4f2; color: #10233a; font-weight: 800; padding: 13px 16px; border-radius: 5px; text-decoration: none; }
#pass .small { margin: 12px 0 0; }
.pass-check { margin-top: 14px; background: #fff; color: #4b2a75; border: 1px solid #b7a3cd; }
#pass-state:empty { display: none; }
