/* Lead magnets and landing pages (Manny, 2026-11-15; bones B, after Mews; approved and locked; unpinned 2026-11-16).
   A dark ground; four step cards in a row, the open one wide and white with its piece drawn in code, the others
   narrow. lm.js adds .lm-live on desktop with motion: the section scrolls at its natural height and the open card
   hands over to the next with the scroll; without it every card stands open, stacked. Each step keeps its own
   colour: the magnet coral, the landing page teal, the launch LinkedIn blue, the hand-off green. */
.lm { background: linear-gradient(180deg, #0B1B2E 0%, #0D2B45 100%); color: #fff; }
.lm-in { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 56px); }

.lm-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: end; }
.lm-k { margin: 0 0 14px; font: 600 14px/1 var(--font-body); color: var(--sky); letter-spacing: .02em; }
.lm-h2 { margin: 0; max-width: 16ch; font: 700 clamp(34px, 4.4vw, 62px)/1.04 var(--font-head); letter-spacing: -.022em; }
.lm-sub { margin: 18px 0 0; max-width: 46ch; font-size: 19px; line-height: 1.45; color: var(--dark-muted); }
.lm-aside { max-width: 380px; }
.lm-fig { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.lm-fig b { font: 800 clamp(44px, 4.4vw, 64px)/1 var(--font-head); letter-spacing: -.03em; color: #2DD4BF; }
.lm-fig span { font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.9); }
.lm-src { margin: 8px 0 0; font-size: 12.5px; color: var(--dark-muted); }
.lm-pk { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.lm-pk span { padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font: 600 13px/1.2 var(--font-head); }

.lm-cards { display: grid; gap: 12px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
.lm-card { --acc: #F2875F; position: relative; border-radius: 16px; background: #fff; color: var(--text); overflow: hidden; }
.lm-card:nth-child(2) { --acc: #14B8A6; }
.lm-card:nth-child(3) { --acc: #0A66C2; }
.lm-card:nth-child(4) { --acc: #22A06B; }
.lm-tab { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 22px 24px 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.lm-n { font: 700 13px/1 var(--font-head); color: var(--acc); letter-spacing: .04em; }
.lm-t { font: 700 clamp(20px, 1.8vw, 26px)/1.15 var(--font-head); letter-spacing: -.01em; }
.lm-plus { display: none; }
.lm-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 10px 24px 24px; }
.lm-txt { margin: 0; max-width: 34ch; font-size: 17px; line-height: 1.45; color: var(--muted); }
.lm-art { display: grid; place-items: center; min-height: 260px; padding: 18px; border-radius: 12px; background: color-mix(in srgb, var(--acc) 12%, #F6F8FA); }
.lm-bar { display: none; }

/* 1. The magnet: a cover */
.lmx-cover { position: relative; width: 210px; aspect-ratio: 3 / 4; padding: 16px; border-radius: 6px; color: #fff; background: linear-gradient(150deg, #FF8A5C 0%, #F2575B 55%, #B83280 100%); box-shadow: 0 18px 36px -18px rgba(150,40,60,.6); }
.lmx-cover p { margin: 0; }
.lmx-brand { display: flex; align-items: center; gap: 6px; font: 700 10px/1 var(--font-head); }
.lmx-brand i { width: 14px; height: 14px; border-radius: 4px; background: #fff; }
.lmx-ed { margin-top: 26px !important; font: 600 9.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.lmx-title { margin-top: 6px !important; font: 800 19px/1.08 var(--font-head); letter-spacing: -.01em; }
.lmx-subt { margin-top: 8px !important; font: 600 11px/1.3 var(--font-body); opacity: .9; }
.lmx-checks { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lmx-checks li { position: relative; padding-left: 18px; font: 600 10px/1.2 var(--font-body); }
.lmx-checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 3px; background: rgba(255,255,255,.95); }
.lmx-checks li::after { content: ""; position: absolute; left: 3.5px; top: 1.5px; width: 3px; height: 6px; border: solid #F2575B; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 2. The landing page: a browser */
.lmx-browser { width: min(100%, 460px); border-radius: 10px; background: #fff; box-shadow: 0 18px 40px -22px rgba(13,43,69,.5); overflow: hidden; border: 1px solid #E3E8EE; }
.lmx-bar { display: flex; align-items: center; gap: 5px; margin: 0; padding: 8px 10px; background: #F1F4F7; border-bottom: 1px solid #E3E8EE; font: 500 10.5px/1 var(--font-body); color: #6B7785; }
.lmx-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D3DAE2; }
.lmx-bar span { margin-left: 8px; padding: 4px 10px; border-radius: 99px; background: #fff; }
.lmx-lp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; padding: 16px; }
.lmx-lp p { margin: 0; }
.lmx-lp-k { font: 700 9.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #0F9488; }
.lmx-lp-h { margin-top: 6px !important; font: 800 20px/1.1 var(--font-head); color: var(--text); }
.lmx-lp ul { margin: 10px 0 0; padding: 0 0 0 14px; font: 500 11px/1.5 var(--font-body); color: var(--muted); }
.lmx-form { display: grid; gap: 6px; padding: 10px; border-radius: 8px; background: #F2FBFA; border: 1px solid #CDEFEB; }
.lmx-mini { display: block; width: 34px; height: 44px; margin-bottom: 2px; border-radius: 3px; background: linear-gradient(150deg, #FF8A5C, #F2575B 55%, #B83280); }
.lmx-in { padding: 6px 8px; border-radius: 5px; background: #fff; border: 1px solid #DCE3EA; font: 500 10px/1 var(--font-body); color: #98A3AF; }
.lmx-go { padding: 7px 8px; border-radius: 6px; background: #14B8A6; color: #fff; text-align: center; font: 700 11px/1 var(--font-head); }

/* 3. The launch: a post */
.lmx-post { width: min(100%, 380px); padding: 14px; border-radius: 10px; background: #fff; border: 1px solid #E0E5EB; box-shadow: 0 18px 40px -24px rgba(13,43,69,.45); }
.lmx-post p { margin: 0; }
.lmx-ph { display: flex; align-items: center; gap: 9px; }
.lmx-ph i { width: 34px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, var(--deep-blue), var(--igm-blue)); }
.lmx-ph b { display: block; font: 700 13px/1.2 var(--font-head); color: var(--text); }
.lmx-ph small { display: block; font: 400 11px/1.2 var(--font-body); color: var(--muted); }
.lmx-pt { margin-top: 10px !important; font: 500 12.5px/1.45 var(--font-body); color: var(--text); }
.lmx-link { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 8px; border-radius: 8px; background: #F3F6F8; }
.lmx-lthumb { flex: none; width: 46px; height: 60px; border-radius: 4px; background: linear-gradient(150deg, #FF8A5C, #F2575B 55%, #B83280); }
.lmx-link b { display: block; font: 700 12px/1.25 var(--font-head); color: var(--text); }
.lmx-link small { display: block; margin-top: 3px; font: 500 10.5px/1.2 var(--font-body); color: #0A66C2; }
.lmx-react { display: flex; justify-content: space-between; margin-top: 10px !important; padding-top: 8px; border-top: 1px solid #E8ECF0; font: 600 11px/1 var(--font-body); color: var(--muted); }

/* 4. The hand-off: an inbox */
.lmx-inbox { width: min(100%, 420px); padding: 12px; border-radius: 10px; background: #fff; border: 1px solid #E0E5EB; box-shadow: 0 18px 40px -24px rgba(13,43,69,.45); }
.lmx-inbox p { margin: 0; }
.lmx-ih { padding: 2px 4px 8px; font: 700 13px/1 var(--font-head); color: var(--text); }
.lmx-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 8px; }
.lmx-row + .lmx-row { border-top: 1px solid #EEF1F4; }
.lmx-row.is-new { background: #EAF7F0; }
.lmx-row i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0D2B45; color: #fff; font: 800 10.5px/1 var(--font-head); font-style: normal; }
.lmx-row b { display: block; font: 700 12px/1.2 var(--font-head); color: var(--text); }
.lmx-row small { display: block; font: 400 10.5px/1.2 var(--font-body); color: var(--muted); }
.lmx-row em { padding: 4px 8px; border-radius: 99px; background: #F1F4F7; color: var(--muted); font: 600 10px/1 var(--font-body); font-style: normal; white-space: nowrap; }
.lmx-row.is-new em { background: #22A06B; color: #fff; }
.lmx-srcrow { margin-top: 8px !important; padding: 7px 8px; border-radius: 6px; background: #FFF1EA; color: #B4462A; font: 600 10.5px/1 var(--font-body); }

@media (min-width: 981px) {
  .lm-head { grid-template-columns: minmax(0, 1fr) auto; }
  .lm-cards { display: flex; gap: 12px; height: clamp(440px, 56vh, 540px); }
  .lm-card { flex: 1 1 0; min-width: 0; transition: flex-grow .6s cubic-bezier(.4, 0, .2, 1), background .4s, color .4s; }
  .lm-card.is-open { flex-grow: 4.6; }
  .lm-card .lm-body { grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); align-items: end; position: absolute; inset: 64px 0 0 0; padding: 0 24px 24px; }
  .lm-art { height: 100%; min-height: 0; }

  /* .lm-live: every card is laid out at the open width and placed by transform; lm.js clips each to as much of it as
     is open, so nothing animates width. The closed face is .lm-mini, which lm.js draws: the number over the title on
     the dark ground, and the plus. Over it slides .lm-wash, the open card's white sheet, carrying the markup's own
     tab text (the number beside the title) and body. The tab covers the whole card, so a closed card is clicked
     anywhere. */
  .lm-live .lm-cards { display: block; position: relative; margin-top: clamp(20px, 3vh, 36px); }
  .lm-live .lm-card { position: absolute; top: 0; left: 0; bottom: 0; background: transparent; transition: none; will-change: transform; }
  .lm-live .lm-tab { position: absolute; inset: 0; z-index: 1; }
  .lm-live .lm-tab:focus-visible { outline-offset: -4px; border-radius: 14px; }
  .lm-live .lm-card .lm-body { z-index: 2; visibility: hidden; }
  .lm-mini { position: absolute; top: 0; left: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; pointer-events: none; }
  .lm-mini .lm-t { font-size: 19px; }
  .lm-mini .lm-plus { display: block; position: absolute; left: 24px; bottom: 22px; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
  .lm-mini .lm-plus::before, .lm-mini .lm-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); }
  .lm-mini .lm-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
  .lm-wash { position: absolute; top: 0; left: 0; bottom: 0; border-radius: 16px; background: #fff; pointer-events: none; }

  /* the header keeps the size it had while the section held; the section now takes its natural height */
  .lm-live .lm-in { padding-top: clamp(32px, 5vh, 56px); padding-bottom: clamp(20px, 3vh, 32px); }
  .lm-live .lm-h2 { font-size: clamp(32px, 3.6vw, 54px); }
  .lm-live .lm-sub { margin-top: 12px; font-size: 18px; }

  .lm-live .lm-bar { display: block; height: 2px; margin-top: 18px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
  .lm-live .lm-bar i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #F2875F, #14B8A6, #0A66C2, #22A06B); }

  /* without .lm-live (reduced motion) the four stand side by side, all open, the text over the piece */
  .lm:not(.lm-live) .lm-cards { height: auto; }
  .lm:not(.lm-live) .lm-card .lm-body { position: static; grid-template-columns: minmax(0, 1fr); padding: 10px 24px 24px; }
}
