:root {
  --ink: #111111;
  --paper: #fffdf5;
  --green: #36df61;
  --green-deep: #0b8a3a;
  --red: #ff5b5b;
  --yellow: #ffe14d;
  --blue: #75d8ff;
  --line: #111111;
  --shadow: rgba(17, 17, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(54, 223, 97, 0.16) 46% 54%, transparent 54%),
    radial-gradient(circle at 12% 20%, rgba(117, 216, 255, 0.42), transparent 22%),
    radial-gradient(circle at 88% 70%, rgba(255, 225, 77, 0.55), transparent 24%),
    var(--paper);
}

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

.page {
  min-height: 100vh;
  overflow: hidden;
}

.nav {
  width: min(1160px, calc(100% - 28px));
  margin: 16px auto 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 9px 9px 0 var(--line);
  position: relative;
  z-index: 5;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-transform: lowercase;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: white;
}

nav {
  display: flex;
  gap: 8px;
}

nav a,
.actions a {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: white;
  box-shadow: 0 5px 0 var(--line);
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

nav a:hover,
.actions a:hover {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--line);
}

.hero {
  width: min(1160px, calc(100% - 28px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 44px;
}

.tag {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  display: grid;
  font-size: clamp(5rem, 11vw, 10rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: lowercase;
}

h1 span {
  width: fit-content;
  display: block;
  animation: slam 900ms cubic-bezier(.2,.9,.1,1.25) both;
}

h1 span:nth-child(2) {
  color: var(--green-deep);
  margin-left: 0.23em;
  animation-delay: 140ms;
}

.ticker {
  width: fit-content;
  margin: 22px 0 0;
  padding: 11px 20px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--green);
  box-shadow: 7px 7px 0 var(--line);
  font-size: 1.42rem;
  font-weight: 950;
  transform: rotate(-1.5deg);
}

.bio {
  max-width: 600px;
  margin: 30px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.48;
  font-weight: 760;
}

.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions .primary {
  background: var(--green);
}

.actions .secondary {
  background: var(--blue);
}

.visual {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
}

.visual::before {
  content: "";
  position: absolute;
  width: min(88vw, 590px);
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    #ffffff;
  background-size: 36px 36px;
  box-shadow: 18px 18px 0 var(--line);
  transform: rotate(2deg);
}

.visual img {
  width: min(88vw, 625px);
  position: relative;
  z-index: 2;
  border-radius: 28px;
  filter: drop-shadow(0 26px 18px var(--shadow));
  animation: hoof 3.8s ease-in-out infinite;
}

.screen {
  position: absolute;
  z-index: 1;
  top: 74px;
  right: 42px;
  width: 218px;
  height: 132px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #111;
  box-shadow: 8px 8px 0 var(--line);
  transform: rotate(6deg);
  display: flex;
  align-items: end;
  gap: 12px;
}

.candle {
  width: 28px;
  border-radius: 8px 8px 3px 3px;
  background: var(--green);
  animation: candle 1.15s ease-in-out infinite alternate;
}

.c1 { height: 32%; }
.c2 { height: 52%; animation-delay: 0.1s; }
.c3 { height: 74%; animation-delay: 0.2s; }
.c4 { height: 96%; animation-delay: 0.3s; }

.key {
  position: absolute;
  z-index: 3;
  min-width: 86px;
  padding: 12px 15px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 7px 0 var(--line);
  font-weight: 950;
  text-align: center;
  animation: keyTap 1.65s ease-in-out infinite;
}

.key-a {
  left: 16px;
  bottom: 128px;
  background: var(--green);
}

.key-b {
  right: 18px;
  bottom: 178px;
  background: var(--yellow);
  animation-delay: 0.22s;
}

.key-c {
  left: 96px;
  top: 112px;
  background: var(--blue);
  animation-delay: 0.44s;
}

.ticker-strip {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.ticker-strip div {
  display: flex;
  width: max-content;
  animation: slide 16s linear infinite;
}

.ticker-strip span {
  padding: 16px 28px;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 950;
}

.board {
  width: min(1160px, calc(100% - 28px));
  margin: 42px auto 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.board article {
  min-height: 220px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.12);
}

.board span {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 7px 11px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--green);
  font-weight: 950;
}

.board h2 {
  margin: 0 0 12px;
  font-size: 1.42rem;
}

.board p {
  margin: 0;
  line-height: 1.45;
  font-weight: 760;
}

@keyframes slam {
  from {
    opacity: 0;
    transform: translateY(-60px) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes hoof {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes candle {
  to {
    transform: scaleY(0.72);
    filter: brightness(1.25);
  }
}

@keyframes keyTap {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 7px 0 var(--line);
  }
  44% {
    transform: translateY(6px);
    box-shadow: 0 1px 0 var(--line);
  }
}

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

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

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

  nav a {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .visual {
    min-height: 465px;
    order: -1;
  }

  .screen {
    width: 156px;
    height: 100px;
    top: 48px;
    right: 4px;
  }

  .key {
    min-width: 70px;
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .key-a {
    left: 0;
    bottom: 82px;
  }

  .key-b {
    right: 0;
    bottom: 104px;
  }

  .key-c {
    left: 20px;
    top: 86px;
  }

  .board {
    grid-template-columns: 1fr;
  }
}
