@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500&display=swap');

:root {
  --paper: #f7f4ee;
  --ink: #26241f;
  --ink-soft: #55524a;
  --clay: #b5654f;
  --sage: #7c8b6f;
  --border: #dcd5c6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--clay);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* Header */

header {
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.wordmark:hover {
  text-decoration: none;
  color: var(--clay);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.2rem;
}

nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ink);
}

nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  background: var(--clay);
}

/* Main content */

main {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  width: 100%;
}

h1 {
  font-family: 'Lora', serif;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

h2 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 60ch;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.badge {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--sage);
  background: #f1efe6;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

/* Login form (visual only) */

.login-card {
  border: 1px solid var(--border);
  background: #fdfcf9;
  padding: 2rem;
  max-width: 380px;
  margin-top: 1.5rem;
}

.field {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.field input {
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.field input:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}

.btn {
  display: inline-block;
  background: var(--clay);
  color: #fff;
  border: none;
  padding: 0.65rem 1.4rem;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.btn:hover {
  background: #9c5342;
  text-decoration: none;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: none;
}

footer a {
  color: var(--sage);
  font-weight: 500;
}
