/* /buy — Get $ARROW hero: serif H1, subline, two CTAs, chrome hat + feather object.
   Local palette mirrors production's standalone buy page (#fafafa/#000);
   only fonts and --accent map cleanly to base tokens. Container 1160/28 and
   980/560 breakpoints match the other buy-page sections. */

.s-buy-hero {
  --b-bg: #fafafa;
  --b-panel: #ffffff;
  --b-line: #e6e6e6;
  --b-line2: #d0d0d0;
  --b-ink: #0a0b04;
  --b-muted: #4d4d4d;
  --b-faint: #6b6b6b;
}
html.dark .s-buy-hero {
  --b-bg: #000000;
  --b-panel: rgba(244, 247, 236, 0.03);
  --b-line: rgba(244, 247, 236, 0.1);
  --b-line2: rgba(244, 247, 236, 0.17);
  --b-ink: #f5f6ef;
  --b-muted: rgba(245, 246, 239, 0.64);
  --b-faint: rgba(245, 246, 239, 0.42);
}

.s-buy-hero .bh-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  overflow-x: clip;
}

.s-buy-hero .bh-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 64px;
  align-items: center;
  padding: 64px 0 56px;
}

.s-buy-hero .bh-copy {
  min-width: 0;
}

.s-buy-hero .bh-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--b-ink);
  margin: 0;
}

.s-buy-hero .bh-sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--b-muted);
  margin: 22px 0 0;
  max-width: 46ch;
}

.s-buy-hero .bh-ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* SWAP NOW: shared solid button + lime dotted down-arrow glyph */
.s-buy-hero .bh-swap .bh-dn {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--accent);
}

/* BUY ON UNISWAP: shared outline variant, skinned here */
.s-buy-hero .cta-btn.bh-uni {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(10, 11, 4, 0.28);
  color: var(--b-ink);
  transition: border-color 0.15s ease;
}
.s-buy-hero .cta-btn.bh-uni:hover {
  border-color: var(--b-ink);
}
html.dark .s-buy-hero .cta-btn.bh-uni {
  border-color: rgba(242, 244, 234, 0.32);
}
html.dark .s-buy-hero .cta-btn.bh-uni:hover {
  border-color: var(--b-ink);
}
.s-buy-hero .bh-uni-logo {
  width: 17px;
  height: 17px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* chrome hat + feather object */
.s-buy-hero .bh-obj {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
}
.s-buy-hero .bh-obj img {
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 26px 38px rgba(12, 18, 0, 0.28));
}

@media (max-width: 980px) {
  .s-buy-hero .bh-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 48px;
  }
  .s-buy-hero .bh-obj {
    display: none;
  }
}

@media (max-width: 560px) {
  .s-buy-hero .bh-wrap {
    padding: 0 20px;
  }
  .s-buy-hero .bh-ctas .btn-dark,
  .s-buy-hero .bh-ctas .cta-btn {
    flex: 1;
    justify-content: center;
  }
}
