/* ==========================================================================
   bcfy-home.css — Broadcastify 2026 homepage

   Built to Sarah's v4 comp ("Broadcastify Homepage Redesign (standalone)",
   2026-08-10). Values below are taken from her rendered stylesheet, not eyeballed.
   Tokens are from the Brand Handoff of the same date.

   Her comp carries one breakpoint (1000px) and stops there — at phone widths it
   overflows to 866px. Everything under §RESPONSIVE below 1000px is ours.

   Scoped to the homepage; nothing here touches the legacy Portal chrome.
   Bump ?v= on the <link> in review.php whenever this file changes.
   ========================================================================== */

:root {
  --bcfy-black: #0A0A0A;
  --bcfy-panel: #151515;
  --bcfy-panel2: #1C1C1C;
  --bcfy-line: #292929;
  --bcfy-red: #E0342A;
  --bcfy-red-soft: rgba(224, 52, 42, .14);
  --bcfy-gray: #8F8F8F;
  --bcfy-gray-light: #CFCFCF;
}

/* ---------- base ---------- */
.bcfy-home *, .bcfy-home *::before, .bcfy-home *::after { box-sizing: border-box; }
html.bcfy-home-html, body.bcfy-home {
  margin: 0; padding: 0;
  background: var(--bcfy-black);
  color: #fff;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.bcfy-home img { max-width: 100%; display: block; }
.bcfy-home a { color: inherit; text-decoration: none; }
.bcfy-home h1, .bcfy-home h2, .bcfy-home h3 { margin: 0; font-weight: 800; }
.bcfy-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }

/* Sarah's page-wide glow, sitting behind everything above the footer. */
.bcfy-flow {
  background: radial-gradient(140% 60% at 50% 30%, rgba(224, 52, 42, .16) 0%, rgba(224, 52, 42, 0) 70%), var(--bcfy-black);
}
.bcfy-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.bcfy-home :focus-visible { outline: 2px solid var(--bcfy-red); outline-offset: 2px; border-radius: 4px; }
.bcfy-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bcfy-skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 200; width: auto; height: auto;
  clip: auto; margin: 0; background: var(--bcfy-red); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
}

/* ---------- buttons ---------- */
.bcfy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 800; font-size: 15px;
  padding: 13px 26px; border-radius: 100px; border: 0;
  white-space: nowrap; cursor: pointer; transition: filter .12s;
}
.bcfy-btn:hover { filter: brightness(1.12); }
.bcfy-btn-red { background: var(--bcfy-red); color: #fff; }
.bcfy-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.bcfy-btn svg { width: 15px; height: 15px; flex: none; }

/* ---------- header ---------- */
.bcfy-header { border-bottom: 1px solid var(--bcfy-line); padding: 18px 0; }
.bcfy-nav-row { display: flex; align-items: center; justify-content: flex-end; gap: 64px; }
.bcfy-logo { margin-right: auto; flex: none; }
.bcfy-logo img { height: 30px; width: auto; }

.bcfy-nav { display: flex; align-items: center; gap: 20px; }
.bcfy-nav-item { position: relative; }
.bcfy-nav-lbl {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(#232323 0%, #131313 100%);
  border: 1px solid #333; border-radius: 8px; padding: 11px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-family: inherit; font-weight: 700; font-size: 15px; color: #D8D8D8;
  cursor: pointer;
}
.bcfy-nav-item:hover .bcfy-nav-lbl, .bcfy-nav-item.is-open .bcfy-nav-lbl { border-color: var(--bcfy-red); }
.bcfy-nav-item:hover .bcfy-nav-lbl .bcfy-caret, .bcfy-nav-item.is-open .bcfy-nav-lbl .bcfy-caret { color: var(--bcfy-red); }
.bcfy-nav-lbl[aria-current="page"] { color: var(--bcfy-red); }
.bcfy-nav-premium { color: var(--bcfy-red); }
.bcfy-nav-premium .bcfy-caret { color: var(--bcfy-red); }
.bcfy-caret {
  width: 10px; height: 10px; flex: none; color: var(--bcfy-gray);
  display: inline-block;
}
.bcfy-caret svg { width: 10px; height: 10px; display: block; }

.bcfy-menu {
  position: absolute; top: 100%; left: 0; margin-top: 14px; min-width: 200px;
  background: var(--bcfy-panel); border: 1px solid var(--bcfy-line);
  border-radius: 10px; padding: 8px 0;
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 30;
}
.bcfy-nav-item:hover .bcfy-menu, .bcfy-nav-item.is-open .bcfy-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.bcfy-menu a {
  display: block; padding: 11px 20px; font-weight: 600; font-size: 14.5px;
  color: #D8D8D8; white-space: nowrap;
}
.bcfy-menu a:hover { color: #fff; background: rgba(255, 255, 255, .05); }

/* Auth block belongs to the mobile drawer only; the desktop header has its own. */
.bcfy-nav-auth { display: none; }

.bcfy-nav-cta { display: flex; align-items: center; gap: 22px; flex: none; }
.bcfy-login { font-weight: 700; font-size: 14.5px; color: var(--bcfy-gray); }
.bcfy-login:hover { color: #fff; }
.bcfy-user { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--bcfy-gray); }
.bcfy-user:hover { color: #fff; }
.bcfy-star { color: var(--bcfy-red); }

.bcfy-burger {
  display: none; flex: none; width: 44px; height: 40px;
  align-items: center; justify-content: center; padding: 0;
  background: linear-gradient(#232323 0%, #131313 100%);
  border: 1px solid #333; border-radius: 8px; cursor: pointer;
}
.bcfy-burger span { display: block; width: 17px; height: 1.8px; background: #fff; position: relative; }
.bcfy-burger span::before, .bcfy-burger span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.8px; background: #fff;
}
.bcfy-burger span::before { top: -5.5px; }
.bcfy-burger span::after { top: 5.5px; }

/* ---------- announcement ---------- */
.bcfy-announce {
  margin: 24px 0 0; padding: 14px 20px;
  background: var(--bcfy-panel); border: 1px solid var(--bcfy-line);
  border-left: 3px solid var(--bcfy-red); border-radius: 0 12px 12px 0;
  font-size: 14.5px; line-height: 1.6; color: var(--bcfy-gray-light);
}
.bcfy-announce a { color: #fff; text-decoration: underline; }

/* ---------- hero ---------- */
.bcfy-hero { padding: 80px 0 68px; margin-bottom: 12px; }
.bcfy-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.bcfy-hero h1 { font-size: 60px; line-height: 1.06; letter-spacing: -.025em; }
.bcfy-hero h1 .bcfy-r { color: var(--bcfy-red); display: block; }
.bcfy-hero p { font-size: 18px; line-height: 1.6; color: var(--bcfy-gray-light); margin: 22px 0 30px; max-width: 480px; }
.bcfy-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* the "right now" stat card */
.bcfy-now {
  background: var(--bcfy-panel); border: 1px solid var(--bcfy-line);
  border-radius: 16px; overflow: hidden; padding: 8px 0;
}
.bcfy-stat-line {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--bcfy-line);
}
.bcfy-stat-line:last-child { border-bottom: 0; }
.bcfy-stat-ic {
  width: 44px; height: 44px; flex: none; border-radius: 10px;
  background: var(--bcfy-red-soft);
  display: flex; align-items: center; justify-content: center;
}
.bcfy-stat-ic svg { width: 22px; height: 22px; color: var(--bcfy-red); }
.bcfy-stat-lbl { font-size: 15px; color: var(--bcfy-gray-light); }
.bcfy-stat-val { font-weight: 800; font-size: 20px; color: #fff; margin-left: auto; text-align: right; }
.bcfy-stat-val a { color: var(--bcfy-red); }
.bcfy-stat-val a:hover { text-decoration: underline; }

/* ---------- pillars ---------- */
.bcfy-pillars-band { padding: 12px 0 34px; }
.bcfy-pillars-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bcfy-pillar {
  display: block; padding: 34px; border-radius: 16px;
  background: linear-gradient(150deg, #1A1A1A 0%, #2A0F0D 100%);
  border: 1px solid var(--bcfy-line);
}
.bcfy-pillar:hover { border-color: var(--bcfy-red); }
.bcfy-pillar-head { display: flex; align-items: center; gap: 16px; }
.bcfy-pillar-arrow {
  width: 0; height: 0; flex: none;
  border-top: 17px solid transparent; border-bottom: 17px solid transparent;
  border-left: 24px solid var(--bcfy-red);
}
.bcfy-pillar-head h3 { font-size: 38px; letter-spacing: -.01em; }
.bcfy-pillar p { font-size: 17px; line-height: 1.6; color: var(--bcfy-gray-light); margin: 18px 0 0 40px; }

/* ---------- premium ---------- */
.bcfy-premium { padding: 36px 0; margin-bottom: 12px; text-align: center; }
.bcfy-premium-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bcfy-red); background: var(--bcfy-red-soft);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.bcfy-premium h2 { font-size: 46px; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 18px; }
.bcfy-netnote { font-size: 14.5px; color: var(--bcfy-gray); margin: 0 0 34px; }
.bcfy-netnote b, .bcfy-netnote a { color: var(--bcfy-red); font-weight: 800; }

.bcfy-feats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px;
  max-width: 900px; margin: 0 auto 38px; text-align: left; align-items: center;
}
.bcfy-feat {
  display: flex; align-items: center; gap: 12px; min-height: 30px;
  font-size: 15.5px; line-height: 1.5; color: var(--bcfy-gray-light);
}
.bcfy-feat svg { width: 20px; height: 20px; flex: none; color: var(--bcfy-red); }
.bcfy-feat b { color: #fff; font-weight: 600; }

.bcfy-plans { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; text-align: left; }
.bcfy-plan { border: 1px solid var(--bcfy-line); border-radius: 16px; overflow: hidden; background: var(--bcfy-panel); }
.bcfy-plan-popular { border-color: var(--bcfy-red); box-shadow: 0 24px 60px -30px rgba(224, 52, 42, .5); }
.bcfy-plan-head { padding: 22px 28px; text-align: center; font-weight: 800; font-size: 22px; border-bottom: 1px solid var(--bcfy-line); }
.bcfy-plan-popular .bcfy-plan-head { background: var(--bcfy-red); color: #fff; }
.bcfy-plan-head small { display: block; font-size: 11.5px; letter-spacing: .1em; margin-top: 4px; font-weight: 800; }
.bcfy-plan-body { padding: 30px 28px 28px; text-align: center; }
.bcfy-plan-price { font-weight: 800; font-size: 44px; letter-spacing: -.02em; }
.bcfy-plan-permo { font-size: 13.5px; color: var(--bcfy-gray); margin: 6px 0 20px; }
.bcfy-plan-days { font-size: 14.5px; color: var(--bcfy-gray-light); margin-bottom: 22px; }
.bcfy-plan-cta {
  display: block; text-align: center; padding: 13px 0; border-radius: 8px;
  font-weight: 800; font-size: 15px; border: 1px solid var(--bcfy-red); color: var(--bcfy-red);
}
.bcfy-plan-cta:hover { background: var(--bcfy-red-soft); }
.bcfy-plan-popular .bcfy-plan-cta { background: var(--bcfy-red); color: #fff; }
.bcfy-plan-popular .bcfy-plan-cta:hover { filter: brightness(1.12); }
.bcfy-fine { font-size: 13px; color: var(--bcfy-gray); margin-top: 28px; }

/* ---------- info columns ---------- */
.bcfy-info { padding: 32px 0; margin-bottom: 12px; }
.bcfy-info-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.bcfy-info-col h3 {
  font-size: 22px; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--bcfy-line);
}
.bcfy-item { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--bcfy-gray-light); margin-bottom: 18px; }
.bcfy-item .bcfy-arrow { color: var(--bcfy-red); flex: none; margin-top: 3px; }
.bcfy-item .bcfy-d { font-weight: 700; color: #fff; }
.bcfy-item a { color: var(--bcfy-gray-light); text-decoration: underline; text-decoration-color: var(--bcfy-line); }
.bcfy-item a:hover { color: #fff; }
.bcfy-info-col p { font-size: 14.5px; line-height: 1.6; color: var(--bcfy-gray-light); margin: 0 0 16px; }
.bcfy-info-col p a { color: var(--bcfy-red); }
.bcfy-info-col ul { list-style: none; padding: 0; margin: 0 0 22px; }
.bcfy-info-col ul li {
  font-size: 14.5px; line-height: 1.6; color: var(--bcfy-gray-light);
  margin-bottom: 8px; padding-left: 16px; position: relative;
}
.bcfy-info-col ul li::before { content: '\25B8'; position: absolute; left: 0; color: var(--bcfy-red); }
.bcfy-info-col ul li b { color: #fff; }
.bcfy-info-col ul li a { color: #fff; font-weight: 600; }
.bcfy-info-col ul li a:hover { color: var(--bcfy-red); }
.bcfy-upgrade { display: inline-block; padding: 14px 30px; border-radius: 8px; background: var(--bcfy-red); color: #fff; font-weight: 800; font-size: 15px; }
.bcfy-upgrade:hover { filter: brightness(1.12); }

/* ---------- footer ---------- */
.bcfy-footer { padding: 36px 0 0; border-top: 1px solid var(--bcfy-line); background: var(--bcfy-black); }
.bcfy-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 48px; }
.bcfy-footer-grid img { height: 26px; width: auto; }
.bcfy-footer-blurb { font-size: 14.5px; line-height: 1.6; color: var(--bcfy-gray); margin-top: 18px; max-width: 280px; }
.bcfy-fcol .bcfy-fcol-t {
  font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #8A8A8A; margin-bottom: 16px;
}
.bcfy-fcol ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.bcfy-fcol a { font-size: 14.5px; color: #C9C9C9; }
.bcfy-fcol a:hover { color: var(--bcfy-red); }
.bcfy-footer-bottom { border-top: 1px solid var(--bcfy-line); }
.bcfy-footer-bottom .bcfy-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 13px; color: var(--bcfy-gray); flex-wrap: wrap; gap: 12px;
}
.bcfy-social { display: flex; gap: 14px; }
.bcfy-social a {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--bcfy-line);
  display: flex; align-items: center; justify-content: center; color: var(--bcfy-gray);
}
.bcfy-social a:hover { color: var(--bcfy-red); border-color: var(--bcfy-red); }
.bcfy-social svg { width: 16px; height: 16px; }
.bcfy-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.bcfy-legal a:hover { color: #fff; }

/* ==========================================================================
   RESPONSIVE

   The 1000px block is Sarah's. Everything below it is ours: her comp has no
   rules under 1000 and overflows to 866px on a phone.
   ========================================================================== */

@media (max-width: 1000px) {
  .bcfy-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .bcfy-hero h1 { font-size: 44px; }
  .bcfy-nav { display: none; }
  .bcfy-footer-grid { grid-template-columns: 1fr 1fr; }

  /* ours: the nav has to go somewhere once it is hidden */
  .bcfy-burger { display: flex; }
  .bcfy-nav-row { gap: 20px; }
  .bcfy-hero { padding: 48px 0 44px; }
  .bcfy-pillars-row { grid-template-columns: 1fr; }
  .bcfy-pillar { padding: 26px 28px; }
  .bcfy-pillar-head h3 { font-size: 30px; }
  .bcfy-pillar p { font-size: 16px; margin-left: 40px; }
  .bcfy-info-cols { grid-template-columns: 1fr; gap: 38px; }
  .bcfy-premium h2 { font-size: 36px; }
}

/* Mobile drawer — ours entirely. */
@media (max-width: 1000px) {
  .bcfy-nav.is-open {
    display: block; position: fixed; inset: 76px 0 auto 0; z-index: 120;
    background: var(--bcfy-black); border-bottom: 1px solid var(--bcfy-line);
    padding: 12px 16px 24px; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .bcfy-nav.is-open .bcfy-nav-item { display: block; margin-bottom: 8px; }
  .bcfy-nav.is-open .bcfy-nav-lbl { width: 100%; justify-content: space-between; font-size: 16px; padding: 14px 16px; }
  .bcfy-nav.is-open .bcfy-menu {
    position: static; opacity: 1; visibility: hidden; transform: none;
    display: none; margin-top: 6px; box-shadow: none; min-width: 0;
  }
  .bcfy-nav.is-open .bcfy-nav-item.is-open .bcfy-menu { display: block; visibility: visible; }
  .bcfy-nav-auth { display: none; }
  .bcfy-nav.is-open .bcfy-nav-auth {
    display: grid; gap: 10px; margin-top: 16px; padding-top: 18px;
    border-top: 1px solid var(--bcfy-line);
  }
  .bcfy-nav.is-open .bcfy-nav-auth .bcfy-btn { width: 100%; }
}

@media (max-width: 760px) {
  .bcfy-wrap { padding: 0 18px; }
  .bcfy-hero h1 { font-size: 36px; }
  .bcfy-hero p { font-size: 16.5px; margin: 18px 0 26px; }
  .bcfy-cta-row .bcfy-btn { flex: 1 1 100%; }
  .bcfy-nav-cta .bcfy-login { display: none; }

  .bcfy-stat-line { padding: 16px 18px; gap: 13px; }
  .bcfy-stat-ic { width: 38px; height: 38px; }
  .bcfy-stat-ic svg { width: 19px; height: 19px; }
  .bcfy-stat-lbl { font-size: 14px; }
  .bcfy-stat-val { font-size: 17px; }

  .bcfy-premium { padding: 24px 0; }
  .bcfy-premium h2 { font-size: 28px; }
  .bcfy-feats { grid-template-columns: 1fr; gap: 14px; margin-bottom: 30px; }
  .bcfy-plans { grid-template-columns: 1fr; gap: 18px; }
  .bcfy-plan-popular { order: -1; }

  .bcfy-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .bcfy-footer-blurb { max-width: none; }
  .bcfy-footer-bottom .bcfy-row { flex-direction: column; align-items: flex-start; }
  .bcfy-info-col h3 { font-size: 19px; }
}

@media (max-width: 400px) {
  .bcfy-hero h1 { font-size: 31px; }
  .bcfy-pillar-head h3 { font-size: 26px; }
  .bcfy-pillar p { margin-left: 0; }
}
