:root {
  color-scheme: light;
  --ink: #241f24;
  --muted: #665e66;
  --paper: #fffafb;
  --panel: #ffffff;
  --accent: #b52b5f;
  --accent-dark: #8f2049;
  --border: #eadde2;
}

* { box-sizing: border-box; }

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

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

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.site-header nav { display: flex; gap: 1rem; }
.site-header a { text-decoration: none; }
.brand { color: var(--ink); font-size: 1.25rem; font-weight: 800; }

.hero {
  padding: clamp(4rem, 10vw, 8rem) 0;
  max-width: 800px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: .2rem 0 1rem;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.hero-copy { max-width: 62ch; color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-block;
  padding: .8rem 1rem;
  border: 1px solid var(--accent);
  border-radius: .6rem;
  color: white;
  background: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.button-secondary { color: var(--accent-dark); background: transparent; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 5rem;
}
.feature-grid article {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--panel);
}
.feature-grid h2 { margin-top: 0; }
.feature-grid p { color: var(--muted); }
.content-page { max-width: 760px; padding: 5rem 0; }
.content-page h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--border); color: var(--muted); }

@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
}
