:root {
  color-scheme: light;
  --ink: #201d19;
  --muted: #6b6259;
  --paper: #f7f1e8;
  --accent: #d84a2e;
  --accent-dark: #ad3420;
  --line: rgba(32, 29, 25, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 15%, rgba(216, 74, 46, 0.13), transparent 30rem),
    var(--paper);
}

a {
  color: inherit;
}

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

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

.brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  display: grid;
  align-content: center;
  min-height: 66vh;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.hero-copy {
  max-width: 580px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
}

.text-link {
  font-size: 0.92rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  padding: 40px;
}

.feature-grid article + article {
  border-left: 1px solid var(--line);
}

.feature-grid span {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

h2 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

footer {
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  nav > a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 88px 0;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    padding: 32px 0;
  }

  .feature-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
