/* Theme lifted from robinhoodchain.blockscout.com (dark mode defaults):
   bg #101112, hero #000, accent rgba(204,255,0,1), hover #ADD907,
   ink-on-lime #1C180D, text rgba(255,255,255,.8), muted #878380,
   panels rgba(255,255,255,.06). MS Paint jank supplied separately. */

:root {
  --bg: #101112;
  --bg-hero: #000000;
  --panel: #1b1c1e;
  --panel-strong: #27292b;
  --line: rgba(255, 255, 255, 0.12);
  --lime: #ccff00;
  --lime-hover: #add907;
  --olive: #7e9e07;
  --ink-on-lime: #1c180d;
  --text: rgba(255, 255, 255, 0.8);
  --text-strong: #f7fafc;
  --muted: #878380;
  --red: #fc8181;
  --mono: "JetBrains Mono", monospace;
  --comic: "Comic Sans MS", "Comic Neue", "Trebuchet MS", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(204, 255, 0, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 255, 0, 0.028) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto;
}

::selection {
  background: var(--lime);
  color: var(--ink-on-lime);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: clip;
}

/* ---------- ms paint wale street skyline (full-page backdrop) ---------- */

.skyline {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  color: var(--lime);
  opacity: 0.34;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0, #000 30%);
}

.skyline .back rect {
  fill: rgba(255, 255, 255, 0.05);
}

.skyline .bld,
.skyline .billboard {
  fill: #0b0c0c;
  stroke: rgba(204, 255, 0, 0.45);
  stroke-width: 3;
  stroke-linejoin: miter;
}

.skyline .cols,
.skyline .ground {
  fill: none;
  stroke: rgba(204, 255, 0, 0.45);
  stroke-width: 3;
}

.skyline .ground {
  stroke: rgba(204, 255, 0, 0.3);
}

.skyline .glow {
  opacity: 0.3;
}

.skyline .lit {
  fill: currentColor;
  opacity: 0.85;
}

.skyline .flag {
  fill: rgba(204, 255, 0, 0.7);
}

.skyline text {
  fill: rgba(204, 255, 0, 0.75);
  font-family: var(--comic);
  font-weight: 700;
}

.skyline .tiny {
  font-size: 13px;
}

.skyline .dollar {
  font-size: 34px;
}

.skyline .beacon {
  fill: currentColor;
  animation: beacon-blink 2.4s steps(2, start) infinite;
}

@keyframes beacon-blink {
  0%,
  55% {
    opacity: 0.9;
  }
  60%,
  100% {
    opacity: 0.15;
  }
}

/* ---------- blockscout-style chain status strip ---------- */

.chain-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  padding: 9px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
}

.chain-strip strong {
  color: var(--lime);
  font-weight: 700;
}

.chain-strip .strip-right {
  margin-left: auto;
}

.up {
  color: var(--lime);
}

/* ---------- topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 17, 18, 0.92);
  backdrop-filter: blur(10px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink-on-lime);
  font-family: var(--comic);
  font-size: 20px;
  font-weight: 700;
  transform: rotate(-3deg);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  color: var(--text-strong);
  font-family: var(--comic);
  font-size: 17px;
}

.brand-copy small,
.section-kicker,
.eyebrow,
.contract-strip > span,
.stat-panel > span,
.order-book span,
.terminal-bar strong {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  background: var(--panel);
  color: var(--lime);
}

.nav-action {
  background: var(--lime);
  color: var(--ink-on-lime);
  font-weight: 800;
  transform: rotate(1deg);
  transition: background 140ms ease, transform 140ms ease;
}

.nav-action:hover {
  background: var(--lime-hover);
  transform: rotate(0deg);
}

/* ---------- hero (black, like the blockscout hero banner) ---------- */

.hero-bleed {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 78% 40%, rgba(204, 255, 0, 0.09), transparent 62%),
    rgba(0, 0, 0, 0.55);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 40px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 52px 0 56px;
}

.meme-stamp {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
  padding: 7px 13px;
  border: 2px solid var(--lime);
  border-radius: 3px 12px 4px 10px;
  color: var(--lime);
  font-family: var(--comic);
  font-size: 15px;
  font-weight: 700;
  transform: rotate(-2deg);
}

.meme-stamp small {
  font-size: 11px;
  color: var(--muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(204, 255, 0, 0.14);
}

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

/* keep bare text legible over the skyline backdrop */
h1,
h2,
.section-kicker,
.section-sub,
.eyebrow,
.hero-text,
.search-result,
.vault-copy p,
footer span {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--text-strong);
  font-family: var(--comic);
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.02;
  font-weight: 700;
  text-transform: lowercase;
}

h2 {
  margin-bottom: 14px;
  color: var(--text-strong);
  font-family: var(--comic);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.06;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  color: var(--text-strong);
  font-family: var(--comic);
  font-size: 19px;
}

.scribbled {
  position: relative;
  display: inline-block;
  color: var(--lime);
}

.scribble {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.28em;
  color: var(--lime);
}

.hero-text {
  max-width: 580px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.6;
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}

.button {
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button svg,
.icon-button svg,
.explorer-search > svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.button.primary {
  background: var(--lime);
  color: var(--ink-on-lime);
  transform: rotate(-0.8deg);
}

.button.primary:hover {
  background: var(--lime-hover);
  transform: rotate(0deg) translateY(-1px);
}

.button.secondary {
  border: 1.5px solid var(--line);
  background: var(--panel);
  color: var(--lime);
  transform: rotate(0.7deg);
}

.button.secondary:hover {
  border-color: var(--lime);
  transform: rotate(0deg) translateY(-1px);
}

.button.full {
  width: 100%;
}

/* ---------- fake explorer search (very blockscout) ---------- */

.explorer-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  min-height: 52px;
  padding: 6px 6px 6px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
}

.explorer-search:focus-within {
  border-color: var(--lime);
}

.explorer-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 13.5px;
  outline: none;
}

.explorer-search input::placeholder {
  color: var(--muted);
}

.explorer-search button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink-on-lime);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.explorer-search button:hover {
  background: var(--lime-hover);
}

.search-result {
  min-height: 22px;
  max-width: 560px;
  margin: 8px 0 14px;
  color: var(--lime);
  font-family: var(--comic);
  font-size: 14.5px;
}

/* ---------- contract strip ---------- */

.contract-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 6px 12px;
  max-width: 560px;
  padding: 12px 8px 12px 16px;
  border: 2px dashed rgba(204, 255, 0, 0.55);
  border-radius: 12px;
  background: var(--panel);
}

.contract-strip > span {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.verified {
  color: var(--lime);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

.contract-strip code {
  overflow: hidden;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 9px;
  background: var(--lime);
  color: var(--ink-on-lime);
  cursor: pointer;
}

.icon-button:hover {
  background: var(--lime-hover);
}

/* ---------- hero visual ---------- */

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border: 3px solid var(--lime);
  border-radius: 18px 6px 16px 8px;
  overflow: visible;
  transform: rotate(0.8deg);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px 4px 13px 6px;
}

.stonks-arrow {
  position: absolute;
  left: -54px;
  bottom: -30px;
  width: 190px;
  color: var(--lime);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
  transform: rotate(-4deg);
  pointer-events: none;
}

.doodle-note {
  fill: currentColor;
  font-family: var(--comic);
  font-size: 17px;
  font-weight: 700;
}

.doodle-note.red {
  fill: var(--red);
  font-size: 13px;
}

.quote-ticket {
  position: absolute;
  right: -14px;
  bottom: 26px;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 12px 16px;
  border: 2px solid var(--lime);
  border-radius: 4px 12px 5px 11px;
  background: var(--bg);
  transform: rotate(-4deg);
}

.quote-ticket span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-ticket strong {
  color: var(--lime);
  font-family: var(--comic);
  font-size: 22px;
}

/* ---------- ticker ---------- */

.ticker {
  border-block: 1px solid var(--line);
  background: var(--lime);
  color: var(--ink-on-lime);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 13px 0;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

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

/* ---------- shared section widths ---------- */

.dashboard,
.split-section,
.buy-section,
.vault,
.roadmap,
.closing {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

/* ---------- stat cards (blockscout stats grid) ---------- */

.dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 52px 0;
}

.stat-panel,
.feature-grid article,
.terminal-card,
.timeline article,
.allocation-row,
.steps li {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.stat-panel {
  min-height: 168px;
  padding: 20px;
}

.stat-panel:nth-child(2) {
  transform: rotate(0.6deg);
}

.stat-panel:nth-child(3) {
  transform: rotate(-0.6deg);
}

.stat-panel strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--lime);
  font-family: var(--comic);
  font-size: 34px;
  line-height: 1;
}

.stat-panel p,
.feature-grid p,
.steps li span,
.timeline p,
.vault-copy p,
.section-sub {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- features ---------- */

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  padding: 24px 0 76px;
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-grid article {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
  align-items: start;
  padding: 20px;
}

.feature-grid article:hover {
  border-color: rgba(204, 255, 0, 0.4);
}

.feature-grid svg {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px 4px 11px 5px;
  background: rgba(204, 255, 0, 0.08);
  color: var(--lime);
}

.feature-grid h3,
.feature-grid p {
  margin-bottom: 0;
}

/* ---------- buy / terminal ---------- */

.buy-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.terminal-card {
  padding: 16px;
  background: var(--bg-hero);
  transform: rotate(-0.8deg);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--panel-strong);
}

.terminal-bar span:first-child {
  background: var(--lime);
}

.terminal-bar strong {
  margin-left: auto;
}

.paint-chart {
  display: block;
  width: 100%;
  margin: 14px 0 4px;
  color: var(--lime);
}

.paint-chart .line-down {
  stroke: var(--red);
}

.paint-chart .doodle-note {
  fill: var(--lime);
  font-size: 14px;
}

.paint-chart .doodle-note.red {
  fill: var(--red);
}

.order-book {
  display: grid;
  gap: 10px;
  padding: 16px 0;
}

.order-book div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.order-book strong {
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 13.5px;
}

.order-book strong.up {
  color: var(--lime);
}

/* ---------- steps ---------- */

.steps ol {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  counter-reset: buy;
}

.steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 6px 18px;
  align-items: center;
  min-height: 74px;
  padding: 14px 16px;
  counter-increment: buy;
}

.steps li::before {
  content: counter(buy, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px 4px 9px 5px;
  background: var(--lime);
  color: var(--ink-on-lime);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.steps li strong {
  color: var(--text-strong);
  font-family: var(--comic);
  font-size: 17px;
}

.steps li span {
  grid-column: 2;
}

/* ---------- tokenomics ---------- */

.vault {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.allocation {
  display: grid;
  gap: 12px;
}

.allocation-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 64px;
  padding: 0 18px;
  overflow: hidden;
}

.allocation-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: linear-gradient(90deg, rgba(204, 255, 0, 0.16), rgba(204, 255, 0, 0.05));
  border-right: 2px solid rgba(204, 255, 0, 0.5);
}

.allocation-row span,
.allocation-row strong {
  position: relative;
}

.allocation-row span {
  color: var(--text);
  font-size: 14.5px;
}

.allocation-row strong {
  color: var(--lime);
  font-family: var(--comic);
  font-size: 24px;
}

/* ---------- roadmap ---------- */

.roadmap {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.timeline article {
  min-height: 210px;
  padding: 22px;
}

.timeline article:nth-child(2n) {
  transform: rotate(0.5deg);
}

.timeline article:nth-child(3) {
  transform: rotate(-0.6deg);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 9px 4px 10px 5px;
  background: var(--lime);
  color: var(--ink-on-lime);
  font-family: var(--mono);
  font-weight: 800;
}

/* ---------- closing ---------- */

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
  padding: 38px;
  border: 2px dashed rgba(204, 255, 0, 0.5);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 70% 90% at 12% 0%, rgba(204, 255, 0, 0.1), transparent 60%),
    rgba(0, 0, 0, 0.78);
}

.closing h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.closing .section-kicker {
  color: var(--lime);
}

.section-kicker {
  margin-bottom: 10px;
}

/* ---------- footer ---------- */

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .chain-strip .strip-right {
    display: none;
  }

  .hero,
  .split-section,
  .buy-section,
  .vault {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 520px);
    margin-top: 10px;
  }

  .stonks-arrow {
    left: -12px;
  }

  .dashboard,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buy-section,
  .vault,
  .roadmap {
    padding: 54px 0;
  }
}

@media (max-width: 640px) {
  .chain-strip {
    gap: 6px 18px;
    font-size: 10.5px;
  }

  .brand-copy small,
  .nav-action {
    display: none;
  }

  .hero,
  .dashboard,
  .split-section,
  .buy-section,
  .vault,
  .roadmap,
  .closing,
  footer {
    width: calc(100% - 28px);
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero-actions,
  .closing,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quote-ticket {
    right: 8px;
  }

  .dashboard,
  .timeline {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    grid-template-columns: 1fr;
  }

  .feature-grid svg {
    grid-row: auto;
    margin-bottom: 10px;
  }
}
