:root {
  --bg: #0a0c08;
  --bg-elevated: #141710;
  --bg-soft: #1a1e14;
  --ink: #f2f5ea;
  --ink-soft: #a8b09a;
  --rh: #ccff00;
  --rh-dim: rgba(204, 255, 0, 0.14);
  --rh-line: rgba(204, 255, 0, 0.28);
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% -5%, rgba(204, 255, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 30%, rgba(204, 255, 0, 0.06), transparent 50%);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: var(--rh);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: #e0ff66;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(10, 12, 8, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rh-line);
  animation: navIn 0.7s ease both;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--rh), 0 4px 12px var(--shadow);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--rh);
}

.nav-cta {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--rh);
  color: #0a0c08;
}

.nav-cta:hover {
  background: #e0ff66;
  color: #0a0c08;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--rh);
  color: #0a0c08;
}

.btn-primary:hover {
  background: #e0ff66;
  color: #0a0c08;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rh-line);
}

.btn-ghost:hover {
  background: var(--rh-dim);
  color: var(--rh);
  border-color: var(--rh);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: heroZoom 12s ease-out both;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 8, 0.55) 0%, transparent 28%),
    linear-gradient(0deg, rgba(10, 12, 8, 0.92) 0%, rgba(10, 12, 8, 0.55) 40%, transparent 65%),
    linear-gradient(90deg, rgba(10, 12, 8, 0.55) 0%, transparent 48%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(204, 255, 0, 0.12), transparent 60%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 6.5rem 1.5rem 3.5rem;
  max-width: 720px;
  color: var(--ink);
}

.hero-chain {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rh);
  animation: rise 0.8s 0.15s ease both;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.2rem, 16vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  animation: rise 0.9s 0.25s ease both;
}

.hero-tag {
  margin: 1rem 0 1.75rem;
  max-width: 26ch;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  color: rgba(242, 245, 234, 0.88);
  animation: rise 0.9s 0.4s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.55s ease both;
}

.hero-actions .btn-ghost {
  background: rgba(10, 12, 8, 0.35);
  color: var(--ink);
  border-color: rgba(204, 255, 0, 0.4);
  backdrop-filter: blur(8px);
}

.hero-actions .btn-ghost:hover {
  background: var(--rh-dim);
  color: var(--rh);
  border-color: var(--rh);
}

.hero-actions .btn-primary {
  background: var(--rh);
  color: #0a0c08;
}

.hero-actions .btn-primary:hover {
  background: #e0ff66;
  color: #0a0c08;
}

/* —— Sections —— */
.section-inner {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rh);
}

h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.lede {
  margin: 0 0 2rem;
  max-width: 42ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* —— Post —— */
.post-section {
  padding: 4.5rem 0 4rem;
  scroll-margin-top: 5rem;
}

.post-intro-centered {
  text-align: center;
  margin-bottom: 2rem;
}

.post-intro-centered .lede {
  margin-inline: auto;
  margin-bottom: 0;
}

.post-stage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 520px));
  gap: 1.5rem;
  justify-content: center;
  align-items: start;
}

.embed-frame {
  background: var(--bg-elevated);
  border: 1px solid var(--rh-line);
  border-radius: var(--radius);
  padding: 0.75rem;
  box-shadow: 0 18px 50px var(--shadow);
  min-height: 200px;
}

.embed-frame .twitter-tweet {
  margin: 0 auto !important;
}

.x-post {
  background: var(--bg-elevated);
  border: 1px solid var(--rh-line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.1rem;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 18px 50px var(--shadow);
  animation: rise 0.8s ease both;
  color: var(--ink);
}

.x-post-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.85rem;
}

.x-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rh);
  color: #0a0c08;
  font-weight: 700;
  font-size: 0.85rem;
}

.x-name-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.x-name-row strong {
  font-size: 1rem;
  color: var(--ink);
}

.x-handle {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.x-logo {
  color: var(--rh);
  text-decoration: none;
  opacity: 0.85;
}

.x-logo:hover {
  opacity: 1;
  color: var(--rh);
}

.x-body {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.45;
  white-space: pre-wrap;
  color: var(--ink);
}

.x-media {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rh-line);
  margin-bottom: 0.9rem;
}

.x-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.5s ease;
}

.x-media:hover img {
  transform: scale(1.03);
}

.x-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--rh-line);
  padding-top: 0.85rem;
}

.x-foot time {
  color: var(--ink-soft);
}

.x-stats strong {
  color: var(--rh);
}

.x-open {
  margin-left: auto;
  font-weight: 600;
  text-decoration: none;
  color: var(--rh);
}

.x-open:hover {
  color: #e0ff66;
}

/* —— About —— */
.about {
  padding: 2rem 0 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-copy strong {
  color: var(--rh);
}

.pillars {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.pillars li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  color: var(--ink);
}

.pillars span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rh);
}

.about-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--rh-line), 0 24px 60px var(--shadow);
  transform: rotate(1.5deg);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}

/* —— Buy —— */
.buy {
  padding: 4.5rem 0 5.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(204, 255, 0, 0.05) 40%, rgba(204, 255, 0, 0.08) 100%);
}

.steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--rh-line);
  border-radius: 14px;
}

.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  align-self: center;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rh);
  color: #0a0c08;
  font-weight: 700;
  font-size: 0.9rem;
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.steps span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.ca-block {
  margin-bottom: 1.75rem;
}

.ca-block label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rh);
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.ca-row code {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border: 1px dashed var(--rh-line);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--rh);
  word-break: break-all;
  user-select: all;
  cursor: text;
}

#copy-ca.copied {
  background: var(--rh);
  color: #0a0c08;
  border-color: var(--rh);
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--rh-line);
  background: #060705;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  max-width: 420px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--rh);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--rh);
}

.footer-brand p,
.footer-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* —— Responsive —— */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    order: -1;
    max-width: 380px;
    margin-inline: auto;
    transform: none;
  }

  .hero-copy {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0.7rem 1rem;
  }

  .hero-copy {
    padding-inline: 1.1rem;
  }

  .x-post {
    padding: 1.1rem;
  }

  .x-foot .x-stats {
    width: 100%;
  }

  .x-open {
    margin-left: 0;
  }
}
