:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #27352d;
  background: #f7f7f2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { min-width: 280px; min-height: 100svh; margin: 0; display: flex; flex-direction: column; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 32px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 27px; font-weight: 750; letter-spacing: -1.2px; }
.brand svg { width: 35px; height: 35px; }
.brand-dot { color: #c89e20; }
.environment { padding: 7px 12px; border: 1px solid #dbdfd4; border-radius: 100px; color: #687267; font-size: 11px; font-weight: 650; letter-spacing: 1.1px; text-transform: uppercase; }
main { display: grid; place-items: center; flex: 1; padding: 24px 24px 56px; }
.login-card { width: min(100%, 440px); padding: 38px; border: 1px solid #e1e4da; border-radius: 24px; background: #fffef9; box-shadow: 0 16px 56px #2c392c06; }
.card-mark { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 25px; border: 1px solid #e4dfc9; border-radius: 13px; background: #f8f2db; }
.card-mark svg { width: 22px; height: 22px; stroke: #756222; stroke-width: 1.6; stroke-linecap: round; }
h1 { margin: 0; font-size: clamp(29px, 5vw, 34px); line-height: 1.15; font-weight: 650; letter-spacing: -1.4px; }
.intro { margin: 12px 0 32px; color: #788175; font-size: 14px; line-height: 1.6; }
.field + .field { margin-top: 20px; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
input { width: 100%; min-height: 49px; padding: 13px 14px; border: 1px solid #d9ded2; border-radius: 9px; background: #fffefb; color: #27352d; font: inherit; font-size: 15px; transition: border-color 120ms, box-shadow 120ms; }
input::placeholder { color: #9ba194; opacity: 1; }
input:focus { outline: none; border-color: #a38b30; box-shadow: 0 0 0 3px #efc02f26; }
button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; margin-top: 27px; padding: 13px 17px; border: 1px solid #d9ad28; border-radius: 9px; background: #efc235; color: #27352d; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
button:hover { background: #ebbd2e; }
button:active { background: #e5b72a; }
button span:last-child { font-size: 23px; line-height: 1; font-weight: 400; }
button:focus-visible, .brand:focus-visible { outline: 3px solid #a38b30; outline-offset: 4px; }
.login-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 23px 0 0; color: #868d80; font-size: 12px; }
.login-note > span { width: 5px; height: 5px; border-radius: 50%; background: #aaa67d; }
footer { padding: 0 20px 25px; color: #969d90; text-align: center; font-size: 11px; letter-spacing: .3px; }
@media (max-width: 480px) {
  .page-header { width: calc(100% - 40px); padding: 23px 0; }
  .brand { font-size: 24px; }
  .brand svg { width: 31px; height: 31px; }
  .environment { font-size: 9px; padding: 6px 9px; }
  main { padding: 20px 20px 38px; }
  .login-card { padding: 29px 25px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { input { transition: none; } }
