:root {
  --bg0: #0c1210;
  --bg1: #14201a;
  --accent: #3dba7a;
  --accent-dim: #2a8f5c;
  --text: #e7f0ea;
  --muted: #8aa396;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg0);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(61, 186, 122, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(30, 90, 60, 0.25), transparent 50%),
    linear-gradient(160deg, var(--bg0), var(--bg1) 60%, #0a0f0d);
  z-index: -1;
}

.top {
  padding: 1.25rem 1.75rem;
}

.brand {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand span { color: var(--accent); }

.hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 4rem;
  gap: 1rem;
}

.brand-hero {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #fff 20%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s ease both;
}

.tagline {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 22rem;
  animation: rise 0.9s 0.12s ease both;
}

.cta {
  margin-top: 1.25rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  color: #062214;
  background: linear-gradient(135deg, var(--accent), #6ee7a8);
  box-shadow: 0 12px 40px rgba(61, 186, 122, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.9s 0.22s ease both;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(61, 186, 122, 0.35);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}

.modal[hidden] { display: none; }

.modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #16241c;
  border: 1px solid rgba(61, 186, 122, 0.25);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  animation: pop 0.25s ease;
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
}

#modalText {
  white-space: pre-wrap;
  line-height: 1.5;
}

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

@keyframes pop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
