@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,300;1,300&family=JetBrains+Mono:wght@500;600&display=swap");

:root {
  --bg: #fbfbf8;
  --grid: rgba(69, 86, 55, 0.018);
  --headline: #455637;
  --body: #141414;
  --accent: #4d8026;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "IBM Plex Serif", serif;
  color: var(--body);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    var(--bg);
  background-size: 24px 24px;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(820px, 90vw);
  height: 360px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 28% 55%, rgba(156, 233, 98, 0.3), transparent 42%),
    radial-gradient(circle at 52% 56%, rgba(204, 123, 244, 0.3), transparent 44%),
    radial-gradient(circle at 74% 54%, rgba(87, 205, 255, 0.3), transparent 42%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  text-align: center;
  transform: translateY(-24px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(251, 251, 248, 0.75);
}

.hero h1 {
  max-width: 840px;
  margin: 28px auto 0;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: 0;
  color: var(--headline);
}

.hero h1 em {
  font-style: italic;
}

.hero-subtitle {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.32;
  color: var(--body);
}

.hero-note {
  margin: 30px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--body);
}

.hero-note a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  transition: text-decoration-color 180ms ease, color 180ms ease;
}

.hero-note a:hover {
  text-decoration-color: var(--headline);
}

@media (max-width: 640px) {
  .page {
    min-height: 100svh;
    padding: 32px 0;
  }

  .page::before {
    top: 56%;
    width: 100vw;
    height: 300px;
    filter: blur(58px);
  }

  .hero {
    width: min(100% - 28px, 520px);
    transform: translateY(-12px);
  }

  .hero-badge {
    min-height: 30px;
    padding: 0 14px;
    font-size: 9px;
  }

  .hero h1 {
    max-width: 100%;
    margin-top: 24px;
    font-size: 34px;
    line-height: 1.18;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.32;
  }

  .hero-note {
    margin-top: 28px;
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 31px;
  }

  .hero-subtitle {
    font-size: 17px;
  }
}