/* Grow & CEO Academy · student account pages (sign in, set up, forgot password, welcome).
   Layout: one cream "paper" card centred on the charcoal room, like the academy's lessons. */
:root {
  --bg: #0e0e0d; --surface: #161615; --ink: #efe8da; --white: #f6efe1; --muted: #a9a192; --faint: #7d766a;
  --gold: #cfa15a; --gold-deep: #a97d36; --on-gold: #14120e; --line: rgba(207, 161, 90, .26);
  --paper: #f6f0e3; --paper-2: #efe7d6; --paper-ink: #1d1c19; --paper-muted: #5e584d; --paper-line: rgba(160, 122, 38, .38); --paper-gold: #8a6418;
  --ok: #0b4a37; --ok-bg: #e0ece4; --err: #a83232; --err-bg: #f7e3df;
  --display: "Cinzel", "Times New Roman", serif; --body: "Montserrat", "Segoe UI", system-ui, sans-serif; --script: "Pinyon Script", cursive;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6;
  padding-inline: 16px; display: flex; flex-direction: column; }
body::before { content: ""; position: fixed; inset: -20% -20% auto auto; width: 70vw; max-width: 720px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(207,161,90,.10), transparent 70%); pointer-events: none; }
a { color: var(--gold); text-underline-offset: 3px; }
header { width: 100%; max-width: 980px; margin: 0 auto; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--display); font-weight: 600; letter-spacing: .12em; font-size: 15px; }
.brand em { font-family: var(--script); font-style: normal; color: var(--gold); font-size: 22px; letter-spacing: 0; margin-left: 4px; }
header nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
main { flex: 1; display: grid; place-items: start center; padding-block: clamp(16px, 5vh, 56px) 48px; position: relative; }
.card { width: 100%; max-width: 460px; background: var(--paper); color: var(--paper-ink); border-radius: 8px; padding: clamp(24px, 6vw, 40px);
  box-shadow: inset 0 0 0 1px var(--paper-line), 0 30px 70px rgba(0,0,0,.5); display: grid; gap: 16px; }
.card.wide { max-width: 620px; }
.eyebrow { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-gold); font-weight: 600; }
h1 { font-family: var(--display); font-size: clamp(26px, 5vw, 32px); letter-spacing: .03em; line-height: 1.15; margin: 0; color: #111110; }
.lede { color: var(--paper-muted); margin: 0; }
form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-muted); font-weight: 600; }
.field input { min-height: 48px; border-radius: 6px; border: 1px solid var(--paper-line); background: #fffaf0; color: var(--paper-ink); padding: 10px 14px; font: inherit; font-size: 16px; width: 100%; }
.field input:focus { outline: 2px solid var(--paper-gold); outline-offset: 1px; }
.field .hint { font-size: 12.5px; color: var(--paper-muted); }
.pw { position: relative; }
.pw input { padding-right: 72px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--paper-gold); font: inherit; font-size: 13px; font-weight: 600; padding: 8px; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: var(--on-gold);
  font: inherit; font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; width: 100%; text-align: center; line-height: 1.3; }
.btn:hover { background: #dcb06a; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--paper-gold); border-color: var(--paper-line); }
.btn.ghost:hover { background: var(--paper-2); }
.or { display: flex; align-items: center; gap: 12px; color: var(--paper-muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--paper-line); }
.msg { border-radius: 6px; padding: 12px 14px; font-size: 14.5px; }
.msg.ok { background: var(--ok-bg); color: var(--ok); }
.msg.err { background: var(--err-bg); color: var(--err); }
.msg.info { background: var(--paper-2); color: var(--paper-ink); border: 1px solid var(--paper-line); }
.links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 14px; }
.links a, .card a { color: var(--paper-gold); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--paper-gold); color: var(--paper-gold); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.steps b { display: block; color: #111110; }
.steps span { color: var(--paper-muted); font-size: 14.5px; }
.idline { display: flex; justify-content: space-between; gap: 12px; background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 6px; padding: 12px 14px; font-size: 14px; }
.idline b { font-family: var(--display); letter-spacing: .08em; }
.seal { justify-self: center; width: 76px; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--paper-muted); }
footer { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 0 28px; color: var(--faint); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; position: relative; }
footer a { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
