:root {
  --bg: #f9f9f9;
  --surface: #ffffff;
  --text: #1a1c1c;
  --muted: #5b4039;
  --accent: #b02f00;
  --accent-bright: #ff5722;
  --border: #e4beb4;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

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

header,
main,
footer {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

header {
  padding: 2rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
}

.brand {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9375rem;
}

h1,
h2 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}

.lede,
.meta {
  color: var(--muted);
}

.meta {
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--accent-bright);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--accent);
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.button-secondary:hover {
  color: var(--accent);
}

footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.notice {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}
