:root {
  color-scheme: dark;
  --bg: #080809;
  --surface: #121214;
  --line: rgba(255,255,255,.12);
  --text: #f5f5f6;
  --muted: rgba(245,245,246,.68);
  --faint: rgba(245,245,246,.45);
  --accent: #f05a1a;
  --danger: #ff7f7f;
  --radius: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 16px/1.55 Inter, "SF Pro Display", "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { width: min(1040px, calc(100vw - 40px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(8,8,9,.92); }
.header-inner { min-height: 72px; display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.brand { color: var(--text); font-weight: 700; letter-spacing: 0; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.nav a { color: inherit; }
.nav a.current { color: var(--text); }
main { padding: 68px 0; }
.auth-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, .8fr); gap: 64px; align-items: start; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
h1 { margin: 12px 0 14px; max-width: 600px; font-size: 42px; line-height: 1.05; letter-spacing: 0; }
.lede { max-width: 580px; color: var(--muted); font-size: 18px; }
.points { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.points li { position: relative; padding-left: 24px; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
.panel > p { margin: 0 0 24px; color: var(--muted); }
.field { display: grid; gap: 7px; margin-top: 16px; }
label { font-size: 13px; font-weight: 650; }
input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #0b0b0c; color: var(--text); }
input:focus { outline: 2px solid rgba(240,90,26,.45); outline-offset: 1px; border-color: var(--accent); }
.button { width: 100%; min-height: 48px; margin-top: 24px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.button:hover { background: #ff6f34; }
.button:disabled { opacity: .65; cursor: wait; }
.message { display: none; margin: 16px 0 0; padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.message.error { display: block; border: 1px solid rgba(255,127,127,.45); background: rgba(255,127,127,.1); color: #ffd6d6; }
.message.success { display: block; border: 1px solid rgba(51,202,124,.45); background: rgba(51,202,124,.1); color: #d5ffe5; }
.small { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.fine { margin: 16px 0 0; color: var(--faint); font-size: 12px; }
.account-shell { width: min(760px, calc(100vw - 40px)); margin: 0 auto; }
.account-heading { margin-bottom: 26px; }
.account-heading h1 { margin-bottom: 8px; }
.account-card { display: grid; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.identity { display: grid; gap: 4px; }
.identity strong { font-size: 21px; }
.identity span { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.action { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--text); cursor: pointer; font-weight: 650; }
.action.primary { border-color: var(--accent); background: var(--accent); }
.action:hover { text-decoration: none; border-color: var(--accent); }
.legal { margin-top: 24px; color: var(--faint); font-size: 12px; }
.footer { padding: 26px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.footer .shell { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
@media (max-width: 780px) { .auth-layout { grid-template-columns: 1fr; gap: 36px; } h1 { font-size: 36px; } main { padding: 42px 0; } .panel { padding: 22px; } }
@media (max-width: 520px) { .shell, .account-shell { width: min(100% - 28px, 1040px); } .nav { gap: 10px; font-size: 12px; } .header-inner { min-height: 62px; } }
