:root {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #16191c;
  background: #f4f5f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
}

.login-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: clamp(30px, 4vw, 54px);
  color: #fff;
  background: #111923;
}

.product-mark { display: flex; align-items: center; }
.product-mark img { display: block; width: 128px; height: auto; filter: grayscale(1) brightness(0) invert(1); }
.product-copy { max-width: 650px; padding: 48px 0; }
.eyebrow { color: #ff705b; font-size: 13px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.product-copy h1 { margin: 16px 0 24px; font-size: clamp(48px, 5.8vw, 82px); line-height: .98; letter-spacing: -.055em; }
.product-copy h1 span, .login-card h2 span { color: #e83b22; }
.product-copy p { max-width: 540px; color: #c8d0d8; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; }
.product-rule { width: 88px; height: 3px; margin: 38px 0 18px; background: #e83b22; }
.product-caption { color: #d6dce2; font-size: 14px; }
.login-product small { color: #8f9aa6; font-size: 12px; }

.login-access { display: grid; place-items: center; padding: clamp(28px, 5vw, 72px); }
.login-card { width: min(100%, 440px); padding: 36px 38px 30px; border: 1px solid #d9dde1; border-top: 3px solid #e83b22; border-radius: 4px; background: #fff; box-shadow: 0 18px 46px #16191c1a; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid #e4e7ea; font-size: 17px; font-weight: 700; }
.login-brand img { width: 45px; height: 45px; object-fit: contain; }
.login-card h2 { margin: 0 0 9px; font-size: 26px; letter-spacing: -.035em; }
.login-brand h2 { margin: 0; }
.login-intro { margin: 0 0 24px; color: #5e6973; font-size: 15px; line-height: 1.5; }
.login-form { display: grid; gap: 10px; }
.login-form label { font-size: 13px; font-weight: 700; }
.login-form input { width: 100%; padding: 12px 13px; border: 1px solid #d4d9df; border-radius: 3px; color: #16191c; background: #fafbfc; font: inherit; font-size: 16px; }
.login-form input:focus-visible { border-color: #e83b22; outline: 0; box-shadow: 0 0 0 3px #e83b221a; background: #fff; }
.login-form button { margin-top: 5px; padding: 12px 14px; border: 1px solid #d4d9df; border-radius: 3px; color: #16191c; background: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.login-form button:hover:not(:disabled) { border-color: #87919b; background: #fafbfc; }
.login-form button:disabled { cursor: wait; opacity: .65; }
.form-message { margin: 1px 0; color: #a82e20; font-size: 13px; line-height: 1.45; }
.code-step { display: grid; gap: 17px; }
.code-instructions { display: grid; gap: 5px; color: #5e6973; font-size: 14px; line-height: 1.45; }
.code-instructions strong { color: #16191c; font-size: 16px; }
.code-instructions b { color: #2a2e34; overflow-wrap: anywhere; }
#login-code { font-size: 22px; font-weight: 700; letter-spacing: .24em; text-align: center; }
.text-button { justify-self: start; padding: 0; border: 0; color: #b72f1e; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.text-button:hover { text-decoration: underline; }

@media (max-width: 850px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-product { min-height: 300px; padding: 28px; }
  .product-mark img { width: 100px; }
  .product-copy { padding: 35px 0; }
  .product-copy h1 { font-size: clamp(42px, 11vw, 64px); }
  .login-access { padding: 32px 20px; }
}

@media (max-width: 460px) {
  .login-card { padding: 30px 24px 26px; }
}
