/* =========================================================
   Most Expensive Tabby Asset ($META)
   META corporate-tech × Robinhood Chain × expensive tabby
   ========================================================= */

:root {
  --rh-green: #00c805;
  --rh-green-dim: #00a004;
  --rh-green-soft: rgba(0, 200, 5, 0.14);
  --meta-blue: #0082fb;
  --meta-blue-bright: #4da3ff;
  --meta-blue-soft: rgba(0, 130, 251, 0.16);
  --bg: #06140c;
  --bg-deep: #030a06;
  --bg-elevated: #0b1c12;
  --bg-panel: rgba(10, 28, 18, 0.72);
  --line: rgba(232, 240, 234, 0.1);
  --line-strong: rgba(232, 240, 234, 0.18);
  --text: #eef4ef;
  --text-muted: #9aafa0;
  --text-dim: #6d8374;
  --gold: #d4af37;
  --danger: #ff5a5a;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 68px;
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0, 130, 251, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(0, 200, 5, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, #07180f 100%);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

em {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg-deep);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.accent-blue { color: var(--meta-blue-bright); }
.accent-green { color: var(--rh-green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(3, 10, 6, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(0, 200, 5, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-ticker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--rh-green);
  font-weight: 700;
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
}

.nav-desktop a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 650;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
  background: rgba(3, 10, 6, 0.95);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  padding: 0.85rem 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-weight: 650;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a:last-child {
  border-bottom: 0;
  margin-top: 0.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--rh-green);
  color: #041208;
  box-shadow: 0 0 0 1px rgba(0, 200, 5, 0.35), 0 10px 30px rgba(0, 200, 5, 0.18);
}

.btn-primary:hover {
  background: #17e01c;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--meta-blue);
  background: var(--meta-blue-soft);
}

.btn-x {
  background: #111;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding-inline: 0.95rem;
}

.btn-x:hover {
  border-color: var(--text-muted);
  background: #1a1a1a;
}

.icon-x {
  width: 14px;
  height: 14px;
}

.btn-buy {
  background: transparent;
  border: 1px dashed var(--line-strong);
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.75;
}

.btn-buy:hover {
  transform: none;
}

.btn-lg {
  min-height: 52px;
  padding-inline: 1.6rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-copy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-copy:disabled:hover {
  transform: none;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  padding: 2.5rem 1.25rem 3rem;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 5, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 130, 251, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
  opacity: 0.55;
}

.hero-chart {
  position: absolute;
  right: -5%;
  bottom: 8%;
  width: 70%;
  height: 45%;
  opacity: 0.35;
}

.chart-line {
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 4.5s var(--ease) forwards;
}

.chart-line-green { stroke: var(--rh-green); }
.chart-line-blue {
  stroke: var(--meta-blue);
  animation-delay: 0.4s;
  opacity: 0.7;
}

.infinity-deco {
  position: absolute;
  right: 12%;
  top: 18%;
  width: min(280px, 35vw);
  opacity: 0.28;
}

.infinity-deco path {
  stroke: var(--meta-blue-bright);
  stroke-width: 2.5;
  stroke-dasharray: 8 10;
  animation: infinityDrift 12s linear infinite;
}

.ticker-marks {
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 28px,
    rgba(238, 244, 239, 0.12) 28px 29px
  );
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 1.35rem;
}

.hero-copy h1 span {
  display: block;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 28ch;
  margin-bottom: 0.85rem;
}

.hero-tag {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
  color: var(--text);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.status-label {
  color: var(--text-dim);
}

.status-value {
  color: var(--text);
}

.status-pill--live {
  border-color: rgba(0, 200, 5, 0.35);
  background: var(--rh-green-soft);
  color: var(--rh-green);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rh-green);
  box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.5);
  animation: pulseDot 2s ease infinite;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.hero-glow {
  position: absolute;
  inset: 12% 8%;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 130, 251, 0.28), transparent 55%),
    radial-gradient(circle at 50% 60%, rgba(0, 200, 5, 0.18), transparent 60%);
  filter: blur(18px);
  z-index: 0;
}

.hero-mascot {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  animation: floatMascot 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}

.hero-caption {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(3, 10, 6, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 750;
  color: var(--text-muted);
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 130, 251, 0.08), rgba(0, 200, 5, 0.08));
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 750;
  color: var(--text-muted);
}

.marquee .sep {
  color: var(--rh-green);
  opacity: 0.7;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 18ch;
}

.section-head h2,
.lore-copy h2,
.cta-copy h2,
.contract-block h2 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-sub {
  margin-top: 0.85rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 36ch;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ---------- Lore ---------- */
.lore-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.lore-copy h2 {
  margin-bottom: 1.5rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  max-width: 28ch;
}

.not-list {
  margin-bottom: 1.5rem;
}

.not-list li {
  font-size: 1.05rem;
  font-weight: 650;
  padding: 0.35rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  max-width: 22ch;
}

.lore-close {
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.terminal-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--bg-panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.terminal-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.terminal-card__lights {
  display: flex;
  gap: 0.35rem;
}

.terminal-card__lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}

.terminal-card__lights i:nth-child(1) { background: #ff5f57; }
.terminal-card__lights i:nth-child(2) { background: #febc2e; }
.terminal-card__lights i:nth-child(3) { background: #28c840; }

.terminal-card__title {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 750;
  color: var(--text-dim);
}

.terminal-rows {
  margin: 0;
  padding: 0.35rem 0;
}

.terminal-rows > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.terminal-rows > div:last-child {
  border-bottom: 0;
}

.terminal-rows dt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 750;
  color: var(--text-dim);
  padding-top: 0.2rem;
}

.terminal-rows dd {
  margin: 0;
  font-weight: 650;
  word-break: break-word;
}

.priceless {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 200, 5, 0.35);
  background: var(--rh-green-soft);
  color: var(--rh-green);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 750;
}

.badge--warn {
  border-color: rgba(0, 130, 251, 0.4);
  background: var(--meta-blue-soft);
  color: var(--meta-blue-bright);
}

/* ---------- Compare ---------- */
.compare-grid {
  display: grid;
  gap: 1rem;
}

.compare-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
  overflow: hidden;
}

.compare-card h3 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.compare-card ul {
  display: grid;
  gap: 0.75rem;
}

.compare-card li {
  font-size: 1.15rem;
  font-weight: 650;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.compare-card--platform {
  color: var(--text-muted);
  border-color: rgba(0, 130, 251, 0.25);
  background: linear-gradient(160deg, rgba(0, 130, 251, 0.08), transparent 55%);
}

.compare-card--tabby {
  border-color: rgba(0, 200, 5, 0.35);
  background: linear-gradient(160deg, rgba(0, 200, 5, 0.1), transparent 55%);
}

.compare-card__glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 200, 5, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.compare-grid.is-hovered .compare-card--platform {
  opacity: 0.45;
  transform: scale(0.97);
  filter: grayscale(0.35);
}

.compare-grid.is-hovered .compare-card--tabby {
  transform: scale(1.03);
  border-color: var(--rh-green);
  box-shadow: 0 20px 60px rgba(0, 200, 5, 0.12);
}

.compare-grid.is-hovered .compare-card--tabby .compare-card__glow {
  opacity: 1;
}

/* ---------- Feed ---------- */
.feed {
  --feed-tint: var(--meta-blue);
  --feed-tint-soft: var(--meta-blue-soft);
  transition: background 0.6s var(--ease);
  background: linear-gradient(180deg, transparent, rgba(0, 130, 251, 0.05) 30%, rgba(0, 200, 5, 0.06) 100%);
}

.feed.is-green {
  --feed-tint: var(--rh-green);
  --feed-tint-soft: var(--rh-green-soft);
}

.feed-accent {
  color: var(--feed-tint);
  transition: color 0.5s;
}

.feed-stack {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.feed-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  transition: border-color 0.4s, background 0.4s, transform 0.35s var(--ease);
}

.feed-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--feed-tint) 40%, transparent);
}

.feed-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.feed-card__meta strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.feed-card__meta span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--meta-blue-soft);
  color: var(--meta-blue-bright);
  border: 1px solid rgba(0, 130, 251, 0.35);
}

.feed-avatar--hood {
  background: var(--rh-green-soft);
  color: var(--rh-green);
  border-color: rgba(0, 200, 5, 0.35);
}

.feed-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 200, 5, 0.4);
}

.feed-card p {
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.4;
}

.feed-card--final {
  border-color: rgba(0, 200, 5, 0.35);
  background:
    linear-gradient(180deg, rgba(0, 200, 5, 0.1), rgba(0, 0, 0, 0.15)),
    rgba(8, 24, 14, 0.9);
}

.feed-mascot {
  margin-top: 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

/* ---------- Index ---------- */
.index-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.index-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
  background: rgba(255, 255, 255, 0.025);
}

.index-item__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.index-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 750;
  color: var(--text-dim);
}

.index-value {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rh-green-dim), var(--rh-green));
  transition: width 1.2s var(--ease);
}

.meter--muted .meter-fill {
  background: linear-gradient(90deg, #445, #778);
}

.is-visible .meter-fill {
  width: var(--fill);
}

.meter-fill--pulse {
  box-shadow: 0 0 12px rgba(0, 200, 5, 0.45);
}

.gauge {
  position: relative;
  width: 120px;
  margin: 0 auto;
}

.gauge svg {
  width: 100%;
  display: block;
}

.gauge-track {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
  stroke-linecap: round;
}

.gauge-fill {
  stroke: var(--meta-blue-bright);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 1.2s var(--ease);
}

.is-visible .gauge-fill {
  stroke-dashoffset: 0;
}

.gauge-label {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--meta-blue-bright);
}

.sparkline {
  height: 60px;
}

.sparkline svg {
  width: 100%;
  height: 100%;
}

.sparkline path {
  stroke: var(--rh-green);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.6s var(--ease);
}

.is-visible .sparkline path {
  stroke-dashoffset: 0;
}

/* ---------- Contract ---------- */
.contract-block {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(0, 130, 251, 0.08), transparent 40%),
    linear-gradient(315deg, rgba(0, 200, 5, 0.08), transparent 35%),
    rgba(6, 18, 11, 0.9);
  overflow: hidden;
}

.contract-block__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--meta-blue), var(--rh-green));
}

.contract-block__head {
  margin-bottom: 1.5rem;
}

.contract-display {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(238, 244, 239, 0.22);
  background: rgba(0, 0, 0, 0.35);
  margin-bottom: 1.25rem;
}

.contract-value {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--meta-blue-bright);
  word-break: break-all;
  overflow-wrap: anywhere;
}

.contract-meta {
  display: grid;
  gap: 0.85rem;
}

.contract-meta p {
  color: var(--text-muted);
  max-width: 36ch;
}

/* ---------- Chart ---------- */
.chart-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: var(--shadow);
}

.chart-frame__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

.chart-placeholder {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  overflow: hidden;
}

.chart-placeholder__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.chart-placeholder__lines {
  position: absolute;
  inset: 15% 5% 20%;
  width: 90%;
  height: 65%;
  opacity: 0.25;
}

.chart-placeholder__lines path {
  stroke: var(--rh-green);
  stroke-width: 2;
}

.chart-placeholder__lines path:last-child {
  stroke: var(--meta-blue);
  opacity: 0.7;
}

.chart-placeholder__copy {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.chart-offline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  box-shadow: 0 0 0 4px rgba(157, 175, 160, 0.12);
}

.chart-placeholder__copy strong {
  letter-spacing: 0.14em;
  font-size: 0.85rem;
}

.chart-placeholder__copy p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* Responsive iframe shell for future Dexscreener embed */
.chart-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  background: #000;
}

.chart-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Final CTA ---------- */
.cta-section {
  padding-bottom: 4rem;
}

.cta-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.25rem 1.35rem;
  background:
    radial-gradient(600px 280px at 85% 50%, rgba(0, 200, 5, 0.12), transparent 60%),
    radial-gradient(500px 240px at 15% 30%, rgba(0, 130, 251, 0.1), transparent 55%),
    rgba(4, 14, 9, 0.85);
}

.cta-ticker {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--rh-green);
}

.cta-name {
  margin: 0.35rem 0 1.5rem;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--text-muted);
}

.cta-visual {
  display: grid;
  place-items: center;
}

.cta-logo {
  width: min(280px, 70vw);
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: floatMascot 7s ease-in-out infinite;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.25rem 3rem;
  background: rgba(0, 0, 0, 0.28);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  font-size: 0.95rem;
}

.footer-brand span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-x {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  width: fit-content;
}

.footer-x:hover {
  color: var(--rh-green);
}

.disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  max-width: 62ch;
  line-height: 1.5;
}

/* ---------- Animations ---------- */
@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes infinityDrift {
  to { stroke-dashoffset: -120; }
}

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

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(0, 200, 5, 0); }
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .header-inner {
    padding-inline: 1.75rem;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  .hero {
    padding: 3.5rem 1.75rem 4rem;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .lore-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .compare-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-item--wide {
    grid-column: 1 / -1;
  }

  .contract-block {
    padding: 2.5rem 2rem;
  }

  .cta-grid {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 3rem 2.5rem;
  }

  .section {
    padding: 6.5rem 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    width: min(100%, 560px);
  }

  .index-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .index-item {
    grid-column: span 2;
  }

  .index-item--wide {
    grid-column: span 6;
  }

  .btn-x span {
    display: inline;
  }
}

@media (max-width: 480px) {
  .brand-name {
    max-width: 140px;
  }

  .btn-x span {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 3.4rem);
  }

  .chart-placeholder {
    min-height: 280px;
  }
}

/* ---------- Reduced motion / touch ---------- */
@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;
  }

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

  .marquee-track {
    animation: none;
  }
}

body.is-touch .hero-mascot,
body.is-touch .cta-logo {
  animation: none;
}

body.is-touch .compare-grid.is-hovered .compare-card--platform,
body.is-touch .compare-grid.is-hovered .compare-card--tabby {
  transform: none;
}
