/* Standalone pages: thank-you and legal drafts. */
.legal-page .header { position: static; }
.legal-main { max-width: 860px; padding-block: 56px 96px; }
.legal-main h1 { font-size: clamp(30px, 5vw, 54px); overflow-wrap: break-word; hyphens: auto; white-space: normal; line-height: 1.1; letter-spacing: -.04em; color: var(--green); }
.legal-main h2 { font-size: 22px; margin-top: 40px; color: var(--green); }
.legal-main p, .legal-main li { font-size: 15px; line-height: 1.85; color: #4f6a3d; margin-top: 12px; }
.legal-main ul, .legal-main ol { padding-left: 22px; }
.legal-main a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal-lead { font-size: 17px !important; margin-top: 22px !important; }
.legal-draft { margin-top: 28px; padding: 16px 18px; border-radius: 9px; background: #fff3d6; color: #6b4a06 !important; border: 1px solid #e8cf8f; }
.legal-links { margin-top: 56px !important; font-size: 13px !important; }
.thanks-card { margin-top: 32px; padding: 26px; border: 1px solid #c5d8b0; border-radius: 12px; background: #eef4e3; }
.thanks-card[hidden] { display: none; }
.thanks-card h2 { margin-top: 0; }
.thanks-code { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.thanks-code code { font: 600 clamp(15px, 4.1vw, 24px)/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .02em; color: var(--deep); overflow-wrap: anywhere; user-select: all; }
.thanks-code .button { min-height: 44px; gap: 14px; }
.thanks-steps li .button { margin-right: 14px; }
.thanks-steps li .form-note { display: inline-block; margin-top: 8px; }
@media (max-width: 600px) { .legal-main { padding-block: 36px 72px; } .thanks-card { padding: 20px; } }
.legal-page .nav { min-height: 76px; display: flex; align-items: center; }
.legal-page .brand-logo { height: 44px; width: auto; }
.qr-wrap { display: flex; flex-direction: column; align-items: center; margin: 20px 0 16px; padding: 18px; background: #ffffff; border-radius: 12px; border: 1px solid #c5d8b0; max-width: 260px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.qr-code { width: 180px; height: 180px; display: flex; align-items: center; justify-content: center; }
.qr-code svg { width: 100%; height: 100%; display: block; border-radius: 4px; }
.qr-hint { margin-top: 10px !important; text-align: center; font-size: 12px !important; color: #4f6a3d; }
.payment-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.payment-row code { font-weight: 600; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; user-select: all; background: #ffffff; padding: 4px 8px; border-radius: 6px; border: 1px solid #d3e2c2; color: #1e3a1f; }
.copy-btn { font-size: 12px !important; min-height: 30px !important; padding: 2px 10px !important; cursor: pointer; }
