:root {
  color-scheme: light;
  --ink: #2d261e;
  --muted: #6e6255;
  --cream: #fff8e8;
  --gold: #e2ad45;
  --gold-dark: #9d6d1d;
  --line: #e8d9bd;
}

* {
  box-sizing: border-box;
}

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

header,
main,
footer {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav a {
  color: var(--gold-dark);
  font-weight: 650;
  text-decoration: none;
}

.hero {
  border-top: 1px solid var(--line);
  padding: 96px 0 112px;
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  max-width: 700px;
  font-size: clamp(2.6rem, 8vw, 5rem);
  margin: 0 0 24px;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.25rem;
}

.badge {
  display: inline-block;
  border: 1px solid #e2c98d;
  border-radius: 999px;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  text-transform: uppercase;
}

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

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

@media (max-width: 640px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding: 64px 0 80px;
  }
}
