:root {
  --rh-green: #00c805;
  --rh-green-hover: #00a804;
  --rh-green-dim: rgba(0, 200, 5, 0.14);
  --bg: #0b0d0c;
  --bg-elevated: #121512;
  --bg-alt: #0f1210;
  --text: #f5f7f5;
  --text-muted: #9aa39a;
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
  color: var(--rh-green);
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(11, 13, 12, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

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

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(11, 13, 12, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 0.85rem 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.btn-primary {
  background: var(--rh-green);
  color: #041204;
}

.btn-primary:hover {
  background: var(--rh-green-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

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

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.btn-copy {
  background: var(--rh-green-dim);
  color: var(--rh-green);
  border-color: transparent;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-copy:hover,
.btn-copy.copied {
  background: var(--rh-green);
  color: #041204;
}

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

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: hero-in 1.2s var(--ease) both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 12, 0.35) 0%, rgba(11, 13, 12, 0.15) 40%, rgba(11, 13, 12, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 13, 12, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: calc(var(--nav-h) + 3rem) clamp(1.25rem, 4vw, 3rem) 4.5rem;
  animation: rise 0.9s 0.15s var(--ease) both;
}

.hero-ticker {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--rh-green);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.hero-lede {
  margin: 1.1rem 0 0;
  max-width: 28ch;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* CA strip */
.strip {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
}

.strip-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.strip code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
}

.section-alt {
  max-width: none;
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-alt > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rh-green);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-lede {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.about-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-attr {
  margin-top: 1.25rem !important;
  color: var(--text) !important;
  font-weight: 600;
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.meta-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-meta strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.about-embed {
  width: 100%;
  min-height: 320px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0f0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color-scheme: dark;
  animation: rise 0.8s 0.1s var(--ease) both;
}

.about-embed iframe,
.truthsocial-embed--dark {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 420px;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: #0d0f0e !important;
  color-scheme: dark;
  /* Truth Social embed ships light; invert to match site dark theme */
  filter: invert(1) hue-rotate(180deg);
}

/* How to buy */
#how-to-buy .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  counter-reset: step;
  text-align: center;
}

.steps li {
  padding: 0;
}

.step-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--rh-green);
}

.steps h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0 auto;
  max-width: 28ch;
  color: var(--text-muted);
}

.section-cta {
  margin-top: 2.75rem;
  text-align: center;
}

/* Join */
.join-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.join-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--rh-green-dim);
}

.join-block h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.join-block p {
  margin: 0;
  color: var(--text-muted);
}

.join-block .btn {
  margin-left: auto;
}

/* Footer */
.footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.footer p {
  margin: 0.35rem 0;
}

.footer-note {
  margin-top: 1rem !important;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Motion */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  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: 900px) {
  .about-layout,
  .steps {
    grid-template-columns: 1fr;
  }

  .about-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .join-block .btn {
    margin-left: 0;
    width: 100%;
  }
}
