:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --text: #f4f2ec;
  --accent: #76b900;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 60% -20%, rgba(118, 185, 0, 0.18), transparent 42%),
    linear-gradient(180deg, #0b0d12 0%, #0d1017 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
}

.ambient-one {
  top: 22rem;
  right: -19rem;
  background: #76b900;
}

.ambient-two {
  bottom: -24rem;
  left: -16rem;
  background: #80d28d;
}

main {
  display: grid;
  min-height: 100vh;
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.hero {
  max-width: 1000px;
  padding: 80px 0;
}

h1 {
  margin: 0 0 36px;
  color: var(--accent);
  font-size: clamp(5rem, 13vw, 10.5rem);
  font-weight: 520;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.hero p {
  max-width: 850px;
  margin: 0;
  color: #c5c6cc;
  font-size: clamp(1.25rem, 2.7vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

@media (max-width: 760px) {
  main {
    width: min(calc(100% - 30px), var(--max));
  }

  .hero {
    padding: 48px 0;
  }

  h1 {
    margin-bottom: 28px;
    font-size: clamp(4.2rem, 22vw, 6.4rem);
  }

}
