:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --border: #dfe1e6;
  --text: #172b4d;
  --muted: #5e6c84;
  --accent: #2b64d6;
  --accent-dark: #1f4fb0;
}
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.wrap {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 360px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px 28px;
  box-shadow: 0 1px 2px rgba(9, 30, 66, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  flex: none;
}
.brand .name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
h1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}
.sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 6px;
}
.field {
  margin-bottom: 16px;
}
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 9px 10px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fafbfc;
  color: var(--text);
}
input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin: 2px 0 20px;
}
.row a {
  color: var(--accent);
  text-decoration: none;
}
.row a:hover { text-decoration: underline; }
.check {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.check label {
  margin: 0;
  font-weight: 400;
}
button {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover { background: var(--accent-dark); }
.foot {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.foot a {
  color: var(--muted);
}
