:root {
  color-scheme: light;
  --ink: #20251f;
  --muted: #5f695d;
  --surface: #f5f7f1;
  --line: #dce3d7;
  --accent: #267047;
  --accent-dark: #174b2f;
}

* {
  box-sizing: border-box;
}

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

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

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 6.8rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

main {
  padding-bottom: 80px;
}

h2 {
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

article p {
  margin-bottom: 0;
  color: var(--muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 52px;
  border-top: 1px solid var(--line);
}

footer p {
  margin-bottom: 0;
  color: var(--muted);
}

a {
  color: var(--accent-dark);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 64px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
