/* ==========================================================================
   FranchiseMate. — The Editorial Standard Design System (v7.0 Lookbook)
   Palette: Red #D8392F | Ivory #F5F5F7 | Stone #E2E4E9 | Ink #171717 | White #FFFFFF
   Typography: Newsreader (editorial serif) + Inter (UI, tables, body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,600&display=swap');

:root {
  --fm-red: #C62828;
  --fm-red-hover: #A91E1E;
  --fm-green: #059669;
  --fm-ivory: #F5F5F7;
  --fm-ivory-deep: #EBEBEF;
  --fm-stone: #E2E4E9;
  --fm-stone-soft: #ECEEF2;
  --fm-ink: #0A0D14;
  --fm-ink-soft: #333945;
  --fm-ink-muted: #525866;
  --fm-surface: #FFFFFF;
  --fm-white: #FFFFFF;

  --c-ink: #0A0D14;
  --c-ink-muted: #525866;
  --c-hairline-light: #E2E4E9;
  --c-hairline-dark: #262A34;
  --c-stage: #F5F5F7;
  --c-stage-raised: #FFFFFF;
  --c-on-stage: #0A0D14;
  --c-on-stage-muted: #525866;
  --r-card: 8px;

  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--fm-white);
  color: var(--fm-ink);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.58;
  color: var(--fm-ink);
  background: var(--fm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.fm-overview-grid > *,
.fm-dir-layout > *,
.fm-hero-split > *,
.fm-profile-hero > *,
.bento-grid-3 > *,
.bento-grid-2 > *,
.vault-grid > * {
  min-width: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--fm-ink);
  text-decoration: underline;
  text-decoration-color: rgba(23, 23, 23, 0.35);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--fm-red);
  text-decoration-color: var(--fm-red);
}

.num, .data-table td, .rc-val, .stat-num, .stance-pill {
  font-variant-numeric: tabular-nums lining-nums;
}

.container {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, .serif-head {
  font-family: var(--font-serif);
  color: var(--fm-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.04;
  font-weight: 700;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  font-weight: 700;
}

h3 {
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin: 0 0 14px;
  color: var(--fm-ink);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.eyebrow, .eyebrow-light, .fm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fm-red);
  margin-bottom: 10px;
}

.muted-note, .zest-prov {
  font-size: 13.5px;
  color: var(--fm-ink-muted);
  line-height: 1.45;
}

.geo-answer, .hero-sub {
  font-size: 17px;
  line-height: 1.56;
  color: #2B2B28;
  max-width: 68ch;
  margin-bottom: 20px;
}

.mt-sm { margin-top: 14px; }
.right-align { text-align: right; }
.reading-well { max-width: 70ch; }

/* --- Compact Editorial Header & Wordmark (Lookbook Page 2 & 3) --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fm-stone);
}

.topbar-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--fm-stone);
  background: var(--fm-white);
  color: var(--fm-ink);
  cursor: pointer;
}

.fm-mobile-nav-drawer {
  display: none;
  background: var(--fm-white);
  border-bottom: 1px solid var(--fm-stone);
  padding: 12px 20px 18px;
}

.fm-mobile-nav-drawer.is-open {
  display: block;
}

.fm-mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fm-mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fm-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--fm-stone-soft);
}

.fm-mobile-nav-list a:last-child {
  border-bottom: none;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.fm-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fm-ink);
  text-decoration: none;
  line-height: 1;
}

.fm-wordmark:hover {
  color: var(--fm-ink);
  opacity: 0.92;
}

.fm-logo-img {
  display: block;
  height: 30px;
  width: auto;
}

.fm-logo-img-footer {
  height: 28px;
}

.fm-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--fm-red);
  margin-left: 2px;
  transform: translateY(-1px);
}

.fm-badge-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--fm-red);
  color: var(--fm-white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  border-radius: 3px;
}

.topbar-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar-nav-links a {
  position: relative;
  font-family: var(--font-text);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fm-ink);
  text-decoration: none;
  padding: 22px 0;
}

.topbar-nav-links a:hover {
  color: var(--fm-red);
}

.topbar-nav-links a.is-current {
  font-weight: 600;
}

.topbar-nav-links a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--fm-red);
}

.topbar-saved-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  padding-left: 18px;
  border-left: 1px solid var(--fm-stone);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fm-ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-saved-link:hover {
  color: var(--fm-red);
}

/* Explorer Quick Strip (Secondary Editorial Sub-Bar) */
.explorer-strip {
  background: var(--fm-ivory);
  border-bottom: 1px solid var(--fm-stone);
  overflow-x: auto;
}

.explorer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  white-space: nowrap;
}

.explorer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fm-ink-muted);
  text-decoration: none;
}

.explorer-links a:hover {
  color: var(--fm-red);
}

/* --- Surfaces & Section Spacing --- */
.surface-stage {
  background: var(--fm-ivory);
  border-bottom: 1px solid var(--fm-stone);
  color: var(--fm-ink);
}

.surface-sheet {
  background: var(--fm-white);
  border-bottom: 1px solid var(--fm-stone);
  color: var(--fm-ink);
}

.surface-alabaster {
  background: var(--fm-ivory);
  border-bottom: 1px solid var(--fm-stone);
  color: var(--fm-ink);
}

.hero-wrap {
  padding: 44px 0 42px;
}

.section-pad {
  padding: 48px 0;
}

.editorial-rule {
  border: 0;
  border-top: 1px solid var(--fm-stone);
  margin: 34px 0;
}

/* --- Buttons (Signal Red #D8392F with Pure White #FFFFFF 4.62:1 Contrast) --- */
.btn-sacred, .btn-red {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #DF4137 0%, #D8392F 100%);
  color: #FFFFFF !important;
  border: 1px solid #C02D24;
  border-radius: 5px;
  padding: 13px 22px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 12px rgba(216, 57, 47, 0.22);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-sacred:hover, .btn-red:hover {
  background: var(--fm-red-hover);
  color: #FFFFFF !important;
}

.btn-sacred-compact {
  padding: 11px 18px;
}

.btn-sacred-main {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
}

.btn-sacred-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  margin-top: 2px;
}

.btn-full {
  width: 100%;
}

.btn-outline, .btn-ghost-light, .btn-mini-light, .btn-save-toggle, .btn-cmp-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--fm-white);
  color: var(--fm-ink) !important;
  border: 1px solid var(--fm-stone);
  border-radius: 5px;
  padding: 10px 16px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-outline:hover, .btn-ghost-light:hover, .btn-mini-light:hover, .btn-save-toggle:hover, .btn-cmp-toggle:hover {
  border-color: var(--fm-ink);
  background: var(--fm-ivory);
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.48);
}

.btn-mini-light {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-save-toggle.is-active, .btn-cmp-toggle.is-active, .btn-mini-light.is-active {
  background: var(--fm-ink);
  border-color: var(--fm-ink);
  color: var(--fm-white) !important;
}

.link-red-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fm-red) !important;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none !important;
}

.link-red-arrow:hover {
  text-decoration: underline !important;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Lookbook Homepage Split Ivory Hero --- */
.fm-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  margin: 26px 0 36px;
  overflow: hidden;
}

.fm-hero-copy {
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fm-hero-photo {
  min-height: 310px;
  flex: 1;
  background: var(--fm-stone-soft);
  overflow: hidden;
}

.fm-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Universal Editorial Figure & Photo Caption System --- */
.fm-seo-figure,
.fm-hero-figure,
.fm-card-figure,
.fm-ind-figure,
.fm-dir-figure,
.fm-profile-figure,
.fm-banner-figure,
.fm-cmp-figure,
.fm-guide-lead-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--fm-ivory);
}

.fm-hero-figure {
  border-left: 1px solid var(--fm-stone);
  height: 100%;
}

.fm-hero-figure .fm-photo-caption {
  background: var(--fm-ivory);
  border-top: 1px solid var(--fm-stone);
  padding: 10px 16px;
}

.fm-photo-caption {
  margin: 0;
  padding: 8px 12px;
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.42;
  white-space: normal;
  color: var(--fm-ink-muted);
  background: var(--fm-ivory);
  border-top: 1px solid var(--fm-stone-soft);
}

.fm-card-figure {
  border-bottom: 1px solid var(--fm-stone);
}

.fm-card-figure .fm-photo-card-img {
  display: block;
  border-bottom: none;
}

.fm-ind-figure {
  border: 1px solid var(--fm-stone);
  margin-bottom: 10px;
  overflow: hidden;
}

.fm-ind-figure .fm-ind-img {
  display: block;
  border: none;
  margin-bottom: 0;
}

.fm-dir-figure {
  border: 1px solid var(--fm-stone);
  overflow: hidden;
  width: 100%;
}

.fm-dir-figure .fm-dir-thumb {
  display: block;
  width: 100%;
  border: none;
}

.fm-dir-figure .fm-dir-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-dir-figure .fm-photo-caption {
  font-size: 11.8px;
  padding: 7px 10px;
  line-height: 1.38;
}

.fm-profile-figure {
  border: 1px solid var(--fm-stone);
  overflow: hidden;
}

.fm-profile-figure .fm-profile-hero-photo {
  border: none;
}

.fm-banner-figure {
  border: 1px solid var(--fm-stone);
  margin: 16px 0 24px;
  overflow: hidden;
}

.fm-banner-figure .fm-ownership-banner {
  border: none;
  margin: 0;
}

.fm-compare-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
}

.fm-cmp-figure {
  border: 1px solid var(--fm-stone);
  margin-bottom: 10px;
  overflow: hidden;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.fm-cmp-figure .fm-cmp-img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--fm-ivory);
}

.fm-cmp-figure .fm-cmp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-cmp-figure .fm-photo-caption {
  font-size: 11.8px;
  font-weight: 400;
  padding: 7px 10px;
}

.fm-guide-lead-figure {
  border: 1px solid var(--fm-stone);
  margin-bottom: 18px;
  overflow: hidden;
}

.fm-guide-lead-figure .fm-guide-lead-img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.fm-guide-lead-figure .fm-guide-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.fm-search-inline {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.fm-search-inline .field-input {
  flex: 1 1 240px;
}

/* --- Lookbook Editorial Cards (Homepage, Directory, Guides, Peers) --- */
.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fm-photo-card {
  background: var(--fm-white);
  border: 1px solid var(--fm-stone);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fm-photo-card-img {
  aspect-ratio: 3 / 2;
  width: 100%;
  overflow: hidden;
  background: var(--fm-ivory);
  border-bottom: 1px solid var(--fm-stone);
}

.fm-photo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.fm-photo-card:hover .fm-photo-card-img img {
  transform: scale(1.02);
}

.fm-photo-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fm-card-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--fm-ink-muted);
}

.fm-card-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  padding: 0;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  color: var(--fm-ink-muted);
  cursor: pointer;
}

.fm-card-ctrl-btn:hover, .fm-card-ctrl-btn.is-active {
  color: var(--fm-red);
  font-weight: 700;
}

.fm-industry-card {
  text-decoration: none !important;
  display: block;
}

.fm-industry-card .fm-ind-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--fm-stone);
  margin-bottom: 10px;
}

.fm-industry-card .fm-ind-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-industry-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 15px 0;
  margin-top: 18px;
  border-top: 1px solid var(--fm-stone);
  border-bottom: 1px solid var(--fm-stone);
  font-size: 14px;
}

.fm-industry-strip a {
  text-decoration: none;
  color: var(--fm-ink-muted);
}

.fm-industry-strip a:hover {
  color: var(--fm-red);
}

/* Ivory 3-Column Hairline Band ("Know what you are comparing") */
.fm-ivory-band {
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  padding: 34px 36px;
}

.fm-hairline-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 18px;
}

.fm-hairline-cols-3 > div {
  padding: 0 24px;
  border-left: 1px solid var(--fm-stone);
}

.fm-hairline-cols-3 > div:first-child {
  padding-left: 0;
  border-left: none;
}

/* --- Brand Profile Editorial Layout (Lookbook Page 8 & 9) --- */
.fm-breadcrumb {
  font-size: 13.5px;
  color: var(--fm-ink-muted);
  padding: 18px 0 8px;
}

.fm-breadcrumb a {
  color: var(--fm-ink-muted);
  text-decoration: none;
}

.fm-breadcrumb a:hover {
  color: var(--fm-red);
}

.fm-profile-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  padding: 14px 0 30px;
  border-bottom: 1px solid var(--fm-stone);
}

.fm-profile-hero-photo {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--fm-stone);
  overflow: hidden;
  background: var(--fm-ivory);
}

.fm-profile-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-facts-strip-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px 0;
  border-bottom: 1px solid var(--fm-stone);
}

.fm-facts-strip-4 > div {
  padding: 0 22px;
  border-left: 1px solid var(--fm-stone);
}

.fm-facts-strip-4 > div:first-child {
  padding-left: 0;
  border-left: none;
}

.fm-fact-lbl {
  font-size: 13px;
  font-weight: 700;
  color: var(--fm-ink);
  margin-bottom: 3px;
}

.fm-fact-val {
  font-size: 15px;
  color: var(--fm-ink-muted);
}

/* Sub-Nav Tabs with Red Active Underline */
.jump-bar {
  position: sticky;
  top: 68px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--fm-stone);
  overflow-x: auto;
}

.jump-links {
  display: flex;
  gap: 28px;
  white-space: nowrap;
}

.jump-links a {
  display: inline-block;
  padding: 14px 0 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fm-ink-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.jump-links a:first-child, .jump-links a:hover {
  color: var(--fm-ink);
  font-weight: 600;
  border-bottom-color: var(--fm-red);
}

/* Profile 2-Column Overview + Sticky "Take a closer look." Callout */
.fm-overview-grid {
  display: grid;
  grid-template-columns: 1.48fr 0.82fr;
  gap: 38px;
  align-items: start;
}

.fm-closer-card {
  position: sticky;
  top: 132px;
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  border-top: 4px solid var(--fm-red);
  padding: 26px 26px;
}

.fm-ownership-banner {
  width: 100%;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  border: 1px solid var(--fm-stone);
  margin: 16px 0 22px;
}

.fm-ownership-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Accordion Questions ("Bring better questions to the conversation") */
.fm-accordion-list {
  border-top: 1px solid var(--fm-stone);
  margin-top: 16px;
}

.fm-accordion-item {
  border-bottom: 1px solid var(--fm-stone);
}

.fm-accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--fm-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fm-accordion-item summary::-webkit-details-marker {
  display: none;
}

.fm-accordion-item summary::after {
  content: "⌄";
  font-size: 18px;
  color: var(--fm-ink-muted);
}

.fm-accordion-item[open] {
  background: var(--fm-ivory);
}

.fm-accordion-item[open] summary::after {
  content: "⌃";
}

.fm-accordion-body {
  padding: 0 16px 16px;
  font-size: 15px;
  color: var(--fm-ink-muted);
}

/* --- Bento Cards, Scoreboards & Data Tables --- */
.bento-card, .bento-card-dark, .dir-card, .franscore-card, .factor-card, .reality-card {
  background: var(--fm-white);
  border: 1px solid var(--fm-stone);
  border-radius: 4px;
  padding: 24px;
  color: var(--fm-ink);
  text-decoration: none;
}

.bento-card-dark {
  background: var(--fm-ivory);
}

.dir-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.15s ease;
}

.dir-card:hover {
  border-color: var(--fm-ink);
}

.card-spec-box {
  border-top: 1px solid var(--fm-stone);
  padding-top: 12px;
  font-size: 14px;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.scroll-x {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table caption {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--fm-ink-muted);
  margin-bottom: 10px;
}

.data-table thead tr {
  background: #F1F3F5;
}

.data-table th, .data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--fm-stone);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  font-weight: 700;
  color: var(--fm-ink);
  white-space: nowrap;
  width: auto;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--fm-ink);
  width: 34%;
}

.data-table td a {
  color: var(--fm-red);
  font-weight: 600;
  white-space: nowrap;
}

/* --- Main-Street Stock-Style Scoreboard Components in Editorial Palette --- */
.equity-verdict-bar {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  border-left: 5px solid var(--fm-red);
  padding: 22px 24px;
  margin: 18px 0 24px;
}

.quant-grade-box {
  background: var(--fm-ink);
  color: var(--fm-white);
  border-radius: 4px;
  padding: 12px 8px;
  text-align: center;
}

.quant-grade-letter {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.quant-grade-sub {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.80);
  margin-top: 4px;
}

.stance-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.stance-pill, .badge-pill, .grade-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--fm-stone);
  background: var(--fm-ivory);
  color: var(--fm-ink);
}

.stance-hc, .grade-a {
  background: #E8F5EE;
  border-color: #9BD3B3;
  color: #115E38;
}

.stance-es, .grade-b {
  background: #EEF3FA;
  border-color: #B4C8E8;
  color: #1D437A;
}

.stance-pd, .grade-c {
  background: #FBF4E4;
  border-color: #E6CB8E;
  color: #784F09;
}

.stance-ec, .grade-d {
  background: #FDECEB;
  border-color: #EEB4B0;
  color: #9E2119;
}

.factor-card {
  padding: 18px 20px;
}

.factor-top, .factor-metric-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.factor-title {
  font-weight: 700;
  font-size: 14.5px;
}

.factor-insight {
  font-size: 13.5px;
  color: var(--fm-ink-muted);
  margin: 10px 0 0;
}

.meter-row { margin-bottom: 12px; }
.meter-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.meter-track, .meter-track-light {
  width: 100%;
  height: 6px;
  background: var(--fm-stone-soft);
  border-radius: 99px;
  overflow: hidden;
}
.meter-fill {
  width: var(--w, 50%);
  height: 100%;
  background: var(--fm-red);
}

.thesis-list, .checkpoint-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thesis-item-bull, .thesis-item-bear, .checkpoint-item {
  padding: 12px 14px;
  border: 1px solid var(--fm-stone);
  border-radius: 4px;
  background: var(--fm-white);
  font-size: 14.5px;
}

.thesis-item-bull { border-left: 4px solid #1E7A4C; }
.thesis-item-bear { border-left: 4px solid var(--fm-red); }
.checkpoint-item { border-left: 4px solid var(--fm-ink); }

/* --- Reality Strip & Work-Style Cards --- */
.reality-grid-4, .workstyle-grid-4, .zestimate-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px 0 24px;
}

.zest-cell, .workstyle-pill-card {
  background: var(--fm-white);
  border: 1px solid var(--fm-stone);
  border-radius: 4px;
  padding: 16px 18px;
}

.zest-label, .rc-kicker, .ws-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fm-ink-muted);
  margin-bottom: 5px;
}

.zest-val, .rc-val {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--fm-ink);
  line-height: 1.15;
}

.ws-val {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--fm-ink);
}

.rc-note {
  font-size: 12.5px;
  color: var(--fm-ink-muted);
  margin-top: 4px;
}

/* --- Directory Page (Lookbook Page 6: Left-Rail Filters + Result Rows + Right Spotlight) --- */
.fm-filter-band {
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  padding: 20px 24px;
  margin: 22px 0 28px;
}

.fm-filter-grid-5 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.fm-cmp-q-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.fm-dir-layout {
  display: grid;
  grid-template-columns: 220px 1fr 270px;
  gap: 26px;
  align-items: start;
}

.fm-dir-sidebar label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 8px;
  cursor: pointer;
}

.fm-dir-row {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--fm-stone);
  align-items: start;
}

.fm-dir-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--fm-stone-soft);
}

.fm-closer-card .calc-grid {
  grid-template-columns: 1fr;
}

.fm-mobile-filters > summary {
  display: none;
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  border: 1px solid var(--fm-stone);
  border-radius: 6px;
  background: var(--fm-ivory);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.fm-mobile-filters > summary::-webkit-details-marker {
  display: none;
}

.fm-dir-row:first-child {
  padding-top: 0;
}

.fm-dir-thumb {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--fm-stone);
  overflow: hidden;
  background: var(--fm-ivory);
}

.fm-dir-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-spotlight-box {
  border: 1px solid var(--fm-stone);
  padding: 22px;
  background: var(--fm-white);
}

/* --- 5-Step Finder Radio Cards (Lookbook Page 12) --- */
.fm-step-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--fm-stone);
  margin-bottom: 28px;
  overflow-x: auto;
}

.fm-step-tab {
  padding: 10px 0;
  font-size: 14px;
  color: var(--fm-ink-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.fm-step-tab.is-active {
  color: var(--fm-ink);
  font-weight: 700;
  border-bottom-color: var(--fm-red);
}

.fm-radio-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--fm-stone);
  border-radius: 5px;
  margin-bottom: 12px;
  cursor: pointer;
  background: var(--fm-white);
  font-size: 17px;
  font-weight: 600;
}

.fm-radio-card:has(input:checked) {
  background: var(--fm-ivory);
  border-color: var(--fm-ink);
}

.fm-radio-card input[type="radio"] {
  accent-color: var(--fm-red);
  width: 18px;
  height: 18px;
}

/* --- Forms, Screener Grid, Portals, Disclaimers --- */
.finder-grid, .screener-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  padding: 18px;
  border-radius: 4px;
  margin: 16px 0;
}

.screener-grid {
  grid-template-columns: repeat(3, 1fr);
}

.screener-grid label, .field-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fm-ink);
  margin-bottom: 6px;
}

.field-group { margin-bottom: 14px; }

.field-input {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--fm-stone);
  border-radius: 4px;
  font-family: var(--font-text);
  font-size: 15px;
  background: var(--fm-white);
  color: var(--fm-ink);
}

.field-input:focus {
  outline: 2px solid var(--fm-ink);
  outline-offset: 1px;
}

.calc-grid, .vault-grid, .portal-pill-grid, .validation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.vault-grid {
  gap: 32px;
  align-items: start;
}

.portal-pill {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--fm-stone);
  background: var(--fm-ivory);
  text-decoration: none !important;
  border-radius: 4px;
}

.portal-pill strong {
  display: block;
  color: var(--fm-red);
  font-size: 14.5px;
}

.portal-pill span {
  font-size: 13px;
  color: var(--fm-ink-muted);
}

.val-check-row, .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.contact-pref-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 6px 0 12px;
  font-size: 14.5px;
  font-weight: 500;
}

.contact-pref-row input[type="radio"], .val-check-row input, .consent-row input {
  accent-color: var(--fm-red);
}

.estimate-shield-dark, .estimate-shield-light, .estimate-shield-banner, .disclaimer-box {
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  border-left: 3px solid var(--fm-ink-muted);
  padding: 11px 15px;
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.48;
  color: var(--fm-ink-muted);
  margin-top: 14px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pill-pos, .pill-warn, .pill-neutral {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid var(--fm-stone);
  background: var(--fm-ivory);
}

.map-frame {
  width: 100%;
  height: 280px;
  border: 1px solid var(--fm-stone);
  border-radius: 4px;
}

.exec-list { display: grid; gap: 10px; }
.exec-item { padding-bottom: 8px; border-bottom: 1px solid var(--fm-stone-soft); }
.exec-name { font-weight: 700; }
.exec-role { font-size: 13.5px; color: var(--fm-ink-muted); }

.partner-toggle { margin-top: 12px; font-size: 13px; text-align: center; }
.partner-drawer { display: none; margin-top: 8px; }
.partner-drawer.open { display: block; }
.saved-note-box { display: flex; gap: 10px; margin-top: 12px; }
.search-bar-hero { display: flex; gap: 10px; max-width: 680px; margin-top: 14px; align-items: stretch; }
.search-bar-hero .btn-sacred { white-space: nowrap; flex-shrink: 0; }
.data-table .btn-sacred { white-space: nowrap; }

/* Pill Rail for Guides & Vault (replaces broken wrapped underlines) */
.fm-pill-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.fm-pill-item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--fm-stone);
  background: var(--fm-white);
  color: var(--fm-ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.fm-pill-item:hover {
  border-color: var(--fm-ink);
  color: var(--fm-ink);
}

.fm-pill-item.is-active {
  background: var(--fm-ink);
  border-color: var(--fm-ink);
  color: var(--fm-white) !important;
}

/* Vault Hero 2-Col Balance + Transparency Card */
.fm-vault-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.fm-vault-stats-card {
  background: var(--fm-white);
  border: 1px solid var(--fm-stone);
  border-top: 3px solid var(--fm-red);
  border-radius: 8px;
  padding: 18px 20px;
}

.fm-vault-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  margin-top: 10px;
}

.fm-vault-stat-val {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--fm-ink);
  line-height: 1.1;
}

.fm-vault-stat-lbl {
  font-size: 12px;
  color: var(--fm-ink-muted);
  margin-top: 2px;
}

/* Calculator Hero KPI Box & Full-Span 5th Input */
.fm-calc-hero-kpi {
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  border-left: 4px solid var(--fm-red);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.fm-calc-hero-kpi-lbl {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fm-red);
}

.fm-calc-hero-kpi-val {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--fm-ink);
  line-height: 1.15;
  margin-top: 2px;
}

.fm-span-full {
  grid-column: 1 / -1;
}

.fm-footer-heading {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fm-ink);
  margin: 0 0 12px;
}

.fm-hud-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s ease;
}

.fm-hud-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* --- Sticky #171717 Ink Comparison Bar (Lookbook Page 6) --- */
.compare-tray {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 96;
  width: min(1120px, calc(100% - 28px));
  background: var(--fm-ink);
  color: var(--fm-white);
  border-radius: 5px;
  padding: 13px 22px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-tray.is-open { display: flex; }
.compare-tray strong { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.compare-chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--fm-white);
  color: var(--fm-ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
}

.compare-chip button {
  border: none;
  background: transparent;
  color: var(--fm-ink-muted);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* --- Editorial Footer (Lookbook Page 4 & 8) --- */
.fm-footer {
  background: var(--fm-white);
  border-top: 1px solid var(--fm-ink);
  padding: 44px 0 90px;
}

.fm-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--fm-stone);
}

.fm-footer-col h4 {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 700;
  color: var(--fm-ink);
  margin: 0 0 10px;
}

.fm-footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--fm-ink-muted);
  text-decoration: none;
  margin-bottom: 7px;
}

.fm-footer-col a:hover { color: var(--fm-red); }

.fm-legal-fineprint {
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--fm-ink-muted);
  line-height: 1.55;
}

.sticky-mobile-bar {
  display: none;
}

/* --- Franchise Gator-Style Multi-Touch Lead Capture & Modal System --- */
.fm-lead-inline-band {
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  border-radius: 4px;
  padding: 26px 28px;
}

.fm-lead-inline-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

.fm-lead-inline-grid > * {
  min-width: 0;
}

.fm-inline-form-box {
  background: var(--fm-white);
  border: 1px solid var(--fm-stone);
  border-radius: 4px;
  padding: 18px 20px;
}

.fm-inline-perks {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--fm-ink);
  line-height: 1.55;
}

.fm-mini-lbl {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--fm-ink);
  margin-bottom: 4px;
}

.fm-cobrand-box {
  border: 1px solid var(--fm-stone);
  background: var(--fm-ivory);
  border-radius: 4px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fm-cobrand-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--fm-ink);
  cursor: pointer;
}

.fm-cobrand-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--fm-red);
  flex-shrink: 0;
}

.fm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(23, 23, 23, 0.62);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.fm-modal-sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--fm-white);
  border: 1px solid var(--fm-ink);
  border-top: 5px solid var(--fm-red);
  border-radius: 5px;
  padding: 26px 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

.fm-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--fm-ink-muted);
  cursor: pointer;
}

.fm-subtle-corp-ref {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--fm-stone-soft);
  font-size: 11.5px;
  color: #77756F;
}

.fm-subtle-corp-ref a {
  color: #77756F;
  text-decoration: underline;
  text-decoration-color: rgba(119, 117, 111, 0.35);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 960px) {
  .fm-hero-split,
  .fm-profile-hero,
  .fm-overview-grid,
  .fm-dir-layout,
  .fm-filter-grid-5,
  .fm-cmp-q-layout,
  .fm-lead-inline-grid,
  .bento-grid-3,
  .bento-grid-2,
  .vault-grid,
  .fm-footer-grid {
    grid-template-columns: 1fr;
  }
  .fm-facts-strip-4,
  .reality-grid-4,
  .workstyle-grid-4,
  .zestimate-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .fm-facts-strip-4 > div,
  .fm-hairline-cols-3 > div {
    border-left: none;
    padding-left: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fm-stone-soft);
  }
  .fm-hairline-cols-3,
  .finder-grid,
  .screener-grid {
    grid-template-columns: 1fr;
  }
  .fm-dir-row {
    grid-template-columns: 1fr;
  }
  .equity-verdict-bar {
    grid-template-columns: 1fr;
  }
  .stance-stack { align-items: flex-start; }
  .topbar-nav-links { display: none; }
  .sticky-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 94;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--fm-stone);
    padding: 7px 14px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .sticky-mobile-bar .btn-sacred-sub { display: none; }
  .sticky-mobile-bar .btn-sacred-compact { padding: 9px 14px; min-height: 44px; }
  .estimate-shield-banner { font-size: 12px !important; line-height: 1.38 !important; padding: 8px 11px !important; margin-top: 12px !important; }
  .compare-tray { bottom: 62px; }
}

@media (max-width: 560px) {
  .topbar-zip-btn { display: none; }
  .fm-facts-strip-4,
  .reality-grid-4,
  .workstyle-grid-4,
  .zestimate-grid-4,
  .calc-grid,
  .portal-pill-grid,
  .validation-grid {
    grid-template-columns: 1fr;
  }
  .fm-hero-copy { padding: 28px 22px; }
}

@media (max-width: 720px) {
  .fm-guide-hub-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


/* ==========================================================================
   v9.0 Expert Council Upgrades — 2-Step Vault, VSL, SLO, Tap Targets & Caden
   ========================================================================== */
[hidden],
.fm-modal-backdrop[hidden] {
  display: none !important;
}

.fm-modal-backdrop {
  display: flex;
}

@media (min-width: 980px) {
  .explorer-links {
    flex-wrap: wrap;
    row-gap: 4px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

.fm-hero-fascination {
  background: var(--fm-ivory);
  border-left: 3px solid var(--fm-red);
  padding: 10px 14px;
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 16px;
  border-radius: 4px;
}

.fm-step-indicator {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fm-red);
  margin-bottom: 8px;
}

.fm-step-back {
  background: none;
  border: 0;
  color: var(--fm-ink-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 10px 4px 2px;
  min-height: 44px;
  text-decoration: underline;
}

.fm-grid-tight {
  gap: 8px;
  margin-bottom: 8px;
}

.fm-field-mb {
  margin-bottom: 12px;
}

.fm-mt-10 {
  margin-top: 10px;
}

.fm-mt-24 {
  margin-top: 24px;
}

.fm-closer-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.fm-closer-specs {
  border-top: 1px solid var(--fm-stone);
  border-bottom: 1px solid var(--fm-stone);
  padding: 8px 0;
  margin-bottom: 12px;
  font-size: 13px;
}

.fm-cta-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fm-band-accent {
  background: var(--fm-white);
  border-left: 4px solid var(--fm-red);
}

.fm-band-top-accent {
  background: var(--fm-white);
  border-top: 4px solid var(--fm-red);
}

.fm-band-section {
  padding: 28px 0;
  border-top: 1px solid var(--fm-stone);
}

.fm-vault-card-accent {
  border-top: 4px solid var(--fm-red);
}

.fm-rail-static {
  position: static;
  padding: 20px;
  margin-bottom: 20px;
}

.fm-vault-jump-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.fm-vault-jump-pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--fm-white);
  border: 1px solid var(--fm-stone);
  color: var(--fm-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.fm-vault-jump-pill:hover {
  border-color: var(--fm-red);
  color: var(--fm-red);
}

/* v10.0 Clean Single-Row Apple Cinema Header & Dropdowns */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-zip-btn {
  padding: 9px 16px !important;
  min-height: 40px !important;
}

.topbar-zip-btn .btn-sacred-main {
  font-size: 13.5px;
  white-space: nowrap;
}

.topbar-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.topbar-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(10, 13, 20, 0.14);
  padding: 8px;
  z-index: 120;
  flex-direction: column;
  gap: 2px;
}

.topbar-drop:hover .topbar-drop-menu,
.topbar-drop:focus-within .topbar-drop-menu {
  display: flex;
}

.topbar-drop-menu a {
  padding: 9px 12px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  border-radius: 6px;
  color: var(--fm-ink) !important;
  white-space: nowrap;
}

.topbar-drop-menu a:hover {
  background: var(--fm-ivory);
  color: var(--fm-red) !important;
}

.topbar-drop-menu a::after {
  display: none !important;
}

.fm-hero-split {
  margin: 18px 0 28px;
  border-radius: 10px;
}

.fm-hero-copy {
  padding: 34px 36px;
}

.fm-hero-copy h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.fm-footer-tag {
  font-size: 17px;
  margin-top: 8px;
}

.fm-footer-legal-links {
  font-size: 12.5px;
  margin-top: 12px;
}

.surface-obsidian {
  background: #05070B;
  color: #FFFFFF;
}

/* 3:00 Pre-Frame Mini-VSL Stage */
.fm-vsl-stage {
  background: #05070B;
  color: #FFFFFF;
  border: 1px solid #1F2937;
}

.fm-vsl-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.fm-vsl-badge {
  background: var(--fm-red);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

.fm-vsl-heading {
  color: #FFFFFF;
  margin: 0 0 14px;
  font-size: 20px;
}

.fm-vsl-screen {
  background: #0D1117;
  border: 1px solid #262E3D;
  border-radius: 8px;
  padding: 22px 20px 16px;
}

.fm-vsl-slide-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FCA5A5;
  margin-bottom: 8px;
}

.fm-vsl-slide-big {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.fm-vsl-slide-sub {
  color: #D1D5DB;
  font-size: 15px;
  margin: 0 0 16px;
}

.fm-vsl-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.fm-vsl-btn {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  min-height: 48px;
}

.fm-vsl-progress {
  height: 5px;
  background: #1F2937;
  border-radius: 99px;
  margin-top: 14px;
  overflow: hidden;
}

.fm-vsl-bar {
  width: 25%;
  height: 100%;
  background: var(--fm-red);
  transition: width 0.3s ease;
}

.fm-belcher-reveal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #1F2937;
}

/* Buyer Diligence SLO Card */
.fm-slo-card {
  border-top: 4px solid var(--fm-red);
  background: var(--fm-ivory);
}

.fm-slo-tiers {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.fm-slo-tier {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--fm-white);
  border: 1px solid var(--fm-stone);
  border-radius: 6px;
  cursor: pointer;
}

.fm-slo-tier-featured {
  border: 2px solid var(--fm-red);
}

.fm-otp-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.fm-otp-input {
  max-width: 240px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}

.fm-narrow-wrap { max-width: 760px; }
.fm-dossier-wrap { max-width: 880px; }
.fm-fdd-unlocked-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  border-left: 4px solid var(--fm-green);
  border-radius: 6px;
}
.fm-fdd-unlocked-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fm-green);
  margin-bottom: 4px;
}
.fm-fdd-queued-box {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--fm-ivory);
  border: 1px solid var(--fm-stone);
  border-radius: 6px;
  font-size: 13.5px;
}
.fm-owner-questions {
  line-height: 1.65;
  padding-left: 20px;
}
.fm-err-banner {
  border-left: 4px solid var(--fm-red);
  margin-bottom: 16px;
  color: #991B1B;
}

.fm-award-strip {
  padding: 24px 0;
  border-top: 1px solid var(--fm-stone);
}
.fm-award-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.fm-cmp-picker {
  margin: 18px 0 24px;
  max-width: 840px;
}
.fm-table-border { border: 1px solid var(--fm-stone); }
.fm-col-grp { width: 115px; }
.fm-col-lbl { width: 175px; }
.fm-sticky-thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--fm-white);
}
.fm-cmp-notes-sec {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--fm-stone);
}

.fm-spider-nav {
  padding: 36px 0;
  border-top: 1px solid var(--fm-stone);
}
.fm-spider-h2 { font-size: 21px; margin-bottom: 16px; }
.fm-spider-col-head {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fm-red);
  margin-bottom: 10px;
}
.fm-spider-ul { list-style: none; padding: 0; margin: 0; }
.fm-spider-li { margin-bottom: 6px; line-height: 1.35; }
.fm-spider-link {
  font-size: 13.5px;
  color: var(--fm-ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--fm-stone);
}

/* Scroll-gated mobile sticky CTA & >=48px touch comfort */
@media (max-width: 900px) {
  .mobile-sticky-cta {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .mobile-sticky-cta.is-scrolled {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .btn-sacred,
  .btn-outline,
  .btn-mini-light,
  .field-input {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   FranchiseMate v11.0 — Autocomplete, Fit Engine, 11-Item FDD X-Ray & Tools
   ========================================================================== */
.fm-ac-wrap {
  position: relative;
  width: 100%;
  flex: 1;
}
.fm-ac-dd {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 260;
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(10, 13, 20, 0.16);
  max-height: 340px;
  overflow-y: auto;
}
.fm-ac-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  background: #FFFFFF;
  color: var(--fm-ink);
  border: 0;
  border-bottom: 1px solid #EEF0F3;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.fm-ac-item:last-child { border-bottom: 0; }
.fm-ac-item:hover { background: #F5F5F7; color: var(--fm-red); }
.fm-ac-item strong { font-weight: 700; color: inherit; }

/* 7-Dimension Fit Engine */
.fm-fit-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fm-fit-guardrails {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--fm-stone);
}
.fm-guard-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fm-ink-muted);
}
.fm-guard-chk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--fm-ink);
}
.fm-fit-score-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  background: #0A0D14;
  color: #FFFFFF;
}
.fm-fit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.fm-fit-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
}
.fm-fit-pill-ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.fm-fit-pill-warn { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.fm-fit-pill-ink { background: #F1F3F5; color: #0A0D14; border: 1px solid #D8DCE3; }
.fm-fit-reasons {
  margin: 0 0 8px;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fm-ink-soft);
}
.fm-fit-reasons li { margin-bottom: 3px; }
.fm-fit-watchout {
  font-size: 12.5px;
  line-height: 1.4;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #78350F;
  border-radius: 4px;
  padding: 6px 9px;
  margin-bottom: 10px;
}

/* 11-Item FDD X-Ray Bento Grid */
.fm-xray-card {
  margin-top: 22px;
  border-top: 4px solid var(--fm-ink);
  background: var(--fm-surface);
}
.fm-xray-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.fm-xray-cell {
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-radius: 6px;
  padding: 13px 14px;
}
.fm-xray-cell.is-ok { border-left: 3px solid #059669; }
.fm-xray-cell.is-warn { border-left: 3px solid #D97706; }
.fm-xray-cell.is-red { border-left: 3px solid #C62828; }
.fm-xray-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--fm-ink);
  margin: 3px 0;
  line-height: 1.2;
}
.fm-xray-sub {
  font-size: 12px;
  color: var(--fm-ink-muted);
  line-height: 1.35;
}

/* Red-Flag Scanner Badges & Compare Winner Highlight */
.fm-rf-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.fm-rf-green { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.fm-rf-amber { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.fm-rf-red { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.fm-cmp-win {
  background: #ECFDF5 !important;
  color: #065F46;
}
.fm-cmp-win-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 800;
  color: #059669;
  text-transform: uppercase;
}
.fm-xray-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}
.fm-xray-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--fm-stone);
  background: #FFFFFF;
  color: var(--fm-ink);
}
.fm-xray-chip:hover { border-color: var(--fm-ink); }
.fm-xray-chip.is-on { background: #0A0D14; color: #FFFFFF; border-color: #0A0D14; }

@media (max-width: 960px) {
  .fm-fit-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-xray-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fm-fit-form-grid { grid-template-columns: 1fr; }
  .fm-xray-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FranchiseMate v11.0 — Obsidian Profile Hero HUD, Architectural Cutaway,
   Ternary Ownership DNA & Calibration Spectrum Gauges
   ========================================================================== */
.fm-profile-stage {
  background: radial-gradient(ellipse 80% 70% at 80% 10%, rgba(198, 40, 40, 0.14), transparent 60%), #070B12;
  color: #FFFFFF;
  padding: 6px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.fm-breadcrumb-dark { color: rgba(255, 255, 255, 0.58); }
.fm-breadcrumb-dark a { color: rgba(255, 255, 255, 0.70); }
.fm-breadcrumb-dark a:hover { color: #FFFFFF; }
.fm-profile-hero-dark {
  border-bottom: none;
  padding: 12px 0 6px;
}
.fm-dark-h1 {
  color: #FFFFFF;
  margin: 6px 0 10px;
}
.fm-dark-lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.fm-hud-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  overflow: hidden;
}
.fm-hud-cell {
  padding: 13px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.fm-hud-cell:first-child { border-left: none; }
.fm-hud-lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 4px;
}
.fm-hud-val {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}
.fm-hud-grade {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #10B981;
  color: #052E16;
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}
.fm-hud-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 3px;
}
.fm-profile-photo-frame {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}
.fm-profile-photo-frame .fm-profile-figure {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.fm-profile-photo-frame .fm-profile-hero-photo {
  border: none;
  border-radius: 4px;
}
.fm-profile-photo-frame figcaption,
.fm-profile-photo-frame .fm-photo-caption {
  background: transparent !important;
  border: 0 !important;
  color: rgba(255, 255, 255, 0.74) !important;
  font-style: italic;
  font-size: 12.5px;
  padding: 8px 4px 2px;
}

/* Obsidian Architectural Capital Stack Ledger Card (Stripe / Linear Standard) */
.fm-cutaway-card {
  background: #070B12;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 48px rgba(10, 13, 20, 0.14);
}
.fm-cut-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #FBBF24;
  margin-bottom: 4px;
}
.fm-cut-title {
  font-family: var(--font-serif);
  color: #FFFFFF;
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}
.fm-dna-title {
  font-family: var(--font-serif);
  color: var(--fm-ink);
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.2;
}
.fm-cut-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
}
.fm-cut-viz-wrap {
  padding: 12px 14px 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
}
.fm-cutaway-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.fm-cut-ledger {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fm-cut-ledger-row {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}
.fm-cut-ledger-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.fm-cut-leg-left {
  display: flex;
  align-items: center;
  gap: 9px;
}
.fm-cut-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fm-cut-leg-name {
  font-size: 13px;
  font-weight: 600;
  color: #F8FAFC;
  line-height: 1.2;
}
.fm-cut-leg-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.56);
  margin-top: 1px;
}
.fm-cut-leg-val {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}
.fm-cut-pct {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  font-size: 12.5px;
}
.fm-cut-bar-track {
  height: 3px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.fm-cut-bar-fill {
  height: 100%;
  border-radius: 999px;
}
.fm-cut-cash-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 6px;
}
.fm-cut-cash-lbl {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #34D399;
}
.fm-cut-cash-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 2px;
}
.fm-cut-cash-val {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
}
.fm-cut-cash-val span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
}
.fm-cut-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}
.fm-cut-flbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 2px;
}
.fm-cut-fval {
  font-size: 15px;
  font-weight: 800;
  color: #34D399;
}

/* Ownership DNA Ternary Card + Graduated Calibration Scales */
.fm-dna-card {
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-radius: 8px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fm-ternary-wrap {
  display: flex;
  justify-content: center;
  margin: 10px 0 6px;
}
.fm-ternary-svg {
  max-width: 100%;
  height: auto;
}
.fm-gauge-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 14px;
}
.fm-gauge-hdr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11.5px;
  color: var(--fm-ink-muted);
  margin-bottom: 2px;
}
.fm-gauge-hdr strong {
  color: var(--fm-ink);
  font-size: 12.5px;
}
.fm-gauge-svg {
  width: 100%;
  height: auto;
  display: block;
}
.fm-vitals-box {
  background: #F5F5F7;
  border: 1px solid var(--fm-stone);
  border-radius: 6px;
  padding: 12px 14px;
}
.fm-vitals-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--fm-ink);
  margin-bottom: 6px;
}
.fm-vitals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 14px;
  font-size: 13px;
  color: var(--fm-ink-muted);
}
.fm-vitals-grid strong { color: var(--fm-ink); }

/* Homepage Obsidian Sector Quadrant */
.fm-obsidian-stage {
  background: radial-gradient(ellipse 75% 80% at 85% 20%, rgba(16, 185, 129, 0.10), transparent 58%), #070B12;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.fm-obsidian-stage .eyebrow { color: #FBBF24; }
.fm-quad-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 32px;
  align-items: center;
}
.fm-quad-chart-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px 18px 10px;
}

@media (max-width: 900px) {
  .fm-hud-grid-3 { grid-template-columns: 1fr; }
  .fm-hud-cell { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .fm-hud-cell:first-child { border-top: none; }
  .fm-cut-body { grid-template-columns: 1fr; }
  .fm-quad-layout { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .topbar-menu-btn { display: inline-flex; flex-shrink: 0; }
  .topbar-saved-link { padding-left: 12px; font-size: 13.5px; }
  .fm-wordmark { font-size: 24px; }
  .fm-logo-img { height: 24px; }
  .fm-vault-hero-grid { grid-template-columns: 1fr; }
  .fm-mobile-filters > summary { display: block; }
  .fm-mobile-filters:not([open]) > .fm-mobile-filter-body { display: none; }
}

@media (max-width: 600px) {
  .fm-search-inline { flex-direction: column; align-items: stretch; }
  .fm-search-inline .btn-sacred { width: 100%; }
  .fm-hero-copy { padding: 22px 18px; }
  .fm-pill-rail, .fm-vault-jump-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .fm-cut-cash-strip { flex-direction: column; align-items: flex-start; }
  .fm-cut-footer { grid-template-columns: 1fr; }
}


/* Verified Google Reviews HUD & Balanced Verbatim Review Grid */
.fm-rev-hud {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #F5F5F7;
  border: 1px solid var(--fm-stone);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 18px;
}
.fm-rev-score-big {
  font-size: 34px;
  font-weight: 900;
  color: var(--fm-ink);
  line-height: 1;
}
.fm-rev-score-big span {
  font-size: 14px;
  font-weight: 600;
  color: var(--fm-ink-muted);
  margin-left: 3px;
}
.fm-rev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.fm-rev-card {
  margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-radius: 6px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fm-ink-soft);
}
.fm-rev-card.is-pos { border-left: 4px solid #059669; }
.fm-rev-card.is-crit { border-left: 4px solid #C62828; }
.fm-rev-card p { margin: 6px 0 0; }
.fm-rev-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.fm-rev-stars {
  font-weight: 800;
  color: #B45309;
}
@media (max-width: 720px) {
  .fm-rev-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FranchiseMate v12.0 — Top-of-Page Flagship Persuasive Editorial Section
   Apple / Tailwind Cinema Standard (Obsidian Stages + Pure Editorial Sheets)
   ========================================================================== */
.fm-flagship-editorial {
  padding-top: 38px;
  padding-bottom: 44px;
}
.fm-ed-split {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.92fr);
  gap: 38px;
  align-items: start;
}
.fm-ed-h2 {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fm-ink);
  margin: 6px 0 22px;
}
.fm-ed-chapter {
  margin-bottom: 24px;
}
.fm-ed-ch-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--fm-ink);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--fm-stone);
}
.fm-ed-prose {
  max-width: 66ch;
}
.fm-ed-prose p {
  font-size: 16.5px;
  line-height: 1.68;
  color: #1F2430;
  margin: 0 0 14px;
}
.fm-ed-prose p:last-child {
  margin-bottom: 0;
}
.fm-ed-quote {
  margin: 24px 0 0;
  padding: 20px 24px;
  background: #F5F5F7;
  border: 1px solid var(--fm-stone);
  border-left: 4px solid var(--fm-red);
  border-radius: 6px;
}
.fm-ed-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--fm-ink);
  margin: 0 0 10px;
}
.fm-ed-quote footer {
  font-size: 13px;
  color: var(--fm-ink-muted);
}

/* Sticky Right-Rail Opportunity & Lead Conversion Card */
.fm-ed-cta-card {
  position: sticky;
  top: 126px;
  border: 1px solid var(--fm-stone);
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 18px 42px rgba(10, 13, 20, 0.10);
}
.fm-ed-cta-head {
  background: radial-gradient(ellipse 90% 90% at 90% 0%, rgba(198, 40, 40, 0.24), transparent 62%), #070B12;
  color: #FFFFFF;
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.fm-ed-cta-head h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.22;
  color: #FFFFFF;
  margin: 4px 0 6px;
}
.fm-ed-cta-head p {
  font-size: 13.5px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.fm-ed-cta-body {
  padding: 18px 22px 22px;
}
.fm-ed-snap-list {
  background: #F5F5F7;
  border: 1px solid var(--fm-stone);
  border-radius: 6px;
  padding: 10px 13px;
  margin-bottom: 16px;
}
.fm-ed-snap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #E5E7EB;
  font-size: 13px;
}
.fm-ed-snap-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.fm-ed-snap-row:first-child {
  padding-top: 0;
}
.fm-ed-snap-row span {
  color: var(--fm-ink-muted);
}
.fm-ed-snap-row strong {
  color: var(--fm-ink);
  text-align: right;
}

/* Obsidian Illustrative Weekend Earnings Math Strip */
.fm-ed-scen-band {
  margin-top: 34px;
  background: radial-gradient(ellipse 70% 90% at 90% 10%, rgba(16, 185, 129, 0.14), transparent 58%), #070B12;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 26px 28px 22px;
}
.fm-ed-scen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.fm-ed-scen-head h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  color: #FFFFFF;
  margin: 4px 0 0;
}
.fm-ed-scen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fm-ed-scen-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px 18px 16px;
}
.fm-ed-scen-card.is-featured {
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(52, 211, 153, 0.45);
}
.fm-ed-scen-tier {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #FBBF24;
  margin-bottom: 6px;
}
.fm-ed-scen-gross {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 6px;
}
.fm-ed-scen-cadence {
  font-size: 13.5px;
  font-weight: 700;
  color: #34D399;
  margin-bottom: 6px;
}
.fm-ed-scen-math {
  font-size: 13px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}
.fm-ed-scen-disc {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  margin: 14px 0 0;
}

/* Sub-Blocks: Revenue Streams, Package Tiers, DIY Advantages */
.fm-ed-block {
  margin-top: 34px;
}
.fm-ed-subh {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--fm-ink);
  margin: 4px 0 16px;
}
.fm-ed-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fm-ed-bento {
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-top: 3px solid var(--fm-ink);
  border-radius: 6px;
  padding: 20px 22px;
}
.fm-ed-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--fm-red);
  margin-bottom: 6px;
}
.fm-ed-bento h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--fm-ink);
  margin: 0 0 8px;
}
.fm-ed-bento p {
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--fm-ink-soft);
  margin: 0;
}

/* 3-Column Startup Package Cards */
.fm-ed-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.fm-ed-tier {
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-radius: 8px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
}
.fm-ed-tier.is-pop {
  background: #F9FAFB;
  border: 2px solid var(--fm-ink);
  box-shadow: 0 12px 30px rgba(10, 13, 20, 0.08);
}
.fm-ed-tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.fm-ed-tier-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--fm-ink);
}
.fm-ed-pop-badge {
  background: var(--fm-red);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
}
.fm-ed-tier-price {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--fm-ink);
  line-height: 1.1;
  margin-bottom: 6px;
}
.fm-ed-tier-best {
  font-size: 13px;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 10px;
}
.fm-ed-tier-inc {
  font-size: 14px;
  line-height: 1.52;
  color: var(--fm-ink-muted);
  margin: 0 0 18px;
  flex: 1;
}

/* DIY Advantage Cards */
.fm-ed-diy-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #F5F5F7;
  border: 1px solid var(--fm-stone);
  border-radius: 6px;
  padding: 18px 20px;
}
.fm-ed-diy-chk {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #065F46;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.fm-ed-diy-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--fm-ink);
  margin: 0 0 5px;
}
.fm-ed-diy-card p {
  font-size: 14px;
  line-height: 1.52;
  color: var(--fm-ink-soft);
  margin: 0;
}

/* Ideal Owner + Smart-Buyer Diligence Check */
.fm-ed-fit-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 20px;
  margin-top: 30px;
}
.fm-ed-fit-card {
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-radius: 8px;
  padding: 22px 24px;
}
.fm-ed-fit-card h3, .fm-ed-check-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 4px 0 10px;
}
.fm-ed-check-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid #D97706;
  border-radius: 8px;
  padding: 22px 24px;
}
.fm-ed-check-card p {
  font-size: 14px;
  line-height: 1.56;
  color: #451A03;
  margin: 0;
}

/* Bottom Editorial Lead-Capture Banner */
.fm-ed-bottom-cta {
  margin-top: 28px;
  background: radial-gradient(ellipse 65% 100% at 100% 50%, rgba(198, 40, 40, 0.25), transparent 65%), #070B12;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.fm-ed-bottom-cta h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  color: #FFFFFF;
  margin: 4px 0 6px;
}
.fm-ed-bottom-cta p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin: 0;
}

.fm-ed-cols-1 { grid-template-columns: 1fr; }
.fm-ed-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fm-ed-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .fm-ed-split { grid-template-columns: 1fr; }
  .fm-ed-cta-card { position: static; }
  .fm-ed-scen-grid, .fm-ed-tiers-grid, .fm-ed-cols-2, .fm-ed-cols-3 { grid-template-columns: 1fr; }
  .fm-ed-fit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .fm-ed-grid-2 { grid-template-columns: 1fr; }
  .fm-ed-scen-band, .fm-ed-bottom-cta { padding: 20px 18px; }
}

/* ==========================================================================
   FranchiseMate v13.0 — Newsletter 3D Report Bribe, Owner Voices & Resales
   ========================================================================== */
.fm-nl-band-compact {
  padding-top: 28px;
  padding-bottom: 28px;
}
.fm-nl-stage {
  background: radial-gradient(ellipse 75% 90% at 15% 50%, rgba(198, 40, 40, 0.22), transparent 58%), #070B12;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  box-shadow: 0 24px 56px rgba(7, 11, 18, 0.18);
}
.fm-nl-cover-col {
  display: flex;
  justify-content: center;
}
.fm-nl-cover-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.45));
}
.fm-nl-h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  color: #FFFFFF;
  margin: 6px 0 12px;
}
.fm-nl-h2 em {
  color: #FCA5A5;
  font-style: italic;
}
.fm-nl-lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 14px;
  max-width: 60ch;
}
.fm-nl-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}
.fm-nl-bullets strong {
  color: #FFFFFF;
}
.fm-nl-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  align-items: stretch;
}
.fm-nl-input {
  flex: 1;
  background: #FFFFFF;
  color: #0A0D14;
  border-color: rgba(255, 255, 255, 0.25);
}
.fm-nl-trust {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.64);
  margin: 10px 0 0;
}
.fm-nl-trust a {
  color: #FCA5A5;
  text-decoration: underline;
}
.fm-nl-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.fm-nl-hero-book {
  display: flex;
  justify-content: center;
}
.fm-nl-hero-book img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}
.fm-nl-full-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}
.fm-nl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.fm-nl-form-row:last-of-type {
  margin-bottom: 0;
}
.fm-nl-success-box {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 10px;
  padding: 22px 24px;
  margin-top: 18px;
}
.fm-nl-success-box h3 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 24px;
  margin: 6px 0 8px;
}
.fm-nl-success-box p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}

/* Anonymous Franchisee Reality Checks (Owner Voices) */
.fm-voices-box {
  margin-top: 28px;
  padding: 24px 26px;
  background: #F8FAFC;
  border: 1px solid var(--fm-stone);
  border-top: 3px solid var(--fm-ink);
  border-radius: 8px;
}
.fm-voice-card {
  background: #FFFFFF;
  border: 1px solid var(--fm-stone);
  border-left: 4px solid var(--fm-ink);
  border-radius: 6px;
  padding: 16px 18px;
}
.fm-voice-txt {
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--fm-ink);
  margin: 0;
}
.fm-voice-form-wrap {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--fm-stone);
}
.fm-voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fm-voice-grid label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fm-ink);
  margin-bottom: 5px;
}
.fm-resale-bridge {
  margin-top: 20px;
  border-left: 4px solid var(--fm-red);
}

@media (max-width: 960px) {
  .fm-nl-stage { grid-template-columns: 1fr; text-align: left; padding: 24px 20px; gap: 22px; }
  .fm-nl-cover-img { max-width: 210px; }
  .fm-nl-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .fm-nl-hero-book { order: -1; }
  .fm-nl-hero-book img { max-width: 260px; }
  .fm-voice-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .fm-nl-form { flex-direction: column; }
  .fm-nl-form-row, .fm-voice-grid { grid-template-columns: 1fr; }
}
