@font-face { font-family: "Young Serif"; src: url("/assets/fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/assets/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh; display: grid; place-items: center; padding: 16px; color-scheme: dark;
  background: radial-gradient(900px 500px at 80% -10%, rgba(240,180,60,.10), transparent 60%), #14161b;
  font: 400 16px/1.5 "Schibsted Grotesk", system-ui, sans-serif; color: #1d1e23;
}
.login { width: min(420px, 100%); padding-top: 24px; }
.card { position: relative; background: #f3ecdc; border-radius: 0 12px 12px 12px; padding: 34px 32px 30px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.tab {
  position: absolute; left: 0; top: -24px; height: 24px; padding: 7px 12px 0; border-radius: 6px 6px 0 0;
  font: 600 11px/1 "Martian Mono", monospace; letter-spacing: .12em; text-transform: uppercase; background: #f0b43c; color: #1b1b1b;
}
h1 { font: 400 44px/1 "Young Serif", Georgia, serif; margin: 0 0 26px; padding-bottom: 14px; border-bottom: 1px solid #d8644c; }
label { display: block; font: 500 11px/1 "Martian Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #6a6457; margin-bottom: 8px; }
input[type=password] {
  width: 100%; font: inherit; font-size: 17px; padding: 13px 14px; border-radius: 8px; border: 1px solid #d6cbb1; background: #fbf8f0; color: #1d1e23;
}
input[type=password]:focus { outline: 2px solid #f0b43c; outline-offset: 2px; }
button {
  margin-top: 16px; width: 100%; font: 600 16px/1 "Schibsted Grotesk", system-ui, sans-serif; padding: 14px; cursor: pointer;
  border: 0; border-radius: 8px; background: #1d1e23; color: #f3ecdc;
}
button:hover { background: #2b2d35; }
button:focus-visible { outline: 2px solid #f0b43c; outline-offset: 3px; }
.err { margin: 14px 0 0; color: #a8402c; font-weight: 600; }
