:root {
  --ink: #07131c;
  --paper: #f7fbf2;
  --lemon: #ffe14a;
  --cherry: #ff4d7a;
  --teal: #2fe0c4;
  --ice: #8ef0ff;
  --muted: rgba(247, 251, 242, 0.72);
  --max: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--ink);
  font-family: "Sora", system-ui, sans-serif;
  overflow-x: hidden;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.strength-rail {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 225, 74, 0.35);
  border-radius: 999px;
  background: rgba(7, 19, 28, 0.55);
  backdrop-filter: blur(8px);
}

.strength-rail__track {
  width: 5.5rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.strength-rail__fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--cherry), var(--lemon), var(--teal));
  transition: transform 0.08s linear;
}

.strength-rail__label {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--lemon);
  min-width: 1.8rem;
}

main {
  position: relative;
  z-index: 1;
}

.panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 1.25rem;
  position: relative;
}

.panel__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.panel--hero .panel__inner {
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--teal);
}

.brand {
  margin: 0 0 1rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--lemon) 10%, var(--cherry) 55%, var(--ice) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 77, 122, 0.15);
}

.brand--small {
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 1rem;
}

.lede {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: 28rem;
}

.scroll-hint {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lemon);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

.panel h2 {
  margin: 0 0 0.85rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.05;
  color: var(--lemon);
}

.panel p {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
}

.panel__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .panel__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .panel__grid--flip > :first-child {
    order: 2;
  }

  .panel__grid--flip > :last-child {
    order: 1;
  }
}

.shot {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(47, 224, 196, 0.12);
  transform: translateY(18px) scale(0.97);
  opacity: 0.55;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.panel.is-inview .shot {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pledge-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.pledge-list li {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 224, 196, 0.35);
  background: rgba(47, 224, 196, 0.08);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.95rem;
}

.panel__close {
  text-align: center;
  max-width: 36rem;
}

.manifesto {
  margin-inline: auto;
  font-size: 1.15rem;
  color: var(--muted);
}

.cta-line {
  margin-top: 1.5rem;
}

.cta-line a {
  color: var(--ice);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.cta-line a:hover {
  color: var(--lemon);
}

.site-foot {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  color: rgba(247, 251, 242, 0.45);
  font-size: 0.8rem;
}

.panel--hero {
  background: linear-gradient(180deg, rgba(7, 19, 28, 0.15), rgba(7, 19, 28, 0.55));
}

.panel--problem,
.panel--science,
.panel--pledge,
.panel--close {
  background: linear-gradient(180deg, rgba(7, 19, 28, 0.55), rgba(7, 19, 28, 0.78));
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint {
    animation: none;
  }

  .shot {
    transform: none;
    opacity: 1;
  }
}
