:root {
  --usdc: #2775ca;
  --usdc-bright: #3d8ee6;
  --usdc-soft: #d7e8f8;
  --navy: #0b1f3a;
  --navy-deep: #071525;
  --ink: #12233a;
  --muted: #5b738d;
  --paper: #eef4fa;
  --white: #ffffff;
  --line: rgba(11, 31, 58, 0.12);
  --line-strong: rgba(11, 31, 58, 0.22);
  --glow: rgba(39, 117, 202, 0.28);
  --header-h: 76px;
  --radius-os: 18px;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: Syne, "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow-os: 0 24px 60px rgba(11, 31, 58, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    linear-gradient(180deg, rgba(39, 117, 202, 0.06), transparent 28%),
    var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(39, 117, 202, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(39, 117, 202, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

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

#about,
#joke,
#chart,
#infrastructure,
#status {
  scroll-margin-top: 96px;
}

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

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

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

code {
  font-family: var(--font-mono);
}

button,
input {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Tape */
.tape {
  position: relative;
  z-index: 30;
  background: var(--navy);
  color: #cde3f7;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tape-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: ticker 42s linear infinite;
}

.tape-track span::before {
  content: "◆";
  margin-right: 36px;
  color: var(--usdc-bright);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.06);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  animation: logo-float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(39, 117, 202, 0.25));
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.brand-ticker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--usdc);
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  position: relative;
  color: var(--navy);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--usdc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 8px 20px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-weight: 650;
  font-size: 18px;
}

.mobile-menu .btn {
  text-align: center;
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--usdc-bright), var(--usdc));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 18px var(--glow);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--navy);
}

.btn-lg {
  min-height: 48px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-copy {
  min-width: 92px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
}

.btn-copy.is-copied {
  background: #1f8a4d;
}

/* Hero / OS window */
.hero {
  padding: 28px 0 72px;
}

.os-window {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-os);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-os);
}

.os-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 0 16px;
  background: linear-gradient(180deg, #132844, var(--navy));
  color: #d5e6f6;
}

.os-dots {
  display: flex;
  gap: 6px;
}

.os-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6f89a8;
}

.os-dots span:nth-child(1) { background: #ff6b6b; }
.os-dots span:nth-child(2) { background: #ffd56b; }
.os-dots span:nth-child(3) { background: #63d48a; }

.os-title,
.os-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.os-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.os-sep {
  opacity: 0.4;
}

.os-tab {
  color: #fff;
  background: rgba(39, 117, 202, 0.45);
  padding: 2px 8px;
  border-radius: 999px;
}

.os-meta {
  margin-left: auto;
  opacity: 0.75;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 62% 48%;
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 37, 0.55) 0%, rgba(7, 21, 37, 0.18) 42%, transparent 68%),
    linear-gradient(180deg, transparent 58%, rgba(7, 21, 37, 0.35));
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 48px));
  margin: 36px 0 0 36px;
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(7, 21, 37, 0.18);
  backdrop-filter: blur(14px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--usdc);
  margin-bottom: 14px;
}

.status-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ad07a;
  box-shadow: 0 0 0 0 rgba(58, 208, 122, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(58, 208, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 208, 122, 0); }
}

.hero h1,
.flow-section h2,
.joke-section h2,
.status-section h2,
.about-section h2,
.chart-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 84px);
  color: var(--navy);
}

.hero-ticker {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--usdc);
  letter-spacing: 0.08em;
}

.hero-punch {
  margin-top: 16px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--navy);
}

.hero-support {
  margin-top: 10px;
  color: var(--muted);
  max-width: 36ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ca-module {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: min(420px, calc(100% - 56px));
  margin: 0 28px 28px;
  padding: 16px 18px;
  background: rgba(7, 21, 37, 0.82);
  color: #e7f1fb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.ca-top,
.ca-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ca-label,
.ca-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb6cc;
}

.ca-row {
  margin: 10px 0 8px;
  flex-wrap: wrap;
}

#contract-address {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255, 210, 90, 0.45);
  color: #ffd25a;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

/* Section shared */
.section-head {
  margin-bottom: 36px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--usdc);
}

.kicker span {
  color: var(--navy);
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 16ch;
}

.lede {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 18px;
}

/* Flow */
.flow-section {
  padding: 40px 0 90px;
}

.flow {
  position: relative;
  padding: 18px 0 10px;
}

.flow-svg {
  display: block;
  width: 100%;
  height: 8px;
  margin-bottom: -44px;
}

.flow-rail {
  stroke: var(--usdc-soft);
  stroke-width: 2;
}

.flow-rail-draw {
  stroke: var(--usdc);
  stroke-width: 2;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.6s ease;
}

.flow.is-drawn .flow-rail-draw {
  stroke-dashoffset: 0;
}

.flow-stages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stage {
  position: relative;
  padding: 28px 22px 22px;
  min-height: 168px;
}

.stage::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--usdc);
  box-shadow: 0 0 0 6px var(--paper);
}

.stage-wallet {
  background: var(--white);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.stage-gas {
  background: linear-gradient(180deg, #f7fbff, #e4f0fb);
  border-left: 3px solid var(--usdc);
  font-variant-numeric: tabular-nums;
}

.stage-pool {
  background: var(--white);
  border-radius: 50% 50% 8px 8px / 18% 18% 8px 8px;
  border: 1px solid var(--usdc-soft);
  box-shadow: inset 0 -24px 30px rgba(39, 117, 202, 0.08);
}

.stage-meme {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-os);
}

.stage-meme .stage-val {
  color: #7ec2ff;
}

.stage-meme .stage-micro,
.stage-meme::before {
  color: #9fb6cc;
}

.stage-meme::before {
  background: #7ec2ff;
  border-color: var(--white);
  box-shadow: 0 0 0 6px var(--navy-deep);
}

.stage-key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.stage-val {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stage-micro {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.flow-landing {
  margin-top: 42px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
}

/* Joke / receipt */
.joke-section {
  padding: 20px 0 90px;
}

.joke-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.receipt {
  background: #fbfcfe;
  border: 1px dashed var(--line-strong);
  padding: 28px 28px 32px;
  box-shadow: 12px 12px 0 rgba(39, 117, 202, 0.12);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 31px,
    rgba(39, 117, 202, 0.06) 32px
  );
}

.receipt-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.receipt-brand,
.receipt-id,
.receipt-stamp,
.tx-from,
.tx-asset {
  font-family: var(--font-mono);
}

.receipt-brand {
  font-size: 13px;
  letter-spacing: 0.16em;
}

.receipt-id {
  font-size: 11px;
  color: var(--muted);
}

.receipt-stamp {
  max-width: 14ch;
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--usdc);
  border: 1px solid var(--usdc);
  padding: 6px 8px;
}

.receipt-rule {
  height: 1px;
  margin: 18px 0;
  background: repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 10px);
  opacity: 0.25;
}

.tx {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.tx-last {
  border-bottom: 0;
}

.tx-action {
  font-size: 16px;
}

.tx-asset {
  color: var(--usdc);
  font-weight: 600;
}

.receipt-verdict {
  margin-top: 10px;
}

.not-circle {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-decoration: line-through;
}

.is-circle-money {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.receipt-line {
  margin-top: 10px;
  font-size: 18px;
}

/* Status console */
.status-section {
  padding: 72px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(39, 117, 202, 0.22), transparent 28%),
    var(--navy-deep);
  color: #e8f2fb;
}

.section-head.invert .kicker span,
.section-head.invert h2 {
  color: var(--white);
}

.section-head.invert .lede {
  color: #9fb6cc;
}

.console {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 22, 38, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.console-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8eabc6;
}

.status-table {
  display: grid;
}

.status-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row.accent {
  background: rgba(39, 117, 202, 0.14);
}

.status-k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8eabc6;
}

.status-v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7cce0;
}

.ellipsis::after {
  content: "";
  animation: dots 1.4s steps(4, end) infinite;
}

@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

/* About */
.about-section {
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.9fr;
  gap: 32px 40px;
  align-items: start;
}

.about-grid .section-head {
  grid-column: 1 / 3;
}

.about-copy {
  display: grid;
  gap: 16px;
  font-size: 18px;
  color: #2d4560;
}

.about-copy blockquote {
  margin: 8px 0;
  padding: 18px 0 18px 20px;
  border-left: 3px solid var(--usdc);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.about-aside {
  justify-self: end;
  width: min(320px, 100%);
  text-align: center;
}

.about-logo {
  width: 100%;
  animation: logo-float 6s ease-in-out infinite;
}

.aside-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Chart */
.chart-section {
  padding: 0 0 90px;
}

.chart-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-os);
}

.chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f7fbff;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-toolbar .badge {
  color: #9a6b00;
  border-color: #e2c36a;
}

.chart-embed {
  position: relative;
  min-height: 460px;
  background: #f3f7fb;
}

.chart-embed iframe {
  width: 100%;
  height: 460px;
  border: 0;
}

.chart-embed.is-prelaunch iframe {
  opacity: 0.35;
}

.chart-embed:not(.is-prelaunch) .chart-overlay {
  display: none;
}

.chart-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(243, 247, 251, 0.2), rgba(243, 247, 251, 0.78));
}

.chart-overlay-kicker {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--usdc);
  margin-bottom: 8px;
}

.chart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d7e6f5;
  padding: 48px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 40px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 800;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.footer-punch {
  font-size: 22px;
  font-weight: 700;
}

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

.footer-links a:hover {
  color: #7ec2ff;
}

.footer-disclaimer {
  grid-column: 1 / -1;
  max-width: 72ch;
  font-size: 12px;
  line-height: 1.6;
  color: #8eabc6;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.14s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.js-ready .reveal {
  animation: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle,
  .mobile-menu:not([hidden]) {
    display: block;
  }

  .os-meta {
    display: none;
  }

  .hero-stage {
    min-height: 0;
    display: grid;
  }

  .hero-banner {
    position: relative;
    height: 240px;
    inset: auto;
  }

  .hero-veil {
    display: none;
  }

  .hero-panel {
    width: auto;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: var(--white);
  }

  .ca-module {
    align-self: stretch;
    width: auto;
    margin: 0 16px 16px;
  }

  .joke-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-grid .section-head {
    grid-column: auto;
  }

  .about-aside {
    justify-self: center;
  }

  .flow-svg {
    display: none;
  }

  .flow-stages {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 8px;
    border-left: 2px solid var(--usdc-soft);
  }

  .stage {
    margin: 0 0 14px 18px;
  }

  .stage::before {
    left: -29px;
    top: 28px;
    box-shadow: 0 0 0 6px var(--paper);
  }

  .stage-meme::before {
    box-shadow: 0 0 0 6px var(--paper);
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner {
    width: min(1180px, calc(100% - 24px));
  }

  .hero {
    padding-top: 16px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-cta,
  .chart-actions {
    display: grid;
  }

  .hero-cta .btn,
  .chart-actions .btn,
  .mobile-menu .btn {
    width: 100%;
  }

  .tx {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .receipt {
    padding: 22px 16px;
    box-shadow: 8px 8px 0 rgba(39, 117, 202, 0.12);
  }

  .section-head h2,
  .about-section h2 {
    max-width: none;
  }

  #contract-address {
    font-size: 18px;
  }

  .chart-embed,
  .chart-embed iframe {
    min-height: 360px;
    height: 360px;
  }
}

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

  .tape-track,
  .brand-logo,
  .about-logo,
  .status-light,
  .ellipsis::after,
  .reveal,
  .flow-rail-draw {
    animation: none !important;
    transition: none !important;
  }

  .js-ready .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .flow-rail-draw {
    stroke-dashoffset: 0;
  }

  .hero-banner {
    transform: none !important;
  }
}
