/* Index — loyalty discount page. Builds on styles.css and pricing/pricing.css:
   the same card, with a license form as its first step. */

.up { padding: 72px 0 96px; }
.up-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
.up-head { padding-top: 56px; }
.up-head .owners-icons { margin-bottom: 28px; }
.up-head .owners-icons img { width: 72px; height: 72px; }
.up-head .h1 { text-align: left; }
.up-head .buy-sub { max-width: 30em; }
.up-head .meta { margin-top: 22px; }

.up .card { min-height: 0; }
.up .tag { margin-top: 22px; }
.up .terms { margin-bottom: 18px; }

.up-field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--muted); }
.up-field input {
  height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font: inherit; font-size: 16px; font-weight: 400; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.up-field input::placeholder { color: var(--dim); }
.up-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .18); }
.up-field input.bad { border-color: #d9453b; }
#upLicense { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; letter-spacing: 0; }

.attest { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; font-size: 13px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.attest input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--text); }
.attest a { color: var(--blue); }
.attest a:hover { text-decoration: underline; }
.attest.bad span { color: #c0392f; }

.up-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(217, 69, 59, .09); color: #a8322a; font-size: 14px; line-height: 1.4; }
.up-error[hidden] { display: none; }
.up .btn-buy { margin-top: 0; }
.up .btn-buy[disabled] { opacity: .6; cursor: default; }

@media (max-width: 1000px) {
  .up { padding-top: 48px; }
  .up-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .up-head { padding-top: 0; }
  .up .card { max-width: 440px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .up-head .owners-icons img { width: 60px; height: 60px; }
}
