:root {
  --bg: #f4f5ef;
  --ink: #10120f;
  --muted: #3c4338;
  --brand: #0d9f6e;
  --brand-dark: #097f57;
  --panel: #ffffff;
  --line: #d8dccf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 5%, #dff7ea 0%, transparent 30%),
    radial-gradient(circle at 88% 14%, #ffe7d6 0%, transparent 28%),
    var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.45;
  position: relative;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(#000 0.35px, transparent 0.35px);
  background-size: 5px 5px;
}

.topbar {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 26px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.top-cta {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffffc4;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 46px 0 30px;
  animation: rise 700ms ease both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 0.77rem;
  margin-bottom: 10px;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.95;
}

.hero-copy {
  margin-top: 20px;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.2rem);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 120ms ease, filter 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.btn-primary {
  background: linear-gradient(130deg, var(--brand-dark), var(--brand));
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.platforms {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.platforms span {
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
}

.feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 20px;
  animation: rise 700ms ease both;
}

.card:nth-child(2) {
  animation-delay: 80ms;
}

.card:nth-child(3) {
  animation-delay: 160ms;
}

.card h2 {
  margin: 0;
  font-size: 1.02rem;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.how {
  margin: 26px 0 34px;
  background: #0f1411;
  color: #eaf2ec;
  border-radius: 16px;
  padding: 20px;
}

.how h2 {
  margin: 0;
  font-size: 1.1rem;
}

.steps {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: #c6d2ca;
}

.step span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #1f2b24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #8af4cb;
  font-weight: 700;
}

footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 0 28px;
  display: flex;
  justify-content: space-between;
  color: #394237;
  font-size: 0.88rem;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding-top: 20px;
  }

  h1 {
    max-width: 100%;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}
