@font-face {
  font-family: Pilat;
  src: url("/assets/pilat.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Pilat, Arial, sans-serif;
  background: #fafafa;
  color: #0a0a0a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

main {
  width: min(100%, 400px);
  overflow-wrap: anywhere;
}

.logo {
  display: block;
  object-fit: contain;
  object-position: left;
  margin-bottom: 48px;
}

h1 {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

p {
  margin: 0 0 28px;
  color: #525252;
  line-height: 1.45;
}

strong { font-weight: 400; color: #0a0a0a; }

form { display: grid; gap: 8px; }

label { font-size: 14px; }

input:not([type="hidden"]), button {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  font: inherit;
}

input:not([type="hidden"]) { background: #fff; color: inherit; }

button {
  margin-top: 8px;
  border-color: #0a0a0a;
  color: #fff;
  background: #0a0a0a;
  cursor: pointer;
}

button:hover:not(:disabled) { background: #292929; }
button:disabled { opacity: 0.5; cursor: default; }
input:focus-visible, button:focus-visible {
  outline: 2px solid #224ffc;
  outline-offset: 3px;
}
