:root {
  --ink: #1d1d1f;
  --ink-2: rgba(29, 29, 31, 0.72);
  --ink-3: rgba(29, 29, 31, 0.52);
  --paper: #ffffff;
  --band: #f5f5f7;
  --line: #e8e8ed;
  --blue: #0071e3;
  --logo: #3c1b12;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--band);
  color: var(--ink);
  font-family: "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.card {
  width: min(440px, calc(100vw - 32px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.brand img { width: 40px; height: 40px; display: block; }
.word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 11px;
  color: var(--logo);
  text-transform: uppercase;
}
.word small {
  letter-spacing: 0.16em;
  font-weight: 500;
  font-size: 8px;
  color: var(--ink-3);
  margin-top: 2px;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
h1 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.15;
}
.sub {
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}
form { display: flex; flex-direction: column; gap: 8px; }
label {
  font-size: 12px;
  color: var(--ink-2);
}
input[type="password"] {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
input[type="password"]:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
button {
  height: 44px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.err {
  margin: 4px 0 0;
  color: #b42318;
  font-size: 13px;
}
.hint {
  margin: 20px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.4;
}
.foot {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
}
