:root {
  --plum: #07140c;
  --green: #00c805;
  --lime: #c6ff4d;
  --ice: #d8ffc4;
  --foam: #f4fff6;
  --dim: #b7d4bf;
  --sans: Arial, "Segoe UI", sans-serif;
  --display: Impact, "Arial Black", sans-serif;
  --mono: Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--green);
  color: var(--foam);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.45;
}

img { max-width: 100%; }

a { color: inherit; }

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

button { font: inherit; cursor: pointer; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 50;
  background: var(--lime);
  color: var(--plum);
  padding: 8px 12px;
}

.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.frame {
  width: min(860px, calc(100% - 28px));
  margin: 14px auto 28px;
  background: var(--plum);
  color: var(--foam);
  border: 3px solid var(--plum);
}

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--plum);
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  background: var(--plum);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 36px;
  border: 2px solid var(--plum);
  background: transparent;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
  margin: 0 auto;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--plum);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 14px;
}

.nav-menu a {
  color: inherit;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

a.buy {
  display: inline-block;
  padding: 8px 12px;
  background: var(--green);
  color: var(--plum);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

a.buy:hover { background: var(--ice); }

.cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  padding: 36px 22px 28px;
}

.tag {
  margin-bottom: 8px;
  color: var(--ice);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cover h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 5.2rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  color: var(--lime);
}

.lede {
  max-width: 36rem;
  margin-top: 14px;
}

.cover-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 18px;
}

.cover-links a:not(.buy),
.chart-head a,
.foot a {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.cover-links a:not(.buy):hover,
.chart-head a:hover,
.foot a:hover { color: var(--ice); }

.still { margin: 0; }

.still img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: contain;
  background: #000;
  outline: 3px solid var(--lime);
}

.story {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px 22px;
  background: var(--foam);
  color: var(--plum);
}

.clip { margin: 0; }

.clip img {
  display: block;
  width: 100%;
  height: auto;
}

.clip figcaption,
.fine,
.disclaimer {
  margin-top: 8px;
  font-size: 0.88rem;
}

.story h2,
.bill h2,
.cast h2,
.swap h2,
.chart-head h2,
.join-copy h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.story-copy p + p { margin-top: 12px; }

.story .tag { color: #087a28; }

.bill {
  padding: 28px 22px;
  background: var(--ice);
  color: var(--plum);
}

.bill h2 { margin-bottom: 8px; }

table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.92rem;
}

th, td {
  padding: 10px 8px;
  border-bottom: 2px solid var(--plum);
  text-align: left;
}

th { width: 42%; font-weight: 700; }

td { text-align: right; font-weight: 700; }

.stamp {
  margin-top: 14px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cast {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 28px 22px;
}

.cast img {
  display: block;
  width: 160px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--green);
}

.cast ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.cast li {
  padding: 6px 0;
  border-top: 1px solid rgba(214, 255, 74, 0.45);
}

.swap {
  padding: 28px 22px 32px;
  background: #0c2e18;
}

.swap-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.swap ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.swap li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 246, 251, 0.2);
}

.swap li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--green);
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
}

.swap h3 { margin: 0 0 4px; font-size: 1rem; }

.swap a { color: var(--lime); }

.pending-note {
  margin-top: 12px;
  color: var(--lime);
}

.market { padding: 22px; }

.ca-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.ca-meta span {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#status-badge.is-live { color: var(--lime); }

#status-badge.is-prelaunch { color: var(--green); }

.ca-line {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ca-line code {
  flex: 1;
  padding: 12px;
  background: #000;
  color: var(--ice);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-all;
}

.ca-line button {
  border: 0;
  padding: 0 14px;
  background: var(--lime);
  color: var(--plum);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-note {
  min-height: 1.2em;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.copy-note.is-ok { color: var(--lime); }

.copy-note.is-warn { color: var(--green); }

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 22px 0 12px;
}

.chart-shell { background: #000; min-height: 380px; }

.chart-shell iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.chart-placeholder {
  margin: 0;
  padding: 40px 16px;
  color: var(--dim);
  text-align: center;
}

.banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2172 / 724;
  object-fit: contain;
  background: #00c805;
}

.join-copy { padding: 22px; }

.join-copy p { margin-top: 8px; }

.foot {
  padding: 8px 22px 22px;
  color: var(--dim);
}

.foot nav {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.disclaimer { max-width: 40rem; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.story :focus-visible,
.bill :focus-visible { outline-color: var(--plum); }

@media (max-width: 860px) {
  .bar {
    flex-direction: column;
    align-items: stretch;
  }

  .bar-row { justify-content: space-between; }

  .nav-toggle { display: inline-block; }

  .nav-menu { display: none; }

  .bar.is-open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
  }

  .cover,
  .story,
  .cast,
  .swap-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .still { width: min(300px, 100%); }

  .cast img { width: min(160px, 100%); }

  section[id] { scroll-margin-top: 76px; }
}

@media (max-width: 640px) {
  .frame { width: min(860px, calc(100% - 12px)); margin-top: 6px; }

  .cover,
  .story,
  .bill,
  .cast,
  .swap,
  .market,
  .join-copy,
  .foot { padding-left: 14px; padding-right: 14px; }

  .ca-line { flex-direction: column; }

  .ca-line button { padding: 12px; }

  .chart-shell,
  .chart-shell iframe { min-height: 0; height: 380px; }
}

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