/* ============================================================
   Mango Webies — Brand Identity Generator
   responsive.css — All breakpoints
   Breakpoints:
     1400px+ : Wide screens
     1100px  : Standard laptop
     900px   : Small laptop / landscape tablet
     768px   : iPad / tablet portrait
     640px   : Large phone landscape
     480px   : Standard phone
     360px   : Small phone
   ============================================================ */

/* ── MOBILE MENU TOGGLE (hidden on desktop) ──────────────── */
.ba-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  width: 3.6rem;
  height: 3.6rem;
  background: none;
  border: 1px solid var(--border-m);
  border-radius: .6rem;
  padding: .7rem .9rem;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 300;
  transition: border-color .2s;
}
.ba-menu-toggle:hover { border-color: rgba(255,193,7,.3); }
.ba-menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--t-medium);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .2s;
}
.ba-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.ba-menu-toggle.open span:nth-child(2) { opacity: 0; }
.ba-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }

/* Mobile nav drawer */
.ba-mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 250;
  background: rgba(10,10,10,.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.ba-mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.ba-mobile-nav-inner {
  position: absolute;
  top: 0; right: 0;
  width: 28rem;
  height: 100%;
  background: var(--s1);
  border-left: 1px solid var(--border);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.ba-mobile-nav.open .ba-mobile-nav-inner {
  transform: translateX(0);
}
.ba-mobile-nav-close {
  align-self: flex-end;
  width: 3.2rem; height: 3.2rem;
  border: 1px solid var(--border-m);
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--t-muted);
  margin-bottom: 1.6rem;
  cursor: pointer;
  background: none;
  transition: border-color .2s, color .2s;
}
.ba-mobile-nav-close:hover { border-color: rgba(255,193,7,.3); color: var(--accent); }
.ba-mobile-nav-link {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  border-radius: .8rem;
  font: var(--fw-regular) 1.5rem/1 var(--_font);
  color: var(--t-muted);
  text-decoration: none;
  transition: background .15s, color .15s;
  border: 1px solid transparent;
}
.ba-mobile-nav-link:hover {
  background: rgba(255,255,255,.04);
  color: var(--t-bright);
  border-color: var(--border);
}
.ba-mobile-nav-link.scanner { color: var(--additional); }
.ba-mobile-nav-link.trending { color: var(--accent); }
.ba-mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: .8rem 0;
}

/* ── 1400px+ WIDE SCREENS ─────────────────────────────────── */
@media (min-width: 1400px) {
  .ba-main-wrap { padding: 0 4rem 8rem; }
  .ba-hero { padding: 9rem 0 6rem; }
  .ba-sidebar { width: 340px; }
}

/* ── MAX 1280px ───────────────────────────────────────────── */
@media (max-width: 1280px) {
  .ba-main-wrap { padding: 0 2.4rem 6rem; }
}

/* ── MAX 1100px — Small laptop ───────────────────────────── */
@media (max-width: 1100px) {
  .ba-sidebar { width: 280px; }
  .ba-main-wrap { gap: 2rem; }
  .ba-hero { padding: 6rem 0 4rem; }
}

/* ── MAX 960px — Landscape tablet / small laptop ─────────── */
@media (max-width: 960px) {
  /* Header: hide center nav, show hamburger */
  .ba-nav-center { display: none; }
  .ba-nav-right  { display: none; }
  .ba-menu-toggle { display: flex; }
  .ba-mobile-nav  { display: block; }

  /* Layout: sidebar collapses below content */
  .ba-main-wrap {
    flex-direction: column;
    padding: 0 2rem 5rem;
    gap: 2rem;
  }
  .ba-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0;
    gap: 1.6rem;
  }
  .ba-sidebar > * { flex: 1; min-width: 28rem; }
  .ad-sidebar-tall { display: none; }
  .ba-mobile-ad-bar { display: flex; }

  /* Hero */
  .ba-hero { padding: 5rem 2rem 3rem; }
  .ba-hero__title { font-size: clamp(3.2rem, 6vw, 5.5rem); }

  /* Grids */
  .ba-grid-2 { grid-template-columns: 1fr; }
  .ba-category-grid { grid-template-columns: repeat(3, 1fr); }

  /* Result page */
  .ba-result-header { flex-direction: column; gap: 2rem; }
  .ba-result-actions { flex-wrap: wrap; }
}

/* ── MAX 768px — iPad portrait ───────────────────────────── */
@media (max-width: 768px) {
  /* Header */
  .ba-header { padding: 1rem 1.8rem; }

  /* Hero */
  .ba-hero { padding: 4.5rem 1.8rem 3rem; }
  .ba-hero__title { font-size: clamp(3rem, 8vw, 4.8rem); }
  .ba-hero__desc { font-size: 1.6rem; padding: 0 1rem; }
  .ba-hero__stats { gap: 2rem; }
  .ba-stat-sep { display: none; }

  /* Feature bar */
  .ba-feature-bar { gap: .6rem; }
  .ba-feature-card { font-size: 1.15rem; padding: .6rem 1rem; }

  /* Form */
  .ba-main-wrap { padding: 0 1.6rem 5rem; }
  .ba-form-card { padding: 2.4rem 2rem; }
  .ba-step-title { font-size: 1.7rem; }
  .ba-market-cards { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .ba-market-card { padding: 1.6rem 1rem; }
  .ba-market-label { font-size: 1.4rem; }
  .ba-category-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }

  /* Progress bar */
  .ba-progress-label { font-size: .95rem; }

  /* Result page */
  .ba-card { padding: 2rem 1.8rem; }
  .ba-grid-2 { grid-template-columns: 1fr; gap: 1.2rem; }
  .ba-grid-3 { grid-template-columns: 1fr 1fr; }

  /* Ad */
  .ba-ad-top-bar { display: none; }
  .ba-mobile-ad-bar { display: flex; }

  /* Scanner */
  .ba-scanner-hero { padding: 4rem 1.8rem 3rem; }
  .ba-scanner-title { font-size: clamp(3.2rem, 8vw, 4.8rem); }
  .ba-scanner-desc { font-size: 1.5rem; }
  .ba-scanner-input-card { padding: 1.8rem; }
  .ba-scanner-grid-2 { grid-template-columns: 1fr; }
  .ba-scanner-result-header { flex-direction: column; gap: 1.6rem; }
  .ba-scanner-result-header-right { flex-wrap: wrap; gap: .8rem; }
  .ba-scanner-brand-name { font-size: 3rem; }
  .ba-scanner-pos-grid { grid-template-columns: 1fr; }
  .ba-scanner-palette { grid-template-columns: repeat(2, 1fr); }
  .ba-scanner-results-inner { padding: 0 1.8rem; }
  .ba-scanner-two-col { grid-template-columns: 1fr; }

  /* Trending */
  .tr-hero { padding: 4rem 1.8rem 3rem; }
  .tr-market-grid { grid-template-columns: 1fr; }
  .tr-guide-grid { grid-template-columns: repeat(2, 1fr); }

  /* Matcher */
  .ba-matcher-two-col { grid-template-columns: 1fr; }
  .ba-matcher-palette { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .ba-footer { flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
  .ba-footer-copy { text-align: center; }
  .ba-footer-links { justify-content: center; }
}

/* ── MAX 640px — Large phone landscape ───────────────────── */
@media (max-width: 640px) {
  /* Header */
  .ba-header { padding: 1rem 1.4rem; }
  .ba-logo__text { font-size: 1.5rem; }

  /* Hero */
  .ba-hero { padding: 4rem 1.4rem 2.5rem; }
  .ba-hero__title { font-size: clamp(2.8rem, 9vw, 4rem); letter-spacing: -.03em; }
  .ba-hero__desc { font-size: 1.5rem; margin-bottom: 3rem; }

  /* Form */
  .ba-main-wrap { padding: 0 1.4rem 4rem; }
  .ba-form-card { padding: 2rem 1.6rem; border-radius: var(--r-m); }
  .ba-progress { margin-bottom: 2.4rem; }
  .ba-progress-label { display: none; }
  .ba-market-cards { grid-template-columns: 1fr; gap: .8rem; }
  .ba-market-card { flex-direction: row; align-items: center; gap: 1.4rem; padding: 1.4rem 1.6rem; text-align: left; }
  .ba-market-icon { width: 3.8rem; height: 3.8rem; flex-shrink: 0; }
  .ba-market-icon svg { width: 1.8rem; height: 1.8rem; }
  .ba-market-label { font-size: 1.4rem; }
  .ba-market-desc { display: block; }
  .ba-market-desc { display: none; }
  .ba-category-grid { grid-template-columns: repeat(2, 1fr); }

  /* Live preview */
  .ba-preview-panel { display: none; }

  /* Result page */
  .ba-result-header { padding: 2.4rem 0 2rem; }
  .ba-brand-name-big { font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .ba-card { padding: 1.8rem 1.4rem; }
  .ba-swatch-row { grid-template-columns: repeat(2, 1fr); }
  .ba-palette-swatches { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .ba-ai-banner { flex-direction: column; gap: 1.6rem; align-items: flex-start; }
  .ba-btn-enhance { width: 100%; justify-content: center; }
  .ba-cta-banner { flex-direction: column; gap: 1.6rem; padding: 2.4rem 1.6rem; text-align: center; align-items: center; }

  /* Scanner */
  .ba-scanner-hero { padding: 3.5rem 1.4rem 2.5rem; }
  .ba-scanner-title { font-size: clamp(2.8rem, 9vw, 4rem); }
  .ba-scanner-input-card { padding: 1.4rem; border-radius: var(--r-m); }
  .ba-scanner-input-wrap { flex-direction: row; }
  .ba-scanner-btn { padding: 0 1.4rem; font-size: 1.3rem; }
  .ba-scanner-examples { gap: .5rem; font-size: 1.1rem; }
  .ba-scanner-eg { font-size: 1.1rem; padding: .3rem .7rem; }
  .ba-scanner-brand-name { font-size: 2.6rem; }
  .ba-scanner-palette { grid-template-columns: repeat(2, 1fr); }
  .ba-scanner-swatch { height: 5rem; }
  .ba-scanner-how-steps { flex-direction: column; gap: 1.2rem; }
  .ba-scanner-step-arrow { transform: rotate(90deg); }
  .ba-scanner-cta-card { flex-direction: column; padding: 2.4rem 1.6rem; text-align: center; }
  .ba-scanner-cta-card a { width: 100%; justify-content: center; }

  /* Trending */
  .tr-sub-grid { grid-template-columns: repeat(2, 1fr); }
  .tr-guide-grid { grid-template-columns: 1fr; }

  /* Sidebar */
  .ba-sidebar { display: none; }
  .ba-mobile-ad-bar { display: flex; }

  /* Competitor */
  .ba-comp-meta-row { grid-template-columns: 1fr; }
}

/* ── MAX 480px — Standard smartphone ─────────────────────── */
@media (max-width: 480px) {
  /* Header */
  .ba-header { padding: .9rem 1.2rem; }
  .ba-logo__image { width: 3.2rem; }
  .ba-logo__text { font-size: 1.4rem; }
  .ba-menu-toggle { width: 3.2rem; height: 3.2rem; }

  /* Body */
  body { min-width: 320px; }

  /* Hero */
  .ba-hero { padding: 3.5rem 1.2rem 2.5rem; }
  .ba-eyebrow-tag { font-size: 1.1rem; }
  .ba-hero__stats { gap: 1.2rem; flex-direction: column; align-items: center; }

  /* Feature bar — hide on very small screens */
  .ba-feature-bar { display: none; }

  /* Form */
  .ba-main-wrap { padding: 0 1.2rem 3.5rem; }
  .ba-form-card { padding: 1.6rem 1.2rem; }
  .ba-input, .ba-textarea, .ba-select { font-size: 1.5rem; padding: 1.2rem 1.4rem; }
  .ba-btn-generate { height: 5.2rem; font-size: 1.5rem; }
  .ba-market-cards { grid-template-columns: 1fr; gap: .6rem; }
  .ba-market-card { padding: 1.2rem .6rem; }
  .ba-market-icon { width: 3.2rem; height: 3.2rem; }
  .ba-market-icon svg { width: 1.5rem; height: 1.5rem; }
  .ba-market-label { font-size: 1.2rem; }
  .ba-category-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .ba-cat-card { padding: 1.1rem; }
  .ba-cat-label { font-size: 1.1rem; }

  /* Result */
  .ba-card { padding: 1.6rem 1.2rem; }
  .ba-card-title { font-size: 1.5rem; }
  .ba-personality-big { font-size: 2.4rem; }
  .ba-tagline-list { flex-direction: column; }
  .ba-kw-cloud { gap: .5rem; }

  /* Scanner */
  .ba-scanner-input-wrap { height: auto; flex-direction: row; align-items: center; padding: 0 1rem 0 1.4rem; gap: 0; }
  .ba-scanner-input { height: 5rem; font-size: 1.4rem; }
  .ba-scanner-btn { width: auto; height: 4rem; padding: 0 1.6rem; margin: .4rem; font-size: 1.3rem; flex-shrink: 0; }
  .ba-scanner-palette { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .ba-scanner-font-row { grid-template-columns: 1fr; }
  .ba-scanner-socials { grid-template-columns: 1fr; }

  /* Toast */
  .ba-toast { font-size: 1.3rem; padding: 1rem 1.8rem; }
}

/* ── MAX 360px — Small phones ─────────────────────────────── */
@media (max-width: 360px) {
  .ba-hero__title { font-size: 2.6rem; }
  .ba-market-label { font-size: 1.1rem; }
  .ba-form-card { padding: 1.4rem 1rem; }
  .ba-main-wrap { padding: 0 1rem 3rem; }
  .ba-scanner-title { font-size: 2.6rem; }
  .ba-mobile-nav-inner { width: 100%; }
}

/* ── SIDEBAR STICKY ON DESKTOP ────────────────────────────── */
@media (min-width: 961px) {
  .ba-sidebar-sticky {
    position: sticky;
    top: 8rem;
  }
}

/* ── SCANNER MOBILE SPECIFIC ──────────────────────────────── */
@media (max-width: 640px) {
  /* Loading state — center properly */
  .ba-scanner-loading {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.4rem;
    gap: 1.4rem;
  }
  .ba-scanner-loading-title { font-size: 1.5rem; }
  .ba-scanner-loading-sub { font-size: 1.2rem; }

  /* Market cards — full width on mobile */
  .ba-market-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.4rem;
    padding: 1.4rem 1.6rem;
  }
  .ba-market-icon { flex-shrink: 0; }
  .ba-market-desc { display: block; font-size: 1.2rem; }

  /* Footer center */
  .ba-footer { text-align: center; align-items: center; }
  .ba-footer-links { justify-content: center; }
  .ba-footer-copy { text-align: center; width: 100%; }
}

@media (max-width: 480px) {
  .ba-scanner-loading { padding: 2.5rem 1.2rem; }
  .ba-scanner-loading-title { font-size: 1.4rem; }

  /* Market card horizontal layout on phone */
  .ba-market-card {
    flex-direction: row;
    padding: 1.2rem 1.4rem;
    text-align: left;
    gap: 1.2rem;
  }
  .ba-market-icon { width: 3.6rem; height: 3.6rem; flex-shrink: 0; }
  .ba-market-label { font-size: 1.4rem; }
  .ba-market-desc { display: block; font-size: 1.2rem; }
}

/* ============================================================
   FLUID TYPOGRAPHY — Responsive font scaling
   Like top-tier brands: every text element scales correctly
   across wide (1400px) → laptop (1100px) → tablet (768px) → mobile (480px)
   ============================================================ */

/* ── GLOBAL BODY TEXT ─────────────────────────────────────── */
/* Desktop: 1.7rem → Tablet: 1.6rem → Mobile: 1.5rem */
@media (max-width: 768px) {
  body { font-size: 1.6rem; line-height: 1.7; }
}
@media (max-width: 480px) {
  body { font-size: 1.5rem; line-height: 1.65; }
}

/* ── HERO SECTION ─────────────────────────────────────────── */
@media (max-width: 960px) {
  /* Main hero h1: 7.2rem → 5.5rem */
  .ba-hero__title { font-size: clamp(3.2rem, 6vw, 5.5rem); }
  /* Hero description: 1.8rem → 1.65rem */
  .ba-hero__desc { font-size: 1.65rem; line-height: 1.6; }
  .ba-eyebrow-tag { font-size: 1.2rem; }
}
@media (max-width: 768px) {
  .ba-hero__title { font-size: clamp(3rem, 7.5vw, 4.6rem); }
  .ba-hero__desc { font-size: 1.55rem; }
  .ba-stat__label { font-size: 1.25rem; }
  .ba-stat__icon { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .ba-hero__title { font-size: clamp(2.6rem, 9vw, 3.6rem); }
  .ba-hero__desc { font-size: 1.45rem; line-height: 1.6; }
  .ba-eyebrow-tag { font-size: 1.1rem; }
}

/* ── NAVIGATION ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .ba-header-link { font-size: 1.35rem; }
}

/* ── FORM ELEMENTS ────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Step titles: 1.9rem → 1.75rem */
  .ba-step-title { font-size: 1.75rem; }
  .ba-step-hint { font-size: 1.2rem; }
  /* Labels */
  .ba-label { font-size: 1.15rem; }
  /* Inputs */
  .ba-input, .ba-textarea, .ba-select { font-size: 1.55rem; }
  /* Market cards */
  .ba-market-label { font-size: 1.5rem; }
  .ba-market-desc { font-size: 1.25rem; }
  /* Category cards */
  .ba-cat-label { font-size: 1.2rem; }
  /* Progress */
  .ba-progress-dot { width: 3rem; height: 3rem; font-size: 1.2rem; }
  /* Subcategory */
  .ba-select { font-size: 1.55rem; }
}
@media (max-width: 480px) {
  .ba-step-title { font-size: 1.6rem; }
  .ba-input, .ba-textarea, .ba-select { font-size: 1.45rem; }
  .ba-market-label { font-size: 1.4rem; }
  .ba-cat-label { font-size: 1.15rem; }
  .ba-label { font-size: 1.1rem; }
}

/* ── RESULT PAGE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Brand name: clamp(3rem→5.6rem) → scale down */
  .ba-brand-name-big { font-size: clamp(2.8rem, 7vw, 4.2rem) !important; }
  /* Card titles: 2rem → 1.75rem */
  .ba-card-title { font-size: 1.75rem; }
  /* Card labels: uppercase labels */
  .ba-card-label { font-size: .95rem; letter-spacing: .12em; }
  /* Personality big */
  .ba-personality-big { font-size: 2.2rem; line-height: 1.2; }
  /* Tone label */
  .ba-tone-big { font-size: 1.9rem; }
  .ba-tone-desc { font-size: 1.4rem; }
  /* Taglines */
  .ba-tagline-txt { font-size: 1.55rem; }
  /* Keywords pills */
  .ba-kw-pill { font-size: 1.2rem; }
  /* Trait pills */
  .ba-trait-pill { font-size: 1.2rem; }
  /* Visual style label */
  .ba-logo-row-label { font-size: 1.1rem; }
  .ba-logo-row-desc { font-size: 1.4rem; }
  /* AI banner */
  .ba-ai-banner-title { font-size: 1.7rem; }
  .ba-ai-banner-sub { font-size: 1.3rem; line-height: 1.5; }
  /* Section headings */
  .ba-section-head h3 { font-size: 1.7rem; }
  /* CTA */
  .ba-cta-title { font-size: 2.4rem; }
  .ba-cta-desc { font-size: 1.5rem; }
  /* Swatch hex */
  .ba-swatch-hex { font-size: 1.05rem; }
  /* Market position pills */
  .ba-market-pos-pill { font-size: 1.1rem; }
  /* Keywords heading */
  .ba-kw-heading { font-size: 1rem; }
}
@media (max-width: 480px) {
  .ba-brand-name-big { font-size: clamp(2.4rem, 8vw, 3.2rem) !important; }
  .ba-card-title { font-size: 1.6rem; }
  .ba-personality-big { font-size: 2rem; }
  .ba-tone-big { font-size: 1.75rem; }
  .ba-tagline-txt { font-size: 1.45rem; }
  .ba-cta-title { font-size: 2rem; }
  .ba-cta-desc { font-size: 1.4rem; }
  .ba-section-head h3 { font-size: 1.6rem; }
  .ba-ai-banner-title { font-size: 1.6rem; }
}

/* ── BRAND SCANNER PAGE ───────────────────────────────────── */
@media (max-width: 768px) {
  /* Scanner page hero title: 5.2rem → 3.6rem */
  .ba-scanner-title { font-size: clamp(2.8rem, 7vw, 4rem); }
  .ba-scanner-desc { font-size: 1.5rem; line-height: 1.6; }
  /* Result header */
  .ba-scanner-brand-name { font-size: clamp(2.4rem, 6.5vw, 3.4rem); }
  .ba-scanner-brand-tagline { font-size: 1.4rem; }
  .ba-scanner-brand-desc { font-size: 1.35rem; }
  /* Meta pills */
  .ba-scanner-meta-pill { font-size: 1.15rem; }
  /* Card labels */
  .ba-scanner-card-label { font-size: .9rem; letter-spacing: .12em; }
  /* Summary text */
  .ba-scanner-summary-text { font-size: 1.4rem; line-height: 1.65; }
  /* DNA block */
  .ba-scanner-dna-summary { font-size: 1.35rem; }
  .ba-scanner-dna-label { font-size: .9rem; }
  /* Personality */
  .ba-scanner-personality-big { font-size: 2.2rem; }
  .ba-scanner-trait { font-size: 1.2rem; }
  /* Tone */
  .ba-scanner-tone-label { font-size: 1.6rem; }
  .ba-scanner-tone-desc { font-size: 1.25rem; }
  .ba-scanner-tone-eg { font-size: 1.2rem; }
  /* Positioning */
  .ba-scanner-pos-label { font-size: .9rem; }
  .ba-scanner-pos-val { font-size: 1.3rem; }
  /* Keywords */
  .ba-scanner-kw { font-size: 1.2rem; }
  /* Strengths/weaknesses */
  .ba-scanner-str-item, .ba-scanner-wk-item { font-size: 1.3rem; }
  /* CTA */
  .ba-scanner-cta-title { font-size: 1.75rem; }
  .ba-scanner-cta-desc { font-size: 1.35rem; }
  /* How it works */
  .ba-scanner-how-title { font-size: 1.75rem; }
  .ba-scanner-step-text { font-size: 1.3rem; }
  /* Swatch */
  .ba-scanner-swatch-name { font-size: 1.1rem; }
  /* Font boxes */
  .ba-scanner-font-name { font-size: 1.35rem; }
  /* Social */
  .ba-scanner-social-label { font-size: 1.25rem; }
  .ba-scanner-social-handle { font-size: 1.05rem; }
  /* Input */
  .ba-scanner-input { font-size: 1.45rem; }
  .ba-scanner-btn { font-size: 1.35rem; }
  .ba-scanner-examples { font-size: 1.2rem; }
  .ba-scanner-eg { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .ba-scanner-title { font-size: clamp(2.4rem, 8vw, 3.2rem); }
  .ba-scanner-desc { font-size: 1.4rem; }
  .ba-scanner-brand-name { font-size: clamp(2.2rem, 7.5vw, 3rem); }
  .ba-scanner-personality-big { font-size: 2rem; }
  .ba-scanner-summary-text { font-size: 1.35rem; }
  .ba-scanner-cta-title { font-size: 1.6rem; }
}

/* ── TRENDING PAGE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .tr-hero-title { font-size: clamp(2.8rem, 7vw, 4rem); }
  .tr-hero-sub { font-size: 1.5rem; }
  .tr-total-num { font-size: 2.2rem; }
  .tr-market-pct { font-size: 2.8rem; }
  .tr-section-title { font-size: 1.75rem; }
  .tr-cta h2 { font-size: 1.9rem; }
}
@media (max-width: 480px) {
  .tr-hero-title { font-size: clamp(2.4rem, 8vw, 3rem); }
  .tr-market-pct { font-size: 2.4rem; }
}

/* ── RESULT PAGE — COMPETITOR & MATCHER SECTIONS ─────────── */
@media (max-width: 768px) {
  .ba-comp-headline { font-size: 1.6rem; }
  .ba-matcher-headline { font-size: 1.7rem; }
  .ba-matcher-dna-summary { font-size: 1.35rem; }
  .ba-matcher-typo-name { font-size: 1.35rem; }
  .ba-matcher-tagline-text { font-size: 1.4rem; }
}

/* ── FOOTER ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ba-footer-copy { font-size: 1.3rem; }
  .ba-footer-link { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .ba-footer-copy { font-size: 1.25rem; }
  .ba-footer-link { font-size: 1.25rem; }
}

/* ── TOAST NOTIFICATION ───────────────────────────────────── */
@media (max-width: 480px) {
  .ba-toast { font-size: 1.3rem; padding: 1rem 1.8rem; }
}
