:root {
  color-scheme: dark;
  --background: #000000;
  --surface: #191916;
  --surface-raised: #20201c;
  --text: #f4f1e9;
  --muted: #a5a196;
  --gold: #d6ae61;
  --gold-light: #f1d696;
  --line: rgba(255, 255, 255, .16);
  --danger: #ff9a84;
  --success: #b9e0a5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background: var(--background);
  font-family: 'Segoe UI', sans-serif;
}

.page-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.topbar { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 700 14px 'Segoe UI', sans-serif; letter-spacing: .14em; }
.brand strong { color: var(--gold-light); }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(214, 174, 97, .55); border-radius: 11px; color: var(--gold-light); font: 800 13px 'Segoe UI', sans-serif; letter-spacing: .02em; transform: rotate(-4deg); }
.season-tag { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .18em; }

.hero { min-height: calc(100vh - 158px); display: grid; grid-template-columns: minmax(0, 1fr) 410px; align-items: center; gap: clamp(50px, 9vw, 130px); padding: 70px 0; }
.hero-copy { padding-bottom: 24px; }
.eyebrow { margin: 0 0 15px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
h1, h2 { font-family: 'Segoe UI', sans-serif; }
h1 { margin: 0; font-size: clamp(42px, 5.8vw, 69px); font-weight: 700; letter-spacing: -.065em; line-height: 1.07; }
h1 span { color: var(--gold-light); }
.intro { max-width: 420px; margin: 23px 0 34px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.download-button { display: inline-flex; min-width: 288px; align-items: center; gap: 13px; padding: 13px 17px; border: 1px solid rgba(0, 97, 255, .6); border-radius: 12px; color: var(--text); background: #090d15; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.download-button:hover { border-color: #3984ff; background: #0d1420; transform: translateY(-2px); }
.download-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 10px; color: #0061ff; background: #fff; }
.download-icon svg { width: 25px; height: 25px; }
.download-button strong, .download-button small { display: block; }
.download-button strong { font-size: 12px; }
.download-button small { margin-top: 4px; color: var(--muted); font-size: 11px; }

.signup-card { padding: 28px; border: 1px solid rgba(214, 174, 97, .42); border-radius: 18px; background: #080808; box-shadow: 0 24px 80px rgba(0, 0, 0, .55), inset 0 1px rgba(255, 255, 255, .035); }
.card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; }
.step-number { color: var(--gold); font: 500 13px 'Segoe UI', sans-serif; }
.card-heading .eyebrow { margin-bottom: 4px; font-size: 9px; }
h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
form { display: flex; flex-direction: column; }
.credential-box { display: flex; flex-direction: column; padding: 8px 15px 16px; border: 1px solid rgba(214, 174, 97, .35); border-radius: 12px; background: #000; }
label { margin: 14px 0 8px; color: #e6e0d4; font-size: 12px; font-weight: 600; }
input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; outline: none; color: var(--text); background: #111; font: 14px 'Segoe UI', sans-serif; transition: border-color .18s, box-shadow .18s; }
input:focus { border-color: rgba(214, 174, 97, .75); box-shadow: 0 0 0 3px rgba(214, 174, 97, .1); }
.field-hint { margin-top: 6px; color: #8f8a80; font-size: 10px; line-height: 1.45; }
.submit-button { display: flex; height: 48px; align-items: center; justify-content: space-between; margin-top: 22px; padding: 0 15px; border: 0; border-radius: 8px; color: #19150d; background: linear-gradient(100deg, #d4aa58, #f0d38f); font: 700 13px 'Segoe UI', sans-serif; cursor: pointer; transition: filter .2s, transform .2s; }
.submit-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.submit-button span { font-size: 19px; }
.form-message { min-height: 18px; margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.form-message[data-state='error'] { color: var(--danger); }
.form-message[data-state='success'] { color: var(--success); }
.privacy-note { margin: 13px 0 0; color: #827d73; font-size: 10px; }
.privacy-note span { margin-right: 5px; color: #9bbd7e; font-size: 8px; }
.footer { display: flex; justify-content: space-between; padding: 18px 0 22px; border-top: 1px solid var(--line); color: #77736a; font-size: 10px; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 58px 0; }
  .hero-copy { padding-bottom: 0; }
  .signup-card { width: min(100%, 480px); }
}

@media (max-width: 480px) {
  .page-shell { width: min(100% - 32px, 1120px); }
  .topbar { height: 74px; }
  .hero { min-height: auto; gap: 34px; padding: 47px 0; }
  h1 { font-size: clamp(39px, 11vw, 52px); }
  .signup-card { padding: 22px 19px; }
  .credential-box { padding-right: 12px; padding-left: 12px; }
  .footer { gap: 12px; font-size: 9px; }
}
