:root {
  color-scheme: dark;
  --bg: #17110e;
  --panel: #211813;
  --line: #3a2a20;
  --muted: #8b8d9b;
  --text: #f2f1f8;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px 20px;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 112, 28, .17), transparent 34rem),
    radial-gradient(ellipse at 90% 85%, rgba(190, 43, 26, .10), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.login-page { width: min(410px, 100%); }
.brand { display: flex; justify-content: center; align-items: center; gap: 7px; color: var(--text); text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -.5px; }
.brand > span:first-child { color: #ffc247; }
.brand-dot { color: #ff8a24; }
.login-card { margin-top: 30px; padding: 32px; border: 1px solid var(--line); border-radius: 15px; background: rgba(25,27,36,.96); box-shadow: 0 25px 80px rgba(0,0,0,.2); }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #ffc247; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.eyebrow span { width: 18px; height: 1px; background: #ff6a1a; }
h1 { margin: 19px 0 8px; font-size: 39px; font-weight: 600; line-height: 1.04; letter-spacing: -1.7px; }
h1 span { color: #ff9b43; }
.intro { margin: 0 0 26px; color: #a6a7b3; font-size: 12px; line-height: 1.65; }
form { display: flex; flex-direction: column; }
label { margin: 0 0 7px; color: #c4c4cf; font-size: 11px; font-weight: 600; }
input { width: 100%; height: 42px; margin-bottom: 16px; padding: 0 12px; border: 1px solid #323440; border-radius: 8px; outline: none; background: #14161d; color: var(--text); font: inherit; font-size: 12px; }
input:focus { border-color: #c66b26; box-shadow: 0 0 0 3px rgba(255,138,36,.12); }
input::placeholder { color: #707280; }
button { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 1px; border: 0; border-radius: 8px; background: linear-gradient(105deg, #e84624, #ff9b27); color: white; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: .18s ease; }
button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.1); }
button:disabled { opacity: .6; cursor: wait; }
.error-message { min-height: 18px; margin: -4px 0 8px; color: #ff9aab; font-size: 11px; line-height: 1.5; }
.invite-note { margin: 21px 0 0; padding-top: 17px; border-top: 1px solid #2d2f39; color: #8d8e9c; font-size: 10px; }
.invite-note span { margin-right: 5px; color: #ffc247; }
footer { margin-top: 19px; color: #747583; text-align: center; font-size: 8px; font-weight: 600; letter-spacing: 1.1px; }
footer span { padding: 0 5px; color: #ff9b43; }

@media (max-width: 440px) {
  .login-card { padding: 27px 22px; }
}
