:root {
  color-scheme: light;
  --orange: #fd9e17;
  --black: #050505;
  --paper: #f4f4f1;
  --ink: #141414;
  --muted: #696969;
  --line: #deded8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.topbar { height: 81px; background: var(--black); }
.topbar-inner {
  width: min(1200px, calc(100% - 64px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 179px; height: 56px; object-fit: contain; }
.private-label {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #fd9e1722; }
.login-layout {
  width: min(1040px, calc(100% - 48px));
  margin: auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 88px;
}
.eyebrow { margin: 0 0 17px; color: #945100; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; max-width: 500px; font-size: clamp(42px, 4.4vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; overflow-wrap: anywhere; }
.intro-copy { margin: 24px 0 0; max-width: 360px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.access-note { display: flex; align-items: flex-start; gap: 15px; margin-top: 45px; }
.access-note > svg { width: 26px; min-width: 26px; height: 26px; color: #a55e00; }
.access-note strong { font-size: 14px; }
.access-note p { max-width: 300px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.login-card { padding: 35px 36px 0; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: 8px 8px 20px 20px; box-shadow: 0 18px 50px #00000009; }
.card-tag { display: flex; align-items: center; gap: 8px; color: #7b4900; font-size: 12px; font-weight: 700; }
.card-tag svg { width: 17px; height: 17px; }
h2 { margin: 21px 0 10px; font-size: 28px; line-height: 1.2; letter-spacing: -.035em; }
.form-description { margin: 0 0 29px; color: var(--muted); font-size: 14px; line-height: 1.6; }
label { display: block; margin: 21px 0 9px; font-size: 13px; font-weight: 700; }
input:not([type="hidden"]) { width: 100%; height: 48px; padding: 11px 13px; border: 1px solid #cecec8; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
input:focus { outline: 3px solid #fd9e1738; border-color: #b76a00; }
button { width: 100%; height: 49px; margin: 27px 0 31px; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--orange); border-radius: 7px; background: var(--orange); color: var(--black); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
button svg { width: 19px; height: 19px; }
button:hover { background: #f4ad3e; }
button:focus-visible, a:focus-visible { outline: 3px solid #bd6e00; outline-offset: 4px; }
.card-footer { margin-inline: -36px; padding: 19px 24px; border-top: 1px solid #ebebe6; color: #767670; text-align: center; font-size: 11px; line-height: 1.5; }
.form-error { padding: 12px 14px; margin: 0 0 17px; border: 1px solid #ecc9c5; border-radius: 6px; color: #8d271e; background: #fff6f4; font-size: 13px; line-height: 1.5; }
.page-footer { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: #777; font-size: 12px; line-height: 1.5; }
.page-footer span:first-child { color: #41413b; font-weight: 700; }
@media (max-width: 900px) {
  .login-layout { gap: 40px; grid-template-columns: 1fr 410px; }
}
@media (max-width: 720px) {
  .topbar-inner, .page-footer { width: calc(100% - 32px); }
  .private-label { font-size: 10px; letter-spacing: .09em; }
  .brand img { width: 150px; }
  .login-layout { width: min(440px, calc(100% - 32px)); padding: 36px 0 44px; gap: 28px; grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  .intro-copy { margin-top: 13px; font-size: 16px; }
  .access-note { display: none; }
  .eyebrow { margin-bottom: 12px; }
  .login-card { padding: 26px 25px 0; }
  .card-footer { margin-inline: -25px; }
  h2 { margin-top: 17px; font-size: 25px; }
  .page-footer { font-size: 11px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, input { transition: border-color .15s ease, background .15s ease; }
}
