:root {
  --bg: #f2f2f4;
  --surface: #ffffff;
  --text: #0b0b0c;
  --muted: #4a4a50;
  --line: rgba(0, 0, 0, 0.12);
  --tint: #8a5a00;
  --on-tint: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0b;
    --surface: #1c1c1e;
    --text: #ffffff;
    --muted: #d0d0d4;
    --line: rgba(255, 255, 255, 0.18);
    --tint: #ffd60a;
    --on-tint: #0b0b0c;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

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

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 4px;
}

nav a {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 22px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

nav a:hover,
nav a:focus-visible {
  background: var(--surface);
}

h1 {
  margin: 40px 0 8px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin: 40px 0 8px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  margin: 24px 0 4px;
  font-size: 18px;
}

p,
ul,
ol {
  margin: 0 0 14px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

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

a:focus-visible {
  outline: 2px solid var(--tint);
  outline-offset: 2px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

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

.card h2,
.card h3 {
  margin-top: 0;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 24px;
  background: var(--tint);
  color: var(--on-tint);
  font-weight: 700;
  text-decoration: none;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
}
