/* =========================================================
   topindependentbrokeragefirms.com — Professional Stylesheet
   ========================================================= */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
/* ── Google Fonts ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --navy:        #283891;
  --navy-mid:    #112240;
  --gold:        #f7941d;
  --gold-light:  #f4ad57;
  --gold-pale:   #fdf6e3;
  --slate:       #64748b;
  --slate-light: #94a3b8;
  --body-bg:     #f5f7fa;
  --card-bg:     #ffffff;
  --text-main:   #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.08);
  --transition:  .25s cubic-bezier(.4,0,.2,1);
  --font-sans:   "Open Sans", sans-serif;
  --font-serif:  "Arvo", serif;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--body-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
}

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

img { max-width: 100%; height: auto; }

/* ── Skip Link ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── Top Bar ────────────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  letter-spacing: .03em;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: #fff; text-decoration: none; }

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  background: #ffffff;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(10,22,40,.10);
}

/* Navbar inner wrapper — flex on desktop, stacks on mobile */
.site-nav .navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  font-family: var(--font-serif);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy) !important;
  letter-spacing: -.01em;
  flex-shrink: 0;
  text-decoration: none !important;
}
.navbar-brand:hover { color: var(--navy) !important; text-decoration: none; }
.navbar-brand .brand-icon {
  width: 34px; height: 34px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; color: var(--gold);
  font-family: var(--font-sans);
  flex-shrink: 0;
}
.navbar-brand .brand-text { display: flex; flex-direction: column; }
.navbar-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.navbar-brand .brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: .6rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Hamburger button */
.site-nav .navbar-toggler {
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: .35rem .55rem;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(201,168,76,.35); outline: none; }
.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230a1628' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 22px; height: 22px; display: block;
}

/* Collapsed nav panel */
.site-nav .navbar-collapse {
  /* on desktop: normal flex row */
}

/* Nav links — dark text on white bg */
.site-nav .nav-link {
  color: #333 !important;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .015em;
  padding: .5rem .85rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.site-nav .nav-link:hover {
  color: var(--gold) !important;
  background: var(--gold-pale);
  text-decoration: none;
}
.site-nav .nav-link.active {
  color: var(--navy) !important;
  font-weight: 700;
  background: var(--gold-pale);
}

/* CTA button */
.site-nav .nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  margin-left: .4rem;
  border-radius: var(--radius-sm) !important;
}
.site-nav .nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* ── Mobile nav overrides ── */
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 8px 24px rgba(10,22,40,.14);
    padding: .75rem 1rem 1rem;
    z-index: 999;
  }
  .site-nav .navbar-collapse .navbar-nav {
    flex-direction: column !important;
    gap: .25rem !important;
    align-items: stretch !important;
  }
  .site-nav .nav-link {
    padding: .7rem 1rem !important;
    border-radius: var(--radius-sm);
    display: block;
    width: 100%;
  }
  .site-nav .nav-cta {
    margin-left: 0 !important;
    margin-top: .35rem;
    text-align: center;
    display: block;
  }
}

/* ── Hero ───────────────────────────────────────────────── */
.site-hero {
  background:
    linear-gradient(
      to right,
      rgba(8, 18, 38, 0.73) 0%,
      rgba(8, 18, 38, 0.52) 55%,
      rgba(8, 18, 38, 0.65) 100%
    ),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 90% 50%, rgba(201,168,76,.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-eyebrow svg { width: 14px; height: 14px; }

.site-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  color: #fff;
}
.site-hero h1 span { color: var(--gold-light); }

.site-hero .hero-lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat { text-align: left; }
.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .2rem;
  display: block;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-scroll-cue {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-scroll-cue::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: rgba(255,255,255,.2);
}

/* ── Page Layout ────────────────────────────────────────── */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Section Headings ───────────────────────────────────── */
.section-header {
  margin-bottom: 2rem;
}
.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 .5rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: .9375rem;
  max-width: 680px;
  line-height: 1.7;
  margin: 0;
}

/* ── Channel Overview Cards ─────────────────────────────── */
.overview-strip {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin: 2.5rem 0 3rem;
  box-shadow: var(--shadow-sm);
}
.overview-strip p { margin: 0; color: var(--text-main); line-height: 1.8; }
.overview-strip p + p { margin-top: .9rem; }

/* ── Ranking Table ──────────────────────────────────────── */
.ranking-wrap { margin: 0 0 3rem; }

.ranking-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .875rem;
}

.ranking-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem 1rem;
  white-space: nowrap;
}
.ranking-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.ranking-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.ranking-table tbody tr {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.ranking-table tbody tr:hover { background: #f0f4ff; }
.ranking-table tbody tr:nth-child(even) { background: #fafbfc; }
.ranking-table tbody tr:nth-child(even):hover { background: #f0f4ff; }

.ranking-table td {
  padding: .85rem 1rem;
  vertical-align: middle;
  color: var(--text-main);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}
.rank-badge.top3 { background: linear-gradient(135deg, #c9a84c, #e8c97a); color: var(--navy); }
.rank-badge.top10 { background: var(--navy); color: #fff; }
.rank-badge.other { background: var(--border); color: var(--text-muted); }

.firm-link {
  font-weight: 600;
  color: var(--navy);
  display: flex; align-items: center; gap: .4rem;
}
.firm-link:hover { color: var(--gold); text-decoration: none; }
.firm-link .link-arrow { opacity: 0; transition: opacity var(--transition), transform var(--transition); transform: translateX(-4px); font-size: .9rem; color: var(--gold); }
.firm-link:hover .link-arrow { opacity: 1; transform: translateX(0); }

.hq-text { color: var(--text-muted); font-size: .8125rem; }

.rev-value { font-variant-numeric: tabular-nums; font-weight: 600; }

.yoy-badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.yoy-badge.fast { background: #fef9c3; color: #854d0e; }

.table-note {
  font-size: .78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: .75rem;
  line-height: 1.6;
}
.table-note a { color: var(--slate); text-decoration: underline; }

/* ── Takeaways ──────────────────────────────────────────── */
.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}
.takeaway-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.takeaway-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.takeaway-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.takeaway-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.takeaway-text { font-size: .875rem; color: var(--text-main); line-height: 1.6; margin: 0; }

/* ── Methodology Strip ──────────────────────────────────── */
.methodology-strip {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  color: #fff;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.methodology-strip p { color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; line-height: 1.7; }
.methodology-strip a { color: var(--gold-light); }
.methodology-strip a:hover { color: #fff; }
.methodology-strip .meth-label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .4rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq-section { margin: 0 0 3rem; }

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--navy);
  list-style: none;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gold-pale); }
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
  color: var(--gold);
}
details[open] .faq-chevron { transform: rotate(180deg); background: var(--gold); color: #fff; }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.75;
}
.faq-answer a { color: var(--navy); font-weight: 500; text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 2rem;
  font-size: .8125rem;
  line-height: 1.7;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.25rem 0; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .8rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); text-decoration: none; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 1.5rem 0; }
.footer-disclaimer { font-size: .75rem; color: rgba(255,255,255,.45); line-height: 1.7; }
.data-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ── Profile Pages ──────────────────────────────────────── */
.profile-hero {
  background:
        url("../images/bread-bg.jpg")
        center center / cover no-repeat;
  color: #fff;
  padding: 3rem 0;
}
.profile-hero-rank {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.2);
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.profile-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .75rem;
  color: #fff;
}
.profile-hero-sub { color: rgba(255,255,255,.7); font-size: .9rem; }
.profile-hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.profile-hero-stat { }
.profile-stat-val {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: .15rem;
}
.profile-stat-lbl {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.profile-body { padding: 3rem 0 2rem; }

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0 0 1.5rem;
  font-size: .8125rem;
  margin: 0;
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--slate-light); }
.breadcrumb-item a { color: var(--slate); }
.breadcrumb-item.active { color: var(--text-muted); }

/* Quick Facts */
.quick-facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.quick-facts-table tr { border-bottom: 1px solid var(--border); }
.quick-facts-table tr:last-child { border-bottom: none; }
.quick-facts-table th {
  background: #f8fafc;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85rem 1.25rem;
  white-space: nowrap;
  width: 32%;
}
.quick-facts-table td {
  padding: .85rem 1.25rem;
  color: var(--text-main);
  background: var(--card-bg);
  line-height: 1.5;
}
.quick-facts-table a { color: var(--navy); font-weight: 500; text-decoration: underline; }

/* Profile sections */
.profile-section {
  margin-bottom: 2rem;
}
.profile-section-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}
.profile-section-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.profile-section-icon svg { width: 18px; height: 18px; fill: var(--gold); }
.profile-section-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.profile-section p { color: var(--text-main); line-height: 1.75; margin: 0; }

/* News items */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.news-item:hover { box-shadow: var(--shadow-md); }
.news-date {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: .1rem;
  min-width: 100px;
}
.news-text { font-size: .875rem; color: var(--text-main); line-height: 1.65; margin: 0; }
.news-source { display: inline-block; margin-top: .35rem; font-size: .75rem; color: var(--slate); text-decoration: underline; }
.news-source:hover { color: var(--gold); }

/* BrokerCheck CTA */
.brokercheck-cta {
  background: linear-gradient(135deg, #0d3b66, #1a5c9e);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.brokercheck-cta .bc-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}
.brokercheck-cta .bc-content h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .35rem;
}
.brokercheck-cta .bc-content p { color: rgba(255,255,255,.75); font-size: .875rem; margin: 0; }
.brokercheck-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: .875rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
  text-decoration: none !important;
}
.brokercheck-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Profile Navigation */
.profile-nav {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.profile-nav-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none !important;
}
.profile-nav-link:hover { background: var(--navy); color: #fff !important; border-color: var(--navy); }
.profile-nav-link.home-link { background: var(--gold-pale); border-color: var(--gold); color: var(--navy); }
.profile-nav-link.home-link:hover { background: var(--gold); }

/* ── Content Pages (Methodology, Disclosures, How-to) ───── */
.content-page { padding: 3rem 0; padding-top:0px }
.content-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.content-page h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
}
.content-page h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin: 1.5rem 0 .5rem; }
.content-page p { color: var(--text-main); line-height: 1.8; margin-bottom: .9rem; }
.content-page ul { padding-left: 1.5rem; }
.content-page li { margin-bottom: .5rem; color: var(--text-main); line-height: 1.7; }
.content-page a { color: var(--navy); font-weight: 500; text-decoration: underline; }
.content-page .source-note { font-style: italic; color: var(--text-muted); font-size: .83rem; }

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

/* ── Utility ─────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-gold { color: var(--gold); }
.bg-navy { background: var(--navy); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ── Responsive Overrides ────────────────────────────────── */
@media (max-width: 768px) {
  .hero-stats { gap: 1.25rem; }
  .hero-stat-value { font-size: 1.5rem; }
  .ranking-table { font-size: .8rem; }
  .ranking-table td, .ranking-table th { padding: .65rem .75rem; }
  .brokercheck-cta { flex-direction: column; gap: 1rem; }
  .brokercheck-btn { margin-left: 0; width: 100%; justify-content: center; }
  .profile-hero-stats { gap: 1.25rem; }
  .overview-strip { padding: 1.5rem; }
  .methodology-strip { flex-direction: column; gap: 1rem; }
  .profile-nav { flex-direction: column; align-items: stretch; }
  .profile-nav-link { justify-content: center; }
  .news-item { flex-direction: column; gap: .5rem; }
  .news-date { min-width: auto; }
}
@media (max-width: 480px) {
  .site-hero { padding: 3rem 0 2.5rem; }
  .ranking-table thead th:nth-child(3),
  .ranking-table tbody td:nth-child(3) { display: none; }
}
/* =========================================
   PROFESSIONAL FOOTER
========================================= */

.site-footer {
    position: relative;
    background: #00115c;
    color: #fff;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.08);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );
}

.site-footer .page-wrap {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 70px 24px 28px;
}


/* =========================================
   MAIN FOOTER
========================================= */

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr .8fr 1fr;
    gap: 70px;
    padding-bottom: 55px;
}


/* =========================================
   BRAND
========================================= */

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.025em;
}

.footer-logo span {
    color: rgba(255,255,255,.55);
    font-weight: 400;
}

.footer-description {
    max-width: 390px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.52);
    font-size: .9rem;
    line-height: 1.75;
}

.footer-data-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 5px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.58);
    font-size: .72rem;
    letter-spacing: .02em;
}

.footer-data-badge strong {
    color: rgba(255,255,255,.82);
    font-weight: 600;
}

.footer-data-icon {
    display: flex;
    align-items: center;
}

.footer-data-icon svg {
    width: 12px;
    height: 12px;
}


/* =========================================
   HEADINGS
========================================= */

.footer-heading {
    margin-bottom: 18px;
    color: rgba(255,255,255,.4);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}


/* =========================================
   LINKS
========================================= */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    color: rgba(255,255,255,.68);
    text-decoration: none;
    font-size: .84rem;
    line-height: 1.4;
    transition:
        color .25s ease,
        padding-left .25s ease;
}

.footer-links a i {
    color: rgba(255,255,255,.22);
    font-size: .75rem;
    transition: transform .25s ease, color .25s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-links a:hover i {
    color: rgba(255,255,255,.7);
    transform: translateX(3px);
}


/* =========================================
   VERIFICATION PANEL
========================================= */

.footer-verification {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 21px 24px;
    margin-bottom: 35px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    background: rgba(255,255,255,.025);
}

.verification-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    color: rgba(255,255,255,.7);
    font-size: .9rem;
}

.verification-content {
    min-width: 0;
}

.verification-label {
    display: block;
    margin-bottom: 4px;
    color: rgba(255,255,255,.75);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.verification-content p {
    margin: 0;
    color: rgba(255,255,255,.48);
    font-size: .78rem;
    line-height: 1.6;
}

.verification-content a {
    color: rgba(255,255,255,.8);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.verification-content a:hover {
    color: #fff;
}

.verification-content a i {
    margin-left: 3px;
    font-size: .65rem;
}


/* =========================================
   BOTTOM / DISCLOSURE
========================================= */

.footer-bottom {
    padding-top: 27px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-disclaimer {
    max-width: 1080px;
    margin: 0;
    color: rgba(255,255,255,.38);
    font-size: .7rem;
    line-height: 1.75;
}

.footer-disclaimer strong {
    color: rgba(255,255,255,.55);
    font-weight: 600;
}

.footer-disclaimer a {
    color: rgba(255,255,255,.58);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-disclaimer a:hover {
    color: #fff;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: rgba(255,255,255,.3);
    font-size: .68rem;
}

.footer-independent {
    color: rgba(255,255,255,.25);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .site-footer .page-wrap {
        padding-top: 55px;
    }

    .footer-main {
        grid-template-columns: 1.4fr 1fr;
        gap: 45px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .site-footer .page-wrap {
        padding: 45px 20px 24px;
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer-description {
        max-width: 100%;
        font-size: .84rem;
    }

    .footer-heading {
        margin-bottom: 10px;
    }

    .footer-links a {
        padding: 9px 0;
    }

    .footer-verification {
        align-items: flex-start;
        padding: 18px;
        margin-bottom: 28px;
    }

    .verification-icon {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
    }

    .verification-content p {
        font-size: .74rem;
    }

    .footer-disclaimer {
        font-size: .68rem;
    }

    .footer-copyright {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

}