:root {
  --green: #00c805;
  --green-deep: #062016;
  --green-soft: #dfffe4;
  --orange: #f27b22;
  --yellow: #ffe86a;
  --ink: #09110d;
  --muted: #53635b;
  --paper: #f8fbf2;
  --white: #ffffff;
  --border: #1f382b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
.btn {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.1rem;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  color: var(--white);
  background: rgba(2, 12, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 900;
}

.brand-lockup img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  object-fit: cover;
}

nav {
  display: flex;
  gap: 0.25rem;
}

nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 6vw 5rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 10, 6, 0.94) 0%, rgba(2, 10, 6, 0.82) 42%, rgba(2, 10, 6, 0.2) 100%),
    url("assets/robin-wif-hood.png") right center / min(62vw, 760px) no-repeat,
    var(--green);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    var(--green) 0 36px,
    var(--yellow) 36px 54px,
    var(--orange) 54px 86px,
    #111 86px 102px
  );
}

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

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: 5.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-line {
  max-width: 620px;
  margin: 1.4rem 0 0;
  color: var(--yellow);
  font-size: 1.6rem;
  font-weight: 900;
}

.hero-subline {
  max-width: 580px;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
}

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

.primary {
  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.28);
}

.hero-badge {
  position: absolute;
  right: 1.5rem;
  bottom: 2.2rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.hero-badge span,
.ticker-strip div {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 0.55rem 0.72rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.78rem;
  font-weight: 900;
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--green-deep);
  border-bottom: 1px solid var(--border);
}

.ticker-strip div {
  min-height: 62px;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--green-soft);
  background: #0d1d14;
  text-align: center;
}

.section {
  padding: 5.25rem 6vw;
}

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

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.45rem;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.thesis-grid,
.playbook {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.thesis-grid article,
.playbook div,
.intel-panel {
  border: 1px solid rgba(31, 56, 43, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(9, 17, 13, 0.06);
}

.thesis-grid article {
  min-height: 250px;
  padding: 1.35rem;
}

.number {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.24rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.thesis-grid p,
.playbook p,
.intel-copy p,
.ca-copy p {
  color: var(--muted);
}

.chain-section {
  color: var(--white);
  background: #07130d;
}

.chain-section .eyebrow,
.chain-section h2 {
  color: var(--green);
}

.intel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.intel-copy {
  max-width: 770px;
  display: grid;
  gap: 1rem;
  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;
  background: #0d2015;
  border-color: rgba(0, 200, 5, 0.25);
  box-shadow: var(--shadow);
}

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

.intel-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intel-panel strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.ca-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  background: #f3f7e8;
}

.ca-art {
  overflow: hidden;
  border: 8px solid #0b130e;
  border-radius: 8px;
  background: var(--green);
  box-shadow: var(--shadow);
}

.ca-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ca-copy {
  max-width: 680px;
}

.ca-copy h2 {
  margin-bottom: 1rem;
}

.ca-copy > p {
  font-size: 1.05rem;
}

.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: 54px;
  display: flex;
  align-items: center;
  overflow: auto;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 56, 43, 0.22);
  border-radius: 7px;
  color: #0c1710;
  background: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  white-space: nowrap;
}

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

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

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

.playbook-section {
  background: var(--white);
}

.playbook {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.playbook div {
  min-height: 190px;
  padding: 1.2rem;
  border-top: 5px solid var(--green);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 6vw;
  color: rgba(255, 255, 255, 0.72);
  background: #06100b;
  font-size: 0.9rem;
}

footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 920px) {
  .hero {
    min-height: 86vh;
    padding-top: 7.4rem;
    background:
      linear-gradient(180deg, rgba(2, 10, 6, 0.9) 0%, rgba(2, 10, 6, 0.7) 58%, rgba(2, 10, 6, 0.35) 100%),
      url("assets/robin-wif-hood.png") center bottom / min(92vw, 560px) no-repeat,
      var(--green);
  }

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

  .hero-line {
    font-size: 1.3rem;
  }

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

  .hero-badge {
    display: none;
  }

  .ticker-strip,
  .thesis-grid,
  .intel-layout,
  .ca-section,
  .playbook {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding: 0.85rem;
  }

  .brand-lockup span {
    max-width: 86px;
    line-height: 1.05;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a {
    padding: 0.45rem 0.5rem;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 84vh;
    padding: 7rem 1rem 12rem;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 3.05rem;
  }

  .hero-line {
    font-size: 1.1rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .ticker-strip div {
    min-height: 52px;
  }

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

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

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

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