/* Bull Buddy — landing page. Black, gold and white; green and red only for
   bullish and bearish moves. Scoped to .bb-site so the ChartsGPT globals
   (loaded on every page) never leak in, and vice versa. */

@font-face { font-family: "Poppins"; src: url("/bullbuddy/fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/bullbuddy/fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/bullbuddy/fonts/Poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/bullbuddy/fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.bb-site {
  /* Brand tokens */
  --bb-bg: #000000;
  --bb-bg-2: #0A0A0A;
  --bb-card: #111111;
  --bb-border: #262626;
  --bb-gold: #D4A537;
  --bb-gold-bright: #F0C662;
  --bb-text: #FFFFFF;
  --bb-text-muted: #A3A3A3;
  --bb-muted: #5E5E5E;
  --bb-positive: #1FAE6B;
  --bb-negative: #E4483C;
  --bb-radius: 28px;
  --bb-radius-sm: 18px;

  min-height: 100dvh;
  overflow: hidden;
  background: var(--bb-bg);
  color: var(--bb-text);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html:has(.bb-site), body:has(.bb-site) { margin: 0; background: #000000; }
:where(.bb-site) *, :where(.bb-site) *::before, :where(.bb-site) *::after { box-sizing: border-box; }
:where(.bb-site) img { max-width: 100%; height: auto; display: block; }
:where(.bb-site) a { color: inherit; text-decoration: none; }
.bb-site a:focus-visible, .bb-site summary:focus-visible { outline: 2px solid var(--bb-gold-bright); outline-offset: 3px; border-radius: 10px; }
.bb-site ::selection { background: rgba(212, 165, 55, 0.35); }
:where(.bb-site) :is(h1, h2, h3, p, ul, ol) { margin: 0; }

.bb-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

/* ---------- Type ---------- */

.bb-wordmark { font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.bb-wordmark span:first-child { color: var(--bb-text); }
.bb-wordmark span:last-child { color: var(--bb-gold); }

.bb-tagline {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-text-muted);
}

.bb-kicker {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-gold);
  margin-bottom: 14px;
}

.bb-site h1, .bb-site h2 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--bb-text);
}
.bb-site h2 { font-size: clamp(30px, 4.2vw, 48px); }
.bb-site h2 span, .bb-line-2 { color: var(--bb-gold-bright); }
.bb-site h2 .bb-line-1 { color: var(--bb-text); }
.bb-line-1, .bb-line-2 { display: block; }
.bb-site h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
:where(.bb-site) p { color: var(--bb-text-muted); }

/* ---------- Nav ---------- */

.bb-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.bb-nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.bb-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.bb-navlinks { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.bb-navlinks a { color: var(--bb-text-muted); transition: color 0.2s; }
.bb-navlinks a:hover { color: var(--bb-text); }

/* ---------- Buttons ---------- */

.bb-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--bb-gold);
  color: var(--bb-bg);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.bb-site .bb-button:hover { background: var(--bb-gold-bright); }
.bb-site .bb-button:active { transform: scale(0.98); }
.bb-button-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.bb-site .bb-button-ghost { background: transparent; color: var(--bb-text); border: 1px solid var(--bb-border); }
.bb-site .bb-button-ghost:hover { background: var(--bb-bg-2); border-color: var(--bb-muted); }

.bb-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: var(--bb-text);
  color: var(--bb-bg);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.05;
}
.bb-store small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.02em; }

/* ---------- Hero ---------- */

.bb-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(50% 60% at 78% 45%, rgba(212, 165, 55, 0.16), transparent 70%),
    linear-gradient(180deg, #0B0B0B 0%, #000000 100%);
}
.bb-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px; }
.bb-hero h1 { font-size: clamp(40px, 4.9vw, 66px); margin: 22px 0 18px; }
.bb-hero .bb-tagline { margin-bottom: 14px; }
.bb-lead { font-size: 18px; max-width: 30em; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bb-micro { margin-top: 16px; font-size: 13px; }

.bb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--bb-border);
  background: rgba(17, 17, 17, 0.7);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bb-text-muted);
}
.bb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bb-positive); box-shadow: 0 0 0 4px rgba(31, 174, 107, 0.16); }

/* The stage: the bull behind, the app in front, two live moments floating. */
.bb-stage { position: relative; height: 600px; }
.bb-glow {
  position: absolute;
  inset: 10% -10% 5% 10%;
  background: radial-gradient(closest-side, rgba(212, 165, 55, 0.32), rgba(212, 165, 55, 0.06) 60%, transparent 78%);
  filter: blur(24px);
}
.bb-candles {
  position: absolute;
  right: -10%;
  top: -6%;
  width: 90%;
  opacity: 0.2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(200deg, #000 40%, transparent 85%);
          mask-image: linear-gradient(200deg, #000 40%, transparent 85%);
}
.bb-stage-bull {
  position: absolute;
  right: -12%;
  top: 70px;
  width: 92%;
  max-width: none;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.bb-stage-phone { position: absolute; left: 4%; top: 10px; z-index: 2; }

.bb-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid var(--bb-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bb-float i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(31, 174, 107, 0.14); color: var(--bb-positive); }
.bb-float i svg { width: 17px; height: 17px; }
.bb-float p { margin: 0; line-height: 1.3; }
.bb-float b { display: block; font-size: 13.5px; font-weight: 600; color: var(--bb-text); }
.bb-float span { font-size: 11.5px; color: var(--bb-text-muted); }
.bb-float-spike { left: 46%; bottom: 64px; animation: bb-bob 7s ease-in-out -2s infinite; }
@keyframes bb-bob { 50% { transform: translateY(-8px); } }

/* ---------- Phone frame (real screenshots) ---------- */

.bb-phone {
  width: 270px;
  flex: none;
  padding: 8px;
  border-radius: 46px;
  background: linear-gradient(150deg, #3A3A3A, #0D0D0D 45%, #262626);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.bb-phone img { width: 100%; height: auto; border-radius: 38px; }

/* ---------- Gallery: real screens, always moving ---------- */

.bb-gallery { padding-top: 24px; overflow: hidden; }
.bb-heading-center { margin-inline: auto; text-align: center; }
.bb-carousel {
  overflow: hidden;
  padding: 8px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.bb-carousel-track { display: flex; width: max-content; animation: bb-carousel 60s linear infinite; }
.bb-carousel:hover .bb-carousel-track, .bb-carousel:focus-within .bb-carousel-track { animation-play-state: paused; }
.bb-carousel-set { display: flex; gap: 22px; padding-right: 22px; }
.bb-carousel figure { margin: 0; width: clamp(200px, 18vw, 250px); flex: none; }
.bb-carousel img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1565;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.6);
}
.bb-carousel figcaption { padding: 14px 4px 0; text-align: center; font-size: 14px; font-weight: 500; color: var(--bb-text-muted); }
@keyframes bb-carousel { to { transform: translateX(-50%); } }

/* ---------- Marquee ---------- */

.bb-marquee {
  margin-bottom: 40px;
  border-block: 1px solid var(--bb-border);
  background: var(--bb-bg-2);
  overflow: hidden;
  padding: 18px 0;
  scroll-margin-top: 80px;
}
.bb-marquee-track { display: flex; width: max-content; animation: bb-scroll 38s linear infinite; }
.bb-marquee ul { display: flex; list-style: none; padding: 0; }
.bb-marquee li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-text-muted);
  white-space: nowrap;
}
.bb-marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bb-gold); }
@keyframes bb-scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.bb-section { padding: 56px 0; scroll-margin-top: 60px; }
.bb-heading { max-width: 820px; margin-bottom: 44px; }
.bb-heading > p:last-child:not(.bb-kicker) { margin-top: 18px; font-size: 17px; }

.bb-card {
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius-sm);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.bb-card:hover { border-color: rgba(212, 165, 55, 0.45); transform: translateY(-2px); }
.bb-card h3 { margin: 14px 0 10px; }
.bb-card p { font-size: 15px; }

.bb-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(212, 165, 55, 0.12);
  color: var(--bb-gold-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bb-market-grid, .bb-tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.bb-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(212, 165, 55, 0.12);
  color: var(--bb-gold-bright);
  font-size: 20px;
}

/* ---------- Features ---------- */

.bb-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 56px;
  border-radius: var(--bb-radius);
  background: linear-gradient(160deg, var(--bb-bg-2), #050505 70%);
  border: 1px solid var(--bb-border);
  position: relative;
  overflow: hidden;
}
.bb-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 55, 0.6), transparent);
}
.bb-feature-reverse .bb-feature-copy { order: 2; }
.bb-feature > * { min-width: 0; }
.bb-feature-copy > p:not(.bb-kicker) { margin-top: 20px; font-size: 17px; }

.bb-checks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 12px; }
.bb-checks li { position: relative; padding-left: 30px; color: var(--bb-text); font-size: 15px; }
.bb-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(212, 165, 55, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23F0C662' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.bb-feature-art { position: relative; }
.bb-illustration { margin-top: 10px; text-align: right; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bb-muted); }

/* Mock UI, drawn in the app's own style */
.bb-mock, .bb-alerts, .bb-chat {
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.bb-mock-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.bb-mock-big { margin-top: 6px; font-size: 34px; font-weight: 700; color: var(--bb-text); letter-spacing: -0.02em; }
.bb-mock-big small { font-size: 14px; font-weight: 500; color: var(--bb-positive); letter-spacing: 0; margin-left: 6px; }
.bb-scale { height: 8px; border-radius: 99px; background: var(--bb-bg-2); margin: 16px 0 18px; overflow: hidden; }
.bb-scale span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--bb-negative), var(--bb-gold), var(--bb-positive)); }
.bb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-pills span { padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bb-pills .up, .bb-alert .up { color: var(--bb-positive); background: rgba(31, 174, 107, 0.12); }
.bb-pills .down, .bb-alert .down { color: var(--bb-negative); background: rgba(228, 72, 60, 0.12); }
.bb-mock-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--bb-border); font-size: 14px; color: var(--bb-text-muted); }
.bb-mock-row strong { color: var(--bb-text); font-weight: 600; }

.bb-alerts { display: grid; gap: 10px; padding: 16px; }
.bb-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bb-bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.bb-alert i { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; font-style: normal; font-weight: 700; }
.bb-alert div { flex: 1; min-width: 0; }
.bb-alert strong { display: block; font-size: 14px; font-weight: 600; }
.bb-alert span { display: block; font-size: 12px; color: var(--bb-text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-alert b.up, .bb-alert b.down { background: none; }

.bb-chat { display: grid; gap: 14px; }
.bb-bubble { margin: 0; font-size: 14px; line-height: 1.55; }
.bb-bubble-me { justify-self: end; max-width: 80%; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: var(--bb-gold); color: var(--bb-bg); font-weight: 500; }
.bb-bubble-bull { display: flex; gap: 10px; align-items: flex-end; }
.bb-bubble-bull img { flex: none; }
.bb-bubble-bull p { padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: var(--bb-bg-2); border: 1px solid var(--bb-border); color: var(--bb-text); font-size: 14px; }
.bb-used { font-size: 12px; padding-left: 38px; }

/* ---------- Steps ---------- */

.bb-steps-card { padding: 56px; border-radius: var(--bb-radius); background: var(--bb-bg-2); border: 1px solid var(--bb-border); }
.bb-steps-card .bb-heading { margin-bottom: 32px; }
.bb-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bb-steps li { border-top: 1px solid var(--bb-border); padding-top: 22px; }
.bb-steps span { display: block; color: var(--bb-gold); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.bb-steps strong { display: block; margin: 8px 0; font-size: 19px; font-weight: 600; }
.bb-steps p { font-size: 15px; }

/* ---------- Principles ---------- */

.bb-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bb-principles > div { padding: 24px 0; border-top: 2px solid var(--bb-gold); }
.bb-principles strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.bb-principles p { font-size: 15px; }

/* ---------- FAQ ---------- */

.bb-faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.bb-faq { display: grid; gap: 10px; }
.bb-faq details { background: var(--bb-card); border: 1px solid var(--bb-border); border-radius: var(--bb-radius-sm); transition: border-color 0.2s; }
.bb-faq details[open] { border-color: rgba(212, 165, 55, 0.45); }
.bb-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 16px; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+"; color: var(--bb-gold); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.bb-faq details[open] summary::after { transform: rotate(45deg); }
.bb-faq details p { padding: 0 24px 22px; font-size: 15px; }

/* ---------- CTA & footer ---------- */

.bb-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--bb-radius);
  border: 1px solid var(--bb-border);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(212, 165, 55, 0.22), transparent 70%),
    linear-gradient(180deg, #0B0B0B, #000000);
}
.bb-cta img { margin: 0 auto 22px; }
.bb-cta h2 { margin: 16px auto 14px; max-width: 16em; }
.bb-cta > p:not(.bb-tagline) { font-size: 17px; }
.bb-cta .bb-store { margin-top: 28px; }

.bb-footer { margin-top: 40px; padding: 44px 0 56px; border-top: 1px solid var(--bb-border); background: var(--bb-bg-2); }
.bb-footer-inner { display: grid; gap: 18px; }
.bb-footer .bb-brand { font-size: 15px; }
.bb-disclaimer { font-size: 13px; max-width: 760px; }
.bb-copyright { font-size: 13px; color: var(--bb-muted); }
.bb-copyright a { color: var(--bb-text-muted); }
.bb-copyright a:hover { color: var(--bb-gold-bright); }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .bb-market-grid, .bb-tool-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-feature { padding: 44px; gap: 40px; }
  .bb-stage-phone { left: 0; }
}

/* Phones and small tablets: one centred column, everything above the fold
   fits on one screen — pill, headline, one line, the button — then the stage. */
@media (max-width: 860px) {
  .bb-navlinks { display: none; }
  .bb-nav-inner { justify-content: space-between; height: 60px; }
  /* The first screen is exactly one screen: copy, the app rising out of the
     bottom, and the market strip as its lower edge — kept clear of the
     floating browser bar (about 84px in iOS Safari). */
  .bb-hero {
    --bb-browser-bar: 84px;
    height: calc(100svh - 60px - 58px - var(--bb-browser-bar));
    min-height: 580px;
    padding: 22px 0 0;
  }
  .bb-hero > .bb-wrap { height: 100%; }
  .bb-hero-grid { display: flex; flex-direction: column; height: 100%; gap: 0; }
  .bb-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .bb-hero h1 { font-size: clamp(36px, 10vw, 56px); margin: 16px 0 10px; }
  .bb-hero .bb-tagline { font-size: 10.5px; letter-spacing: 0.12em; margin-bottom: 10px; }
  .bb-lead { font-size: 15.5px; max-width: 23em; }
  .bb-actions { justify-content: center; margin-top: 20px; }
  .bb-micro { display: none; }

  /* On a phone the bull is the hero: whole, centred, scaled to the space
     left between the buttons and the market strip. The app screens follow
     in the carousel. */
  .bb-stage { flex: 1; min-height: 0; height: auto; width: 100%; max-width: 460px; margin: 6px auto 0; }
  .bb-stage-phone, .bb-float { display: none; }
  .bb-stage picture { position: absolute; inset: 0; }
  .bb-stage-bull { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center 60%; }
  .bb-glow { inset: 10% -10% 0 -10%; }
  .bb-candles { width: 70%; right: -12%; top: -4%; }

  .bb-marquee { height: 58px; padding: 0; display: flex; align-items: center; }
  .bb-marquee li { font-size: 13px; gap: 28px; padding-right: 28px; }
  .bb-heading { text-align: center; margin-inline: auto; }
  .bb-feature, .bb-faq-wrap { grid-template-columns: 1fr; }
  .bb-feature-reverse .bb-feature-copy { order: 0; }
  .bb-steps, .bb-principles { grid-template-columns: 1fr; }
  .bb-steps { gap: 24px; }
  .bb-faq-wrap { gap: 0; }
}

@media (max-width: 560px) {
  .bb-wrap { width: calc(100% - 32px); }
  .bb-site { font-size: 15px; }
  .bb-site h2 { font-size: clamp(28px, 8vw, 40px); }
  .bb-feature-copy > p:not(.bb-kicker), .bb-heading > p:last-child:not(.bb-kicker) { font-size: 15.5px; }
  .bb-market-grid, .bb-tool-grid { grid-template-columns: 1fr; }
  .bb-section { padding: 32px 0; }
  .bb-feature, .bb-steps-card { padding: 28px 22px; border-radius: 22px; }
  .bb-card { padding: 22px; }
  .bb-actions { flex-wrap: nowrap; gap: 10px; width: 100%; }
  .bb-actions > * { flex: 1; justify-content: center; min-height: 50px; padding-inline: 12px; }
  .bb-store { font-size: 16px; }
  .bb-button { font-size: 14px; }
  .bb-cta { padding: 52px 22px; }
  .bb-brand .bb-wordmark { font-size: 15px; }
  .bb-brand img { width: 30px; height: 30px; }
  /* The gallery already shows these screens: on a phone the copy carries it. */
  .bb-feature-art { display: none; }
  .bb-feature { gap: 0; }
  .bb-market-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bb-market-grid .bb-card { padding: 16px; }
  .bb-market-grid .bb-card h3 { font-size: 15px; margin: 10px 0 0; }
  .bb-market-grid .bb-card p { display: none; }
  .bb-chip { font-size: 11px; padding: 4px 10px; }
  .bb-mock-big small { display: block; margin: 4px 0 0; }
  .bb-tool-grid .bb-card { display: grid; grid-template-columns: 40px 1fr; align-items: center; column-gap: 14px; padding: 18px; }
  .bb-tool-grid .bb-icon { width: 40px; height: 40px; }
  .bb-tool-grid .bb-card h3 { margin: 0; font-size: 17px; }
  .bb-tool-grid .bb-card p { grid-column: 1 / -1; margin-top: 10px; }
  .bb-button-small { min-height: 36px; padding: 0 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .bb-marquee-track, .bb-float, .bb-carousel-track { animation: none; }
  .bb-carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .bb-carousel-set[aria-hidden="true"] { display: none; }
  .bb-card, .bb-button { transition: none; }
}

/* ---------- Footer links ---------- */

.bb-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 500; }
.bb-footer-links a { color: var(--bb-text-muted); }
.bb-footer-links a:hover, .bb-footer-links a[aria-current="page"] { color: var(--bb-gold-bright); }

/* ---------- Legal & support pages ---------- */

.bb-legal-hero { padding: 64px 0 40px; background: linear-gradient(180deg, #0B0B0B 0%, var(--bb-bg) 100%); border-bottom: 1px solid var(--bb-border); }
.bb-legal-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 10px 0 14px; }
.bb-legal-hero p { font-size: 17px; max-width: 40em; }
.bb-updated { display: inline-block; margin-top: 18px; padding: 5px 12px; border-radius: 999px; background: var(--bb-card); border: 1px solid var(--bb-border); font-size: 12px; color: var(--bb-text-muted); }

.bb-document { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 48px 0 72px; align-items: start; }
.bb-toc { position: sticky; top: 92px; display: grid; gap: 8px; font-size: 14px; }
.bb-toc strong { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bb-gold); margin-bottom: 4px; }
.bb-toc a { color: var(--bb-text-muted); }
.bb-toc a:hover { color: var(--bb-text); }

.bb-copy { max-width: 760px; }
.bb-copy section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--bb-border); scroll-margin-top: 90px; }
.bb-copy section:last-child { border-bottom: 0; }
.bb-copy h2 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 14px; }
.bb-copy h3 { font-size: 16px; margin: 20px 0 8px; }
.bb-copy p, .bb-copy li { font-size: 15.5px; line-height: 1.75; color: #C7C7C7; }
.bb-copy p + p { margin-top: 12px; }
.bb-copy ul { padding-left: 20px; margin-top: 10px; display: grid; gap: 6px; }
.bb-copy strong { color: var(--bb-text); font-weight: 600; }
.bb-copy a { color: var(--bb-gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.bb-note { margin: 16px 0 4px; padding: 16px 18px; border-radius: 14px; background: rgba(212, 165, 55, 0.08); border: 1px solid rgba(212, 165, 55, 0.3); }
.bb-note p { color: var(--bb-text); }

.bb-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 48px 0 24px; }
.bb-support-grid .bb-card a { color: var(--bb-gold-bright); font-weight: 600; }
.bb-support-faq { padding-bottom: 72px; }

@media (max-width: 860px) {
  .bb-document { grid-template-columns: 1fr; gap: 24px; }
  .bb-toc { position: static; grid-template-columns: 1fr 1fr; padding: 18px; border-radius: 16px; background: var(--bb-card); border: 1px solid var(--bb-border); }
  .bb-toc strong { grid-column: 1 / -1; }
  .bb-support-grid { grid-template-columns: 1fr; }
}
.bb-copy ul + p { margin-top: 14px; }
