:root {
  --green: #00c805;
  --green-dark: #06150c;
  --green-mid: #0e3b21;
  --acid: #dfff3a;
  --orange: #ff6a1a;
  --orange-soft: #ffb36b;
  --black: #050705;
  --ink: #0b120d;
  --muted: #637067;
  --paper: #f4f7ea;
  --white: #ffffff;
  --line: rgba(5, 7, 5, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg, rgba(5, 7, 5, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection {
  color: var(--black);
  background: var(--acid);
}

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

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

button,
.btn,
.nav-cta {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.76rem 1rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

button:hover,
.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0.8rem;
  left: 50%;
  width: min(1120px, calc(100% - 1.2rem));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  color: var(--white);
  background: rgba(5, 7, 5, 0.76);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.6rem;
  padding-right: 0.35rem;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1;
}

.brand-lockup img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  object-fit: cover;
}

nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

nav a {
  padding: 0.62rem 0.75rem;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta,
.primary {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
}

.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero {
  min-height: 88svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  padding: 7.25rem 6vw 2.6rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.97) 0%, rgba(5, 7, 5, 0.86) 39%, rgba(5, 7, 5, 0.28) 69%, rgba(5, 7, 5, 0.1) 100%),
    url("assets/robin-in-hood.png") right center / min(62vw, 820px) no-repeat,
    var(--green);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 74px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--green) 0 38px,
    var(--acid) 38px 56px,
    var(--orange) 56px 86px,
    var(--black) 86px 104px
  );
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 7px 7px;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  width: min(760px, 100%);
  font-size: 6.8rem;
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--acid);
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.35);
}

.hero-line {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: var(--orange-soft);
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.22;
}

.hero-subline {
  max-width: 610px;
  margin: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-ledger {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  margin-top: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.hero-ledger div {
  min-height: 88px;
  padding: 0.95rem;
  background: rgba(5, 7, 5, 0.66);
}

.hero-ledger span,
.intel-panel span,
.token-grid span,
.quote-card span,
.steps span,
.roadmap span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-ledger strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--white);
  font-size: 1.04rem;
  line-height: 1.15;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--acid);
}

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

.ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1.6rem;
  color: var(--black);
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
}

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

.section,
.split-section {
  padding: 5.25rem 6vw;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section h2,
.split-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.75rem;
  line-height: 1.02;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.story-section {
  background:
    linear-gradient(135deg, rgba(0, 200, 5, 0.12) 0 34%, transparent 34%),
    var(--paper);
}

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

.story-grid,
.intel-layout,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.story-copy {
  max-width: 790px;
  display: grid;
  gap: 1rem;
}

.story-copy p,
.split-copy p,
.intel-copy p,
.roadmap p {
  color: var(--muted);
}

.quote-card {
  min-height: 290px;
  display: grid;
  align-content: end;
  padding: 1.35rem;
  border: 1px solid var(--black);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 200, 5, 0.75), rgba(5, 7, 5, 0.88)),
    url("assets/robin-in-hood.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.quote-card strong {
  display: block;
  max-width: 360px;
  margin-top: 0.65rem;
  color: var(--acid);
  font-size: 2.25rem;
  line-height: 0.96;
  text-transform: uppercase;
}

.split-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.95), rgba(5, 7, 5, 0.82)),
    repeating-linear-gradient(135deg, rgba(0, 200, 5, 0.2) 0 14px, transparent 14px 28px);
}

.split-section h2 {
  color: var(--white);
}

.split-copy {
  max-width: 640px;
}

.split-copy p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.in-stack {
  display: grid;
  gap: 0.7rem;
}

.in-stack div {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.in-stack span {
  color: var(--acid);
  font-size: 3rem;
  font-weight: 950;
  line-height: 0.9;
}

.in-stack p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap li {
  min-height: 220px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(5, 7, 5, 0.07);
}

.roadmap span {
  color: var(--orange);
}

h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.22rem;
  line-height: 1.16;
}

.chain-section {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5, 7, 5, 0.96), rgba(6, 21, 12, 0.96)),
    repeating-linear-gradient(90deg, rgba(0, 200, 5, 0.12) 0 1px, transparent 1px 42px);
}

.chain-section h2 {
  color: var(--white);
}

.intel-copy {
  display: grid;
  gap: 1rem;
  max-width: 780px;
  font-size: 1.08rem;
}

.intel-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.intel-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid rgba(0, 200, 5, 0.26);
  border-radius: 8px;
  background: rgba(13, 32, 21, 0.9);
  box-shadow: var(--shadow);
}

.intel-panel div {
  min-height: 132px;
  padding: 1.15rem;
  border-right: 1px solid rgba(0, 200, 5, 0.16);
  border-bottom: 1px solid rgba(0, 200, 5, 0.16);
}

.intel-panel strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--acid);
  font-size: 2rem;
  line-height: 1;
}

.ca-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin: 1.6rem 0 0.9rem;
}

.ca-box code {
  min-height: 56px;
  display: flex;
  align-items: center;
  overflow: auto;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(5, 7, 5, 0.24);
  border-radius: 8px;
  color: var(--black);
  background: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  white-space: nowrap;
}

.ca-box button {
  min-width: 98px;
  color: var(--white);
  background: var(--black);
}

.ca-box button.copied {
  color: var(--black);
  background: var(--green);
}

.microcopy {
  color: #667166;
  font-size: 0.88rem;
}

.roadmap-section {
  background: var(--paper);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.roadmap li {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.roadmap li::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--acid), var(--orange));
}

.roadmap strong {
  display: block;
  margin: 1.8rem 0 0.65rem;
  font-size: 1.2rem;
}

.final-callout {
  min-height: 58svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  padding: 5.25rem 6vw;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.96), rgba(5, 7, 5, 0.64), rgba(5, 7, 5, 0.1)),
    url("assets/robin-in-hood.png") right center / min(54vw, 640px) no-repeat,
    var(--green);
}

.final-callout h2 {
  max-width: 820px;
  margin: 0;
  color: var(--acid);
  font-size: 4.7rem;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.34);
}

.final-callout p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.final-callout .ca-box {
  width: min(760px, 100%);
  margin: 0.7rem 0 0.2rem;
}

.final-callout .microcopy {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 6vw;
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  font-size: 0.9rem;
}

footer div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-weight: 950;
}

footer div span {
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--acid);
  font-size: 0.78rem;
}

footer p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.64);
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    min-height: 86svh;
    align-items: start;
    padding: 7rem 1.2rem 16rem;
    background:
      linear-gradient(180deg, rgba(5, 7, 5, 0.96) 0%, rgba(5, 7, 5, 0.76) 48%, rgba(5, 7, 5, 0.16) 100%),
      url("assets/robin-in-hood.png") center bottom / min(118vw, 620px) no-repeat,
      var(--green);
  }

  .hero h1 {
    font-size: 4.85rem;
  }

  .hero-line {
    max-width: 540px;
    font-size: 1.28rem;
  }

  .hero-subline {
    max-width: 520px;
  }

  .hero-ledger,
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .intel-layout,
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 0.5rem;
    width: calc(100% - 0.8rem);
    display: flex;
    justify-content: space-between;
    padding: 0.45rem;
    min-height: 52px;
  }

  .brand-lockup {
    flex: 1 1 auto;
    gap: 0.5rem;
    padding-right: 0.35rem;
  }

  .brand-lockup img {
    width: 36px;
    height: 36px;
  }

  .brand-lockup span {
    max-width: 128px;
    font-size: 0.9rem;
    line-height: 1.05;
  }

  nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: 6.25rem 1rem 14rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 340px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    width: min(100%, 335px);
    font-size: 3.25rem;
    line-height: 0.88;
  }

  .hero-line {
    max-width: 320px;
    margin-top: 1rem;
    font-size: 1.02rem;
  }

  .hero-subline {
    max-width: 320px;
    font-size: 0.94rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    max-width: 260px;
  }

  .btn {
    min-height: 46px;
    padding: 0.72rem 0.65rem;
    font-size: 0.88rem;
  }

  .hero-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.45rem;
  }

  .hero-ledger div {
    min-height: 76px;
    padding: 0.78rem;
  }

  .hero-ledger strong {
    font-size: 0.9rem;
  }

  .ticker span {
    min-height: 46px;
    padding: 0 1rem;
    font-size: 0.78rem;
  }

  .section,
  .split-section {
    padding: 4rem 1rem;
  }

  .section h2,
  .split-section h2 {
    font-size: 2.12rem;
  }

  .quote-card {
    min-height: 230px;
  }

  .quote-card strong {
    font-size: 1.72rem;
  }

  .in-stack div {
    min-height: 82px;
  }

  .in-stack span {
    font-size: 2.2rem;
  }

  .roadmap,
  .intel-panel {
    grid-template-columns: 1fr;
  }

  .roadmap li {
    min-height: 0;
  }

  h3,
  .roadmap strong {
    margin-top: 1rem;
  }

  .ca-box {
    grid-template-columns: 1fr;
  }

  .ca-box button {
    width: 100%;
  }

  .final-callout {
    min-height: 64svh;
    padding: 4rem 1rem 12rem;
    background:
      linear-gradient(180deg, rgba(5, 7, 5, 0.96), rgba(5, 7, 5, 0.7), rgba(5, 7, 5, 0.18)),
      url("assets/robin-in-hood.png") center bottom / min(110vw, 520px) no-repeat,
      var(--green);
  }

  .final-callout h2 {
    font-size: 2.78rem;
  }

  .final-callout .ca-box {
    width: 100%;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1rem;
  }

  footer p {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 3.02rem;
  }
}

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

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