:root { color-scheme: light dark; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #f5f5f7; color: #1d1d1f; }
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: inherit; font-weight: 700; text-decoration: none; font-size: 18px; }
.back { color: #4353cd; text-decoration: none; font-size: 14px; }
h1 { font-size: clamp(30px, 6vw, 46px); letter-spacing: -.035em; margin: 64px 0 12px; }
h2 { font-size: 19px; margin: 36px 0 10px; }
p, li { line-height: 1.75; font-size: 15px; }
.lead { color: #5b5b61; font-size: 17px; }
.card { background: white; border: 1px solid #e2e2e7; border-radius: 18px; padding: 26px 30px; margin-top: 28px; }
.card h2:first-child { margin-top: 0; }
a { color: #4353cd; }
.payment-code { display: block; width: min(100%, 360px); height: auto; margin: 24px auto; border-radius: 16px; }
.purchase-box { margin-top: 18px; padding: 18px; border-radius: 16px; background: rgba(118,118,128,.08); }
.primary-action, .secondary-action { appearance: none; border: 0; border-radius: 11px; font: inherit; font-weight: 650; cursor: pointer; }
.primary-action { display: block; width: 100%; padding: 12px 16px; color: #fff; background: #0a84ff; }
.primary-action:disabled { cursor: default; opacity: .42; }
.small-note { margin: 12px 0 0; color: #6e6e73; font-size: 13px; }
.card form label { display: block; margin: 16px 0 7px; font-size: 14px; font-weight: 600; }
.card form label:first-child { margin-top: 0; }
.card form input, .card form select, .card form textarea { width: 100%; padding: 11px 12px; border: 1px solid rgba(60,60,67,.24); border-radius: 9px; color: inherit; background: transparent; font: inherit; }
.card form textarea { resize: vertical; min-height: 140px; }
.card form .primary-action { margin-top: 20px; }
.contact-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 24px; margin: 10px 0 0; font-size: 13px; }
.link-button { box-sizing: border-box; margin: 12px 0 18px; text-align: center; text-decoration: none; }
.download-link[hidden] { display: none; }
.secondary-action { padding: 9px 14px; color: #0a84ff; background: rgba(10,132,255,.12); }
.success-title { color: #248a3d; font-weight: 700; }
.error-text { color: #d70015; }
#license-result label { display: block; margin: 12px 0 7px; color: #666; font-size: 14px; }
#license-token { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid rgba(60,60,67,.2); border-radius: 9px; resize: none; overflow-wrap: anywhere; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.recovery-box { margin-top: 18px; padding: 14px 18px; border: 1px solid rgba(60,60,67,.16); border-radius: 14px; }
.recovery-box summary { cursor: pointer; font-size: 14px; font-weight: 650; }
.recovery-box p { margin: 10px 0; color: #6e6e73; font-size: 13px; }
.recovery-box label { display: block; margin: 12px 0 6px; color: #555; font-size: 13px; }
.recovery-box input { width: 100%; padding: 10px 11px; border: 1px solid rgba(60,60,67,.22); border-radius: 9px; color: inherit; background: transparent; font: inherit; }
.recovery-box .secondary-action { margin-top: 14px; }
.recovery-box .form-status { min-height: 22px; margin-bottom: 0; }
footer { margin-top: 38px; color: #6e6e73; font-size: 13px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-color-scheme: dark) {
  body { background: #17171a; color: #f5f5f7; }
  .card { background: #252529; border-color: #3b3b40; }
  .lead, footer { color: #aaaab2; }
  .back, a { color: #a8afff; }
  .recovery-box { border-color: rgba(235,235,245,.18); }
  .recovery-box p, .recovery-box label { color: #aaaab2; }
  .recovery-box input { border-color: rgba(235,235,245,.22); }
  .small-note { color: #aaaab2; }
  .card form input, .card form select, .card form textarea { border-color: rgba(235,235,245,.22); }
}
