:root {
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  color-scheme: light;
  color: #1d2021;
  background: #f7f8f7;
}

* { box-sizing: border-box; }

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

main {
  width: min(100%, 400px);
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(29, 32, 33, 0.09);
  border-radius: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.brand img { width: 34px; height: 34px; }
h1 { font-size: 26px; letter-spacing: -0.035em; margin: 24px 0 18px; }
p, footer { line-height: 1.55; color: #4a4f4e; font-size: 14px; }
form { display: grid; gap: 16px; margin-bottom: 18px; }
label { display: grid; gap: 6px; font-weight: 550; font-size: 14px; }

input {
  min-width: 0;
  border: 1px solid #aabbb3;
  border-radius: 7px;
  padding: 10px 12px;
  font: inherit;
}

button, .button {
  display: block;
  border: 1px solid #a7d6bf;
  border-radius: 8px;
  background: #c9f1e0;
  color: #174a3a;
  font: inherit;
  font-weight: 600;
  padding: 11px 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.secondary { color: #315946; background: #fff; border-color: #cdd8d1; }
a { color: #037a58; }
:focus-visible { outline: 2px solid #037a58; outline-offset: 3px; }

.lab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #dce6df;
  text-decoration: none;
  font-weight: 550;
}

footer { margin-top: 20px; }
[role="alert"] { color: #b42318; }
[role="status"] { color: #037a58; }
