:root {
  --ink: #fff;
  --muted: #bdc4dc;
  --line: rgb(255 255 255 / 18%);
  --brand: #16c8ff;
  --accent: #bdff00;
  font-family: "Quicksand", "Trebuchet MS", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #00002b; }
body { position: relative; min-height: 100vh; margin: 0; display: grid; grid-template-rows: auto 1fr auto; color: var(--ink); background: radial-gradient(circle at 48% 4%, rgb(46 50 147 / 58%) 0, transparent 36rem), linear-gradient(180deg, #09098c 0%, #02035f 42%, #000023 100%); background-attachment: fixed; line-height: 1.55; }
body::before { position: fixed; z-index: -1; inset: 7rem auto auto 23%; width: min(40vw, 34rem); aspect-ratio: 1; border: clamp(3rem, 7vw, 6rem) solid rgb(255 255 255 / 4%); border-radius: 50%; content: ""; transform: rotate(-24deg); pointer-events: none; }
.site-header { min-height: 76px; padding: 0 5vw; display: flex; align-items: center; }
.brand { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 28%)); }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.brand-copy strong { font-family: "Poppins", "Trebuchet MS", sans-serif; font-size: 1rem; }
.brand-copy span { color: var(--muted); font-size: .76rem; letter-spacing: .04em; }
.page-shell { width: min(1160px, 90vw); margin: 0 auto; padding: 54px 0 70px; }
h1, h2 { margin-top: 0; font-family: "Poppins", "Trebuchet MS", sans-serif; line-height: 1.12; }
h1 { margin-bottom: 16px; font-size: clamp(2.2rem, 5vw, 4.6rem); letter-spacing: -.04em; }
h2 { margin-bottom: 8px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .8fr); align-items: center; gap: clamp(40px, 8vw, 110px); min-height: calc(100vh - 220px); }
.auth-intro { max-width: 650px; }
.auth-intro > p:last-child { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.auth-card { position: relative; top: -24px; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: 18px; background: transparent; }
.supporting { margin: 0; color: var(--muted); }
.login-form { display: grid; gap: 14px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgb(255 255 255 / 42%); border-radius: 14px; color: var(--ink); background: rgb(0 0 32 / 38%); font: inherit; }
.field input:focus { outline: 3px solid rgb(22 200 255 / 28%); outline-offset: 2px; border-color: var(--brand); }
.remember { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .86rem; cursor: pointer; }
.remember input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); }
.primary-button { min-height: 48px; margin-top: 4px; padding: 0 20px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; color: #00113c; background: linear-gradient(90deg, var(--brand), #68e5ff); box-shadow: 0 10px 30px rgb(22 200 255 / 20%); font: inherit; font-weight: 700; cursor: pointer; }
.primary-button:hover { background: linear-gradient(90deg, #65e5ff, var(--brand)); transform: translateY(-1px); }
.error { color: #ffd7de; font-size: .84rem; }
.error:empty { display: none; }
.validation-summary { padding: 12px 14px; border: 1px solid rgb(255 138 157 / 30%); border-radius: 12px; background: rgb(120 0 35 / 32%); }
.validation-summary ul { margin: 0; padding-left: 20px; }
.auth-link { margin: 18px 0 0; text-align: center; }
.auth-link a { color: var(--brand); font-weight: 700; }
.site-footer { padding: 24px 5vw; color: var(--muted); font-size: .8rem; text-align: center; }
.account-shell { width: min(700px, 100%); margin: 0 auto; }
.account-card { top: 0; }
.account-heading { margin-bottom: 24px; font-size: clamp(2rem, 6vw, 3.4rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.status-panel { margin: 20px 0; padding: 18px; border: 1px solid rgb(104 229 255 / 35%); border-radius: 14px; background: rgb(0 17 60 / 38%); }
.status-panel h2, .status-panel p { margin: 0; }
.status-panel h2 + p { margin-top: 8px; }
.error-panel { border-color: rgb(255 138 157 / 35%); }
.primary-link { display: inline-block; padding: 12px 20px; border-radius: 999px; color: #00113c !important; background: var(--brand); text-decoration: none; }
.section-heading { margin-top: 38px; }
.security-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.security-list dt { font-weight: 700; }.security-list dd { margin: 0; color: var(--muted); text-align: right; }
button:disabled { opacity: .7; cursor: wait; }
@media (max-width: 720px) { .site-header { min-height: auto; padding-top: 14px; padding-bottom: 14px; } .brand-logo { width: 42px; height: 42px; } .page-shell { padding-top: 38px; } .auth-shell { grid-template-columns: 1fr; min-height: auto; } .auth-card { top: 0; } h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); } }
@media (max-width: 460px) { .page-shell { width: min(92vw, 1160px); padding-top: 24px; } .auth-shell { gap: 30px; } .auth-card { padding: 24px 20px; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
