:root {
  --bg: #0a0c0b;
  --ink: #e8ebe6;
  --muted: #8b928a;
  --accent: #c4f542;
  --accent-ink: #12140f;
  --panel: #141816;
  --line: rgba(232, 235, 230, 0.12);
  --font: "Instrument Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(196, 245, 66, 0.12), transparent 55%),
    radial-gradient(700px 400px at 0% 40%, rgba(40, 90, 70, 0.35), transparent 50%),
    linear-gradient(180deg, #0d1210 0%, var(--bg) 40%, #080a09 100%);
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top, main, footer { position: relative; z-index: 1; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand em { font-style: italic; color: var(--accent); }

.top-cta {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.75rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
  min-height: calc(100vh - 5rem);
}

.brand-hero {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.brand-hero em { color: var(--accent); font-style: italic; }

.hero h1 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  max-width: 28ch;
  margin-bottom: 0.85rem;
}

.lede {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.btn-buy {
  display: inline-flex;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 0 rgba(196, 245, 66, 0.4);
  animation: pulse 2.8s ease-in-out infinite;
}
.btn-buy:hover { transform: translateY(-2px); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 245, 66, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(196, 245, 66, 0); }
}

.price-hint { font-size: 0.85rem; color: var(--muted); }

.hero-visual { position: relative; min-height: 280px; }

.deck {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 300px;
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.deck-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 70% 30%, rgba(196,245,66,.2), transparent 55%);
  animation: glowShift 6s ease-in-out infinite alternate;
}
@keyframes glowShift {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}

.deck-screen { position: relative; padding: 1.75rem; }

.deck-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0c0b;
  background: #fb923c;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.deck-track { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.35rem; }
.deck-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.deck-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
}
.deck-bars i {
  flex: 1;
  display: block;
  background: var(--accent);
  border-radius: 3px;
  animation: bar 1.2s ease-in-out infinite;
  opacity: 0.85;
}
.deck-bars i:nth-child(1) { height: 35%; animation-delay: 0s; }
.deck-bars i:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.deck-bars i:nth-child(3) { height: 45%; animation-delay: 0.2s; }
.deck-bars i:nth-child(4) { height: 80%; animation-delay: 0.05s; }
.deck-bars i:nth-child(5) { height: 55%; animation-delay: 0.15s; }
.deck-bars i:nth-child(6) { height: 90%; animation-delay: 0.25s; }
.deck-bars i:nth-child(7) { height: 40%; animation-delay: 0.08s; }
.deck-bars i:nth-child(8) { height: 70%; animation-delay: 0.18s; }

@keyframes bar {
  0%, 100% { transform: scaleY(0.65); }
  50% { transform: scaleY(1); }
}

.one-job, .steps, .buy-band {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.75rem;
}

.one-job h2, .steps h2, .buy-band h2, .detail-grid h2 {
  font-family: var(--display);
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.one-job p, .steps li, .buy-band p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}
.one-job strong, .detail-grid strong { color: var(--ink); }

.detail-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.75rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.detail-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}
.detail-grid h2 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}
.detail-grid ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.detail-grid li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  padding-left: 0.9rem;
  position: relative;
}
.detail-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.detail-grid code, .steps code {
  font-size: 0.78rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(196, 245, 66, 0.12);
  color: var(--ink);
  word-break: break-all;
}

.steps ol {
  margin-top: 1.25rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.85rem;
}
.steps strong { color: var(--ink); }
.steps-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.buy-band {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.buy-band .btn-buy { margin-top: 1.25rem; }

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.75rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--accent); }

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }
  .hero-visual { order: -1; }
  .deck { min-height: 240px; }
  .detail-grid { grid-template-columns: 1fr; }
}
