/* School of Gains — Discord onboarding flow (/join) */
:root {
  --bg: #0a0a0a;
  --card: #111111;
  --card-2: #171717;
  --border: #2a2a2a;
  --text: #ffffff;
  --muted: #b0b0b0;
  --dim: #808080;
  --green: #00c948;
  --green-dark: #00a83e;
  --discord: #5865F2;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Sora', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid var(--border); }
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .04em; line-height: 1.05; text-transform: uppercase; }
.nav .brand img { width: 32px; height: 32px; }
.nav .powered { font-size: 12px; color: var(--dim); }
.nav .powered b { color: var(--text); }

.wrap { min-height: calc(100vh - 71px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px 56px; }
.card { width: 100%; max-width: 560px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; text-align: center; }
.icon { width: 64px; height: 64px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.icon svg { width: 64px; height: 64px; }
.icon-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; color: var(--dim); }
.icon-row svg { width: 48px; height: 48px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
h1 .g { color: var(--green); }
.sub { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 26px; }
.pill { display: inline-block; padding: 5px 12px; border: 1px solid var(--green); color: var(--green); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-green { background: var(--green); color: #000; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--green); }
.btn-outline:hover { background: rgba(0,201,72,.08); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-white { background: #fff; color: #000; }
.btn + .btn { margin-top: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.field { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; margin-bottom: 12px; }
.field:focus-within { border-color: var(--green); }
.field svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.field input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 15px; padding: 15px 0; }
.field input::placeholder { color: var(--dim); }
.error { color: #ff5c5c; font-size: 13px; margin: -4px 0 12px; display: none; }

.note { color: var(--dim); font-size: 12px; margin-top: 16px; line-height: 1.5; }
.note a { color: var(--muted); }
.saved { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 18px; }
.saved svg { width: 16px; height: 16px; color: var(--green); }

.checks { background: var(--card-2); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; margin-top: 22px; text-align: left; }
.checks div { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); padding: 7px 0; }
.checks svg { width: 18px; height: 18px; color: var(--green); flex: none; }

.steps { background: var(--card-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin: 0 0 22px; text-align: left; }
.steps div { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); padding: 8px 0; }
.steps span { width: 26px; height: 26px; border-radius: 50%; background: #262626; color: var(--text); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }

.progress { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 34px; }
.progress .st { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); width: 110px; }
.progress .st b { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); background: var(--card); }
.progress .st.done b { border-color: var(--green); background: var(--green); color: #000; }
.progress .st.active b { border-color: var(--text); color: var(--text); }
.progress .line { width: 50px; height: 1px; background: var(--border); margin-bottom: 22px; }

.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; text-decoration: none; margin-top: 18px; }
.back:hover { color: var(--text); }

#whop-checkout { min-height: 260px; margin-top: 8px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--dim); font-size: 12px; margin-top: 18px; }
.secure svg { width: 14px; height: 14px; }

.foot { text-align: center; color: var(--dim); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; padding: 20px; }

@media (max-width: 480px) {
  .card { padding: 30px 20px; }
  h1 { font-size: 24px; }
  .progress .st { width: 90px; }
  .progress .line { width: 28px; }
}

.consent-choice{display:block;text-align:left;font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0}.consent-choice input{accent-color:var(--green);margin-right:6px}.consent-choice a{text-decoration:underline}
