:root {
  --bg: #e8ece4;
  --ink: #1a1f1c;
  --muted: #5c6560;
  --green: #2f9e5b;
  --green-strong: #248a4c;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: #f2f5ef;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #f4f6f1;
}

.bg-slash {
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 38%,
    rgba(47, 158, 91, 0.07) 38.2%,
    rgba(47, 158, 91, 0.11) 46%,
    rgba(232, 236, 228, 0.4) 46.2%,
    transparent 62%,
    transparent 100%
  );
  animation: slash-shift 20s ease-in-out infinite;
}

.bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 158, 91, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.bg-ring-a {
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  top: -28%;
  right: -22%;
  border-color: rgba(47, 158, 91, 0.28);
  animation: ring-spin 48s linear infinite;
}

.bg-ring-a::before,
.bg-ring-a::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(26, 31, 28, 0.06);
}

.bg-ring-a::after {
  inset: 28%;
  border-color: rgba(47, 158, 91, 0.16);
}

.bg-ring-b {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  bottom: -30%;
  left: -24%;
  border-color: rgba(26, 31, 28, 0.08);
  animation: ring-spin-rev 60s linear infinite;
}

.bg-blob {
  position: absolute;
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: 55%;
  right: 8%;
  border-radius: 62% 38% 48% 52% / 48% 42% 58% 52%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(47, 158, 91, 0.2),
    rgba(47, 158, 91, 0.05) 55%,
    transparent 70%
  );
  filter: blur(2px);
  animation: blob-morph 14s ease-in-out infinite;
}

.bg-haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 15%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 80%, rgba(47, 158, 91, 0.1), transparent 50%);
}

@keyframes slash-shift {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(2%) rotate(0.4deg);
  }
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ring-spin-rev {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes blob-morph {
  0%,
  100% {
    border-radius: 62% 38% 48% 52% / 48% 42% 58% 52%;
    transform: translate(0, 0) scale(1);
  }
  50% {
    border-radius: 42% 58% 38% 62% / 58% 48% 52% 42%;
    transform: translate(-4%, -3%) scale(1.08);
  }
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.logo {
  width: min(220px, 70vw);
  margin-bottom: 1.75rem;
  animation: rise 0.8s var(--ease) both;
}

h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  animation: rise 0.8s var(--ease) 0.08s both;
}

p {
  margin: 0 0 1.75rem;
  max-width: 26rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  animation: rise 0.8s var(--ease) 0.16s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  animation: rise 0.8s var(--ease) 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s var(--ease), border-color 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  background: var(--green-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-color: rgba(26, 31, 28, 0.14);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border-color: rgba(26, 31, 28, 0.28);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
