:root {
  color-scheme: light;
  --ink: #201e1d;
  --muted: #746f69;
  --line: #e9e3dc;
  --paper: #fbf9f6;
  --accent: #e65b35;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

header, main, footer {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

a { color: var(--accent); }
nav a { font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); }

main { padding-block: 54px 72px; }

.eyebrow {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.18; }
h1 { font-family: Georgia, serif; font-size: clamp(2.2rem, 7vw, 3.3rem); margin: 10px 0 12px; }
h2 { font-size: 1.32rem; margin: 42px 0 10px; }
h3 { font-size: 1rem; margin: 23px 0 7px; }
p, li { font-size: 1rem; }
.updated { color: var(--muted); margin: 0; }
.notice {
  margin-top: 30px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.reset-form {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  max-width: 460px;
}

label { font-weight: 650; }

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:disabled { cursor: wait; opacity: .62; }

.form-message { min-height: 1.6em; color: var(--muted); }
.form-message.error { color: #ba3f27; }
.form-message.success { color: #267850; }

footer { padding: 24px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

@media (max-width: 480px) {
  header, main, footer { width: min(100% - 32px, 760px); }
  header { padding-block: 20px; }
  main { padding-block: 38px 56px; }
}
