:root {
  --bg: #030303;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.88);
  --ink: #111111;
  --green: #2fd45a;
  --green-dark: #155c28;
  --red: #ff4d57;
  --yellow: #ffd84b;
  --border: #000000;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --content-width: min(1320px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  color: #ffffff;
  background-color: var(--bg);
  background-image: url("backg.png");
  background-repeat: repeat;
  background-size: 280px auto;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
}

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

button,
a {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow-x: clip;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  backdrop-filter: blur(10px);
}

.topbar__inner {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 10px;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 2px solid var(--green);
}

.topbar__brand,
.topbar__nav a {
  color: #ffffff;
  text-decoration: none;
}

.topbar__brand {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.topbar__nav a:hover,
.topbar__nav a:focus-visible,
.topbar__brand:hover,
.topbar__brand:focus-visible {
  color: var(--yellow);
  outline: none;
}

.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.masthead {
  width: var(--content-width);
  margin: 0 auto;
  padding: 18px 0 8px;
}

.masthead__eyebrow,
.masthead__copy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.86);
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
}

.masthead__copy {
  display: block;
  margin-top: 10px;
  max-width: 760px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 77, 87, 0.8);
}

.cursor {
  width: 11px;
  height: 1.2em;
  background: var(--green);
  animation: blink 1s steps(2, end) infinite;
}

.green {
  color: var(--green);
  margin-right: 16px;
}

.page {
  width: var(--content-width);
  margin: 0 auto;
  padding: 8px 0 28px;
}

.panel {
  scroll-snap-align: start;
  margin-bottom: 36px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 3px 3px 0 #000000;
  font-size: clamp(2rem, 4vw, 4.6rem);
}

.section-title--button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.section-title--button:hover,
.section-title--button:focus-visible,
.section-title:hover,
.section-title:focus-visible {
  color: var(--yellow);
  outline: none;
}

.image-stage {
  position: relative;
  border: 4px solid #000000;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-image {
  width: 100%;
  height: auto;
  transition: transform 0.55s ease;
}

.image-stage:hover .feature-image {
  transform: scale(1.02);
}

.floating-card,
.greentext-box,
.expand-box {
  background: var(--panel);
  color: var(--ink);
  border: 3px solid #000000;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  max-width: min(430px, calc(100% - 36px));
  padding: 18px 20px;
}

.floating-card--hero {
  left: 20px;
  bottom: 20px;
}

.floating-card--right {
  right: 20px;
  top: 20px;
}

.floating-card--money {
  max-width: 360px;
}

.panel-kicker {
  margin: 0 0 8px;
  color: var(--red);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.panel-subtitle {
  margin: 10px 0 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 3px solid #000000;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px) rotate(-1deg);
  outline: none;
}

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

.cta-button--header {
  background: var(--green);
}

.cta-button--header-alt {
  background: var(--red);
  color: #ffffff;
}

.cta-button--ghost {
  background: #ffffff;
}

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

.cta-button--footer:hover,
.cta-button--primary:hover,
.cta-button--primary:focus-visible {
  background: var(--yellow);
}

.cta-button--header-alt:hover,
.cta-button--header-alt:focus-visible {
  background: #ff7b83;
}

.overlay-cluster {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.overlay-cluster .greentext-box {
  pointer-events: auto;
}

.overlay-cluster--cope .greentext-box:nth-child(1) {
  position: absolute;
  top: 16px;
  left: 16px;
}

.overlay-cluster--cope .greentext-box:nth-child(2) {
  position: absolute;
  top: 16px;
  right: 16px;
}

.overlay-cluster--cope .greentext-box:nth-child(3) {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.overlay-cluster--cope .greentext-box:nth-child(4) {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.greentext-box {
  max-width: min(280px, calc(100% - 32px));
  padding: 14px 16px;
}

.greentext-box h3 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.greentext-box p,
.expand-box p {
  margin: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
}

.greentext-box .line,
.expand-box .line {
  display: block;
  color: var(--green-dark);
}

.story-row {
  position: absolute;
  inset: auto 0 18px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 18px;
}

.expand-box {
  margin-top: 12px;
  padding: 14px 16px;
}

.expand-box--section {
  position: absolute;
  left: 20px;
  top: 20px;
  max-width: min(460px, calc(100% - 40px));
}

.footer {
  padding: 8px 0 34px;
}

.footer__ticker {
  overflow: hidden;
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  background: rgba(0, 0, 0, 0.92);
}

.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 10px 0;
  color: var(--green);
  font-family: "Trebuchet MS", Arial, sans-serif;
  white-space: nowrap;
  animation: ticker 24s linear infinite;
}

.footer__content {
  width: var(--content-width);
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: rgba(0, 0, 0, 0.82);
  border: 2px solid #ffffff;
  padding: 14px 16px;
}

.footer__content p {
  margin: 0;
}

#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

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

@media (max-width: 980px) {
  .story-row {
    position: static;
    grid-template-columns: 1fr;
    padding: 18px;
    background: rgba(0, 0, 0, 0.08);
  }

  .expand-box--section {
    position: static;
    margin: 16px;
    max-width: none;
  }

  .overlay-cluster {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.06);
  }

  .overlay-cluster--cope .greentext-box:nth-child(1),
  .overlay-cluster--cope .greentext-box:nth-child(2),
  .overlay-cluster--cope .greentext-box:nth-child(3),
  .overlay-cluster--cope .greentext-box:nth-child(4) {
    position: static;
    max-width: none;
  }
}

@media (max-width: 720px) {
  body {
    background-size: 180px auto;
  }

  .topbar__inner,
  .masthead,
  .page,
  .footer__content {
    width: min(calc(100vw - 20px), 100%);
  }

  .topbar__inner {
    flex-direction: column;
    align-items: stretch;
    padding-left: 10px;
    padding-right: 10px;
  }

  .topbar__nav,
  .topbar__actions {
    justify-content: flex-start;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .floating-card {
    position: static;
    max-width: none;
    margin: 14px;
  }

  .image-stage {
    display: flex;
    flex-direction: column;
  }

  .overlay-cluster {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
  }

  .section-actions {
    flex-direction: column;
  }
}
