/* NetActuate Media Marketplace - page styles.
 * Built on the netactuate.com Webflow design system: every colour, radius and type
 * ramp below references the site's own CSS custom properties / utility classes
 * (--brand--700, --md, .h100..h600, .accent-button, .secondary-button, Inter/Poppins)
 * so the marketplace matches the marketing site rather than inventing its own scale.
 */

:root { --mkt-maxw: 1388px; }

body { font-family: var(--font); color: var(--fg--base--strong); background: var(--bg--base--surface); }

.mkt { width: 100%; max-width: var(--mkt-maxw); margin: 0 auto; padding: 40px 24px 96px; }
.mkt a { color: var(--fg--link--primary--resting); text-decoration: none; }
.mkt a:hover { color: var(--fg--link--primary--hover); }

/* --- give the site's real accent/primary CTA class its brand fill (the marketing
      site paints this via a wrapper element we don't reproduce) --- */
.mkt .accent-button { background-color: var(--brand--700); color: #fff; border-radius: var(--md);
  padding: 12px 20px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid transparent; transition: background-color .15s ease; }
.mkt .accent-button:hover { background-color: var(--brand--800); color: #fff; }
.mkt .secondary-button { border: 1px solid var(--stroke--adapt--weak, #272c301f);
  border-radius: var(--md); background-color: var(--bg--base--adapt-weak, #2728300f);
  color: var(--fg--base--strong); padding: 12px 20px; font-weight: 600; display: inline-flex;
  align-items: center; gap: 10px; transition: background-color .15s ease; }
.mkt .secondary-button:hover { background-color: var(--bg--base--adapt, #2728301f); color: var(--fg--base--strong); }
.mkt .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 4px; }

/* --- breadcrumb --- */
.mkt-breadcrumb { font-size: 13px; color: var(--fg--base--weak); margin-bottom: 20px; }
.mkt-breadcrumb a { color: var(--fg--base--weak); }
.mkt-breadcrumb a:hover { color: var(--fg--link--primary--resting); }

/* --- landing hero --- */
.mkt-landing-hero { padding: 24px 0 8px; margin-bottom: 8px; }
.mkt-eyebrow { text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-size: 12px;
  color: var(--fg--brand--strong); font-family: var(--accent-font); margin: 0 0 12px; }
.mkt-landing-hero h1 { font-family: var(--accent-font); letter-spacing: -.02em; font-size: 48px;
  line-height: 1.12em; font-weight: 600; margin: 0 0 16px; max-width: 20ch; }
.mkt-landing-hero .lead { font-size: 20px; line-height: 1.5em; color: var(--fg--base--medium);
  max-width: 62ch; margin: 0 0 24px; }
.mkt-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 28px; }
.mkt-stat b { display: block; font-family: var(--accent-font); font-size: 32px; font-weight: 600;
  letter-spacing: -.02em; }
.mkt-stat span { color: var(--fg--base--weak); font-size: 14px; }

.mkt-section { margin-top: 56px; }
.mkt-section > h2 { font-family: var(--accent-font); letter-spacing: -.02em; font-size: 28px;
  font-weight: 600; margin: 0 0 6px; }
.mkt-section > .sub { color: var(--fg--base--weak); margin: 0 0 20px; font-size: 15px; }

/* --- category chips --- */
.mkt-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.mkt-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border: 1px solid var(--bg--base--surface-3, #d9dde1); border-radius: 999px;
  color: var(--fg--base--strong); font-size: 14px; font-weight: 500; background: var(--bg--base--surface); }
.mkt-cats a:hover { border-color: var(--brand--500); color: var(--fg--link--primary--resting); }

/* --- card grid --- */
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.mkt-card { border: 1px solid var(--bg--base--surface-3, #e6e8eb); border-radius: 12px; padding: 20px;
  background: var(--bg--base--surface); display: flex; flex-direction: column; min-height: 200px;
  transition: box-shadow .15s ease, border-color .15s ease; }
.mkt-card:hover { box-shadow: 0 8px 24px -12px #00000033; border-color: var(--brand--300); }
.mkt-card-main { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.mkt-card-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--bg--base--surface-2, #eff0f1); }
.mkt-card-docs { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  color: var(--fg--link--primary--resting, var(--brand--700)); text-decoration: none; }
.mkt-card-docs:hover { text-decoration: underline; }
.mkt-card-docs svg { flex: none; }
.mkt-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mkt-card img.logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px;
  background: #fff; border: 1px solid var(--bg--base--surface-2, #eff0f1); flex: none; }
.mkt-card h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25em; }
.mkt-card .vendor { font-size: 12px; color: var(--fg--base--weak); }
.mkt-card p { margin: 0 0 14px; color: var(--fg--base--medium); font-size: 14px; line-height: 1.5em; flex: 1; }
.mkt-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mkt-tag { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--bg--base--surface-2, #eff0f1);
  color: var(--fg--base--medium); font-weight: 500; }
.mkt-tag--license { background: var(--brand--50); color: var(--fg--brand--strong); }
.mkt-badge-verified { font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: var(--brand--50); color: var(--fg--brand--strong); font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px; }
.mkt-badge-featured { font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: #fff4d6; color: #7a5b00; font-weight: 600; }

/* --- directory (search + facets) --- */
.mkt-directory { display: grid; grid-template-columns: 264px 1fr; gap: 32px; align-items: start; }
.mkt-facets { position: sticky; top: 88px; }
.mkt-facet-group { border-bottom: 1px solid var(--bg--base--surface-2, #eff0f1); padding: 16px 0; }
.mkt-facet-group:first-child { padding-top: 0; }
.mkt-facet-group h4 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--fg--base--weak); font-weight: 600; }
.mkt-facet { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px;
  cursor: pointer; color: var(--fg--base--medium); }
.mkt-facet input { accent-color: var(--brand--700); width: 15px; height: 15px; }
.mkt-facet .cnt { margin-left: auto; color: var(--fg--base--weak); font-size: 12px; }
.mkt-search-bar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.mkt-search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--bg--base--surface-3, #d9dde1); border-radius: var(--md); padding: 11px 16px;
  background: var(--bg--base--surface); }
.mkt-search input { border: 0; outline: 0; font-size: 15px; width: 100%; font-family: var(--font);
  background: transparent; color: var(--fg--base--strong); }
.mkt-sort select { border: 1px solid var(--bg--base--surface-3, #d9dde1); border-radius: var(--md);
  padding: 11px 14px; font-family: var(--font); font-size: 14px; background: var(--bg--base--surface);
  color: var(--fg--base--strong); }
.mkt-result-count { color: var(--fg--base--weak); font-size: 14px; margin: 0 0 16px; }
.mkt-noresults { padding: 48px; text-align: center; color: var(--fg--base--weak);
  border: 1px dashed var(--bg--base--surface-3, #d9dde1); border-radius: 12px; }
.mkt-clear { background: none; border: 0; color: var(--fg--link--primary--resting); cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: var(--font); }

/* --- detail page --- */
.mkt-detail-hero { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.mkt-detail-hero img.logo { width: 96px; height: 96px; object-fit: contain; border-radius: 16px;
  background: #fff; border: 1px solid var(--bg--base--surface-2, #eff0f1); flex: none; }
.mkt-detail-hero h1 { font-family: var(--accent-font); letter-spacing: -.02em; font-size: 40px;
  line-height: 1.15em; font-weight: 600; margin: 0 0 10px; }
.mkt-detail-hero .mkt-tagline { font-size: 19px; color: var(--fg--base--medium); line-height: 1.45em;
  margin: 0 0 14px; max-width: 60ch; }
.mkt-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.mkt-pills span { font-size: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--bg--base--surface-2, #eff0f1); color: var(--fg--base--medium); font-weight: 500; }
.mkt-detail-cols { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 36px; align-items: start; }
.mkt-body { line-height: 1.7em; color: var(--fg--base--medium); font-size: 16px; }
/* body headings track the site type ramp (.h200 = 22px, .h100 = 18px) rather than
   ad-hoc sizes, so a detail page reads native to netactuate.com content pages. */
.mkt-body h2 { font-family: var(--accent-font); font-size: 22px; font-weight: 600; letter-spacing: -.02em;
  line-height: 1.32em; color: var(--fg--base--strong); margin: 1.6em 0 .5em; }
.mkt-body h3 { font-size: 18px; font-weight: 600; line-height: 1.4em; color: var(--fg--base--strong); margin: 1.4em 0 .4em; }
.mkt-body ul, .mkt-body ol { padding-left: 1.3em; }
.mkt-body li { margin: .3em 0; }
.mkt-body code { background: var(--bg--base--surface-2, #eff0f1); padding: 1px 6px; border-radius: 4px;
  font-size: .9em; }
.mkt-body pre { background: var(--gray--1000, #1a1c1e); color: #e6e8eb; padding: 16px; border-radius: 8px;
  overflow: auto; }
.mkt-body pre code { background: none; color: inherit; }
.mkt-aside { border: 1px solid var(--bg--base--surface-2, #eff0f1); border-radius: 12px; padding: 22px;
  background: var(--bg--neutral--weak, #fafafa); }
.mkt-aside h2 { font-family: var(--accent-font); font-size: 18px; font-weight: 600; margin: 0 0 14px;
  letter-spacing: -.01em; }
.mkt-facts { width: 100%; border-collapse: collapse; }
.mkt-facts td { border-top: 1px solid var(--bg--base--surface-2, #eff0f1); padding: 10px 0; vertical-align: top;
  font-size: 14px; }
.mkt-facts tr:first-child td { border-top: 0; }
.mkt-facts td.k { color: var(--fg--base--weak); white-space: nowrap; padding-right: 16px; }
/* partner reference block (detail aside): company name is a single SEO anchor to
   our partner page, with the vendor's own site linking out below it (req 6). */
.mkt-partner-card { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--bg--base--surface-2, #eff0f1);
  border-radius: 12px; }
.mkt-partner-card__label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--fg--base--weak); font-weight: 600; margin-bottom: 6px; }
.mkt-partner-card__name { font-weight: 600; font-size: 16px; color: var(--fg--base--strong) !important; }
.mkt-partner-card__name:hover { color: var(--fg--link--primary--resting) !important; }
.mkt-partner-card__site { display: block; margin-top: 6px; font-size: 13px;
  color: var(--fg--link--primary--resting); }
.mkt-partner-card .name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mkt-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 24px 0; }
.mkt-shots figure { margin: 0; }
.mkt-shots img { width: 100%; border-radius: 10px; border: 1px solid var(--bg--base--surface-2, #eff0f1); display: block; }
.mkt-shots figcaption { font-size: 12px; color: var(--fg--base--weak); margin-top: 6px; }
.mkt-faq { margin-top: 40px; padding-top: 8px; }
.mkt-faq h2 { margin-top: 0; }
.mkt-faq details { border-top: 1px solid var(--bg--base--surface-2, #eff0f1); padding: 14px 0; }
.mkt-faq summary { font-weight: 600; cursor: pointer; font-size: 16px; }
.mkt-faq p { color: var(--fg--base--medium); margin: 10px 0 0; line-height: 1.6em; }

/* --- hero: split copy + globe (globe side is wider so the map reads bigger) --- */
.mkt-hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px; align-items: center; }
.mkt-hero-copy { min-width: 0; }
.mkt-hero-copy .lead strong { color: var(--fg--base--strong); font-weight: 600; }
.mkt-hero-globe { min-width: 0; }

/* --- hero globe (NetActuate-style world map + highlighted PoPs) --- */
/* Rounded, softly-framed panel so the flat map reads as a globe-like feature and fills the space. */
.mkt-globe-wrap { width: 100%; background: radial-gradient(120% 120% at 50% 30%,
    var(--bg--base--surface-1, #f6f8fb) 0%, var(--bg--base--surface-2, #eef2f7) 100%);
  border: 1px solid var(--bg--base--surface-3, #e2e8f0); border-radius: 28px;
  padding: 28px 30px 20px; box-shadow: 0 12px 40px rgba(20, 40, 90, .06); }
.mkt-globe { width: 100%; height: auto; display: block; }
.mkt-globe-land { fill: var(--bg--base--surface-2, #e9edf1); stroke: var(--bg--base--surface-3, #dce1e6);
  stroke-width: .4; }
.mkt-globe-halo { fill: var(--brand--500, #2f6bff); opacity: .14; }
.mkt-globe-pop { fill: var(--brand--700, #1f4fd6); stroke: #fff; stroke-width: .8; }
.mkt-globe-pops circle.mkt-globe-halo:nth-of-type(6n+1) { animation: mkt-pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes mkt-pulse { 0%, 100% { opacity: .10; } 50% { opacity: .30; } }
.mkt-globe-caption { text-align: center; color: var(--fg--base--weak); font-size: 13px; margin: 10px 0 0; }
@media (prefers-reduced-motion: reduce) { .mkt-globe-pops circle.mkt-globe-halo { animation: none !important; } }

/* --- global reach strip --- */
.mkt-reach { background: var(--bg--neutral--weak, #f6f8fa); border: 1px solid var(--bg--base--surface-2, #eff0f1);
  border-radius: 16px; padding: 28px 32px; }
.mkt-reach-inner { max-width: 70ch; }
.mkt-reach .sub { margin-bottom: 0; }

/* --- partner page (mirrors the portal partner page) --- */
.mkt-partner-header { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap;
  border: 1px solid var(--bg--base--surface-2, #eff0f1); border-radius: 16px; padding: 24px;
  background: linear-gradient(120deg, var(--brand--50, #eef3ff), var(--bg--base--surface)); margin-bottom: 24px; }
.mkt-partner-avatar { width: 72px; height: 72px; border-radius: 14px; flex: none; overflow: hidden;
  background: #fff; border: 1px solid var(--bg--base--surface-2, #eff0f1); display: flex;
  align-items: center; justify-content: center; }
.mkt-partner-avatar img { width: 100%; height: 100%; object-fit: contain; }
.mkt-partner-avatar--mono { font-family: var(--accent-font); font-size: 32px; font-weight: 700;
  color: var(--fg--brand--strong, #1f4fd6); background: var(--brand--50, #eef3ff); }
.mkt-partner-headmain { flex: 1; min-width: 240px; }
.mkt-partner-namerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mkt-partner-namerow h1 { font-family: var(--accent-font); font-size: 34px; font-weight: 600;
  letter-spacing: -.02em; margin: 0; }
.mkt-partner-chip { font-size: 12px; padding: 4px 11px; border-radius: 999px; font-weight: 600;
  background: var(--brand--50, #eef3ff); color: var(--fg--brand--strong, #1f4fd6); }
.mkt-partner-subtitle { font-size: 17px; color: var(--fg--base--medium); margin: 8px 0 0; max-width: 68ch; }
.mkt-partner-count { color: var(--fg--base--weak); font-size: 14px; margin: 6px 0 0; }
.mkt-partner-header .btn-row { margin-top: 14px; }

.mkt-partner-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px;
  align-items: start; margin-bottom: 8px; }
.mkt-partner-main { min-width: 0; }
.mkt-panel { border: 1px solid var(--bg--base--surface-2, #eff0f1); border-radius: 14px; padding: 22px 24px;
  margin-bottom: 20px; background: var(--bg--base--surface); }
.mkt-panel > h2 { margin: 0 0 10px; }
.mkt-panel .sub { color: var(--fg--base--weak); font-size: 14px; margin: 0 0 16px; }
.mkt-panel-lead { color: var(--fg--base--medium); font-size: 15.5px; line-height: 1.7em; margin: 0; }
.mkt-services { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.mkt-service-name { font-weight: 600; font-size: 14px; color: var(--fg--base--strong); }
.mkt-service-desc { font-size: 13.5px; color: var(--fg--base--medium); line-height: 1.5em; margin-top: 2px; }
.mkt-news { display: block; padding: 14px 0; border-top: 1px solid var(--bg--base--surface-2, #eff0f1); }
.mkt-panel .mkt-news:first-of-type { border-top: 0; padding-top: 0; }
.mkt-news-title { font-weight: 600; font-size: 14.5px; color: var(--fg--base--strong); display: block; }
.mkt-news:hover .mkt-news-title { color: var(--fg--link--primary--resting); }
.mkt-news-meta { font-size: 12px; color: var(--fg--base--weak); }
.mkt-links-rail a { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500;
  padding: 6px 0; color: var(--fg--link--primary--resting); }

@media (max-width: 991px) {
  .mkt-directory { grid-template-columns: 1fr; }
  .mkt-facets { position: static; }
  .mkt-detail-cols { grid-template-columns: 1fr; }
  .mkt-hero-split { grid-template-columns: 1fr; }
  .mkt-hero-globe { order: -1; max-width: 560px; }
  .mkt-partner-cols { grid-template-columns: 1fr; }
  .mkt-services { grid-template-columns: 1fr; }
  .mkt-landing-hero h1 { font-size: 36px; }
  .mkt-detail-hero h1 { font-size: 32px; }
  .mkt-partner-namerow h1 { font-size: 28px; }
}
