:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #62656a;
  --line: #e3e4e2;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --dark: #30343b;
  --dark-hover: #17191c;
  --focus: #59636f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 18rem;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-align: center;
}

.site-header {
  padding: 1.25rem 1.25rem;
}

.brand {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

.hero {
  min-height: min(31rem, 68vh);
  display: grid;
  place-content: center;
  padding: 4rem 1.25rem 5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 38rem;
  margin-bottom: 0.85rem;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hero-copy {
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(0.9rem, 2vw, 0.98rem);
}

.button {
  justify-self: center;
  padding: 0.75rem 1.35rem;
  border: 2px solid var(--dark);
  border-radius: 0.35rem;
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  width: min(100%, 58rem);
  margin: 0 auto;
}

.narrow {
  max-width: 31rem;
}

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.features {
  background: var(--soft);
}

.feature-grid {
  display: grid;
  gap: 2.25rem;
  margin-top: 2.2rem;
}

.feature-number {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: #deddd9;
  font-size: 0.7rem;
  font-weight: 700;
}

.feature h3 {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}

.feature p {
  max-width: 15rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.site-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (min-width: 42rem) {
  .site-header {
    padding-top: 1.7rem;
  }

  .hero {
    min-height: 31rem;
  }

  .section {
    padding-block: 4.75rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

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

  .button {
    transition: none;
  }
}
