:root {
  --bg: #050505;
  --fg: #f4f4f5;
  --muted: #9a9aa3;
  --primary: #22e37a;
  --surface: #101014;
  --border: #2a2a30;
  --soft: color-mix(in srgb, #22e37a 16%, transparent);
  --glass: color-mix(in srgb, #101014 78%, transparent);
  --sans: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: var(--sans); min-height: 100dvh; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

.page { position: relative; min-height: 100dvh; overflow-x: hidden; }
#velas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 58% at 50% 42%, color-mix(in srgb, var(--bg) 28%, transparent), var(--bg) 76%),
    linear-gradient(to top, var(--bg), transparent 28%);
}
.stack { position: relative; z-index: 1; display: flex; min-height: 100dvh; flex-direction: column; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
}
@media (min-width: 640px) {
  .top { padding-left: 2.5rem; padding-right: 2.5rem; }
}
.status { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.875rem; color: var(--muted); }
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--primary);
  animation: pulse 2.2s ease-out infinite;
}
.visor-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid #3dff8a;
  background: #07140d;
  color: #7dffb0;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 0 12px color-mix(in srgb, #22e37a 75%, transparent),
    0 0 28px color-mix(in srgb, #22e37a 40%, transparent),
    inset 0 0 14px color-mix(in srgb, #22e37a 28%, transparent);
  animation: neon 2.2s ease-in-out infinite;
  transition: transform 150ms ease-out, color 150ms ease-out;
}
.visor-cta:hover { color: #f3fff8; }
.visor-cta:active { transform: scale(0.96); }

@keyframes neon {
  0%, 100% {
    box-shadow:
      0 0 10px color-mix(in srgb, #22e37a 55%, transparent),
      0 0 22px color-mix(in srgb, #22e37a 28%, transparent),
      inset 0 0 12px color-mix(in srgb, #22e37a 22%, transparent);
  }
  50% {
    box-shadow:
      0 0 18px color-mix(in srgb, #39ff88 90%, transparent),
      0 0 36px color-mix(in srgb, #22e37a 55%, transparent),
      inset 0 0 16px color-mix(in srgb, #39ff88 40%, transparent);
  }
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
}
.logo { width: 100%; max-width: 36rem; }
h1 {
  margin: 0.5rem 0 0;
  max-width: 42rem;
  font-family: var(--display);
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { h1 { font-size: 3rem; } }
.lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
@media (min-width: 640px) { .lead { font-size: 1.125rem; } }

.cards {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  width: 100%;
  max-width: 48rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--glass);
  border-radius: 1rem;
  padding: 1.25rem;
}
.icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--soft);
  color: var(--primary);
}
.card h2 { margin: 1rem 0 0; font-family: var(--display); font-size: 1.125rem; }
.card p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

.marks { display: none; }
@media (min-width: 1280px) {
  .marks { display: block; }
  .mark {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--muted);
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    animation: drift 7.5s ease-in-out infinite;
  }
  .mark svg { color: var(--primary); }
  .m1 { left: 2rem; top: 7rem; }
  .m2 { right: 2.5rem; top: 9rem; animation-duration: 9.5s; animation-delay: -2s; }
  .m3 { left: 3rem; bottom: 10rem; animation-duration: 8.2s; animation-delay: -4s; }
  .m4 { right: 3.5rem; bottom: 11rem; }
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.tape { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.tape span {
  padding: 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 1.25rem;
}
.kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 10rem;
  height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 150ms ease-out, border-color 150ms ease-out;
}
.social:hover { border-color: var(--primary); }
.social:active { transform: scale(0.96); }
.copy { margin: 0; font-size: 0.75rem; color: var(--muted); }

.rise { animation: rise 560ms cubic-bezier(0.2, 0, 0, 1) both; }
.d1 { animation-delay: 40ms; }
.d2 { animation-delay: 130ms; }
.d3 { animation-delay: 220ms; }
.d4 { animation-delay: 310ms; }
.d5 { animation-delay: 400ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 50%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .dot, .tape, .mark, .visor-cta { animation: none; }
}
