@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --c-bg:            #ffffff;
  --c-text:          #0a0e1a;
  --c-muted:         #6b7280;
  --c-border:        #e5e7eb;
  --c-border-strong: #d1d5db;
  --c-blue:          #2563eb;
  --c-blue-dark:     #1d4ed8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-bg);
  display: grid;
  place-items: center;
  padding: 32px 20px;
  -webkit-font-smoothing: antialiased;
}

/* визуально скрываем, но оставляем для скринридеров */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--c-text);
  text-decoration: none;
}
.logo__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--c-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
}

/* ===== Card / form container ===== */
.card {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.card__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.card__sub {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: -12px;
}

/* ===== Form ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--c-muted); }
.input:hover { border-color: var(--c-border-strong); }
.input:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--c-blue);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
}
.btn:hover  { background: var(--c-blue-dark); }
.btn:active { background: var(--c-blue-dark); transform: translateY(1px); }

/* ===== Footer link ===== */
.foot {
  text-align: center;
  font-size: 14px;
  color: var(--c-muted);
}
.foot a {
  color: var(--c-blue);
  font-weight: 600;
  text-decoration: none;
}
.foot a:hover { text-decoration: underline; }