:root {
  --pond: #0a120e;
  --pond-deep: #07110c;
  --pond-mid: #10281a;
  --frog: #39ff14;
  --frog-soft: #7dff3a;
  --frog-deep: #14301a;
  --hoodie: #111111;
  --cream: #f4f1e6;
  --cream-dim: rgba(244, 241, 230, 0.74);
  --silver: #d5dde2;
  --crown: #c6ff7a;
  --header: 74px;
  --sans: "Segoe UI", "Avenir Next", "Trebuchet MS", sans-serif;
  --display: "Arial Black", "Arial Rounded MT Bold", Impact, "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "Segoe UI Mono", Consolas, "Courier New", monospace;
  --gutter: clamp(28px, 6vw, 140px);
  --measure: min(1680px, calc(100% - var(--gutter)));
}

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

html {
  scroll-behavior: smooth;
  background: var(--pond);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(57, 255, 20, 0.06), transparent 50%),
    var(--pond);
  color: var(--cream);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.2vw + 0.96rem, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
ol {
  margin: 0;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--crown);
  outline-offset: 3px;
}

::selection {
  background: var(--frog);
  color: var(--pond-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--frog);
  color: var(--pond-deep);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.skip:focus {
  top: calc(10px + env(safe-area-inset-top, 0px));
}

.wrap {
  width: var(--measure);
  margin-inline: auto;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 0 0 12px;
  color: var(--frog-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px 2px;
  border-radius: 50%;
  background: var(--frog);
}

h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.94;
  font-size: clamp(2.5rem, 5.4vw, 4.8rem);
  color: var(--cream);
}

h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-lead,
.about-cols p,
.about-wide,
.steps p,
.ca-note,
.community-inner p {
  color: var(--cream-dim);
}

.section-lead {
  max-width: 46ch;
  margin-top: 14px;
}

.flag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 255, 58, 0.45);
  background: rgba(57, 255, 20, 0.1);
  color: var(--crown);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn {
  --ripple: rgba(255, 255, 255, 0.45);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: 52px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--frog);
  color: #07140c;
  box-shadow: 0 10px 28px rgba(57, 255, 20, 0.16);
}

.btn-ghost {
  --ripple: rgba(57, 255, 20, 0.35);
  border-color: rgba(244, 241, 230, 0.42);
  background: rgba(8, 16, 12, 0.35);
}

.btn-tiny {
  --ripple: rgba(57, 255, 20, 0.35);
  min-height: 44px;
  padding: 0 0.95rem;
  border-color: rgba(125, 255, 58, 0.45);
  color: var(--frog-soft);
  font-size: 0.92rem;
}

a.btn.ext::after {
  content: "↗";
  font-size: 0.86em;
  line-height: 1;
}

.btn-ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--ripple);
  transform: scale(0);
  animation: ripple 0.65s ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

.btn > :not(.btn-ripple) {
  position: relative;
  z-index: 1;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(to bottom, rgba(10, 18, 14, 0.86), rgba(10, 18, 14, 0.28));
  transition: background 0.3s ease;
}

.header.is-scrolled {
  background: rgba(8, 16, 12, 0.94);
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(125, 255, 58, 0) 25%, rgba(214, 255, 190, 0.95) 50%, rgba(57, 255, 20, 0) 75%, transparent 100%);
  background-size: 220% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.header.is-scrolled::after {
  opacity: 1;
  animation: shimmer 3.8s linear infinite;
}

.header-inner {
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #fff, 0 0 10px var(--frog-soft);
  opacity: 0;
  pointer-events: none;
}

.s1 { right: 1px; bottom: 11px; }
.s2 { right: 11px; bottom: 1px; }
.s3 { right: -2px; bottom: 20px; width: 3px; height: 3px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a.nav-buy {
  color: var(--frog);
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-buy {
  display: none;
  min-height: 40px;
  padding: 0 14px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cream);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(72px, 12vh, 150px);
  overflow: hidden;
}

.ripples {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 72% 48%, rgba(22, 72, 38, 0.45), transparent 62%),
    linear-gradient(180deg, #08110c 0%, #0a120e 46%, #0e2418 100%);
}

.blobs {
  position: absolute;
  inset: -12% 0;
}

.ripples span {
  position: absolute;
  border-radius: 50%;
}

.ripples span:nth-child(1) {
  width: 72vw;
  height: 42vw;
  left: -12%;
  bottom: -8%;
  background: radial-gradient(ellipse at center, rgba(57, 255, 20, 0.16), transparent 68%);
  animation: waterA 18s ease-in-out infinite;
}

.ripples span:nth-child(2) {
  width: 58vw;
  height: 34vw;
  right: -10%;
  bottom: -4%;
  background: radial-gradient(ellipse at center, rgba(125, 255, 58, 0.12), transparent 68%);
  animation: waterB 24s ease-in-out infinite;
}

.ripples span:nth-child(3) {
  width: 42vw;
  height: 26vw;
  left: 28%;
  bottom: 6%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.07), transparent 70%);
  animation: waterA 20s ease-in-out infinite reverse;
}

.pads {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.pad {
  position: absolute;
  display: block;
  aspect-ratio: 1.4 / 1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 32% 32%, #4eaf55 0%, #1d7436 46%, #0d3f22 80%);
  box-shadow: inset 0 -10px 14px rgba(0, 0, 0, 0.28);
}

.pad::before {
  content: "";
  position: absolute;
  left: 47%;
  top: 6%;
  width: 9%;
  height: 48%;
  background: #0a120e;
  clip-path: polygon(35% 0, 70% 0, 100% 100%, 0 100%);
  transform: rotate(10deg);
}

.bloom {
  position: absolute;
  width: 18%;
  aspect-ratio: 1;
  right: 22%;
  top: 28%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6c8, #d7e56e 55%, #5c982c 100%);
}

.pad-a { width: 98px; left: 6%; top: 22%; animation: driftA 22s ease-in-out infinite; }
.pad-b { width: 154px; left: 12%; bottom: 14%; animation: driftB 27s ease-in-out infinite; }
.pad-c { width: 72px; right: 7%; top: 16%; animation: driftA 19s ease-in-out infinite reverse; }
.pad-d { width: 126px; right: 16%; bottom: 12%; animation: driftB 25s ease-in-out infinite; }
.pad-e { width: 54px; left: 44%; top: 9%; animation: driftA 16s ease-in-out infinite; }

.edge-label {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: clamp(20px, 3.2vw, 72px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.crown {
  width: 54px;
  height: 34px;
  margin: 0 0 8px 0.55em;
  background: linear-gradient(180deg, #e7ffb8 0%, #7dff3a 42%, #2c9a16 100%);
  clip-path: polygon(
    0% 76%,
    0% 40%,
    14% 64%,
    18% 16%,
    34% 58%,
    50% 0%,
    66% 58%,
    82% 16%,
    86% 64%,
    100% 40%,
    100% 76%,
    86% 76%,
    86% 100%,
    14% 100%,
    14% 76%
  );
  animation: crownPulse 3s ease-in-out infinite;
  position: relative;
}

.crown::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(125, 255, 58, 0.75), transparent 68%);
  z-index: -1;
  animation: crownGlow 3s ease-in-out infinite;
}

.title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.7rem, 9vw, 10.5rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  margin: 0;
}

.title span {
  display: inline-block;
  color: #f7f4ea;
  -webkit-text-stroke: 0.035em #123018;
  paint-order: stroke fill;
  text-shadow:
    0.055em 0.06em 0 #0e2616,
    0 0 0.28em rgba(57, 255, 20, 0.22);
  animation: letterIn 0.72s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.title span:nth-child(1) { animation-delay: 0.04s; }
.title span:nth-child(2) { animation-delay: 0.1s; }
.title span:nth-child(3) { animation-delay: 0.16s; }
.title span:nth-child(4) { animation-delay: 0.22s; }
.title span:nth-child(5) { animation-delay: 0.28s; }
.title span:nth-child(6) { animation-delay: 0.34s; }

.tagline {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--cream);
}

.tagline::after {
  content: "";
  display: block;
  width: 38%;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--frog), transparent);
}

.lede {
  max-width: 36ch;
  margin-top: 14px;
  color: var(--cream-dim);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.ca-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 18px;
}

.ca-inline code,
.ca-value {
  font-family: var(--mono);
  color: var(--cream);
}

.ca-inline code {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.hero-mascot {
  position: relative;
  width: min(100%, 680px);
  justify-self: end;
}

.pad-seat {
  width: 62%;
  left: 6%;
  bottom: -1%;
  z-index: 1;
  animation: driftB 15s ease-in-out infinite;
}

.rings {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 46%;
  aspect-ratio: 2.5 / 1;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(125, 255, 58, 0.38);
  border-radius: 50%;
  animation: ring 7.5s linear infinite;
}

.rings i:nth-child(2) { animation-delay: 2.5s; }
.rings i:nth-child(3) { animation-delay: 5s; }

.glow {
  position: absolute;
  left: 50%;
  bottom: 1%;
  width: 72%;
  height: 18%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(57, 255, 20, 0.55), rgba(57, 255, 20, 0.08) 46%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}

.mascot-bob {
  position: relative;
  z-index: 2;
  animation: bob 5.6s ease-in-out infinite;
}

.hero-frog {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  background: #050a08;
}

.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(110px, 20vh, 230px);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.waves span {
  position: absolute;
  left: -25%;
  width: 150%;
  height: 240px;
  border-radius: 50%;
}

.waves span:nth-child(1) {
  bottom: -168px;
  background: rgba(8, 28, 18, 0.72);
  animation: wave 16s ease-in-out infinite;
}

.waves span:nth-child(2) {
  bottom: -186px;
  background: rgba(57, 255, 20, 0.07);
  animation: wave 20s ease-in-out infinite reverse;
}

.waves span:nth-child(3) {
  bottom: -176px;
  background: rgba(6, 16, 12, 0.55);
  animation: wave 24s ease-in-out infinite;
}

.about,
.buy,
.contract,
.chart,
.community {
  position: relative;
  padding: clamp(76px, 12vh, 150px) 0;
  scroll-margin-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 12px);
}

.about::before,
.buy::before,
.contract::before,
.chart::before,
.community::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 255, 58, 0.4), transparent);
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 80px);
  margin-top: clamp(22px, 3vh, 40px);
}

.about-cols p,
.about-wide {
  font-size: clamp(1.02rem, 0.35vw + 0.98rem, 1.2rem);
}

.about-wide {
  max-width: 78ch;
  margin-top: 1.15em;
}

.signoff {
  margin-top: clamp(28px, 4vh, 52px);
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--frog-soft);
}

.signoff .dim {
  color: var(--cream);
}

.poster {
  margin: clamp(40px, 6vh, 80px) 0 0;
}

.poster img:first-child {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px 22px 0 0;
}

.poster-reflect {
  display: block;
  width: 100%;
  height: clamp(46px, 7vw, 88px);
  object-fit: cover;
  object-position: center bottom;
  transform: scaleY(-1);
  border-radius: 0 0 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
  pointer-events: none;
}

.frames-title {
  margin-top: clamp(40px, 6vh, 72px);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.scenes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.751fr;
  gap: clamp(12px, 1.3vw, 20px);
  margin-top: 18px;
  align-items: start;
}

.scene img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  background: #07140f;
}

.scene figcaption {
  margin-top: 8px;
  color: rgba(244, 241, 230, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pad-about {
  width: 140px;
  right: 3%;
  top: 18%;
  opacity: 0.85;
  animation: driftA 24s ease-in-out infinite;
  pointer-events: none;
}

.buy {
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(57, 255, 20, 0.07), transparent 55%),
    #0c1812;
}

.steps {
  list-style: none;
  padding: 0;
  margin-top: clamp(28px, 5vh, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.75), rgba(125, 255, 58, 0.25), rgba(57, 255, 20, 0.75), transparent);
}

.steps li {
  position: relative;
  z-index: 1;
}

.num {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--frog);
  color: #07140c;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 8px #0c1812, 0 0 0 9px rgba(57, 255, 20, 0.35);
}

.steps h3 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  margin-bottom: 8px;
}

.steps p {
  margin-bottom: 14px;
  max-width: 36ch;
}

.contract {
  background: #08110d;
}

.ca-box {
  margin-top: clamp(24px, 4vh, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
  padding: clamp(28px, 4vw, 64px);
  border-radius: 28px;
  border: 1px solid rgba(125, 255, 58, 0.28);
  background:
    radial-gradient(ellipse 40% 80% at 100% 100%, rgba(57, 255, 20, 0.08), transparent 60%),
    linear-gradient(180deg, #10261a 0%, #0a1610 100%);
}

.ca-value {
  margin: 12px 0 8px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  user-select: all;
}

.ca-note {
  margin: 0;
}

.ca-rule {
  display: block;
  width: min(240px, 70%);
  height: 2px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--silver), rgba(213, 221, 226, 0));
  position: relative;
}

.ca-rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--silver);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 22px 0 0 -2px var(--silver), 44px 0 0 -2px rgba(213, 221, 226, 0.7);
}

.copy-lg {
  min-width: 190px;
  min-height: 60px;
  padding-inline: 1.6rem;
  font-size: 1.05rem;
}

.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
}

.chart-shell {
  margin-top: clamp(22px, 4vh, 36px);
  height: clamp(480px, 68vh, 760px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(125, 255, 58, 0.22);
  background: #07110c;
}

.chart-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #07110c;
}

.community {
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(57, 255, 20, 0.08), transparent 70%),
    var(--pond);
}

.community-inner {
  position: relative;
  min-height: clamp(380px, 52vh, 560px);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 8px;
}

.community-mark {
  position: absolute;
  width: min(440px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.community-inner > :not(.community-mark) {
  position: relative;
  z-index: 1;
}

.community-inner .kicker {
  justify-content: center;
}

.community-inner p {
  max-width: 42ch;
  margin-bottom: 12px;
}

.x-btn svg {
  display: block;
}

.footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  background: #060d0a;
  border-top: 1px solid rgba(125, 255, 58, 0.16);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 28px;
  align-items: center;
}

.footer-id,
.legal {
  color: var(--cream-dim);
  margin: 0;
}

.footer-id {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.legal {
  grid-column: 1 / -1;
  font-size: 0.85rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  background: var(--frog);
  color: #07140c;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.js:not(.reduce) .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js:not(.reduce) .reveal.in {
  opacity: 1;
  transform: none;
}

.js:not(.reduce) .reveal-delay-1 { transition-delay: 0.1s; }
.js:not(.reduce) .reveal-delay-2 { transition-delay: 0.18s; }
.js:not(.reduce) .reveal-delay-3 { transition-delay: 0.26s; }

@keyframes letterIn {
  from { opacity: 0; transform: translateY(0.42em); }
  to { opacity: 1; transform: none; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes hop {
  0% { transform: translateY(0) scale(1); }
  38% { transform: translateY(-8px) scale(1.045); }
  62% { transform: translateY(-1px) scale(1.01); }
  100% { transform: translateY(-5px) scale(1.03); }
}

@keyframes ripple {
  to { transform: scale(18); opacity: 0; }
}

@keyframes crownPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.06); }
}

@keyframes crownGlow {
  0%, 100% { opacity: 0.28; transform: scale(0.92); }
  50% { opacity: 0.85; transform: scale(1.12); }
}

@keyframes spark {
  0% { opacity: 0; transform: scale(0.2); }
  35% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.4) translateY(-8px); }
}

@keyframes driftA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(18px, 12px, 0) rotate(5deg); }
}

@keyframes driftB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(3deg); }
  50% { transform: translate3d(-16px, 10px, 0) rotate(-4deg); }
}

@keyframes waterA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5%, -3%, 0) scale(1.08); }
}

@keyframes waterB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6%, 4%, 0) scale(1.1); }
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6%); }
}

@keyframes ring {
  0% { transform: scale(0.5); opacity: 0.55; }
  100% { transform: scale(2.15); opacity: 0; }
}

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-ghost:hover,
  .btn-tiny:hover {
    animation: hop 0.42s ease forwards;
  }

  .btn-primary:hover { background: var(--frog-soft); }
  .btn-ghost:hover { border-color: var(--frog-soft); color: var(--frog-soft); }
  .btn-tiny:hover { border-color: var(--frog); color: var(--frog); }

  .nav a:hover,
  .footer-links a:hover,
  .icon-btn:hover { color: var(--frog-soft); }

  .brand:hover .s1 { animation: spark 0.7s ease; }
  .brand:hover .s2 { animation: spark 0.7s ease 0.12s; }
  .brand:hover .s3 { animation: spark 0.7s ease 0.22s; }

  .scene img { transition: transform 0.6s ease; }
  .scene:hover img { transform: scale(1.035); }
}

@media (min-width: 1760px) and (min-height: 860px) {
  .edge-label {
    display: block;
    position: absolute;
    top: 50%;
    z-index: 2;
    margin: 0;
    writing-mode: vertical-rl;
    letter-spacing: 0.46em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 800;
    color: rgba(244, 241, 230, 0.38);
    pointer-events: none;
  }

  .edge-left {
    left: 26px;
    transform: translateY(-50%) rotate(180deg);
  }

  .edge-right {
    right: 26px;
    transform: translateY(-50%);
  }
}

@media (max-width: 1100px) {
  .scenes { grid-template-columns: 1fr 1fr; }
  .pad-about { display: none; }
}

@media (max-height: 820px) and (min-width: 861px) {
  .title { font-size: clamp(3.2rem, 8vh, 5.6rem); }
  .lede { margin-top: 8px; }
  .cta-row { margin-top: 14px; }
  .hero-mascot { width: min(100%, 52vh); }
  .pad-e { display: none; }
}

@media (max-width: 860px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .header-buy { display: inline-flex; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: calc(var(--header) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 8px 18px 16px;
    background: rgba(8, 16, 12, 0.97);
    border-bottom: 1px solid rgba(125, 255, 58, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    min-height: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-mascot {
    justify-self: center;
    width: min(78vw, 440px);
    order: 2;
  }

  .title { font-size: clamp(3.8rem, 18vw, 7rem); }

  .pad-c,
  .pad-e { display: none; }
}

@media (max-width: 860px) and (min-height: 700px) {
  .hero-grid {
    min-height: calc(100dvh - var(--header) - env(safe-area-inset-top, 0px) - 48px);
    align-content: space-between;
  }
}

@media (max-width: 800px) {
  .about-cols { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }

  .steps::before {
    top: 12px;
    bottom: 12px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(57, 255, 20, 0.75), rgba(57, 255, 20, 0.05));
  }

  .chart-shell {
    height: 70vh;
    min-height: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .scenes { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .ca-box { padding: 22px 18px; }
}

@media (max-width: 480px) {
  .header .brand-name { display: none; }
  .poster img:first-child,
  .poster-reflect,
  .scene img,
  .ca-box,
  .chart-shell { border-radius: 14px; }
  .poster-reflect { border-radius: 0 0 14px 14px; }
  .poster img:first-child { border-radius: 14px 14px 0 0; }
}

@media (max-width: 360px) {
  :root { --gutter: 24px; }
  .header-buy { padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .title span,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
