:root {
  color-scheme: dark;
  --bg: #09110b;
  --bg-soft: #111d12;
  --surface: rgba(18, 32, 19, 0.78);
  --surface-strong: rgba(23, 42, 23, 0.92);
  --text: #f2f7e8;
  --muted: #b8c6ad;
  --accent: #a7f044;
  --accent-hot: #52ff8a;
  --accent-dark: #20350f;
  --line: rgba(242, 247, 232, 0.16);
  --shadow: rgba(3, 10, 4, 0.55);
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 4%, rgba(82, 255, 138, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(167, 240, 68, 0.18), transparent 24rem),
    linear-gradient(135deg, #071009 0%, var(--bg) 42%, #152317 100%);
  color: var(--text);
  font-family: var(--font);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.arrow-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

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

.flying-arrow {
  position: absolute;
  left: -180px;
  width: 118px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0 8%, #5b351b 8% 82%, var(--accent) 82% 100%);
  filter: drop-shadow(0 0 12px rgba(82, 255, 138, 0.34));
  opacity: 0;
  transform: rotate(-10deg);
  animation: arrow-flight 8.6s cubic-bezier(0.22, 0.76, 0.22, 1) infinite;
}

.flying-arrow::before,
.flying-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.flying-arrow::before {
  right: -2px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 16px solid var(--accent);
}

.flying-arrow::after {
  left: 0;
  width: 20px;
  height: 16px;
  background:
    linear-gradient(135deg, transparent 0 38%, #d7b687 38% 56%, transparent 56%),
    linear-gradient(45deg, transparent 0 38%, #d7b687 38% 56%, transparent 56%);
}

.arrow-one {
  top: 24%;
}

.arrow-two {
  top: 42%;
  animation-delay: 2.9s;
  animation-duration: 10.5s;
  transform: rotate(-7deg) scale(0.82);
}

.arrow-three {
  top: 70%;
  animation-delay: 5.7s;
  animation-duration: 9.4s;
  transform: rotate(-13deg) scale(0.7);
}

.arrow-four {
  top: 58%;
  animation-delay: 7.1s;
  animation-duration: 12s;
  transform: rotate(-4deg) scale(0.9);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(9, 17, 11, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.nav-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent);
  color: #102008;
  font-size: 0.82rem;
  box-shadow: 0 12px 30px rgba(82, 255, 138, 0.22);
}

.nav {
  justify-self: center;
  gap: 0.25rem;
  padding: 0.28rem;
  border: 1px solid rgba(82, 255, 138, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(82, 255, 138, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(29, 52, 25, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 36px rgba(3, 10, 4, 0.18);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.95rem;
  border-radius: 999px;
  color: color-mix(in srgb, var(--text), var(--muted) 34%);
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(82, 255, 138, 0.2), rgba(167, 240, 68, 0.07));
  opacity: 0;
  transition: opacity 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: -90% auto -90% -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-20deg) translateX(-120%);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(82, 255, 138, 0.12);
}

.nav a:hover::before {
  opacity: 1;
}

.nav a:hover::after {
  transform: skewX(-20deg) translateX(430%);
}

.nav a:focus-visible,
.nav-cta:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.footer a {
  transition: color 180ms ease;
}

.footer a:hover {
  color: var(--text);
}

.nav-cta {
  position: relative;
  overflow: hidden;
  justify-self: end;
  min-height: 46px;
  padding: 0 1.18rem;
  border: 1px solid rgba(242, 247, 232, 0.18);
  border-radius: 999px;
  color: #102008;
  font-weight: 900;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(135deg, var(--accent-hot), var(--accent) 58%, #73ad21);
  box-shadow: 0 14px 36px rgba(82, 255, 138, 0.2), inset 0 -2px 0 rgba(16, 32, 8, 0.18);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease, border-color 200ms ease;
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -40%;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: skewX(-20deg) translateX(-120%);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(242, 247, 232, 0.32);
  box-shadow: 0 22px 48px rgba(82, 255, 138, 0.28), inset 0 -2px 0 rgba(16, 32, 8, 0.2);
}

.nav-cta:hover::after {
  transform: skewX(-20deg) translateX(420%);
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: calc(100dvh - 72px);
  padding: clamp(2.2rem, 6vw, 5rem) 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 1.2rem;
  padding: 0.52rem 0.72rem;
  border: 1px solid rgba(159, 211, 74, 0.38);
  border-radius: 999px;
  background: rgba(159, 211, 74, 0.1);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10.4ch;
  margin-bottom: 1.1rem;
  font-size: clamp(4.2rem, 8vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: -0.068em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5.8vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 31rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.chain-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: -0.5rem 0 1.65rem;
}

.chain-strip span {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.72rem;
  border: 1px solid rgba(82, 255, 138, 0.28);
  border-radius: 999px;
  background: rgba(82, 255, 138, 0.075);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: chip-pulse 3.2s ease-in-out infinite;
}

.chain-strip span:nth-child(2) {
  animation-delay: 0.4s;
}

.chain-strip span:nth-child(3) {
  animation-delay: 0.8s;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button span {
  position: relative;
  z-index: 2;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 48%);
  opacity: 0.55;
  pointer-events: none;
}

.button::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -50%;
  z-index: 1;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  transform: skewX(-20deg) translateX(-130%);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button:hover::after {
  transform: skewX(-20deg) translateX(520%);
}

.button-primary {
  border: 1px solid rgba(242, 247, 232, 0.18);
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(135deg, var(--accent-hot), var(--accent) 58%, #73ad21);
  color: #102008;
  box-shadow: 0 18px 38px rgba(82, 255, 138, 0.22), inset 0 -2px 0 rgba(16, 32, 8, 0.18);
}

.button-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 28px 54px rgba(82, 255, 138, 0.3), inset 0 -2px 0 rgba(16, 32, 8, 0.2);
}

.button-secondary {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.button-secondary:hover {
  transform: translateY(-3px) scale(1.012);
  border-color: rgba(159, 211, 74, 0.5);
  background: rgba(82, 255, 138, 0.1);
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(82, 255, 138, 0.16), transparent 34%),
    var(--surface);
  box-shadow: 0 36px 80px var(--shadow), 0 0 0 1px rgba(82, 255, 138, 0.1);
  transform: rotate(1.5deg);
  animation: hero-float 7s ease-in-out infinite;
}

.hero-media::before {
  content: "ROBINHOOD CHAIN";
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1;
  padding: 0.48rem 0.66rem;
  border: 1px solid rgba(242, 247, 232, 0.26);
  border-radius: 999px;
  background: rgba(9, 17, 11, 0.68);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hero-media::after,
.portrait-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
}

.hero-media img {
  width: 100%;
  min-height: 460px;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.lore {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(1rem, 5vw, 5rem);
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.portrait-panel {
  position: relative;
  overflow: hidden;
  max-width: 360px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 28px 68px var(--shadow);
}

.portrait-panel img {
  aspect-ratio: 1;
  object-fit: cover;
}

.lore-copy {
  max-width: 760px;
  padding-bottom: 1rem;
}

.lore-copy p,
.protocol-copy p,
.token-copy p,
.join-inner p {
  max-width: 47rem;
  font-size: 1.05rem;
}

.protocol {
  padding: clamp(2rem, 7vw, 6rem) 0;
}

.protocol-copy {
  max-width: 860px;
  margin-bottom: clamp(1.2rem, 4vw, 2rem);
}

.protocol-copy h2 {
  max-width: 11ch;
  letter-spacing: -0.055em;
}

.protocol-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1fr;
  gap: 1rem;
}

.protocol-card {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(82, 255, 138, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(82, 255, 138, 0.11), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow: 0 22px 58px rgba(3, 10, 4, 0.25);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, box-shadow 260ms ease;
}

.protocol-card::before {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-hot), transparent);
  opacity: 0.58;
}

.protocol-card::after {
  content: "wallet cluster";
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  color: rgba(242, 247, 232, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.protocol-card:hover {
  transform: translateY(-6px);
  border-color: rgba(82, 255, 138, 0.38);
  box-shadow: 0 30px 70px rgba(3, 10, 4, 0.34), 0 0 0 1px rgba(82, 255, 138, 0.08);
}

.protocol-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 2rem;
  border: 1px solid rgba(82, 255, 138, 0.28);
  border-radius: 999px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.protocol-card p {
  margin-bottom: 0;
}

.meme-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.meme-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(82, 255, 138, 0.055), transparent 42%),
    var(--surface);
  box-shadow: 0 22px 58px rgba(3, 10, 4, 0.28);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, box-shadow 260ms ease;
}

.meme-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 18%) var(--my, 12%), rgba(82, 255, 138, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.meme-card:hover {
  transform: translateY(-6px);
  border-color: rgba(82, 255, 138, 0.34);
  box-shadow: 0 30px 70px rgba(3, 10, 4, 0.34), 0 0 0 1px rgba(82, 255, 138, 0.08);
}

.meme-card:hover::after {
  opacity: 1;
}

.meme-card.wide {
  grid-row: span 2;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.2rem;
  min-height: 560px;
  background:
    linear-gradient(145deg, rgba(82, 255, 138, 0.17), rgba(255, 255, 255, 0.04)),
    var(--surface);
}

.meme-card.wide img {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 520px;
  max-height: 430px;
  margin: 0 auto;
  border-radius: var(--radius);
  object-fit: contain;
}

.card-kicker,
.join-label {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.token {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.token-list {
  display: grid;
  gap: 0.9rem;
}

.token-list div {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(82, 255, 138, 0.07), transparent 46%),
    rgba(255, 255, 255, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.token-list div:hover {
  transform: translateX(6px);
  border-color: rgba(82, 255, 138, 0.34);
  background:
    linear-gradient(90deg, rgba(82, 255, 138, 0.13), transparent 52%),
    rgba(255, 255, 255, 0.055);
}

.token-list span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.token-list strong {
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.join {
  padding: clamp(2rem, 7vw, 6rem) 0 clamp(5rem, 10vw, 8rem);
}

.join-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid rgba(159, 211, 74, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(82, 255, 138, 0.22), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--surface-strong);
  box-shadow: 0 35px 90px var(--shadow);
}

.join-inner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 140deg, transparent, rgba(82, 255, 138, 0.12), transparent 32%);
  animation: slow-spin 12s linear infinite;
  pointer-events: none;
}

.join-inner::after {
  content: "SEND";
  position: absolute;
  right: -0.12em;
  bottom: -0.28em;
  color: rgba(242, 247, 232, 0.055);
  font-size: clamp(7rem, 21vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.join-inner > * {
  position: relative;
  z-index: 1;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrow-flight {
  0% {
    opacity: 0;
    translate: -12vw 0;
  }
  8% {
    opacity: 0.92;
  }
  58% {
    opacity: 0.92;
  }
  74% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    translate: 130vw -18vh;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: rotate(1.5deg) translateY(0);
  }
  50% {
    transform: rotate(0.4deg) translateY(-8px);
  }
}

@keyframes chip-pulse {
  0%,
  100% {
    border-color: rgba(82, 255, 138, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 rgba(82, 255, 138, 0);
  }
  50% {
    border-color: rgba(82, 255, 138, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 26px rgba(82, 255, 138, 0.16);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #eef5e8;
    --bg-soft: #dfead7;
    --surface: rgba(246, 250, 240, 0.78);
    --surface-strong: rgba(239, 247, 230, 0.96);
    --text: #172112;
    --muted: #52624a;
    --accent: #5d871d;
    --accent-hot: #1fa95f;
    --accent-dark: #dbeac7;
    --line: rgba(23, 33, 18, 0.16);
    --shadow: rgba(41, 64, 34, 0.18);
  }

  body {
    background:
      radial-gradient(circle at 18% 4%, rgba(93, 135, 29, 0.18), transparent 28rem),
      radial-gradient(circle at 88% 18%, rgba(31, 169, 95, 0.2), transparent 24rem),
      linear-gradient(135deg, #f3f8ee 0%, var(--bg) 48%, #dfead7 100%);
  }

  .site-header {
    background: rgba(238, 245, 232, 0.78);
  }

  .button-primary,
  .brand-mark {
    color: #f8fbf3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .arrow-field {
    display: none;
  }

  .hero-media {
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  h1 {
    max-width: 7.5ch;
    font-size: clamp(3.7rem, 18vw, 6rem);
  }

  .hero-media {
    transform: none;
    border-radius: 16px;
  }

  .hero-media img {
    min-height: auto;
    aspect-ratio: 16 / 10.8;
    object-fit: cover;
  }

  .lore {
    align-items: start;
  }

  .portrait-panel {
    max-width: 300px;
    margin: 0 auto;
    order: 2;
  }

  .lore-copy {
    order: 1;
    padding-bottom: 0;
  }

  .meme-card.wide img {
    max-height: 360px;
    width: 100%;
    object-fit: contain;
    object-position: center;
  }

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

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

  .meme-card.wide {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .arrow-field {
    display: none;
  }

  .site-header {
    min-height: 64px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 0.85rem;
  }

  .section-shell,
  .footer {
    width: min(100% - 1rem, 1180px);
  }

  .hero {
    gap: 1rem;
    padding-top: 2rem;
  }

  h2 {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }

  .protocol-copy h2 {
    max-width: 9ch;
    letter-spacing: -0.042em;
  }

  .lore,
  .token {
    padding-block: 4rem;
  }

  .lore {
    gap: 1.5rem;
  }

  .portrait-panel {
    max-width: min(280px, 82vw);
  }

  .meme-card.wide {
    min-height: auto;
  }

  .meme-card.wide img {
    max-height: 300px;
  }

  .token-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer {
    flex-direction: column;
  }
}