// ARTICLE - /news/why-new-mgas-keep-launching
// "Why are new MGAs still launching?" - James Hill, 24 Nov 2026 (from his LinkedIn post)
// Reuses the reading-column primitives exported by insights-article.jsx - load that file first.

const { EdCtx: NmgCtx, EdTag: NmgTag, EdChrome: NmgChrome, useIsMobile: nmgUseIsMobile,
        ArtCol: NmgCol, ArtP: NmgP } = window;

const NMG_META = { kicker: 'Perspective', date: '24 November 2026', readTime: '2 min read' };
const NMG_AUTHOR = { name: 'James Hill', role: 'Commercial Director, Outrun', photo: 'images/team/james-hill.jpg', email: 'james.hill@outrun.insure' };

function NmgHeader() {
  const ED = React.useContext(NmgCtx);
  const edText = ED.text;
  const isMobile = nmgUseIsMobile();
  return (
    <section style={{ padding: isMobile ? '40px 24px 40px' : '64px 90px 56px', background: ED.bg }}>
      <div style={{ maxWidth: 1240, margin: '0 auto' }}>
        <a href="/news" style={{ ...edText.med, fontSize: 13, color: ED.ink, textDecoration: 'none', borderBottom: `1px solid ${ED.rule}`, paddingBottom: 3 }}>&larr; Back to News &amp; Resources</a>
        <div style={{ marginTop: isMobile ? 36 : 56, display: 'flex', alignItems: 'center', gap: 16, flexWrap: 'wrap' }}>
          <span style={{ ...edText.tag, fontSize: 12, color: ED.ink2 }}>{NMG_META.date}</span>
          <span style={{ width: 4, height: 4, borderRadius: 999, background: ED.rule }}></span>
          <span style={{ ...edText.tag, fontSize: 12, color: ED.ink2 }}>{NMG_META.readTime}</span>
        </div>
        <h1 style={{ ...edText.display, fontSize: isMobile ? 'clamp(38px, 11vw, 52px)' : 88, lineHeight: isMobile ? 1.05 : 1.02, color: ED.ink, margin: '20px 0 0', letterSpacing: '-0.035em', maxWidth: 1140 }}>
          Why are new MGAs still launching?
        </h1>
        <div style={{ marginTop: 48, paddingTop: 24, borderTop: `1px solid ${ED.rule}`, display: 'flex', alignItems: 'center', gap: 16 }}>
          <div style={{ width: 56, height: 56, borderRadius: '50%', overflow: 'hidden', border: `1px solid ${ED.rule}`, flex: '0 0 auto' }}>
            <img src={edAsset(NMG_AUTHOR.photo)} alt={`${NMG_AUTHOR.name}, ${NMG_AUTHOR.role.replace(', Outrun', '')} at Outrun`} style={{ width: '100%', height: '100%', objectFit: 'cover', objectPosition: 'center top', display: 'block' }} />
          </div>
          <div>
            <div style={{ ...edText.med, fontSize: 15, color: ED.ink }}>{NMG_AUTHOR.name}</div>
            <div style={{ ...edText.tag, fontSize: 11, color: ED.ink2, marginTop: 4 }}>{NMG_AUTHOR.role}</div>
          </div>
        </div>
      </div>
    </section>
  );
}

// Event photo - held to the reading-column width rather than full bleed.

// Article lead images: one width for every article (960px), each image kept
// at its own proportions so nothing is cropped.
function NmgLeadImage() {
  const ED = React.useContext(NmgCtx);
  const isMobile = nmgUseIsMobile();
  return (
    <section style={{ padding: isMobile ? '0 24px 40px' : '0 90px 64px', background: ED.bg }}>
      <div style={{ maxWidth: 960, margin: '0 auto', border: `1px solid ${ED.rule}`, overflow: 'hidden' }}>
        <img src={edAsset('images/news/why-new-mgas-keep-launching.jpg')} alt="Two members of the Outrun team standing at the Outrun stand at MGA Outlook Europe, in front of a red banner reading 'The DA platform for MGAs', with a laptop demo on the table." style={{ display: 'block', width: '100%', height: 'auto' }} />
      </div>
    </section>
  );
}

function NmgBody() {
  const ED = React.useContext(NmgCtx);
  const isMobile = nmgUseIsMobile();
  return (
    <section style={{ padding: isMobile ? '8px 0 80px' : '16px 0 80px', background: ED.bg }}>
      <NmgCol>
        <div style={{ display: 'flex', flexDirection: 'column', gap: 28 }}>
          <NmgP lead>If commercial insurance rates have now fallen for nine quarters in a row, why are new MGAs still launching across the UK and Europe, both on their own and through incubators?</NmgP>
          <NmgP>Underwriting specialist product lines and in specialist sectors is a big part of the answer, but it isn&rsquo;t all of it. Distribution and service matter just as much.</NmgP>
          <NmgP>Since COVID, many brokers have struggled with insurer service levels. An MGA gives them experienced, expert underwriters they know and trust, backed by strong capacity, with a level of service that works for them. Gone are the days where MGAs are seen as a second-tier choice.</NmgP>
          <NmgP>So it&rsquo;s no surprise that UK MGAs are taking more and more of the market. Estimates put UK MGA premium growth at 20% annually in 25/26, well ahead of the wider general insurance market.</NmgP>
          <NmgP>What most often holds an MGA back is getting new products to market. A typical commercial product build takes around three months. Our new <a href="/product-studio" style={{ color: ED.ink, textDecoration: 'underline', textUnderlineOffset: 3 }}>Product Studio</a> gets your next product built and live in days, not months.</NmgP>
          <NmgP>It was good to be at MGA Outlook Europe event last week with Steve Hirst and Ian Symondson. We had a lot of good conversations, and plenty of people wanting to see Product Studio. If we didn&rsquo;t get to speak, drop me a line and I&rsquo;ll happily set up a call to show you.</NmgP>
        </div>
      </NmgCol>
    </section>
  );
}

function NmgFooter() {
  const ED = React.useContext(NmgCtx);
  const edText = ED.text;
  const isMobile = nmgUseIsMobile();
  return (
    <section style={{ padding: '40px 0 96px', background: ED.bg }}>
      <NmgCol>
        <div style={{ padding: isMobile ? '28px 24px' : '36px 36px 32px', background: ED.bgWarm, border: `1px solid ${ED.rule}`, display: 'grid', gridTemplateColumns: isMobile ? '1fr' : '88px 1fr', gap: 24, alignItems: 'start' }}>
          <div style={{ width: 88, height: 88, borderRadius: '50%', overflow: 'hidden', background: ED.bg, border: `1px solid ${ED.rule}` }}>
            <img src={edAsset(NMG_AUTHOR.photo)} alt={`${NMG_AUTHOR.name}, ${NMG_AUTHOR.role.replace(', Outrun', '')} at Outrun`} style={{ width: '100%', height: '100%', objectFit: 'cover', objectPosition: 'center top', display: 'block' }} />
          </div>
          <div>
            <div style={{ ...edText.tag, fontSize: 11, color: ED.ink2 }}>Written by</div>
            <div style={{ ...edText.display, fontSize: 28, color: ED.ink, margin: '6px 0 0', letterSpacing: '-0.02em' }}>{NMG_AUTHOR.name}</div>
            <div style={{ ...edText.sans, fontSize: 14, color: ED.ink2, marginTop: 2 }}>{NMG_AUTHOR.role}</div>
            <p style={{ ...edText.sans, fontSize: 15, lineHeight: 1.6, color: ED.ink, margin: '14px 0 0', maxWidth: 540 }}>
              A decade in schemes broking across product development, binder management and distribution, followed by three years in leadership roles at Jensten. Co-founded Outrun and joined as Commercial Director in 2024.
            </p>
            <a href={`mailto:${NMG_AUTHOR.email}`} style={{ ...edText.med, fontSize: 13, color: ED.ink, textDecoration: 'none', borderBottom: `1px solid ${ED.rule}`, paddingBottom: 3, display: 'inline-block', marginTop: 14 }}>{NMG_AUTHOR.email}</a>
          </div>
        </div>
      </NmgCol>
    </section>
  );
}

function NmgKeepReading() {
  const ED = React.useContext(NmgCtx);
  const edText = ED.text;
  const isMobile = nmgUseIsMobile();
  const items = [
    { href: '/news/insurance-accounting', title: 'Insurance accounting: where should it live?', by: 'Steve Hirst · 25 November 2026' },
    { href: '/news/build-the-right-product', title: 'Build the right product – and build it right.', by: 'Steve Hirst · 8 October 2026' },
  ];
  return (
    <section style={{ padding: isMobile ? '56px 24px' : '96px 90px', background: ED.bg, borderTop: `1px solid ${ED.rule}` }}>
      <div style={{ maxWidth: 1320 }}>
        <NmgTag color={ED.accent}>Keep reading</NmgTag>
        <div style={{ display: 'grid', gridTemplateColumns: isMobile ? '1fr' : 'repeat(2, minmax(0, 560px))', gap: isMobile ? 40 : 56, marginTop: isMobile ? 28 : 40 }}>
          {items.map(it => (
            <a key={it.href} href={it.href} style={{ textDecoration: 'none', color: 'inherit', display: 'block' }}>
              <h3 style={{ ...edText.display, fontSize: 26, lineHeight: 1.15, color: ED.ink, margin: '0 0 24px', letterSpacing: '-0.02em' }}>{it.title}</h3>
              <div style={{ ...edText.sans, fontSize: 13, color: ED.ink2, paddingTop: 16, borderTop: `1px solid ${ED.rule}` }}>{it.by}</div>
            </a>
          ))}
        </div>
      </div>
    </section>
  );
}

function NewMgasSite({ accent, fontMode = 'serif' }) {
  return (
    <NmgChrome accent={accent} fontMode={fontMode} current="/news/why-new-mgas-keep-launching">
      <NmgHeader />
      <NmgLeadImage />
      <NmgBody />
      <NmgFooter />
      <NmgKeepReading />
    </NmgChrome>
  );
}

Object.assign(window, { NewMgasSite });
