:root {
  --red: #e6002d;
  --red-bright: #f51646;
  --ink: #15191e;
  --muted: #707887;
  --line: #dde1e6;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f4f5f7; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, .88fr) 1.12fr; }
.login-story { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 42px 52px; color: #fff; background: #101418; }
.login-story::before { content: ""; position: absolute; width: 380px; height: 380px; right: -170px; top: -170px; border: 70px solid rgba(245, 22, 70, .12); border-radius: 50%; }
.login-story::after { content: ""; position: absolute; width: 130px; height: 6px; left: 52px; top: 0; background: var(--red-bright); }
.story-logo { position: relative; z-index: 1; width: 120px; height: auto; padding: 10px 13px; border-radius: 4px; background: #fff; }
.story-content { position: relative; z-index: 1; margin: auto 0; max-width: 520px; }
.story-eyebrow, .form-kicker { color: var(--red-bright); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.story-content h1 { max-width: 510px; margin: 14px 0 34px; font-size: clamp(34px, 4vw, 55px); line-height: 1.04; letter-spacing: -.045em; }
.feature-list { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 13px; color: #cdd2d7; font-size: 14px; font-weight: 700; }
.feature-list span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--red-bright); font-size: 12px; }
.login-story small { position: relative; z-index: 1; color: #777f86; font-size: 10px; }

.login-form-panel { position: relative; display: grid; place-items: center; padding: 70px 50px; background: #fff; }
.login-languages { position: absolute; right: 34px; top: 28px; display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; }
.login-languages a { padding: 7px 10px; border-radius: 5px; color: var(--muted); font-size: 11px; font-weight: 700; text-decoration: none; }
.login-languages a.active { color: #fff; background: var(--ink); }
.form-wrap { width: min(430px, 100%); }
.form-wrap h2 { margin: 12px 0 8px; font-size: 34px; letter-spacing: -.035em; }
.form-wrap > p { margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.login-error { margin-bottom: 18px; padding: 12px 14px; border: 1px solid #ff9cb1; border-radius: 8px; color: #9c1533; background: #fff1f4; font-size: 12px; font-weight: 700; }
form { display: grid; gap: 18px; }
label > span:first-child { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; }
input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fff; font-size: 14px; outline: none; }
input:focus { border-color: var(--red-bright); box-shadow: 0 0 0 3px rgba(245, 22, 70, .1); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 46px; }
.password-field button { position: absolute; right: 7px; top: 7px; width: 34px; height: 34px; border: 0; border-radius: 6px; color: #858d98; background: transparent; cursor: pointer; }
.password-field button:hover { color: var(--red); background: #fff1f4; }
.login-submit { height: 50px; display: flex; align-items: center; justify-content: space-between; margin-top: 5px; padding: 0 18px; border: 0; border-radius: 7px; color: #fff; background: var(--red); box-shadow: 0 10px 25px rgba(230, 0, 45, .18); cursor: pointer; font-weight: 700; }
.login-submit:hover { background: #ca0028; }
.login-submit span { font-size: 20px; }
.secure-note { display: flex; align-items: center; gap: 8px; margin-top: 23px; color: #9097a0; font-size: 10px; }
.secure-note i { width: 7px; height: 7px; border-radius: 50%; background: #2cbd78; box-shadow: 0 0 0 4px rgba(44, 189, 120, .1); }

@media (max-width: 820px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-story { min-height: 330px; padding: 30px; }
  .story-content { margin: 55px 0 35px; }
  .story-content h1 { margin-bottom: 25px; font-size: 34px; }
  .feature-list { grid-template-columns: 1fr; gap: 10px; }
  .login-form-panel { padding: 90px 24px 50px; }
}

@media (max-width: 480px) {
  .login-story { min-height: 285px; }
  .story-logo { width: 96px; }
  .story-content { margin: 40px 0 25px; }
  .story-content h1 { font-size: 28px; }
  .feature-list li:nth-child(3) { display: none; }
  .form-wrap h2 { font-size: 29px; }
}
