:root {
  --bg: #1b1610;
  --dark: #0d0a07;
  --panel: #241c13;
  --text: #f4f0dc;
  --muted: #a99b80;
  --acid: #c6f006;
  --pink: #ff6fae;
  --line: rgba(198, 240, 6, 0.32);
  --soft: rgba(198, 240, 6, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(198, 240, 6, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(198, 240, 6, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 78% 50%, rgba(255, 111, 174, 0.18), transparent 24%),
    radial-gradient(circle at 18% 18%, rgba(198, 240, 6, 0.12), transparent 22%),
    var(--bg);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  overflow-x: hidden;
}

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

.nav {
  width: 92px;
  height: calc(100vh - 36px);
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 9px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(13, 10, 7, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--acid);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--dark);
}

.brand span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.nav nav a,
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(198, 240, 6, 0.35);
  border-radius: 999px;
  background: rgba(36, 28, 19, 0.68);
  color: #e6dfca;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav nav a:hover,
.actions a:hover {
  color: var(--acid);
  background: var(--soft);
}

.nav nav .buy {
  min-height: 54px;
  color: #131506;
  background: var(--acid);
  border-color: var(--acid);
  border-radius: 18px;
}

main {
  width: min(1260px, calc(100% - 154px));
  margin-left: 132px;
  padding-right: 22px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 132px minmax(0, 0.86fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 30px;
  padding: 44px 0 76px;
  position: relative;
}

.side-note {
  align-self: stretch;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.side-note span {
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 900;
}

.side-note strong {
  color: var(--acid);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.side-note small {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.eyebrow,
.num {
  color: var(--acid);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin: 14px 0 22px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.91;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 630px;
  color: #d2c7ad;
  font-size: clamp(0.98rem, 1.36vw, 1.12rem);
  line-height: 1.7;
  font-weight: 650;
}

.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.pop-card {
  justify-self: end;
  width: min(100%, 410px);
  transform: rotate(2deg);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(36, 28, 19, 0.92), rgba(13, 10, 7, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  padding: 12px;
  position: relative;
}

.pop-card::before {
  content: "$POP";
  position: absolute;
  right: -28px;
  top: -26px;
  z-index: -1;
  color: rgba(198, 240, 6, 0.18);
  font-size: 5.5rem;
  font-weight: 950;
}

.window {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 11px;
  border-bottom: 1px solid rgba(198, 240, 6, 0.16);
  color: var(--muted);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.68rem;
}

.window span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.window span:nth-child(2) {
  background: var(--acid);
}

.window span:nth-child(3) {
  background: #fff0a6;
}

.window strong {
  margin-left: auto;
  font-weight: 900;
}

.pop-card img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  margin: 15px 0;
  object-fit: cover;
  border: 1px solid rgba(198, 240, 6, 0.24);
  border-radius: 25px;
  background: var(--dark);
}

.readout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.readout p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(198, 240, 6, 0.15);
  border-radius: 14px;
  background: rgba(198, 240, 6, 0.035);
  color: var(--muted);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.76rem;
}

.readout strong {
  color: var(--acid);
}

.tape {
  width: 740px;
  position: fixed;
  right: -160px;
  bottom: 56px;
  z-index: 6;
  transform: rotate(-8deg);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--dark);
  color: var(--acid);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.44);
}

.tape div {
  min-height: 42px;
  width: max-content;
  display: flex;
  align-items: center;
  animation: tape 17s linear infinite;
}

.tape span {
  padding: 0 28px;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.grid {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
  grid-template-rows: auto auto;
  gap: 18px;
  align-items: start;
  padding: 40px 0 96px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(36, 28, 19, 0.92), rgba(13, 10, 7, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  padding: 22px;
}

.wide {
  grid-row: span 2;
  min-height: 386px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.docs {
  margin-bottom: 80px;
}

h2 {
  margin: 10px 0 14px;
  font-size: 1.04rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel p,
td,
th {
  color: #cfc3aa;
  font-size: 0.88rem;
  line-height: 1.67;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(198, 240, 6, 0.14);
  border-radius: 16px;
  overflow: hidden;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(198, 240, 6, 0.12);
  text-align: left;
}

th {
  width: 32%;
  color: var(--text);
  font-weight: 950;
}

.accent {
  transform: translateY(46px);
  border-color: rgba(255, 111, 174, 0.34);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.steps div {
  min-height: 156px;
  padding: 15px;
  border: 1px solid rgba(198, 240, 6, 0.14);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.16);
}

.steps strong {
  color: var(--acid);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

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

@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .nav {
    width: calc(100% - 28px);
    height: auto;
    left: 14px;
    top: 14px;
    flex-direction: row;
    border-radius: 26px;
  }

  .brand {
    display: inline-flex;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    writing-mode: initial;
  }

  .nav nav {
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  main {
    width: min(100% - 28px, 680px);
    margin: 0 auto;
    padding: 0;
  }

  .hero,
  .grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
    gap: 24px;
  }

  .side-note {
    display: none;
  }

  .pop-card {
    justify-self: stretch;
    transform: none;
  }

  .tape {
    width: 520px;
    right: -140px;
    bottom: 26px;
  }

  .accent {
    transform: none;
  }
}
