:root {
  --bg: #062a1c;
  --bg-deep: #031810;
  --surface: rgba(255, 255, 255, 0.06);
  --text: #f4faf6;
  --muted: rgba(244, 250, 246, 0.72);
  --accent: #2fd67b;
  --accent-strong: #1fb865;
  --accent-ink: #05301c;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --font: "Manrope", sans-serif;
  --display: "Unbounded", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #0f6b45 0%, transparent 55%),
    linear-gradient(165deg, #0a3d28 0%, #062a1c 42%, #031810 100%);
}

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 8s ease-in-out infinite;
}

.bg__glow--1 {
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  top: -8%;
  right: -18%;
  background: #2aa86a;
}

.bg__glow--2 {
  width: min(60vw, 340px);
  height: min(60vw, 340px);
  bottom: 8%;
  left: -22%;
  background: #147a4d;
  animation-delay: -3s;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 75%);
  opacity: 0.5;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  max-width: 560px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  animation: rise 0.7s ease both;
}

.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, #7dffb4, #2fd67b);
  box-shadow: 0 0 0 6px rgba(47, 214, 123, 0.15);
}

.brand__name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero {
  animation: rise 0.85s ease 0.08s both;
}

.hero__eyebrow {
  margin: 0 0 14px;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.85rem, 7.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__text {
  margin: 0 0 28px;
  max-width: 34ch;
  font-size: clamp(1rem, 3.6vw, 1.12rem);
  line-height: 1.55;
  color: var(--muted);
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #3ee68a 0%, var(--accent-strong) 100%);
  color: var(--accent-ink);
  font-family: var(--font);
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow:
    0 14px 28px rgba(20, 150, 80, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  animation: pulse 2.4s ease-in-out infinite;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.cta:active {
  transform: translateY(1px) scale(0.985);
  animation: none;
}

.cta__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.points li {
  position: relative;
  padding: 12px 14px 12px 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(244, 250, 246, 0.9);
  animation: rise 0.7s ease both;
}

.points li:nth-child(1) { animation-delay: 0.18s; }
.points li:nth-child(2) { animation-delay: 0.28s; }
.points li:nth-child(3) { animation-delay: 0.38s; }

.points li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 214, 123, 0.18);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}

@keyframes pulse {
  0%, 100% {
    box-shadow:
      0 14px 28px rgba(20, 150, 80, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  50% {
    box-shadow:
      0 18px 36px rgba(20, 150, 80, 0.5),
      0 0 0 8px rgba(47, 214, 123, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}

@media (min-width: 640px) {
  .page {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .cta {
    width: auto;
    min-width: 320px;
    align-self: flex-start;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 1.7rem;
  }

  .cta {
    min-height: 60px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
