:root {
  --black: #000000;
  --ink: #110e08;
  --cream: #faf7f0;
  --cream-deep: #f0ebe1;
  --lime: #ccff00;
  --lime-hover: #d8ff3d;
  --text: #f4f1ea;
  --muted: #9c978c;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(17, 14, 8, 0.12);
  --card: #16130e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

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

button {
  font: inherit;
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* NAV — Robinhood dual CTA */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
}

.brand span {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #d8d4cb;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  border-radius: 36px;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}

.btn-lime:hover {
  background: var(--lime-hover);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: #000;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(17, 14, 8, 0.22);
}

.btn-ghost-dark:hover {
  border-color: var(--ink);
}

/* HERO */
.hero {
  padding: 72px 0 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
}

.display em {
  font-style: italic;
  color: var(--lime);
}

.lead {
  margin: 28px 0 0;
  max-width: 34rem;
  color: #c9c3b6;
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.symbol {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 78%;
  height: 78%;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.22), transparent 68%);
  filter: blur(8px);
}

.device {
  position: relative;
  width: min(100%, 420px);
  background: #1a1712;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 22px;
}

.device img {
  width: 100%;
  background: #fff;
  border-radius: 24px;
}

/* ABOUT — cream editorial band */
.about {
  background: var(--cream);
  color: var(--ink);
  padding: 96px 0 100px;
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f6a60;
}

.section-title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-copy {
  max-width: 42rem;
  margin: 22px 0 48px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #3d3932;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  padding: 14px 14px 18px;
}

.tile img {
  width: 100%;
  border-radius: 18px;
  background: var(--cream-deep);
}

.tile h3 {
  margin: 14px 8px 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tile p {
  margin: 4px 8px 0;
  color: #6f6a60;
  font-size: 14px;
}

/* FEATURED POST */
.spotlight {
  padding: 96px 0 100px;
}

.section-kicker.light {
  color: var(--lime);
}

.spotlight-lead {
  max-width: 46rem;
  margin: 18px 0 36px;
  color: #c9c3b6;
  font-size: 1.12rem;
  line-height: 1.6;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.tweet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 28px 28px 24px;
}

.tweet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tweet-head strong {
  display: block;
  font-size: 1.05rem;
}

.tweet-head span {
  color: var(--muted);
  font-size: 14px;
}

.tweet-x {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 36px;
}

.tweet-x:hover {
  border-color: #fff;
}

.tweet p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #f4f1ea;
}

.tweet-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--lime);
  font-size: 14px;
  word-break: break-all;
}

.tweet-embed {
  min-height: 200px;
}

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

/* HOW TO BUY */
.howto {
  padding: 96px 0 100px;
}

.howto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.steps {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  color: var(--lime);
  line-height: 1;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.side-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 16px;
}

.side-frame img {
  width: 100%;
  border-radius: 24px;
  background: #0c0b09;
}

/* COMMUNITY — banner lives here, full image */
.community {
  background: var(--cream);
  color: var(--ink);
  padding: 96px 0 100px;
}

.banner-frame {
  margin: 36px 0 28px;
  background: #0c0b09;
  border-radius: 36px;
  padding: 12px;
}

.banner-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.community-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  align-items: stretch;
}

.night-frame {
  background: #0c0b09;
  border-radius: 36px;
  padding: 12px;
}

.night-frame img {
  width: 100%;
  border-radius: 24px;
}

.join {
  background: var(--lime);
  border-radius: 36px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.join h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.join p {
  margin: 14px 0 24px;
  max-width: 34rem;
  color: #2a271f;
}

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

.ca-box {
  margin-top: 22px;
  background: rgba(17, 14, 8, 0.06);
  border-radius: 20px;
  padding: 14px 16px;
}

.ca-box span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d4a42;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

#ca-text {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  word-break: break-all;
}

.copy-btn {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 36px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  background: #000;
}

/* FOOTER */
.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.footer-note {
  margin: 0;
  max-width: 46rem;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero-grid,
  .tiles,
  .howto-grid,
  .community-grid,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: #0c0b09;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    padding: 40px 0 72px;
  }

  .about,
  .howto,
  .community,
  .spotlight {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(1180px, calc(100% - 28px));
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
