:root {
  color-scheme: light;
  --ink: #1b1914;
  --muted: #5c564c;
  --line: #e4e0d6;
  --paper: #f7f6f3;
  --card: #fff;
  --accent: #3c4f66;
}

body {
  margin: 0;
  font: 16px/1.6 "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

header,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

a {
  color: var(--accent);
}

.brand {
  font-weight: 650;
  text-decoration: none;
  color: inherit;
}

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

nav a {
  text-decoration: none;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.answer {
  font-size: 1.15rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 16px 0;
}

footer {
  color: var(--muted);
  font-size: 14px;
}
