/* HB Funded affiliate page styles — moved from affiliate.html inline <style> blocks (2026-11-04). Same rules, same order. */

/* ── was affiliate.html line 407 ── */
@media (max-width: 640px) {
    #nav-toggle { display: block !important; }
    #mobile-menu.open { display: flex !important; }
  }

/* ── was affiliate.html line 416 ── */
.aff-hero { text-align: center; padding: 4rem 1rem 2.5rem; }
  .aff-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
  .aff-hero p { font-size: 1.0625rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }

  .tab-row { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem; }
  .tab-btn {
    padding: 0.6rem 1.5rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
    border: 1px solid var(--border); background: transparent; color: var(--text-muted);
    cursor: pointer; transition: all 160ms;
  }
  .tab-btn.active, .tab-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }

  .tab-panel { display: none; }
  .tab-panel.active { display: block; }

  .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto 2.5rem; }
  .info-card {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.75rem 1.5rem;
  }
  .info-card .ic-icon { font-size: 2rem; margin-bottom: 0.875rem; }
  .info-card .ic-title { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
  .info-card .ic-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

  .highlight-row {
    display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
    margin: 0 auto 2.5rem; max-width: 700px; text-align: center;
  }
  .hl-item .hl-val { font-size: 2rem; font-weight: 800; color: var(--accent); }
  .hl-item .hl-label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }

  .cta-box {
    background: rgba(0,193,245,0.07); border: 1px solid rgba(0,193,245,0.25);
    border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
    max-width: 600px; margin: 0 auto 1rem;
  }
  .cta-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
  .cta-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
  .btn-accent {
    display: inline-block; background: var(--accent); color: #000;
    font-weight: 700; font-size: 0.9375rem; padding: 0.75rem 2rem;
    border-radius: 10px; text-decoration: none; transition: opacity 160ms;
  }
  .btn-accent:hover { opacity: 0.85; }
  .btn-outline {
    display: inline-block; background: transparent; color: var(--accent);
    font-weight: 600; font-size: 0.9rem; padding: 0.65rem 1.5rem;
    border-radius: 10px; text-decoration: none; border: 1px solid var(--accent);
    transition: all 160ms; margin-left: 0.75rem;
  }
  .btn-outline:hover { background: var(--accent); color: #000; }

  .steps { max-width: 680px; margin: 0 auto 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
  .step-row { display: flex; gap: 1.25rem; align-items: flex-start; }
  .step-num {
    min-width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: #000; font-weight: 800; font-size: 0.875rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .step-body .step-title { font-weight: 700; font-size: 0.9375rem; color: var(--text); margin-bottom: 0.25rem; }
  .step-body .step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

  .partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; max-width: 860px; margin: 0 auto 2.5rem; }
  .partner-card {
    border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem;
    background: rgba(255,255,255,0.02);
  }
  .partner-card .pc-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--accent); border: 1px solid rgba(0,193,245,0.35);
    border-radius: 999px; padding: 0.2rem 0.65rem; margin-bottom: 0.75rem;
  }
  .partner-card .pc-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
  .partner-card .pc-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }


/* ── apply button in the hero + phone swipe hint for the tier table (2026-11-07) ── */
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: -0.5rem; }
.hero-cta-login { font-size: 0.875rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.hero-cta-login:hover { text-decoration: underline; }
.swipe-hint { display: none; font-size: 0.78rem; color: var(--text-faint); margin-bottom: 0.5rem; }
@media (max-width: 640px) { .swipe-hint { display: block; } }
