:root {
  --room: #ede0c0;
  --sand: #dcc07a;
  --grass: #85bd66;
  --grass-dark: #5a9a43;
  --cream: #f7f0dc;
  --ink: #1e1c2e;
  --muted: #5c574c;
  --accent: #ed735e;
  --white: #fffaf0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background: var(--room);
  color: var(--ink);
  line-height: 1.55;
}

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

.site-header,
.site-footer {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  image-rendering: pixelated;
}

nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

nav a:hover,
.brand:hover {
  color: var(--accent);
}

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 24px 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
}

.button.secondary {
  background: var(--ink);
}

.hero-art {
  background: var(--grass);
  border-radius: 28px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  box-shadow: 0 16px 0 var(--grass-dark);
}

.hero-art img {
  width: min(280px, 100%);
  image-rendering: pixelated;
}

.features,
.legal {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 24px 64px;
}

.features h2,
.legal h1,
.legal h2 {
  margin-top: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.legal {
  background: var(--cream);
  border-radius: 28px;
  margin: 24px auto 64px;
  padding: 32px 28px 40px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.site-footer {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .hero,
  .grid,
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-art {
    min-height: 240px;
  }
}
