/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ── */
body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11pt;
  color: #111;
  background: #fff;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}

/* ── Buttons ── */
button,
.btn-ghost,
.btn-solid {
  font-family: "Helvetica Neue", Arial, sans-serif;
  border-radius: 4px;
  cursor: pointer;
}

button { border: none; }

.btn-ghost {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid #ccc;
  background: none;
  color: #333;
}

.btn-ghost:hover { border-color: #111; color: #111; }

.btn-solid {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: #111;
  color: #fff;
  border: none;
}

.btn-solid:hover { background: #333; }

/* ── Footer ── */
footer {
  padding: 1.25rem 2.5rem;
  border-top: 1px solid #e5e5e5;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

/* ── Auth card (login / register) ── */
.card {
  width: 100%;
  max-width: 360px;
}

.card h1 {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1.5px solid #111;
  padding-bottom: 0.4rem;
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 0.25rem;
}

input {
  display: block;
  width: 100%;
  padding: 0.45rem 0.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 0;
  margin-bottom: 1rem;
  outline: none;
}

input:focus { border-color: #111; }

.card button {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.95rem;
  background: #111;
  color: #fff;
  border-radius: 4px;
}

.card button:hover { background: #333; }

.flash {
  font-size: 0.85rem;
  color: #c00;
  margin-bottom: 0.75rem;
}

.alt {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
}

.alt a { color: #111; }

/* ── Mobile ── */
@media (max-width: 600px) {
  nav { padding: 1rem 1.25rem; }
}
