@font-face {
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/clash-display-600.woff2") format("woff2");
}

@font-face {
  font-family: "General Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/general-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "General Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/general-sans-600.woff2") format("woff2");
}

:root {
  --night: #000000;
  --night-2: #0a0a0a;
  --ink: #f5f5f5;
  --muted: #a59b8d;
  --red: #ff2400;
  --line: rgba(245, 245, 245, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(255, 36, 0, 0.14), transparent 55%),
    radial-gradient(700px 420px at 92% 8%, rgba(245, 245, 245, 0.04), transparent 50%),
    linear-gradient(180deg, var(--night), var(--night-2));
}

.wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  letter-spacing: 0.22em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}

.brand img {
  width: 22px;
  height: 22px;
}

.brand strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.18em;
}

h1 {
  font-family: "Clash Display", "Arial Narrow", sans-serif;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 28px;
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 22px;
}

label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

input[type="password"] {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  padding: 14px 16px;
  outline: none;
  border-radius: 0;
}

input:focus {
  border-color: rgba(255, 36, 0, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 36, 0, 0.12);
}

button {
  margin-top: 14px;
  width: 100%;
  appearance: none;
  border: 0;
  cursor: pointer;
  background: var(--red);
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 14px 20px;
}

button:hover {
  filter: brightness(1.06);
}

.err {
  color: #ff6b5a;
  font-size: 0.92rem;
  margin: 0 0 14px;
}

