@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
:root { --paper: #f6f5f0; --ink: #172e38; --sage: #6f807c; --sage-2: #9fb0ab; --muted: #65716f; --line: #d8dcd4; --orange: #ec683e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login__side { background: var(--ink); color: var(--paper); padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 34px; height: 34px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font: 500 27px/1 "Space Grotesk", sans-serif; letter-spacing: -.05em; }
.logo__sub { font: 700 9px/1 "DM Sans", sans-serif; letter-spacing: .42em; text-transform: uppercase; margin-top: 6px; padding-left: 2px; }
.eyebrow { font: 600 11px/1 "DM Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow b { color: var(--orange); font-weight: 600; margin-right: 12px; }
h1 { margin: 26px 0 0; font: 500 clamp(40px, 5.4vw, 80px)/1 "Space Grotesk", sans-serif; letter-spacing: -.045em; }
h1 span { color: var(--sage-2); }
.micro { display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1.2 "DM Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.login__form { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 72px); }
form { width: 100%; max-width: 420px; display: flex; flex-direction: column; }
h2 { margin: 22px 0 0; font: 500 44px/1.05 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.hint { color: var(--muted); margin: 12px 0 30px; }
label { font: 600 11px/1 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; }
input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 400 16px "DM Sans", sans-serif; margin-bottom: 20px; border-radius: 0; }
input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); }
.pw { position: relative; }
.pw input { padding-right: 72px; }
.pw button { position: absolute; right: 6px; top: 6px; height: 40px; padding: 0 12px; background: none; border: 0; font: 600 13px "DM Sans", sans-serif; color: var(--muted); cursor: pointer; }
.pw button:hover { color: var(--ink); }
.error { margin: -6px 0 18px; padding: 12px 14px; border-left: 3px solid #c9544a; background: #fbeeea; color: #7a2a22; font-size: 14px; }
.submit { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: var(--ink); color: var(--paper); border: 0; font: 600 15px "DM Sans", sans-serif; cursor: pointer; }
.submit:hover { background: #0e1f26; }
.submit:disabled { opacity: .6; cursor: progress; }
.small { color: var(--muted); font-size: 13px; margin-top: 22px; line-height: 1.6; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login__side { gap: 28px; }
  .login__side .micro { display: none; }
  h1 { font-size: 38px; }
  h2 { font-size: 34px; }
}
